blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
4ae1ad21b6595e4c39a070d0a503aa110afb1699
ef80f50dcd8139754daa8049a7625d5d83f4c9bc
/src/python/dxl/function/qlambda.py
8f9e3bc610e0d7571da566c4c9329d24d73122eb
[ "Apache-2.0" ]
permissive
Hong-Xiang/dxfunction
4db2693a4818d3d7019518e242f0d013600c757a
d12b26453959c0b163175e78b8c593ac9b854133
refs/heads/master
2020-03-22T11:55:14.895089
2018-08-17T08:31:06
2018-08-17T08:31:06
140,004,555
1
0
Apache-2.0
2018-07-30T07:22:39
2018-07-06T15:57:44
Python
UTF-8
Python
false
false
701
py
from dxl.data import Function from .base import identity __all__ = ['x'] class QuickLambda(Function): def __eq__(self, v): return QuickLambda(lambda x: self.__call__(x) == v) def __getattr__(self, *args, **kwargs): return QuickLambda(lambda x: getattr(self.__call__(x), *args, **kwargs)) ...
[ "hx.hongxiang@gmail.com" ]
hx.hongxiang@gmail.com
3b6b5fd21fc438a6a6c9b24df404072d992c1855
650ac1c6e86d8a07a0536c8066f04e2bdd96fdf6
/tests/parser/functions/test_default_function.py
b91e6c033661d3875f94819cbe1f45689d180608
[ "MIT" ]
permissive
griffind/vyper
71e12426aff3e92de08a47166f7abb6c1f53991e
1dd7d1f63face0eae1a965fb02dcbfdc9a26e3b9
refs/heads/master
2020-03-22T21:10:35.636914
2018-07-11T18:00:34
2018-07-11T18:00:34
140,663,273
0
0
MIT
2018-07-12T05:02:54
2018-07-12T05:02:54
null
UTF-8
Python
false
false
1,963
py
def test_throw_on_sending(w3, assert_tx_failed, get_contract_with_gas_estimation): code = """ x: public(int128) @public def __init__(): self.x = 123 """ c = get_contract_with_gas_estimation(code) assert c.x() == 123 assert w3.eth.getBalance(c.address) == 0 assert_tx_failed(lambda: w3.eth....
[ "jacques@dilectum.co.za" ]
jacques@dilectum.co.za
4883f437c4aee7cab8033d2b08e2385bb2bdd4ca
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/111/usersdata/197/63855/submittedfiles/av2_p3_m2.py
41d3ec8899e55808a1277ff95ab57889e3544eaa
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# -*- coding: utf-8 -*- import numpy as np n=int(input('Digite o numero de linhas e colunas:')) a=np.zeros((n,n)) for i in range (0,a.shape[0],1): for j in range (0,a.shape[1],1): a[i,j]=int(input('Digite o valor de um numero da matriz:')) def somalinha(b): soma=0 lista=[] for i in range (0,b.s...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2c24eb31e81cf54c6434ddbcf62d96d6ed95e92b
70f5f279e051360310f95be895320d8fa6cd8d93
/extraPackages/matplotlib-3.0.2/examples/axes_grid1/simple_axisline4.py
91b76cf3e95678587c72ce7e196302182df033f5
[ "BSD-3-Clause" ]
permissive
spacetime314/python3_ios
4b16ab3e81c31213b3db1e1eb00230621b0a7dc8
e149f1bc2e50046c8810f83dae7739a8dea939ee
refs/heads/master
2020-05-09T20:39:14.980041
2019-04-08T15:07:53
2019-04-08T15:07:53
181,415,024
2
0
BSD-3-Clause
2019-04-15T05:00:14
2019-04-15T05:00:12
null
UTF-8
Python
false
false
601
py
""" ================ Simple Axisline4 ================ """ import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import host_subplot import numpy as np ax = host_subplot(111) xx = np.arange(0, 2*np.pi, 0.01) ax.plot(xx, np.sin(xx)) ax2 = ax.twin() # ax2 is responsible for "top" axis and "right" axis ax2.set_...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
a89db7d930c80d0aa3e98453c6e2dbdc6e7958dc
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python-flask/generated/openapi_server/models/com_day_cq_wcm_scripting_impl_bvp_manager_properties.py
227ecb9ebc7b2c86c97f73b34ad77b6d5a907a79
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
2,958
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from openapi_server.models.base_model_ import Model from openapi_server.models.config_node_property_array import ConfigNodePropertyArray # noqa: F401,E501 from openapi...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
4579d83d688efb731d165c2fb03eb50f4f93e9b5
6970f0edbea36c9ba9f77db1ff5335b4ff1d27a5
/Question16.py
ce693b825c56616f940fcbe9b790a55be9eb4f55
[]
no_license
PrakharKopergaonkar/LeetCode-June-Challenge
2f95eb87f074354cda434a01b4322140046056c7
9d9077e2550a46f5e3dc0476145abf74f18804b9
refs/heads/master
2022-11-11T20:40:22.385018
2020-06-30T11:46:19
2020-06-30T11:46:19
268,437,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
#Question 16: Validate IP Address class Solution: def validIPAddress(self, IP: str) -> str: if("." in IP): ipv4 = IP.split(".") if(len(ipv4)!=4): return "Neither" for i in ipv4: try: if(len(i)==0 ): ...
[ "pkopergaonkar@gmail.com" ]
pkopergaonkar@gmail.com
d325d9b1edabf3a4b71ac6595f98232455385bd5
ed79815a57eff597575d60649ac01fcf869ab17b
/src/lightning_app/core/constants.py
6882598cab223babd7e2b01250ab7751b10e30ae
[ "Apache-2.0" ]
permissive
jeremyjordan/pytorch-lightning
9a29f6d981de19d31e9a9be2d6ac2f05af849e7c
c4ddc068c90d9913b0de97a01446bf287710526c
refs/heads/master
2023-01-11T07:47:38.047772
2023-01-03T22:07:52
2023-01-03T22:07:52
228,071,400
0
0
null
2019-12-14T18:40:15
2019-12-14T18:40:15
null
UTF-8
Python
false
false
3,761
py
import os from pathlib import Path from typing import Optional import lightning_cloud.env from lightning_app.utilities.port import _find_lit_app_port def get_lightning_cloud_url() -> str: # DO NOT CHANGE! return os.getenv("LIGHTNING_CLOUD_URL", "https://lightning.ai") SUPPORTED_PRIMITIVE_TYPES = (type(Non...
[ "noreply@github.com" ]
jeremyjordan.noreply@github.com
0203ab2c728395ab43a8858d7ffce645e9707c25
b7e52aeabebf7448e31723d406755809cac63099
/source/grid_CM/SConstruct
892eff24f21e6e80d598c22455af1f461dcc44ee
[ "BSD-3-Clause" ]
permissive
bucricket/projectMASviirs
df31af86e024499ff87d2c2b707e3b9d24813f7c
705abc89505122351f0ef78e0edb950b7e3b7f48
refs/heads/master
2021-01-01T18:31:16.748864
2018-05-30T15:14:07
2018-05-30T15:14:07
98,354,619
0
1
null
null
null
null
UTF-8
Python
false
false
1,177
#!python import os import platform import subprocess AddOption('--prefix', dest='prefix', type='string', nargs=1, action='store', metavar='DIR', help='installation prefix') env = Environment(PREFIX = GetOption('prefix')) prefix = os.environ.get('PREFIX') ba...
[ "bucricket@gmail.com" ]
bucricket@gmail.com
272b83cdcad7c074e2f07da09755ec60b9d52810
49e3663fea29ae7fabec581ebae1fda5361effcd
/accounts/urls.py
f12a9c88575ec2d7026f8a383e090da6e8939f7d
[]
no_license
ikonitas/old_causenaffect
8fdabdc3108efa16046f6bdfa542f71d58a4e6eb
145f7ae82d02e39bda17aad380dac0f190f1882c
refs/heads/master
2021-05-28T08:46:49.663299
2014-02-17T21:42:36
2014-02-17T21:42:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from django.conf.urls.defaults import patterns, include, url urlpatterns = patterns('', url(r'^login/$','accounts.views.mine_login',{'template_name':'accounts/login.html'},name="login"), url(r'^logout/$','accounts.views.logout_view', name="auth_logout"), url(r'^register/$','accounts.views.register',name="...
[ "ikonitas@gmail.com" ]
ikonitas@gmail.com
c6de19bbba3fcb34a773fb67a7063eddcad1eadd
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/framework/store/db/PackedDatabase.pyi
0a36192ecae8f0ad6e5fcb950a72631b28d642a6
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
6,632
pyi
import db import db.buffers import generic.jar import ghidra.framework.store.db import ghidra.util.task import java.io import java.lang class PackedDatabase(db.Database): """ PackedDatabase provides a packed form of Database which compresses a single version into a file. When opening a packed datab...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
d9359c471400c6cd070d551f11de720256d788d1
203fd0a2a91ee063736d11b069e11026c4184ec5
/tools/test_files/all_17_or_less/cuccaroMultiplier_1b.py
d685ab8e566f9bf3cb9f2e768a48a6df11b46216
[ "Apache-2.0" ]
permissive
Astlaan/OpenQL
19b35200775367e6f11d1756e9495c1883a1c531
1b60d5784d439e6c19e662b570114aa1b3045d38
refs/heads/develop
2020-09-01T02:56:37.906564
2019-11-15T15:43:55
2019-11-15T15:43:55
181,012,110
0
0
NOASSERTION
2019-04-12T13:18:51
2019-04-12T13:18:51
null
UTF-8
Python
false
false
3,349
py
from openql import openql as ql import os import argparse def circuit(config_file, new_scheduler='yes', scheduler='ASAP', uniform_sched= 'no', sched_commute = 'yes', mapper='base', moves='no', maptiebreak='random', initial_placement='no', output_dir_name='test_output', optimize='no', measurement=True, log_level='LOG_W...
[ "diogovalada.7@tecnico.ulisboa.pt" ]
diogovalada.7@tecnico.ulisboa.pt
5cf10b27b7c61c8f1932bda943bbe58d6874009b
24d096347f61aafe0b7f9294b6b6cfd66931ee06
/classy_vision/dataset/classy_kinetics400.py
579e316e6322e428eb0ec9b8cec9371867b54553
[ "MIT" ]
permissive
miguelvr/ClassyVision
259ee08e59761b33400d06eff383432bad93a34a
38a59270e16fda83e160c5888b96c777cb78757b
refs/heads/master
2020-12-11T10:32:10.725070
2020-01-14T01:39:26
2020-01-14T01:40:46
233,824,620
0
0
MIT
2020-01-14T11:18:59
2020-01-14T11:18:58
null
UTF-8
Python
false
false
6,536
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from typing import Any, Callable, Dict, List, Optional import torch from torchvision.datasets.kinetics impor...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1a537ebe3356dce30f9c7ae18c3f56db7dcad104
bc441bb06b8948288f110af63feda4e798f30225
/ucpro_sdk/model/resource_manage/filter_condition_group_pb2.py
7239f832bbc11b6d43ad8d143ba923245160ff23
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
3,242
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: filter_condition_group.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goog...
[ "service@easyops.cn" ]
service@easyops.cn
d4203dfd3e932c41f7a84b25c66eb08de195f7d9
043cfa8990dafcbcaa354c6ae7eade01ae2aab71
/Configuration/python/bbgun_BjetToMu_endcap_pos_pythia8_cfi.py
899d0083eeeb374632ab7687dabf2b02a2a65158
[]
no_license
l-cadamuro/SampleGeneration
cdacfc793c617c2ec5f886a6295d3ed0fb1dc932
fd9398577a0ef721a5d9846b27862791149435b1
refs/heads/master
2021-10-25T23:47:49.833650
2019-04-08T12:15:01
2019-04-08T12:15:01
124,481,043
0
3
null
null
null
null
UTF-8
Python
false
false
1,409
py
import FWCore.ParameterSet.Config as cms generator = cms.EDFilter("Pythia8PtGun", PGunParameters = cms.PSet( MaxPt = cms.double(500.0), MinPt = cms.double(15.0), ParticleID = cms.vint32(5), AddAntiParticle = cms.bool(True), MaxEta = cms.double(2.7), ...
[ "lc.cadamuro@gmail.com" ]
lc.cadamuro@gmail.com
7ba1dbf8fa85e3dd499cf519e143c1de311c58c3
b8c4ef9ccab22717ab97ab2fb100614d962a5820
/src/test/python/com/skalicky/python/interviewpuzzles/test_find_longest_palindromic_substring.py
b8edfd26cea5ff84601d0561cf850307c6c2ae73
[]
no_license
Sandeep8447/interview_puzzles
1d6c8e05f106c8d5c4c412a9f304cb118fcc90f4
a3c1158fe70ed239f8548ace8d1443a431b644c8
refs/heads/master
2023-09-02T21:39:32.747747
2021-10-30T11:56:57
2021-10-30T11:56:57
422,867,683
0
0
null
2021-10-30T11:56:58
2021-10-30T11:55:17
null
UTF-8
Python
false
false
1,327
py
from unittest import TestCase from src.main.python.com.skalicky.python.interviewpuzzles.find_longest_palindromic_substring import Solution class TestSolution(TestCase): def test_find_longest_palindromic_substring__when_input_string_is_tracecars__then_result_is_racecar(self): self.assertEqual('racecar', S...
[ "skalicky.tomas@gmail.com" ]
skalicky.tomas@gmail.com
d823f6c27a4692da6243b17732c3ae4ceb1d6125
3520f9f1b6d804a6d95233493972bf04dca67fb4
/revisited/trees/symmetric_tree.py
0d23c95372faee070efd7a74c51ffa4ae9981773
[]
no_license
Shiv2157k/leet_code
8691a470148809f0a7077434abdc689f33958f34
65cc78b5afa0db064f9fe8f06597e3e120f7363d
refs/heads/master
2023-06-17T02:59:20.892561
2021-07-05T16:42:58
2021-07-05T16:42:58
266,856,709
1
0
null
null
null
null
UTF-8
Python
false
false
1,789
py
from collections import deque class TreeNode: def __init__(self, val: int, left: int=None, right: int=None): self.val = val self.left = left self.right = right class BinaryTree: def is_symmetric(self, root: "TreeNode") -> bool: """ Approach: Iterative Time C...
[ "shiv2157.k@gmail.com" ]
shiv2157.k@gmail.com
b9dd31434efc8e2b06e84c2a097fd470a7039907
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02580/s938069625.py
0db1858a0ef2df75e1167078f1c074c1a4e0a062
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import itertools H, W, M = map(int, input().split()) Bh = [0]*(H+1) Bw = [0]*(W+1) OD = set() for _ in range(M): h, w = map(int, input().split()) Bh[h] += 1 Bw[w] += 1 OD.add((h, w)) M1 = max(Bh) M2 = max(Bw) l1 = [i for i, x in enumerate(Bh) if x == M1] l2 = [j for j, x in enumerate(Bw) if x == M2] f...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
550074286e8d07c9b0bbaa2def65185b632ab6e6
15ce00a910f5404f1ab3d6eb59334c26c5708748
/object-oriented/inherit.py
8e78555191bc03a4e65c6632fd522bdc7d419f78
[]
no_license
calazans10/algorithms.py
3307be25920428b33e784229c2aa727ac4225423
b8b0495fe34645b45aa5366416c1f80d87d18a3b
refs/heads/master
2020-05-17T13:27:58.481732
2013-07-21T13:31:39
2013-07-21T13:31:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
# -*- coding: utf-8 -*- class SchoolMember: '''Representa qualquer membro da escola.''' def __init__(self, name, age): self.name = name self.age = age print('(Iniciando SchoolMember: {0})'.format(self.name)) def tell(self): '''Imprime os detalhes desta instância.''' ...
[ "calazans10@gmail.com" ]
calazans10@gmail.com
426d18ad42e680edb98475f9aff3c79cc1bfd48e
1058f1d8afd0d02ef75b9adbd9d158439dbc353c
/runner.py
581b6074e840996376b70498f1c60f8ee066ecae
[]
no_license
himanshu3006/IVTREE_Demo
0bba36faa56648de80033bf1d8ba8bc18d6bd1c9
912622ef5ba2e1dce1aa41439e5706491416b4c9
refs/heads/master
2020-03-11T02:31:01.098767
2018-04-16T09:52:47
2018-04-16T09:52:47
129,721,213
0
0
null
null
null
null
UTF-8
Python
false
false
5,138
py
# Copyright 2017-2018 WiZR # # Licensed under the 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 # # # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distr...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c0024ee559ed21dc3009191dae2a7c697e60c2c0
0be6be303a683a7448b72a391a80b318cae5e6d0
/myapp/migrations/0028_auto_20200107_1128.py
950aa3a6e609ffb1bcfee363e0e9f5062e12085a
[]
no_license
baljindersaini06/login-social
19513ee4f830a28ddd56f23b1704b400393e8204
35f232797f77814999b9d4eb2666ee21f404d367
refs/heads/master
2022-12-17T14:56:14.511665
2020-03-11T12:32:47
2020-03-11T12:32:47
226,084,576
1
0
null
2020-02-07T11:44:19
2019-12-05T11:18:01
JavaScript
UTF-8
Python
false
false
403
py
# Generated by Django 2.2.6 on 2020-01-07 11:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0027_auto_20200107_1125'), ] operations = [ migrations.AlterField( model_name='location', name='company_id'...
[ "nishtha0995@gmail.com" ]
nishtha0995@gmail.com
9b5a2cf580aa52c8586080958104672518d40cb4
db053c220094368ecb784fbe62375378c97457c2
/18.4sum.py
a7036e5b23f5052b138291e443703c914581eac2
[]
no_license
thegamingcoder/leetcode
8c16e7ac9bda3e34ba15955671a91ad072e87d94
131facec0a0c70d319982e78e772ed1cb94bc461
refs/heads/master
2020-03-22T14:51:45.246495
2018-07-09T00:00:06
2018-07-09T00:00:06
140,211,147
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
# # [18] 4Sum # # https://leetcode.com/problems/4sum/description/ # # algorithms # Medium (27.92%) # Total Accepted: 165.5K # Total Submissions: 592.9K # Testcase Example: '[1,0,-1,0,-2,2]\n0' # # Given an array nums of n integers and an integer target, are there elements # a, b, c, and d in nums such that a + b + ...
[ "sharanbale@yahoo-inc.com" ]
sharanbale@yahoo-inc.com
20c3b36779ace815dd0b3609d41b4e92282b1c15
0a1e855a1aec7f85f2eedd3a2a6770e9c4729bdb
/nmt/loader/__init__.py
3fa6d6e5854e8292e89825936c7f716a8b0d84e5
[]
no_license
bkj/attn2d_fork
c6a5520e56d708375a17c80ba2b72a8754dbf740
4f22a92d03f718cf5a449605c473bc03131016fc
refs/heads/master
2020-03-27T17:11:14.640884
2018-08-29T00:07:19
2018-08-29T00:07:19
146,833,893
1
1
null
null
null
null
UTF-8
Python
false
false
1,643
py
from .dataloader import textDataLoader from .split_dataloader import SplitLoader def ReadData(params, job_name): ddir = params['dir'] src = params['src'] trg = params['trg'] dataparams = {'h5': "%s/%s.%s" % (ddir, src, "h5"), 'infos': "%s/%s.%s" % (ddir, src, "infos"), ...
[ "maha.elbayad@gmail.com" ]
maha.elbayad@gmail.com
a259298c4f1703ea8c23a835b807fd6637d88242
a857d1911a118b8aa62ffeaa8f154c8325cdc939
/toontown/coghq/DistributedHealBarrelAI.py
2b1c01a5eab98c8124fafbc194f62954b6a814a9
[ "MIT" ]
permissive
DioExtreme/TT-CL-Edition
761d3463c829ec51f6bd2818a28b667c670c44b6
6b85ca8352a57e11f89337e1c381754d45af02ea
refs/heads/main
2023-06-01T16:37:49.924935
2021-06-24T02:25:22
2021-06-24T02:25:22
379,310,849
0
0
MIT
2021-06-22T15:07:31
2021-06-22T15:07:30
null
UTF-8
Python
false
false
568
py
import DistributedBarrelBaseAI from direct.directnotify import DirectNotifyGlobal from direct.task import Task class DistributedHealBarrelAI(DistributedBarrelBaseAI.DistributedBarrelBaseAI): def __init__(self, level, entId): x = y = z = h = 0 DistributedBarrelBaseAI.DistributedBarrelBaseAI.__init_...
[ "devinhall4@gmail.com" ]
devinhall4@gmail.com
20e50ce3aa4fb3fe4fd8bcecc0b39cc8376380f8
ca66a4283c5137f835377c3ed9a37128fcaed037
/Lib/site-packages/pandas/tests/indexing/multiindex/test_multiindex.py
2887ed5275740095ce1de82ad4fa39a554230cf9
[]
no_license
NamithaKonda09/majorProject
f377f7a77d40939a659a3e59f5f1b771d88889ad
4eff4ff18fa828c6278b00244ff2e66522e0cd51
refs/heads/master
2023-06-04T20:25:38.450271
2021-06-24T19:03:46
2021-06-24T19:03:46
370,240,034
0
0
null
null
null
null
UTF-8
Python
false
false
3,031
py
import numpy as np import pytest import pandas._libs.index as _index from pandas.errors import PerformanceWarning import pandas as pd from pandas import DataFrame, Index, MultiIndex, Series from pandas.util import testing as tm class TestMultiIndexBasic(object): def test_multiindex_perf_warn(sel...
[ "namithakonda09@gmail.com" ]
namithakonda09@gmail.com
f5f6c26fb232ac3a3844b104e870e39ffc21f5c6
4c187f0f9d244e89facdddc1581bcef33e092a93
/benchmarks/RevLib/4gt4-v0_80.py
176d543a2d3493c9d36bac182920d5743b9a6430
[]
no_license
Gonaco/Super-Qool-Benchmarks
419dea5306bcec7e502034527acffe371a4e8004
a630f3dd6f22bebd4ce7601a772fd3a8cd3dd08c
refs/heads/master
2021-01-25T13:40:57.523633
2018-04-03T09:31:56
2018-04-03T09:31:56
123,600,859
2
1
null
null
null
null
UTF-8
Python
false
false
3,599
py
from openql import openql as ql import os import numpy as np curdir = os.path.dirname(__file__) output_dir = os.path.join(curdir, 'test_output') ql.set_output_dir(output_dir) config_fn = os.path.join(curdir, '/home/daniel/Master/Quantum_Computing_and_Quantum_Information/OpenQL/tests/hardware_config_cc_light.json') plat...
[ "danielmoremanza@gmail.com" ]
danielmoremanza@gmail.com
977a606e80beed44b40a02e5cf61d426b4f9fb0a
9e0099592b617fb9bdad4d0cb3c2ea454c21a712
/web/impl/lxml_components.py
7e92d031ed97fbbdf5987d36f10c7113673584dd
[ "MIT" ]
permissive
gabrielcnr/enaml-web
0aafd3118beab8cd49bf1a8535792ef21ca52527
ad741d546cc5971540647a05bf53826a8d2887c1
refs/heads/master
2021-06-24T03:14:31.554078
2017-09-04T05:44:50
2017-09-04T05:44:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
''' Copyright (c) 2017, Jairus Martin. Distributed under the terms of the MIT License. The full license is in the file COPYING.txt, distributed with this software. Created on Apr 12, 2017 @author: jrm ''' import inspect from web.components import html def generic_factory(): from .lxml_toolkit_object import We...
[ "frmdstryr@gmail.com" ]
frmdstryr@gmail.com
8bb64c4cb3d29bfca57ad52e072d0b32d6eeee0f
6e0666ac38280b5409c4917d3bbc6a101365f164
/students_base/migrations/0022_job_expiry_date.py
95d91799cb0366d322312a53af1b37bb54d9b222
[]
no_license
wolf553055/practice
e6ab89a27c2ef26f42f732513cff1d23ff08cf88
ed0ee9c0cfd04b17fe0379a7c581aad0e910af9a
refs/heads/master
2022-04-10T12:55:19.149399
2020-03-13T21:25:47
2020-03-13T21:25:47
257,196,828
1
0
null
2020-04-20T06:54:24
2020-04-20T06:54:24
null
UTF-8
Python
false
false
404
py
# Generated by Django 3.0.2 on 2020-02-20 14:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('students_base', '0021_auto_20200220_1337'), ] operations = [ migrations.AddField( model_name='job', name='expiry_dat...
[ "ski20173@yandex.ru" ]
ski20173@yandex.ru
ebab8fd73010dddd9b8a8c5ee3477887af9a9785
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_slaloming.py
fc70a9f6793d6a5ff31d2307f098e301a9ecaa68
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#calss header class _SLALOMING(): def __init__(self,): self.name = "SLALOMING" self.definitions = slalom self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['slalom']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
58c6dd77eaee72629489793af1e4621301029f11
6a0591333c8f3f82c21409547144b7b75bb44c8b
/Python Scripts/2016_06_21_1800_Gauss_sin.py
72de6690cc1821da3c98af33eacd30b116b95f6c
[]
no_license
LyingCortex/HFSS
b6bf3092828966f89d37df553b664d3f9924d8d7
bf32721106679216d26676062073c9c82360da56
refs/heads/master
2020-12-24T08:00:08.014218
2019-03-20T08:27:36
2019-03-20T08:27:36
55,970,647
10
2
null
null
null
null
UTF-8
Python
false
false
579
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 21 17:57:14 2016 @author: LY """ Ra = 9.1 L1 = 34.3 N1 = 35 LL = 93.2 N1 = round(LL -L1) rL = 14.9 q =(LL - L1)/ ((rL/Ra)**2-1)**0.5 z2 = [L1+(LL-L1)/N1*(i+1) for i in range(N1)] r2 = [Ra*(1+((zi-L1)/q)**2)**0.5 for zi in z2] pos = [] for i in range(N1): pos.app...
[ "liuyangxtp@gmail.com" ]
liuyangxtp@gmail.com
f0e2f32f79e59d7cd29ab9dd1279b7ac6825d104
a659f96022132fda0e036755b4659a118cba1df3
/libs/decay.py
a0927a3a81855370495030566303d2614295d316
[]
no_license
ekimekim/pylibs
29d7172c8bf05ac0d8582118dff86dd04bf56fec
f4c180dc2e814e67064e4d03eafdb92f307e5748
refs/heads/master
2022-02-18T18:41:46.694266
2020-12-12T01:23:51
2020-12-12T01:23:51
17,832,278
10
0
null
null
null
null
UTF-8
Python
false
false
4,893
py
"""Implements a counter whose value decays over time DecayCounter() objects store a float, which decays over time with the given decay rate. Decay rate is expressed as a half-life, ie. after half_life seconds, the value is halved. The decay is automatically accounted for on a get() operation, no background thread or ...
[ "mikelang3000@gmail.com" ]
mikelang3000@gmail.com
2ef0fc6b16f988d02c738f6ee9e2890d721c1d95
d7b628c387070e62a7a559c86770c9e71f4c13ae
/qgis_plutil/utils/legend.py
2d260ca7c539ccd7c3711e624ae607d03e6f9e6c
[ "MIT" ]
permissive
pyqgis/plutil
4cd3881e2415da1811a4a10ecc76ed9d42759148
79df2596e4e0340f3765ccb5bdfd4cc1d01fcb7d
refs/heads/master
2020-09-11T11:48:06.781470
2019-11-22T11:48:30
2019-11-22T11:48:30
222,054,624
0
0
null
null
null
null
UTF-8
Python
false
false
8,102
py
# -*- coding: utf-8 -*- """ """ from __future__ import unicode_literals from __future__ import print_function import logging from qgis.core import ( QgsProject, QgsLayerTreeGroup, QgsLayerTreeLayer, QgsVectorLayer, QgsVectorLayerJoinInfo ) from qgis_plutil.utils.geometry import geometry_flat_name logger = lo...
[ "nicu.tofan@gmail.com" ]
nicu.tofan@gmail.com
66690261699a3b99d21fa2dbe477740cf4f0083f
b81a7b79f84a6460d258ed12a829f2c4e5bcedc3
/dataset/dataset.py
0fbe2b49834b2a7ef9df5801defa912a106fc27f
[ "Apache-2.0" ]
permissive
LearningHealthcare/dataset
cb52df3e4c719546b4bceef33175b34f9218f53a
49f31c7ade0c2d6983eeaecc4a94f33a809fad6e
refs/heads/master
2020-04-02T16:18:47.280132
2018-11-04T01:12:16
2018-11-04T01:12:16
154,601,479
0
0
null
2018-10-25T02:59:02
2018-10-25T02:59:02
null
UTF-8
Python
false
false
2,724
py
""" Dataset """ import numpy as np from .base import Baseset from .batch import Batch from .dsindex import DatasetIndex from .pipeline import Pipeline class Dataset(Baseset): """ Dataset Attributes ---------- index indices is_split """ def __init__(self, index, batch_class=Batch, pre...
[ "rhudor@gmail.com" ]
rhudor@gmail.com
b6089bc7227de2cb91899aa1b83fc1a25c05ecf0
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_1/640.py
332708be890fae3760c6a0435ddcadcf15e7f424
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,329
py
#!/usr/bin/python from pprint import pprint import string #---------------------------------------------------------------------- # Input #---------------------------------------------------------------------- FILE = 'A-small' class Reader: def __init__(self, filename): self.c = -1 self.lines = open(filenam...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0ad24802dbc3987906af866664153b0b54e912f5
99d7a6448a15e7770e3b6f3859da043300097136
/src/stats/core.py
50dd565dc1fe91846ef80fa306eef8c1e3ec2540
[]
no_license
softtrainee/arlab
125c5943f83b37bc7431ae985ac7b936e08a8fe4
b691b6be8214dcb56921c55daed4d009b0b62027
refs/heads/master
2020-12-31T07:54:48.447800
2013-05-06T02:49:12
2013-05-06T02:49:12
53,566,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
#=============================================================================== # Copyright 2012 Jake Ross # # 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/license...
[ "jirhiker@localhost" ]
jirhiker@localhost
6127b04a22d38f0bf204ac9cd6ba34e80952b3c3
2fbfe3d922452743214509d1fdce5dafdc268250
/yield/print_commands_heppy.py
4ee09b53a252f2fae19eb15fd504afdca8251d11
[ "BSD-3-Clause" ]
permissive
alphatwirl/concur-anon-comp
284f94fdbbdb175318010d9a321b8f5b42afbf46
7fba43ae05d2856ed4a00a8f30b759ad4f4ba7ec
refs/heads/master
2021-07-09T19:42:42.349845
2017-10-08T10:01:59
2017-10-08T10:01:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,355
py
#!/usr/bin/env python # Tai Sakuma <tai.sakuma@cern.ch> import os, sys import itertools import collections ##__________________________________________________________________|| scripts_subdir = os.path.dirname(__file__) scripts_dir = os.path.dirname(scripts_subdir) ##________________________________________________...
[ "tai.sakuma@gmail.com" ]
tai.sakuma@gmail.com
a06988916b2525148eddb0dba44cfddb16d86774
40dd8330e5f78c4348bbddc2c5acfd59d793dd51
/configs/deeplabv3/deeplabv3_r18-d8_4xb2-80k_cityscapes-769x769.py
021c98c3762fac98ee7d6513c1eea5ce7e5124e1
[ "Apache-2.0" ]
permissive
open-mmlab/mmsegmentation
0d12092312e2c465ede1fd7dd9847b6f2b37049c
30a3f94f3e2916e27fa38c67cc3b8c69c1893fe8
refs/heads/main
2023-09-04T10:54:52.299711
2023-07-24T07:28:21
2023-07-24T07:28:21
272,133,018
6,534
2,375
Apache-2.0
2023-09-14T01:22:32
2020-06-14T04:32:33
Python
UTF-8
Python
false
false
279
py
_base_ = './deeplabv3_r50-d8_4xb2-80k_cityscapes-769x769.py' model = dict( pretrained='open-mmlab://resnet18_v1c', backbone=dict(depth=18), decode_head=dict( in_channels=512, channels=128, ), auxiliary_head=dict(in_channels=256, channels=64))
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
219452d03c3922660e1f4ea683adb86faf50a25b
1ffc17893d9e15fd939628bbc41c3d2633713ebd
/skl2onnx/operator_converters/sequence.py
77b9370162a8bbbc4f66d9fa50e006be7914a19f
[ "Apache-2.0" ]
permissive
xadupre/sklearn-onnx
646e8a158cdded725064964494f0f8a760630aa8
b05e4864cedbf4f2a9e6c003781d1db8b53264ac
refs/heads/master
2023-09-01T15:58:38.112315
2022-12-21T01:59:45
2022-12-21T01:59:45
382,323,831
0
2
Apache-2.0
2023-01-04T13:41:33
2021-07-02T11:22:00
Python
UTF-8
Python
false
false
1,267
py
# SPDX-License-Identifier: Apache-2.0 from ..proto import onnx_proto from ..common._registration import register_converter from ..common._topology import Scope, Operator from ..common._container import ModelComponentContainer def convert_sklearn_sequence_at(scope: Scope, operator: Operator, ...
[ "noreply@github.com" ]
xadupre.noreply@github.com
cc826a4fb0f79712348dd784a78433792d2b323e
127fa3dd454434b4c7526afe161177af2e10226e
/leetcode/15. 3Sum.py
2478149ce975e230ee321b088381e188d6a0d337
[]
no_license
lunar-r/sword-to-offer-python
966c46a8ddcff8ce5c95697638c988d83da3beab
fab4c341486e872fb2926d1b6d50499d55e76a4a
refs/heads/master
2023-04-18T18:57:12.126441
2020-11-29T09:51:23
2020-11-29T09:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,458
py
# -*- coding: utf-8 -*- """ File Name: 15. 3Sum Description : Author : simon date: 19-4-8 """ class Solution(object): # 此法也超时 def threeSum(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ def twoSum(nums, target): ...
[ "2711772037@qq.com" ]
2711772037@qq.com
803a984ccf5f9c2459a060afbd9d7fc10595d1f0
f5f7a1ae04a999f3f193cca647397b29806edf73
/modeling/dynamics/builtin/random_tst.py
869c5cbb58a908cdd11d8219406f61db301494e0
[ "MIT" ]
permissive
kazuki0824/wrs
bf88d1568f591c61870332436bfcd079d78b87d7
03c9e59779a30e2f6dedf2732ad8a46e6ac3c9f0
refs/heads/main
2023-07-24T05:20:02.054592
2021-05-31T14:38:18
2021-05-31T14:38:18
368,829,423
1
0
MIT
2021-05-19T10:25:48
2021-05-19T10:25:47
null
UTF-8
Python
false
false
132
py
# conclusions: # The builtin physics is very simple. It does not support joints and has little flexibility for different collisions.
[ "wanweiwei07@gmail.com" ]
wanweiwei07@gmail.com
8dc1bf090c3c94c61255f6f0d2389b8d9794ba73
071f2a58fcee58845c039b4f7fc277b80d2907df
/tensorflow_federated/python/tests/perf_regression_test.py
8baadde770ee35b8d5ae9bacfe0e9118e3064781
[ "Apache-2.0" ]
permissive
hartmanwilliam/federated
71be99e58b2f33880f0e482d5b578454d65af89b
55e5fcbfde13ac4788f084e4c3c4714130cd19ec
refs/heads/master
2022-07-04T20:33:51.082890
2020-05-22T17:45:01
2020-05-22T17:45:01
266,160,582
0
0
Apache-2.0
2020-05-22T16:43:35
2020-05-22T16:43:34
null
UTF-8
Python
false
false
1,670
py
# Lint as: python3 # Copyright 2019, The TensorFlow Federated Authors. # # 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 ...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
c6335c940a7b4c9321731f01cc8889dae9d174b1
3b2940c38412e5216527e35093396470060cca2f
/top/api/rest/TmallItemIncrementUpdateSchemaGetRequest.py
c51feed80e3c9e820280232cccc5e62653b01364
[]
no_license
akingthink/goods
842eb09daddc2611868b01ebd6e330e5dd7d50be
ffdb5868a8df5c2935fc6142edcdf4c661c84dca
refs/heads/master
2021-01-10T14:22:54.061570
2016-03-04T09:48:24
2016-03-04T09:48:24
45,093,302
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
''' Created by auto_sdk on 2015-01-20 12:44:31 ''' from top.api.base import RestApi class TmallItemIncrementUpdateSchemaGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.item_id = None self.xml_data = None def getapiname(self): ret...
[ "yangwenjin@T4F-MBP-17.local" ]
yangwenjin@T4F-MBP-17.local
50f38c6d4ef76737b9e40616aec9091e6047da55
9d1e48983e4cc2a4c37d00c528e235923c03c949
/driver/driver.py
c4430f8036a42898ae7c16607b8a8fcc925a0426
[]
no_license
gitmengzh/python_selenium_mail
0e1efc2908fdf91026ac37b3ac79a2eaf17e4c03
f3b7198a08e7773a5a5fd741846592da1178159a
refs/heads/master
2021-07-12T01:28:36.058979
2017-10-09T05:09:41
2017-10-09T05:09:41
105,284,902
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
#coding:utf-8 #@time : 2017/9/29 20:25 #@Author : mengzh #@file :{name}.py # @Site : # @File : driver.py # @Software: PyCharm Community Edition from selenium.webdriver import Remote from selenium import webdriver #启动浏览器驱动 def browser(): driver = webdriver.Chrome() return driver ''' ...
[ "mengzh1618@gmail.com" ]
mengzh1618@gmail.com
fca91227317f55d87e519efba9c184639f108e94
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Anscombe/trend_MovingAverage/cycle_30/ar_12/test_artificial_128_Anscombe_MovingAverage_30_12_100.py
94a37184b05fb45fcf9fae9e8cfe29784205206f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
270
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 30, transform = "Anscombe", sigma = 0.0, exog_count = 100, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
c412f1eae21a27f4a3b0f3a34450efaba32e7eb2
b5479a025524c1387d3ba14f4fba7173f1d2df31
/task/day04/讲解.py
9875824b2c11f2e69e85f2a2e10098e30b85e707
[]
no_license
liousAlready/NewDream_learning
063f5e225d62eec8285e69bb5ba3bff850096ca3
7b790f675419224bfdbe1542eddc5a638982e68a
refs/heads/master
2023-06-30T08:28:34.949464
2021-08-01T00:42:17
2021-08-01T00:42:17
391,489,851
0
0
null
null
null
null
UTF-8
Python
false
false
4,382
py
#!/usr/bin/env python # encoding: utf-8 ''' @contact: 1650503480@qq.com @file: 讲解.py @time: 2021/4/18 08:50 ''' # # 4、使用循环语句计算从1到100,一共有多少个尾数为7或者7的倍数这样的数,请输出这样的数。 # num = [] # 采用一个空列表 # for i in range(1, 101, 1): # 循环列表 # if i % 7 == 0: # num.append(i) # elif str(i)[-1] == '7': # 取字符串最后一位字符来进行判断 # ...
[ "m15574933885@163.com" ]
m15574933885@163.com
3b1e8e45800b4899e289907539e9a369b1354124
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/_External-learning-resources/02-pyth/algorithms-master/algorithms/streaming/misra_gries.py
b36c9276a48759167c8676a6fd6fc6c0e8d4a070
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
1,634
py
""" Implementation of the Misra-Gries algorithm. Given a list of items and a value k, it returns the every item in the list that appears at least n/k times, where n is the length of the array By default, k is set to 2, solving the majority problem. For the majority problem, this algorithm only guarantees that if there...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
62b89ae3b905a6cdda0c7773ec9545b72a6fd51f
5b052d14cfb7b8a5fb49a22a60f9806fb9e085e7
/libc.py
7ba9c30b4b899d8b0f425ce79be35a150fc73bd2
[]
no_license
Torres-x86-64/x86_64-linux-cheatsheats
82bd6ba4888c14368886ec293b90e91ce33e7971
be6cd4fd3b06a0e7be1dc6ef71dc49245aa5b348
refs/heads/master
2023-07-19T07:05:48.459601
2021-09-09T08:49:42
2021-09-09T08:49:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,066
py
#!/usr/bin/env python3 import os import subprocess import sys import tempfile import shlex import cmd from collections import defaultdict C_HEADER = """ #define _GNU_SOURCE extern "C" { #include <elf.h> #include <asm/mman.h> #include <ctype.h> #include <dirent.h> #include <dlfcn.h> #include <errno.h> #include <exec...
[ "joerg@thalheim.io" ]
joerg@thalheim.io
dc82e1f840126fc715fbeadb46f6fde3429f2d39
118984fdbacf5eb71159eb511ccd055987498886
/CH02/EX2.11.py
bd48a2f7c6a031fa25f8178f8c91a60ed0d5ef46
[]
no_license
6igsm0ke/Introduction-to-Programming-Using-Python-Liang-1st-edtion
321c6256be6ff78adbc8e3ddc73f2f43a51a75ab
159489f3af296f87469ddddf3a1cb232917506b0
refs/heads/master
2023-06-05T20:03:17.951911
2021-06-18T18:04:42
2021-06-18T18:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
# (Financial application: investment amount) Suppose you want to deposit a # certain amount of money into a savings account with a fixed annual interest rate. # What amount do you need to deposit in order to have $5,000 in the account after # three years? The initial deposit amount can be obtained using the following #...
[ "47993441+OmarAlmighty@users.noreply.github.com" ]
47993441+OmarAlmighty@users.noreply.github.com
1ffce055ba6651fb3b62b2257eb1b97d0184681d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_playmate.py
a2a2cbdd32c52b30414fc86e33f08980172af6d0
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
#calss header class _PLAYMATE(): def __init__(self,): self.name = "PLAYMATE" self.definitions = [u'a friend, especially another child, who a child often plays with: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b7b7589a8edfbd5a4ac78f7af700a1a51fee4730
54982f9506789cacd236a8890cd67c48d0e8df0e
/laser_scanner_copy/build/laser_scanner/uts_sensor_box/sensor_drivers/rosserial/rosserial_windows/catkin_generated/pkg.installspace.context.pc.py
934825c013717a5efa0da78c6b7458a4656b52a0
[]
no_license
bassie8881/ROS_stuff
53e0d750c35f653bf9f93cf28ee7d7b604a69af6
627b114c6dd469a4e81085a894676e60aeb23691
refs/heads/master
2021-01-17T17:03:25.219628
2016-07-14T03:12:04
2016-07-14T03:12:04
63,243,187
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rosserial_windows" PROJECT_SPACE_DIR ...
[ "bas_bosscher@hotmail.com" ]
bas_bosscher@hotmail.com
3a30f9e8d50edf6c153ca01b26747bcc8ac92ba9
538cee184d5ba586b2dfddd58e243febfbde81e6
/splikes/neurons/backup__init__.py
ef276042e25a3339af9a2bd7b29521fe8c049d71
[ "MIT" ]
permissive
bblais/Plasticnet
05ea7763cc7a188dfb88611cb12dfc4edd015955
5fc8a4fc715d4877bfa255feacd37b4c23201777
refs/heads/master
2023-07-10T06:15:06.286575
2023-06-21T10:38:11
2023-06-21T10:38:11
34,905,565
0
1
null
null
null
null
UTF-8
Python
false
false
396
py
from IntegrateAndFire import IntegrateAndFire from poisson_julijana import poisson_julijana from poisson_pattern import poisson_pattern from poisson_pattern import poisson_plasticnet from poisson_pattern import isi_pattern from poisson_pattern import isi_plasticnet from spike_pattern import spike_pattern from srm0 impo...
[ "bblais@gmail.com" ]
bblais@gmail.com
29cfdd3a27d07741e098f88164c64711908eb33c
9dee94907e6456a4af9855d358693923c17b4e0d
/0575_Distribute_Candies.py
633c5b32143611a4b89358487332a3c63c22615a
[]
no_license
chien-wei/LeetCode
e215915a8103e56f182040dacc9fb0d6996c86ec
0d6f414e7610fedb2ec4818ecf88d51aa69e1355
refs/heads/master
2021-05-13T14:48:22.891100
2019-08-20T05:52:59
2019-08-20T05:52:59
116,749,327
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
class Solution: def distributeCandies(self, candies): """ :type candies: List[int] :rtype: int """ count = collections.Counter(candies) return len(count) if len(count) <= len(candies)/2 else int(len(candies)/2)
[ "chien-wei@outlook.com" ]
chien-wei@outlook.com
36a7d56d6d6bf426de9e275006e0087ccb97cc4e
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/eqpt/mem.py
3d50535f47e2edf19cb09a8c1c709ee5f6e093e8
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,769
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
307b791acfb30d21d918c0b74267d482103d9343
3b4c109af79a01e1d5d0a9cc45a2c02d84f760da
/app/api/sge_api.py
0b23cf9e1866b69708df28f2a9dd10936dc1126f
[]
no_license
huozhihui/sge_deploy
a07dcfe632a0b93988696ea5b543a3cfbb218104
129e32542311ad4939124eac9838a86085bb85df
refs/heads/master
2020-03-12T00:07:25.479411
2018-05-20T02:22:48
2018-05-20T02:22:48
130,341,776
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
#!/usr/bin/python # -*- coding: utf-8 -*- from flask_restful import Resource import argument import base from app.sge.sge_centos7 import SgeMaster, SgeClient class SgeAuthApi(Resource): def get(self): return {"token": "true"} class SgeMasterApi(Resource): def post(self): # args = argument.sg...
[ "240516816@qq.com" ]
240516816@qq.com
be858c8f665aa32394b9537f1d88bb26cd458735
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/community/vmware/plugins/doc_fragments/vmware_rest_client.py
6b66d304ee41a505c9bd657775f528804c42474a
[ "MIT", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-or-later" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
1,809
py
# -*- coding: utf-8 -*- # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type class Module...
[ "sifang@cisco.com" ]
sifang@cisco.com
0e2a0c7e769f2b1a1ce9065afb702e271edcf657
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Difference/trend_MovingAverage/cycle_12/ar_12/test_artificial_128_Difference_MovingAverage_12_12_20.py
d9f4a16840cfc05c99914bb60a1ff13682cda68e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
271
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 12, transform = "Difference", sigma = 0.0, exog_count = 20, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
9749e7ffb75827cf90e8764277b3fa1be3196504
e5f1befb7c7ca0072747b33086fc6569a6befd01
/old/docstrings/001.py
7f6a07a575df40c1c412300d12dbaf39ae528871
[]
no_license
nepomnyashchii/TestGit
ae08d8bb1b7d2ab9389a309fd1dc9e24729b019c
c7abf4ab08ee3c2f3ea1fb09a1938bff7a3e0e5c
refs/heads/master
2020-04-28T23:41:51.053547
2020-01-24T12:22:40
2020-01-24T12:22:40
175,666,093
0
1
null
2019-03-15T13:44:03
2019-03-14T17:08:58
null
UTF-8
Python
false
false
142
py
def my_function(): """Do nothing, but document it. No, really, it doesn't do anything. """ pass print (my_function.__doc__)
[ "nepomnyashchii@gmail.com" ]
nepomnyashchii@gmail.com
2b7f019559e32d32d77c4d539f7fa04d207440bc
14cb64c98b6532e134dfe1399cc74dbd3a0cdeba
/LightweightDjango/urls.py
5993f636fb6fd1abf100488d26a9ca68d8bd1dfa
[]
no_license
agz1990/lightweight_django
3ed98479fa0a7e0ac6e3d5bae237690761582a30
0daf9884843fc9d8dee1120bc5ba2a4a71ecb55c
refs/heads/master
2016-08-12T07:35:14.456918
2015-11-30T16:30:58
2015-11-30T16:30:58
47,054,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
"""LightweightDjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/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')...
[ "522360568@qq.com" ]
522360568@qq.com
19b15d5c5d51b57c95a7c8c07417e79611d4e2ce
381d034368acbc29a8fbe57fa93ade6ae9026d1d
/venv/Scripts/pip3.7-script.py
2178deb9ac099dcc82ab0299a0e67e01560dfbc8
[]
no_license
mayhem215/issues
7a9f7207aebd927f283061a6ffc176b2dcf7b4b3
cccfaf80c31b29521f40fa3aa81cb79aec6e6579
refs/heads/master
2020-04-08T10:58:46.061311
2018-11-27T06:42:09
2018-11-27T06:42:09
159,289,128
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#!C:\DjangoProjects\issues\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys....
[ "mayhem15@mail.ru" ]
mayhem15@mail.ru
e1fd7185282c13b02be9eecae27a0abbd4da1c46
87277cddfc489dd7d3837ffccda2f11bb4ad43cc
/py/Task659.py
90643ad9965f0161929d5b3ab7ca9321a2a5ba47
[]
no_license
rain-zhao/leetcode
22c01d1803af7dd66164a204e6dc718e6bab6f0e
8d47147f1c78896d7021aede767b5c659cd47035
refs/heads/master
2022-05-29T10:54:14.709070
2022-05-14T09:38:05
2022-05-14T09:38:05
242,631,842
0
1
null
null
null
null
UTF-8
Python
false
false
1,435
py
from typing import List from collections import defaultdict import heapq class Solution: # hash + min-heap def isPossible(self, nums: List[int]) -> bool: map = defaultdict(list) for num in nums: prevLength = 0 if map[num-1]: # pop min val from from heap ...
[ "rangeree@foxmail.com" ]
rangeree@foxmail.com
93157527a57fa1551e01415c2bc9dbf613049c7e
f042b28a1aaa65586a3082546a2a66f7b8da9560
/private/scripts/recheck-invalid-handles.py
ab4054d837b64d6cdc4bc55d34e29e751e8dc8d5
[ "MIT" ]
permissive
bansal-shubham/stopstalk-deployment
96fca9640fe829e1129a116a3e0b4895360807f1
6392eace490311be103292fdaff9ae215e4db7e6
refs/heads/master
2020-07-21T09:24:22.027051
2019-10-09T20:34:27
2019-10-09T20:34:27
206,814,820
0
0
MIT
2019-09-11T04:42:13
2019-09-06T14:46:32
null
UTF-8
Python
false
false
4,427
py
""" Copyright (c) 2015-2019 Raj Patel(raj454raj@gmail.com), StopStalk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights ...
[ "raj454raj@gmail.com" ]
raj454raj@gmail.com
02a9bcf7bba04245c6c9f6fb625931350afcc98a
622cc29ddd62d76ba251ec4635aef66a59a44143
/projeto/estoque/migrations/0001_initial.py
fe4a7bf28b2992ed624a17f515701c8d42c73e70
[]
no_license
Aleleonel/estoque
c98e907919f8525cdb69eebf4b856de032d9733a
d38c60ca99d70116dfdfe01e01068cfe72a14727
refs/heads/master
2021-09-24T05:09:15.979126
2020-01-16T14:43:17
2020-01-16T14:43:17
229,847,448
1
0
null
2021-09-22T18:17:49
2019-12-24T01:22:00
Python
UTF-8
Python
false
false
2,708
py
# Generated by Django 3.0.1 on 2019-12-23 20:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('produto', '0001_initial'), migrations.swappable_dependency(sett...
[ "aleleonel@gmail.com" ]
aleleonel@gmail.com
1f11240c9dc378f86e18d5a8dc29148d8faedf08
894b290b4f4f47b5eb523c23efd7bd6110d91b2f
/148_m_dianping/m_dianping/m_dianping/settings.py
fb36fe94e4be675a15979d7ab4a58bd94361b8f4
[]
no_license
wliustc/SpiderS
6650c00616d11239de8c045828bafdc5a299b1ce
441f309c50d28c1a3917bed19321cd5cbe7c2861
refs/heads/master
2020-03-27T06:15:39.495785
2018-06-14T07:55:44
2018-06-14T07:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,972
py
# -*- coding: utf-8 -*- BOT_NAME='m_dianping' SPIDER_MODULES=['m_dianping.spiders'] NEWSPIDER_MODULE='m_dianping.spiders' DOWNLOAD_HANDLERS={'s3': None} USER_AGENT="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36" MAIL_FROM="spider_man_warn@126.com" ITEM_PIPE...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
239e6c075bec21dff439ef851b1d0bd654eab243
78c0dc213cb0a34d211cb1536ab6403e2c72bb5e
/backend/bot/channel_reaction/commands.py
025ac55ecb9169eb0585053b722994cd048d01f8
[]
no_license
git-hub-lab/reactor
45191bf4ca0eef657467c445d0f94cb06d788899
4a1eb27388506d6783df01f7cb9790827971c89d
refs/heads/master
2023-03-29T01:32:46.984776
2020-07-29T21:31:51
2020-07-29T21:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
import logging from telegram import Message as TGMessage, Update, User as TGUser from telegram.ext import CallbackContext, Filters from bot import redis, filters from bot.redis import State from bot.wrapper import command from core.models import Message logger = logging.getLogger(__name__) @command('start', filter...
[ "bachynin.i@gmail.com" ]
bachynin.i@gmail.com
1952081d6abd867637e7d2fbda94c72fc3f2e7a9
59f64b5cf799e31c97b11828dba4787afb8f3f17
/batch/batch/worker/jvm_entryway_protocol.py
fd09b55cce765faf638cbc885b622eb873739e7f
[ "MIT" ]
permissive
hail-is/hail
2089e6f3b38548f13fa5c2a8ab67f5cfdd67b4f1
07a483ae0f46c66f3ed6fd265b48f48c06298f98
refs/heads/main
2023-09-01T15:03:01.450365
2023-09-01T02:46:35
2023-09-01T02:46:35
45,069,467
913
262
MIT
2023-09-14T21:53:32
2015-10-27T20:55:42
Python
UTF-8
Python
false
false
1,582
py
import asyncio import logging import struct log = logging.getLogger('jvm_entryway_protocol') def write_int(writer: asyncio.StreamWriter, v: int): writer.write(struct.pack('>i', v)) def write_long(writer: asyncio.StreamWriter, v: int): writer.write(struct.pack('>q', v)) def write_bytes(writer: asyncio.Str...
[ "noreply@github.com" ]
hail-is.noreply@github.com
d00f6d3c0887565fa9e0ba4997dc401bc35d40c3
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/compute/rolling_updates/list_instance_updates.py
104a98256a3414700d5ad05430dad25b958b98b9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
2,645
py
# Copyright 2014 Google Inc. All Rights Reserved. # # 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 ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
5917e6c21f7e72b0ff6dbfd5b802092f2ededf69
4ad809420a3cd82199b31fcb6033ad6b28c5ac60
/rustici_engine/models/xapi_score.py
094b8c8dafee57946fdfe4de881e9623daa1f08f
[]
no_license
Myagi/python-rustici-engine-api
2e4eb21f01b156551a1f4d747aea466dec22f30c
20684845817cb9790b3bfc9be3db515f7ad5b0ee
refs/heads/master
2022-03-30T12:26:44.825580
2020-02-03T06:34:12
2020-02-03T06:34:12
237,883,063
2
0
null
null
null
null
UTF-8
Python
false
false
4,614
py
# coding: utf-8 """ Rustici Engine API Rustici Engine API # noqa: E501 OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class XapiScore(object): """NOTE: This class is auto generated by the sw...
[ "s.kitchell@live.com" ]
s.kitchell@live.com
536601f80903439af1ce166f344de9f8bb69171f
487dedd0be97b18d5e1ee85b6a3572bc896e8fcf
/otscrape/core/extractor/text/etree.py
64fe59da7a6d1abe8ad6d6a1b57200ac89019c56
[ "MIT" ]
permissive
SSripilaipong/otscrape
d4502d1ad3c3287681807a2ea8f27d3f1981f1bf
73ad2ea3d20841cf5d81b37180a1f21c48e87480
refs/heads/master
2023-01-23T06:13:32.849937
2020-12-03T13:45:16
2020-12-03T13:45:16
210,801,600
0
0
MIT
2020-11-30T18:04:04
2019-09-25T09:04:32
Python
UTF-8
Python
false
false
324
py
from lxml import etree from otscrape.core.base.extractor import Extractor def parse(text): tree = etree.fromstring(text, etree.HTMLParser()) return tree class ETree(Extractor): def extract(self, page, cache): x = page[self.target] assert isinstance(x, (str, bytes)) return parse(...
[ "santhapon.s@siametrics.com" ]
santhapon.s@siametrics.com
f22a66523552e8ee89555571d973b24102d7123e
7e31d945d7d17e3f486fc985ae7f4d775607b72a
/api/migrations/0001_initial.py
a730b89c0133931a770466efea7b186a81a7120e
[]
no_license
SimonielMusyoki/BookAPI
55f9b959f3fc76b0fa3a1d111b1965fbd1943a11
c27db0abca5f05f811331df268ca49e81d362d92
refs/heads/master
2022-12-17T01:08:09.949684
2020-09-11T18:41:47
2020-09-11T18:41:47
294,776,074
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
# Generated by Django 3.1.1 on 2020-09-03 15:17 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Book', fields=[ ('id', models.AutoField(aut...
[ "musyoki.mtk3@gmail.com" ]
musyoki.mtk3@gmail.com
0d8a6fcf59eb820a2dbc3b27d5554d23712b8403
d2915ef6ee9c1ea01f47d3468bba8e320a8f5914
/generators/yield.py
652f7bd30d951f5463192ce6c4636527de6a7e30
[]
no_license
asing177/python_basics
a269adbaf166fb760d2692874601528ef230bbbd
48ce7d5d6356edbd9bc21f8ebb55ec95787d4340
refs/heads/main
2023-01-11T12:11:44.155102
2020-11-13T07:24:54
2020-11-13T07:24:54
300,806,395
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
def simpleGeneratorFun(): yield 1 yield 2 yield 3 for value in simpleGeneratorFun(): print(value) def nextSquare(): i = 1; while True: yield i*i i += 1 for num in nextSquare(): if num > 100: break print(num)
[ "adityasingh27@hotmail.com" ]
adityasingh27@hotmail.com
73610a73af4b4716db90756be59b8087c358c855
5c69c7daab733ec95b7293937ffce5b2b6875306
/Hashtable/1. Two Sum.py
da387d0d358a7f77934e783c6923b5002def265d
[ "MIT" ]
permissive
viewv/leetcode
9de9820f251d949b7442651087172ae10620a8bd
b31e643846bb38978746342e3e3a94991178565a
refs/heads/master
2021-07-17T11:42:08.070390
2020-04-12T13:41:45
2020-04-12T13:41:45
122,901,543
2
2
MIT
2018-12-24T07:01:06
2018-02-26T02:31:16
Python
UTF-8
Python
false
false
267
py
class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: waitset = dict() for i, c in enumerate(nums): if c in waitset: return [waitset[c], i] else: waitset[target-c] = i
[ "=" ]
=
52a950088da5054e02f6b47e6d7f0333980714e8
b25182d0034468e5e545c6c72e5a2cdd3c43a484
/.PyCharm2017.2/system/python_stubs/-223353804/lxml/etree/DTDError.py
d8d11fac2154fda014e7a50d1ea00378452f540a
[]
no_license
lovewula/config
f9ac16b30082c04be7733969d5359ee6c7258db6
c0720e5bfd49f579a52f83de36de40c76996ebf6
refs/heads/master
2021-08-19T19:31:44.088218
2017-11-27T08:04:06
2017-11-27T08:04:06
111,974,690
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
# encoding: utf-8 # module lxml.etree # from D:\Python\Python27\lib\site-packages\lxml\etree.pyd # by generator 1.145 """ The ``lxml.etree`` module implements the extended ElementTree API for XML. """ # imports import __builtin__ as __builtins__ # <module '__builtin__' (built-in)> from LxmlError import LxmlError cla...
[ "lovewula1314@gmail.com" ]
lovewula1314@gmail.com
0cb53bb790cfa14623388e02d96422c9d6c6e19d
0b95798325817ea198ec57951dcce1d6d553d8ee
/Old Stuff/googlefinance.py
4b11930c33ffa995def4e0410fa8794b5d17d6c7
[]
no_license
actuarial-tools/PythonStuff
3ef503a204f21165fee25b7f28c57100ad944c06
21b290cf548e82ca91b761a6a7bd876e136e429b
refs/heads/master
2023-01-12T23:27:20.739987
2020-08-31T23:51:17
2020-08-31T23:51:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from googlefinance.client import get_price_data, get_prices_data, get_prices_time_data # Dow Jones param = { 'q': "AAPL", # Stock symbol (ex: "AAPL") 'i': "86400", # Interval size in seconds ("86400" = 1 day intervals) 'x': "NASDAQ", # Stock exchange symbol on which stock is traded (ex: "NASD") 'p': "1...
[ "34726618+tyco333@users.noreply.github.com" ]
34726618+tyco333@users.noreply.github.com
9e247fcd3792985b1e1c0c795a01afdf5daf3a32
f4ad721b7158ff2605be6f7e4bde4af6e0e11364
/vt_manager_kvm/src/python/vt_manager_kvm/communication/geni/v3/tests/configurators/vtam/testdriverconfiguration.py
f489ff6e5663afe89875763e4c01dc6d350e51f9
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
ict-felix/stack
3fb4222a0538c0dbbe351ccc3da1bafa9ca37057
583ccacf067b9ae6fc1387e53eaf066b4f3c0ade
refs/heads/master
2021-01-10T10:16:29.851916
2016-06-22T15:11:11
2016-06-22T15:11:11
51,439,714
2
1
null
null
null
null
UTF-8
Python
false
false
952
py
import sys sys.path.append("/opt/ofelia/core_kvm/lib/am/") sys.path.append("/opt/ofelia/core_kvm/lib/") sys.path.append("/opt/ofelia/vt_manager_kvm/src/python/") import os import sys from os.path import dirname, join # This is needed because wsgi disallows using stdout sys.stdout = sys.stderr os.environ['DJANGO_SET...
[ "jenkins@localhost" ]
jenkins@localhost
3e005d69f1b690be7bd975b76f34196ba6b556d8
ce4d77f4aa4d615ef3736ddef61ff204631959d9
/studies/migrations/0002_study_state.py
9bb5c6d1dd3cfdab0e0e0e1836e01361a084ff91
[ "MIT" ]
permissive
joaoalves2010/lookit-api
391b40915fc843ffacd957d100b200990da19245
ee0ded40bae1c20d93a883dcd55561ffd69a932f
refs/heads/master
2021-01-20T10:29:34.037473
2017-05-16T18:16:28
2017-05-16T18:16:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-24 20:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studies', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "cwisecarver@cos.io" ]
cwisecarver@cos.io
41ce402e18afba510e2dbe34d9f61334a1de3042
f5d7f59e3811919145f3601b2da9e8ac3635fa8b
/ICAPS-16/utils.py
591cac62d3b047d4a930e31811f20512b80f9087
[]
no_license
AI-Planning/publicity-chair-tools
cc7709585479dd8a62d69dd6ee592fa165354f50
d7fd543424ae71fa5a5a4fa76c06c17bca0129bf
refs/heads/master
2021-05-23T13:39:39.205642
2017-05-16T03:11:19
2017-05-16T03:11:19
253,316,546
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
import os, time, shutil, glob def html_files(): return glob.glob('../*.html') def backup(): fid = str(int(time.time())) os.mkdir(os.path.join('backup', fid)) for f in html_files(): shutil.copy(f, os.path.join('backup', fid))
[ "christian.muise@gmail.com" ]
christian.muise@gmail.com
93882d577bd2aa4d20226bdd2fe605279e1d0cde
6146d080087b21e36347408eea76598f4691ed67
/code/greedy/5203.py
e26d214d34d0881d81d689bee2e97321026ab6d2
[]
no_license
banggeut01/algorithm
682c4c6e90179b8100f0272bf559dbeb1bea5a1d
503b727134909f46e518c65f9a9aa58479a927e9
refs/heads/master
2020-06-27T14:07:51.927565
2019-12-19T03:48:30
2019-12-19T03:48:30
199,800,363
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
# 5203.py 베이비진 게임 def is_babygin(i, c): if c[i] == 3: # run return True # triplet if -1 < i - 1 and c[i - 1]: if -1 < i - 2 and c[i - 2]: return True # i-2,i-1,i elif i + 1 < 10 and c[i + 1]: return True # i-1,i,i+1 if i < 8 and c[i + 1] and c[i + 2]: ...
[ "genie121110@gmail.com" ]
genie121110@gmail.com
dd11adff413d18d91d56bee3e060982b713e652c
200abee8ebb5fa255e594c8d901c8c68eb9c1a9c
/venv/01_Stepik/Python_Programmirovanie/2.5_2.py
3b751f4923be2be48f18566154558b2a212d2509
[]
no_license
Vestenar/PythonProjects
f083cbc07df57ea7a560c6b18efed2bb0dc42efb
f8fdf9faff013165f8d835b0ccb807f8bef6dac4
refs/heads/master
2021-07-20T14:14:15.739074
2019-03-12T18:05:38
2019-03-12T18:05:38
163,770,129
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
''' Напишите программу, на вход которой подаётся список чисел одной строкой. Программа должна для каждого элемента этого списка вывести сумму двух его соседей. Для элементов списка, являющихся крайними, одним из соседей считается элемент, находящий на противоположном конце этого списка. ''' a = [int(i) for i in input()...
[ "vestenar@gmail.com" ]
vestenar@gmail.com
d56a0ca77428beff3c986780889c46bc2f71f360
f4c91a4b1112ec54d87964fe1cc3d7c772bc0d5f
/backend/modules/camera/serializers.py
401598fe2acf95b8b281c7742c175248d5bd5110
[]
no_license
crowdbotics-apps/my-new-app-31789
7d41bf3b7f23536095ffc0ec62bbb56f81b097f0
c5513ad2df9e73707871e1c10c6768a93690f9a7
refs/heads/master
2023-08-25T23:02:37.774572
2021-11-01T15:53:29
2021-11-01T15:53:29
423,511,641
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from .models import Image from rest_framework import serializers class ImageSerializer(serializers.HyperlinkedModelSerializer): image = serializers.SerializerMethodField() def get_image(self, obj): return obj.image.url class Meta: model = Image fields = ( "id", ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f7ce03e38ad7d5aa9a21b0fac115503aad0be1c0
50e3fcca6e2a9a73ed52d231a739f70c28ed108f
/String/reverseString.py
9eb938bc314f6f2ff75e464670796110f7324311
[]
no_license
thomasyu929/Leetcode
efa99deaa2f6473325de516d280da6911c2cc4ab
780271875c5b50177653fd7fe175d96dd10e84e2
refs/heads/master
2022-03-29T00:11:01.554523
2020-01-03T00:28:22
2020-01-03T00:28:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ left, right = 0, len(s)-1 while right > left: s[left], s[right] = s[right], s[left] left += 1 right -= 1
[ "yby4301955@gmail.com" ]
yby4301955@gmail.com
87aa2ccdfa27f434815a78bd12020e6fe19e4f04
b333dc607a2f1556f6a8adb6d16dc88fa8a30c8b
/portal/apps/actstream/exceptions.py
a9e423369b62ba4f9e9389cc63c6b24a52dfc1b2
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hernan0216/utopia-cms
6558f8f600620c042dd79c7d2edf18fb77caebb8
48b48ef9acf8e3d0eb7d52601a122a01da82075c
refs/heads/main
2023-02-06T10:31:35.525180
2020-12-15T17:43:28
2020-12-15T17:43:28
321,775,279
1
0
BSD-3-Clause
2020-12-15T19:59:17
2020-12-15T19:59:16
null
UTF-8
Python
false
false
1,324
py
from django.db.models.base import ModelBase from django.core.exceptions import ImproperlyConfigured from actstream.settings import get_models class ModelNotActionable(ImproperlyConfigured): """ Raised when a Model not in ``ACTSTREAM_ACTION_MODELS`` setting is used in an Action. """ def __str__(s...
[ "apacheco@ladiaria.com.uy" ]
apacheco@ladiaria.com.uy
4e6526852876cd354c2a489dcd5a811b53acfb85
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/otp/distributed/TelemetryLimiter.py
4ab97f057c5473430e442d1bc44faaafd8a94a00
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
3,548
py
# 2013.08.22 22:15:20 Pacific Daylight Time # Embedded file name: otp.distributed.TelemetryLimiter from direct.showbase.DirectObject import DirectObject from otp.avatar.DistributedPlayer import DistributedPlayer from direct.task.Task import Task class TelemetryLimiter(DirectObject): __module__ = __name__ TaskN...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
c24358f43d7141913b10d3ef9b1b265a7c0fae6b
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/web_client_api/commands/clan_management.py
65a1fad870de4dcf63e6067d0af4748bb2b7479d
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
1,168
py
# 2017.08.29 21:52:10 Střední Evropa (letní čas) # Embedded file name: scripts/client/web_client_api/commands/clan_management.py from collections import namedtuple from command import SchemeValidator, CommandHandler, instantiateObject _ClanManagementCommand = namedtuple('_ClanManagementCommand', ('action', 'custom_para...
[ "info@webium.sk" ]
info@webium.sk
65ea134875ba2ab9fcd78dbd165786366276074b
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Gio/SettingsSchema.py
133a7559436e836df6baa87635606f86f050fc0a
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
5,652
py
# encoding: utf-8 # module gi.repository.Gio # from /usr/lib64/girepository-1.0/Gio-2.0.typelib # by generator 1.147 # no doc # imports import gi as __gi import gi.overrides as __gi_overrides import gi.overrides.Gio as __gi_overrides_Gio import gi.overrides.GObject as __gi_overrides_GObject import gi.repository.GObjec...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
9a8f4257b92a9fa34be0a539801cfcf273634ec4
f91ba67b3fbe988f2c8a17d5973aa576006d2d05
/phantom_00010.py
c45dd9cfc39466f9162cbc7d9bebc5a24ca01b82
[]
no_license
decarlof/tomobanktools
affb5bb8ecceac0311907f2cee21452c12a82abe
c7a7df95445f2cf2edeb2e3f354e5030dd762721
refs/heads/master
2020-06-13T17:28:55.358342
2018-04-04T17:27:16
2018-04-04T17:27:16
75,575,835
0
0
null
null
null
null
UTF-8
Python
false
false
4,402
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 3 15:35:30 2016 @author: decarlo """ from __future__ import (absolute_import, division, print_function, unicode_literals) from xdesign import * import os import time import pytz import datetime import numpy as np import m...
[ "decarlof@gmail.com" ]
decarlof@gmail.com
6ff60baecdd37afb05f52e9cf4f338deb432a2da
cd552f4a5b4be789fc08b394ade54048ed1659cf
/backend/task/migrations/0001_initial.py
50b0122f5b290e1f9f224480de1e8f5bab33624d
[]
no_license
crowdbotics-apps/quizzer-21916
b7277bf476d3aec8cd4b6b733175c47861f64a35
5dd6058ef091d35c28fd8e8c6861a7fb9c2e5793
refs/heads/master
2022-12-31T11:24:44.129262
2020-10-24T19:28:57
2020-10-24T19:28:57
306,953,808
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
# Generated by Django 2.2.16 on 2020-10-24 19:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('task_profile', '0001_initial'), ('location', '0001_initial'), ('task_category', '0001_i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
81fe6ddd5951313145b6075839e0fc6ef7842fa1
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/KhanAcademy/Topics/GetTopicExercises.py
fdc1bef745733007b4361f180088f6bd5a2a2b5c
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
# -*- coding: utf-8 -*- ############################################################################### # # GetTopicExercises # Retrieves a list of all exercises for a given topic. # # Python version 2.6 # ############################################################################### from temboo.core.choreography im...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
b224e8424fe2321fab3bdd4428ddc6c31456e0d2
f1614f3531701a29a33d90c31ab9dd6211c60c6b
/menu_sun_integration/shared/loggers/logger.py
f08a1781b80144f3a4a19ceb7b4a6ad4331b5f52
[]
no_license
pfpacheco/menu-sun-api
8a1e11543b65db91d606b2f3098847e3cc5f2092
9bf2885f219b8f75d39e26fd61bebcaddcd2528b
refs/heads/master
2022-12-29T13:59:11.644409
2020-10-16T03:41:54
2020-10-16T03:41:54
304,511,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,836
py
""" Singleton Design Pattern Intent: Lets you ensure that a class has only one instance, while providing a global access point to this instance. """ import logging import json from threading import Lock from typing import Optional logger = logging.getLogger() logger.setLevel(logging.INFO) def info(msg): logger....
[ "pfpacheco@gmail.com" ]
pfpacheco@gmail.com
64ab75ba0d4d2d2b104627452a85f0bcb91b6f7a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03331/s890555095.py
d9eb7cc5b2495ad8d73cd65a7ad507a778046eff
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import math n = int(input()) if math.log10(n) %1 == 0: print(10) exit() else: ans = 0 n = str(n) for i in range(len(n)): ans += int(n[i]) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c8422048fff1caffcc3b6757dfa93a48ba25411b
4b87a0de0f43de2bde41f2590faac970c18fe482
/core/migrations/0004_bank_employee_ifs_level.py
3cd9da0d374df2edc8785d34d3b5047e9d77c7ab
[]
no_license
krishSona/testbackend
d0bc325776537d9814b9022b3538b5e8a840e6a4
d87e050d02542c58876d4f81c2ea99815ab4160e
refs/heads/master
2023-04-08T01:26:42.070058
2021-04-03T06:08:54
2021-04-03T06:08:54
354,214,243
0
0
null
null
null
null
UTF-8
Python
false
false
2,954
py
# Generated by Django 3.0.5 on 2020-10-10 06:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20201009_1250'), ] operations = [ migrations.CreateModel( name='Bank', ...
[ "kali@dailysalary.in" ]
kali@dailysalary.in
5c72cdf180de5fffecfa4ddc9d16bb2a8e2340a4
1e4b37d3bfa9ecba22517548c0577dee76704d8f
/temp_ws/build/control_msgs/control_msgs/catkin_generated/pkg.develspace.context.pc.py
3d5a5127cfec63ac7ab72bd83035f5504ad2da31
[]
no_license
mch5048/catkin_ws_4rl
0aa19dc46effd2ae7941cc1e0b6d824f595d8574
2201d3b353da3b380dc7330ae5651e9640cd3408
refs/heads/master
2020-04-19T01:42:56.013573
2019-02-21T01:09:13
2019-02-21T01:09:13
167,879,885
0
0
null
2019-02-21T01:09:14
2019-01-28T01:27:31
Makefile
UTF-8
Python
false
false
515
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/irobot/catkin_ws/devel/include".split(';') if "/home/irobot/catkin_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "actionlib_msgs;geometry_msgs;message_runtime;std_msgs;trajectory_msgs"...
[ "mch5048@korea.ac.kr" ]
mch5048@korea.ac.kr
488174fcd8a4f51478362366ed22f4dd0259a5f4
3c11ee5d423d86bcb72744c5f7024745afc9a581
/q1/q1.py
914f0d85955fb8ddcd9723e0dbac54a0e1eb2ab6
[]
no_license
Insper/20_sub_rob
5b167082a033a19fc8e6aaeb5a93c4f10c266025
7b73300cf8df191ed6ae7d5a9ec602142f391507
refs/heads/master
2022-12-20T03:37:54.982812
2020-10-01T18:40:52
2020-10-01T18:40:52
274,880,025
0
1
null
null
null
null
UTF-8
Python
false
false
1,285
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Este NÃO é um programa ROS from __future__ import print_function, division import cv2 import os,sys, os.path import numpy as np print("Rodando Python versão ", sys.version) print("OpenCV versão: ", cv2.__version__) print("Diretório de trabalho: ", os.getcwd()) # Arquivo...
[ "fmiranda@gmail.com" ]
fmiranda@gmail.com
54ab16d754a94742288670b53b1662e8646f9038
4becbe7ecf450e16102282711fb5e9dc336e3065
/old/feature_selection_thresholds.py
927ee9f961402ad984830b700369be4d883b24ea
[ "Apache-2.0" ]
permissive
timodonnell/mhcpred
c173cfbd42f4d9cab5f7ade5835d902762835334
71f082d94bbde9616ab31f0e70e7076240690163
refs/heads/master
2021-01-23T02:34:58.759833
2014-11-19T22:19:42
2014-11-19T22:19:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
import numpy as np def find_best_threshold_accuracy(x, y): thresholds = np.unique(x) best_accuracy = 0 best_threshold = None for t in thresholds: mask = (x<=t) acc_below = np.mean(mask == y) acc_above = np.mean(~mask == y) accuracy = max(acc_below, acc_above) i...
[ "alex.rubinsteyn@gmail.com" ]
alex.rubinsteyn@gmail.com
965dafa5ccbd266991cbb533b7a53bcaf27119bb
97181bd72f65cb348a5331858d0e5e6708d1ffd9
/pipeline/alleleFinder/mergeAlleleTable.py
2276726474c32ddbda8e5c4062f7c3d664c27164
[]
no_license
wangyibin/TDGP
965adeb1d747b949e4e21080dd99408cdb84ba82
0b137d7b5fe4d26dac89e91f43583c69b943b1f8
refs/heads/master
2022-10-04T05:40:06.089546
2022-09-05T07:20:35
2022-09-05T07:20:35
187,630,451
4
5
null
2021-04-16T07:13:39
2019-05-20T11:49:48
Python
UTF-8
Python
false
false
4,926
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ merge allele table from synteny and gmap, and filter by blast. """ import argparse from logging import warn import os import os.path import sys import logging import warnings import pandas as pd import numpy as np import multiprocessing as mp from pandarallel import pa...
[ "738339463@qq.com" ]
738339463@qq.com
de3cc18d1c894c0e1ba9fd5c9f1d0c803416aa80
f7ddd86fa6657e4832bc07cb6b2ba393f5ec1291
/trainModel/chuangyu/ChuangYu.py
0ff95dfbd02009cca20536cb8f4ccf92d1c0bdfc
[]
no_license
czasg/NumCharCaptchaCode
b7438d5c06c0fb2c2f4fc5ebf54053f991cf5f3a
e8a7819d4c8f10de1665f9366c944e9285f8b624
refs/heads/master
2022-07-05T19:11:04.509427
2020-05-21T03:00:14
2020-05-21T03:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
# coding: utf-8 import base64 from model.cnn.CNN import CNN from trainModel.utils import catchErrorAndRetunDefault class ChuangYu(CNN): width = 139 # 图片宽度 height = 60 # 图片高度 labelLen = 6 rotate = [-3, 3, -6, 6] def __init__(self): super(ChuangYu, self).__init__() self.gatherMan...
[ "czasg0.0" ]
czasg0.0
c2b5279f960b5ea83198c8c71c1c0aa798f866eb
78ef0d7736075ee33ac4230f47c078bbf2b0e014
/joboffers/migrations/0002_auto_20211102_1725.py
5e6e8abf0e5445bd9141fc828a8e49aeec986808
[ "Apache-2.0" ]
permissive
PyAr/pyarweb
e22e9350bf107329e5a79c2368fb182958a134d2
5f88d1ea0cea9bd67547b70dc2c8bbaa3b8b9d03
refs/heads/master
2023-08-31T10:24:53.220031
2023-08-29T16:21:57
2023-08-29T16:21:57
17,032,696
64
108
Apache-2.0
2023-09-07T04:02:53
2014-02-20T19:28:31
Python
UTF-8
Python
false
false
1,427
py
# Generated by Django 3.0.14 on 2021-11-02 20:25 from django.db import migrations, models import taggit_autosuggest.managers class Migration(migrations.Migration): dependencies = [ ('taggit', '0003_taggeditem_add_unique_index'), ('joboffers', '0001_initial'), ] operations = [ mi...
[ "noreply@github.com" ]
PyAr.noreply@github.com
8ff4091acd023959002085d9fb24e56e3c9a9a57
21e724b3d1fd4a5b388eb65226e08849bf3acb82
/tmb/migrations/0004_auto_20200906_1638.py
45c444b2f4682809e31fbce2da187ec223c739a9
[]
no_license
rodrigues87/alimentostaco
671f55ec168199d0c287059b932584941f22642e
a3737f0d565fd8cf6e47b2e02bd4a6e84491570f
refs/heads/master
2022-12-14T21:09:26.549994
2020-09-12T06:55:07
2020-09-12T06:55:07
276,987,036
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# Generated by Django 3.0.8 on 2020-09-06 19:38 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('atividades', '0002_auto_20200906_1632'), ('tmb', '0003_auto_20200906_1631'), ] operations = [ migra...
[ "pedroh.mix@gmail.com" ]
pedroh.mix@gmail.com
54def98eca301b938e8e42ac66354c331b517118
7f66c66eb82b480e8a23ecbfb8613aae02cb50f7
/tests/core/web3-module/test_conversions.py
fd69882d554390c5af6349c753eed52982fc4150
[ "MIT" ]
permissive
y19818/web3.py
03ddedcfdbd4dde2c1a458b31f5e796509b3c7c6
32a85a287ab63220d1e0c06d77be74de595ff02f
refs/heads/master
2021-06-25T00:30:50.312173
2019-12-02T08:21:40
2019-12-02T08:21:40
225,276,093
0
0
MIT
2019-12-02T03:20:47
2019-12-02T03:20:47
null
UTF-8
Python
false
false
6,491
py
# coding=utf-8 import pytest from hexbytes import ( HexBytes, ) from web3 import Web3 from web3.datastructures import ( AttributeDict, ) @pytest.mark.parametrize( 'val, expected', ( (b'\x01', b'\x01'), (b'\xff', b'\xff'), (b'\x00', b'\x00'), (0x1,...
[ "y19818@gmail.com" ]
y19818@gmail.com
68bf89d2e8d1b965f3e84c1955eb27a602aea8e1
aee3816964945dce66298dce07ed68fa666d7e8b
/py_gnome/tests/unit_tests/test_utilities/test_weathering_algorithms.py
8eed7a2b71181f966a074ad8f3a97e345d24beef
[]
no_license
liuy0813/PyGnome
c0f06b74b921332a69847c4fa51f83b6cb2412e5
9d4a3f0eb00c9dbe18af1b76c5f326501654c180
refs/heads/master
2021-01-16T17:44:19.628127
2016-02-12T17:12:04
2016-02-12T17:12:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
#!/usr/bin/env python import numpy as np from gnome.utilities.weathering import (LeeHuibers, Riazi, Stokes, PiersonMoskowitz, DelvigneSweeney, ...
[ "james.makela@noaa.gov" ]
james.makela@noaa.gov
0db805146c6008d8160d3608f70456fbac618d08
5557ec6b8eebff21c22620e78554edf881cb44d3
/ssseg/cfgs/ccnet/cfgs_cityscapes_resnet101os16.py
cdb6203821f4bb576b8203f3649b1b1e0e055e2c
[ "MIT" ]
permissive
dongzhang89/sssegmentation
06a515f789e796f6fe5b28a8d78ebd921b08e960
65b547c2d2b72a51896ca0f1bcf56ea78ed0b89f
refs/heads/main
2023-02-09T02:01:47.865163
2021-01-05T13:47:59
2021-01-05T13:47:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,351
py
'''define the config file for cityscapes and resnet101os16''' from .base_cfg import * # modify dataset config DATASET_CFG = DATASET_CFG.copy() DATASET_CFG['train'].update( { 'type': 'cityscapes', 'rootdir': 'data/CityScapes', 'aug_opts': [('Resize', {'output_size': (2048, 1024), 'keep_rati...
[ "1159254961@qq.com" ]
1159254961@qq.com
380fb77f10f06f5c69266682378e83a5ec0e8306
7d326c33aa4bfe39962e802b981556369b893e8d
/sports/migrations/0001_initial.py
af928980efc5a9995845ea7e72fd78178bc84914
[ "Apache-2.0" ]
permissive
Yojanpardo/scout_sport
2d6d1406e1e4687a51b25c204b47a53f8aa1dc8d
28b031bcb5444e4e3a3e5a8baa04c7ecfcaeab70
refs/heads/master
2020-03-28T08:25:07.279438
2018-09-09T21:46:53
2018-09-09T21:46:53
147,963,890
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 2.1.1 on 2018-09-08 22:17 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Sport', fields=[ ('id', models.AutoField(au...
[ "yojan.pardo@gmail.com" ]
yojan.pardo@gmail.com