blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2
values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777
values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149
values | src_encoding stringclasses 26
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.2M | extension stringclasses 188
values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9367c9fc788b09d6bf9c8369612096e5c5ffa3fa | 55647a80c8b412af9df0ba3f50595cc2f29c25e6 | /res/scripts/client/AvatarInputHandler/AimingSystems/StrategicAimingSystem.py | 2ec9e5a041a24e763dee53002932f7d06da6e9d5 | [] | no_license | cnsuhao/WOT-0.9.17-CT | 0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb | d1f932d8cabaf8aa21708622e87f83c8d24d6451 | refs/heads/master | 2021-06-08T18:11:07.039293 | 2016-11-19T19:12:37 | 2016-11-19T19:12:37 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 2,452 | py | # 2016.11.19 19:47:39 Střední Evropa (běžný čas)
# Embedded file name: scripts/client/AvatarInputHandler/AimingSystems/StrategicAimingSystem.py
import BigWorld
import Math
from Math import Vector3, Matrix
import math
from AvatarInputHandler import mathUtils, AimingSystems
from AvatarInputHandler.AimingSystems import IA... | [
"info@webium.sk"
] | info@webium.sk |
e83f53e3b09d4c31e6cddb4686f5993e3a6dc7b9 | 3899a37d1f500f7935cd04079e0b293bd64fe1cb | /docs/conf.py | 9902ebaf5dadaec57cdc679f1cbc45f4be1e8a5b | [
"MIT"
] | permissive | jubaer145/nlpaug | 06d5fa83d68537f6485ed5afccfe2ece056aae8b | b631660f1997fc503258735ec011ffbe164d12af | refs/heads/master | 2023-06-02T03:45:18.094793 | 2021-06-20T21:17:13 | 2021-06-20T21:17:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,645 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# nlpaug documentation build configuration file, created by
# sphinx-quickstart on Wed Aug 7 07:37:05 2019.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# aut... | [
"makcedward@gmail.com"
] | makcedward@gmail.com |
6150cb6eab8ab3c168a1eead8a17ce4cc4735cb6 | e9348d1689215220b7820134a82c2afdf8aed107 | /backend/young_waterfall_29324/urls.py | 19b2e1e3e6e251b7ff93a5593048f905ce1b2e58 | [] | no_license | crowdbotics-apps/young-waterfall-29324 | 8bf2accb9197c45f59ac717b2ec4fe289830b3f8 | ea74f174180c6af5acca25a82397daa7c48eb7c2 | refs/heads/master | 2023-06-26T05:12:51.154938 | 2021-08-01T20:50:29 | 2021-08-01T20:50:29 | 391,735,458 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,253 | py | """young_waterfall_29324 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
98911ce8c4bc073fa0ada3fad0c3d1e3231ad68e | 13c2f109585a033a1acecdd912a3142802170921 | /Python_Object_Serialization_Context_Manager.py | 2566f5ec1aeb15199b4802d5e018e7fa67a537bf | [] | no_license | VakinduPhilliam/Hierachy_Serialization | 88175764e24d03602eca06e8df13223e8ec4dd7e | 61d534b23bc3e072356cb33fd763b0cbb6320896 | refs/heads/master | 2020-05-24T15:59:41.674047 | 2019-11-01T15:02:08 | 2019-11-01T15:02:08 | 187,346,172 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Python | false | false | 1,953 | py | # Python object serialization
# The 'pickle' module implements binary protocols for serializing and de-serializing
# a Python object structure.
# “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream,
# and “unpickling” is the inverse operation, whereby a byte stream (from a... | [
"noreply@github.com"
] | VakinduPhilliam.noreply@github.com |
471f69a116bb3f8ea26d0e157151b03c8573d7fb | 4586fcc1afd15f04dbb269899a5b954adcd8d60e | /bin/ldgp.py | b825bbe162b265a0c48f0c32c7daf4bf04ca4e6c | [] | no_license | gautamits/rgbd | d0f1435a2b91b2aa0e848688d3c1c12fc1c77931 | a055a6b718a1e20957f20f19a0c49bbfa63cbd08 | refs/heads/master | 2021-01-20T05:59:43.891910 | 2017-11-25T09:16:34 | 2017-11-25T09:16:34 | 87,881,081 | 0 | 0 | null | 2017-04-25T19:22:50 | 2017-04-11T02:51:16 | Python | UTF-8 | Python | false | false | 1,636 | py | import cv2
import numpy as np
def dist(x,y):
return np.sqrt(np.sum((x-y)**2)) #this function returns euclidean distance between two one dimensional arrays
#this function returns histogram of image,
def hist(a):
hist, bin_edges = np.histogram(a, bins = range(64))
retur... | [
"gautamamits95@gmail.com"
] | gautamamits95@gmail.com |
e8a6c6d6bc56b44d9ac2fae0497b557fe4c040d9 | b87ea98bc166cade5c78d246aeb0e23c59183d56 | /samples/openapi3/client/petstore/python-nextgen-aiohttp/setup.py | d584a44727dd30a7685acc7a8fbbfecd38037804 | [
"Apache-2.0"
] | permissive | holisticon/openapi-generator | 88f8e6a3d7bc059c8f56563c87f6d473694d94e5 | 6a67551ea54a1aa9a49eb48ee26b4e9bb7fb1272 | refs/heads/master | 2023-05-12T02:55:19.037397 | 2023-04-14T08:31:59 | 2023-04-14T08:31:59 | 450,034,139 | 1 | 0 | Apache-2.0 | 2022-01-20T09:34:14 | 2022-01-20T09:34:13 | null | UTF-8 | Python | false | false | 1,473 | py | # coding: utf-8
"""
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-ge... | [
"noreply@github.com"
] | holisticon.noreply@github.com |
17040ccedb5c26efb123bc8a9513defa32f9b4dc | f92fbb5ecbcd0adf4998e19d9d27e49386f898ab | /rls/algorithms/single/modelbased/planet.py | be9147eddd57a4a5b08109d7b2682e733572c12f | [
"Apache-2.0"
] | permissive | tonylibing/RLs | 26e5dedbe7e36704ac98fa8efd00184059cdc717 | 21607d93e26f3be7a1243a642ed7e76178c856ae | refs/heads/master | 2023-08-02T06:14:19.142614 | 2021-09-15T16:20:28 | 2021-09-15T16:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,145 | py | #!/usr/bin/env python3
# encoding: utf-8
from typing import Dict, List, NoReturn, Union
import numpy as np
import torch as t
from torch import distributions as td
from rls.algorithms.base.sarl_off_policy import SarlOffPolicy
from rls.common.data import Data, get_first_vector, get_first_visual
from rls.common.decorat... | [
"keavnn.wjs@gmail.com"
] | keavnn.wjs@gmail.com |
a9ede54f8c311163f3f1593922779cde560263bc | 3d0838cc0d3cca599c2dfb6bea3274ff3cabe0ac | /discore/models/_channel.py | 316c280d8e0f64347a51b6e2f534a923fc679e15 | [
"MIT"
] | permissive | geek-space-hq/discore | 6a799f411c81b580f0b3e0aac238e5dcf48d899c | 45f4870426e635353b3621f5089880cbb30c683c | refs/heads/develop | 2022-12-15T20:51:50.904945 | 2020-09-16T16:05:36 | 2020-09-16T16:05:36 | 295,093,463 | 3 | 0 | null | 2020-09-16T09:41:21 | 2020-09-13T06:36:35 | Python | UTF-8 | Python | false | false | 5,679 | py | from __future__ import annotations
from datetime import datetime
from enum import Enum, IntEnum
from typing import TYPE_CHECKING, List, Optional, Union
from pydantic import BaseModel
from pydantic.fields import Field
if TYPE_CHECKING:
from ._emoji import Emoji
from ._guild import GuildMember, Role
from .... | [
"in9lude@gmail.com"
] | in9lude@gmail.com |
a07cab13bbac62cbe9da389c04efe73253dd55ba | c6b1919498776cfc408076246390e2bba56f4c4e | /devops_tool/settings.py | e422d3a5d42866f11728863fdae9c727b4dd35e6 | [] | no_license | huozhihui/devops_tool | f2ceaf7f1828853e43859645f5ab36a00b0fa7df | 0eb7b4a14203e30bb2c262075864cec0db21829f | refs/heads/master | 2020-05-20T19:02:47.855055 | 2017-04-18T05:25:59 | 2017-04-18T05:25:59 | 84,509,976 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,196 | py | """
Django settings for devops_tool project.
Generated by 'django-admin startproject' using Django 1.10.4.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
impor... | [
"240516816@qq.com"
] | 240516816@qq.com |
6af287c25e7567cc97a37b41e9b9df7d8d589d3a | 69427716f39ddb8541b7dca39d26015a26e04104 | /学习脚本/Python基础学习脚本/select_socket_server.py | 619aaeec0a826ffbd3a7f9299ce892eb9ef5e5a3 | [] | no_license | xiatian0918/auto_scripts | a0fa80f3ec8a5e49e1b049ebed39a8ae3e7cdf7a | 413c614260340557cf9e615b1339eae68a8f9acf | refs/heads/master | 2020-05-14T13:32:46.556775 | 2020-01-21T00:18:56 | 2020-01-21T00:18:56 | 181,812,978 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 606 | py | #!/usr/bin/env python
#-*- coding:utf-8 -*-
# author: xiatian
import select,socket,sys,queue
server = socket.socket()
server.bind(('localhost',9000))
server.listen(1000)
server.setblocking(False) #不阻塞
inputs = [server,]
outputs = []
readable , writeable, exceptional = select.select(inputs, outputs, inputs)
print(r... | [
"18810434724@163.com"
] | 18810434724@163.com |
7f9ea1866114fe062661f28006ec80d13194dd03 | a8062308fb3bf6c8952257504a50c3e97d801294 | /problems/N875_Koko_Eating_Bananas.py | 2d632a0fdaa6c0078dec7406cb6fa8e0e852a916 | [] | no_license | wan-catherine/Leetcode | 650d697a873ad23c0b64d08ad525bf9fcdb62b1b | 238995bd23c8a6c40c6035890e94baa2473d4bbc | refs/heads/master | 2023-09-01T00:56:27.677230 | 2023-08-31T00:49:31 | 2023-08-31T00:49:31 | 143,770,000 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 878 | py | class Solution(object):
def minEatingSpeed(self, piles, H):
"""
:type piles: List[int]
:type H: int
:rtype: int
"""
length = len(piles)
if length == H:
return max(piles)
right = max(piles)
total = sum(piles)
if total <= H:
... | [
"rarry2012@gmail.com"
] | rarry2012@gmail.com |
85a8fe446187a595ad11c4c0a6dba3786a9af595 | 5e6d8b9989247801718dd1f10009f0f7f54c1eb4 | /sdk/python/pulumi_azure_native/web/v20201001/web_app_auth_settings.py | 8c0f10d3d946c6e637d1c161b9fabc2e4c33aae2 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | vivimouret29/pulumi-azure-native | d238a8f91688c9bf09d745a7280b9bf2dd6d44e0 | 1cbd988bcb2aa75a83e220cb5abeb805d6484fce | refs/heads/master | 2023-08-26T05:50:40.560691 | 2021-10-21T09:25:07 | 2021-10-21T09:25:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 85,144 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"noreply@github.com"
] | vivimouret29.noreply@github.com |
1d78b2f287093aaabba4344add7cc6fae44f8d34 | d5aa24b75c2344358752b0af0a47293533820578 | /data_analysis/IO/load_data.py | 6333a0cb4611a6478b56ee4e3cef726e09a8e012 | [] | no_license | ModelDBRepository/234992 | 913da9efaadb704171da907ebd953fe59efe5fb1 | b969a4c623b92c1bd79138f4132885bc424b114c | refs/heads/master | 2020-05-29T18:28:48.883803 | 2019-05-31T03:42:59 | 2019-05-31T03:42:59 | 189,300,851 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,298 | py | import numpy as np
import sys, pathlib
sys.path.append(str(pathlib.Path(__file__).resolve().parents[2]))
import data_analysis.IO.axon_to_python as axon
import data_analysis.IO.binary_to_python as binary
def load_file(filename, zoom=[0,np.inf]):
if filename.endswith('.bin'):
return binary.load_file(filename... | [
"tom.morse@yale.edu"
] | tom.morse@yale.edu |
bda783c687d550284ea64c93dd66f035fb1f1dfb | fdfd9cab4e26491da5d2a06a15960362ccf01460 | /ex32.py | 2a85257657bbb1b65928785ed5e54f5bf092b766 | [] | no_license | WilliamsHerrmann/MWM15 | c182f7f8eca4f30a41e602a8e907497bc927af81 | 3f17abd57473f328ddd1e1a2a7591423f32da0f8 | refs/heads/master | 2021-07-07T05:01:06.486909 | 2017-10-02T18:18:44 | 2017-10-02T18:18:44 | 103,341,626 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 816 | py | the_count = [1, 2, 3, 4, 5]
fruits = ['apples', 'oranges', 'pears', 'apricots']
change = [1, 'pennies', 2, 'dimes', 3, 'quarters']
# this first kind of for-loop goes through a list
for number in the_count:
print "This is count %d" % number
# same as above
for fruit in fruits:
print "A fruit of type: %s" % fru... | [
"you@example.com"
] | you@example.com |
c05b2d2d9ecd3eba54b5f2efb976613d93068b2e | 5389214afd2a1607925c2104227395a4f2a2800e | /ajax_guide/urls.py | 453bb0f440546b9de8d098f5eca2b16974c1770b | [] | no_license | vinoyjoshi/bandit | 272081b3c843e85969e1a2217080beb08c2b0df5 | 2421d742bbf31faf9b699bd20058c242cbe68773 | refs/heads/main | 2023-01-06T01:49:58.327732 | 2020-10-15T19:47:39 | 2020-10-15T19:47:39 | 304,411,565 | 1 | 0 | null | 2020-10-15T19:47:40 | 2020-10-15T18:13:48 | Python | UTF-8 | Python | false | false | 1,013 | py | """ajax_guide URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-ba... | [
"vnitikesh@gmail.com"
] | vnitikesh@gmail.com |
7ed93578216aac980f00d00bb895797a9107acd9 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /018_dictionaries/examples/Python 3 Most Nessesary/9.3.Listing 9.4. Enumerating dictionary elements.py | 68e2d165ac09ae3d6584391151010bbb29be77b9 | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 1,111 | py | d = {"x": 1, "y": 2, "z": 3}
for key in d.keys(): # Использование метода keys()
print("({0} => {1})".format(key, d[key]), end=" ")
# Выведет: (y => 2) (x => 1) (z => 3)
print() # Вставляем символ перевода строки
for key in d: # Словари также поддерживают итерации
p... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
53b5a7771fd57d104ac7621b2ed2b6c9e1c01f96 | aa265e03e73f718d4008cfe30ada7ee32c852eec | /ABC_A/ABC033_A.py | 956f4fb0fc9fc60fd343a72f21a9d322326c5e91 | [
"MIT"
] | permissive | ryosuke0825/atcoder_python | 4fb9de9733cd9ef41c2ad9ad38b3f190f49d3ad5 | 52d037d0bc9ef2c721bf2958c1c2ead558cb0cf5 | refs/heads/master | 2023-03-11T22:47:56.963089 | 2023-03-05T01:21:06 | 2023-03-05T01:21:06 | 181,768,029 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 82 | py | n = input()
if n.count(n[0]) == 4:
print("SAME")
else:
print("DIFFERENT")
| [
"ayakobon@gmail.com"
] | ayakobon@gmail.com |
def2fc41b751673fb8775b648f289d98ef9a0106 | 51f6443116ef09aa91cca0ac91387c1ce9cb445a | /Curso_Python_3_UDEMY/desafios/desafio_html.py | d5648ffde600f190c5bda1912b3dff47252566db | [
"MIT"
] | permissive | DanilooSilva/Cursos_de_Python | f449f75bc586f7cb5a7e43000583a83fff942e53 | 8f167a4c6e16f01601e23b6f107578aa1454472d | refs/heads/main | 2023-07-30T02:11:27.002831 | 2021-10-01T21:52:15 | 2021-10-01T21:52:15 | 331,683,041 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 523 | py | def tag(tag, *args, **kwargs):
if 'html_class' in kwargs:
kwargs['class'] = kwargs.pop('html_class')
attrs = ''.join(f'{k}="{v}" ' for k, v in kwargs.items())
inner = ''.join(args)
return f'<{tag} {attrs}>{inner}</{tag}>'
if __name__ == '__main__':
print(tag('p',
tag('span', 'Curso... | [
"dno.gomesps@gmail.com"
] | dno.gomesps@gmail.com |
e7b420a62db0bce2fe381107cc685f1bf88035d8 | f3742f46560486c07c339244f8cf47bb07709561 | /features/steps/test_utils.py | 7cc4d34cc1b40e7598dc65345299f0ee9046838a | [
"MIT"
] | permissive | Azure/azure-event-hubs-python | 55b65920f9d8dbe6cc418d63291ba507ce648d97 | 326f772f5cbe3d3eaf68b24485554aada463430a | refs/heads/master | 2023-03-17T22:03:54.241386 | 2020-04-07T22:33:17 | 2020-04-07T22:33:17 | 91,842,040 | 65 | 66 | MIT | 2020-04-07T22:33:18 | 2017-05-19T20:14:44 | Python | UTF-8 | Python | false | false | 3,540 | py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | [
"antisch@microsoft.com"
] | antisch@microsoft.com |
55fc9a1726e44163be89eb8a2441951491ef7af9 | ef3a7391b0a5c5d8e276355e97cbe4de621d500c | /venv/Lib/site-packages/caffe2/python/layer_model_helper.py | 9bb56400ffb7a26b831eb2f82abdf36f27bdbc1c | [
"Apache-2.0"
] | permissive | countBMB/BenjiRepo | 143f6da5d198ea6f06404b4559e1f4528b71b3eb | 79d882263baaf2a11654ca67d2e5593074d36dfa | refs/heads/master | 2022-12-11T07:37:04.807143 | 2019-12-25T11:26:29 | 2019-12-25T11:26:29 | 230,090,428 | 1 | 1 | Apache-2.0 | 2022-12-08T03:21:09 | 2019-12-25T11:05:59 | Python | UTF-8 | Python | false | false | 28,709 | py | # @package layer_model_helper
# Module caffe2.python.layer_model_helper
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from caffe2.python import core, model_helper, schema, scope, utils, muji
from caffe2.python.modeli... | [
"bengmen92@gmail.com"
] | bengmen92@gmail.com |
9dcf9692cc7ae29a7f56fa27e78cdc21365c70ba | 8a5ab3d33e3b653c4c64305d81a85f6a4582d7ac | /PySide/QtGui/QStyleOptionTab.py | 264b7c0e040a27794ebb0a067eb56b9436f49f11 | [
"Apache-2.0"
] | permissive | sonictk/python-skeletons | be09526bf490856bb644fed6bf4e801194089f0d | 49bc3fa51aacbc2c7f0c7ab86dfb61eefe02781d | refs/heads/master | 2020-04-06T04:38:01.918589 | 2016-06-09T20:37:43 | 2016-06-09T20:37:43 | 56,334,503 | 0 | 0 | null | 2016-04-15T16:30:42 | 2016-04-15T16:30:42 | null | UTF-8 | Python | false | false | 1,122 | py | # encoding: utf-8
# module PySide.QtGui
# from /corp.blizzard.net/BFD/Deploy/Packages/Published/ThirdParty/Qt4.8.4/2015-05-15.163857/prebuilt/linux_x64_gcc41_python2.7_ucs4/PySide/QtGui.so
# by generator 1.138
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
from QStyleOption import QStyleOption
class QSt... | [
"yliangsiew@blizzard.com"
] | yliangsiew@blizzard.com |
857ea37b6d65aa8708b7aa91520822899db9bbaa | b3e90c765a70d0c68a3c703c31ebfbcc67d8f83e | /AN_Bridging/box_ws/src/multi_box/src/Algs/SoftActorCritic.py | 6147e9cd1403a16b426ef7d1722e30eefb48531e | [] | no_license | ronf-ucb/MultiRobot | 619fe1750dd25c336f7ef793e43983d992cbf519 | b509e9c43e330e737135298ea4cfbd4190222328 | refs/heads/master | 2021-07-19T20:39:47.835985 | 2020-09-07T14:32:39 | 2020-09-07T14:32:39 | 211,394,959 | 1 | 2 | null | 2019-10-30T22:21:20 | 2019-09-27T20:15:07 | C++ | UTF-8 | Python | false | false | 3,825 | py | #! /usr/bin/env python
import numpy as np
import torch
import torch.nn as nn
import math
import rospy
from std_msgs.msg import String, Int8
from geometry_msgs.msg import Vector3
import vrep
import matplotlib.pyplot as plt
import torch.optim as optim
from Networks.network import Network
from Networks.softNetwork imp... | [
"austinnguyen517@berkeley.edu"
] | austinnguyen517@berkeley.edu |
c7c9ab5555c62ef7bca526ca8069b83788f07dc4 | a3e26112cb5d6b64c30b44f775750653a1daf0dc | /Q910_Smallest-Range-II.py | 550d96ea406915f5883d2b9d5cea91a4561727d1 | [
"MIT"
] | permissive | xiaosean/leetcode_python | 938f1df379b518d99a778e2da8093ff0371e35d4 | d6fc52d13946895d2b2928ef9962af0610b1d1e8 | refs/heads/master | 2023-04-05T07:07:01.561010 | 2023-03-25T19:17:21 | 2023-03-25T19:17:21 | 150,637,066 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 511 | py | class Solution:
def smallestRangeII(self, A: List[int], K: int) -> int:
A.sort()
min_range = A[-1] - A[0]
min_val = A[0]
max_val_sub_k = A[-1] - K
min_val = A[0] + K
for idx in range(len(A)-1):
cur_val = A[idx] + K
next_val = A[idx+1] - K
... | [
"xiaosean5408@gmail.com"
] | xiaosean5408@gmail.com |
855fb15b15d33fbe562973352dba115c1014db55 | 251e8bfec0bfc5b6094f7db8ee6bdfe1ca7f6a5b | /bookmanager/venv/bin/python-config | 759cfeb2748510449a11b8162c1a3830533ca6fc | [] | no_license | googleliyang/Django_meiduo | 543042e08cc5eeb1dce8432b4ea2cca996f35c06 | 46f48ecf7bd6e9e2796eac1c3d54787f5571a9a7 | refs/heads/master | 2020-04-24T19:22:42.295324 | 2019-02-28T05:24:23 | 2019-02-28T05:24:23 | 172,209,685 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,362 | #!/Users/ly/Programmer/django/bookmanager/venv/bin/python
import sys
import getopt
import sysconfig
valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
'ldflags', 'help']
if sys.version_info >= (3, 2):
valid_opts.insert(-1, 'extension-suffix')
valid_opts.append('abiflags')
if s... | [
"ubuntu@gmail.com"
] | ubuntu@gmail.com | |
6a3de9a2997e3969d187a691ddd2deb96e6635a7 | bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d | /lib/googlecloudsdk/generated_clients/apis/ondemandscanning/v1beta1/ondemandscanning_v1beta1_client.py | 0ee06b63db758efe5802e29267514cc6f5aa75df | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | google-cloud-sdk-unofficial/google-cloud-sdk | 05fbb473d629195f25887fc5bfaa712f2cbc0a24 | 392abf004b16203030e6efd2f0af24db7c8d669e | refs/heads/master | 2023-08-31T05:40:41.317697 | 2023-08-23T18:23:16 | 2023-08-23T18:23:16 | 335,182,594 | 9 | 2 | NOASSERTION | 2022-10-29T20:49:13 | 2021-02-02T05:47:30 | Python | UTF-8 | Python | false | false | 13,062 | py | """Generated client library for ondemandscanning version v1beta1."""
# NOTE: This file is autogenerated and should not be edited by hand.
from __future__ import absolute_import
from apitools.base.py import base_api
from googlecloudsdk.generated_clients.apis.ondemandscanning.v1beta1 import ondemandscanning_v1beta1_mes... | [
"cloudsdk.mirror@gmail.com"
] | cloudsdk.mirror@gmail.com |
bbd06e970f33e0fd3225569ff5aedc8b24bb6c63 | 8b9e9de996cedd31561c14238fe655c202692c39 | /recursion/Tail_Recursion.py | 24b88b9901ef2a299306341c11b8f90bb3107b39 | [] | no_license | monkeylyf/interviewjam | 0049bc1d79e6ae88ca6d746b05d07b9e65bc9983 | 33c623f226981942780751554f0593f2c71cf458 | refs/heads/master | 2021-07-20T18:25:37.537856 | 2021-02-19T03:26:16 | 2021-02-19T03:26:16 | 6,741,986 | 59 | 31 | null | null | null | null | UTF-8 | Python | false | false | 1,005 | py | # Explain what is tail recursion and implement reverse a list using functional programming style
def rev(a):
"""Tail recursion.
rev([0, 1, 2, 3])
nested([], [0, 1, 2, 3])
nested([0] + [], [1, 2, 3])
nested([1] + [0], [2, 3])
nested([2] + [1, 0], [3])
nested([3], [2, 1, 0],... | [
"laituan1986@gmail.com"
] | laituan1986@gmail.com |
da1f403db95e038688dc9c46c5fa9a028823e73c | 564d6a4d305a8ac6a7e01c761831fb2081c02d0f | /sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_management_client_operations.py | b5ef06c1443c98c5807d9023cf421816c15aa794 | [
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later",
"MIT"
] | permissive | paultaiton/azure-sdk-for-python | 69af4d889bac8012b38f5b7e8108707be679b472 | d435a1a25fd6097454b7fdfbbdefd53e05029160 | refs/heads/master | 2023-01-30T16:15:10.647335 | 2020-11-14T01:09:50 | 2020-11-14T01:09:50 | 283,343,691 | 0 | 0 | MIT | 2020-07-28T22:43:43 | 2020-07-28T22:43:43 | null | UTF-8 | Python | false | false | 47,161 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | paultaiton.noreply@github.com |
d38a64980bb07c06db2cda09547eb0528b777da0 | e206cc00299804ce2271eb5d1513620e44ee9a9b | /course1-algorithm-toolbox/assignments/assignment_003_quick_sort3_way_partrition/sorting.py | 7c0e0b028b58859d54188ef65c487733d890039d | [] | no_license | dmitri-mamrukov/coursera-data-structures-and-algorithms | 15459cd160f7bbae5464bf53d995bca868a0b415 | 01dd6f0dadf62a520bcafafddf7bf2b79e8e2603 | refs/heads/master | 2020-05-24T18:27:00.665642 | 2019-05-21T20:45:37 | 2019-05-21T20:45:37 | 187,410,737 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,537 | py | #!/usr/bin/python3
import sys
import random
def __partition3(data, left, right):
"""This function partitions a[] in three parts:
a) a[left..l - 1] contains all elements smaller than the pivot element
b) a[l..r] contains all occurrences of the pivot element
c) a[r + 1..right] contains all elements gre... | [
"dmitri.mamrukov@gmail.com"
] | dmitri.mamrukov@gmail.com |
a984fa5280233327fd1997479acb19840c8efd63 | c8d7c4ba5e949b0af2f5aa234c3ae594b1a49950 | /Python接口自动化/auto_test_old/common/scripts/temp_db_file/xj_recon_model.py | beaa278e766c8975c7a679ebc4bb38c46a2d89d4 | [] | no_license | chase001/chase_learning | 00b7396a6775fb6e2fd80950f8acf3f1737b162e | c5ee2473e49923c781212eb3f9f50341c0bc80c8 | refs/heads/master | 2022-12-12T00:08:08.407671 | 2020-03-06T14:17:39 | 2020-03-06T14:17:39 | 221,268,073 | 0 | 0 | null | 2022-12-08T05:26:49 | 2019-11-12T16:56:34 | Python | UTF-8 | Python | false | false | 55,014 | py | from common.db.MyFields import *
from common.db.func import init_database
from peewee import *
database = init_database('db_hot')
class UnknownField(object):
def __init__(self, *_, **__): pass
class BaseModel(Model):
class Meta:
database = database
class AreaCode(BaseModel):
code = BigA... | [
"chenyuliang@globalegrow.com"
] | chenyuliang@globalegrow.com |
7f9e6d7b2d645fcd5aa6bd33457e423a8acbaae7 | 485784cea86f52c2acda0a495942689104cd391e | /schedule/migrations/0002_rinkschedule_schedule_date.py | 9b86d692f4df4d3b153c2be9115884978a11c438 | [] | no_license | BrianC68/OIC_Web_Apps | 50ec9f46868ad37dc809548d2d362a4573320539 | e75b9439b11cf2325675d76dacac38806156fb16 | refs/heads/master | 2023-08-09T07:39:33.066601 | 2023-08-07T13:22:39 | 2023-08-07T13:22:39 | 197,438,661 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | # Generated by Django 2.2.1 on 2019-10-08 23:50
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('schedule', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='rinkschedule',
... | [
"brianc@wi.rr.com"
] | brianc@wi.rr.com |
a5ce8e3808360b1d98652c7e2b7c2658debc42d3 | 559f3dec0964d2e0f86c6c871371fe779cf3726c | /contrib/MedicalSeg/tools/preprocess_utils/dataset_json.py | 5b3372963ae365689314ba2a9ae2d83d7a9307a9 | [
"Apache-2.0"
] | permissive | PaddlePaddle/PaddleSeg | 319ab26665ea492527a1949671650135123ffc39 | 2c8c35a8949fef74599f5ec557d340a14415f20d | refs/heads/release/2.8 | 2023-08-31T09:08:06.724717 | 2023-08-18T01:59:56 | 2023-08-18T01:59:56 | 204,380,779 | 8,531 | 1,866 | Apache-2.0 | 2023-09-12T02:30:42 | 2019-08-26T02:32:22 | Python | UTF-8 | Python | false | false | 478 | py | import json
def parse_msd_basic_info(json_path):
"""
get dataset basic info from msd dataset.json
"""
dict = json.loads(open(json_path, "r").read())
info = {}
info["modalities"] = tuple(dict["modality"].values())
info["labels"] = dict["labels"]
info["dataset_name"] = dict["name"]
i... | [
"noreply@github.com"
] | PaddlePaddle.noreply@github.com |
cc30e3e61bd5839e2a0450e37255e918cb0b15cc | 814e4ad96172a76d9b72ac35697553980d0db5f1 | /pyalp/gs_interface/generate_certificates.py | e7aa246d4bb2851366daaf5f91a5fe555ce9c5c2 | [
"MIT"
] | permissive | Mause/pyalp | 29785037d3b4ebc2822e6ec74621aa65f621bb8e | fb0f723070e11f8c9ed57e2475eb963599f442a6 | refs/heads/master | 2022-12-05T12:05:01.804305 | 2014-07-02T13:04:21 | 2014-07-02T13:04:21 | 15,419,434 | 0 | 0 | MIT | 2022-11-22T00:24:05 | 2013-12-24T14:00:26 | PHP | UTF-8 | Python | false | false | 692 | py | #!/usr/bin/env python
"""
Generate client and server CURVE certificate files then move them into the
appropriate store directory, private_keys or public_keys. The certificates
generated by this script are used by the stonehouse and ironhouse examples.
In practice this would be done by hand or some out-of-band process... | [
"jack.thatch@gmail.com"
] | jack.thatch@gmail.com |
1434600aa23894fe97502d7f97ad8e909d58c0ec | 9249947c07f8addf64dd3d2a2f9f37d379f83921 | /libs/gluon/contrib/aes.py | cecf2d9073cb71ee75006f771492d0cb4b5943e6 | [
"MIT"
] | permissive | operepo/ope | eb71aa763d157416009d7c3052ace11852660e0a | 018c82af46845315795c67c36801e2a128f515d5 | refs/heads/master | 2023-08-08T15:05:28.592589 | 2023-07-25T00:22:24 | 2023-07-25T00:22:24 | 96,855,111 | 12 | 11 | MIT | 2023-03-03T15:10:34 | 2017-07-11T05:42:14 | Perl | UTF-8 | Python | false | false | 16,671 | py | """Simple AES cipher implementation in pure Python following PEP-272 API
Homepage: https://bitbucket.org/intgr/pyaes/
The goal of this module is to be as fast as reasonable in Python while still
being Pythonic and readable/understandable. It is licensed under the permissive
MIT license.
Hopefully the code is readabl... | [
"ray@cmagic.biz"
] | ray@cmagic.biz |
ee63b12e238a4138f9963f331b11ffc93c1e0fa0 | 5979cf3c79daa04706c8fef1595574c6e36c14a1 | /vgl/home/urls.py | 0547341057b158de3626eb131277cda6b03c92a1 | [] | no_license | rahuezo/valley-green-landscape-inc | f675b5242ed7a80e457b236a253fb9ed0602829c | 6dac5ed2202336a69a86c6dcafee892cbadaa5b3 | refs/heads/master | 2021-08-15T16:48:50.594629 | 2017-11-18T00:08:49 | 2017-11-18T00:08:49 | 110,613,620 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | from django.conf.urls import url
from . import views
app_name = 'home'
urlpatterns = [
url(r'^$', views.index, name='index'),
]
| [
"rahuezo@ucdavis.edu"
] | rahuezo@ucdavis.edu |
3bad13cc5bddd857215b2177bebc8b7cae6f2551 | 20c80f722c451b64d05cc027b66a81e1976c3253 | /commons/libs/pyblish_qml/rpc/__init__.py | a461a54bd8d5068ae347c7d751ec764fdb30bacd | [] | no_license | flypotatojun/Barbarian | 2d3fcb6fcb1b4495b6d62fc5e32634abf4638312 | efe14dd24c65b4852997dad1290e503211bcc419 | refs/heads/master | 2021-07-18T01:43:14.443911 | 2017-10-24T03:37:43 | 2017-10-24T03:37:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 105 | py | from . import client, server, service
__all__ = [
"client",
"server",
"service",
]
| [
"lonegather@users.noreply.github.com"
] | lonegather@users.noreply.github.com |
dc89107f7dcfdfa9cd7401d4281ed7ea790232a3 | 0ad7f553df6b210b5ac004fbf490ed651a21d55e | /algos/discrete_esay_control_lib_01.py | ef19dd246fb029fd2da77e0c6b9a839eebbfc2a8 | [] | no_license | MarianoDel/spyder_python | fa00987eb9aa1ef61d7224679a84c05a217c6c35 | 5f5896df68f95eb860bc08c21ae2b19516432cdc | refs/heads/master | 2020-05-23T06:14:57.329478 | 2020-04-23T14:58:16 | 2020-04-23T14:58:16 | 84,753,428 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,354 | py | # -*- coding: utf-8 -*-
#usando libreria de control
import numpy as np
from scipy import signal
b = [0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]
tf1 = (b, [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 0.001) #ver que dt coincida con el step de tiempo en discreto
#w, h = signal.freqz(b)
#w, h = sign... | [
"marianodeleu@yahoo.com.ar"
] | marianodeleu@yahoo.com.ar |
67f12d8933ae63eef4aa93f09cc44f61d8f48c3d | 7801b0356b60de5a4fa6b214717a1c04942b5b62 | /crm/migrations/0003_userinfo_user.py | 2daf274b45a19a80d357f35f9323cbef54a43799 | [] | no_license | hqs2212586/CRM_demo | 365652c61c991a2098d32b5db318d55cf29baa0b | 941a896aef598d81750a96074bc63ccfaaadf0a5 | refs/heads/master | 2020-03-27T17:43:40.110992 | 2018-08-31T09:20:01 | 2018-08-31T09:20:01 | 146,869,963 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 517 | py | # Generated by Django 2.0.6 on 2018-08-31 03:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('rbac', '0004_permission_action'),
('crm', '0002_customerdistrbute'),
]
operations = [
migrations.Ad... | [
"443514404@qq.com"
] | 443514404@qq.com |
2a02caa7558f764522bd58b00871216e796676d8 | d42dea822871be6027fadbf8b167be1c0b38d9c7 | /BST/debug.py | 2cc73f8d9784aa9f8a21c2b7530ff531d0bb1e4b | [] | no_license | siddhantprateek/Python-in-Practice | d8412c46dec57d512d8abd87cb0a33b71070c5ee | 0ad806f02fecb87de20078ef956f8e23bb38e342 | refs/heads/main | 2023-06-26T22:34:55.172882 | 2021-07-29T15:14:09 | 2021-07-29T15:14:09 | 354,875,226 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,479 | py | class BSTreeNode:
def __init__(self, val):
self.value = val
self.left, self.right = None, None
class BinaryST:
def __init__(self):
self.root = None
def insert(self, val):
self.root = self.insertHelp(val, self.root)
def insertHelp(self... | [
"siddhantprateek@gmail.com"
] | siddhantprateek@gmail.com |
5ae9b28df851a85fea96edf6169e6cf8f14c6a50 | 07f92805a75dc91b8be2ac14c238394245eda9ea | /Python生物信息学数据管理/python-for-biologists/03-modular_programming/10-functions/calc_atom_atom_distance.py | 5156d4af63c5626cef0355e63c950a6aecc07d18 | [] | no_license | 08zhangyi/Some-thing-interesting-for-me | 6ea7366ef1f0812397300259b2e9d0e7217bcba0 | f4cbda341ada98753c57a3ba07653163522dd023 | refs/heads/master | 2023-01-11T22:54:03.396911 | 2023-01-06T05:47:41 | 2023-01-06T05:47:41 | 136,426,995 | 7 | 6 | null | null | null | null | UTF-8 | Python | false | false | 917 | py | '''
Find two alpha-C atoms in a PDB structure and calculate their distance.
-----------------------------------------------------------
(c) 2013 Allegra Via and Kristian Rother
Licensed under the conditions of the Python License
This code appears in section 10.4.4 of the book
"Managing Biological Data wi... | [
"395871987@qq.com"
] | 395871987@qq.com |
21393f5ec3107ae718cce881c013ad295cbc9e74 | bf74f773f0c69e0ce7c5cc57a5897ca86cca6587 | /custom_collections/tree.py | b2452b64db079d1947db82cf94a240f15c822c36 | [
"BSD-3-Clause"
] | permissive | weijia/custom_collections | a532b01b18049f0e0aad9920f8e90d45e3c24812 | e9b7bcc25f83f6a9adfbee94c825835414799aab | refs/heads/master | 2016-09-06T09:01:05.969014 | 2014-09-20T17:42:48 | 2014-09-20T17:42:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,068 | py | import uuid
from django.utils import timezone
import django.db.utils
from django.contrib.auth.models import User, Group
from django.contrib import admin
from django.conf import settings
from obj_sys.models import UfsObj
from guardian.admin import GuardedModelAdmin
from guardian.shortcuts import assign_perm
try:
... | [
"richardwangwang@gmail.com"
] | richardwangwang@gmail.com |
43589f610d031b46faaa40ca7ed51622d5c8345d | 8c9c27cb88a2d210a5e2fb5803fe89204dba95ef | /phy/gui/qt.py | fee9e2549519dba466c131d6a190d3459af0496c | [] | no_license | arnefmeyer/phy | c13b1eceb70ee72cf0ff9c4a273e195f122fabc4 | 14663e1f2baad421d6bc9f420d34170c6c969bbe | refs/heads/master | 2020-12-07T15:42:49.605432 | 2016-04-20T21:10:38 | 2016-04-20T21:10:38 | 56,718,986 | 1 | 0 | null | 2016-04-20T20:32:18 | 2016-04-20T20:32:18 | null | UTF-8 | Python | false | false | 4,107 | py | # -*- coding: utf-8 -*-
"""Qt utilities."""
# -----------------------------------------------------------------------------
# Imports
# -----------------------------------------------------------------------------
from contextlib import contextmanager
from functools import wraps
import logging
import sys
logger = l... | [
"cyrille.rossant@gmail.com"
] | cyrille.rossant@gmail.com |
7c6e0f6234acef62dcc182e1e93468181f99ce5c | 187a6558f3c7cb6234164677a2bda2e73c26eaaf | /jdcloud_sdk/services/apigateway/apis/DescribeIsDeployApiGroupsRequest.py | 5734f9aeb75d8ebb2d719eb77989012b428bf204 | [
"Apache-2.0"
] | permissive | jdcloud-api/jdcloud-sdk-python | 4d2db584acc2620b7a866af82d21658cdd7cc227 | 3d1c50ed9117304d3b77a21babe899f939ae91cd | refs/heads/master | 2023-09-04T02:51:08.335168 | 2023-08-30T12:00:25 | 2023-08-30T12:00:25 | 126,276,169 | 18 | 36 | Apache-2.0 | 2023-09-07T06:54:49 | 2018-03-22T03:47:02 | Python | UTF-8 | Python | false | false | 1,460 | py | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | [
"tancong@jd.com"
] | tancong@jd.com |
8b7641767d7456a30a42aaefeb9cee8c4c607de4 | 51888119e10cdff12dafb060a54824632edccf3f | /Folders/Python/BlackSailSubmit.py | fb3aabf18c996ca4a44e2ffda207c3e9e2ed6b01 | [
"BSD-2-Clause"
] | permissive | kuchinal/lamakaha | b64511ad8c6d2b36da5a84a266b9e7a69acd3106 | 24e3b2ff53bcac2ad1c0e5a3b9afd4593d85f22d | refs/heads/master | 2023-09-01T17:55:56.551183 | 2023-07-31T19:32:04 | 2023-07-31T19:32:04 | 182,849,747 | 0 | 0 | null | 2021-09-10T06:34:22 | 2019-04-22T19:00:02 | Python | UTF-8 | Python | false | false | 519 | py |
import nuke
import rrSubmit_Nuke_5
def BlackSailSubmit():
try :
g = nuke.selectedNode()
f = nuke.allNodes("Write")
f= nuke.allNodes("AutoWrite")+f
for a in f:
sel = a['selected'].value()
if sel == 1:
a['disable'].setValue(0)
... | [
"lamakaha@gmail.com"
] | lamakaha@gmail.com |
6c8a442acb14c856d7f761064e44561c82b10f6c | 212028581b4875ac2fefa9acd7b17b88b4b8eccd | /ulugugu/values.py | e5fbdd042dbd0dbd5cebbe5d437a2fa3c34403d1 | [] | no_license | jonashaag/ulugugu | 65a3b55c2fa2d624ba7cc72cc5186eb353e7b016 | 509e3ceadbb50aad34c585b63d33284357a21ed6 | refs/heads/master | 2016-08-06T07:10:53.578924 | 2015-07-25T12:54:15 | 2015-07-25T12:54:15 | 37,680,621 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 533 | py | class Value:
pass
class Integer(Value):
def __init__(self, value):
self.value = value
def __repr__(self):
return '<Integer %d>' % self.value
class String(Value):
def __init__(self, value):
self.value = value
def __repr__(self):
return '<String %r>' % self.value
class Application(Value):... | [
"jonas@lophus.org"
] | jonas@lophus.org |
924c4786c418c5f6ba94014768067df9fd08892e | 62009d7843d120beddd696258686c8b479713384 | /tribune/urls.py | 960254574acbddbcb52308d302a510e032a17349 | [] | no_license | Janice-M/-The-Moringa-Tribune | a81d5e94b325254c78a6c0eea3c48e031935bdba | c960fa8dac1444f6fd4ea1a823f63433ae1645e4 | refs/heads/master | 2021-06-16T20:06:18.140544 | 2019-08-20T09:54:41 | 2019-08-20T09:54:41 | 203,201,486 | 1 | 1 | null | 2021-06-10T21:53:04 | 2019-08-19T15:38:57 | Python | UTF-8 | Python | false | false | 764 | py | """tribune URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-ba... | [
"janiceink001@gmail.com"
] | janiceink001@gmail.com |
42fdb67ff09320fd1ae7ed48b1d7252395a78674 | 93db4b48741ff4ab0a3895813a6c7543e01821ea | /leetcode/Python/875_bananas.py | ce09bb5605a8310b0d9dfe00aaffbe27d27ed1c7 | [] | no_license | shubham14/Coding_Contest_solutions | f884c458d3316bdafc6f1b1a52cf3e962c58bc47 | 1b67497f35b892c25e3d9600214fa37a738ffd40 | refs/heads/master | 2021-06-22T13:34:10.581101 | 2019-10-09T02:56:01 | 2019-10-09T02:56:01 | 131,326,516 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 440 | py | # -*- coding: utf-8 -*-
"""
Created on Tue Jul 24 00:09:31 2018
@author: Shubham
"""
class Solution(object):
def minEatingSpeed(self, piles, H):
def possible(K):
return sum((p - 1)/ K + 1 for p in piles) <= H
s, e = 1, max(piles)
while s < e:
m = (s + e)/2
... | [
"shubham.ddash@gmail.com"
] | shubham.ddash@gmail.com |
3cce302430399686b13d6cc49040ace97eb052a2 | 632eee486e432d1bc2a7c771db7e9a06f7cad7a9 | /2812-laercio.py | 3d976d923a342bfca9597d558079aab8c6f0269b | [] | no_license | L4res/URI-Python | d1c578d87201151540876a6b8eca2aecd833a953 | 2f59387ca38e16f6396a6ea677d71f7c2c919fc2 | refs/heads/master | 2023-03-25T17:34:57.635187 | 2020-06-15T18:20:03 | 2020-06-15T18:20:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 864 | py | for i in range(int(input())):
n = int(input())
lista = list(map(int, input().split()))
lista.sort()
impares = []
resultado = []
# Pegando os valores impares:
for j in range(n):
if lista[j] % 2 != 0:
impares.append(lista[j])
# Pegando os valores na ordem ... | [
"noreply@github.com"
] | L4res.noreply@github.com |
bccecc6995a1fcb323de9ae3254a02a54008d43a | e1a2c6ed4a4b93b4697974e3b0a32a4d67daa6f6 | /venv/Lib/site-packages/pybrain3/rl/environments/ode/tasks/ccrl.py | 74047621ad42288a4b7988d703bcde82599a35e9 | [
"MIT"
] | permissive | ishatserka/MachineLearningAndDataAnalysisCoursera | cdf0f23a58617e17d6b938e3a9df17daae8585e4 | e82e772df2f4aec162cb34ac6127df10d14a625a | refs/heads/master | 2021-09-11T01:39:26.228392 | 2018-04-05T14:33:39 | 2018-04-05T14:33:39 | 117,153,454 | 0 | 0 | MIT | 2018-03-27T05:20:37 | 2018-01-11T21:05:33 | Python | UTF-8 | Python | false | false | 15,329 | py | __author__ = 'Frank Sehnke, sehnke@in.tum.de'
from pybrain3.rl.environments import EpisodicTask
from pybrain3.rl.environments.ode.sensors import SpecificBodyPositionSensor
from scipy import tanh, zeros, array, random, sqrt, asarray
#Basic class for all ccrl tasks
class CCRLTask(EpisodicTask):
def __init__(self, ... | [
"shatserka@gmail.com"
] | shatserka@gmail.com |
aa611c1670449e133c290241f9c2bbbc38d1505a | ed21823488a1cca51009793efa0b124e40d224a4 | /neurobioseg/170111_avoid_redundant_path_calculation/p170111_03_compute_paths.py | b61c0656c06859d665bca2fe34b87a67a2cc9716 | [] | no_license | jhennies/py_devel | 4a41e13ec8cd9b834c3d5acf64becc0fa8ffc479 | 9fc860be95ae91064a40f25e26d4024fbae6eb1f | refs/heads/master | 2021-01-16T23:25:56.716283 | 2017-03-10T17:49:55 | 2017-03-10T17:49:55 | 45,381,183 | 1 | 0 | null | 2017-03-10T17:49:56 | 2015-11-02T08:21:35 | Python | UTF-8 | Python | false | false | 4,945 | py |
import os
import inspect
from hdf5_image_processing import Hdf5ImageProcessing as IP, Hdf5ImageProcessingLib as ipl
from hdf5_processing import RecursiveDict as rdict
from shutil import copy, copyfile
import numpy as np
import matplotlib.pyplot as plt
import processing_libip as libip
import sys
from yaml_parameters im... | [
"julianhennies@hotmail.de"
] | julianhennies@hotmail.de |
46e7155c122fe2b89291a70967d3ced59f4c38ce | cf1f1d3f7a4aaaaaee322b0101f7b294909c5a67 | /Code/Al/loop_index.py | 0cbbf5bab4fdd9fe13eacbec91a04ee7426ff5b3 | [] | no_license | PdxCodeGuild/class_emu | 0b52cc205d01af11860a975fc55e36c065d1cc68 | 9938f384d67a4f57e25f2714efa6b63e2e41b892 | refs/heads/master | 2020-05-31T01:16:52.911660 | 2019-12-09T05:22:06 | 2019-12-09T05:22:06 | 190,046,342 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 185 | py | # Write your code here :-)
import string
print(string.ascii_lowercase)
abc_list = list(string.ascii_lowercase)
print(abc_list)
for num in range(len(abc_list)):
print(abc_list[num])
| [
"al.burns.email@gmail.com"
] | al.burns.email@gmail.com |
501efc03e712d21a0a76e29634ed02d611170f9e | 8fbd8b98cdf04d319f7b5789d6dc1a738a90566b | /th_mastodon/tests.py | 9658443ac0d0bd316e58cf64cc671700da484071 | [
"BSD-3-Clause"
] | permissive | fkztw/django-th | 5231652ed75ae6060bd4f4a383eba4286e8c9191 | 926a3b9d515a7995cb36d2259729851d0c5cfb4d | refs/heads/master | 2023-07-23T22:08:11.898683 | 2017-10-27T12:38:21 | 2017-10-27T12:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,978 | py | # coding: utf-8
from django.conf import settings
from django.core.cache import caches
from django_th.tests.test_main import MainTest
from django_th.models import ServicesActivated
from mastodon import Mastodon as MastodonAPI
from th_mastodon.forms import MastodonProviderForm, MastodonConsumerForm
from th_mastodon.mo... | [
"foxmaskhome@gmail.com"
] | foxmaskhome@gmail.com |
9c3e7efe4f11de9d2d352605026b21608815d9e9 | 6e4448d99733d6cabba8fc725e3f5132161e49f7 | /pre_2016_17_cool_season/prism_precip_ncar.py | 642981c52f13da509e7e2be9ea7433f5f4bee27c | [] | no_license | tomgowan/model-climatology | 00a4d75e11bb0a8599121aeb0cd6831f32b04329 | 1fab1c15535311c3ff4258bd4670ccdd81239ca2 | refs/heads/master | 2020-03-22T20:28:45.907527 | 2018-07-11T16:54:32 | 2018-07-11T16:54:32 | 140,603,732 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,501 | py | import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap, maskoceans
import pygrib, os, sys
from netCDF4 import Dataset
from numpy import *
import numpy as np
from pylab import *
import time
from datetime import date, timedelta
import pyart
from matplotlib import ... | [
"tom.gowan@gmail.com"
] | tom.gowan@gmail.com |
4e404b4c200a4b0a221a3538e8f15c212981517e | f00c8395790dca63dbbcc2fac4df39a00352c0bd | /venv/bin/django-admin.py | 52cf084b1072f56763ab153fcb77ecbcba289808 | [] | no_license | enasmohmed/Store | 2d524e2f45f758328603c476f62c1592b4154c8a | 66a8cecde29164bc0ef46b0ab95d77fd87a61fe3 | refs/heads/main | 2023-01-20T11:58:43.092800 | 2020-11-28T15:42:09 | 2020-11-28T15:42:09 | 310,835,465 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 688 | py | #!/home/enas/Desktop/Django coretabs/venv/bin/python3
# When the django-admin.py deprecation ends, remove this script.
import warnings
from django.core import management
try:
from django.utils.deprecation import RemovedInDjango40Warning
except ImportError:
raise ImportError(
'django-admin.py was depre... | [
"enasm2477@gmail.com"
] | enasm2477@gmail.com |
7995fc582146c2158eaa992be2a9ef6467415529 | f3b233e5053e28fa95c549017bd75a30456eb50c | /mcl1_input/L26/26-62_MD_NVT_rerun/set_1ns_equi_1.py | a035e758dac2d227d5ce00130a2c5ba6805a9fa2 | [] | no_license | AnguseZhang/Input_TI | ddf2ed40ff1c0aa24eea3275b83d4d405b50b820 | 50ada0833890be9e261c967d00948f998313cb60 | refs/heads/master | 2021-05-25T15:02:38.858785 | 2020-02-18T16:57:04 | 2020-02-18T16:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 925 | py | import os
dir = '/mnt/scratch/songlin3/run/mcl1/L26/MD_NVT_rerun/ti_one-step/26_62/'
filesdir = dir + 'files/'
temp_equiin = filesdir + 'temp_equi_1.in'
temp_pbs = filesdir + 'temp_1ns_equi_1.pbs'
lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078]
for... | [
"songlin3@msu.edu"
] | songlin3@msu.edu |
1dc650adae49d3a7f479a9ce4b8ad82b9fe7da99 | f6c9f71f8850d9db28f4de25307f5b9f2c81523c | /0x11-python-network_1/0-hbtn_status.py | 3e978c5b1848abb25b3358b61a15b1fe98adc277 | [] | no_license | RaudoR/holbertonschool-higher_level_programming | 382c527718f84920c9de8a527cbacb224a8886ca | 460750c7a8fa4e01609bd6964d993653a94a5805 | refs/heads/master | 2020-09-29T03:52:07.953201 | 2020-05-29T18:20:29 | 2020-05-29T18:20:29 | 226,943,450 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 438 | py | #!/usr/bin/python3
'''script to fetch the url https://intranet.hbtn.io/status'''
import urllib.request
if __name__ == "__main__":
with urllib.request.urlopen('https://intranet.hbtn.io/status') as response:
html = response.read()
print("Body response:")
print("\t- type: {}".format(type(htm... | [
"rivaspaulino@outlook.com"
] | rivaspaulino@outlook.com |
50e9805b4c7342f69df26383d629e99793f89bc5 | f1d9917f6a26d71650fce36c9d5bb6cc27ba4571 | /setup.py | 22b5ac7ceacfe30e8796ea35a10812e78d5ab652 | [
"MIT"
] | permissive | arteria-project/arteria-bcl2fastq | 029caa20ba1deeb8f9f0a01429f6d416623245ae | afb1332c016d7af99cb710d3c6f4fe8f10775422 | refs/heads/master | 2023-07-12T21:14:48.265575 | 2023-07-03T08:48:58 | 2023-07-03T08:49:28 | 41,307,984 | 3 | 10 | MIT | 2023-05-05T11:37:55 | 2015-08-24T14:31:17 | Python | UTF-8 | Python | false | false | 779 | py | from setuptools import setup, find_packages
from bcl2fastq import __version__
import os
def read_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
try:
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
except IOError:
insta... | [
"johan.dahlberg@medsci.uu.se"
] | johan.dahlberg@medsci.uu.se |
240b8bac2f0652b595726e36702120548cb29b54 | 48894ae68f0234e263d325470178d67ab313c73e | /inv/management/commands/l3-topology.py | ddbb5633ba7c4973bf42b331a10bd0388bbe360e | [
"BSD-3-Clause"
] | permissive | DreamerDDL/noc | 7f949f55bb2c02c15ac2cc46bc62d957aee43a86 | 2ab0ab7718bb7116da2c3953efd466757e11d9ce | refs/heads/master | 2021-05-10T18:22:53.678588 | 2015-06-29T12:28:20 | 2015-06-29T12:28:20 | 118,628,133 | 0 | 0 | null | 2018-01-23T15:19:51 | 2018-01-23T15:19:51 | null | UTF-8 | Python | false | false | 7,640 | py | # -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## L3 topology
##----------------------------------------------------------------------
## Copyright (C) 2007-2012 The NOC Project
## See LICENSE for details
##---------------------------------------------------------------... | [
"dv@nocproject.org"
] | dv@nocproject.org |
df3bf69e1052d215786ee3266d66ff9529129bf4 | 174aa0021c10ebe4d7598b44404f8dfcad0cbc24 | /dateparser/data/date_translation_data/ki.py | dc720c347e27c7789baf072713bafc901736f7cb | [
"BSD-3-Clause"
] | permissive | Ronserruya/dateparser | 6789fc84bd548e040975ab693c50362673960571 | 238d0dbc7a03a00c29818e474f28848e100010bc | refs/heads/master | 2022-07-07T09:33:37.849429 | 2020-05-13T07:19:56 | 2020-05-13T07:19:56 | 263,635,745 | 0 | 0 | BSD-3-Clause | 2020-05-13T13:20:15 | 2020-05-13T13:20:15 | null | UTF-8 | Python | false | false | 2,714 | py | # -*- coding: utf-8 -*-
info = {
"name": "ki",
"date_order": "DMY",
"january": [
"njenuarĩ",
"jen"
],
"february": [
"mwere wa kerĩ",
"wkr"
],
"march": [
"mwere wa gatatũ",
"wgt"
],
"april": [
"mwere wa kana",
"wkn"
]... | [
"sarthakmadaan5121995@gmail.com"
] | sarthakmadaan5121995@gmail.com |
d46fe004e10c5667c296cf71217f95529c31f646 | c0a34cb6afebe699c55fdef5050b7a3efd0385cf | /media.py | 015fdaee40e02f6683a3d56def5385d891d48db3 | [] | no_license | wonjunee/movie-website | fdf4dbf9953af3e7c820ab3371ca793f44d03e2f | 6656282c2636e5b5e79888faacefde32384f56ba | refs/heads/master | 2020-12-05T08:12:14.925657 | 2016-09-01T15:27:37 | 2016-09-01T15:27:37 | 66,372,684 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 969 | py | import webbrowser
class Video():
def __init__(self, title, storyline, poster_image_url):
self.title = title
self.storyline = storyline
self.poster_image_url = poster_image_url
class Movie(Video):
""" This class provides a way to store movie related information"""
VALID_RATINGS = ["G", "PG", "PG-13", "R"]
de... | [
"mymamyma@gmail.com"
] | mymamyma@gmail.com |
b91e5b6c07aa7a2ff0caf5f8e4cf9177fc49c24e | 807633994b9b6469379b97f31ce32b26f8009309 | /src/unicef_notification/validations.py | d3bb3305b8cb1f553eacf3486bc3378973a07123 | [
"Apache-2.0"
] | permissive | achamseddine/unicef-notification | b3eb499b56f680cad320ec3838a5c8b70e7c37b0 | 3ea1f9a3c695ce9f871f6dc2fbfc44d42f4bb34b | refs/heads/master | 2022-12-15T10:17:57.040794 | 2018-08-08T14:52:07 | 2018-08-08T14:52:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 538 | py | from django.core.exceptions import ValidationError
from post_office.models import EmailTemplate
def validate_template_name(template_name):
try:
EmailTemplate.objects.get(name=template_name)
except EmailTemplate.DoesNotExist:
raise ValidationError("No such EmailTemplate: %s" % template_name)
... | [
"greg@reinbach.com"
] | greg@reinbach.com |
da90f416192e97abb37a1c2a0acb8759b7bcda33 | 52ce59408b028200e66f237d7b9ef47c5c941a22 | /emotion_data/behaviour.py | 9b8dd27bd7de3f38d3454caeaa491c5ae63eff5c | [] | no_license | alternativeritam/emotion_data | 9fe3f0e9cff0ffe1178aceb81364205191d43ea9 | b3b859a511d09040cdd3171db11641ae273af5c6 | refs/heads/master | 2021-10-10T12:22:56.906162 | 2019-01-10T18:08:03 | 2019-01-10T18:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,760 | py | from emotion_data.emotions import EMOTIONS
BEHAVIOUR_NAMES = {
"protection": {
"purpose": "Withdrawal, retreat",
"activated_by": ["fear", "terror"]
},
"destruction": {
"purpose": "Elimination of barrier to the satisfaction of needs",
"activated_by": ["anger", "rage"]... | [
"jarbasai@mailfence.com"
] | jarbasai@mailfence.com |
c6964c95050e59ebc7015bf6f15d7dc4ca2a9030 | edc4dfa7fbdc42d12d1d12b0cd15b1bec5b88074 | /exhand/test1.py | 8fdd3ffc038aa353fe3031b40a3fbe10dab1679a | [] | no_license | srikanthpragada/PYTHON_01_OCT_LANGDEMO | ed0236266102f8e38190b4ac076d5d46d2d61898 | c8d427e74f8ac6c32a081006e19cba92483735bf | refs/heads/master | 2020-03-30T20:27:56.490472 | 2018-11-03T15:29:18 | 2018-11-03T15:29:18 | 151,589,352 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 248 | py | try:
num = int(input("Enter a number :"))
# process num
print("Result = " ,100 / num)
except Exception as ex: # Handle all exceptions
print("Error : ", ex)
else:
print("Success!")
finally:
print("Done!")
print("The End") | [
"srikanthpragada@gmail.com"
] | srikanthpragada@gmail.com |
d0beb9c3134d0318af94ce00297b954fb023fb07 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2793/60617/307505.py | 73e9eaf62495f15bc522a02ac20b67dec8cf6e78 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 692 | py | def crazy_Computer():
row1st=input().split()
n=int(row1st[0])
c=int(row1st[1])
timeSequence=list(map(int, input().split(" ")))
count=1
if row1st==['6', '1']:
print(2)
exit()
for i in range(1, len(timeSequence)-1):
if timeSequence[i]-timeSequence[i-1]<=c:
c... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
30d956d6ecbb481dfee312777ba5744713bf23ba | c933e9f705aca2586a866cbb489804eb37103b6f | /testing/.ipynb_checkpoints/FELion_normline-checkpoint.py | 562f5aeba45577c506aef386943706a6be7d0595 | [
"MIT"
] | permissive | aravindhnivas/FELion-Spectrum-Analyser | ce49b6b23323a5e58df0cd763e94129efccad0ff | 430f16884482089b2f717ea7dd50625078971e48 | refs/heads/master | 2020-04-08T00:24:30.809611 | 2019-08-29T14:21:44 | 2019-08-29T14:21:44 | 158,850,892 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 9,287 | py | #!/usr/bin/python3
## Importing Modules
# FELion-Modules
from FELion_baseline import felix_read_file, BaselineCalibrator
from FELion_power import PowerCalibrator
from FELion_sa import SpectrumAnalyserCalibrator
from FELion_definitions import ShowInfo, ErrorInfo, filecheck, move
# DATA Analysis modules:
import matplo... | [
"aravindhnivas28@gmail.com"
] | aravindhnivas28@gmail.com |
fabb95158bf9293648bb55e33f5ef64f8969617f | ea767918d1391d950714d3fafabf65330bade863 | /odin/ml/decompositions.py | c59b06782744c6e34dd9d4d63821bd457fc56d8f | [
"MIT"
] | permissive | tirkarthi/odin-ai | f5bb33d02047025029891e1282b9bd389eb4eb07 | 7900bef82ad8801d0c73880330d5b24d9ff7cd06 | refs/heads/master | 2023-06-02T20:15:11.233665 | 2020-09-25T09:57:28 | 2020-09-25T09:57:28 | 298,744,248 | 0 | 0 | MIT | 2020-09-26T05:29:11 | 2020-09-26T05:29:10 | null | UTF-8 | Python | false | false | 40,980 | py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
import math
from multiprocessing import Array, Value
from numbers import Number
import numpy as np
from scipy import linalg
from six import string_types
from sklearn.decomposition import PCA, IncrementalPCA
from sklearn.utils imp... | [
"nickartin13@gmail.com"
] | nickartin13@gmail.com |
d03f122f98dbf6bba0498916c870e071bb955439 | c548c10c4fd0b6c1d1c10cc645cb3b90b31f2de6 | /ml/m29_pca2_3_wine.py | b21c357d299df1dafc9268bb91762f9f1bdd2093 | [] | no_license | sswwd95/Study | caf45bc3c8c4301260aaac6608042e53e60210b6 | 3c189090c76a68fb827cf8d6807ee1a5195d2b8b | refs/heads/master | 2023-06-02T21:44:00.518810 | 2021-06-26T03:01:26 | 2021-06-26T03:01:26 | 324,061,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,459 | py | import numpy as np
from sklearn.datasets import load_wine
from sklearn.decomposition import PCA
# deomposition 분해
datasets = load_wine()
x = datasets.data
y = datasets.target
print(x.shape, y.shape) #(178, 13) (178,)
'''
pca = PCA(n_components=10)
x2 = pca.fit_transform(x) # fit과 transform 합친 것
print(x2)
print(x2.shap... | [
"sswwd95@gmail.com"
] | sswwd95@gmail.com |
bc4ce015eb040a0bfe60106b3a22e8e043989877 | ff182eeaf59b16f79b7d306eef72ddaadf0f4e71 | /Vaffle_interface/testcase/SystemModule/System_test23_invite_get_score.py | 877679a1cb1da86ccf973e312dd5811dcb3c9734 | [] | no_license | heyu1229/vaffle | 04d6f8b0d3bd0882ff1cdea54d18d5fdde7933b9 | 2c1c040f78094cf3cfc68f08627a958c4aa5e1d5 | refs/heads/master | 2023-06-05T09:55:21.894344 | 2021-03-12T07:26:45 | 2021-03-12T07:26:45 | 381,248,658 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 874 | py | # -*- coding:UTF-8 -*-
import unittest
import requests
import time,gc,sys
from Vaffle_interface.public_1.func_requests import FuncRequests
from Vaffle_interface.public_1.get_url import Url
class Invite_get_score(unittest.TestCase):
def setUp(self):
self.member_uuid = Url ().test_user ()
self.req... | [
"1004856404@qq.com"
] | 1004856404@qq.com |
5f1f4ad717ccde42c1a45dcfb353c5a9f6f7a916 | 3f763cf893b09a3be562858613c928703ff349e4 | /client/verta/verta/_swagger/_public/modeldb/model/ModeldbCreateProjectResponse.py | b749fb1cab032e8cfae28f8b96a3aba11500069f | [
"Apache-2.0"
] | permissive | VertaAI/modeldb | 636e46fc025b01a514d599b10e228c8735503357 | ec9ac7712500adb13fd815dfd476ce9f536c6921 | refs/heads/main | 2023-08-31T00:45:37.220628 | 2023-08-30T18:45:13 | 2023-08-30T18:45:13 | 71,305,435 | 844 | 142 | Apache-2.0 | 2023-09-14T19:24:13 | 2016-10-19T01:07:26 | Java | UTF-8 | Python | false | false | 616 | py | # THIS FILE IS AUTO-GENERATED. DO NOT EDIT
from verta._swagger.base_type import BaseType
class ModeldbCreateProjectResponse(BaseType):
def __init__(self, project=None):
required = {
"project": False,
}
self.project = project
for k, v in required.items():
if self[k] is None and v:
... | [
"noreply@github.com"
] | VertaAI.noreply@github.com |
f026f41d97ad800e361e469b6d9b2f9ce747b465 | 325bee18d3a8b5de183118d02c480e562f6acba8 | /pycan/pycan/spiders/listed_issuers_spider.py | 5cbf6d2e6c7d9efd5de970ad5a60ec512b0647b2 | [] | no_license | waynecanfly/spiderItem | fc07af6921493fcfc21437c464c6433d247abad3 | 1960efaad0d995e83e8cf85e58e1db029e49fa56 | refs/heads/master | 2022-11-14T16:35:42.855901 | 2019-10-25T03:43:57 | 2019-10-25T03:43:57 | 193,424,274 | 4 | 0 | null | 2022-11-04T19:16:15 | 2019-06-24T03:00:51 | Python | UTF-8 | Python | false | false | 7,315 | py | """从归档(MiG Archives)文件中提取公司列表"""
from io import BytesIO
from zipfile import BadZipFile
import scrapy
import pymysql
from scrapy import signals
from openpyxl import load_workbook
from dateutil.parser import parse as parse_datetime
from scrapy.spidermiddlewares.httperror import HttpError
from twisted.internet.error imp... | [
"1370153124@qq.com"
] | 1370153124@qq.com |
42428250f3f843297cf0dea506a3f02218b3db63 | fb00808d44e18c7b27a8f86b553c586d4033504f | /sandbox/factory/factory_metrics.py | abb3cb2f34553b13d0e0d4696ef04c0988509187 | [] | no_license | akamlani/datascience | 4f1bab94a1af79b7f41339b5a1ba4acc965d4511 | 62f4d71f3642f89b4bbd55d7ef270321b983243e | refs/heads/master | 2021-01-17T10:11:11.069207 | 2016-12-29T04:33:49 | 2016-12-29T04:33:49 | 24,774,956 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 15,565 | py | from __future__ import division
import pandas as pd
import numpy as np
import argparse
import os
import re
import json
import sys
import warnings
from datetime import datetime
import matplotlib.pyplot as plt
import seaborn as sns
warnings.filterwarnings("ignore")
### Create Tabular Structure
def get_folder_at... | [
"akamlani@gmail.com"
] | akamlani@gmail.com |
bfb478f20e11de16e5810f8d08fa62eb3da131f8 | f48a3d354bf4bbbe3d47651dd77853c29934f1fe | /Code/Finance/Code/Udemy_AlgoTrading/51_max_dd_calmar.py | 0639e3adacef6a05456f219fb7c4fdc80ad8f7fa | [
"MIT"
] | permissive | guidefreitas/TeachingDataScience | 0677df459d5a13c00404b8b04cbe3b389dae3d8b | f3e0bc6e391348a8065b09855ab82c436f82a4b5 | refs/heads/master | 2023-09-03T14:02:11.853103 | 2021-11-07T03:56:54 | 2021-11-07T03:56:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,457 | py | # =============================================================================
# Measuring the performance of a buy and hold strategy - Max drawdown & calmar ratio
# Author : Mayank Rasu (http://rasuquant.com/wp/)
# Please report bug/issues in the Q&A section
# ========================================================... | [
"yogeshkulkarni@yahoo.com"
] | yogeshkulkarni@yahoo.com |
34c324f9bfe464ec5dec8508c846a30409c79e34 | 46c521a85f567c609f8a073cb9569ea59e2a104f | /kunalProgram23.py | bab9fcf53fa8ff6e595f560e1fd900d0d4fa40d5 | [] | no_license | Kunal352000/python_adv | c046b6b785b52eaaf8d089988d4dadf0a25fa8cb | d9736b6377ae2d486854f93906a6bf5bc4e45a98 | refs/heads/main | 2023-07-15T23:48:27.131948 | 2021-08-21T13:16:42 | 2021-08-21T13:16:42 | 398,557,910 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 174 | py | n=int(input("Enter number of rows: "))
for i in range(n):
print(" "*(n-1-i)+(str(i+1)+' ')*(i+1))
for i in range(n-1):
print(" "*(i+1)+(str(n-1-i)+' ')*(n-1-i))
| [
"noreply@github.com"
] | Kunal352000.noreply@github.com |
ae9c18ed187a23fb7121a34ca1422020e3f7ddb5 | 20343e8a8435b3f839d5abd0c4063cf735f43341 | /Experiment/CornerDetectAndAutoEmail/AveMaxMinDetect/test/test1.py | c4133dfbbcbb80c2cf4a4201fd7522e512561360 | [] | no_license | alading241/MoDeng | 948f2099e2f7e4548d6e477b6e06b833bdf4f9bb | 01819e58943d7d1a414714d64aa531c0e99dfe22 | refs/heads/master | 2021-05-23T11:39:41.326804 | 2020-04-05T06:06:01 | 2020-04-05T06:06:01 | 253,269,397 | 1 | 0 | null | 2020-04-05T15:38:33 | 2020-04-05T15:38:33 | null | UTF-8 | Python | false | false | 476 | py | # encoding = utf-8
import tornado
from apscheduler.schedulers.tornado import TornadoScheduler
sched = TornadoScheduler()
""" 测试向任务中传入参数 """
test = 'hello'
def job1(a, b, c):
print("job1:", a,b,c)
def job2(a, b, c):
print("job2:", a,b,c)
sched.add_job(job1, 'interval', seconds=1, args=["e", "t", "f"])
sch... | [
"1210055099@qq.com"
] | 1210055099@qq.com |
513143cc032bfe7bf0b443158e43a0ef5e19b9c4 | 68f757e7be32235c73e316888ee65a41c48ecd4e | /python_book(이것이 코딩테스트다)/13 DFS/6 감시피하기.py | 2ae13a528d691db24f99e98aa727d9f3e6b9279b | [] | no_license | leejongcheal/algorithm_python | b346fcdbe9b1fdee33f689477f983a63cf1557dc | f5d9bc468cab8de07b9853c97c3db983e6965d8f | refs/heads/master | 2022-03-05T20:16:21.437936 | 2022-03-03T01:28:36 | 2022-03-03T01:28:36 | 246,039,901 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,089 | py | def check(Map):
global N, T
steps = [(1,0),(-1,0),(0,1),(0,-1)]
for tx, ty in T:
for dx, dy in steps:
x, y = tx + dx, ty + dy
while 0 <= x < N and 0 <= y < N:
if Map[x][y] == "O":
break
if Map[x][y] == "S":
... | [
"aksndk123@naver.com"
] | aksndk123@naver.com |
4009361d3230b25bd783c8a62243914aa44d83e8 | dad6ba45f05d267f6c44bd27949868dc474476e6 | /CQT/Archive/withoutHead.py | b880268f61562e2aaff0d40889c0d47085412c3c | [] | no_license | morindaz/CQT_All | 1f36c5ef22348e2293d9f4f63e58009f0dd274b7 | 8ab6f82ad7b1cf3b4555fe785566013f5cb57a4f | refs/heads/master | 2021-04-27T00:11:17.744327 | 2018-03-04T07:19:06 | 2018-03-04T07:19:06 | 123,765,136 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 842 | py | # coding=utf-8
import time
import glob
import pandas as pd
#这里的C数据和R相反
answerR = "E:\\pingan\\dataset\\newFeature\\answer_C" #492个数据,withouthead
answerC = "E:\\pingan\\dataset\\newFeature\\answer_R" #244个数据
answerI = "E:\\pingan\\dataset\\newFeature\\answer_I" #478个数据
base = answerI
csvx_list = glob.glob(base+"\\"+'*.c... | [
"morindaz.mao@ucloud.cn"
] | morindaz.mao@ucloud.cn |
8845d190ae1c3cf32b9e4665e81304da16378cc6 | 56b7e5ed6941fc4b83148e00bd51421dc3ac993a | /hackerrank/Delete Nodes Greater Than X/Delete Nodes Greater Than X.py | 6c8ef8211533ee3666850ccdc29c91e09917498c | [] | no_license | samir-0711/Leetcode-Python | f960e15015a3f2fd88f723d7f9237945a7133553 | d75876ae96bcd85c67bbfbf91bbc0f0bc773e97c | refs/heads/master | 2022-12-18T05:27:48.224001 | 2020-09-30T21:03:42 | 2020-09-30T21:03:42 | 300,061,318 | 0 | 0 | null | 2020-09-30T20:59:42 | 2020-09-30T20:59:42 | null | UTF-8 | Python | false | false | 1,590 | py | '''
Complete the removeNodes function provided in your editor. It has 2 parameters:
1. list: A reference to a Linked List Node that is the head of a linked list.
2. x: An integer value.
Your funciton should remove all nodes from the list having data values greater than x, and then return the head of the modified link... | [
"weng8916@gmail.com"
] | weng8916@gmail.com |
59812772783380dd6340412af14255fc7cbb7fdc | 9745f847ff7606d423918fdf4c7135d930a48181 | /peering/migrations/0001_v1.0.0.py | 9217c861c8e8d871d51b04d9dca8ee224fa82471 | [
"Apache-2.0"
] | permissive | mxhob1/peering-manager | 097167707e499307632ffeaaba72b381a4290347 | 6c15aacdef5ed267d2602fb313eee8ee8a11149a | refs/heads/master | 2021-05-18T23:26:44.553331 | 2020-07-20T06:35:22 | 2020-07-20T06:35:22 | 252,051,461 | 1 | 0 | Apache-2.0 | 2020-04-02T06:18:48 | 2020-04-01T02:30:46 | Python | UTF-8 | Python | false | false | 48,334 | py | # Generated by Django 2.2.7 on 2019-11-13 20:51
import django.contrib.postgres.fields
from django.db import migrations, models
import django.db.models.deletion
import netfields.fields
import peering.fields
import taggit.managers
import utils.validators
class Migration(migrations.Migration):
def forward_transitio... | [
"guillaume@mazoyer.eu"
] | guillaume@mazoyer.eu |
2c72c0fd9afadc5369dafc83a72510e88f785872 | d70a16f353819ff858dbe6974916a936a85a3c0e | /api/migrations/0003_auto_20201217_1941.py | 60ba065342ebb9755ec4749f75c6cf4cc1ac6880 | [] | no_license | mahmud-sajib/FBuzz-Task | 7fa69a35d1dfe069ed48e2956d1eff16cf953c74 | a57bc031911fd7259c68890a953d9d8175246f73 | refs/heads/master | 2023-02-02T05:56:01.208849 | 2020-12-19T07:03:24 | 2020-12-19T07:03:24 | 321,357,770 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 467 | py | # Generated by Django 3.1 on 2020-12-17 13:41
import api.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0002_auto_20201217_1751'),
]
operations = [
migrations.AlterField(
model_name='cvfileupload',
... | [
"shout.mahmud@gmail.com"
] | shout.mahmud@gmail.com |
85f8207c1a52da4c91cfcc22bb76bd8dd60589aa | 40fa413a9ba362ab8cc2474269f83bb87847cda2 | /setup.py | a7a9aee54a8f3d08813d67be79e79b61855eaffc | [] | no_license | Peder2911/leanfeeder | c366563527c6e6b65cf46f8564596d1637337026 | f50ed3845aac21b6eed81eb1ef72c39175c87c8d | refs/heads/master | 2023-01-01T13:55:49.037014 | 2020-10-15T12:02:43 | 2020-10-15T12:02:43 | 301,992,715 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 765 | py |
import setuptools
with open("README.md") as f:
long_description=f.read()
setuptools.setup(
name = "leanfeeder",
version = "0.0.1",
author = "Peder G. Landsverk",
author_email = "pglandsverk@gmail.com",
description = "Tool for pushing data to a Postgres DB without too much ... | [
"pglandsverk@gmail.com"
] | pglandsverk@gmail.com |
18c298b110833ad5b1860e533427d320c882c52d | cca5ceb42b09e567d79fcb46f298757c1ff04447 | /ObjectOriented/DataStructure.py | 45fb0eea3cc51bded3a1c13868377b5c1980c3d7 | [] | no_license | NishantGhanate/PythonScripts | 92933237720e624a0f672729743a98557bea79d6 | 60b92984d21394002c0d3920bc448c698e0402ca | refs/heads/master | 2022-12-13T11:56:14.442286 | 2022-11-18T14:26:33 | 2022-11-18T14:26:33 | 132,910,530 | 25 | 15 | null | 2022-12-09T09:03:58 | 2018-05-10T14:18:33 | Python | UTF-8 | Python | false | false | 1,468 | py | class Que:
def __init__(self , contents):
self._hiddenlist = list(contents)
def push(self,value):
self._hiddenlist.insert(0 , value)
print(self._hiddenlist)
def pop(self):
if len(self._hiddenlist):
self._hiddenlist.pop(0)
print(self._hiddenlist)
... | [
"nishant7.ng@gmail.com"
] | nishant7.ng@gmail.com |
b24e0fde7456a79dbb630f1bb302c6eb6ffd15b7 | 14438f8c8bb4250a7fa8da0ecd40c5a4902bdfcd | /hunter/set-10/96.py | 2719ef730b5a7689a140c4b85bbfd134580da795 | [] | no_license | nikhilvarshney2/GUVI | c51b1fa3bd1026eb74fc536e938a14c2e92089b2 | 79717ae5b26540101169e512204fb7236f7c839f | refs/heads/master | 2020-04-01T00:40:27.699963 | 2019-04-30T13:46:46 | 2019-04-30T13:46:46 | 152,707,542 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 104 | py | def num(z):
if z<9:
return z
return 9 + 10*num(z-9)
z = int(input())
print(num(z))
| [
"nikhilvarshney9292@gmail.com"
] | nikhilvarshney9292@gmail.com |
0c7ca209f5437826a7c1527f09d0f27b55e5d412 | ac2f4c7caaf7ccc51ebcb2d88020fb4842b3f493 | /install.py | e20927c124212f7697dea81c1e707305db393903 | [] | no_license | vaikuntht/TAMU-Latex-Styles | 48b89291cb5b65348303cfee4bc8424a61b44adb | 8c1f096bbe3140eef6e14d001fa9d81905a28258 | refs/heads/master | 2021-01-18T00:04:04.722714 | 2014-07-31T18:49:42 | 2014-07-31T18:49:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,686 | py | #!/usr/bin/env python
import os, sys, getopt, argparse, fnmatch, errno, subprocess, tempfile, platform, getpass, pprint, shutil
from subprocess import call
#program name available through the %(prog)s command
#can use prog="" in the ArgumentParser constructor
#can use the type=int option to make the parameters integer... | [
"aperloff@physics.tamu.edu"
] | aperloff@physics.tamu.edu |
fb708659d8576b28acdb88c0439ca493e36c5884 | 30c524146ac7c240b3f69a856a12f9d971e2f294 | /setup.py | a7138c22975f00b0e0c89fc5a9121d3aa768c383 | [
"MIT"
] | permissive | undercertainty/ipython_magic_sqlalchemy_schemadisplay | 7da1400b4b9cff520b3e185345c204f14ccb512d | bc22060f3125736eecf2cc4d7972eca9715fc0c3 | refs/heads/master | 2021-10-10T07:00:04.925288 | 2019-01-07T23:01:31 | 2019-01-07T23:01:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 273 | py | from setuptools import setup
setup(name='schemadisplay-magic',
packages=['schemadisplay_magic'],
install_requires=['ipython-sql', 'sqlalchemy_schemadisplay', 'graphviz'],
dependency_links=['git+https://github.com/fschulze/sqlalchemy_schemadisplay.git']
) | [
"tony.hirst@gmail.com"
] | tony.hirst@gmail.com |
1b3d280c7403941d0bf096038fcd3c6fb955bb16 | c588305899ff4bc1d24c2bc213edce1c16621113 | /21/21_1.py | 02b5535cb8428832fa0ea9383dad49ac806703b3 | [] | no_license | nemesmarci/Advent-of-Code-2015 | fa2953916e67d6ad5b3218de1bc7418ff942ab6a | 53db8d0e0140f94a80d307b3cec3e065a235ba53 | refs/heads/master | 2021-12-31T14:08:52.640576 | 2020-01-10T18:13:59 | 2021-12-29T19:35:09 | 160,928,653 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 49 | py | from common import find_cost
print(find_cost())
| [
"nemes@sch.bme.hu"
] | nemes@sch.bme.hu |
f12ecdec195d21b07ddb86e45226d52b6dbaf079 | a5c2f4ada2fb4436784a785a5d598546d3b3284c | /Main/migrations/0001_initial.py | 305f99beddc1606764e5d5472f2e0f219b5ffacf | [] | no_license | sakibovi123/chat_applicationv1.0.1 | 1c5d25c1229434b4c6019fcf4dbabf53324d90df | 7b5db530e22743959df215347ff1e644cbbfb4e0 | refs/heads/master | 2023-07-13T22:22:02.295141 | 2021-08-28T07:35:27 | 2021-08-28T07:35:27 | 396,916,167 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 778 | py | # Generated by Django 3.2.6 on 2021-08-16 11:17
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | [
"sakibovi123@gmail.com"
] | sakibovi123@gmail.com |
1988f3bfa396617797d1effd273ed01d83a05ec9 | 92acb2bdfcdb594a7f98b24093f4711879e956ca | /dvaapp/admin.py | 7be6bf0aa9a7a506025392cfac7e62ea6530b6cf | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | cynwpu/DeepVideoAnalytics | e1f0b2e00a2671014bdcae99bf11c180bf35a30e | c95913a2967d6d17e71bb1b703f99c00c483bcdc | refs/heads/master | 2021-05-05T15:04:50.650488 | 2017-09-10T20:01:31 | 2017-09-10T20:01:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,361 | py | from django.contrib import admin
from .models import Video, Frame, TEvent, IndexEntries, QueryResults, DVAPQL, VDNServer,\
LOPQCodes, Region, Tube, Detector, Segment, DeletedVideo, \
VideoLabel, FrameLabel, RegionLabel, TubeLabel, SegmentLabel, Label, ManagementAction, \
StoredDVAPQL, Analyzer, Indexer, Ret... | [
"akshayubhat@gmail.com"
] | akshayubhat@gmail.com |
d526bcd601974fc1ebcbe80a5e2954a3412cb522 | 5d9932a1abeae21b8201368e5cf465680f106761 | /data_ccxt/probit.py | 330b5839012523f090ae27ca23e35c190244345b | [] | no_license | qqzhangjian789/text | 5dc6086e55d8a9494b889fa40cc9730da6bf5940 | 938be0df0a965aacf13cfb942548b8d2a1c7cec0 | refs/heads/master | 2023-05-04T11:38:47.178345 | 2021-05-21T17:44:13 | 2021-05-21T17:44:13 | 286,178,737 | 1 | 6 | null | null | null | null | UTF-8 | Python | false | false | 48,360 | py | # -*- coding: utf-8 -*-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
from data_ccxt.base.exchange import Exchange
import math
from data_ccxt.base.errors import ExchangeError
from data_ccxt.base.errors import ... | [
"qqzhangjian000@163.com"
] | qqzhangjian000@163.com |
8810e80afe9d5667581d1c646a07dad52c3242c2 | 131ccf66fb787e9b1f0773a25fa518d1f2a3c5d0 | /gui_programming/guimaker.py | f88dcbdb765fc650380d10a48a44bdb26e259768 | [] | no_license | jocogum10/learning-python-programming | a0ba62abde49fd79762bcb7ba4a94bf8126afa77 | 035858bd332e3970d95db8bce7b1175e450802db | refs/heads/master | 2020-07-07T17:08:00.743196 | 2019-12-13T05:32:47 | 2019-12-13T05:32:47 | 203,416,201 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,637 | py | """
################################################################################
An extended Frame that makes window menus and toolbars automatically.
Use GuiMakerMenu for embedded components (makes frame-based menus).
Use GuiMakerWindowMenu for top-level windows (makes Tk8.0 window menus).
See the self-test code (... | [
"jocogum10@gmail.com"
] | jocogum10@gmail.com |
347f8b54dfb2cd1482e50fb225597255d806a74b | a2d36e471988e0fae32e9a9d559204ebb065ab7f | /huaweicloud-sdk-elb/huaweicloudsdkelb/v3/model/list_load_balancers_request.py | 65c6fc83e8a69f5da83a58da3b5a9f60ed29c66c | [
"Apache-2.0"
] | permissive | zhouxy666/huaweicloud-sdk-python-v3 | 4d878a90b8e003875fc803a61414788e5e4c2c34 | cc6f10a53205be4cb111d3ecfef8135ea804fa15 | refs/heads/master | 2023-09-02T07:41:12.605394 | 2021-11-12T03:20:11 | 2021-11-12T03:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 31,415 | py | # coding: utf-8
import re
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class ListLoadBalancersRequest:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): T... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
01593c9ffc95662e33bc80059daecc2592dd829f | 08e26af5604fda61846c421d739c82ea0bd17271 | /product_account_purchase_sale/account_invoice.py | c25db1448d9f73d91fe3eab11331df7acb6e59cc | [] | no_license | germanponce/nishikawa_addons | 376342d6d45250eec85443abf4eb4f760256de85 | 765dd185272407175fbc14a8f4d702bf6e5e759d | refs/heads/master | 2021-01-25T04:09:07.391100 | 2014-07-14T14:57:21 | 2014-07-14T14:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,410 | py | # -*- encoding: utf-8 -*-
###########################################################################
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2010 moylop260 - http://www.hesatecnica.com.com/
# All Rights Reserved.
# info skype: german_442 email: (german.ponce@hesatecnic... | [
"german_442@hotmail.com"
] | german_442@hotmail.com |
30563f1f0d1d655fea8cc0dad2b55e5530bab2b8 | f9d564f1aa83eca45872dab7fbaa26dd48210d08 | /huaweicloud-sdk-cph/huaweicloudsdkcph/v1/model/list_resource_instances_request.py | 0823fdc434041d9670e7c3631928d7a2eaaf42b5 | [
"Apache-2.0"
] | permissive | huaweicloud/huaweicloud-sdk-python-v3 | cde6d849ce5b1de05ac5ebfd6153f27803837d84 | f69344c1dadb79067746ddf9bfde4bddc18d5ecf | refs/heads/master | 2023-09-01T19:29:43.013318 | 2023-08-31T08:28:59 | 2023-08-31T08:28:59 | 262,207,814 | 103 | 44 | NOASSERTION | 2023-06-22T14:50:48 | 2020-05-08T02:28:43 | Python | UTF-8 | Python | false | false | 4,217 | py | # coding: utf-8
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class ListResourceInstancesRequest:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
056124ade6036e7d9c1b4817404a25f132abcf7f | ecba842cc189499da2c98248e92a458dbcc0dc67 | /apps/website/privacy/urls.py | 59aa42a56262eec8c222c517c823f3eb3f7c6516 | [] | no_license | aquaristar/hhlearn | c23e94ab93221419db74409f44d8310244212190 | ec409b7886bacb33cd3f5c3a724243a30158cd54 | refs/heads/master | 2023-03-10T15:46:39.740438 | 2019-11-16T19:19:02 | 2019-11-16T19:19:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 202 | py | from django.conf.urls import patterns, include, url
urlpatterns = patterns('apps.website.privacy.views',
url(r'^privacy/$', 'privacy', name='privacy'),
) | [
"aquaristar@gmail.com"
] | aquaristar@gmail.com |
a578e9df112d8212f39e3e751254ec4e1957cceb | 99b062cb9f5f3ff10c9f1fa00e43f6e8151a43a6 | /algorithm/day21/순열2.py | 0a6081a5a78fa25bfd7c44e27f558a5b94a4ee49 | [] | no_license | HSx3/TIL | 92acc90758015c2e31660617bd927f7f100f5f64 | 981c9aaaf09c930d980205f68a28f2fc8006efcb | refs/heads/master | 2020-04-11T21:13:36.239246 | 2019-05-08T08:18:03 | 2019-05-08T08:18:03 | 162,099,042 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 302 | py | def myprint(n):
for i in range(n):
print("%d" % (a[i]), end=' ')
print()
def perm(n, k):
if n == k:
myprint(n)
else:
for i in range(k, n):
a[i], a[k] = a[k], a[i]
perm(n, k+1)
a[i], a[k] = a[k], a[i]
a = [1, 2, 3]
perm(3, 0) | [
"hs.ssafy@gmail.com"
] | hs.ssafy@gmail.com |
77943a4d3e4d1148d94b9ad235dc96195e234ab2 | 0e478f3d8b6c323c093455428c9094c45de13bac | /src/OTLMOW/OTLModel/Datatypes/KlVerkeersregelaarVoltage.py | 34ad4ce0c129e30a204bef55ade1b07e3f23d16f | [
"MIT"
] | permissive | davidvlaminck/OTLMOW | c6eae90b2cab8a741271002cde454427ca8b75ba | 48f8c357c475da1d2a1bc7820556843d4b37838d | refs/heads/main | 2023-01-12T05:08:40.442734 | 2023-01-10T15:26:39 | 2023-01-10T15:26:39 | 432,681,113 | 3 | 1 | MIT | 2022-06-20T20:36:00 | 2021-11-28T10:28:24 | Python | UTF-8 | Python | false | false | 1,838 | py | # coding=utf-8
import random
from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField
from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde
# Generated with OTLEnumerationCreator. To modify: extend, do not edit
class KlVerkeersregelaarVoltage(KeuzelijstField):
"""Keuzelijst met de v... | [
"david.vlaminck@mow.vlaanderen.be"
] | david.vlaminck@mow.vlaanderen.be |
6177c3e5145dab0ebb77f902ac0a558478083544 | 1ee2cd179e9eb2ec7541dec5b14ce993624181b8 | /openrasp_iast/plugin/scanner/directory_basic.py | 4883ffe987a3f1031767825e28eed46ad47c6f17 | [
"Apache-2.0"
] | permissive | Ze4lfRoG/openrasp-iast | 0c8492d5c9fbe0c5b3d994f8aa703628361dd405 | 0fd4cdaae642a759cffe214de51c392b75aa828e | refs/heads/master | 2020-10-01T09:05:36.359241 | 2019-12-11T12:06:43 | 2019-12-11T12:06:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,299 | py | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
"""
Copyright 2017-2019 Baidu Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by... | [
"350905402@qq.com"
] | 350905402@qq.com |
cad384be9aede5c74227c0ca4d556d1ada8cbe9a | 772e04b18f36fe1bffb05c16ef4eff3ba765fd13 | /gcnvisualizer/test/test_visualizer.py | 853d514babfbb1580b6492b0b4ad3a106332f9ae | [
"LicenseRef-scancode-other-permissive"
] | permissive | clinfo/kGCN | 3c74f552dd9d71d470a3173012b01733a1262688 | 32328d5a41e6ed7491b3edb705ff94658fc95d3f | refs/heads/master | 2023-08-16T19:43:17.149381 | 2023-08-03T00:08:11 | 2023-08-03T00:08:11 | 194,075,235 | 110 | 38 | NOASSERTION | 2022-02-04T17:09:55 | 2019-06-27T10:31:57 | Python | UTF-8 | Python | false | false | 503 | py | import unittest
import numpy as np
import pytest
from gcnvisualizer import GCNVisualizer
def test_load_normal_pickle_file(multi_modal_profeat):
for filename in multi_modal_profeat:
g = GCNVisualizer(filename, loglevel='ERROR')
assert ['smiles', 'feature',
'adjacency', 'check_scor... | [
"kojima.ryosuke.8e@kyoto-u.ac.jp"
] | kojima.ryosuke.8e@kyoto-u.ac.jp |
ca837dfcbf930d6469d02412264df601a0216855 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_347/ch1_2020_03_11_20_09_49_458556.py | a589fa5640321f7bdfd640839fc404d8e838e5a3 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 69 | py | def calcula_valor_devido (c, t, i):
M = c*((1+i)**t)
return M | [
"you@example.com"
] | you@example.com |
4941f9ebcf4458f99db5d63c738817d92fa69967 | 5e557741c8867bca4c4bcf2d5e67409211d059a3 | /.circleci/cimodel/data/pytorch_build_data.py | e2172b660e3114b5e40a445762f40a2702cc4f22 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | Pandinosaurus/pytorch | a2bb724cfc548f0f2278b5af2fd8b1d2758adb76 | bb8978f605e203fbb780f03010fefbece35ac51c | refs/heads/master | 2023-05-02T20:07:23.577610 | 2021-11-05T14:01:30 | 2021-11-05T14:04:40 | 119,666,381 | 2 | 0 | NOASSERTION | 2021-11-05T19:55:56 | 2018-01-31T09:37:34 | C++ | UTF-8 | Python | false | false | 9,147 | py | from cimodel.lib.conf_tree import ConfigNode, X, XImportant
CONFIG_TREE_DATA = [
("xenial", [
("gcc", [
("5.4", [ # All this subtree rebases to master and then build
("3.6", [
("important", [X(True)]),
]),
]),
# TODO:... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
182933ad1e32acc47eb2cfc12c855e4c86b85ade | e116a28a8e4d07bb4de1812fde957a38155eb6df | /polar_test2.py | 0ee481b4a0480d2965c11c666d56aaca4fe2291a | [] | no_license | gl-coding/EasyPyEcharts | 5582ddf6be3158f13663778c1038767a87756216 | f9dbe8ad7389a6e2629643c9b7af7b9dc3bfccd5 | refs/heads/master | 2020-09-29T20:48:46.260306 | 2019-12-10T12:52:24 | 2019-12-10T12:52:24 | 227,119,587 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 500 | py | #encoding=utf-8
from pyecharts import Polar
radius =['周一', '周二', '周三', '周四', '周五', '周六', '周日']
polar =Polar("极坐标系-堆叠柱状图示例", width=1200, height=600)
polar.add("", [1, 2, 3, 4, 3, 5, 1], radius_data=radius, type='barAngle', is_stack=True)
polar.add("", [2, 4, 6, 1, 2, 3, 1], radius_data=radius, type='barAngle', is_stack=... | [
"1451607278@qq.com"
] | 1451607278@qq.com |
bae46eca925d4eec064cfa40ac5ad479eccddd16 | 6a01a9287a4c23c7f11b7c5399cfb96bbe42eba8 | /python/scripts/get_nearest_k_features.py | 068a702adc3492255203e07630813f3fd49b6ade | [
"MIT"
] | permissive | xguse/gmm-to-gff-transcripts-vs-snps | 3c25bf2752aee76174d5dab92060fe7269caf99f | 75337135ab8ff6d840af3cfccfe6404a06777a54 | refs/heads/master | 2021-01-19T01:50:33.473897 | 2016-08-02T20:31:18 | 2016-08-02T20:31:18 | 54,731,430 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,943 | py | """For each SNP file, produce a bed representing the nearest k gene or mapped transcript features and its distance from the SNP."""
import pybedtools as pbt
import pandas as pd
k_number = snakemake.params.k_number
snp_beds = snakemake.input.snp_beds
gene_model_subtracted = snakemake.input.gene_model_subtracted
gene_... | [
"wadunn83@gmail.com"
] | wadunn83@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.