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
fb5bf4f07951d84bf342ddda620e4f8ab7c0a109
f65c78a69fbf9acb39f5b55a77565c491accccd1
/libs/common/bitcoin/script.py
5e4daafb10d6b6d794552c76082a923f8d133d76
[ "MIT" ]
permissive
Kevingislason/abacus_wallet
8ac5b9f5edc33cba3812f98e0040729e8be6bd98
3c0f2d5134a6fa59fc1fd15fcad65690352a46bf
refs/heads/main
2023-03-21T23:24:16.012416
2021-03-15T02:56:11
2021-03-15T02:56:11
334,851,360
0
0
null
null
null
null
UTF-8
Python
false
false
4,916
py
from .networks import NETWORKS from . import base58 from . import bech32 from . import hashes from . import compact import io SIGHASH_ALL = 1 class Script: def __init__(self, data: bytes): self.data = data[:] def address(self, network=NETWORKS["main"]) -> str: script_type = self.script_type(...
[ "snigirev.stepan@gmail.com" ]
snigirev.stepan@gmail.com
1ce44c79b815d8df6680a3212721e78e49837ae6
138c1b7a726386b6e9bafb9fcd42c7e62d9fe49e
/ScrapyProjects/DynamicSpider/DynamicSpider/spiders/guazi.py
b662668c881943737dbbd1a9bd8a5ed621eb1462
[]
no_license
zhujixiang1997/1805_spider
951bf6e5d411c0b24b33adf788c9d8a5770f244b
5cd617e5e3263d13854e19c16a1659017a8ed409
refs/heads/master
2022-12-11T01:10:54.232536
2019-07-09T10:28:30
2019-07-09T10:28:30
163,835,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
# -*- coding: utf-8 -*- import scrapy from ScrapyProjects.DynamicSpider.DynamicSpider.items import GuaziCarItem from ScrapyProjects.DynamicSpider.DynamicSpider.utils.bshead import create_bs_driver ''' 爬取瓜子二手车直卖网武汉二手车 分析:采用scrapy shrll爬取页面,分析页面后,发现获取不到数据,引入selenium 方案:scrapy + selenium ''' class GuaziSpider(scrapy.Sp...
[ "1164355115@qq.com" ]
1164355115@qq.com
32d15c69d2a035c6bbc6bbe67bbb271dd540c1f0
731230c336bf27af8ca91f15c33435920a5c3af4
/virtual/bin/wheel
599ecec06807b1ead412bf660847330f6744e209
[ "MIT" ]
permissive
Brayonski/personal-blog
c627adbddf66271594f07e7bd3e3b2069c9aff08
ab0cb6590b570ed75a475a52eae9bafadc647665
refs/heads/master
2020-03-28T17:34:10.867299
2018-09-17T13:10:12
2018-09-17T13:10:12
148,802,537
0
0
null
2018-10-11T13:39:58
2018-09-14T14:48:33
Python
UTF-8
Python
false
false
281
#!/media/root/Alpha/projects/MS-Python-Pre-work/flask/personal-blog/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3210b53b1f11a7512ae651e9a24340fa8190d8c2
cfd9fa1af735ac3572954704a47e35543850b244
/lantern.py
6811ad214abe5ef2f1a2dfe9f75e48022f4f9798
[]
no_license
xingyueGK/hjsg
c1844ea8161d254f6d6cf70f42d1ac849e117438
be0c4c457bdfaa9178f25f9f722dc78d88f24540
refs/heads/master
2022-12-12T08:28:55.823357
2020-12-05T12:02:06
2020-12-05T12:02:06
147,184,573
0
1
null
2022-01-06T22:26:48
2018-09-03T09:47:04
HTML
UTF-8
Python
false
false
6,224
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/2/19 15:08 # @Author : xingyue # @File : lantern.py from task.base import SaoDangFb import threading import os, time import redis pool = redis.ConnectionPool(host='localhost', port=6379, db=0) _redis = redis.StrictRedis(connection_pool=pool) lock = ...
[ "a413728161@vip.qq.com" ]
a413728161@vip.qq.com
068b41a94bea56acb225e23b723347f3b9e3b552
8fc9520d7224e6179f63f19e668b4b3b6a7d76c5
/apps/networks/libraries/flickr/tools.py
983d95c4458171972fa5c25ad14ae1aa7f71d267
[]
no_license
quantm/custom_django_oscar
352ef2fd95e7da932958d4aa80d77dff5b6c1e70
9205807030ab360884283810e94177440c228a23
refs/heads/master
2016-08-09T12:23:39.413677
2016-02-08T22:16:53
2016-02-08T22:16:53
51,326,524
1
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
from method_call import call_api import sys import os def load_methods(): """ Loads the list of all methods """ r = call_api(method="flickr.reflection.getMethods") return r["methods"]["method"] __perms__ = {0: 'none', '1': 'read', '2': 'write', '3': 'delete'} def methods_info...
[ "012kinglight@gmail.com" ]
012kinglight@gmail.com
af55ae8008e31b19d12765e34394ed945e13896b
f672f2c2b35d388526217278f3c301d4372abb4b
/cartoview/app_manager/migrations/0001_initial.py
31b23a5245af1452dea592580640ac9fb684c4cb
[ "BSD-2-Clause" ]
permissive
Msalah593/cartoview_2
cce51db13f3e69e99a4915770627942d21a998a8
dc57cc22cdc4563ff76448b939c09c370590114f
refs/heads/master
2020-05-05T12:29:26.333491
2019-04-22T08:52:52
2019-04-22T08:52:52
180,030,874
0
0
null
2019-04-07T22:22:08
2019-04-07T22:22:08
null
UTF-8
Python
false
false
1,764
py
# Generated by Django 2.2 on 2019-04-18 14:17 import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='App', fields=[ ...
[ "hisham.karam@cartologic.com" ]
hisham.karam@cartologic.com
8396320380ca63e38dcfcc70b5428ef49c1972ad
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib/wsgiref/validate.py
b5577e5bbf54a2e99cc84fc8a1e1f3b1edf2aaa9
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
19,451
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
b51f457a805186eaa93adc2cc94cb037a560f42a
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901040058/1001S02E05_array.py.py
9b79494c7bd80613fe0fbe7ad3d6749416df796a
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
319
py
array=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] array.reverse() print(array) str1=''.join('%s'%id for id in array) print(str1) str2=str1[2:8] print(str2) str3=str2[::-1] print(str3) int1=int(str3) print(int1) int2="{0:b}".format(int1) print(int2) int3="{0:o}".format(int1) print(int3) int4="{0:x}".format(int1) print(int4)
[ "40155646+seven-tears@users.noreply.github.com" ]
40155646+seven-tears@users.noreply.github.com
1fe2794cabf63d91afdf446afb6eda5ac5eac6e6
e305ea0e2b84b1cbb138e4443d13c915d7f467cd
/面试题58 - I翻转单词顺序.py
063790615dc5a9a89d3f8b2617ae65f2da976cfb
[]
no_license
JoanWu5/jianzhi-offer
770d7fd903779e3e530386705a9a513224a05539
580287d9bcf288d374b64b5a87c9921733a7a4f9
refs/heads/master
2022-10-11T10:36:51.837879
2020-06-06T08:59:16
2020-06-06T08:59:16
268,311,599
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
class Solution(object): def reverseWords(self, s): """ :type s: str :rtype: str """ # s = s.strip().split() # result = [] # for i in range(len(s)-1,-1,-1): # if s[i] != ' ': # result.append(s[i]) # return ' '.join(result) ...
[ "394104840@qq.com" ]
394104840@qq.com
cdb3412b2336af2ceed7175b2fbeaf22845d0003
e0ab9c21e51f0ac9d682b901957f2d1e2bc602ee
/product/migrations/0012_auto__del_field_product_has_cutting.py
3fce9499662853a3018722261c7e9ae3e6714abb
[]
no_license
omago/web2print
bb36707932c76d24d07903fa9ee9c011f0d0d942
43bd1d9034e7d6d89457512f1aed376848b64f98
refs/heads/master
2021-07-15T09:00:59.389945
2016-11-05T21:12:54
2016-11-05T21:12:54
23,756,408
0
3
null
null
null
null
UTF-8
Python
false
false
11,322
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Product.has_cutting' db.delete_column('product', 'has_c...
[ "doctorkovac@gmail.com" ]
doctorkovac@gmail.com
6c7782966748458a5b72ad96b769db9cf5d70920
c9fcf2ff1acd16a423c47617145cde00cc1936aa
/tests/unit/api/test_task.py
eb114f77afdfcf11338986fe6f0b9774b96cf0bd
[ "MIT" ]
permissive
JonathanAlcantara/fastlane
766dd6701fcf172b6d7bb38983e19bd596cbf0d7
dd923f0769281e94da98c4de39c57e3d447aeea3
refs/heads/master
2020-04-28T19:33:45.310622
2019-03-12T20:46:42
2019-03-12T20:46:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
# Standard Library from json import loads from uuid import uuid4 # 3rd Party import pytest from preggy import expect # Fastlane from fastlane.models.task import Task def test_get_tasks(client): """Test getting tasks""" Task.create_task("my-task-1") Task.create_task("my-task-2") Task.create_task("my-...
[ "heynemann@gmail.com" ]
heynemann@gmail.com
e2bcdd2563f558acd6fe945a5fb664ab81c64eea
127e99fbdc4e04f90c0afc6f4d076cc3d7fdce06
/2021_하반기 코테연습/boj22858.py
655bd7eab90f926e09c88916a4e2769f02d0f280
[]
no_license
holim0/Algo_Study
54a6f10239368c6cf230b9f1273fe42caa97401c
ce734dcde091fa7f29b66dd3fb86d7a6109e8d9c
refs/heads/master
2023-08-25T14:07:56.420288
2021-10-25T12:28:23
2021-10-25T12:28:23
276,076,057
3
1
null
null
null
null
UTF-8
Python
false
false
333
py
from collections import defaultdict n, k = map(int, input().split()) answer = [] after_k = list(map(int, input().split())) d = list(map(int, input().split())) for _ in range(k): tmp = [0] *n for i in range(n): tmp[d[i]-1] = after_k[i] after_k = tmp for i in range(n): print(after_k[i...
[ "holim1226@gmail.com" ]
holim1226@gmail.com
251820f0a584d8815135b3db62e5b44d48b87e58
4b5ee91dabf402522685cea452ba51c10dbb834e
/server/scrolls/migrations/0019_auto_20180608_1241.py
0e839793ab7e8a2ddbc96b05321e94c0dee0d579
[]
no_license
unscrollinc/unscroll
8fb175d6cf9c2f91bdfc7a97a8da71beca7e702d
88168af51abf8a0bfa06dcc22bd0ec11b671d989
refs/heads/master
2023-01-10T03:15:17.737493
2021-01-28T20:57:57
2021-01-28T20:57:57
196,251,483
7
0
null
2023-01-09T22:06:57
2019-07-10T17:52:37
JavaScript
UTF-8
Python
false
false
381
py
# Generated by Django 2.0.4 on 2018-06-08 12:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('scrolls', '0018_auto_20180608_0404'), ] operations = [ migrations.AlterUniqueTogether( name='event', unique_together={('by_u...
[ "ford@ftrain.com" ]
ford@ftrain.com
e13b598b3ab59e0ff74d9435e43e41c82855e572
5a4ab9ea5e3060bf7744853c0fa261af527876d6
/day03/orm_demo1/boo/migrations/0002_article.py
1d15706a8dcc361abb33ea0a575a577eafed267c
[]
no_license
gaohj/jxlg_0304
3cabe3bc56d6a3e0a97f25bc1b684da27e0a0b96
9e34dba2abcb752fff692b2c25adb3defd098a87
refs/heads/master
2020-06-02T23:34:02.489012
2019-06-28T08:58:56
2019-06-28T08:58:56
191,345,040
3
4
null
null
null
null
UTF-8
Python
false
false
700
py
# Generated by Django 2.0 on 2019-06-14 07:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boo', '0001_initial'), ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models...
[ "gaohj@126.com" ]
gaohj@126.com
b364d718fc562acdadbf704f30576137acad4fb7
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/AT-SETUP-MIB.py
886100562cc364dc65fb729e95027670ac0c8fde
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
11,116
py
# # PySNMP MIB module AT-SETUP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AT-SETUP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:14:36 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
ff09036b192720416dd122ea9562138c9f0394ce
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/gg_.py
30cf80cef6a2d8b04f1644345692606c1376e383
[]
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
606d8cfb72f406daa19f033514b6c0387ef8ccc6
4542db1d4955aaf7c53c9ff7282d064a066ff393
/2020/December/20-Dec/command line argument,exception handling.py
763d53a7e21443113b29d545b869e123aa5501e4
[]
no_license
mohanbabu2706/100
7227527b0e0af1e4f69d194b7537c7aef27a810d
3c5a8b769fd4205afb3e3fd7e9cbf2ebf053b7b9
refs/heads/master
2023-02-20T09:56:45.970290
2021-01-20T10:09:09
2021-01-20T10:09:09
297,233,598
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
#This program adds up integers that have been passed as arguments in the command line import sys try: total = sum(int(arg)for arg in sys.argv[1:]) print('sum = ',total) expect ValueError: print('Please supply integer arguments')
[ "noreply@github.com" ]
mohanbabu2706.noreply@github.com
4152263ec153a74dbe4b9a6e39b6c9bc8a66e341
9307c025d1611a9fd21b34543643a46a03a3d3a4
/orcamentos/core/management/commands/create_admin.py
220674e01324f0d30c05556b6c13f8580aa167ad
[ "MIT" ]
permissive
projetosparalelos/orcamentos
74892ae46bfd86a4e8196fa3feb15cb55692ef03
af88f5a2b5d73f7ea6cf416d871714a0ebcdf252
refs/heads/master
2020-04-27T12:41:59.811244
2019-01-17T04:31:28
2019-01-17T04:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
from django.core.management.base import BaseCommand from django.contrib.auth.models import User from orcamentos.crm.models import Employee class Command(BaseCommand): help = ''' Cria um usuário admin. ''' def handle(self, *args, **kwargs): ''' Cria um Employee. Precisamos de Employee ...
[ "rg3915@yahoo.com.br" ]
rg3915@yahoo.com.br
7d366690a2e18aece41ce666bb4da73a35298049
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/sympy/stats/stochastic_process.py
ad68ef5ac3b84750463e3b0a29e5a5de45eaf751
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
2,228
py
from __future__ import print_function, division from sympy import Basic from sympy.stats.joint_rv import ProductPSpace from sympy.stats.rv import ProductDomain, _symbol_converter class StochasticPSpace(ProductPSpace): """ Represents probability space of stochastic processes and their random variables. Co...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
054d37c07f6a302bf45d9cc67212e2cd1df7291a
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/Structure/__init___parts/DistributionType.py
d38e3a744760d77f5c4751c442f58658e92cb577
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
912
py
class DistributionType(Enum,IComparable,IFormattable,IConvertible): """ The type of the distribution enum DistributionType,values: Uniform (0),VaryingLength (1) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """ pass def __format__(self,*args): """ __form...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
5c43f2e8a875e9f1939b98e2c16527d7a369d9b7
7e40c8bb28c2cee8e023751557b90ef7ef518326
/level2/level2.py
6b6d4cb94b858331308d54c42e681b7377f549a3
[]
no_license
1337536723/buuctf_pwn
b6e5d65372ed0638a722faef1775026a89321fa3
cca3c4151a50c7d7c3237dab2c5a283dbcf6fccf
refs/heads/master
2023-08-29T19:35:04.352530
2021-11-16T14:06:20
2021-11-16T14:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from pwn import * bin_addr = 0x0804a024 #p = process('./level2') p = remote('node3.buuoj.cn', 26359) elf = ELF('level2') sys_addr = elf.plt['system'] p.recvuntil('Input:') payload = b'a' * ( 0x88 + 4 ) + p32(sys_addr) + p32(0x123) + p32(bin_addr) p.sendline(payload) p.interactive()
[ "admin@srmxy.cn" ]
admin@srmxy.cn
c85b43f04745e322592dcd18a3f52120461d5379
95a534d8e0a3d29ae5224e7135f1961a14f2674d
/app/one_to_one/models.py
45135b5ad8e389f9ac61ad03a44a9a63a3899105
[]
no_license
mongkyo/prac-document
7a96bfed1d62411dcf231376898f73b94bdb969f
65a5331130feb3a0e135255c82ea8d2ba23d4ecc
refs/heads/master
2020-03-31T08:06:43.134379
2018-10-11T17:40:42
2018-10-11T17:40:42
152,046,166
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
from django.db import models class Place(models.Model): name = models.CharField(max_length=50) address = models.CharField(max_length=80) def __str__(self): return f'{self.name} the place' class Restaurant(models.Model): place = models.OneToOneField( Place, on_delete=models.C...
[ "dreamong91@gmail.com" ]
dreamong91@gmail.com
64e08a3ae92f72b778581622471ad547fefae6dd
b284097fb7eda14307defe2dd19fe290a366a8b3
/addons-vauxoo/invoice_cancel_iva/model/invoice.py
b868901d2963f3be0082d600541caff1c9bfe1db
[]
no_license
OpenBusinessSolutions/odoo-fondeur-server
41420069e77b2faaf12c396e5d3d2a2c165a8ae2
9c588e45011a87ec8d9af73535c4c56485be92f7
refs/heads/master
2021-01-01T05:45:29.736682
2016-04-19T15:21:58
2016-04-19T15:21:58
56,607,743
1
1
null
null
null
null
UTF-8
Python
false
false
4,060
py
# coding: utf-8 ########################################################################### # Module Writen to OpenERP, Open Source Management Solution # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). # All Rights Reserved # Credits###################################################### # Coded b...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
27dcc1afb9eef48f0b54eae6b5613fe0829275e1
c3e10c7174f78a8ac2dc0823a1fcfa4c80afc67b
/1elinearsearch.py
2cca16f64fbbb233b2f111ac68456068d9554835
[]
no_license
PreritBhandari/python-programs-III
3460c63e56ce6383d71ec594274c4b3edf984117
eea3fbecae59b410971e11ff3a50504752cb60da
refs/heads/master
2022-11-19T09:20:11.332556
2020-07-19T03:56:44
2020-07-19T03:56:44
280,787,593
1
0
null
null
null
null
UTF-8
Python
false
false
242
py
# e) linear search def LinearSearch(lys, element): for i in range(len(lys)): if lys[i] == element: return i return False if __name__ == "__main__": print(LinearSearch([1, 2, 3, 4, 5, 2, 1], 2))
[ "patrioticprerit@gmail.com" ]
patrioticprerit@gmail.com
42394a236222b49e0c60dc927584f9b29b99139a
f68d246ea82f980706bfa574da91d99797c29b38
/activeCode/heap.py
4d0a8944d04ab21537ff135bbd68862108086e79
[]
no_license
nicolas4d/Problem-Solving-with-Algorithms-and-Data-Structures-using-Python
40684370ab0c8a22894aa58c0479da6697ea0a13
5c7595cab3c5501e4b4177b700708a2609c74e30
refs/heads/master
2020-12-02T13:43:49.547926
2020-02-01T14:19:08
2020-02-01T14:19:08
231,025,645
1
0
null
null
null
null
UTF-8
Python
false
false
184
py
from pythonds.trees import BinHeap bh = BinHeap() bh.insert(5) bh.insert(7) bh.insert(3) bh.insert(11) print(bh.delMin()) print(bh.delMin()) print(bh.delMin()) print(bh.delMin())
[ "nicolas4d@foxmail.com" ]
nicolas4d@foxmail.com
066227fc4417ba0fff2fa3345443eb2815dab4c4
b23d294fdffabe72c336644f119860f5ce704eef
/python_1000phone/预科/day2-PIL/04-文字和颜色块.py
fa76439697eb6e145f5254e5ba57f3ea695b190c
[]
no_license
ikaros274556330/my_code
65232758fd20820e9f4fa8cb5a6c91a1969862a2
92db21c4abcbd88b7bd77e78d9f660b4534b5071
refs/heads/master
2020-11-26T09:43:58.200990
2019-12-23T02:08:39
2019-12-23T02:08:39
229,032,315
1
0
null
null
null
null
UTF-8
Python
false
false
766
py
"""__author:吴佩隆""" from PIL import Image,ImageFont,ImageDraw # 1.文字水印 - 将文字渲染在图片上 # 准备图片 image1 = Image.open('./files/chiling.jpg') # 准备文字 # 1)创建字体对象 # ImageFont.truetype(字体文件的路径,字体大小) font1 = ImageFont.truetype('files/bb.ttf',80) # 2)创建draw对象 # draw = ImageDraw.Draw(image1) draw = ImageDraw.Draw(image1) # 3)写 # d...
[ "274556330@qq.com" ]
274556330@qq.com
524ed7e94503183a799d610122964444c9b38b8e
304033f60097c489cbc60aab639be45ccdbef1a5
/algorithms/inflearn/section2/7.py
6e47b9bfce07d3c94cfb462166a5a879c41312ce
[]
no_license
pgw928/TIL
3d0c47c07bd1f5c73826daf8579a2b0e3f93cb95
765906f1e6eecad4ad8ec9bf704041433d7eb304
refs/heads/master
2023-06-29T05:46:30.039815
2021-08-10T17:38:11
2021-08-10T17:38:11
288,923,095
3
0
null
null
null
null
UTF-8
Python
false
false
226
py
import sys sys.stdin = open('section2/input.txt', 'rt') n = int(input()) nums = [True]*(n+1) nums[0], nums[1] = False, False for i in range(2, n//2+1): for j in range(2*i, n+1, i): nums[j] = False print(sum(nums))
[ "pku928@naver.com" ]
pku928@naver.com
2ac8ca7010ab02f782764f9cacfde68898b0dc49
10e94d77e56d9cbb979174795c465b679d03d6b3
/tensorflow/contrib/learn/python/learn/estimators/estimator_test.py
0acdbf20c3edc80fb0a163d9f7314403fed1882c
[ "Apache-2.0" ]
permissive
pint1022/tf-coriander
68939732c1ec0f052929c13ef6d8f49e44d423e4
197a685accca4a3f38285d6ac3ccf3998a200090
refs/heads/master
2020-04-14T18:56:40.334257
2019-01-11T00:40:11
2019-01-11T00:40:11
164,038,861
1
0
Apache-2.0
2019-01-04T00:53:40
2019-01-04T00:53:40
null
UTF-8
Python
false
false
22,385
py
# Copyright 2016 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
99971c0b16dacf336e6bb8cfec3810444af31ef1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2882/39190/304719.py
48b5449910760181ac3be5702cc6fd925bd7e81f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
690
py
def func3(arr): arr.reverse() rra=arr arr.reverse() peak=max(arr) if arr.index(peak)>0: for i in range(arr.index(peak)-1): if int(arr[i])>=int(arr[i+1]): return False if arr.index(peak)<len(arr)-rra.index(peak)-1: for i in range(arr.index(peak),len(arr...
[ "1069583789@qq.com" ]
1069583789@qq.com
daa228415a1b3cdca8c7512fe938035567946c7a
fcfd7f52a5592a5f4f46940c78634bf7f40c2ef5
/apps/organization/views.py
5ca8e34bde2db550cbfe23ba3b9c388ffa6e1858
[]
no_license
fank-cd/course_ol_exercise
0acdca8088c145c7bff9b54a68b62de0eb1c0510
10a504a0cfa9bf7754ff7da8e504135e82fdd169
refs/heads/master
2020-03-26T05:12:46.040472
2018-08-13T07:48:19
2018-08-13T07:48:19
144,265,376
0
0
null
null
null
null
UTF-8
Python
false
false
9,775
py
# coding:utf-8 from django.shortcuts import render from django.http import HttpResponse from django.views.generic.base import View from django.db.models import Q from courses.models import Course from operation.models import UserFavorite from .models import CourseOrg, CityDict, Teacher from .forms import UserAskForm ...
[ "2464512446@qq.com" ]
2464512446@qq.com
9683287354e0075e12fd77dad8cf739231fb23f6
0ac4831465d0273effd087c75484474985fd1106
/link_rec/forms.py
ae67ff1282aa8f0d1c546ad426aa3d76d792747d
[]
no_license
duggalr2/linkedin_recommend
af2a040b69cca4f190b8fe064f8048c0b412483c
d535df1643f2a37b8473962f496d83464aa839f3
refs/heads/master
2020-12-02T22:39:51.501151
2017-12-05T16:19:58
2017-12-05T16:19:58
96,162,172
7
2
null
null
null
null
UTF-8
Python
false
false
5,627
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.forms import formset_factory, ModelForm INDUSTRY_CHOICES = ( ('software', 'Software'), ('engineering', 'Engineering, excluding Software'), ('research', 'Research'), (...
[ "ibrahul24@gmail.com" ]
ibrahul24@gmail.com
b40e44faa5e369870bc288871dc9c304d99d2c3e
34474048ec5c4850623cf0fea993b43de76fada4
/Tests/unittest/code_gen/tac_o1/mix_global_local_nested_int_char_array.tac
3af956749d4f00960c094f9db45c8c0e838c9ba5
[]
no_license
imsure/C--
69a80e152936e31b14319ab16c2317d2cacc9165
9991e7135d6ebc8f6f08f46f37b82bfe353ec17f
refs/heads/master
2021-01-13T02:04:07.295401
2015-05-01T01:26:07
2015-05-01T01:26:07
30,732,455
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
tac
main: Enter main 108 _taddr0 = x + 0 *_taddr0(int) = 0 _taddr1 = y + 0 *_taddr1(char) = 1 _taddr2 = x + 4 *_taddr2(int) = 1 _taddr3 = y + 1 *_taddr3(char) = 2 _taddr4 = x + 8 *_taddr4(int) = 2 _taddr5 = y + 2 *_taddr5(char) = 3 _taddr6 = x + 12 *_taddr6(int) = 3 _taddr7 = y + 3 *_taddr...
[ "imsure95@gmail.com" ]
imsure95@gmail.com
259ffde6c20e473442c24385d68c132bf7ce4779
006ff11fd8cfd5406c6f4318f1bafa1542095f2a
/RecoLuminosity/LumiDB/scripts/specificLumi.py
916399856d1c2d32dd8f1828936869fa5f3be98f
[]
permissive
amkalsi/cmssw
8ac5f481c7d7263741b5015381473811c59ac3b1
ad0f69098dfbe449ca0570fbcf6fcebd6acc1154
refs/heads/CMSSW_7_4_X
2021-01-19T16:18:22.857382
2016-08-09T16:40:50
2016-08-09T16:40:50
262,608,661
0
0
Apache-2.0
2020-05-09T16:10:07
2020-05-09T16:10:07
null
UTF-8
Python
false
false
20,778
py
#!/usr/bin/env python ######################################################################## # Command to produce perbunch and specific lumi # # # # Author: Zhen Xie # ######...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
d5848a9e5ad00752733438c6be9f15f855ff05c2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_pointer.py
5ac88a0ce708e9c89cc7b196e8ef77770aec8498
[ "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
691
py
#calss header class _POINTER(): def __init__(self,): self.name = "POINTER" self.definitions = [u'something that is used for pointing at things, such as a long, thin stick that you hold to direct attention to a place on a map or words on a board, or a cursor', u'a helpful piece of advice or information: ', u'som...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
07d74c965ad48428b3acade5da4a6aa190bffc77
4a307849ed4dded5ce84b0ceb6d2cf56c2e64b89
/tcutils/config/vnc_api_results.py
093f370d0de9d0734a131a098e8f33e0287fb00e
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
lmadhusudhanan/contrail-test
a6316b41dcb836315d25503f1dee511943d7f976
bd39ff19da06a20bd79af8c25e3cde07375577cf
refs/heads/master
2022-05-04T20:01:58.960911
2018-06-27T17:56:47
2018-06-27T17:56:47
138,913,918
0
0
null
null
null
null
UTF-8
Python
false
false
37,667
py
import re from tcutils.verification_util import * class CsDomainResult (Result): ''' CsDomainResult to provide access to vnc_introspect_utils.get_cs_domain dict contrains: {u'domain': { u'fq_name': [u'ted-domain'], u'id_perms': {u'created': None, ...
[ "lmadhusudhan@juniper.net" ]
lmadhusudhan@juniper.net
f5aa2f0a35d71460c6b936f9fe19313a0a13913b
1a3234c1deeb8987fb4c5b424e6485ddd10c8ace
/estagios/core/form.py
021338a4415b61c90edc91e57e34b3d1b2660f03
[]
no_license
orlandosaraivajr/estagio
0c46b16fccf52861f68431a88032ba0fdc46bf66
439b797406c82673e9972eee373d60f844679a9c
refs/heads/master
2022-05-14T14:15:53.109355
2020-04-03T05:58:13
2020-04-03T05:58:13
189,227,824
0
0
null
2022-04-22T21:20:07
2019-05-29T13:09:14
CSS
UTF-8
Python
false
false
1,632
py
from django import forms from django.forms import ModelForm from estagios.core.models import User class LoginForm(ModelForm): class Meta: model = User fields = ['email', 'password'] labels = { 'email': 'E-mail', 'password': 'Senha' } widgets = { ...
[ "orlandosaraivajr@gmail.com" ]
orlandosaraivajr@gmail.com
2599ba25172f8c4d5bf9dfd7c2d42ef2a622b096
48a522b031d45193985ba71e313e8560d9b191f1
/baekjoon/python/10406.py
14779fe2b517e02188eedca6e18f8062aa9d26ff
[]
no_license
dydwnsekd/coding_test
beabda0d0aeec3256e513e9e0d23b43debff7fb3
4b2b4878408558239bae7146bb4f37888cd5b556
refs/heads/master
2023-09-04T12:37:03.540461
2023-09-03T15:58:33
2023-09-03T15:58:33
162,253,096
4
1
null
null
null
null
UTF-8
Python
false
false
213
py
import sys count = 0 w, n, p = map(int, sys.stdin.readline().split()) punch_list = list(map(int, sys.stdin.readline().split())) for punch in punch_list: if w <= punch <= n: count += 1 print(count)
[ "dydwnsekd123@gmail.com" ]
dydwnsekd123@gmail.com
13ff38fd624a28f8e31a89d15df14a35ccd208fa
9ecf55bf2601e0d4f74e71f4903d2fd9e0871fd6
/my_seg_tf/v4_128_128/model/unet.py
ba7e761f74f601823dd64cf81e8c08124d5f3053
[]
no_license
qq191513/mySeg
02bc9803cde43907fc5d96dc6a6a6371f2bef6fe
4337e6a0ca50b8ccbf6ed9b6254f2aec814b24db
refs/heads/master
2020-04-10T09:57:37.811133
2019-06-26T08:21:23
2019-06-26T08:21:23
160,951,962
1
0
null
null
null
null
UTF-8
Python
false
false
5,033
py
import os import tensorflow as tf import sys sys.path.append('../') import config as cfg lr_init = cfg.lr_init class Unet(object): def __init__(self, sess, config, is_train): self.sess = sess self.name = 'Unet' self.mask = config.mask self.ckpt_dir = config.ckpt_dir self.is...
[ "1915138054@qq.com" ]
1915138054@qq.com
d369fd4de101726338d35665b676a132ab6c4567
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/CrmShopvipCancelRequest.py
c82fb8fafe43c8edd71af72a729843b38b0af2af
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class CrmShopvipCancelRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.crm.shopvip.cancel'
[ "poorevil@gmail.com" ]
poorevil@gmail.com
f4139ba7b59e752ce0180da1c48a07365de98486
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/script1014.py
dabede7bc768ce46066e92849eee030bf819e85c
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,147
py
# coding: utf-8 # In[ ]: # Inspiration 1: https://www.kaggle.com/tunguz/logistic-regression-with-words-and-char-n-grams/code # Inspiration 2: https://www.kaggle.com/jhoward/nb-svm-strong-linear-baseline import pandas as pd import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.feature_...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
1aa72e7f053db9d44e6084691888488c1d1da4e8
b1baabe0f34a5595af3f9587b357155590f76569
/switcher
44806892454dc8ccc7239c8c9d4a227f32075524
[]
no_license
anson-tang/3dkserver
cb41269801ec97d747bb7b853841c7ad4921ad94
4fec66a0e1c8454252f53bc9ba41ce220357f7e4
refs/heads/master
2021-01-19T05:27:11.555032
2016-06-22T01:13:04
2016-06-22T01:13:04
60,994,700
0
2
null
null
null
null
UTF-8
Python
false
false
3,350
#!/usr/bin/env python #-*-coding: utf-8-*- import sys, os from os.path import abspath, dirname, join, normpath PREFIX = normpath( dirname( abspath( __file__ ) ) ) lib_path = normpath( join( PREFIX, 'lib' ) ) if lib_path not in sys.path: sys.path = [ lib_path ] + sys.path from twisted.internet import reactor, defer f...
[ "123@qq.com" ]
123@qq.com
c53a010937b63e46766486a720a1459d0abc48db
f31fda8014ecadf6af7d4e3392fb917c49e0352a
/HeavyIonsAnalysis/JetAnalysis/python/jets/akPuFilter1PFJetSequence_PbPb_jec_cff.py
9ab5f0e173560a4a0aafa9aeb1a3c4177253b7eb
[]
no_license
jniedzie/lightbylight
acea5051f053c49824a49a0b78bac3a2247ee75f
f5a4661fcf3fd3c0e9ccd8893a46a238e30c2aa8
refs/heads/master
2020-03-18T12:24:31.970468
2018-02-09T15:50:00
2018-02-09T15:50:00
134,724,759
0
1
null
2018-05-24T14:11:12
2018-05-24T14:11:12
null
UTF-8
Python
false
false
15,089
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "rchudasa@cern.ch" ]
rchudasa@cern.ch
5aec16750f6f86a0cdcfca7f3b20d9375929d277
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/TsRjbMRoNCM3GHuDk_9.py
7ca02c3b7d778338936732065ba5053888817fc2
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
""" The syllabic structure of Persian language is CV(C)(C). C stands for consonants and V stands for Vowels. The CV(C)(C) means that there are three types of syllables in Persian: * CV * CVC * CVCC Write a function that takes the phonetic transcription of a Persian word as an argument and returns the syllabi...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
611a0c5777f47f7658d656110a34f4b258b8ccf4
8fcdcec1bf0f194d23bba4acd664166a04dc128f
/packages/grid_control/datasets/scanner_basic.py
db6e80561435f992b58c20ba4e1205c5861bfe7a
[]
no_license
grid-control/grid-control
e51337dd7e5d158644a8da35923443fb0d232bfb
1f5295cd6114f3f18958be0e0618ff6b35aa16d7
refs/heads/master
2022-11-13T13:29:13.226512
2021-10-01T14:37:59
2021-10-01T14:37:59
13,805,261
32
30
null
2023-02-19T16:22:47
2013-10-23T14:39:28
Python
UTF-8
Python
false
false
16,454
py
# | Copyright 2010-2017 Karlsruhe Institute of Technology # | # | 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 require...
[ "stober@cern.ch" ]
stober@cern.ch
0c1509e1816728cd8c2678be1b3f957b1ad9cc38
75e951dcf749f62f2a292774968fe95fc4a353c8
/boa3/model/operation/unaryop.py
8d001b89427dfa1ef705bb7c35ec6be1e5ab8fb7
[ "Apache-2.0" ]
permissive
jplippi/neo3-boa
e0a199d1ed2fa39abe09ebd3c013c360ca87f544
052be4adebb665113715bb80067d954f7ad85ad5
refs/heads/development
2022-08-19T10:17:43.610854
2020-05-25T20:30:42
2020-05-25T20:30:42
265,959,419
0
0
Apache-2.0
2020-05-25T20:39:59
2020-05-21T21:54:24
Python
UTF-8
Python
false
false
2,046
py
from typing import Optional from boa3.model.operation.operator import Operator from boa3.model.operation.unary.booleannot import BooleanNot from boa3.model.operation.unary.negative import Negative from boa3.model.operation.unary.positive import Positive from boa3.model.operation.unary.unaryoperation import UnaryOperat...
[ "mirellamedeiros.09@hotmail.com" ]
mirellamedeiros.09@hotmail.com
030b4c362a080ed3fefaefec7c4a04c2570a0144
8f7b7a910520ba49a2e614da72f7b6297f617409
/Problemset/isomorphic-strings/isomorphic-strings.py
bfd41976cf490a5bac150110e345392d060325ff
[]
no_license
fank-cd/python_leetcode
69c4466e9e202e48502252439b4cc318712043a2
61f07d7c7e76a1eada21eb3e6a1a177af3d56948
refs/heads/master
2021-06-16T23:41:55.591095
2021-03-04T08:31:47
2021-03-04T08:31:47
173,226,640
1
0
null
null
null
null
UTF-8
Python
false
false
511
py
# @Title: 同构字符串 (Isomorphic Strings) # @Author: 2464512446@qq.com # @Date: 2020-12-28 16:12:46 # @Runtime: 48 ms # @Memory: 17.1 MB class Solution: def isIsomorphic(self, s: str, t: str) -> bool: d1,d2 = defaultdict(list), defaultdict(list) for index,i in enumerate(s): d1[i].append(ind...
[ "2464512446@qq.com" ]
2464512446@qq.com
1f30f5e4102fbbdca71b5f19949cadfb232dfb14
a42d5b8e53660db5b33d4cb3e9350eb983639cd8
/board/admin.py
d39fd3a5723f23155ad3e5430bbb5406e68ef879
[]
no_license
Tedhoon/SPNU_DP
03a0b3e6ae5fa0cf045617ef1da6c14f1084202b
3776417fc5d3cb099d6f7029d6864d58b5e535b6
refs/heads/master
2022-11-29T15:20:31.594799
2019-10-17T17:18:04
2019-10-17T17:18:04
211,781,362
1
0
null
2022-11-22T04:16:33
2019-09-30T05:23:59
CSS
UTF-8
Python
false
false
123
py
from django.contrib import admin from .models import * admin.site.register(NoticeBoard) admin.site.register(FreeBoard)
[ "gt0305@likelion.org" ]
gt0305@likelion.org
ec1d53bcb53a59ed0b3cf5cdec093ad9456263da
a560269290749e10466b1a29584f06a2b8385a47
/Notebooks/py/alberto33/introduction-to-ensembling-stacking-in-python/introduction-to-ensembling-stacking-in-python.py
697cfa42405f34ec019f187864f73b14e61421cd
[]
no_license
nischalshrestha/automatic_wat_discovery
c71befad1aa358ae876d5494a67b0f4aa1266f23
982e700d8e4698a501afffd6c3a2f35346c34f95
refs/heads/master
2022-04-07T12:40:24.376871
2020-03-15T22:27:39
2020-03-15T22:27:39
208,379,586
2
1
null
null
null
null
UTF-8
Python
false
false
29,957
py
#!/usr/bin/env python # coding: utf-8 # # Introduction # # This notebook is a very basic and simple introductory primer to the method of ensembling (combining) base learning models, in particular the variant of ensembling known as Stacking. In a nutshell stacking uses as a first-level (base), the predictions of a few...
[ "bitsorific@gmail.com" ]
bitsorific@gmail.com
0f61974c5e834f3cba8ffe47ed15b4b1a1f3aba8
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_127/118.py
d4733f2f4831c105eb5335bfcd752027eea7d78a
[]
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
1,118
py
import math def get_number_of_test_case(): return int(raw_input().strip()) def ans(x, y, n): if n == 1: if abs(x) + abs(y) != 1: return False elif x == 1: return 'E' elif x == -1: return 'W' elif y == 1: return 'N' elif y ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d6d823f39170c014d0a11739f5a3ab7b90f9178c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4347/codes/1793_1595.py
05495cd7b509876291eb94882aeab29cc3d2410f
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
from numpy import* n=array(eval(input("nota dos alunos"))) h=0 t=0 while(size(n)>h): t=t+n[h] h=h+1 t=t-min(n) y=size(n) y=y-1 t=t/y print(round(t,2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
ba8ea0976052895c62f71ec036fb295afc85a666
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_BoxCox/model_control_one_enabled_BoxCox_LinearTrend_Seasonal_Minute_AR.py
8af17b88b486c656cac6b7a11b9ebc140c4f4ea5
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
161
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['BoxCox'] , ['LinearTrend'] , ['Seasonal_Minute'] , ['AR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
557c6f588642ff8207591f649b68e0f4d5928909
dfc991b4163bca9192985bc6daa12168283ffac8
/test/aqua/operators/__init__.py
7909fc6dac6c123e255fc08303846d478c8de9e3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Unathi-Skosana/qiskit-aqua
feb8231a1719a0e73aaae0f29df0246b3dc9419c
e13f66eda6d8b819a6f132319a2bac819941f6b1
refs/heads/master
2020-11-24T15:39:29.645914
2020-08-07T22:36:23
2020-08-07T22:36:23
255,790,533
2
0
Apache-2.0
2020-04-15T03:06:06
2020-04-15T03:06:06
null
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2018, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
[ "manoel@us.ibm.com" ]
manoel@us.ibm.com
72391153bf1b5a4b9500125fb9c2eab3123cfda6
bd7e89c8e55a106af3dab4cf036309ec8a3e05e2
/Onsite/Week1/stick_of_truth_1.py
c50e9491405a6de5ff35dd5cf1ee6b39d36a44b4
[]
no_license
wiput1999/PrePro60-Python
758ec60addaa61ff27ea9bc46474eaf244f5ab58
d26dcadcd71896589f992a69cbff711ec0576f59
refs/heads/master
2021-09-15T19:52:10.899257
2018-06-09T12:52:42
2018-06-09T12:52:42
89,356,578
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
""" [Stick of Truth - 1] Time Converter """ def main(): """ Convert time """ # Parallel Hour para_hr = int(input()) # Parallel Minute para_min = int(input()) # Parallel Second para_sec = int(input()) pre_result = (para_hr * 50 * 29) + (para_min * 29) + para_sec pre_result *= 14 ...
[ "wiput.pootong@gmail.com" ]
wiput.pootong@gmail.com
a4bb39a9334acf1bf77a42f83b0699981a29f9c7
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/anagram/src/374.py
c539bcd239aa7680c066a136c90fe90dc92c4ca3
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
308
py
def detect_anagrams(reference, word_list): reference = reference.casefold() ref_list = sorted(reference) detect_anagram = lambda w1 : w1 != ref and sorted(w1) == ref_list return [word for word in word_list if detect_anagram(word.casefold())]
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
bc3fdf3b58a0e51964c0ff34acad6251cbc52f5f
7a604a685f9729cd691a7c81f12f2f8a297744de
/feedly/default_settings.py
2cacfbb53bcb1181a10700376b241fc1d96dd34f
[ "BSD-3-Clause" ]
permissive
vmaliwal/Feedly
16b3e6ba90646dcbce863f6a2b5613b832a21c0e
ec9c8655b4b831cda22d12afa7e39dc382a86b4e
refs/heads/master
2021-01-20T22:55:09.042922
2013-08-08T13:39:34
2013-08-08T13:39:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
FEEDLY_NYDUS_CONFIG = { 'CONNECTIONS': { 'redis': { 'engine': 'nydus.db.backends.redis.Redis', 'router': 'nydus.db.routers.redis.PrefixPartitionRouter', 'hosts': { 0: {'prefix': 'default', 'db': 2, 'host': 'localhost', 'port': 6379}, 12: {'prefix': 'feedly:', 'db': 0, 'host': 'localhost', ...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
b035543cf5b0996c159636f236d14a00d492ff0f
fcc33e6a8b8af0ac1d69bd9815b786318c4b2d4b
/tests/testapp/migrations/0002_config_template.py
11ad23505a0fcdf0eab9bd30b3843fd68d91b43c
[ "LicenseRef-scancode-unknown-license-reference" ]
permissive
PabloCastellano/openwisp-users
47a0c7b286422effaa57c192ee7a3e687afeb90f
d95cb7a1e30ef69b948216c54931ddf7a4a215fc
refs/heads/master
2022-07-08T03:02:35.622736
2020-04-15T22:47:39
2020-04-15T22:47:39
256,520,208
0
0
BSD-3-Clause
2020-04-17T14:07:29
2020-04-17T14:07:28
null
UTF-8
Python
false
false
510
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-14 15:14 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('testapp', '0001_initial'), ] operations = [ migrations.AddField( model...
[ "nemesis@ninux.org" ]
nemesis@ninux.org
47c521124fd2c1605e9cacaaffd327c383c76a12
8dfe4b53fae92795405d789d52148d1291836afa
/.metadata/.plugins/org.eclipse.core.resources/.history/b0/40309ba33381001515feb230dc0120b2
fe95f4e3a0d5f62b004a6c2ef67cbc23ae59821a
[]
no_license
ymyjohnny/python
e07c54a88954e090cf3d30a4c6f6ac46353063fb
b483fd55e577d4dcceb5762bddf833df23874f3a
refs/heads/master
2021-01-10T01:10:19.038424
2019-07-02T02:40:23
2019-07-02T02:40:23
45,223,843
0
0
null
null
null
null
UTF-8
Python
false
false
382
#!/usr/bin/python #coding=utf-8 ''' Created on 2015-11-2 @author: ymy ''' import os dirname = '/tmp' def allfile(dirname): for base,dirs,files in os.walk(dirname): for file in files: filename = os.path.join(base,file) filenames = filename.append() #print filenames def...
[ "ymyjohnny@adsame.com" ]
ymyjohnny@adsame.com
966d55e40c38e5b665058075f090351806b1d9a6
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129095952.py
ea98f703e481dd4caf491af6ddbe4c82c9af507b
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
9,945
py
# 东方财富网 首发申报 from datetime import datetime,timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?' headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Ap...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
aa237d039e97b9f01880f9bee5d1a2994a3a66ea
94318d8fa492445adb79547da369f141d8a80133
/scripts/plot_detection_rate.py
80df4af4d2dc49e02ca82f87f4f91f7f365b7f49
[]
no_license
dragontt/geneoscopy_dev
630fbaca230dfd009667694ed8bb4a222e597eed
a5cf26ed0dc949c3d7af48d765864aff95edbe9d
refs/heads/master
2021-01-12T12:53:16.696478
2017-05-26T18:44:45
2017-05-26T18:44:45
69,477,315
0
1
null
null
null
null
UTF-8
Python
false
false
1,061
py
#/usr/bin/python import numpy as np import sys import matplotlib.pyplot as plt ##Color choice: #507cb2 <- blue #73aa53 <- green #7f4d91 <- purple filename = sys.argv[1] color = sys.argv[2] f = open(filename, 'r') lines = f.readlines() f.close() labels = [] values = [] for i in range(1, (len(lines)-1)): line = lin...
[ "you@example.com" ]
you@example.com
965f0f0575173c3e422ccf531b6ee00c9c26153a
18f0ad99e21e2e35126f8c3c28079d358fa2129a
/Adafruit_STEMMA_Relay/code.py
90a3ebc494b98b85606ab958b6d7eed82af95a86
[ "MIT" ]
permissive
ladyada/Adafruit_Learning_System_Guides
9bf18dfa35941e0cbecbb3c2d02b4fa3cb79744f
6d76801878cbf65132ccea950dc47ae842c73dcd
refs/heads/master
2023-08-20T20:30:42.910576
2022-01-10T20:28:11
2022-01-10T20:28:11
115,837,894
13
2
MIT
2020-03-31T23:23:45
2017-12-31T02:34:47
C
UTF-8
Python
false
false
225
py
import time import board import digitalio relay = digitalio.DigitalInOut(board.A1) relay.direction = digitalio.Direction.OUTPUT while True: relay.value = True time.sleep(1) relay.value = False time.sleep(1)
[ "kattni@adafruit.com" ]
kattni@adafruit.com
74f58ecbee8a351e9afa5d6b12189026de789cce
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/Scaleform/daapi/view/meta/BCMessageWindowMeta.py
0012af4c374027efc9feaad96ad7d03c1dfb6253
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
757
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/BCMessageWindowMeta.py from tutorial.gui.Scaleform.pop_ups import TutorialDialog class BCMessageWindowMeta(TutorialDialog): def onMessageRemoved(self): self._printOverrideError('onMessageR...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
cbf6d2082e39aa257ea9fbe33b054caa5d9f3c3b
7c74ceb9f8addcc0816d012e0b84b174b96e0def
/src/azure-cli/azure/cli/command_modules/aro/commands.py
d260980c3351e0d1f012b5f449a5127298355e87
[ "MIT", "LGPL-2.1-only", "LGPL-2.1-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.0-or-later", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
microsoft/azure-cli
4c826290e7a6f6bd27da3829b05e4f02ff6dc8d9
9ba64b33f6f78e2c3e42f8a147f59484300e8779
refs/heads/dev
2023-08-31T08:51:39.526556
2022-11-28T19:08:23
2022-11-28T19:08:23
370,900,439
7
7
MIT
2023-08-01T23:34:50
2021-05-26T03:59:41
Python
UTF-8
Python
false
false
1,505
py
# -------------------------------------------------------------------------------------------- # 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" ]
microsoft.noreply@github.com
abb7a8d52d3b436acb78715b3bb73aea337c4351
cc4d8bfef5395c0e3076e9a37a40864554e9099a
/cli.py
6d64d4987ace1d007791275ed73818dfd6440490
[ "MIT" ]
permissive
NiklasRosenstein/yassg
99ce9cd327d7e4a72b94066a6e1d1c693b581b33
511ca5a1eb76b8fb314c45de6ac85a845b98243c
refs/heads/master
2021-01-01T04:49:03.758342
2017-11-15T13:02:52
2017-11-15T13:02:52
97,255,419
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
# Copyright (c) 2017 Niklas Rosenstein # # 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 # to use, copy, modify, merge, publish, ...
[ "rosensteinniklas@gmail.com" ]
rosensteinniklas@gmail.com
708ac5d15ba5bd4ff5de1105d484cf04d937744f
70922de165319283d640821fd42ea1806da402c0
/math/0x05-advanced_linear_algebra/4-inverse.py
072f6b067b57f8f8f4c3b6c36868f390e22e15db
[]
no_license
ikki2530/holbertonschool-machine_learning
bdd8152d575a99281e2cce105cf87442ec07f2fb
0b56aa0e92d65d4a5832cc994769834fbcfbe0ac
refs/heads/main
2023-07-07T00:49:03.675328
2021-08-11T10:27:56
2021-08-11T10:27:56
317,352,924
0
0
null
null
null
null
UTF-8
Python
false
false
5,506
py
#!/usr/bin/env python3 """ calculates the inverse of a matrix. """ def determinant(matrix): """ Calculates the determinant of a matrix. - matrix is a list of lists whose determinant should be calculated. Returns: the determinant of matrix """ n = len(matrix) if n == 1 and len(matrix[0]) ==...
[ "dagomez2530@gmail.com" ]
dagomez2530@gmail.com
72f7059f397a28a6fc5d98863a2b760954f5192a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/701.py
e899850bc93a963d05e10c0c43026ddae3581bf4
[]
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
253
py
N = int(raw_input()) for p in range(N): c, f, x = [float(x) for x in raw_input().split()] ps = 2 sc = 0 mn = 1e18 while True: if x/ps+sc > mn: break mn = x/ps+sc sc = sc + c/ps ps = ps + f print "Case #%d: %.7f" % (p+1, mn)
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0f0f877c97a35b12e70b671b4474566eb9ea5061
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_11384.py
b95a73f029ffac05ff28a15dd300aebce41f7043
[]
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
104
py
# Pythonic way to find any item from a list within a string any(name in line for name in illegal_names)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
ebb12756eedd2b1951d254e6c61ebf9cc3fccc37
24a377bcf06aac43eb099f5ce2383e5da07ddadc
/analysis/set_num_runs.py
7a02d3330ac65acc6e51f1470227da9a0bc78537
[]
no_license
AlJohri/nulaundry
223f0cf4b5c4a46e083512b35f4cddc5879d39ab
be61f72dd69cc633458d3e147a1593b2e6bf01c4
refs/heads/master
2020-05-19T14:15:44.561527
2015-04-15T04:21:29
2015-04-15T04:21:29
33,854,316
1
0
null
null
null
null
UTF-8
Python
false
false
420
py
from firebase import firebase firebase = firebase.FirebaseApplication('https://aljohri-nulaundry.firebaseio.com', None) machines = firebase.get("/machines", None) for machine_id, machine in machines.iteritems(): num_runs = len(machine['runs'].values()) if machine.get('runs') else 0 print "Machine %s has %d runs" % (...
[ "al.johri@gmail.com" ]
al.johri@gmail.com
2c1729733b5515b33837a25e1c54ba55a64c4d70
744c3b66611b08782fcdd9d66261c4d55b00d426
/examples/pybullet/gym/pybullet_envs/minitaur/agents/baseline_controller/gait_generator.py
61bd849acf0af82aee1c3cb503e4381a69ee2973
[ "Zlib" ]
permissive
erwincoumans/bullet3
4ff9e0aa64b641c65b57b26f415dd69dbfb12256
6d181d78a5c7be8714c74055cddcf63d5ccef70a
refs/heads/master
2023-03-10T14:58:18.072562
2023-02-24T18:32:53
2023-02-24T18:32:53
31,621,748
103
29
NOASSERTION
2019-02-25T17:31:00
2015-03-03T21:15:54
C++
UTF-8
Python
false
false
685
py
"""Gait pattern planning module.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc import enum class LegState(enum.Enum): """The state of a leg during locomotion.""" SWING = 0 STANCE = 1 # A swing leg that collides with the ground. E...
[ "erwin.coumans@gmail.com" ]
erwin.coumans@gmail.com
6413512eb598e1e8364fa9fbecd51fc794c7d5e3
395f974e62eafed74572efebcd91d62966e61639
/examples/microjson/mutants/AOR_BinOp_mutant_1486201075.py
5d5230b65975c8dfcad7628802b49a4a92723753
[ "Apache-2.0" ]
permissive
agroce/tstl
ad386d027f0f5ff750eab19a722a4b119ed39211
8d43ef7fa49534868e6cdf1697863748260405c7
refs/heads/master
2023-08-08T19:14:52.020314
2023-07-26T17:51:36
2023-07-26T17:51:36
32,408,285
106
33
NOASSERTION
2021-01-26T19:05:17
2015-03-17T17:14:04
Python
UTF-8
Python
false
false
8,312
py
import math import StringIO import types __pychecker__ = 'no-returnvalues' WS = set([' ', '\t', '\r', '\n', '\x08', '\x0c']) DIGITS = set([str(i) for i in range(0, 10)]) NUMSTART = DIGITS.union(['.', '-', '+']) NUMCHARS = NUMSTART.union(['e', 'E']) ESC_MAP = {'n': '\n', 't': '\t', 'r': '\r', 'b': '\x08', 'f': '\x0c'} R...
[ "agroce@gmail.com" ]
agroce@gmail.com
64608d15d268eb8a172554ecfb7235b36b175d0b
677a3a76807d8585f65ec0e0839bb3a8b833e2fb
/10.Design Patterns/Lab/1.Abstract_factory.py
cd4cff1cf3cb94f6f195c13a8447e4bec28e90a5
[]
no_license
negative0101/Python-OOP
0d531a1b72beb3e58f9486df88d457ecd59be10e
b5825e66a909c947a46458712d683e8a38035912
refs/heads/main
2023-07-14T11:27:34.841594
2021-08-20T08:49:04
2021-08-20T08:49:04
381,475,313
0
0
null
2021-07-25T19:52:38
2021-06-29T19:26:42
Python
UTF-8
Python
false
false
1,724
py
from abc import ABC, abstractmethod class Chair: def __init__(self, name): self.name = name def __str__(self): return self.name class Sofa: def __init__(self, name): self.name = name def __str__(self): return self.name class Table: def __in...
[ "noreply@github.com" ]
negative0101.noreply@github.com
3d7ce7f23f60f696a1c6fc3dad73799d24bb83a9
2bcc421ee345b00cf805c543b37d18b5d019dc04
/adafruit-circuitpython-bundle-6.x-mpy-20201126/examples/rfm69_transmit.py
8f290230a0177f4531c020ba3597b90cb31b0bc0
[]
no_license
saewoonam/sc-current-source-titano
5a1ad46889c1b09c168424901fd71cb4eab5c61b
1c136aa8b61268d9ac0b5a682b30ece70ab87663
refs/heads/main
2023-03-02T22:12:26.685537
2021-02-09T03:28:01
2021-02-09T03:28:01
317,299,900
0
2
null
null
null
null
UTF-8
Python
false
false
1,895
py
# Example to send a packet periodically # Author: Jerry Needell # import time import board import busio import digitalio import adafruit_rfm69 # set the time interval (seconds) for sending packets transmit_interval = 10 # Define radio parameters. RADIO_FREQ_MHZ = 915.0 # Frequency of the radio in Mhz. M...
[ "nams@nist.gov" ]
nams@nist.gov
8a3659cc339b77f4682c2220d784c46a647f5a6a
5b76a92ec02529f97bcf72ba2487f11b73684439
/pyxel_lander/__init__.py
40a9993bd4c8b06058baaef719dbb92ea720489a
[ "MIT" ]
permissive
humrochagf/pyxel-lander
d9533598a56a1adba4c335167620950868bcec6b
05b76c45de69f7fa1ecf78cf1ba555e8771d3bfc
refs/heads/main
2023-03-08T06:18:39.555621
2023-03-06T02:18:09
2023-03-06T02:18:09
163,335,210
28
3
null
null
null
null
UTF-8
Python
false
false
235
py
from pyxel_lander.constants import AUTHOR, EMAIL, VERSION from pyxel_lander.game import Game __author__ = AUTHOR __email__ = EMAIL __version__ = VERSION __all__ = [ "__author__", "__email__", "__version__", "Game", ]
[ "humrochagf@gmail.com" ]
humrochagf@gmail.com
3082243e987f916fa7c31952331a62d65983a72c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/4jNjHdZ2hmMh23pRg_8.py
def823a82703336877c1698b26cb5997d5eaa82f
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def cutting_grass(lst, *cuts): lsts = [[e - sum(cuts[:i+1]) for e in lst] for i in range(len(cuts))] return [i if all(e > 0 for e in i) else 'Done' for i in lsts]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d2d5e2724e5868e3de00fc519848b82369742bab
e62c8ee151671b999c6720ab8c2aa2f96c0d7f55
/examples/miniapps/boto3-session/boto3_session_example.py
33ed85f6dd4ffb0cf0fd7d12844a69a572b02a71
[]
permissive
ets-labs/python-dependency-injector
45645973456bb6494386ad12103d06e1f1be2cd8
cc2304e46e054ae08dc12995428759fbfb51af10
refs/heads/master
2023-08-23T03:59:53.509743
2022-12-19T03:14:24
2022-12-19T03:14:24
28,774,758
3,217
273
BSD-3-Clause
2023-09-08T21:46:18
2015-01-04T13:23:05
Python
UTF-8
Python
false
false
2,053
py
"""Boto3 session example.""" import boto3.session from dependency_injector import containers, providers class Service: def __init__(self, s3_client, sqs_client): self.s3_client = s3_client self.sqs_client = sqs_client class Container(containers.DeclarativeContainer): config = providers.Con...
[ "rmogilatov@gmail.com" ]
rmogilatov@gmail.com
570a9766aa5228126ece666542ba521ded51bb84
37d10412479a81c652e3ebf0c21c101b68fe1b4d
/rebecca/bootstrapui/helpers.py
7c850d56c33719949e736ca874ba579b29d7a7d6
[ "MIT" ]
permissive
rebeccaframework/rebecca.bootstrapui
97bfde14861d9b318fd1b0087a30c10cfbc18da3
e247aead62e75009256d8341a893b173ccfe3b10
refs/heads/master
2020-05-18T15:50:27.364424
2014-08-23T10:18:21
2014-08-23T10:18:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
import functools from webhelpers2.html import HTML, escape, literal from babel.dates import format_date, format_datetime, format_time from babel.numbers import format_number, format_decimal, format_percent def bind_locale(func, localename): return functools.partial(func, locale=localename) class WebHelper(objec...
[ "aodagx@gmail.com" ]
aodagx@gmail.com
5dc668e60985444fd9aa28246684e0b119ddea80
88ea6ae5a8f97e3771490583d8acecdbe2877fd8
/zips/plugin.video.vistatv/resources/lib/sources/en/watch32.py
e4449b2214e5d64dd66cc38e81ebeb999833a20b
[]
no_license
staycanuca/PersonalDataVistaTV
26497a29e6f8b86592609e7e950d6156aadf881c
4844edbfd4ecfc1d48e31432c39b9ab1b3b1a222
refs/heads/master
2021-01-25T14:46:25.763952
2018-03-03T10:48:06
2018-03-03T10:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
# -*- coding: UTF-8 -*- ####################################################################### # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # @tantrumdev wrote this file. As long as you retain this notice you # can do whatever you want wit...
[ "biglad@mgawow.co.uk" ]
biglad@mgawow.co.uk
bc500ba176b2434f5fb8c5f9ef04e5625cd2fe98
ce8563184a6cf8210279b79cd1ccfd4040e35b55
/src/ebay_rest/api/sell_listing/rest.py
1f94ccb346b94bc05b402e233e6d6cb5bfa8b4fc
[ "MIT" ]
permissive
craiga/ebay_rest
43dc107f9eeba9a04924f36ee8cf57af3854bc9a
a0be2677c65a787e9566df848ffa3ad0c309a9d9
refs/heads/main
2023-08-29T09:14:08.896434
2021-09-05T23:07:36
2021-09-05T23:07:36
411,585,541
0
0
MIT
2021-09-29T08:10:44
2021-09-29T08:10:43
null
UTF-8
Python
false
false
13,642
py
# coding: utf-8 """ Listing API <span class=\"tablenote\"><b>Note:</b> This is a <a href=\"https://developer.ebay.com/api-docs/static/versioning.html#limited\" target=\"_blank\"> <img src=\"/cms/img/docs/partners-api.svg\" class=\"legend-icon partners-icon\" title=\"Limited Release\" alt=\"Limited Release\" ...
[ "matecsaj@gmail.com" ]
matecsaj@gmail.com
12ec82e69e5b3d50651b488913b9e56d768c6259
bd01527a0af06828c56206d1113c372787e0d1d0
/backend/media/justrelax/node/media/player.py
0fae154d42080e85207185137f7117e755f8f9ac
[]
no_license
nosseb/justrelax
3810f3cbae507f3da3c7a0ab894e5c3236b8c9d1
812bdf7787a761c94afd867cfc4de20f993fc86a
refs/heads/master
2022-11-26T22:12:33.825056
2020-07-21T15:42:27
2020-07-21T15:42:27
263,049,627
0
0
null
2020-05-11T13:24:52
2020-05-11T13:24:51
null
UTF-8
Python
false
false
2,432
py
from justrelax.common.logging_utils import logger class MediaPlayerMixin: STATE_NOT_STARTED = 'not_started' STATE_PLAYING = 'playing' STATE_PAUSED = 'paused' def __init__(self): self.current_state = MediaPlayerMixin.STATE_NOT_STARTED def play(self): if self.current_state == Media...
[ "jbaptiste.braun@gmail.com" ]
jbaptiste.braun@gmail.com
485ebf8496bd146a42491a9f4317726e7d3725e0
79b93d7c36645735309a55973ec54d126956c612
/Round1B/DraupnirBig.py
bbd9b31b2927243318da8e69786c1f06597f0bb4
[]
no_license
rocket3989/codeJam2019
a7523f27c73a8e69c35754ad1737f8587e626c9f
2d383ef2eefac43a86b24433bb6371961002adc5
refs/heads/master
2022-02-28T23:52:56.653242
2019-09-25T01:01:43
2019-09-25T01:01:43
179,910,089
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
T, M = list(map(int, input().split())) for test in range(0,T): r = [0,0,0,0,0,0,0] inp = [] print(200) inp.append(int(input())) print(56) inp.append(int(input())) r[6] = (inp[0] % 2 ** 40) // 2 ** 33 inp[0] -= r[6] * 2 ** 33 r[5] = (inp[0] % 2 ** 50) // 2 ...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
e22ed8db69cbcb31a38db3a504b7ff241cb1244b
49c3166a46e84b193f8b70dfaf12757b8e385348
/recipe_scrapers/tests/test_thepioneerwoman.py
3b87fde7e5f2f7de001dc4e29870507d834b482b
[ "MIT" ]
permissive
buneme/recipe-scrapers
f8f199ee47f52d74ef8813ff6bd1efb70d4064de
7e3426a5e853335ba0999e2a50b1ea9b98ee429c
refs/heads/master
2020-04-13T00:27:24.710040
2018-11-27T15:31:55
2018-11-27T15:31:55
162,845,950
1
0
MIT
2018-12-22T22:12:29
2018-12-22T22:12:29
null
UTF-8
Python
false
false
2,468
py
import os import unittest from recipe_scrapers.thepioneerwoman import ThePioneerWoman class TestThePioneerWomanScraper(unittest.TestCase): def setUp(self): # tests are run from tests.py with open(os.path.join( os.getcwd(), 'recipe_scrapers', 'tests', ...
[ "hhursev@gmail.com" ]
hhursev@gmail.com
b8ce6bca58314b866a7d721d90990ae2cc5492a5
e3e8467a3bae0982bd1ae0a27474e59d61eabe95
/nukepy
efe0df8dd0ca6a266d16c453902c4d02f54a5aa2
[]
no_license
LumaPictures/nukecli
d47cd5c5a8d15cf5e584ac5b87362ad5333fa8d6
7ca3829cf940a3d836eb0104f41fb00321c9c92c
refs/heads/master
2020-06-01T04:20:58.804388
2011-08-05T23:34:46
2011-08-05T23:34:46
2,163,112
15
4
null
null
null
null
UTF-8
Python
false
false
1,441
#!/usr/bin/env python """ Wrapper for Nuke -t that behaves more like a normal python binary. - adds support for -c flag to pass a string of python code to execute - expands symbolic links - can be used as the interpreter in executable python scripts (e.g. #!/usr/bin/env nukepy) """ from __future__ import with_stat...
[ "chadrik@gmail.com" ]
chadrik@gmail.com
9c32c81ada99ccdd475169383494827f0feba25d
fe06311a7de13a02ca0be37d84c542c3cece3f33
/Chapter14/file_14_4k.py
c0a727e6cee4b1ac580ff06298411b2c8d3e643c
[]
no_license
mooksys/Python_Algorithms
a4a84ddabc34ec4b7cc0ac01d55019880af38514
375817e3dfdec94411cf245fe3f685a69d92b948
refs/heads/master
2020-08-24T06:35:05.791979
2018-07-30T01:22:24
2018-07-30T01:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
import string print(string.ascii_uppercase) # 출력: ABCDEFGHIJKLMNOPQRSTUVWXYZ
[ "jeipubmanager@gmail.com" ]
jeipubmanager@gmail.com
cbe54232f0be04c15cdde2e8131a03669382f580
e6d79311f0e020f366f98fd0bb096e66598093e9
/tests/test_aggregates.py
d9a34c164a72ef523f3854e45375ce6a452ff7f9
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
adborden/openFEC
b54fb4b0e854d9ad77de738420ea07f714574941
53a0a2b1a56292c5ca8e7a3185832baaed4a63d9
refs/heads/develop
2021-01-17T15:51:15.486471
2016-03-14T16:17:49
2016-03-14T16:17:49
53,984,188
0
1
null
2016-03-15T22:50:11
2016-03-15T22:50:11
null
UTF-8
Python
false
false
10,824
py
from tests import factories from tests.common import ApiBaseTest, assert_dicts_subset from webservices import schemas from webservices.rest import db, api from webservices.resources.aggregates import ( ScheduleAByEmployerView, ScheduleEByCandidateView, CommunicationCostByCandidateView, ElectioneeringBy...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
b46e91baeb582c1b23025c803fe705dab8582a91
d2bbf50859beb3447d8e15d5d11f89942f1b21d3
/Top down design lab/conversion1.py
56c6680b68b9082c71627b440e82dace9a22c5a0
[]
no_license
nbenkler/CS110_Intro_CS
f5bc8da21bac9bc4d1c01070b5f7cc75fb3ab012
372483bce661ef8052c2ebbe832cc6ec1922d113
refs/heads/master
2020-04-24T07:25:26.630687
2019-02-21T04:27:55
2019-02-21T04:27:55
171,798,847
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
#conversion1.py # A program to convert Celsius temps to Fahrenheit def main(): fileName = eval(input("What is the name of the file you would like to convert? ")) inFile = open(fileName, "r") for line in inFile: celsius = int(line) fahrenheit = 9/5 * celsius + 32 print(celsius, "degrees celsius is", fahren...
[ "you@example.com" ]
you@example.com
8d626cd10ddba11c2cc47aaaae26cca82f16f13d
bb6ebff7a7f6140903d37905c350954ff6599091
/third_party/WebKit/Source/devtools/scripts/concatenate_js_files.py
69d776abae74eff185f6689bcb1c595dffa5d111
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
Python
false
false
4,254
py
#!/usr/bin/env python # # Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
83626a499b71960a0cbd94990cb81f96a5cc2601
ff69aab96d76ac3dc5b93605617314c6eb2b257c
/gymmeforce/models/__init__.py
4cedb96b2487ce53f7fda441d4b1d2cc233798a2
[ "MIT" ]
permissive
init27Lab/gymmeforce
a9fc7e455b8427ce2c3334e059ee6e532adb3384
12731bcf34de9e9a94fae085cdfe10e3f4e0d142
refs/heads/master
2021-09-01T12:30:16.508592
2017-12-27T01:35:21
2017-12-27T01:35:21
115,546,238
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from gymmeforce.models.base_model import BaseModel from gymmeforce.models.dqn_model import DQNModel from gymmeforce.models.vanilla_pg_model import VanillaPGModel from gymmeforce.models.ppo_model import PPOModel
[ "lucasgouvaz@gmail.com" ]
lucasgouvaz@gmail.com
c439df6bafaa4167d39bfcd0250e95a1dca7f532
79197ddad40d2780a8f291bffa2cb58509c055bb
/Menus/menu-1.py
d09c2355e97f9093a2030524511a2994180fe946
[]
no_license
Adrien-FILIPPI/Hackbox
6dd0c66e0fa72a249ee06c6064cbc9bb66eeaa7b
c58495503abc2948ae1d6e2ea1705ee48192f1df
refs/heads/master
2021-01-25T09:37:59.960101
2019-01-08T16:04:38
2019-01-08T16:04:38
93,864,005
0
0
null
null
null
null
UTF-8
Python
false
false
7,712
py
#!/usr/bin/env python import kalipi from kalipi import * ############################# ## Local Functions ## # Check VNC status def check_vnc(): if 'vnc :1' in commands.getoutput('/bin/ps -ef'): return True else: return False # Check Terminal session status def check_terminal(): ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
dca6b846e015febbace846cc1f9076f111184cbe
382034646e9d3e32c8e63e8d83d2dd7da5be4ef3
/workery/tenant_api/serializers/staff.py
9988858b14d0cbfa0d3e9175f319d0674e705928
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wahello/workery-django
80c88ecb7968951719af6857711891ec3787cf46
289318b0333d830c089f4492716c38d409c365ed
refs/heads/master
2020-03-30T04:21:48.642659
2018-09-28T01:30:22
2018-09-28T01:30:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,320
py
# -*- coding: utf-8 -*- import logging import phonenumbers from datetime import datetime, timedelta from dateutil import tz from starterkit.drf.validation import ( MatchingDuelFieldsValidator, EnhancedPasswordStrengthFieldValidator ) from starterkit.utils import ( get_random_string, get_unique_username_...
[ "bart@mikasoftware.com" ]
bart@mikasoftware.com
05c69d86a598279fd05f359ed4b55dbf7789ecbb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/96/usersdata/212/52473/submittedfiles/estatistica.py
833c7315b45ff153b15c5cbf6daf19fb0e037238
[]
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,004
py
# -*- coding: utf-8 -*- def media(lista): soma = 0 for i in range(0,len(lista),1): soma = soma + lista[i] resultado = soma/len(lista) return resultado #Baseado na função acima, escreva a função para calcular o desvio padrão de uma lista def desvio(lista): soma=0 dp=0 m=media(lista...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6a4ee598f47454db0493b131fcdf35f2e2f999bb
66d04b8c46feef85c1666a4ba467124ee2c18450
/lambdas/layer/.chalice/config.json.template.py
3d375499fa4760654e91540304e9ac9cb68879d9
[ "Apache-2.0" ]
permissive
DataBiosphere/azul
767abdefafbaf714fb78e5ee1aa5224b07fa7ec1
3722323d4eed3089d25f6d6c9cbfb1672b7de939
refs/heads/develop
2023-09-01T12:26:21.387100
2023-09-01T00:01:46
2023-09-01T00:01:46
139,095,537
23
22
Apache-2.0
2023-09-14T18:00:44
2018-06-29T03:18:14
Python
UTF-8
Python
false
false
263
py
from azul import config from azul.template import emit emit({ "version": "2.0", "app_name": config.qualified_resource_name("dependencies"), "api_gateway_stage": config.deployment_stage, "manage_iam_role": False, "lambda_memory_size": 128, })
[ "hannes@ucsc.edu" ]
hannes@ucsc.edu
e71c296d26a1fc078ab5b6286026948ef2b23459
0beaf9d78d03100b2aebaaac38fb343d425f2b6a
/tests/regression/gsheet/test_chrome_gsheet_100r_number_utf8chars.py
57e29b0c39b7eec92f89400c4f2f06c356e2ae5d
[]
no_license
digitarald/Hasal
462fc044bb4a754c8d76c0bfb0df519f1786fdcc
c496afae6ec2e3743148f3a6288b78f120100513
refs/heads/master
2021-01-13T14:29:44.471037
2016-11-04T10:49:19
2016-11-04T10:49:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from lib.perfBaseTest import PerfBaseTest class TestSikuli(PerfBaseTest): def setUp(self): super(TestSikuli, self).setUp() def test_chrome_gsheet_100r_number_utf8chars(self): self.test_url = self.env.GSHEET_TEST_URL_SPEC % self.env.TEST_TARGET_ID_100R_NUMBER_UTF8CHAR self.sikuli_stat...
[ "sho@mozilla.com" ]
sho@mozilla.com
bc25b8a888412a5a123d8375db6d22ff7ea6760c
fd48fba90bb227017ac2da9786d59f9b9130aaf0
/digsby/src/jabber/threadstreamsocket.py
bec1c1382c048055bceedd2e48336ceb8812b1b6
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
niterain/digsby
bb05b959c66b957237be68cd8576e3a7c0f7c693
16a62c7df1018a49eaa8151c0f8b881c7e252949
refs/heads/master
2021-01-18T10:07:10.244382
2013-11-03T02:48:25
2013-11-03T02:48:25
5,991,568
1
0
null
2013-11-03T02:48:26
2012-09-28T02:24:50
Python
UTF-8
Python
false
false
8,488
py
from asynchat import async_chat from util.threads.threadpool2 import threaded from common import netcall from util.callbacks import callsback from common import pref import sys import socket import logging import common from util.primitives.synchronization import lock from util.primitives.funcs import get try: ...
[ "mdougherty@tagged.com" ]
mdougherty@tagged.com
252a725708758cf720a94811657ecfdfd0b1d90d
0206ac23a29673ee52c367b103dfe59e7733cdc1
/src/crcm5/analyse_hdf/lake_effect_on_streamflow_quantiles.py
f129054251e6b9dd8519fa5d776392060593cf5a
[]
no_license
guziy/RPN
2304a93f9ced626ae5fc8abfcc079e33159ae56a
71b94f4c73d4100345d29a6fbfa9fa108d8027b5
refs/heads/master
2021-11-27T07:18:22.705921
2021-11-27T00:54:03
2021-11-27T00:54:03
2,078,454
4
3
null
null
null
null
UTF-8
Python
false
false
7,676
py
import os from datetime import datetime import brewer2mpl from matplotlib.axes import Axes from matplotlib.font_manager import FontProperties from matplotlib.ticker import MaxNLocator, ScalarFormatter from crcm5 import infovar from data import cehq_station from data.cehq_station import Station from data.cell_manager im...
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com
b8a196d6aa3611a6fbcce7ad132fcd437d7f6bf3
b1b86d8528df27d99ed56ed16f1ba15b5ae78661
/build_isolated/waterplus_map_tools/cmake/waterplus_map_tools-genmsg-context.py
13af763d2d6d2c9932b8be57f4bfc5f85289af4d
[]
no_license
gychen-n/match
8754ac128b43f81e00faf3ab2af160af70a1d4a3
ec91f19d104aa4a827c9f66d362f94fe44739cad
refs/heads/main
2023-04-09T19:56:55.507118
2021-04-15T13:39:02
2021-04-15T13:39:02
358,268,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/gyc/match_ws/src/tools/waterplus_map_tools/msg/Waypoint.msg" services_str = "/home/gyc/match_ws/src/tools/waterplus_map_tools/srv/SaveWaypoints.srv;/home/gyc/match_ws/src/tools/waterplus_map_tools/srv/AddNewWaypoint.srv;/home/gyc/match_ws/src/to...
[ "gyc@autolabor-host.autolabor-domain" ]
gyc@autolabor-host.autolabor-domain
ab104e594bbf8454e09b791cefc01091331f1e51
a90077635aeac846965381e0b07591a1df011afe
/care/facility/summarisation/facility_capacity.py
17669b7b24a61209378ee70cec2dbb3a812a2584
[ "MIT" ]
permissive
Basharckr/care
f873ca140ae8607846d9b9500e3c21e9bfa15800
c86ae2614ea9ba80b140a2eb21ad64fdbb47ad7e
refs/heads/master
2023-06-17T21:26:48.936321
2021-07-12T06:03:52
2021-07-12T06:03:52
386,884,450
1
0
MIT
2021-07-17T08:41:09
2021-07-17T08:41:09
null
UTF-8
Python
false
false
8,112
py
from celery.decorators import periodic_task from celery.schedules import crontab from django.db.models import Sum from django.utils.decorators import method_decorator from django.utils.timezone import localtime, now from django.views.decorators.cache import cache_page from django_filters import rest_framework as filter...
[ "vichuhari100@gmail.com" ]
vichuhari100@gmail.com
d3d10a4755e4599dfc81f7fea2fea1d344dc0b4b
82bdb812582e7ad42db922023f3eb84b4fb80f72
/networks.py
4a8973311254d1c7786d7381d47672b7ffe20ffd
[]
no_license
hzaskywalker/AWR-Python
cda43594248f3db563456f67c677db4508f80a5c
4fb00f3691b980c93734b11fab6002737a369b31
refs/heads/master
2022-10-11T09:31:37.742771
2020-06-11T17:18:10
2020-06-11T17:18:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,135
py
import torch import numpy as np class Value: def __init__(self, policy): self.policy = policy def __call__(self, state, params): state = torch.cat((state, params), dim=-1) act = self.policy.actor_target(state) cri1, cri2 = self.policy.critic_target(state,act) return torc...
[ "hzaskywalker@gmail.com" ]
hzaskywalker@gmail.com
d97fa27fd1ef8dab53b15a077aea13385d7f7afd
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Quantization/trend_MovingMedian/cycle_12/ar_/test_artificial_128_Quantization_MovingMedian_12__100.py
64695ec2235c61ebbe172764ee17c38a3ffdbfd8
[ "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
272
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 = "MovingMedian", cycle_length = 12, transform = "Quantization", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
b87981a578e9f0a4fa7bd52c97f63d833cf5ea5c
3d7e1a506d65c23c84b7430fa46623cb98de8c64
/median.py
dc0584831963d0d6f87700eddb7c8140d94fb9f2
[]
no_license
crakama/UdacityIntrotoComputerScience
cb6ac8a9084f078eaf245a52adc43541c35dc3f4
416b82b85ff70c48eabae6bb9d7b43354a158d9a
refs/heads/master
2021-01-09T20:39:15.974791
2016-07-18T20:59:09
2016-07-18T20:59:09
60,571,882
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Define a procedure, median, that takes three # numbers as its inputs, and returns the median # of the three numbers. # Make sure your procedure has a return statement. def bigger(a,b): if a > b: return a else: return b def biggest(a,b,c): return bigger(a,bigger(b,c)) def median(a, b, c...
[ "crakama89@gmail.com" ]
crakama89@gmail.com
1ee30cd5b57a8912f7804703d5709be5b9d229d5
77ca708f981b3d4127568ff416e3c0a3dc1fff94
/util/cli_parser.py
be02dbf7e3bb509d0d10d208c7954fafe85a7c4c
[ "Apache-2.0" ]
permissive
inksong/bidDB_downloader
df7046cadc392872d4ed58bd730474771e83aaf0
1550b6006d1d21bab726bbe5a10c8c2d7aa94bbc
refs/heads/master
2022-03-06T19:10:03.333813
2019-09-28T19:41:15
2019-09-28T19:41:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
import argparse import sys class CLIParser: # -- Public methods # CLIParser Constructor def __init__(self): super(CLIParser, self).__init__() self.parser = argparse.ArgumentParser(prog='bidDB_downloader.py', description='BugTraq database downloader.') self.parser.add_argument('-w...
[ "eliasgr89@gmail.com" ]
eliasgr89@gmail.com
bd1e701a5e902eca16077631d3424e1691ebb4f5
77900cdd9a815caf1cd04705321ca93f5072179f
/Project2/Project2/.history/blog/models_20211115152413.py
443d1fa03512e592b13bcd760279c43dbb1f7c43
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
778
py
from django.db import models from django.contrib.auth.models import User from ckeditor # Create your models here. STATUS = ((0, "Draft"), (1, "Published")) USE_TZ = False class Blog(models.Model): title = models.CharField('Tiêu đề', max_length=250, blank=True) slug = models.SlugField(max_length=250, blank=Tr...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com