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
42c7c20a57cfd7667a3ee3a05e5ad7b229d4de70
79e1d04867c4298b23c907f92c7119e4bea8ef02
/allennlp/allennlp/training/learning_rate_schedulers.py
487e8be55e48131c234a59bfe62e3adf9db87fe7
[ "Apache-2.0" ]
permissive
ethanjperez/convince
53db0bcd978831799c68fe63ecb0c91473ec40c4
ccf60824b28f0ce8ceda44a7ce52a0d117669115
refs/heads/master
2023-01-08T09:12:16.722614
2021-11-03T18:50:30
2021-11-03T18:50:30
205,189,291
27
8
Apache-2.0
2023-01-05T22:43:12
2019-08-29T15:03:34
Python
UTF-8
Python
false
false
16,775
py
""" AllenNLP uses most `PyTorch learning rate schedulers <http://pytorch.org/docs/master/optim.html#how-to-adjust-learning-rate>`_, with a thin wrapper to allow registering them and instantiating them ``from_params``. The available learning rate schedulers from PyTorch are * `"step" <http://pytorch.org/docs/master/op...
[ "ethanperez18@gmail.com" ]
ethanperez18@gmail.com
c12ed3555353b036fbee254e5955d663e05c5577
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/tcp/const.py
3a42736c753ef8a6036d4568a0522b0ac67010f0
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
328
py
"""Constants for TCP platform.""" from __future__ import annotations from typing import Final CONF_BUFFER_SIZE: Final = "buffer_size" CONF_VALUE_ON: Final = "value_on" DEFAULT_BUFFER_SIZE: Final = 1024 DEFAULT_NAME: Final = "TCP Sensor" DEFAULT_TIMEOUT: Final = 10 DEFAULT_SSL: Final = False DEFAULT_VERIFY_SSL: Final...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
566a0739dd637ac3f992fb3bde87f6e86a163245
98b1956594921aeef6e4b3c0f5b15703c3eee6a7
/atom/nucleus/python/nucleus_api/models/notification_setting.py
8a24b850138171e7f281df812ece026cb33b2857
[ "Apache-2.0" ]
permissive
sumit4-ttn/SDK
d4db3dcac077e9c9508a8227010a2ab764c31023
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
refs/heads/master
2022-11-25T14:05:16.911068
2020-08-09T17:31:55
2020-08-09T17:31:55
286,413,715
0
0
Apache-2.0
2020-08-10T08:03:04
2020-08-10T08:03:03
null
UTF-8
Python
false
false
11,187
py
# coding: utf-8 """ Hydrogen Atom API The Hydrogen Atom API # noqa: E501 OpenAPI spec version: 1.7.0 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class NotificationSetting(object): ...
[ "hydrogen@Hydrogens-MacBook-Pro.local" ]
hydrogen@Hydrogens-MacBook-Pro.local
6ada1adbb78c2a1e0598d59d181a4cbf8af24c48
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/community/network/plugins/modules/network/cloudengine/ce_lldp_interface.py
648d9118d9dc54468208c42c118adcbb5d4733a0
[ "GPL-3.0-or-later", "GPL-3.0-only", "MIT" ]
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
70,008
py
#!/usr/bin/python # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distribut...
[ "sifang@cisco.com" ]
sifang@cisco.com
0571fd0e83d3c8cedd7d3130d18e0298230f8218
2c4763aa544344a3a615f9a65d1ded7d0f59ae50
/playground/test_fail/wscript
95c282a2af9a13a02b6175cb035208d83d474246
[]
no_license
afeldman/waf
572bf95d6b11571bbb2941ba0fe463402b1e39f3
4c489b38fe1520ec1bc0fa7e1521f7129c20f8b6
refs/heads/master
2021-05-09T18:18:16.598191
2019-03-05T06:33:42
2019-03-05T06:33:42
58,713,085
0
0
null
2016-05-13T07:34:33
2016-05-13T07:34:33
null
UTF-8
Python
false
false
1,163
#! /usr/bin/env python # encoding: utf-8 # Thomas Nagy, 2011 (ita) """ Map a compilation failure to a success status. People playing with C++ templates might need this. """ top = '.' out = 'build' def options(opt): opt.load('compiler_cxx') def configure(conf): conf.load('compiler_cxx') def buil...
[ "anton.feldmann@outlook.de" ]
anton.feldmann@outlook.de
792f0e26fb0531faa14be43065ca915945d46398
f771e83756436594a145bd7b80e5e5d8bca53268
/test_app/migrations/twitter/0002_auto_20180530_0935.py
7f522ac7dda3d0cc45602484943d733bdcf6df26
[ "MIT" ]
permissive
bnzk/djangocms-baseplugins
b76ed75460fbeacb62366935824d2bcfac52b25e
98e390482aa4facc35efe2412ff1603d85e2c8ba
refs/heads/develop
2023-06-17T23:55:41.574828
2023-06-09T09:22:01
2023-06-09T09:22:01
68,296,521
2
0
MIT
2023-04-17T09:18:11
2016-09-15T13:32:05
Python
UTF-8
Python
false
false
2,319
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-05-30 09:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('twitter', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "bnzk@bnzk.ch" ]
bnzk@bnzk.ch
f847203df4ede5b0fbb299394fd26184af8cdc8a
88ed6ed99589f7fb8e49aeb6c15bf0d51fe14a01
/049_group-anagrams.py
be39e43dcb820a52855a524f2c1fe18e6cb730a2
[]
no_license
ryeLearnMore/LeetCode
3e97becb06ca2cf4ec15c43f77447b6ac2a061c6
04ec1eb720474a87a2995938743f05e7ad5e66e3
refs/heads/master
2020-04-07T19:02:43.171691
2019-06-23T15:09:19
2019-06-23T15:09:19
158,634,176
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #@author: rye #@time: 2019/3/13 ''' 总结: 思路正解差不多,但是过不了,原因在于如果strs里有重复的字符串就无法处理。 还没想好怎么解决。 ''' class Solution(object): def groupAnagrams(self, strs): """ :type strs: List[str] :rtype: List[List[str]] """ arr = [] ...
[ "noreply@github.com" ]
ryeLearnMore.noreply@github.com
5aa4056b5a3b3b7562859e1199fa04a338390c39
5730110af5e4f0abe538ed7825ddd62c79bc3704
/pacu/pacu/core/model/analysis_fixture.py
392c070eabf6f44a81418eea1b412337f5febeca
[]
no_license
jzeitoun/pacu-v2
bdbb81def96a2d87171ca20b89c878b2f66975e7
0ccb254a658263b4fe8c80ea623f860cb7dc1428
refs/heads/master
2021-06-03T18:50:50.890399
2020-04-27T16:31:59
2020-04-27T16:31:59
110,889,657
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
# one = dict( # type=u'i3d', # title=u'First transplantation', # user=u'Sunil', # desc=u'The brain has the remarkable capacity to rewire its connections and thereby reorganize its function. In the juvenile brain, the plasticity of neuronal connections mediates the fine-tuning of a wide range of behavior...
[ "jzeitoun@uci.edu" ]
jzeitoun@uci.edu
c32eb96335d89570632c54e7cfe7bbea03eb18aa
b22205aa21ac51c7b14dfaab556eea1f8902a922
/bin/foamOutputDirs.py
e6882006845de0e8a6ce636f6f9e54ca763c15b1
[]
no_license
ewquon/pylib
a1c6a64a0127c5078e19f190ec252ccd00b5035e
c34afb2a13fc0075f95a43bac99219b25b3984a2
refs/heads/master
2023-07-12T11:32:31.671093
2023-06-21T15:59:15
2023-06-21T15:59:15
41,262,844
2
0
null
null
null
null
UTF-8
Python
false
false
615
py
#!/usr/bin/env python import sys import os dirs = [ dname for dname in os.listdir('.') if os.path.isdir(dname) ] dirlist = [] numlist = [] for d in dirs: try: step = float(d) numlist.append(step) dirlist.append(d) except ValueError: pass # sort list of floats indices = [i[0] for i in...
[ "eliot.quon@nrel.gov" ]
eliot.quon@nrel.gov
609a9ef66b72016bf583dc87d491d71c0fe4395e
18a0e8f672359f8f0e0e1b8a356e87627399be87
/testproject/settings.py
62082bdfc9780bf034cf882de53e64e6c9ab93ca
[ "BSD-2-Clause" ]
permissive
ptim/formulation
69ee3cf24981ded2552ef47f1c8ba999820e038d
2351cc85cd189c7029a35801a8f95e7450b175d3
refs/heads/master
2021-01-18T05:47:46.960270
2014-07-23T14:04:59
2014-07-23T14:04:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# test project django settings import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'name': ':memory:', }, } ROOT_URLCONF = 'testproject.urls' SECRET_KEY = 's3cr3t' INSTALLED_APPS = ( 'formulation', ) TEMPLATE...
[ "curtis@tinbrain.net" ]
curtis@tinbrain.net
3938f608cebd2d4198512b2979b0290982d04b86
6dfb7fe44b6c5bfb7feb5a101656e3d3402a621f
/simp_py_examples/course/SM1801/t012.py
a660e43c7dba6f39eeb873127d7ed0732ab05063
[ "MIT" ]
permissive
kcfkwok2003/Simp_py
11d6813fac83ab6309eb8efc22fcd8edde5b19b8
f75e66da01b45dc8688dda602f8b33d4258f0c31
refs/heads/master
2021-05-11T00:36:36.872754
2018-12-19T01:41:15
2018-12-19T01:41:15
118,306,332
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# t012.py from machine import Pin led=Pin(26,Pin.OUT) while True: led.value(0) # 0V time.sleep(1) led.value(1) # 3.3V time.sleep(1)
[ "kcfkwok@gmail.com" ]
kcfkwok@gmail.com
627a2e28b59cabee99cdbfa37daee24e496a77f5
561a032be5f4f37f40e49ed70740d167e3a12d56
/django_movie/movies/migrations/0002_auto_20210820_0202.py
cfcce499af7dc2452be06bb99ba4325e264a6a22
[]
no_license
Mazev/django_movie
6f3e0cfbd4e46431f03bd900a86cae4dca9f27f3
af5a194d5fb5a08a944358ba2226a2e1db2e137b
refs/heads/main
2023-07-12T21:11:07.410313
2021-08-21T16:38:58
2021-08-21T16:38:58
397,938,816
0
0
null
2021-08-21T16:38:58
2021-08-19T12:40:24
JavaScript
UTF-8
Python
false
false
1,270
py
# Generated by Django 3.2.6 on 2021-08-19 23:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('movies', '0001_initial'), ] operations = [ migrations.AlterField( model_name='movie', ...
[ "77510376+Mazev@users.noreply.github.com" ]
77510376+Mazev@users.noreply.github.com
be33e0ee19c20030f9a4e0d0e74e372a872cd5e7
784a030b7afb119b5b7024339117a33549db4d74
/taravel/locations/migrations/0002_auto_20160409_0001.py
526d2deaffc258d532fb5a657c28a7d49a7b052a
[ "MIT" ]
permissive
ad-m/taravel
bb136d789cf3a22ffe3744fe3cc273edd5c74640
4697ee51eec48ed8bb57d7b4a00f352f47e40ba0
refs/heads/master
2020-12-29T02:32:04.320280
2017-04-09T18:05:28
2017-04-09T18:05:28
55,809,856
0
0
null
2016-07-21T14:54:38
2016-04-08T21:10:20
JavaScript
UTF-8
Python
false
false
473
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-09 00:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('locations', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "naczelnik@jawnosc.tk" ]
naczelnik@jawnosc.tk
2d7fb17440dde49931c5efae141b324e970191e8
eab1756b01717e81537133400f36aea4d7a0876f
/yuxin_numpy/variable_fetch_bug_report.py
5e9afe5df43ac413eecfdf31779316e614e6e14c
[]
no_license
bearpelican/cluster
d677fe392ac1196b77e3f8fb79e530ec8371080f
2e316cf1def0b72b47f79a864ed3aa778c297b95
refs/heads/master
2020-03-21T06:52:57.514901
2018-08-10T10:20:26
2018-08-10T22:33:05
138,246,892
3
1
null
2018-06-22T02:51:07
2018-06-22T02:51:07
null
UTF-8
Python
false
false
5,162
py
# Run D2H and H2D benchmark with synthetic workload with feed-fetch step import tensorflow as tf import argparse import numpy as np import time import ray import os import portpicker import subprocess import sys import tensorflow as tf import threading import time import pickle from collections import OrderedDict...
[ "yaroslavvb@gmail.com" ]
yaroslavvb@gmail.com
66ea90b48965b0961d8c7d2105f84ad9a958f42f
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/stmt_for_list-48.py
50e53e7e7d2f5a49593f26d6b5dfdfb9e4cb9c7e
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
x:int = 0 z:[int] = None z = [1, 2, 3] for x in z: print($Parameters)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
28a011661f24c1229e4e973964de433c47835416
fd0328f6a5f78cfa80d61094517fa0f32943bb9e
/superlists/urls.py
902f87670539d653d465801868e9194a9774418b
[]
no_license
liangsongyou/superlists
3eee6ae492e89a13a54aec55f4b94c78c1fa049a
fd1704a14d18fe9fa7dc1074a172d9b0708ba1f3
refs/heads/master
2020-03-16T21:50:41.382819
2018-05-31T07:44:14
2018-05-31T07:44:14
111,548,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
"""superlists 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...
[ "yuebei58@gmail.com" ]
yuebei58@gmail.com
b92f292c218ba6dc7a54c573b10dc237a4ac6bff
7a0070b15636653f404c2b2b85d300e949db1fb2
/muglaSepetiApp/migrationsex/0033_auto_20200921_0209.py
8d9ec33af59cb6b3643d7afcc29b60c2de0cea8c
[]
no_license
furkankykc/MuglaSepeti
8d0f29faf8a868b159ca0d158cdb2e312784c626
58a650e68fd283baeaa0ae6716c8ea316b996c16
refs/heads/master
2023-01-08T22:15:00.878505
2020-11-09T21:18:13
2020-11-09T21:18:13
287,108,356
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
# Generated by Django 3.0.8 on 2020-09-20 23:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('muglaSepetiApp', '0032_auto_20200921_0208'), ] operations = [ migrations.AlterField( model_name='config', name='abou...
[ "furkanfbr@gmail.com" ]
furkanfbr@gmail.com
b26759a3ad30279cdb6e5e3d1504992e161eee56
9cbab916088192af67a19aaee25fe7d6e5d27a31
/file/create.py
255728651113829e6fdd6bb10971222ec7e3638c
[]
no_license
ddayzzz/Pythonlearning
806c75304d7d954f2c935031d4d7516be7ce7300
54e92aa5282da97b6d4bd2355a668a16c272ee68
refs/heads/master
2020-12-30T12:44:49.465356
2017-05-25T15:12:53
2017-05-25T15:12:53
91,356,527
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
361
py
#create py #coding=gb2312 import os,shelve,pprint selffile='createfile' selfptr=shelve.open(selffile) dic=[{'name':'Ãû×Ö'},{'USSR':'former soviet'},{'China':{'1':'china','2':'Chinese'}}] selfptr['dic']=dic crepy='create1.py' fptr=open(crepy,'a') fptr.write('#coding=gb2312\nimport pprint,shelve\nprint(pprint.pformat(she...
[ "wangshu214@live.cn" ]
wangshu214@live.cn
9124499c826b46e8fc759077b08027aae9b2d2d4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02709/s723829299.py
01a4d49022c1c656def13e678e9cfeee8f882cc1
[]
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
618
py
n=int(input()) a=list(map(int,input().split())) a=list(zip(range(n),a))#[index,a]の配列 a.sort(key=lambda x:x[1])#aの昇順で並べる dp=[[0 for i in range(n+1)]for j in range(n+1)] #dp[x][y]:=左にx、右にy人並べたときの最大値 ans=0 for k in range(n):# k人目まで終了、k+1人目に対して i,ai=a.pop()#aの大きいものから取り出す dp[k+1][0]=dp[k][0]+ai*(i-k) dp[0][k+1]=dp[0][...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4c8ab6bc0205d4424c71cea52b683546ac62f73b
c4313edda0f14795490080af1ba400b826611be8
/lib/Crypto.lin.x64/Crypto/SelfTest/Hash/test_SHA3_224.py
69128d9f74da2ba9b5b697ea56e7343ea0daab7a
[ "MIT" ]
permissive
tosher/Mediawiker
821a4eab9f812e820bab3a8f4d3f3d542d3aeafa
89c25d4fa6c6224edbaf5f06794a03594bcccad0
refs/heads/master
2023-07-06T02:45:05.924541
2023-07-01T18:32:09
2023-07-01T18:32:09
6,582,157
104
22
NOASSERTION
2023-09-14T18:00:30
2012-11-07T16:18:25
Python
UTF-8
Python
false
false
2,874
py
# -*- coding: utf-8 -*- # # SelfTest/Hash/test_SHA3_224.py: Self-test for the SHA-3/224 hash function # # =================================================================== # The contents of this file are dedicated to the public domain. To # the extent that dedication to the public domain is not available, # everyone...
[ "to.tosher@gmail.com" ]
to.tosher@gmail.com
19c10d17f3d2fb83cd470c70b8a4a7eaa4e2d4c5
5b5145ce47a6e14f342f21ba3752ab8823d8043a
/panoptes_aggregation/tests/reducer_tests/test_shape_reducer_fan.py
1e05d18634e45d2e3d228b12da528f8c96a1801f
[ "Apache-2.0" ]
permissive
isabella232/aggregation-for-caesar
335f40c801e2cd18e807b6f10d8228e9c659df97
9ce7616b60ab32b13791868ace1637801ea937e9
refs/heads/master
2023-03-20T08:21:44.889957
2020-12-14T11:54:55
2020-12-14T14:17:28
322,817,491
0
0
Apache-2.0
2021-02-23T23:28:33
2020-12-19T10:06:10
null
UTF-8
Python
false
false
6,281
py
from panoptes_aggregation.reducers.shape_reducer_dbscan import process_data as process_data_dbscan, shape_reducer_dbscan from panoptes_aggregation.reducers.shape_reducer_hdbscan import process_data as process_data_hdbscan, shape_reducer_hdbscan from .base_test_class import ReducerTest import copy extracted_data = [ ...
[ "coleman.krawczyk@gmail.com" ]
coleman.krawczyk@gmail.com
d3c4d7c5e6c299881eefffeaddcf06d19bd78463
4ccaf5252f5936414638f254ca5932ad922cd582
/ex034 - Aumentos multiplos.py
66bc546db7f4f138303f01e794b214d8ad0051a7
[]
no_license
carlosaugus1o/Python-Exercicios
b0a525436d7cf24e3fc9ccfd046278ad383eb01c
6216430dac9d5fc6fe3b75ae9625063d4971e419
refs/heads/main
2023-07-03T22:59:31.913494
2021-07-28T03:05:50
2021-07-28T03:05:50
390,193,957
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
salário = float(input('Informe o salário do funcionário: R$ ')) if salário < 1250: aumento = salário * 1.15 else: aumento = salário * 1.1 print('O novo salário do funcionário será de {:.2f}'.format(aumento))
[ "noreply@github.com" ]
carlosaugus1o.noreply@github.com
6f9bb16e2b0de1dc1aaabf69938acdcbe66f7819
b7d0f003cfb0ec6fa25f99d9f7b544dc38ae6aa8
/concept/greedy/fractionalKnapsack.py
a04a8c99034d44bba0bd5bf14a0d3aa537b69b91
[]
no_license
Kimyechan/dataStructureAndArgorithm
43c2cfa0d12a5c729f687d786ef6dde23bf193a7
c9f8f614621aee9e236ffef20e5e563b37bab0b3
refs/heads/master
2021-07-09T03:31:31.405725
2021-03-09T13:18:55
2021-03-09T13:18:55
231,402,629
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
data_list = [(10, 10), (15, 12), (20, 10), (25, 8), (30, 5)] def getMaxValue(dataList, capacity): dataList = sorted(dataList, key=lambda x: x[1] / x[0], reverse=True) detail = list() value = 0 for data in dataList: if capacity - data[0] >= 0: value += data[1] capacity...
[ "vlvkcjswo7@naver.com" ]
vlvkcjswo7@naver.com
eba37ec8db396d0c781197f2c79e8b1305138bf5
537e30c108e7a575cec1b7a9332439e1abac811d
/venv/bin/list_instances
c49900bc82f96c01a5302e64f08b84b988637fd1
[]
no_license
kangqiwang/extractOntology
d5401bb27603e94264d84ec41fc9e994ece92278
89b3d7bc1cf08ea8856cb9221448e988d4d2f992
refs/heads/master
2020-08-13T01:44:19.399402
2019-11-18T18:52:28
2019-11-18T18:52:28
214,881,034
0
1
null
null
null
null
UTF-8
Python
false
false
3,136
#!/home/kang/Project/myGit/extractOntology/venv/bin/python import sys from operator import attrgetter from optparse import OptionParser import boto from boto.ec2 import regions HEADERS = { 'ID': {'get': attrgetter('id'), 'length':15}, 'Zone': {'get': attrgetter('placement'), 'length':15}, 'Groups': {'ge...
[ "kangqiwang@outlook.com" ]
kangqiwang@outlook.com
0b001c9312d96ede3a0cf7bf4d0ba79d5db06435
13fbdd8f19c98c0b0295ae0c8d5dccd8c57761f5
/chapter_4_modeling/train_w2vclassify.py
ebf853a144074da1c4f30939c1c04e22e05362f1
[ "Apache-2.0" ]
permissive
gridl/voicebook
13a6d2ba7d9f0dd1786bb6fdabfefb14cc5b4924
1a889b443e81e56c48f5a5b4146370ea3d9f7bb1
refs/heads/master
2020-03-30T00:47:10.145422
2018-09-24T16:13:51
2018-09-24T16:13:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,158
py
''' train w2vclassify.py Author: @Jim Schwoebel Title: Train Word2Vec This script takes in two lists of sentences, which are then broken down to their respective words. Word2vec embedding models are then created for each of these lists in numpy arrays. Now, we have two word2vec models we can use for machine learning...
[ "noreply@github.com" ]
gridl.noreply@github.com
e8d97fc8a462b5ec994919115a9da2beb1399e1e
f8967772b9c67b3917285e5c14ff0c26440c75ad
/p_code/for.py
f4319f51509e38e57cfff177e4c91bdcb0e10193
[]
no_license
mdAshrafuddin/python
9302b5285f5f83ee4e03c001b2fa1234a54affbf
ae84e5c677a649c9916af38e60d91491b498a36f
refs/heads/main
2023-02-17T13:56:19.855635
2021-01-13T16:45:17
2021-01-13T16:45:17
329,363,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
# # for target_list in expression_list: suite # # [else:suite] # # n = [1, 3, 5, 6] # for i in range(10): # print(i) # if i == 5: # break # # # string, tuple or list # # persion = ["AShraf", 'tanjil', 'tamim', 'asj'] # # for p in persion: # # print(p, len(p)) # phone_book = { # "Mom": "123-...
[ "mdtanjil01753511918@gmail.com" ]
mdtanjil01753511918@gmail.com
5f43704fc9571b6699a66ef7258a37a6851a5d9f
d4adf8e72bfc767bb6ad32e81a2d24a0309d90b7
/Clients/Python/DBSAPI/UserExamples/dbsUpdateLumiSection.py
e7cdc9a58acf08ed3e61d61816c2246ec9745685
[]
no_license
dmwm/DBSAPI
5c55dd10161a1bb1fb6f646ca92dd3c4f263a256
3117ac30672a1932cef4606fbf7693ce4952b79d
refs/heads/master
2021-01-21T19:28:22.329112
2013-10-30T12:07:54
2013-10-30T12:07:54
13,984,999
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
#!/usr/bin/env python # # Revision: 1.3 $" # Id: DBSXMLParser.java,v 1.3 2006/10/26 18:26:04 afaq Exp $" # # import sys from DBSAPI.dbsApi import DbsApi from DBSAPI.dbsException import * from DBSAPI.dbsApiException import * from DBSAPI.dbsLumiSection import DbsLumiSection from DBSAPI.dbsOptions import DbsOptionParser ...
[ "giulio.eulisse@cern.ch" ]
giulio.eulisse@cern.ch
0f71e7d1375a7e6b6ec28cf3c3c93b812af90331
33af6185b48bd76f97f0a74390a3a812ee216c78
/angr-doc/examples/mma_howtouse/solve.py
590cbe00ab75741931603ffef1f242a6c027b2ee
[ "BSD-2-Clause" ]
permissive
Ruide/angr-dev
dab0cabd907fce47ac698f890c3f3a8b80ab7e2a
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
refs/heads/master
2022-11-10T11:27:13.355024
2017-10-07T14:29:09
2017-10-07T14:29:09
104,417,044
0
1
BSD-2-Clause
2022-10-16T04:48:10
2017-09-22T01:35:12
C
UTF-8
Python
false
false
1,329
py
#!/usr/bin/env python # # This binary, from the MMA CTF, was a simple reversing challenge. THe biggest # challenge was actually *running* this library in Windows. Luckily, with angr, # we can avoid having to do this! # # The approach here is to use angr as a concrete execution engine to call the # `howtouse` function ...
[ "rd.cheung.bupt.sms@gmail.com" ]
rd.cheung.bupt.sms@gmail.com
fdf6a8987be76bdec8c219e115f22fc45208bdc9
c41bbe6374d896c6bb36fe6c94a83f474388214e
/train.py
079bc9699d85b1dd9a766040f43a84bc48c4fd4a
[]
no_license
DableUTeeF/sift_rep
dce8f0d15d80a7d41b7f97480eb13ef744806888
922109478bd33e7e3de74e352a99023ef479bcbf
refs/heads/master
2020-04-24T16:28:24.124287
2019-02-22T17:38:40
2019-02-22T17:38:40
172,108,298
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
import natthaphon import models import datagen from torch import nn, optim import json import os def lrstep(epoch): if epoch < 150: a = 0.05 elif 150 < epoch < 225: a = 0.005 else: a = 0.0005 print(f'Epoch: {epoch+1} - returning learning rate {a}') return a if __name__ ==...
[ "palm22180@gmail.com" ]
palm22180@gmail.com
129fa6a2abc715f1b035273b3ccc5bae8d183bf9
fe3bc38d2a9f80a6b258e2c61dbe4557323a1d71
/corehq/apps/smsbillables/management/commands/add_moz_zero_charge.py
3d49a8b4d97eb67199c33df40d022eb1d8355668
[]
no_license
ekush/commcare-hq
077eb3f525ffb7d1acca0848b9c7678baf776832
97a1f55f24f79224724b2ecdc7d5cea87d42f65b
refs/heads/master
2021-01-17T22:25:09.734898
2015-08-25T23:07:49
2015-08-25T23:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
from decimal import Decimal import logging from couchdbkit import ResourceNotFound from django.core.management.base import LabelCommand from corehq.apps.accounting.models import Currency from corehq.apps.sms.backend.http_api import HttpBackend from corehq.apps.sms.models import INCOMING, OUTGOING from corehq.apps.sms...
[ "npellegrino@dimagi.com" ]
npellegrino@dimagi.com
36012a75fd7fc8f9abd7cf667e21753bedc9c361
c8362b6beb84577a89b90fa729beec35c094cf96
/generate_json.py
9e7aece6f258377d56e8c121de372110e0547509
[]
no_license
akx/twitter-swagger-api-defs
651f4117341fb5476e586a93940b5f663ec9e4f5
0fbb55527a990df35ebe659d7adcfbcab4ab123a
refs/heads/master
2016-09-05T22:19:51.440050
2013-06-04T16:31:23
2013-06-04T16:31:23
10,478,163
1
5
null
null
null
null
UTF-8
Python
false
false
2,929
py
import os import re import urlparse from lxml.html import HTMLParser from lxml import etree url_param_re = re.compile(r":([a-z_]+)", re.I) def inner_text(el): if not el: return None if isinstance(el, list): el = el[0] return etree.tostring(el, method="text", encoding="UTF-8").decode("UTF-...
[ "akx@iki.fi" ]
akx@iki.fi
5393132b63d05209be58fd2eecf5fdb158d8cfab
8cf9c32fcad16c4109809447a530b435d290aa25
/desktop/libs/notebook/src/notebook/connectors/altus.py
c5b7c4646ffa65ca93d8617617fa8b39dfbde67d
[ "Apache-2.0" ]
permissive
veritascl/hue
38618e923d43bc167be6dd15c9d4b084758655d3
ceb267982049638d306aff975bf0c9572db1560d
refs/heads/master
2020-03-26T13:57:57.673750
2018-08-15T16:27:06
2018-08-15T16:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,082
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "romain@cloudera.com" ]
romain@cloudera.com
6b48c0a42b044f51c67f1fc12bca48691e1a126d
f594c17d04a882d80d0cc2bbcb54163fbeca0aa8
/geotagging/fixes/gis/admin/options.py
f98e796036a2cbe5a280338ce47b51b5a5287cea
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
AlphaRomeo13/django-geotagging
9f3752c16260d4eab3592975ac9930ebe87f9244
c846bdb82556a64e16ba08730c85921c66ca01eb
refs/heads/master
2021-01-12T09:22:11.384120
2016-12-11T18:23:59
2016-12-11T18:23:59
76,152,012
1
0
null
2016-12-11T03:30:44
2016-12-11T03:30:44
null
UTF-8
Python
false
false
6,161
py
from django.contrib.admin.options import BaseModelAdmin, InlineModelAdmin, \ StackedInline, TabularInline from geotagging.fixes.gis.admin.widgets import OpenLayersWidgetFixed as OpenLayersWidget from django.contrib.gis.gdal import OGRGeomType from django.contrib.gis.db import m...
[ "pete@lincolnloop.com" ]
pete@lincolnloop.com
047ee7629aacfb019abe87491bacab106a583b03
efb7180c05964aee07756dbd4f9982f81559d7e3
/TradeBot/tradebotapp/admin.py
d151aa6b4efce4984dc6473207db707c1514746f
[]
no_license
ShunnoSaiful/Trade-Bot
920ba75225d921f54530fc9f0d10a8eb9eabdaaf
d07489dea5fcf1d1d51a918a3127f620682107f2
refs/heads/master
2022-11-24T08:22:00.946773
2019-10-29T05:20:08
2019-10-29T05:20:08
218,207,062
0
0
null
2022-11-22T04:18:04
2019-10-29T04:54:41
JavaScript
UTF-8
Python
false
false
372
py
from django.contrib import admin # Register your models here. from .models import Question, Answer, Plan, Description, Download, Section, FeatureCategory admin.site.register(Question) admin.site.register(Answer) admin.site.register(Plan) admin.site.register(Description) admin.site.register(Download) admin.site.regis...
[ "sunnosaiful@gmail.com" ]
sunnosaiful@gmail.com
f8fbeb582f0bc1475af2524ec4a330871d14c9f0
98efe1aee73bd9fbec640132e6fb2e54ff444904
/loldib/getratings/models/NA/na_maokai/__init__.py
d2c95d6f119c057f7496b2ef8fedde90603c8eda
[ "Apache-2.0" ]
permissive
koliupy/loldib
be4a1702c26546d6ae1b4a14943a416f73171718
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
refs/heads/master
2021-07-04T03:34:43.615423
2017-09-21T15:44:10
2017-09-21T15:44:10
104,359,388
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from .na_maokai_top import * from .na_maokai_jng import * from .na_maokai_mid import * from .na_maokai_bot import * from .na_maokai_sup import *
[ "noreply@github.com" ]
koliupy.noreply@github.com
c2c263958c80fabd4c1e349cb2fe676374cc2a1d
36fc492ad0d36e9d4a4452007d57c733a84ccaac
/python_programming_drive/mixed/list/List funtion.py
4b832abee986c92c6691bdb575dd49dc49ed18bb
[]
no_license
mahmudgithub/Core-python
864568994490f857ba89e2c66fbf10a65a4aea98
c37cb4218fe1e216a4e3e80544cae262582cf4b5
refs/heads/master
2023-04-29T02:14:47.106443
2021-05-14T12:36:26
2021-05-14T12:36:26
346,885,590
1
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
# creat a simple list method list=[2,3,4,5,6,7,8,9] print(list) mh=[2,3,4,5,6,7,8,9] print(mh) #list into list or sub list list=[2,[3,[4,4,[5,5,5],4],3],3,4,5,6,7,8,9] print(list) # find similar cherecter in a list list=[2,3,4,5,6,7,85,5,5,5,9] x=list.count(5) print("similar cherecter in list is:",x) #find index nu...
[ "mahmudhossain838@gmail.com" ]
mahmudhossain838@gmail.com
75b5118bb015d733e8457babdce95cce98f80cd9
f177033785079d752502a6f91035e645b52d6416
/env/lib/python3.7/operator.py
d2a83d688f25048acd75c31699bafd9fd6b13203
[]
no_license
ousamasama/Django-Exercise-14
18d00d563e29df7804664ac33cd1de5966a10126
ecd023c2915e5c3b85614d857c916cd6a2b36316
refs/heads/master
2020-04-17T19:40:05.540532
2019-01-24T21:22:32
2019-01-24T21:22:32
166,873,826
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
/Users/sama/.pyenv/versions/3.7.1/lib/python3.7/operator.py
[ "ousamasama@gmail.com" ]
ousamasama@gmail.com
d4b595bf7439bdd8d1befa931a7f24802be5c9ee
4e02eefa71196aac8d62a61e3d698b1d1257a523
/豆瓣电影词云/爬取豆瓣影评生成词云.py
378f32ac017fa8828f836d40976b8a828b7d8472
[]
no_license
onism7/spider
e7723f9cc8727184b0edf468c8821b57a80af501
5a0fe16f367876ab5f63aa7737a9e0a0efdb3b09
refs/heads/爬虫学习
2023-04-04T23:59:02.385924
2020-07-05T15:10:08
2020-07-05T15:10:08
268,724,369
1
0
null
2021-03-30T12:10:27
2020-06-02T06:54:24
null
UTF-8
Python
false
false
2,951
py
import jieba.analyse import re from urllib import request from bs4 import BeautifulSoup from wordcloud import WordCloud import matplotlib.pyplot as plt headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36'} # 分析网页函数 def getNo...
[ "1125699801@qq.com" ]
1125699801@qq.com
6296f20f61cae4491766f0d1526cc1ef1f53687d
26be744685a62eb921e4d27f5c98cd4dd795a5b8
/start_gui_for_nodes.py
31dd718d98096eecc4a2f0c238c00731633603ff
[]
no_license
AlexDobrushskiy/python_layer
51c7b736eb8997ede2d24899020b565ca11c4153
5ed47f2eacf920cfb285d0763a9170abfe5f5e95
refs/heads/master
2023-01-11T19:57:39.854724
2019-03-06T11:29:03
2019-03-06T11:29:03
173,755,304
0
0
null
2023-01-01T05:00:06
2019-03-04T14:00:08
Python
UTF-8
Python
false
false
1,234
py
# -*- coding: utf-8 -*- import multiprocessing import logging import sys from core_modules.blackbox_modules.keys import id_keypair_generation_func from core_modules.masternode_discovery import discover_nodes from client_prototype.cefpython.cefpython import start_cefpython def initlogging(): logger = logging.ge...
[ "a.dobrushskiy@gmail.com" ]
a.dobrushskiy@gmail.com
696f5774d6985530bf8dfb8702b191a2694bb9eb
8000eb88e4ebc6f4357632a58d3b2f4c67a5aa46
/flask测试/wenjian/测试类2.py
dbbcc24aaa89cca305b6e0d4c19e1f366a3492e2
[]
no_license
cao-xing/project
0f38b86716bce7c8512283ee6203dff54bc17504
26db564c1bdb903796ae2c1213376239ae39e4c2
refs/heads/master
2021-09-05T01:03:45.385542
2018-01-23T07:58:45
2018-01-23T07:58:45
114,438,898
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
#!/usr/bin/env python # -*- coding: utf-8 -*- def helloworld(): print("这是测试类2")
[ "38168722@qq.com" ]
38168722@qq.com
983aa700f8495ac6e419b73ea7de4a40ea515472
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/925.py
469e68f78efb9387f7b68d65ff2ee906763fbb7b
[]
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
523
py
raw_alphabet = "yhesocvxduiglbkrztnwjpfmaq" alphabet = {} for i in xrange(len(raw_alphabet)): alphabet[chr(ord('a') + i)] = raw_alphabet[i] def decrypt(text): output = "" for c in text: if alphabet.has_key(c): output += alphabet[c] elif c != "\n": output += c ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5a5dfeb589e1fc91b46155e11a6c53bb8daeb886
a04b5e853fda50a1af5d6d0102624770958898c4
/piecash/core/transaction.py
906e37a6ba0974188460364bc506004c3f3913eb
[ "MIT" ]
permissive
drummonds/piecash
7f7aa841d6d172a8aa6e82aa2f8a377fa2cb43d1
82b8e5dad79a749136c9b148c35477a06b1c7692
refs/heads/master
2020-12-25T22:36:41.616805
2016-03-19T10:38:27
2016-03-19T10:38:27
53,066,050
0
0
null
2016-03-03T16:36:18
2016-03-03T16:36:18
null
UTF-8
Python
false
false
19,144
py
import datetime import uuid from collections import defaultdict from decimal import Decimal from sqlalchemy import Column, VARCHAR, ForeignKey, BIGINT, INTEGER from sqlalchemy.orm import relation, validates, foreign from sqlalchemy.orm.base import NEVER_SET from .._common import CallableList, GncImbalanceError from .._...
[ "sdementen@gmail.com" ]
sdementen@gmail.com
783baa95357f68bfd54d8de1f7a78e0eb040e477
d2c80cd70f3220165c7add7ed9a103c0ed1ab871
/python/HOMEWORK/3rd-4th_Session/Answers/Class/1/T-1.py
613da30acc5698289383cf02ced274be749c1997
[]
no_license
nervaishere/DashTeam
2a786af8a871200d7facfa3701a07f97230b706e
a57b34a601f74b06a7be59f2bfe503cbd2a6c15f
refs/heads/master
2023-08-24T12:24:18.081164
2021-10-09T21:10:54
2021-10-09T21:10:54
393,689,874
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
x=input("Enter first Number:") print(int(float(x)))
[ "athenajafari34@gmail.com" ]
athenajafari34@gmail.com
cf68c743a79485c7d70e3f054c624e33b93dcc81
c67627680973129e8f3cefa8778c12366a11621d
/test/unit/test_cli_utils.py
66c58c5a02653b51c83d59eb27445f65f8f79dd7
[ "Apache-2.0" ]
permissive
eprtvea/curator
f3fb0d5a02f3ed33c23da5153f8e192609b75f62
f6d25bca20d66437d367956c812988c6d88431c4
refs/heads/master
2020-12-01T01:08:35.279466
2016-02-11T00:34:22
2016-02-11T00:34:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,565
py
from datetime import datetime, timedelta from unittest import TestCase from mock import Mock import sys import click from click import testing as clicktest import logging logger = logging.getLogger(__name__) import curator named_indices = [ "index1", "index2" ] named_alias = 'alias_name' alias_retval = { "pre_...
[ "aaron@mildensteins.com" ]
aaron@mildensteins.com
d4179f61ac0365aa5d0843892018d942a29ed243
e972dc486e62152981177f85b5f9cff919ac0867
/sams/tmp/category_db.py
744d848a0aa3b864e1139359886c0c5aed4d9f96
[]
no_license
yeongsunpark/cute
d81b9b03f747f65bed742b10b2f9a59f69efea96
d69f918f9a1f1d6db70bc62272fc0ce582d7bf50
refs/heads/master
2020-03-27T12:43:41.728918
2019-04-29T04:41:47
2019-04-29T04:41:47
146,564,948
0
2
null
2018-11-06T07:45:59
2018-08-29T07:52:20
Python
UTF-8
Python
false
false
5,664
py
import os, sys import pymysql import logging import ys.cute.sams.ys_logger as ys_logger import concurrent.futures sys.path.append(os.path.abspath('..')) logger = logging.getLogger('root') logger.setLevel("INFO") logger.addHandler(ys_logger.MyHandler()) logger.info("Finish setting logger") class SquadDb(): def ...
[ "ylunar@naver.com" ]
ylunar@naver.com
54f3b6909a21adf8a488b8156ea3dd3eff4e9bce
f2428051b3f7d77dc4cb2d61ee18cc31fe5eaa67
/tiddlywebplugins/docs.py
2afab067e1c13c5fcb7bb688dd7bb7e5300c03c6
[ "BSD-3-Clause" ]
permissive
tiddlyweb/tiddlywebplugins.docs
b306ab081957c81c0f172fd2a11752f3f3252842
af5df2369c794fea6f44ff8823f9ab0958909a80
refs/heads/master
2021-01-18T23:48:12.217948
2011-11-10T17:18:35
2011-11-10T17:18:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,898
py
""" Autogenerate TiddlyWeb API docs via a serialization. """ from tiddlyweb.serializer import (Serializer, NoSerializationError, TiddlerFormatError, BagFormatError, RecipeFormatError) from tiddlyweb.serializations import SerializationInterface from tiddlywebplugins.templates import get_template import urllib ...
[ "chris.dent@gmail.com" ]
chris.dent@gmail.com
44b136ab3b9b77bb0ad55b20ac6da575b4601836
4fca17a3dbc3e74ba7e46bd7869eb6d138e4c422
/_1725_Number_Of_Rectangles_That_Can_Form_The_Largest_Square.py
ae7a0dd9651d89effd3109888fcae48736d25659
[]
no_license
mingweihe/leetcode
a2cfee0e004627b817a3c0321bb9c74128f8c1a7
edff905f63ab95cdd40447b27a9c449c9cefec37
refs/heads/master
2021-06-19T07:46:46.897952
2021-05-02T05:13:17
2021-05-02T05:13:17
205,740,338
3
0
null
null
null
null
UTF-8
Python
false
false
252
py
from collections import Counter class Solution(object): def countGoodRectangles(self, rectangles): """ :type rectangles: List[List[int]] :rtype: int """ return max(Counter(map(min, rectangles)).items())[1]
[ "hemingwei2017@gmail.com" ]
hemingwei2017@gmail.com
8ca7c327e6dcb11955cc3b53b864c85fe94c2207
f250ee8189a91b9cc12d57665dfb09a34c343d38
/setup.py
16512f4d5054ee5e87cb774f96dd7d384736f418
[]
no_license
duckworthd/optim
4abb64b74c8df32175580b70d450963dbd099865
510e8fb81342fb145e140194dad0957724d124f7
refs/heads/master
2021-01-25T08:38:39.295589
2014-07-21T05:22:18
2014-07-21T05:22:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
from setuptools import setup, find_packages import os def version(name): fname = os.path.join(name, '_version.py') environ = {} execfile(fname, environ) return environ['__version__'] if __name__ == '__main__': NAME = 'optim' setup( name = NAME, version = version(NAME), author ...
[ "duckworthd@gmail.com" ]
duckworthd@gmail.com
99216479731815d1597e49465789a7c49782de16
345fdc5971db81240722901cbd1fef619b271676
/chapter8/snippets/views.py
4690d46532cbffce84863775e9a821a8b80a8d38
[]
no_license
hisakin/practical-django
093c449f42fe428320f5dce80db5b6708619e45d
a25e00d6283e1eb7a79728bbb99141f13c0f4692
refs/heads/main
2023-07-30T15:37:26.492059
2021-09-16T14:49:57
2021-09-16T14:49:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect, get_object_or_404 from django.http import HttpResponse from snippets.forms import SnippetForm from snippets.models import Snippet def top(request): snippets = Snippet.objects.all() context = {"snippets": ...
[ "contact@c-bata.link" ]
contact@c-bata.link
9819935bdeb231eee38a6eb8298167a33dd66791
a9b24a31f27afc42736d923b7ba4df300e13a8cf
/qidian_book/start.spec
06a4f3fef319e84fc683ec0a381d53cd51f3024f
[]
no_license
520wsl/python-scrapy-test
8dcb216a91c8f03266ae29d3b9590b124088eb67
2f93e161c849aabfe9efb90e719906c9ae5bee1c
refs/heads/master
2022-12-13T00:47:44.177505
2020-05-23T05:05:57
2020-05-23T05:05:57
184,033,077
2
0
null
2022-12-08T05:25:05
2019-04-29T08:40:13
HTML
UTF-8
Python
false
false
823
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['start.py'], pathex=['E:\\GIT\\python-scrapy-test\\qidian_book'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_...
[ "395548460@qq.com" ]
395548460@qq.com
3bf2cae52d2734325db33a0646b8d648195c5ee6
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc054/A/4891080.py
da5c0c65d36312ef415307fd75b5c38f13c0880a
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
185
py
A, B = map(int, input().split()) if (A == B): print('Draw') elif (A == 1): print('Alice') elif (B == 1): print('Bob') elif (A > B): print('Alice') else: print('Bob')
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
b2b7dee8ab41cc55ea64d657f49a4921db71a32e
ffbc91f86fcb9331f124dfc3d02caa44c1c93a3a
/06_train/src/tf_bert_reviews.py
d3667fecb8be0301d3d9f8094de0f3fae0060251
[]
no_license
Alberto2K/workshop
69c2713712d9d042ca790bde8b919265c5716394
ac001b604510845d45adbd97cc87a2dc702529b7
refs/heads/master
2021-05-25T17:47:17.506596
2020-04-07T05:22:02
2020-04-07T05:22:02
253,852,888
1
0
null
2020-04-07T16:36:34
2020-04-07T16:36:33
null
UTF-8
Python
false
false
15,260
py
import time import random import pandas as pd from glob import glob import argparse import json import subprocess import sys import os import tensorflow as tf #subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'tensorflow==2.0.0']) subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'transformer...
[ "chris@fregly.com" ]
chris@fregly.com
b1fa11cb1e9e3e99ea81b0ac5ea8466267d71a9a
f4ff27b8a5ab314659925eaf4be83151a1846bb5
/cachetools_ext/fs.py
744ff797e789a18e0a734d98e990346eb2afa9bd
[ "MIT" ]
permissive
thanakijwanavit/cachetools_ext
0e9934ad9d264f3eb157d20973ed1c2751501e57
4355393d660c047ef3a286411f17795905476c91
refs/heads/master
2023-02-09T04:42:43.904587
2021-01-06T01:45:57
2021-01-06T01:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,429
py
import datetime import os import pickle import shutil from collections.abc import MutableMapping from pathlib import Path from typing import Any, Optional, Union class FSLRUCache(MutableMapping): """Filesystem LRU cache with optional TTL""" def __init__( self, maxsize: int, path: Opti...
[ "github@oliverrice.com" ]
github@oliverrice.com
10a042b54434cd65b7b1f5ac8d959ac31181fc38
a3e626f9893982c549d1f8d98237e9601c2ddfef
/importXPZcurve.py
9ca5f8b16b7eab9faf2fd57411761780b9f48b31
[]
no_license
richstoner/connectivity-blend
e515ef19e57179cdd30c98aa235f3feb586095c0
dae27b67e6de58a33354b200b34cf045d37fa035
refs/heads/master
2020-04-25T22:20:33.640843
2013-09-24T18:22:36
2013-09-24T18:22:36
8,784,866
1
0
null
null
null
null
UTF-8
Python
false
false
7,333
py
print("Hello") from mathutils import Vector import bpy import glob import csv import math import struct import os import urllib.request w=1 def clearAllCurves(): # gather list of items of interest. candidate_list = [item.name for item in bpy.data.objects if item.type == "CURVE"] # select t...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
59afa20535e5200ed4863696e830c84019f868a0
67f86bb3d09cbc86cac698b3f0abaf01457a966a
/master/nameko-master/nameko-master/test/standalone/test_event_dispatcher.py
52657eb8d8a0c8264c82b40e327629c03d339992
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
tied/DevArtifacts
efba1ccea5f0d832d4227c9fe1a040cb93b9ad4f
931aabb8cbf27656151c54856eb2ea7d1153203a
refs/heads/master
2020-06-06T01:48:32.149972
2018-12-08T15:26:16
2018-12-08T15:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,942
py
import pytest from amqp.exceptions import NotFound from mock import Mock, patch from six.moves import queue from nameko.amqp import UndeliverableMessage from nameko.events import event_handler from nameko.standalone.events import event_dispatcher, get_event_exchange from nameko.testing.services import entrypoint_waite...
[ "alexander.rogalsky@yandex.ru" ]
alexander.rogalsky@yandex.ru
949312734036c00781d898b942bfafcd063a4d23
a3fba5e8ecc502ff262b737d05f5b719e1cd4148
/SlackWorkflows.py
87db380e13a643f85a2702bae0537fe51abd266a
[]
no_license
cthacker-udel/Python-Slack-API
6eccfbd97d564c4d8d4325fba22fab4db721a146
1bee3d77c4bf3179a348e83d760284bab3c13d24
refs/heads/master
2023-06-16T15:23:46.224602
2021-07-15T06:13:51
2021-07-15T06:13:51
378,105,544
1
0
null
null
null
null
UTF-8
Python
false
false
987
py
from SlackClient import SlackClient class SlackWorkflows(SlackClient): def __init__(self): self.workflow_step_execute_id = None self.outputs = None self.inputs = None self.step_image_url = None self.step_name = None def generate_queries(self): body = {} ...
[ "cthacker@udel.edu" ]
cthacker@udel.edu
eb8e8ca7dac3dc3988a7a6219e8a6e4e15e4a9af
0cba5529e387ba0f077b4e8ddeb96f914004f5df
/setup-gpu.py
3bc6c47fe699a7d4a30bdddecd315bf0b0a3e42e
[ "MIT" ]
permissive
AsyrafAzlan/Malaya
dc78398ee6880578f40c5646a48882a5913217ae
3d5166173cf74881f7a56fffaaf391813c55d4f1
refs/heads/master
2021-05-21T22:47:41.863857
2020-04-03T15:00:21
2020-04-03T15:00:21
252,841,526
1
0
MIT
2020-04-03T21:04:44
2020-04-03T21:04:44
null
UTF-8
Python
false
false
1,367
py
import setuptools __packagename__ = 'malaya-gpu' setuptools.setup( name = __packagename__, packages = setuptools.find_packages(), version = '3.4', python_requires = '>=3.6.*', description = 'Natural-Language-Toolkit for bahasa Malaysia, powered by Deep Learning Tensorflow. GPU Version', autho...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
92eaf915624d637170e3361fa06c58d5ed27e110
0c8a267966edd260177106beb04daad8622ba07f
/enron_dataset_project/finance_regression.py
9419f85914fa454b4f6b9321f0eee48201439ef3
[]
no_license
BrianSipple/Machine_Learning
9665cec5ba9cc94e0dc06db346ddf18cff19d6a6
f0848183dba64000ff26a32ec45e97531d2bc758
refs/heads/master
2021-01-19T00:44:21.123062
2015-02-09T04:17:40
2015-02-09T04:17:40
29,520,532
1
0
null
null
null
null
UTF-8
Python
false
false
8,377
py
#!/usr/bin/python """ Loads up/formats a modified version of the dataset (modified, as in "outlier-free" for this particular exercise) Dcatterplot of the training/testing data """ import numpy as np import math import sys import pickle from sklearn.cross_validation import train_test_split sys.path.appe...
[ "Bsipple57@gmail.com" ]
Bsipple57@gmail.com
e8d1c7aff054a58b187c129b972d475533373d3d
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/if9.py
eee16a6339bdc8ad546573f44e5ee7a5852583ba
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
a34fa47c41a776883e5322039c8a4ea490ae734f
f2604a924b5cc6638dba6e246a6aea38d335f3b1
/gym_splendor_code/envs/mechanics/splendor_observation_space.py
fab06fe86b21933bdca0b151313882be48691a6b
[ "MIT" ]
permissive
StanczakDominik/gym-splendor
379507c066dc8756f5514c3760000bed6bf28020
b7d6b0356d96ad1c528371f52412b81687a0ecc6
refs/heads/master
2020-08-28T00:38:06.076814
2019-10-25T13:09:17
2019-10-25T13:09:17
217,536,093
0
0
MIT
2019-10-25T13:09:40
2019-10-25T13:09:39
null
UTF-8
Python
false
false
2,426
py
from gym.spaces import Space class SplendorObservationSpace(Space): """This class contains all information we want to share with the agents playing Splendor. The difference between SplendorObservationSpace and State is that State contains all information about the state of game (including list of cards th...
[ "tomeko314@gmail.com" ]
tomeko314@gmail.com
35a57323cabffcc1db0210600ddf6b6b8f538a2c
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba2727.pngMap.py
54977ad5cb30d2621c02168724fee4cc2592bd28
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba2727.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
ac4dad4eb9fe62c08acc70ad3022a95b11ea530d
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/aptamers_mlpd/simulation/utils.py
addb9740cbb0a633a07ab031f48e0ace1eddf5c8
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
3,197
py
# coding=utf-8 # Copyright 2022 The Google Research 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 by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
c98ff5d1a2f8fc0e63b88fcd46ef26943ecb54f6
419e095e38b0c9cf9591d0333a89de1781bf8edf
/CodeUp/6051 : [기초-비교연산] 정수 2개 입력받아 비교하기4(설명).py
7ab36ee4b3c703e907114c32a9e3a02ec6f9214e
[]
no_license
mjxong/CodingTest
bc6b7f9e48b9ccb9ae16b6f12d611a805e978b28
5fc9e5f1dec6214a16658f0ff69d2d6b807dc489
refs/heads/master
2023-03-28T23:16:29.270628
2021-04-04T11:20:50
2021-04-04T11:20:50
352,362,494
1
0
null
null
null
null
UTF-8
Python
false
false
44
py
a, b = map(int, input().split()) print(a!=b)
[ "replituser@example.com" ]
replituser@example.com
a7d3deb5e20d6442018c8bb519bec6820cd71cf0
e3eead40e93fdf5186269536edefab4f08e9a5a2
/LeetCode/393-utf8_validation.py
9d69670d9f142e05f0ee5a6645188ff7b8527595
[]
no_license
davll/practical-algorithms
bbc930b42363cae00ce39e8a686854c19131d334
0e35e4cc87bd41144b8e34302aafe776fec1b356
refs/heads/master
2021-08-22T13:12:34.555074
2020-03-28T08:56:13
2020-03-28T08:56:13
147,224,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
def validate_utf8(data): n = len(data) i = 0 while i < n: nb = _nsucc_bits(data[i]) if nb < 0: return False i += 1 for _ in range(nb): if i < n: if not _follow_check(data[i]): return False i += 1 ...
[ "davll.xc@gmail.com" ]
davll.xc@gmail.com
e88aae5ad5a2fd54f63aeec3e9e2ec2f17efeae8
de33d709be6667a1972322fcd514edca80cfa6a0
/snipps/check_mode.py
b20227c7ee97409be989525f4c0593c4f51b97ad
[ "MIT" ]
permissive
akshaynagpal/number_recognition
8ecbc6affc970a9e9ffeb70cc290db9a4ed43489
363606205ccfe4a43320c2452c0ae0dd4e026ec2
refs/heads/master
2020-05-09T16:19:08.562084
2015-10-03T10:01:14
2015-10-03T10:01:14
30,975,567
0
2
null
null
null
null
UTF-8
Python
false
false
150
py
import PIL from PIL import Image image_name = raw_input("enter name of image to open!") imgfile=Image.open(image_name) print imgfile.mode raw_input()
[ "akshay2626@gmail.com" ]
akshay2626@gmail.com
819d61a9de591bf744f7ebad7563c9fd8559d4dc
e8dba002d8916a468e559a52f254c0d92532d6b2
/homeassistant/components/airnow/config_flow.py
67bce66e1673ab24e42ba7ed70d4ad657b614040
[ "Apache-2.0" ]
permissive
thomasgermain/home-assistant
32b0f4d888220f4ce49dc85e506d0db39445c6c0
9673b93842ddcecc7e6a6d65e6d4f5b8a1089c43
refs/heads/vaillant
2023-08-21T23:50:24.679456
2020-05-20T21:01:18
2023-08-03T07:11:35
197,781,893
8
4
Apache-2.0
2023-02-10T06:56:47
2019-07-19T13:57:53
Python
UTF-8
Python
false
false
3,692
py
"""Config flow for AirNow integration.""" import logging from pyairnow import WebServiceAPI from pyairnow.errors import AirNowError, EmptyResponseError, InvalidKeyError import voluptuous as vol from homeassistant import config_entries, core, exceptions from homeassistant.const import CONF_API_KEY, CONF_LATITUDE, CONF...
[ "noreply@github.com" ]
thomasgermain.noreply@github.com
c6526829039453f2cd279cccdd18b6d5e6844b8a
1ebe5a07e7f6260c2c2ceb6ca00dcf2a0341e544
/op_impl/built-in/ai_core/tbe/impl/dynamic/slice.py
d61346ea6f4566518203eebc550f23fe6dc7f588
[]
no_license
gekowa/ascend-opp
f5e09905336d85f9974d555d03d37a75cb8185c1
5c28a2faf9d2a117ea6f0923efe35fcd53904dd2
refs/heads/master
2023-04-09T12:14:40.337104
2021-04-19T23:00:59
2021-04-19T23:00:59
359,620,865
2
0
null
null
null
null
UTF-8
Python
false
false
2,539
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Apache License Version 2.0.You may not use this file except in compliance with the License. This progra...
[ "gekowa@gmail.com" ]
gekowa@gmail.com
51e2085c83cb053c92ea24c9e86320bb8b126d03
8e3a3c845ca3320483b233e8a0db4081aa3b8664
/clases/migrations/0005_auto_20160623_0039.py
bee89b25480c363feacc339deffa53fc94c63a41
[]
no_license
sofide/loiprocesos
7d56398395e6f3302f4d9ec3627ed1b4c24bc17a
4047fa02d0cfbcf744c80d59e3402215f8b294d3
refs/heads/master
2021-07-08T03:26:55.171459
2020-08-04T03:23:10
2020-08-04T03:23:10
61,167,908
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-23 03:39 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('grupos', '0001_initial'), ('clases', '0004_auto_2016...
[ "sofi.denner@gmail.com" ]
sofi.denner@gmail.com
c99be8ab1fbd55dd291d94871960eb9885eac72f
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/communication/azure-communication-email/samples/send_email_to_multiple_recipients_sample.py
4009aaf0f805e47a8f8b3d1e2f8df2a6da58972b
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
3,050
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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
77ba68c5ea388336d8038d5e9e64d2d07a52abb5
5342c87436c514f6428524d8f9fca33f6745a791
/ros2cli/ros2param/ros2param/verb/get.py
1a7c3f1943742ebee688e9b2ed5beb9385c2aec3
[ "Apache-2.0" ]
permissive
hfz-Nick/ROS
9d64cb220539a29c65fb6ae8ae0f5e42c5ad955b
1c8909c9709a0cbaed7f3084557ee4c3fb1ff380
refs/heads/main
2022-12-28T05:01:44.255695
2020-10-10T01:24:43
2020-10-10T01:24:43
302,788,188
0
0
null
null
null
null
UTF-8
Python
false
false
4,227
py
# Copyright 2018 Open Source Robotics Foundation, 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 applicable law...
[ "you@example.com" ]
you@example.com
681cb012173559ca0073167310544329505a424b
a7266a2c39e309bdc0fdd4c771942412465d0fb5
/McCoy Group Code Academy/Exercises/LegendreDVR.py
308ba21907ec13ef8c94b648285571a964cb0c65
[]
no_license
McCoyGroup/References
68a930280e865d3efd4d7d29d7a961126258494d
7bcf80bebfed92f7967135cc909e7280b2365680
refs/heads/gh-pages
2023-04-28T11:24:37.881869
2022-08-18T15:38:31
2022-08-18T15:38:31
127,345,918
1
6
null
2023-04-12T05:21:47
2018-03-29T20:49:01
Mathematica
UTF-8
Python
false
false
534
py
# THIS IS A PLACEHOLDER: AS WE ADD THINGS WE'LL FILL THIS OUT """ Goal: ... Fundamentals: ... (Comma-separated list) Related Exercises: ... (Comma-separated list) """ ## Imports: put all import statments here ## Exports: put all the names things we might want to use in other scripts here __all__ = [ ] ## Objects: p...
[ "b3m2a1@gmail.com" ]
b3m2a1@gmail.com
ddab472e1041d209d6ee9169203e5b8e135d0abe
bd3a1843e2b0dc15837628c77f73e95a9bb1264f
/PyFunceble/helpers/file.py
9f4d1b0cfbd3975feb10c42d58ddc346c3e4026d
[ "Apache-2.0" ]
permissive
funilrys/PyFunceble
404c64d1b281d4ae06a939b54f4088d63e12b828
214a57d0eca3df7c4ed3421937aaff9998452ba6
refs/heads/dev
2023-06-24T18:39:29.372775
2023-06-18T13:15:39
2023-06-18T13:15:39
106,995,518
267
62
Apache-2.0
2023-08-25T16:05:17
2017-10-15T08:25:14
Python
UTF-8
Python
false
false
6,582
py
""" The tool to check the availability or syntax of domain, IP or URL. :: ██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗ ██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝ ██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ █...
[ "contact@funilrys.com" ]
contact@funilrys.com
82ce73e6415e6d017e3700546ee09e7625280e80
3c114c083af073421fc0becfa4b4471ba1d77de5
/google/sparse_matrix.py
0dd73b7847553e67b60991e24b0e2ed383dac254
[]
no_license
alonsovidales/interview_questions
99f757c7e35c5ede450be25d3bebd54a18b1312b
5e63e238950c2f6bdfd3ff48311d6c69a676d382
refs/heads/master
2021-01-17T12:06:48.419891
2018-03-25T08:44:14
2018-03-25T08:44:14
30,909,319
6
1
null
null
null
null
UTF-8
Python
false
false
1,795
py
""" Given a sparse matrix, implement below two methods: void set(int row, int col, int val) /*Update value at given row and col*/ int sum(int row, int col) /*give sum from top left corner to given row, col sub-matrix*/ """ class SortedArray(object): def __init__(self): self._dirty = False ...
[ "alonso.vidales@tras2.es" ]
alonso.vidales@tras2.es
9a13592fb7c388eae0315d097c09293ad3beca18
238c16de19b2b5928eeba6ca35abffdbfaa961e4
/tests/conftest.py
d730fbb8a3dfcce7244fa8d564c373d6d0aec9b9
[]
no_license
multiscripter/random-phrase-fastapi
dd7637d25ea7326659d8dfb7925697ab37d14c8f
5cba715f898309530fa393a4cf434d45725ba6ed
refs/heads/master
2022-12-28T23:35:08.435193
2020-09-28T21:00:18
2020-09-28T21:00:18
299,430,861
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
import pytest from Database import Database from db import PhraseInput @pytest.hookimpl() def pytest_sessionstart(session): """Actions before all tests.""" db = Database() for a in range(1, 4): data = { 'author': f'test-author-{a}', 'text': f'test-text-{a}' } ...
[ "ILL-JAH@yandex.ru" ]
ILL-JAH@yandex.ru
20b01ef20b8f2d6b57de84d0d28e2bc0e71557c9
e707164df1aa8edb5d276179538bd1eb1805f759
/CODE/fedora_application/env/lib/python2.7/site-packages/rube/core/__init__.py
fcfa0e415c10c22ed928fa448f8bd7ebcccd9801
[]
no_license
beckastar/cleaner_markov
af5816c14c94a8cb7924728179470e7db9ed2bc0
a6de3fd87db77c0d80789cbce0ff409c222b4e67
refs/heads/master
2021-01-02T22:52:08.989862
2013-11-10T04:51:04
2013-11-10T04:51:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
py
# -*- coding: utf-8 -*- # This file is part of Rube. # # Rube is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Rube is distributed i...
[ "rebecca.robbins.et@gmail.com" ]
rebecca.robbins.et@gmail.com
e170d3ca2867026517e00e298e216461dc4fc6e2
a9dc42e9f54b549fcdd695817e347abfd8f2869f
/old/bin/clt_ar5_model_data_preprocess.py
55d61322a3a3fb5d7b12531f576a4c10c6755c4c
[ "MIT" ]
permissive
yusheng-wang/downscale
2e77d070115ead3034c154d29f1c533976228f13
3fe8ea1774cf82149d19561ce5f19b25e6cba6fb
refs/heads/master
2023-04-10T03:25:08.806859
2019-09-21T17:34:35
2019-09-21T17:34:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,238
py
#!/usr/bin/python2 # # # pre-processing of raw downloaded CMIP5 data from the PCMDI portal to something that is standardized for # use in later downscaling to ALFRESCO AK/Canada extent and resolution needs. # # # # # def group_input_filenames( prefix, root_dir ): import fnmatch, functools, itertools, os, glob imp...
[ "lindgren.mike@gmail.com" ]
lindgren.mike@gmail.com
6a39bf88ed26fd334ca58f0d9fa50928ff9d0a6a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_1/208.py
3cff053a0d8355a115d24f870f7da1280b84ee66
[]
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
754
py
#!/usr/bin/python import sys def handle_case(case_no, engiens, words): saw ={} answer = 0 for w in words: if w not in saw.keys(): if len(saw.keys()) == (len(engiens)-1): answer+=1 saw = {} saw[w] = 1 print "Case #%d: %s" % (case_no, answer) def main(): filename = sys.argv[1] fsock = open...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
aec1b46ee90e6ad349ec1ef3880aafad45dd2339
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_17926.py
3f65a0747b3ebe817fa6bb84dae8bed99654f41d
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
# Django-Models: TypeError: coercing to Unicode: need string or buffer, User found def __unicode__(self): return '%s' % (self.user)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
9558aff2a7a109b33beb176497844e5998bf15cd
d88397be1c6a31985bc2283280e743fd3b988dd1
/beta/examples/tensorflow/common/optimizer.py
ebf3e1b4079c43f388b1f9256596c3a7c9103cec
[ "Apache-2.0" ]
permissive
sshyran/openvino-nncf-pytorch
f5e09066a216fa786927937a91a0e6742f347660
fd02652950cd803a36f5283f5a5df999bb45433b
refs/heads/develop
2023-04-18T06:58:54.646669
2021-03-12T15:41:39
2021-03-12T15:41:39
347,374,166
0
0
Apache-2.0
2023-04-03T23:52:21
2021-03-13T13:11:32
null
UTF-8
Python
false
false
3,837
py
""" Copyright (c) 2020 Intel Corporation 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 to in writin...
[ "noreply@github.com" ]
sshyran.noreply@github.com
234c2b61255e3d404e666a25ecc316deb34ed85f
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/core/data/kb/vuln_templates/tests/test_base_template.py
8108d8d84b9422931d1e1c5e55f63f073e4fecaa
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,586
py
""" test_base_template.py Copyright 2012 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the ho...
[ "everping@outlook.com" ]
everping@outlook.com
7eff3f83f034b7bb0330f386c24b489e1bcf3e28
45ddd3d0d568b3d28c25c2023839933496753d52
/Bai34-multitaskLearning/predict.py
d2f931a016260ca73f857a1c73eacd52fe4fb4e6
[]
no_license
phamdinhkhanh/khanhBlogTurtorial
7d65259066b1eb6f48a2c7ef78840005d61c9fdb
0685ef989f72057581b0268bd6c9e01981833549
refs/heads/master
2022-12-13T08:30:18.866016
2020-05-05T01:26:44
2020-05-05T01:26:44
248,902,988
21
20
null
2022-12-12T11:57:04
2020-03-21T03:57:22
Jupyter Notebook
UTF-8
Python
false
false
2,173
py
# USAGE # python predict.py --model fashion_multitask_learning.h5 --labelbin mlb.pkl --image examples/example_01.jpg # import the necessary packages from tensorflow.keras.preprocessing.image import img_to_array from tensorflow.keras.models import load_model import numpy as np import argparse import pickle import cv2 i...
[ "phamdinhkhanh.tkt53.neu@gmail.com" ]
phamdinhkhanh.tkt53.neu@gmail.com
b53181ff1835a17047d6c94d41b850630c4e82a4
a08d85552ed0db1a906c3b31ed99f56bae857c60
/PythonCourse/d2e2.py
fd961bf13b6f7ec843e3d610fd509829890c3ca1
[]
no_license
MagdalenaZZ/Python_ditties
90866e53f9aafa603f05735e2ceb094cf5518a18
757d8de1df0e53d38d4ba9854b092eabe6ec6570
refs/heads/master
2023-02-20T12:23:09.778092
2023-02-07T10:06:55
2023-02-07T10:06:55
136,293,051
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
def maximum (x,y): """Assumes two numbers and returns the biggest one""" if x > y: return x else: return y
[ "magz@MacBook-Air.local" ]
magz@MacBook-Air.local
2d0464c5c1df613a7ff2b22103ad294d1b865050
dc3f29ca73e30f449cb991fa48575a8420f75099
/homeassistant/components/energy/data.py
e8c62da0c3c8dad4e0a9c5c9cfb718c24951c1c3
[ "Apache-2.0" ]
permissive
EverythingSmartHome/core
16951da19d63f0eec80715ec47e2ba7bad329c0b
2169d839ce24c6e2b9fa215c5cabbd48b8a4022f
refs/heads/dev
2023-01-07T14:52:07.206460
2022-07-13T09:08:23
2022-07-13T09:08:23
513,561,926
2
0
Apache-2.0
2022-07-13T14:51:08
2022-07-13T14:51:07
null
UTF-8
Python
false
false
9,493
py
"""Energy data.""" from __future__ import annotations import asyncio from collections import Counter from collections.abc import Awaitable, Callable from typing import Literal, TypedDict, Union import voluptuous as vol from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import config_va...
[ "noreply@github.com" ]
EverythingSmartHome.noreply@github.com
d74048100f3b874b0c1191d48651eb82d6953fb7
0b01cb61a4ae4ae236a354cbfa23064e9057e434
/alipay/aop/api/request/AlipayOfflineMarketItemCreateRequest.py
d128c457124aef847e52dc2a5b9295ed9ab29ad2
[ "Apache-2.0" ]
permissive
hipacloud/alipay-sdk-python-all
e4aec2869bf1ea6f7c6fb97ac7cc724be44ecd13
bdbffbc6d5c7a0a3dd9db69c99443f98aecf907d
refs/heads/master
2022-11-14T11:12:24.441822
2020-07-14T03:12:15
2020-07-14T03:12:15
277,970,730
0
0
Apache-2.0
2020-07-08T02:33:15
2020-07-08T02:33:14
null
UTF-8
Python
false
false
3,973
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayOfflineMarketItemCreateModel import AlipayOfflineMarketItemCreateModel class AlipayOfflineMarketItemCreateRequest(object): ...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
f687f0ca5526f5ba9070037e195218aa01be0a95
339cc015ad260661e02ad32fe229807988a92487
/accounting_addons/accounting_addons/accounting_addons/doctype/asset_depreciation_record/asset_depreciation_record.py
172e3396e7b5bb0fe5bda91c2abe72601df8ee71
[ "MIT" ]
permissive
bobzz-zone/gsi_accounting_addons
009448596ca6ca114af27f0bdf35744f2835616b
373ef3c7e8179fb7e4d003e8f4b809b36c4cfe1d
refs/heads/master
2016-09-10T12:04:49.737175
2015-05-07T10:18:48
2015-05-07T10:18:48
35,213,204
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Myme and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class AssetDepreciationRecord(Document): pass
[ "bobzz.zone@gmail.com" ]
bobzz.zone@gmail.com
5a5ebf5680766142d1db98840c1843d5352700ce
ca23b411c8a046e98f64b81f6cba9e47783d2584
/tf3d/layers/sparse_voxel_net_utils.py
5677106a3dbd588759d3ffad675295a2bbcc8a37
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
pdybczak/google-research
1fb370a6aa4820a42a5d417a1915687a00613f9c
0714e9a5a3934d922c0b9dd017943a8e511eb5bc
refs/heads/master
2023-03-05T23:16:11.246574
2021-01-04T11:30:28
2021-01-04T11:30:28
326,629,357
1
0
Apache-2.0
2021-02-01T12:39:09
2021-01-04T09:17:36
Jupyter Notebook
UTF-8
Python
false
false
18,211
py
# coding=utf-8 # Copyright 2020 The Google Research 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 by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
e21d1e7bd1e31a11a1e66fd19884aee67580be4b
5a4436884af5341ce855c0e84866b972a0f61c05
/day4/classes/extras/syntax/5.py
12b982042e027fe646d8e1ee85c066ce603ac8af
[]
no_license
sreejithev/pythoncodes
74a420c4f025b893e27f17ba85632a4a096f17fd
70df14871a9687916d1c4ada76c055607f13e8ce
refs/heads/master
2021-01-21T20:59:47.056167
2017-06-19T09:43:17
2017-06-19T09:43:17
92,292,259
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
class foo: x = 1 f = foo() f.x = 10 print foo.x
[ "sreejithevwyd@gmail.com" ]
sreejithevwyd@gmail.com
652711257a3cd0e0ebee83693a0c9cef26803857
a6390e0bbd5a7070c0abd2504afecc8ef6028997
/indigo/nn/input.py
4563f18522af8de264df296082c45aff9c167847
[]
no_license
mlberkeley/indigo
2f287a82c939a9d0adc41db23e59ae777fc88466
c155b16265f13d87be0108fcf815517491b93a74
refs/heads/master
2021-06-14T01:21:06.702854
2020-05-22T08:10:47
2020-05-22T08:10:47
254,468,158
4
0
null
2020-04-09T20:08:16
2020-04-09T20:08:16
null
UTF-8
Python
false
false
3,142
py
from dataclasses import dataclass from typing import Any import tensorflow as tf @dataclass class AttentionInput(object): """Fields of a data class for computing multihead attention in indigo.variables.attention.Attention Arguments: queries: tf.Tensor the Queries tensor in a mul...
[ "brandon@btrabucco.com" ]
brandon@btrabucco.com
89a494a1ece606add63023592b124bfaf796cc21
ebec8b55938903f97f66bc3629ce73db177b8bcc
/ultimatewebsite/members/forms.py
2a879513f03f4cc84b77452c291fb16db54bd212
[ "MIT" ]
permissive
NischalLal/class-ultimate-classof2020
284788f87c95e4889b10c2f9072c8e16daf15c4d
c069dc7211a640267e35c2e956ad9440a03e1ab8
refs/heads/master
2021-04-25T23:30:12.434127
2017-10-17T08:27:53
2017-10-17T08:27:53
107,240,286
1
0
MIT
2020-10-04T05:44:04
2017-10-17T08:32:21
CSS
UTF-8
Python
false
false
2,464
py
from django import forms from members.models import Member class MemberForm(forms.ModelForm): favourite_quote = forms.CharField( widget = forms.Textarea) class Meta: model = Member fields = ('full_name', 'image', 'phone_number', 'email', 'hometown', 'favourite_quote', 'bio'...
[ "aakrist666@gmail.com" ]
aakrist666@gmail.com
e60f622fd08209dd0fccd070ecab295d750160cd
03ec2daac0989f9b6936b1e87d8ca1b0d99f1bce
/optfn/plastic_linear.py
58257991529ef71676ed0cdc4dd2f255adf46f1a
[]
no_license
SSS135/optfn
f7364dce8c1857baa90d2d6564316762c574a9ba
48ae4f5439daa89ac54921a7642e612838c724eb
refs/heads/master
2020-05-29T15:21:38.827291
2020-04-29T17:51:09
2020-04-29T17:51:09
189,217,719
0
0
null
null
null
null
UTF-8
Python
false
false
4,014
py
import torch import torch.nn as nn import torch.nn.functional as F import math class PlasticLinear(nn.Module): def __init__(self, in_features, out_features, bias=True, single_plastic_lr=False, initial_plastic_lr=0.1, oja_rule=True): super().__init__() self.in_features = in_features self.ou...
[ "sss13594@gmail.com" ]
sss13594@gmail.com
01c8f82a0e2570725b639af3a837aed5c0198892
3b504a983f1807ae7c5af51078bfab8c187fc82d
/client/gui/HudElements/ForestallingPoint.py
79091f51fde6a17f9469bf38b316f591b2728d8a
[]
no_license
SEA-group/wowp_scripts
7d35fd213db95ea6b3dbd1ec6d3e0f13de86ba58
2fe54a44df34f2dcaa6860a23b835dcd8dd21402
refs/heads/master
2021-09-07T23:10:13.706605
2018-03-02T17:23:48
2018-03-02T17:23:48
117,280,141
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
# Embedded file name: scripts/client/gui/HudElements/ForestallingPoint.py import BigWorld import GUI from consts import * from gui.HUDconsts import * from EntityHelpers import isAvatar, isTeamObject class ForestallingPoint: def __init__(self, offsetMtx): self.__offsetMtx = offsetMtx self.__centerP...
[ "55k@outlook.com" ]
55k@outlook.com
aeb2278cba6e6f5ab83eeea7a5279fdb438b5902
b66e70a8bb3c53595acd01dceb23298694884b67
/cloudy/settings/base.py
e14d1c5960cb86cbbfc54a2d682480988098d21e
[]
no_license
flupke/cloudy-release
d7735a38d79f816c52da3d983c714512a32919b1
6b160188a7067f125b107eb68dc8db4bbb4bfdf4
refs/heads/master
2016-09-06T05:23:40.856287
2013-02-23T18:17:16
2013-02-23T18:17:16
8,377,854
0
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
import os.path as op ROOT_DIR = op.abspath(op.join(op.dirname(__file__), '..')) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', ...
[ "luper.rouch@gmail.com" ]
luper.rouch@gmail.com
808a9f59c4c857fb35b4ea766f82d0994b5016fd
bf1e6aa6ee7687363427c87b7e5bef1d157410fc
/backend/chat/api/v1/serializers.py
4a6ada475bba6fc32ca69b58440701201883d804
[]
no_license
crowdbotics-apps/chatme-27551
8cee7a31badc71575ba7c1a31c9d8638dadacd08
9c10dd5c0413ab2e10ffde4c8b90f650464cfa45
refs/heads/master
2023-05-04T12:18:31.110095
2021-05-29T10:40:55
2021-05-29T10:40:55
371,938,649
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
from rest_framework import serializers from chat.models import ( MessageAction, ThreadMember, Thread, Message, ThreadAction, ForwardedMessage, ) class ForwardedMessageSerializer(serializers.ModelSerializer): class Meta: model = ForwardedMessage fields = "__all__" class Th...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
352b6484d41dbe8b4caa795e4a050a3a6b7cc7aa
553b34a101c54090e68f540d96369ac7d5774d95
/python/python_koans/python2/koans/about_new_style_classes.py
99f39683a5ef5d804c5ed0b6d1160ab2d6b98939
[ "MIT" ]
permissive
topliceanu/learn
fd124e1885b5c0bfea8587510b5eab79da629099
1c5b1433c3d6bfd834df35dee08607fcbdd9f4e3
refs/heads/master
2022-07-16T19:50:40.939933
2022-06-12T15:40:20
2022-06-12T15:40:20
21,684,180
26
12
MIT
2020-03-26T20:51:35
2014-07-10T07:22:17
JavaScript
UTF-8
Python
false
false
2,466
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * class AboutNewStyleClasses(Koan): class OldStyleClass: "An old style class" # Original class style have been phased out in Python 3. class NewStyleClass(object): "A new style class" # Introduced in Python...
[ "alexandru.topliceanu@gmail.com" ]
alexandru.topliceanu@gmail.com
6f5712a2576ccb525f3600b7f0802178c4a366d1
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/command_lib/compute/machine_types/flags.py
7446d105ac181ce93490efa9f4adda4468ca2080
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
1,181
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google LLC. 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 requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
c149c43ee2040d9c4aa7f7048a612c1e6297266f
83280aa17b415138a6f55edf9cedfdd9a45916a2
/src/stochastic_review/cli.py
3f05a48e626b05227ae1806c286b518dadf3e258
[]
no_license
RubenBranco/Stochastic-Continuous-Review
dfea2b55b7c8f0d41eac289b76b1d28ced31d0ce
9015ebe6adfc6b812cb83c2b9df06fd3d20b6fcc
refs/heads/master
2020-05-01T12:31:50.531958
2019-04-28T16:50:38
2019-04-28T16:50:38
177,467,859
2
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
from bullet import SlidePrompt, Bullet, Numbers DISTRIBUTIONS = [ 'Uniform', 'Normal', ] cli = SlidePrompt( [ Bullet(prompt="Choose the distribution(Y)", choices=DISTRIBUTIONS), Numbers(prompt="Distribution mean(μ) / Starting point(a): ", type=float), Numbers(prompt="Distribution...
[ "ruben.branco@outlook.pt" ]
ruben.branco@outlook.pt
993d08a77bcc43f54ee71a7c8ec0e59ae70641c2
bb150497a05203a718fb3630941231be9e3b6a32
/framework/api/nn/test_hardsigmoid.py
f591329d91524bb078a0d9157a65d000a22cedf6
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
1,588
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ test_hardsigmoid """ from apibase import APIBase from apibase import randtool import paddle import pytest import numpy as np class TestHardsigmoid(APIBase): """ test """ def hook(self): """ ...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
6973cb6fad77d9866816625849943c3739ebab02
45870a80cbe343efe95eb9e8d0bd47c8c88353d1
/特殊的函数/venv/Lib/site-packages/tensorflow/tools/api/generator/api/gfile/__init__.py
d15998ef1791b0b3d2441ba82e50f147a68d311d
[]
no_license
pippichi/IntelliJ_PYTHON
3af7fbb2c8a3c2ff4c44e66736bbfb7aed51fe88
0bc6ded6fb5b5d9450920e4ed5e90a2b82eae7ca
refs/heads/master
2021-07-10T09:53:01.264372
2020-07-09T13:19:41
2020-07-09T13:19:41
159,319,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
"""Imports for Python API. This file is MACHINE GENERATED! Do not edit. Generated by: tensorflow/tools/api/generator/create_python_api.py script. """ from tensorflow.python.lib.io.file_io import copy as Copy from tensorflow.python.lib.io.file_io import create_dir as MkDir from tensorflow.python.lib.io.file_io i...
[ "874496049@qq.com" ]
874496049@qq.com
dab2470950559095359d56daae0b4daa36f036d0
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ec2_write_1/vpc-endpoint_modify.py
30909794ef3620c2cf2d203628e316109fd9fca1
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/modify-vpc-endpoint.html if __name__ == '__m...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
80135a8618b6f09f9c83cb98b5780e5a7adbdbb3
479924396152c6e6fe3de74fd46b16fbd8edeeec
/gui/qt/masternode_widgets.py
84918a40f4bb5aec15b7c8c649122478a9255084
[ "MIT" ]
permissive
pookieq/electrum-axe
09d4601e97cbbd07ff69fb7369f8451f75f09b7f
a59028af29998bd91380d5fb46a062f6cac0a4af
refs/heads/master
2021-09-09T09:46:53.164068
2018-03-14T21:20:54
2018-03-14T21:20:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,951
py
"""Masternode-related widgets.""" from PyQt4.QtGui import * from PyQt4.QtCore import * from electrum_axe import bitcoin from electrum_axe.bitcoin import COIN from electrum_axe.i18n import _ from electrum_axe.masternode import NetworkAddress, MasternodeAnnounce import util def masternode_status(status): """Get a...
[ "slowdive@me.com" ]
slowdive@me.com