blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
e4ff0e7628f0b153ac84f54932d7be59746127b4
be0c6e2071945edcb47ee4f3fadc1f4629a2c6aa
/grandapp/migrations/0105_auto_20210224_1527.py
d80a750747203ef42ed7326139cdc3f30142b816
[]
no_license
QuackenbushLab/grand
9719a395e6a30951c3ffdef1eccdb5e422da737c
f23031d1f240550d25c2842b4af0aae08c653bae
refs/heads/master
2023-08-10T09:58:58.381264
2023-07-25T18:23:26
2023-07-25T18:23:26
201,113,575
5
2
null
2022-06-24T19:11:29
2019-08-07T19:18:58
JavaScript
UTF-8
Python
false
false
1,050
py
# Generated by Django 3.0.2 on 2021-02-24 15:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('grandapp', '0104_auto_20210224_0043'), ] operations = [ migrations.AddField( model_name='ggbmd1sample', name='link',...
[ "marouen.b.guebila@gmail.com" ]
marouen.b.guebila@gmail.com
0c87e8d62731907e5730a66a9a585858c48baab9
45c86c7e7c6e84dcae3eba5544d93db6bee19905
/venv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py
50d18037e88dceca1d054d694fcec1680aab9b8b
[]
no_license
5eanpoint/moweb
60b5ed74183b019e04e4fa243d3c1930c4cb4a64
bbf0d96b651230c231115a3eace7b950a908b57e
refs/heads/master
2016-09-14T05:29:27.601814
2016-05-24T06:40:05
2016-05-24T06:40:10
59,546,065
0
1
null
null
null
null
UTF-8
Python
false
false
3,529
py
import hashlib import os from pip._vendor.lockfile import LockFile from pip._vendor.lockfile.mkdirlockfile import MkdirLockFile from ..cache import BaseCache from ..controller import CacheController def _secure_open_write(filename, fmode): # We only want to write to this file, so open it in write only mode fl...
[ "seanpoint@icloud.com" ]
seanpoint@icloud.com
3440ae0cb78e579db0a6945b28742609be05790a
0d77846403606b8300a53e05cd2103d5470b6a6a
/tensorflow/python/profiler/profiler_client.py
dc542e2c726ecdbd9c79293f77ca662075532b7a
[ "Apache-2.0" ]
permissive
alubanana/tensorflow
e7cb694073773be4c46607e7af4fb8ed9c74b812
454f89ab3baacbac567d6bcceef4c743f23ce58b
refs/heads/master
2021-01-04T15:44:16.441471
2020-02-14T22:50:45
2020-02-14T22:56:47
240,614,446
1
0
Apache-2.0
2020-02-14T23:12:02
2020-02-14T23:12:01
null
UTF-8
Python
false
false
2,762
py
# Copyright 2020 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
d22f1d29c71d26afd2458a666800317fbbbe8db4
91e9d429f8e34fd48d5e34a898b32bc090660fe1
/core/migrations/0008_article_featured_mob_img.py
ab29fbd735ece0954ef2f0c6a20182b6c8281707
[]
no_license
sherrywilly/blog-graphene
b286d4ba9a5a3499aefc684399630bcbd348ba8f
b05430896dff6b8944b2e6f5f30b6cfd875dc820
refs/heads/main
2023-07-14T22:20:29.973765
2021-08-07T06:35:32
2021-08-07T06:35:32
392,514,698
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# Generated by Django 3.2.6 on 2021-08-03 09:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20210803_0850'), ] operations = [ migrations.AddField( model_name='article', name='featured_mob_im...
[ "sherrywilson521@gmail.com" ]
sherrywilson521@gmail.com
fde06b2ff44e982bb2583bb88563f02a0ba24b88
7cd9b9f41fdbf52de6e4393c43e3ff4e7466b417
/pokemon/urls.py
68b22f96b1bbe9442e8b4515f49e8579b6d1466c
[]
no_license
BaeJuneHyuck/demo-pusan-univ-201907-django
36f5be596c6850acc211358276c66df127e05633
4ef9e64a42a977e0b435fb2f83842433fac53bf3
refs/heads/master
2022-01-22T21:35:57.419007
2019-07-23T06:51:14
2019-07-23T06:51:14
198,371,100
1
0
null
2019-07-23T06:56:52
2019-07-23T06:56:51
null
UTF-8
Python
false
false
242
py
from django.urls import path from pokemon.views import index, pokemon_new, pokemon_edit urlpatterns = [ path('', index), path('new/', pokemon_new), path('<int:pk>/', pokemon_edit), # re_path(r'(?P<pk>\d+)', pokemon_edit), ]
[ "me@askcompany.kr" ]
me@askcompany.kr
b4150d116c9be477b3d501231d89ebeae46b0aa9
e44c1ac44a3cc912fbeaa0152b9294a03fd893ea
/test/test_boolean_syntax.py
5239ddb35aae0c52b65012e4a9d113be293c672b
[ "BSD-2-Clause" ]
permissive
umd-lhcb/pyTuplingUtils
ca03db1975f7f283caab1436ac1c5d85fad75d2a
85f3ca90f01389f834af6de1044364843210c4c5
refs/heads/master
2023-03-10T00:12:40.922444
2023-03-03T23:31:09
2023-03-03T23:31:09
215,201,702
0
0
null
null
null
null
UTF-8
Python
false
false
7,192
py
#!/usr/bin/env python3 # # Authorop: Yipeng Sun # License: BSD 2-clause # Last Change: Thu Jun 18, 2020 at 02:47 AM +0800 import unittest from context import pyTuplingUtils as ptu parser = ptu.boolean.syntax.boolean_parser.parse class ArithmeticTest(unittest.TestCase): def test_var(self): self.assertEq...
[ "syp@umd.edu" ]
syp@umd.edu
338d1428bc7508a2da49be3bd292cdb85916ced9
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Google/Drive/Files/Update.py
5ed78c1781be712f6acaa6a31eb70220ec8e1590
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,745
py
# -*- coding: utf-8 -*- ############################################################################### # # Update # Updates the metadata or content of an existing file. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreo...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
9c59f9dbd1305703fbe6cfa40102879fac180355
de6fb3a55196b6bd36a4fda0e08ad658679fb7a1
/vt_manager/src/python/agent/xen/provisioning/configurators/mediacat/MediacatVMConfigurator.py
1c32a6c5a7a87130868b322f6583514d2cd725a1
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
dana-i2cat/felix
4a87af639e4c7db686bfa03f1ae4ce62711615e3
059ed2b3308bda2af5e1942dc9967e6573dd6a53
refs/heads/master
2021-01-02T23:12:43.840754
2016-02-04T10:04:24
2016-02-04T10:04:24
17,132,912
4
4
null
null
null
null
UTF-8
Python
false
false
2,703
py
import shutil import os import jinja2 import subprocess from xen.provisioning.hdmanagers.LVMHdManager import LVMHdManager from xen.provisioning.HdManager import HdManager from settings.settingsLoader import OXA_XEN_SERVER_KERNEL,OXA_XEN_SERVER_INITRD,OXA_DEBIAN_INTERFACES_FILE_LOCATION,OXA_DEBIAN_UDEV_FILE_LOCATION ...
[ "jenkins@integration.localhost" ]
jenkins@integration.localhost
f5bd5d0daea26ef86acd064dbec79ff7205d9815
10b5a703c0166b55331513d2a9aead687032e804
/leetcode1578.py
7f4f21ed382eed47d291365b4de17dc2a0e596ab
[]
no_license
jack456054/leetcode
f2d623d5683098b2038322ee3eef81dc020f6fb1
24f0075909f8620513f6f21c9ad3dc299dee8967
refs/heads/master
2022-11-12T18:01:52.832206
2022-11-10T07:24:39
2022-11-10T07:24:39
125,793,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
class Solution: # def minCost(self, colors: str, neededTime: List[int]) -> int: # if len(colors) == 1: # return 0 # current_color: str = None # time_list: List[int] = [] # results: int = 0 # for index, color in enumerate(colors): # if current_color == ...
[ "jack456054@hotmail.com" ]
jack456054@hotmail.com
e2a991b355677ee0a574dce0a2c19d1b6cac5bc7
2256a61b57eed52ce5b3dd19e54108545e3fa1a1
/sandbox/ipython/mydemo.py
fd31887d834e800fcd42827f23ebcf608aea26b6
[ "Apache-2.0" ]
permissive
hubitor/progs
18877b7dbd455f1192c96ebe1905f67329d1c749
e4537da6da47d380a1a1a04e8068866013c7b7b6
refs/heads/master
2020-04-28T18:49:23.446076
2019-02-18T07:59:28
2019-02-18T07:59:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
#! /usr/bin/env python # -*- coding: latin-1 -*- from IPython.lib.demo import Demo mydemo = Demo('myscript.py') #mydemo()
[ "romain.boman@gmail.com" ]
romain.boman@gmail.com
1f87942cf0798f90d596f602e6524b16e1aed34a
df4b577668b830fcb41be675d691a72b952e892b
/releasenotes/source/conf.py
9550aff663dfded18ef4e450b36cecf4ea41502c
[ "Apache-2.0" ]
permissive
4383/tobiko
37ef7bfb3b51918825c4c412136467fb32850494
f8e6916db890021fa17ddbfc5e6007a25093c8cb
refs/heads/master
2020-10-01T00:03:27.723538
2019-12-11T16:01:53
2019-12-11T16:04:14
227,405,383
0
0
null
null
null
null
UTF-8
Python
false
false
5,970
py
# Copyright 2019 Red Hat # # 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 ...
[ "fressi@redhat.com" ]
fressi@redhat.com
cfbde29af5c7d47388410751eaebd45c382e38a4
ff3f4b3117847f70fe68741288f28576fe2cc5e3
/baekjoon/1712_손익분기점.py
7ad98c5c1bd7ff74104ee79698dc45bd51b98083
[]
no_license
manuck/myAlgo
087bbe99672c40762759e9202fe371c394736fb1
c673687d23a2d5cc06b6a6d5fb1bc0cb2e2b7bd9
refs/heads/master
2021-07-01T00:13:27.590848
2020-12-17T18:10:16
2020-12-17T18:10:16
203,954,477
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
import sys sys.stdin = open('1712_input.txt') ''' 문제 월드전자는 노트북을 제조하고 판매하는 회사이다. 노트북 판매 대수에 상관없이 매년 임대료, 재산세, 보험료, 급여 등 A만원의 고정 비용이 들며, 한 대의 노트북을 생산하는 데에는 재료비와 인건비 등 총 B만원의 가변 비용이 든다고 한다. 예를 들어 A=1,000, B=70이라고 하자. 이 경우 노트북을 한 대 생산하는 데는 총 1,070만원이 들며, 열 대 생산하는 데는 총 1,700만원이 든다. 노트북 가격이 C만원으로 책정되었다고 한다. 일반적으로 생산 대수를 늘...
[ "snc9000@naver.com" ]
snc9000@naver.com
fe6f9e517fa57fa574ad57811ee18bab68c95b8d
1243d11e36e61542693fb9a4b187f328aa2eb473
/account/models.py
6d5ebea9fe2dd56a1a41c1d14b7e00f2ff50f127
[]
no_license
LatorreDev/Django-socialNetwork
344fa7d4fdee2a136695cdf9be20feaa8a8e8094
b15f7a3c13e118d3ce1144784357b44f81c426ac
refs/heads/master
2022-12-08T23:02:43.221239
2020-09-18T01:05:03
2020-09-18T01:05:03
296,475,039
0
0
null
2020-09-18T01:05:04
2020-09-18T00:44:37
null
UTF-8
Python
false
false
476
py
from django.db import models from django.conf import settings # Create your models here. class Profile(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) date_of_birth = models.DateField(blank=True, null=True) photo = models.Imag...
[ "niljordan23@gmail.com" ]
niljordan23@gmail.com
0f85e629918d9c10d47d0f02fe53bdb4da9e6d75
328ebfdbcef076ce0e930715f9bd786d7498185b
/lang/python/learn-python-programming-masterclass/section-3/strings.py
91b26393876205c803ac842e2289ac95f64a1bc6
[]
no_license
pnowak2/learnjs
b618e6f9563b3e86be0b1a21d647698e289daec0
f8842b4e9e5d2eae6fb4e0d663b6699d74c90e9c
refs/heads/master
2023-08-30T05:04:00.227920
2023-08-18T10:58:24
2023-08-18T10:58:24
41,912,571
3
0
null
2023-03-31T06:58:40
2015-09-04T11:36:13
Python
UTF-8
Python
false
false
467
py
print("Today is a good day") print('Python is fun') print("Python's string are easy to use") print('We can include "quotes" in string') print("Hello" + " world") greeting = "Hello, " # name = input("Please \n enter your name ") name = "Tim" # if we want a space, we can add that too print(greeting + name) print(greet...
[ "p.nowak2@gmail.com" ]
p.nowak2@gmail.com
41861453f09818f9a2f62d37ff76df50af693824
c5a1c95e9d8ce937f71caf8340cf11fe98e64f56
/day15/problem2/[노태윤]소수 찾기.py
8b5fff7359c78175d22f73d43ea64b2a1a1acb6b
[]
no_license
Boot-Camp-Coding-Test/Programmers
963e5ceeaa331d99fbc7465f7b129bd68e96eae3
83a4b62ba2268a47859a6ce88ae1819bc96dcd85
refs/heads/main
2023-05-23T08:21:57.398594
2021-06-12T16:39:21
2021-06-12T16:39:21
366,589,317
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
from itertools import permutations def isprime(N) : if N <= 1 : return False # 0 또는 1 이면 소수가 아니므로 False 반환 for i in range(2,N) : if N % i == 0 : return False # 하나라도 나누어 떨어지면 소수가 아니므로 False 반환 return True # 그 외에는 True 반환 (소수) def solution(numbers): answer = 0 total_perm...
[ "noreply@github.com" ]
Boot-Camp-Coding-Test.noreply@github.com
a52be8922affd67547e135f801c5f101f05b49af
60b2738284ae25231da1b1d91e3b61008c548673
/ImageGenerator/generate_image_with_index.py
0c4caf197fe57011c8892e239f78338ba67557a7
[]
no_license
BhallaLab/Scripts
f54eb06693ae0f9de3b41a8ed2adda1da930aa24
a5d3a2be92b269590316403b3c6194db020b261a
refs/heads/master
2021-06-02T21:43:13.374239
2019-08-06T05:53:03
2019-08-06T05:53:03
37,115,228
8
7
null
null
null
null
UTF-8
Python
false
false
1,025
py
#!/usr/bin/env python """generate_image_with_index.py: Generates transparent image with numbers written on them. Can be used to caliberate projectors for frame per seconds. """ __author__ = "Dilawar Singh" __copyright__ = "Copyright 2015, Dilawar Singh and NCBS Bangalore" __credits__ ...
[ "dilawars@ncbs.res.in" ]
dilawars@ncbs.res.in
2d583075790cb83484032d009a3e8cfe584193d0
70e970ce9ec131449b0888388f65f0bb55f098cd
/SignalMC/python/pythia8/AMSB_gluinoToChargino_M-1300GeV_M-900GeV_CTau-10cm_TuneCP5_13TeV_pythia8_cff.py
adb04714d2ed3a9d54092513fa5a34287cf407ba
[]
no_license
OSU-CMS/DisappTrks
53b790cc05cc8fe3a9f7fbd097284c5663e1421d
1d1c076863a9f8dbd3f0c077d5821a8333fc5196
refs/heads/master
2023-09-03T15:10:16.269126
2023-05-25T18:37:40
2023-05-25T18:37:40
13,272,469
5
12
null
2023-09-13T12:15:49
2013-10-02T13:58:51
Python
UTF-8
Python
false
false
8,096
py
COM_ENERGY = 13000. MGLU = 1300 # GeV MCHI = 900 # GeV CTAU = 100 # mm CROSS_SECTION = 0.0522 # pb SLHA_TABLE=""" # ISAJET SUSY parameters in SUSY Les Houches Accord 2 format # Created by ISALHA 2.0 Last revision: C. Balazs 21 Apr 2009 Block SPINFO # Program information 1 ISASUGRA from ISAJET # S...
[ "ahart@cern.ch" ]
ahart@cern.ch
758ddeec7b172f7f1236be16322795bec7ad6325
e7263026bd4f34bae664c37e57a299ce83c7f111
/03-Spider/scrapy-spider/xiciIPSpider/xiciIPSpider/items.py
06d00e44d6c499c8beabdb1eace42bc540d723ca
[]
no_license
Aries000004/grocery
34d0ad0648c6dff5c36f4a68abf9eeac59da214d
27492f4ac7ef66d544f853dd6686920bcb9dc663
refs/heads/master
2020-03-24T22:50:37.703257
2018-07-26T11:43:54
2018-07-26T11:43:54
143,105,389
1
0
null
2018-08-01T04:51:12
2018-08-01T04:51:12
null
UTF-8
Python
false
false
292
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class XiciipspiderItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "1367000465@qq.com" ]
1367000465@qq.com
0bb427439c4a8a56d195361c85fb14868b964517
f508e4a751d3dfadd268794fd6092b3781a74d4c
/docs/conf.py
090e77a6ac8479a9a127eddbd3cf278fac9292ef
[ "MIT" ]
permissive
mildewey/higlass
c2e274e0bdafccbfe5e994b8992248ae806e82fd
8cc135017500216cb24b98c3c82d85ca861081b1
refs/heads/master
2020-04-02T19:26:31.670874
2018-10-19T16:05:30
2018-10-19T16:05:30
154,734,076
0
0
null
2018-10-25T20:34:59
2018-10-25T20:34:59
null
UTF-8
Python
false
false
5,306
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # higlass documentation build configuration file, created by # sphinx-quickstart on Mon Jul 3 16:40:45 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # au...
[ "pkerpedjiev@gmail.com" ]
pkerpedjiev@gmail.com
2285b70ca377c6f1d7352094d1f626929e63df89
c21546695e35a3f7c60e684de04bcbe88b2b985a
/0191_Number_of_1_Bits.py
c55f7da2b0e4f58f2b0605fc72f4ee8b7757bcc1
[]
no_license
piecesofreg09/study_leetcode
4a05ddee44c72a6d0c50bca7cb0b70abd33b0b85
fc69721dbe003fcc2f7795a6b38c41d877905205
refs/heads/master
2023-01-14T05:02:24.779136
2020-11-18T17:23:30
2020-11-18T17:23:30
288,774,420
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
''' n & n - 1 will remove the rightmost 1 to be 0 ''' class Solution: def hammingWeight(self, n: int) -> int: count = 0 while n != 0: count += 1 n = n & n - 1 return count
[ "noreply@github.com" ]
piecesofreg09.noreply@github.com
186aad5955392fda1d645d2081f56cfc70054898
9b9fa48ec458fec2b451b3be54bf2be23188b11e
/labs/functions/character_permutations.py
08fb258bbbda4e629cb991a9d908bb5c6e327b6c
[]
no_license
Nikoletazl/Advanced-Python
1bc55ce42693ff0a5bcf082f9f7867e07b771007
f1e31fbd423b31e2b24db151df8b73c7eaf35ab5
refs/heads/main
2023-08-21T20:46:43.572803
2021-10-22T09:47:52
2021-10-22T09:47:52
415,001,443
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
def permute(index, values): if index == len(values): print("".join(values)) return for i in range(index, len(values)): values[i], values[index] = values[index], values[i] permute(index + 1, values) values[i], values[index] = values[index], values[i] permute(0,...
[ "noreply@github.com" ]
Nikoletazl.noreply@github.com
cc4a17a7174b8409f4875d4c7fce223c8ee00a2d
cd486d096d2c92751557f4a97a4ba81a9e6efebd
/18/addons/context.venom/playFromHere.py
887d841b3746e04a0b3b31161b57f8631de3a007
[]
no_license
bopopescu/firestick-loader-kodi-data
2f8cb72b9da67854b64aa76f720bdad6d4112926
e4d7931d8f62c94f586786cd8580108b68d3aa40
refs/heads/master
2022-04-28T11:14:10.452251
2020-05-01T03:12:13
2020-05-01T03:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
import sys, xbmc, json try: from urlparse import parse_qsl from urllib import quote_plus except: from urllib.parse import parse_qsl, quote_plus xbmc.log('__name__= %s' % __name__, 2) xbmc.log('__package__= %s' % __package__, 2) # sys.path = [] # if __name__ == '__main__' and __package__ is None: # from os im...
[ "esc0rtd3w@gmail.com" ]
esc0rtd3w@gmail.com
c31e659110b66300d3a5f2982f28690d73a5c462
4ed3db861ae2fe727c7be604d42d540a00923320
/samsung_multiroom/service/player.py
68cf53039187d62a94f10fb1ba54dd7a7eac1581
[ "MIT" ]
permissive
kusma/samsung_multiroom
7cac147283a52bf491d7f50a6569c64de53eb4a5
09ca86d27b87a4aa0c97ec2accbd4ec67dd0cc61
refs/heads/master
2020-12-04T07:46:19.688568
2019-04-20T16:29:44
2019-04-20T16:29:44
231,683,383
0
0
MIT
2020-01-03T23:47:29
2020-01-03T23:47:28
null
UTF-8
Python
false
false
6,225
py
"""Player allows playback control depending on selected source.""" import abc # repeat mode constants REPEAT_ONE = 'one' REPEAT_ALL = 'all' REPEAT_OFF = 'off' class Player(metaclass=abc.ABCMeta): """Player interface to control playback functions.""" @abc.abstractmethod def play(self, playlist): ...
[ "k.galutowski@gmail.com" ]
k.galutowski@gmail.com
4071d21eb5cd3463dc714a85424e09a1fedfa660
cd3e195e3eff75a01d93fe6a3df082bc839507db
/Prime_range.py
57398abf3955c4143a4b1ae5cd175f678247cfe2
[]
no_license
swathichinnaiyan/Sandya
493002be8b221cad7af63bc0ee5833ef678171d2
34b77340f556054dd39c2a5de4ed933943ada319
refs/heads/master
2020-06-09T00:38:02.884184
2019-05-28T12:44:48
2019-05-28T12:44:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
n,k=map(int,input().split()) c=0 f=0 for i in range(n,k+1): for j in range(2,i+1): if ((i%j)==0) & (i!=j): f=1 break else: f=0 if f==0: c=c+1 print(c)
[ "noreply@github.com" ]
swathichinnaiyan.noreply@github.com
d4ea202031d8effa052f5564c89a304be2b0d059
1e826a1c4194aaba4e84c3dfeb7976f1ed3f2e78
/news/news_project/comments/migrations/0002_auto_20200801_1158.py
7570e07062b98136f31ef9e35be2eca3ba793561
[]
no_license
choirulihwan/django
95e62c8601dc34ddc7a3b816296683437fbc57f8
5cee04f4443f463088a5309b81aee6cb688f15ac
refs/heads/master
2022-12-13T10:07:12.276471
2022-01-09T08:57:36
2022-01-09T08:57:36
237,208,107
0
0
null
2022-11-22T09:48:06
2020-01-30T12:26:17
HTML
UTF-8
Python
false
false
988
py
# Generated by Django 3.0.8 on 2020-08-01 04:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('articles', '0005_auto_20200621_1449'), migrations.swappable_dependency(settings.AUT...
[ "aristhu_oracle@yahoo.com" ]
aristhu_oracle@yahoo.com
c6fefc0d9cd14428c2fecf957fb3004e2681e8c1
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Quantization/trend_Lag1Trend/cycle_12/ar_12/test_artificial_32_Quantization_Lag1Trend_12_12_20.py
eb6deb2d6bbd89999096af776def00111e27d043
[ "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
273
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 12, transform = "Quantization", sigma = 0.0, exog_count = 20, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4f58e11e6d3006d75c64a4af4da9ea4792b0bd65
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_detain.py
3dfe8ec171cbb2f81c8c7242a587dcbea4b45df8
[ "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
451
py
#calss header class _DETAIN(): def __init__(self,): self.name = "DETAIN" self.definitions = [u'to force someone officially to stay in a place: ', u'to delay someone for a short length of time: ', u'to keep someone in prison for as long as the courts feel is necessary'] self.parents = [] self.childen = [] ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
fd8ed3a75dca376e8d0523b9c1913aeb43585369
d305e9667f18127e4a1d4d65e5370cf60df30102
/scripts/update_onnx_weight.py
eaff46f61b3bafc13431d6b903dee7bce0b5030e
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
2,557
py
#!/usr/bin/env python3 # coding=UTF-8 # Copyright 2020 Huawei Technologies Co., Ltd # # 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 r...
[ "513344092@qq.com" ]
513344092@qq.com
869cbcd717d4522fce402db11a0f1460e1bfc621
5ff8cefa68d52d2427bb3d35320cd8bd0d072968
/Python/StringExample1.py
7a0151c415f069ae83b964413dd1a6c11c307e85
[]
no_license
gsudarshan1990/PythonSampleProjects
a65a111454f8dc551f1cd29901cead0798ad6dc3
3c1a5174c5f966b0eed2828221add76ec0d019d5
refs/heads/master
2020-05-09T16:02:37.743568
2019-07-14T06:22:55
2019-07-14T06:22:55
181,255,262
1
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
string1='banana' print(string1[1]) print(string1[0]) index=0 while index<len(string1): print(string1[index]) index=index+1 for char in string1: print(char) s='Monty Python' print(s[0:5]) print(s[6:len(s)]) fruit='banana' print(fruit[:3]) print(fruit[3:]) #count of 'a' in banana count=0 fruit='banan...
[ "sudharshan.govindarajan@ey.com" ]
sudharshan.govindarajan@ey.com
a821b7476c8f38c2679e241169a4e01ca9220af4
779c469b548d42dc679bf34da6041c813a7ce9cc
/sphinx_template/my_package/viz.py
3026a4ac69e8fb1c3f86813e32afdc92271c6376
[ "MIT" ]
permissive
millerbest/zero_to_docs
b2e68af564db8f47441d44ded18c3a8a3b0c21f2
3f5c72ca76c457fefaba9b2a182e11cc89e5bf6d
refs/heads/master
2021-08-14T14:35:37.415612
2017-11-16T01:08:21
2017-11-16T01:26:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
import numpy as np import matplotlib.pyplot as plt def plot_random_dots(N, scale=10, ax=None, cmap=None): """Plot some random dots""" if ax is None: fig, ax = plt.subplots() if cmap is None: cmap = plt.cm.viridis dots = np.random.randn(2, N) size = dots * scale ax.scatter(*dots...
[ "choldgraf@berkeley.edu" ]
choldgraf@berkeley.edu
39a8852e875c0852577e8c9e9103df9b6f18d343
6deafbf6257a5c30f084c3678712235c2c31a686
/Toolz/sqlmap/waf/asm.py
17244efb49a3344e7790047f270fd98805bfc3e7
[ "Unlicense", "LicenseRef-scancode-generic-cla", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-other-permissive" ]
permissive
thezakman/CTF-Heaven
53fcb4a72afa821ad05d8cc3b309fb388f958163
4b52a2178922f1502ab00fa8fc156d35e1dc653f
refs/heads/master
2023-04-05T18:20:54.680378
2023-03-21T13:47:45
2023-03-21T13:47:45
167,290,879
182
24
Unlicense
2022-11-29T21:41:30
2019-01-24T02:44:24
Python
UTF-8
Python
false
false
671
py
#!/usr/bin/env python """ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from lib.core.settings import WAF_ATTACK_VECTORS __product__ = "Application Security Manager (F5 Networks)" def detect(get_page): retval = False for vector in WAF_ATTAC...
[ "thezakman@ctf-br.org" ]
thezakman@ctf-br.org
83a7cf76438adbf0701b18c3ad90a86a5c6c7c4f
880a56c0eebcce3376d1969bb8b084d82b90f535
/xos/tosca/resources/vcpeservice.py
2a6a56db92968457ed9e7b053b4e159a17d86f92
[ "Apache-2.0" ]
permissive
digideskio/xos
9f590a3a2703198c4d5b9b2fa27a3b9a94c14b96
9c98f28793ce4b2e4be96665e7f06b9cf9b59315
refs/heads/master
2020-12-03T08:13:08.982841
2016-04-06T00:39:06
2016-04-06T00:39:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import os import pdb import sys import tempfile sys.path.append("/opt/tosca") from translator.toscalib.tosca_template import ToscaTemplate from services.cord.models import VSGService from service import XOSService class XOSVsgService(XOSService): provides = "tosca.nodes.VSGService" xos_model = VSGService ...
[ "smbaker@gmail.com" ]
smbaker@gmail.com
d2d18338371df02f19a8aa511ed62c3486298a71
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/437116_Wrapper_class_heapq/recipe-437116.py
0d8f07bdf229fd1e0efdc4a367c438cd088d4c8f
[ "MIT", "Python-2.0" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
3,197
py
import heapq class Heap(list): """This is a wrapper class for the heap functions provided by the heapq module. """ __slots__ = () def __init__(self, t=[]): self.extend(t) self.heapify() push = heapq.heappush popmin = heapq.heappop replace = heapq.heapreplace he...
[ "betty@qburst.com" ]
betty@qburst.com
07429b6879f054b600fb5a4eef6ac5a978e6a3c6
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Tools/RunTimeTester/share/RTTRegression.py
19c13f5f565c3c5ef12dd5971cc99fc2fc4f666e
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
4,958
py
###################################################### # # # Do NOT bind any objects (self.xxx) which contain # # file objects (such as self.logger in this class # # otherwise cannit shelve the objects # # Instead, unload the necessary variables in ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
170b5974377c2010e0e6ae80d052cc8a08dec18a
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/4dab219f99ff457d92c76f4fa70ad98f.py
52042ea3de170bc5f8eedc4c2b7c186736a74912
[]
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
# # Skeleton file for the Python "Bob" exercise. # def hey(what): if what.upper() == what and what.lower() != what: return 'Whoa, chill out!' elif what.endswith('?'): return 'Sure.' elif what.strip() == '': return 'Fine. Be that way!' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
45db6168ca6a0ad2f3120d8dba3898a85cf52fd8
8f1dbd7c032a57c74a36f07690b2ecc80fb3e665
/scratch/follow-ball.piborg.py
09741060a051a0ba26472b3e1a30bbafa4e92cae
[ "MIT" ]
permissive
westpark/piwars-2018
6b861ff46366a76cbf8bfbec11d255e31d471b3a
a2e1cb67e5fcc8f65ed17975d076088a9f92da2a
refs/heads/master
2021-04-28T10:57:42.294132
2018-04-19T10:35:24
2018-04-19T10:35:24
122,079,822
0
0
null
null
null
null
UTF-8
Python
false
false
7,143
py
#!/usr/bin/env python # coding: utf-8 # Load library functions we want import time import os import sys import ThunderBorg import io import threading import picamera import picamera.array import cv2 import numpy print 'Libraries loaded' # Global values global running global TB global camera global processor runni...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
c6c9f8053ce7426d8e40844b29b1a9736d500e03
777a972966fa29a1b5a1a0c5d507a3137de007fc
/stock_pick_batch/__manifest__.py
cfbf3abdc520bc1242de59ad4d6ad1cd7d0cc3c3
[]
no_license
suningwz/ruvati
1d1ace30fb2929f686f368fb8d8c51ae76a71190
9b15373125139cab1d26294c218685c5b87b9709
refs/heads/master
2023-08-15T22:28:18.499733
2021-10-12T12:16:56
2021-10-12T12:16:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
# -*- coding: utf-8 -*- { "name": "Stock Picking Batch", "version": "1.1", "category": 'Inventory', 'complexity': "normal", 'author': 'Confianz Global,Inc.', 'description': """ Batch transfer in inventory """, 'website': 'http://www.confianzit.com', "depends": ['base', 'delivery_ex...
[ "vinod@confianzit.biz" ]
vinod@confianzit.biz
f58261daab0df0e28c03fbe345a6d2e337fdc477
45b159e64114d8759c0e2987bd0a6f02f60daf4d
/Python/APL/ch14/distanceThreeArrays.py
80483127107e3734d02efe667945abcd5ac19af1
[]
no_license
afcarl/Coding_Interview_Problems
45b24b849a90581db5327811c5ab78237f4d5ac0
1256d4394d506aec875e9e19300404a9b32a4eb1
refs/heads/master
2020-03-16T20:16:54.706152
2015-02-11T05:51:56
2015-02-11T05:51:56
132,953,286
1
0
null
2018-05-10T20:54:14
2018-05-10T20:54:14
null
UTF-8
Python
false
false
274
py
''' Created on Jan 24, 2015 @author: Ben Athiwaratkun (pa338) ''' #from __future__ import division #import numpy as np def findMin(A,B,C): pass def main(): A = [1,2,3] B = [4,1,8] C = [3,2,7] findMin(A,B,C) if __name__ == "__main__": main()
[ "ben.athiwaratkun@gmail.com" ]
ben.athiwaratkun@gmail.com
11689979f2e6aaa273058e3b89ba57a7a4d578c0
1fa265a01400c23f9ca494a1d9ef55b6cef85cdc
/inventory/migrations/0102_auto_20200131_1454.py
ac78634fc95dc9da549ec9a25ce03a0aaf6d0ca9
[]
no_license
dipesh779/posbackend
523660b40be4d5deaff6b6c267c65fa9caba00de
06effb004448dbb6d99077790ceb4738875e6505
refs/heads/master
2022-04-25T09:15:12.081266
2020-05-04T04:45:56
2020-05-04T04:45:56
261,082,375
0
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
# Generated by Django 2.2.7 on 2020-01-31 09:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0101_auto_20200131_0911'), ] operations = [ migrations.AlterField( model_name='stockcomputation', name=...
[ "dipesh@perplexsolutions.com" ]
dipesh@perplexsolutions.com
836dc051ae842d3fb098afe67dd219518fdf722b
2aa47f47fb81798afdf41437844cbbea8e9de66c
/02pythonBase/day12/day11_exercise/factorial_sum.py
d9c669a1112be4d4c20c74aede6742f36eab15e2
[]
no_license
nykh2010/python_note
83f2eb8979f2fb25b4845faa313dbd6b90b36f40
5e7877c9f7bf29969072f05b98277ef3ba090969
refs/heads/master
2020-04-27T23:10:16.578094
2019-03-23T02:43:14
2019-03-23T02:43:14
174,765,151
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
# 3. 写程序算出 1 ~ 20 的阶乘的和 # 1! + 2! + 3! + 4! + ..... + 20! # 方法1 # def myfac(n): # if n == 1: # return 1 # return n * myfac(n - 1) # s = 0 # for x in range(1, 21): # s += myfac(x) # print(s) import math print(sum(map(math.factorial, range(1, 21))))
[ "xulingfeng@boe.com.cn" ]
xulingfeng@boe.com.cn
ef7cfcbb15eaf35f6cd7f8058281eb80959721bb
40fc1d38f2d4b643bc99df347c4ff3a763ba65e3
/arcade/infiniworld/src/infiniworld/__init__.py
77165064cf85d6cbd506c2db160a29d5cf41a5cf
[]
no_license
alecordev/pygaming
0be4b7a1c9e7922c63ce4cc369cd893bfef7b03c
35e479b703acf038f47c2151b3759ad852781e4c
refs/heads/master
2023-05-14T05:03:28.484678
2021-06-03T10:11:08
2021-06-03T10:11:08
372,768,733
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
"""The infiniworld package contains the entire game engine: Models Views and Controllers, but also physics, geometry, time management, etc. """ from . import controllers from . import events from . import evtman from . import geometry from . import log from . import models from . import physics from . import time_
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
b81680590f118a2d347e1fb05c0986f14e401d1d
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.formwidget.contenttree-1.0.14-py2.7.egg/plone/formwidget/contenttree/demo.py
57b8a81802b37b1a271061de3b3b447da24627fd
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
1,759
py
from zope.component import adapts from zope.interface import Interface, implements from zope import schema from plone.z3cform import layout from z3c.form import form, button, field from plone.formwidget.contenttree import ContentTreeFieldWidget from plone.formwidget.contenttree import MultiContentTreeFieldWidget fro...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
2d3850df0c094eeb7f706d70aa509e5e2011f721
772b0df2635b95644ea3eb370103174804024167
/scripts/process_file.py
cfce2bb5b07aee825c3a76f0632392eb3a6e3579
[ "MIT" ]
permissive
4dn-dcic/clodius
ec909bda90a9df13fa1b85472951f6cf149213a5
aa31b3d90a5a9fec883c20cab31ad4d347cd52cd
refs/heads/develop
2020-04-17T23:31:32.114043
2019-04-02T14:01:46
2019-04-02T14:01:46
167,038,915
0
0
MIT
2019-03-28T20:10:46
2019-01-22T17:43:32
Python
UTF-8
Python
false
false
2,597
py
from __future__ import print_function import argparse import os.path as op import subprocess as sp import sys import tempfile as tf def main(): usage = """ python make_tiles.py input_file Create tiles for all of the entries in the JSON file. """ parser = argparse.ArgumentParser() parser.add_...
[ "pkerpedjiev@gmail.com" ]
pkerpedjiev@gmail.com
512c1fce60003522e98e0f5f3d8278c65001a88e
437428a48278b4e9bc04e1b8acbb33199f409376
/modules/exploit/unix/dvr/camera_credentials_disclosure.py
563adb10d9ee37945d96f06681ce86ece688b976
[ "MIT" ]
permissive
happylaodu/HatSploit
06d18ba2590456241ba61273d9f3d662a8bb26ec
9d53f3db85ce38483c6e7d16570ac233c5dd93cf
refs/heads/main
2023-04-30T20:18:37.090185
2021-06-02T20:23:08
2021-06-02T20:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
#!/usr/bin/env python3 # # MIT License # # Copyright (c) 2020-2021 EntySec # # 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...
[ "enty8080@gmail.com" ]
enty8080@gmail.com
84cb538f8850e3ffa7072e85d2b0228a7d713a47
356f3f1b7caf0ccb20cc830d40821dfb2cbda046
/sfit/workout/doctype/workout_day/test_workout_day.py
8696ffbb32d632dbc281ece67008a9e16deb779d
[ "MIT" ]
permissive
vignesharumainayagam/sfit
f4b75b9a8b2de08d0eaa4eadbcd3d5e432ffba56
a96afbf35b0e1635e44cb5f83d7f86c83abedb8f
refs/heads/master
2021-09-05T18:22:43.494208
2018-01-30T07:23:02
2018-01-30T07:23:02
104,332,803
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
# -*- coding: utf-8 -*- # Copyright (c) 2017, Valiant Systems and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestWorkoutDay(unittest.TestCase): pass
[ "vigneshwaran@valiantsystems.com" ]
vigneshwaran@valiantsystems.com
1f3e82b1570f82ea3bdfef2515882a87a08ed13e
8efe9a6c9489d798b5f5b610eb531d86924a1548
/src/products/migrations/0030_auto_20180305_0204.py
5a7d07b9df8306b0e3108784bcba1e778c6e7200
[]
no_license
MarekBiczysko/naklisze_public
e8e6f7e61cdb83b74ea68862b40c061c0253767b
e53c0e8fefffbcfc3a8859976eb7b81cf6270847
refs/heads/master
2022-12-12T02:27:09.824803
2019-07-23T10:54:47
2019-07-23T10:54:47
198,410,666
0
0
null
2022-12-08T01:03:08
2019-07-23T10:46:57
Python
UTF-8
Python
false
false
1,518
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-05 01:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0029_auto_20180305_0150'), ] operations = [ migrations.AlterField...
[ "marek.biczysko@stxnext.pl" ]
marek.biczysko@stxnext.pl
edb41ced91b448c477e1ff798421c4a836d02c1c
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_None/trend_Lag1Trend/cycle_5/ar_/test_artificial_128_None_Lag1Trend_5__0.py
a2712b0471685b35c3361d00197c36c4f8dea080
[ "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
258
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 = "Lag1Trend", cycle_length = 5, transform = "None", sigma = 0.0, exog_count = 0, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
5afe09e31c7ddd461bd0ca9ead432738d103c647
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/waf/netscaler.py
04b6d4eca5614726a9e6be0a151109dfc48cf07b
[]
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
812
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import re from lib.core.enums import HTTP_HEADER from lib.core.settings import WAF_ATTACK_VECTORS __product__ = "NetScaler (Citrix Systems)" def detect(get_page): retv...
[ "everping@outlook.com" ]
everping@outlook.com
c62bf5e407c19bc1d3059d7e8ee9abbaba6d7100
eb74806869a4340a6d8a2623bbe72bd4e64dcde8
/apps/rss_feeds/migrations/0006_feed_fs_size_bytes.py
cebc86363ae3a0e11564538d0d6f2f78ab934930
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sictiru/NewsBlur
a0874a1044926d2268ba07a928e62fce5c9a8310
1ab88e4cc34775d00a1ac90ee08bc2498577e773
refs/heads/sictiru
2023-08-19T20:24:20.638019
2023-08-15T03:52:09
2023-08-15T03:52:09
250,445,213
1
0
MIT
2023-03-06T15:34:38
2020-03-27T05:05:44
Objective-C
UTF-8
Python
false
false
409
py
# Generated by Django 3.1.10 on 2022-05-11 17:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rss_feeds', '0005_feed_archive_subscribers'), ] operations = [ migrations.AddField( model_name='feed', name='fs_siz...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
3b30a770bc9971f15e4f4a4cd43afbcdce5c6da2
cc9cf69b1534dc0d9530b4ff485084162a404e34
/leetcode/pass/leetcode_90.py
74fc6a05142615a6ecb6b64f80b6893234b2b510
[]
no_license
NASA2333/study
99a58b2c9979201e9a4fae0c797391a538de6f45
ba63bc18f3c788090e43406315497329b00ec0a5
refs/heads/master
2021-05-03T22:26:52.541760
2018-02-07T02:24:55
2018-02-07T02:24:55
104,988,265
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
''' Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. For example, If nums = [1,2,2], a solution is: [ [2], [1], [1,2,2], [2,2], [1,2], [] ] ''' from itertools import permutations l...
[ "422282539@qq.com" ]
422282539@qq.com
8261febe86d08207fffb746dc4ea9b8bb4edf2f7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/128/usersdata/195/33234/submittedfiles/al6.py
a43d19a9835509d9bcff514428b8a373c0912704
[]
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
211
py
# -*- coding: utf-8 -*- n=int(input('digite n:')) contador=0 i=2 while i<=n: if n%i==0: contador=contador+1 print(i) i=i+1 if contador==0: print('PRIMO') else: print('NÃO PRIMO')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a7331b3ee43605f606716e225b6f3a8427eb2df6
4ae7cdc9292009398a292bdf6bee61428559fdfd
/SourceCodeTools/mltools/torch/__init__.py
3cf41a14372e44768224cab38988ebb371ea39dc
[]
no_license
VitalyRomanov/method-embedding
52a4e6e7bf726b4db0872902a0eaf1d8cb82b4a8
1c8f0fc04eb1f495555272d9747fd2fea68525e1
refs/heads/master
2023-08-31T17:39:04.051912
2023-01-08T05:02:52
2023-01-08T05:02:52
219,153,628
5
7
null
2023-07-22T20:27:20
2019-11-02T12:54:12
Python
UTF-8
Python
false
false
308
py
import torch def compute_accuracy(pred_, true_): return torch.sum(pred_ == true_).item() / len(true_) def to_numpy(tensor): return tensor.cpu().detach().numpy() def get_length_mask(target, lens): mask = torch.arange(target.size(1)).to(target.device)[None, :] < lens[:, None] return mask
[ "mortiv16@gmail.com" ]
mortiv16@gmail.com
759b4b822b6a931f35052cc8ae753ec5e73d26ef
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_nonlinear_software/3-19_35.py
57bc6dce8fac1bc637a307a76bce16e0d73a5015
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,903
py
from typing import FrozenSet, Tuple import pysmt.typing as types from pysmt.environment import Environment as PysmtEnv from pysmt.fnode import FNode from utils import symb_to_next from hint import Hint, Location def transition_system(env: PysmtEnv) -> Tuple[FrozenSet[FNode], FNode, FNode, ...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
0c430c6aecd9750cc42ba607375c8993c00e350c
0b420532815a3841b74335e1e6ab9f3d533225c3
/day_night.py
a9501b87541c63bc5ae6e47f5b599ce2137cbdd2
[]
no_license
akuhnregnier/npower
3d7ec12e2e21a6e23db96714391986d372e0e6e0
bf3d842cde9b2e311cd415a8da7786ed36909645
refs/heads/master
2021-06-11T21:23:55.221317
2016-11-17T16:32:06
2016-11-17T16:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 03 17:08:37 2016 @author: ahk114 """ import pandas as pd import numpy as np import matplotlib.pyplot as plt #import seaborn as sns import cPickle as pickle import os from numpy.fft import fft from numpy.fft import fftfreq import scipy.optimize as opt import copy plt.clos...
[ "ahf.kuhnregnier@gmail.com" ]
ahf.kuhnregnier@gmail.com
35bad535a079fa4d1c260581d0e8fc3ca1dd433a
59b72b8f662cd605b3ce31f54779c17e5ca066d0
/interview_q/leet_code/子集.py
d6aa3df0e62c43481165dd5041958cface2a3827
[]
no_license
dongyang2/hello-world
c1f5853ccafd6b8f23836192547ab36f898e0891
1f859b53e2b21ed5a648da09b84950f03ec1b370
refs/heads/master
2022-12-11T22:07:22.853912
2022-11-24T03:52:35
2022-11-24T03:52:35
119,025,960
0
0
null
2018-01-26T10:09:58
2018-01-26T08:28:10
null
UTF-8
Python
false
false
2,388
py
# https://leetcode-cn.com/problems/subsets/ # coding: utf-8 # Python 3 # 给定一组不含重复元素的整数数组,返回该数组所有可能的子集,包括空集。 # # 思路:直接使用“组合.py”文件的函数。 # 优化方法,观察输入n=10时的结果,发现后面的结果等于输入数组与前面的结果的差集。如,长度为9的子集,一定等于长度为10的子集减长度为1的子集的结果。 # 边界条件: def erg_new_new(li, k, tmp, com): n = len(tmp) if n == k: com.append(tmp) else:...
[ "dongyangzhao@outlook.com" ]
dongyangzhao@outlook.com
e25d5c6d44603dfc1ac7be40c0f5e63bce951fac
332ac6deaed8b8917cf874f04fc77246378bdb44
/setup.py
4db61d01cd37dbb3dd83d18bdb2eb0d4634cfe76
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
hestela/fauxmo
5a435399eca61c525502dc90333ee73cff0d3d15
f2246b952a0246bf0dcd74e770c9daea0dcaa763
refs/heads/master
2020-03-11T15:45:48.414168
2018-04-19T00:56:27
2018-04-19T01:08:35
130,095,227
0
0
null
2018-04-18T16:58:43
2018-04-18T16:58:43
null
UTF-8
Python
false
false
1,755
py
import re from setuptools import setup, find_packages try: import pypandoc readme = pypandoc.convert('README.md', 'rst') history = pypandoc.convert('CHANGELOG.md', 'rst') except ImportError: with open('README.md') as readme_file, \ open('CHANGELOG.md') as history_file: readme = read...
[ "nate@n8henrie.com" ]
nate@n8henrie.com
8f2804428b63e25c8e704fb9def3a459ee42e87d
3b1053429de896731fe659b8ea09efe5f8bdc4cb
/src/db/DBStpHardware.py
902519e353ffa62e3425ec8e2b8cb150f10325d0
[]
no_license
rajgu/machine-master
57bb6f05fce5dfa512ecd10bc5e7bb31bbd76b8a
f1a6081c9bfde1937341a1a55478c08d48005f05
refs/heads/master
2020-03-26T22:09:14.058722
2018-08-20T15:42:00
2018-08-20T15:42:00
145,435,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from src.db.Crud import Crud class DBStpHardware(Crud): _table_name = 'stp_hardware' _table_struct = { 'stp_id' : {'type' : 'integer', 'validate' : True}, 'type' : {'type' : 'text', 'validate' : True}, 'name' : {'type' : 'text', 'validate' : True}, 'serial_number': {'type' : ...
[ "=" ]
=
aba2a884d4f2b0a73725dccefc5950fbfc7e745e
74afe97073a0693042d31567ba1a5741bcdebf72
/tests/utils.py
82762100c4b3ab85ace2b7d2ff312d3fe836d466
[ "Apache-2.0" ]
permissive
bruvio/tinyber
82aa34a5cdf842caa0f863540b249e37ae09fc78
d20d33341f9e74ba9b699553a8cf6448c167dec9
refs/heads/master
2021-05-29T23:07:58.841678
2015-07-23T23:24:52
2015-07-23T23:24:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
from asn1ate import parser from asn1ate.sema import * from tinyber.walker import Walker from tinyber.py_nodes import PythonBackend as Backend from tinyber import py_nodes as nodes def generate(infilename, outfilename): class FakeArgs(object): no_standalone = False import os with open(infilename)...
[ "mark@peek.org" ]
mark@peek.org
7aa513a018f1f1887b44be7689dd657b6c9f8ed5
fc20620a1fe41c83cb4c17ce36e5d3e6d5dd58fa
/src/python/dicomifier/__main__.py
b0fac30dd2023b3cfec7b87015b30eef36314d09
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
lamyj/dicomifier
bdd3ad5756563365fe59a31166cbcaa14f98603f
8601760917f7ef47d87fbd61d2c647c3d9cbeb3e
refs/heads/master
2023-04-28T15:45:52.571809
2023-04-20T15:50:03
2023-04-20T15:50:03
32,533,252
33
11
NOASSERTION
2022-09-12T16:53:20
2015-03-19T16:28:40
Python
UTF-8
Python
false
false
1,955
py
######################################################################### # Dicomifier - Copyright (C) Universite de Strasbourg # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # for...
[ "lamy@unistra.fr" ]
lamy@unistra.fr
1b103e18ecb604e87e2f579cf645558421707b91
8690ca0028c54b62d68badf1753fc6151ae03525
/Part3 Levels of Aggregation/fse_data/AllROIs/tpot_mnist_pipeline_triangulateAggregationLevelParticipantSplitaggr_2_groups4.py
7d1fc2a6145b7665e8206ac0c752c83a15062340
[]
no_license
brains-on-code/conducting-and-analyzing-human-studies
fd74ee77fdc56cc61bdc1e0cf9bf423780f5dddc
548e7443f4d2bdb2db1f2858289b7d3518593c59
refs/heads/master
2021-06-26T21:30:56.386121
2020-12-22T13:49:16
2020-12-22T13:49:16
195,975,817
2
0
null
null
null
null
UTF-8
Python
false
false
830
py
import numpy as np import pandas as pd from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import train_test_split # NOTE: Make sure that the class is labeled 'target' in the data file tpot_data = pd.read_csv('PATH/TO/DATA/FILE', sep='COLUMN_SEPARATOR', dtype=np.float64) features = tpot_da...
[ "fmriml@fmriml.com" ]
fmriml@fmriml.com
5594d738155165df35681f20b39b82b9a8c92c1f
c9ab605cdd2dbf92c9de05768ade0ecf1718be02
/03_Django/04_django_crud_review/jobs/views.py
92e5f3400502a07e8cddaa907118983276b91bed
[]
no_license
PyeongGang-Kim/TIL
42d69308cf99d2e07644b51d7636e1b64551a697
8711501d131ee7d78fdaac544dda2008adf820a1
refs/heads/master
2023-01-12T21:10:38.027946
2021-10-23T07:19:48
2021-10-23T07:19:48
195,937,990
10
1
null
2023-01-07T11:25:30
2019-07-09T05:22:45
HTML
UTF-8
Python
false
false
2,489
py
from django.shortcuts import render from .models import Job from faker import Faker from decouple import config import requests from IPython import embed from pprint import pprint # Create your views here. def index(request): return render(request, 'jobs/index.html') def past_life(request): name = request.PO...
[ "pyeonggangkim@gmail.com" ]
pyeonggangkim@gmail.com
8d8bd2733afc957d19afad643b783047d417c231
b40fbe6d0012a299b0e771d2e5f0cfca3fe5be2b
/gen_bulk.py
f4fad52f721f76c134105cc0a87572a95af0cbb3
[]
no_license
olimpiadi-informatica/randomtex
e8555776daa3761b6014cdf006b9c903db7f0fb2
1da019715c44db6a51135cb02dbf5a4e52586a95
refs/heads/main
2023-04-14T15:15:25.641932
2021-04-26T13:57:47
2021-04-26T14:13:03
358,237,479
0
0
null
null
null
null
UTF-8
Python
false
false
3,612
py
#!/usr/bin/env python3 import argparse import csv import datetime import json import logging import multiprocessing.dummy as mp import os import random import shutil import tempfile import progressbar import compilation import utils progressbar.streams.wrap_stderr() logger = logging.getLogger("gen_bulk") def proc...
[ "williamdiluigi@gmail.com" ]
williamdiluigi@gmail.com
f8938e7c7df3a92df60e420a4429cb058096a7e6
4be5c172c84e04c35677f5a327ab0ba592849676
/python/data_structures/array/sll/sll.py
dbdb9af0a8277d797c590e960437f9b0ac88de97
[]
no_license
niranjan-nagaraju/Development
3a16b547b030182867b7a44ac96a878c14058016
d193ae12863971ac48a5ec9c0b35bfdf53b473b5
refs/heads/master
2023-04-06T20:42:57.882882
2023-03-31T18:38:40
2023-03-31T18:38:40
889,620
9
2
null
2019-05-27T17:00:29
2010-09-05T15:58:46
Python
UTF-8
Python
false
false
5,315
py
''' A SLL implemented using regular arrays SLL corresponding to 78 -> 10 -> 41 -> 36 -> 21 is represented below | Index | Node | Node | | | data | next | |-------+------+------| | 0 | 10 | 7 | | 1 | | | | 2 | 36 | 9 ...
[ "vinithepooh@gmail.com" ]
vinithepooh@gmail.com
2553bc5ec831453cc73c3732fdbffe014c7cf7ce
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/mc-animation-blender/operator_anim_export.py
503e83160184e749fd854f38b8b1ff3864169f8f
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,913
py
import bpy import math import json # ExportHelper is a helper class, defines filename and # invoke() function which calls the file selector. from bpy_extras.io_utils import ExportHelper from bpy.props import StringProperty, BoolProperty, EnumProperty from bpy.types import Operator class operator_anim_export(Operato...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
936b3abfafeee8de92355161e81f2cf35625caf2
2d8d7fef8f914f1b2337ee5d6a2e7c61dab9ec4e
/基础知识/1.语法基础/13.dict字典-增删改查.py
8ea74ff8b009cb80334f8c2c6f4eb2ba593b1051
[]
no_license
kuaikang/python3
bb5bb8d807c4a8818b18f0d4e598232cc73ab3af
60ca72662c7a6e718190ffa6139a129c1412a3fb
refs/heads/master
2021-04-28T10:32:25.416550
2018-07-06T01:59:47
2018-07-06T01:59:47
122,068,697
13
11
null
null
null
null
UTF-8
Python
false
false
658
py
print("字典是key-value的数据类型".center(50, "-")) print("字典是无序的,key不能重复") info = {"stu1": "tom", "stu2": "jack", "stu3": "lucy"} print(info) # 添加 info["stu4"] = "bob" # 修改 info["stu1"] = "zhang" # 删除 # info.pop("stu2") # 标准删除方法 # del info["stu3"] # 查找 print('-----',info.get("stu11")) # 不存在的时候返回 # print(info["stu0"]) # 不存在时会报...
[ "359405466@qq.com" ]
359405466@qq.com
9b1336a598319774d6c7b2b0860e876c933a8cbc
c1fe97208afe479b7ae1ee67d69866a6911564ca
/Login/profilecreate/forms.py
99f047fe4e0523e89dce7b7d71637698624e0c1c
[]
no_license
jaindhairyahere/Python_Django
a0a46c57b6ca60d0942ae181fe28ea56bb1ee948
f170a2e38b78df698a02821a454a3baea0c358a6
refs/heads/master
2020-06-18T09:17:56.364928
2019-11-02T18:34:12
2019-11-02T18:34:12
196,249,108
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from django import forms from django.contrib.auth.admin import User from .models import Alumni from django.core import validators def check_PhoneNumber(value): if len(value) != 10: raise forms.ValidationError("Not a phone Number") class UserForm(forms.ModelForm): password = forms.CharField(widget = forms.PasswordI...
[ "jaindhairya2001@gmail.com" ]
jaindhairya2001@gmail.com
e946bbe4ccbf8914231a25812913ff77829d1f28
545afb3cfe89f82b558faa5b5b28c28b8e3effce
/venv/Lib/site-packages/grpc/_plugin_wrapping.py
6c925826d6f4cb8b3a86acd5ac23cf15ebe0b1e0
[ "MIT" ]
permissive
parthpankajtiwary/keras-groundup
24ad45a4b872e6d77fff8a6f4a3a6d60124a0628
0df0844e7d9dca741fad0965761a12f72ee51f07
refs/heads/master
2022-11-09T22:34:35.716466
2019-10-01T11:01:59
2019-10-01T11:01:59
210,914,101
0
1
MIT
2022-10-25T06:47:55
2019-09-25T18:31:49
Python
UTF-8
Python
false
false
3,527
py
# Copyright 2015 gRPC 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 applicable law or agreed to in...
[ "parthpankajtiwary@gmail.com" ]
parthpankajtiwary@gmail.com
7a4ccc2502dab8ff8f1958d5055642f4c92c18ce
bd9a09a3f1a8b2b5166c540ada93cc5b30591605
/scanner/plugins/cms/piaoyou/piaoyou_six2_sqli.py
eec921a1b177ff73dbc2f527350a99da77615bf5
[ "MIT" ]
permissive
iceyhexman/onlinetools
3cb6e349fc30c515f96429abeab5fbcc430ac0cc
61f2df7ff8e6ad97ca7901728c3ab749679a2bd0
refs/heads/master
2023-08-06T19:31:51.328657
2022-10-28T04:01:38
2022-10-28T04:01:38
119,565,769
1,662
358
MIT
2023-03-31T14:34:13
2018-01-30T16:51:46
Python
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: 票友机票预订系统6处SQL注入2(绕过) referer: http://www.wooyun.org/bugs/wooyun-2015-0116851 author: Lucifer description: multi sqli。 ''' import sys import requests class piaoyou_six2_sqli_BaseVerify: def __init__(self, url): self.url = url def run(self): ...
[ "834430486@qq.com" ]
834430486@qq.com
f0af40b807555df49c70d1410197dbfebf56faea
46d2bb5c6d2ea91ac8a3fda0168cc99501b1abe4
/middleware/client_test.py
23a21e179175a2942d8e6f0cd79747b4b0f65bdf
[ "Apache-2.0" ]
permissive
Time1ess/VES
2fe0a1c3371e243a377ad6a31df5d3b4651ddf4d
fe608b8ae469f81cc23b1ea30f02a1e68fac13ee
refs/heads/master
2021-01-18T21:36:21.864535
2016-06-15T12:21:42
2016-06-15T12:21:42
52,199,990
1
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
#!/usr/bin/python # coding:utf-8 # Author: David # Email: youchen.du@gmail.com # Created: 2016-04-04 14:10 # Last modified: 2016-04-11 10:01 # Filename: client_test.py # Description: import socket import time import sys import select from random import randint def Check_Identity(data): if data == "VES": r...
[ "youchen.du@gmail.com" ]
youchen.du@gmail.com
5e9365cd8fcdc3c33017a4fb7808aa0e14bf48f8
2e3e256bcc0086a61cbb0e082dc61290196e35d2
/dragon/common/custom_backend_auth.py
c06f172b49bf3edcc9fa4ad9cf008c2682719502
[ "Apache-2.0" ]
permissive
miradam/openstack-workload-disaster-recovery
79dcdb15ebf95d89157751c750a5dbab1557b942
854a3952bb9278cc08017ada97ff150b12b1c687
refs/heads/master
2020-03-24T15:36:46.808591
2016-12-15T12:32:17
2016-12-15T12:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (C) 2012, Red Hat, 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 r...
[ "OSHRITF@il.ibm.com" ]
OSHRITF@il.ibm.com
a216e6e27226559c893a544e64f063b65a73dc33
e3bbbb5018baad3cd2a2daf10e315a2e12aec974
/ichnaea/async/schedule.py
129cd2fffdcfed4b50627ec2d05e94d081463a88
[ "Apache-2.0" ]
permissive
ingle/ichnaea
5980de0532b012af7e48fa89bad7516adb84d24e
ed467538b6e61cf7c7921cd4aacb32ee039d13aa
refs/heads/master
2021-01-17T14:23:32.369530
2016-01-12T20:29:38
2016-01-12T20:29:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,476
py
""" Contains the `Celery Beat schedule <http://celery.rtfd.org/en/latest/userguide/periodic-tasks.html>`_. """ from datetime import timedelta from celery.schedules import crontab from ichnaea.models import ( CellShard, DataMap, WifiShard, ) def celerybeat_schedule(app_config): """Return the celery ...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
8dd2e0625d7cddc0360585244105d243400bfd8c
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/6010/504006010.py
f720a213c867cbaeb745d5d7e34ed4a67527b198
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
844
py
from bots.botsconfig import * from records006010 import recorddefs syntax = { 'version': '00601', 'functionalgroup': 'CC', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'N1', MIN: 0, MAX: 99999, LEVEL: [ {ID: 'N2', MIN: 0, MAX: 2}, {ID: 'N3',...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
9c0840e858c444ea844208b24a2948f9ad7256f6
aad4481e8a54e311982d638c1b42a86180726970
/examples/event-loop-stuff/timeout-clock.py
b5a2076df4b5ee032662cafab72effec9061d0ae
[ "Unlicense", "Zlib" ]
permissive
jiangguoqing/tkinter-tutorial
5639b11cfc2f339df3776410dbd7078ee07fac54
c6fee61ee915cf0894125e5b5eeb7249237d3a6b
refs/heads/master
2021-05-05T12:02:13.912298
2017-06-18T10:51:33
2017-06-18T10:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
import tkinter as tk import time # this must return soon after starting this def change_text(): label['text'] = time.asctime() # now we need to run this again after one second, there's no better # way to do this than timeout here root.after(1000, change_text) root = tk.Tk() label = tk.Label(root, t...
[ "akuviljanen17@gmail.com" ]
akuviljanen17@gmail.com
cd515ac2fb82afb70c385e634c68f7f523290d90
1097ed333a4000634e68a590ee6ffc6129ae61e3
/287.寻找重复数.py
f7574fcf8c3ef85cc24ac1beab25979bd36b19d0
[ "MIT" ]
permissive
AutuanLiu/Code-Storm2019
1bbe890c7ca0d033c32348173bfebba612623a90
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
refs/heads/master
2020-04-23T07:03:08.975232
2019-10-24T08:56:26
2019-10-24T08:56:26
170,995,032
1
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
# # @lc app=leetcode.cn id=287 lang=python3 # # [287] 寻找重复数 # # https://leetcode-cn.com/problems/find-the-duplicate-number/description/ # # algorithms # Medium (60.60%) # Likes: 246 # Dislikes: 0 # Total Accepted: 17.2K # Total Submissions: 28.4K # Testcase Example: '[1,3,4,2,2]' # # 给定一个包含 n + 1 个整数的数组 nums,其数字...
[ "autuanliu@163.com" ]
autuanliu@163.com
56bb1b8a3d238c6c89226c5276b91e8649ac0852
660e3a2bb5f127908549d52ebc62d0d67725f832
/Algorithm_python/최소반복.py
289ccfc40280f63b62c7f53a788273646c84b529
[]
no_license
dygksquf5/python_study
b56f8548bea7e31a484301bb97ddefe44d931c80
282126b0104dae9f9f8f63e613cc968a2f998ef1
refs/heads/master
2023-02-21T03:46:16.673962
2021-01-24T14:08:47
2021-01-24T14:08:47
294,593,923
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
# 주어진 수가 커서, 나머지 테스트케이스는 전부 에러ㅓㅓㅓ def solution(arr): answer = 0 id = [0] * len(set(str(arr))) visited = [False] * len(id) for i in range(len(arr)): if not visited[arr[i] - 1]: id[arr[i] - 1] = i visited[arr[i] - 1] = True continue if visited[arr[i]...
[ "66229916+dygksquf5@users.noreply.github.com" ]
66229916+dygksquf5@users.noreply.github.com
eb884160b46e9b642bf272c7dd14832b474646d7
b5e4958bd1c4770297108947e7b7441020b2e9cc
/topi/tests/python_cpp/test_topi_relu.py
f214266351210bcd11b71be64cdebdfc98b25ba6
[ "Apache-2.0" ]
permissive
Markz2z/tvm
06a20dcdf76111b64242940323ba998432ffbffb
3921b938c2a14017c2624f149983e86a7f9a4e94
refs/heads/master
2021-09-07T22:13:37.234511
2018-02-27T23:14:58
2018-02-27T23:14:58
124,998,633
1
0
Apache-2.0
2018-03-13T05:45:19
2018-03-13T05:45:19
null
UTF-8
Python
false
false
2,070
py
"""Test code for relu activation""" import os import numpy as np import tvm import topi from topi.util import get_const_tuple def verify_relu(m, n, dtype): A = tvm.placeholder((m, n), name='A', dtype=dtype) B = topi.cpp.nn.relu(A) assert B.dtype == dtype a_np = np.random.uniform(size=get_const_tuple(A...
[ "tqchen@users.noreply.github.com" ]
tqchen@users.noreply.github.com
ed3556874e717bbaf477fea4cadc0f06772d039c
5e324af46c554b88b97ee26886b05c88457ff0f5
/core/settings/production.py
0514fd109ac361f269a79a6f0a4dcb5a3202ba61
[]
no_license
doubleclickdetroit/dindintonight
1bda8851e49782d4dc16ca77d46e4b1f431c2b52
9769e1a96730b02511d25af8828b075dff5c35b5
refs/heads/master
2016-08-04T22:01:08.083566
2014-07-26T18:58:58
2014-07-26T18:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,383
py
"""Production settings and globals.""" from os import environ from base import * # Normally you should not import ANYTHING from Django directly # into your settings, but ImproperlyConfigured is an exception. from django.core.exceptions import ImproperlyConfigured def get_env_setting(setting): """ Get the envir...
[ "rgarrison3@gmail.com" ]
rgarrison3@gmail.com
f1d0e4bc2bf2a727d168359cf8886cbca2f8e324
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20190406/example_tinyloop/06generator.py
d865c30ed0ec9c763671dcf57f05205d0cd393bb
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
240
py
def f(): x = yield 1 print("@", x) y = yield 2 print("@", y) return x, y itr = f() v = next(itr) print("!", v) v = itr.send([v]) print("!", v) try: print(itr.send([v])) except StopIteration as e: print(e.args)
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
f0c660265b92498d1ba0c1172e8fe861bbba7312
4649cce3d8da661ddb204428e21f714a502d36f9
/src/ensae_teaching_cs/faq/faq_pandas.py
e7794b4e40526ab1f81f343648af19a2bd63b895
[ "MIT" ]
permissive
xugonglei/ensae_teaching_cs
10a7b97003e7d833dd0faaae939813bf1e134575
f06d4ce7ea24338b5b217f6c46ff7980eac7e653
refs/heads/master
2020-04-30T11:10:47.368520
2015-10-29T21:41:23
2015-10-29T21:41:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,936
py
# -*- coding: utf-8 -*- """ @file @brief Quelques problèmes récurrents avec `pandas <http://pandas.pydata.org/>`_. """ def read_csv(filepath_or_buffer, encoding="utf8", sep="\t", **args): """ Calls function `read_csv <http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html?highlight=read_cs...
[ "xavier.dupre@ensae.fr" ]
xavier.dupre@ensae.fr
1a7add79983d9aaaa4ac9d383db387f438a20b30
3abe14e934f775aca6dba588a9da5c908808daec
/setuptools/tests/test_depends.py
e0cfa88049d7ab7e93b8af06cdac45ee96c0714d
[ "MIT" ]
permissive
IronLanguages/setuptools
e1d6d6aaf990a2691f79ce3a4ca21b87e2f10a1a
20aa9400b3d44df952c362217d3c5a1c3988467f
refs/heads/master
2020-03-19T04:21:15.955081
2018-06-02T13:26:55
2018-06-02T13:26:55
135,819,098
2
1
MIT
2018-06-02T13:17:01
2018-06-02T13:17:01
null
UTF-8
Python
false
false
374
py
import sys from setuptools import depends class TestGetModuleConstant: def test_basic(self): """ Invoke get_module_constant on a module in the test package. """ mod_name = 'setuptools.tests.mod_with_constant' val = depends.get_module_constant(mod_name, 'value') assert val == 'three, sir!' assert 's...
[ "jaraco@jaraco.com" ]
jaraco@jaraco.com
c03e87ec7816e07b685894a92fa3274d5414db6c
e80393d0e32358d68e60b5119406c654d2373e1f
/encoding/models/aca2.py
83cbbae9f07d7dbe332b8679537ef97e0f8d8c86
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
yougoforward/Fast_psaa
3e333fb31743bda7684cc0bdae378bf40d839f63
68e99cd5bcf3bf5ab45ea604c3898fabc458c020
refs/heads/master
2022-11-04T02:01:03.694010
2019-11-30T07:53:01
2019-11-30T07:53:01
224,800,023
1
1
NOASSERTION
2022-10-26T23:53:43
2019-11-29T07:27:43
Python
UTF-8
Python
false
false
7,162
py
from __future__ import division import torch import torch.nn as nn import torch.nn.functional as F from .mask_softmax import Mask_Softmax from .fcn import FCNHead from .base import BaseNet __all__ = ['ACA2Net', 'get_aca2net'] class ACA2Net(BaseNet): def __init__(self, nclass, backbone, aux=True, se_loss=False,...
[ "908865817@qq.com" ]
908865817@qq.com
3c145b8ef4e538afdc8b05b7dc35000c6cd14bde
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/429/usersdata/321/107581/submittedfiles/jogoDaVelha.py
b5f5699b08831f08b81685112bfe8cf9f27f5873
[]
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
962
py
# -*- coding: utf-8 -*- from jogoDaVelha_BIB import * # COLOQUE SEU PROGRAMA A PARTIR DAQUI print('Bem vindo ao JogoDaVelha do grupo 8 [Iara, Ingrid, Luiz Otávio, Tatiane]\n') a=nome() b=solicitaSimboloDoHumano() sort=sorteioPrimeiraJogada(a) if sort==0: if b == 'X': c = ' O ' else: c = ' X...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
af8822c01c2eae258d213fcd4fb4dabd0f0f483b
9a9e0398f26cee9864d48c4618c0a482e5475e83
/Python/code/design_browser_history.py
21040767673ace8a3036f93a95df6462006bd225
[]
no_license
CNife/leetcode
92693c653bb41780ee431293286c3e909009e9b0
7cdd61692ecb52dd1613169e80b924dd39d35996
refs/heads/main
2021-06-22T21:22:12.997253
2021-03-18T07:07:15
2021-03-18T07:07:15
206,955,329
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
from typing import List class BrowserHistory: def __init__(self, homepage: str): self.stack: List[str] = [homepage] self.pointer: int = 0 def visit(self, url: str) -> None: if self.pointer < len(self.stack) - 1: self.stack[self.pointer + 1] = url del self.stack...
[ "CNife@vip.qq.com" ]
CNife@vip.qq.com
8f531582e923fb0fb0831e88beb903ecdecbc8a3
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Main/Cam_Main/Cam_Item_Layout_20190119190257.py
89fe9b62ef2019192a357e1a4849c612a4a637d1
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,985
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * from Qt.QtWidgets import * def loadUiType(uiFile): import plugin.Qt as Qt if Qt.__bindin...
[ "2595715768@qq.com" ]
2595715768@qq.com
ab8798f43f4e62010d729812993d84aa181dc52b
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/python-jose/jose/jws.pyi
777770ae62ba7928c9ecd32abfe7fdcce15fb17d
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
939
pyi
from collections.abc import Container, Mapping from typing import Any from .backends.base import Key def sign( payload: bytes | Mapping[str, Any], # Internally it's passed down to jwk.construct(), which explicitly checks for # key as dict instance, instead of a Mapping key: str | bytes | dict[str, Any...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
83dee180bba344ba4431b5eddabacca981be46a9
ea378480ba678eb123ef826e3ca0c3eb8f4e538f
/py ref/agg:PIL/05-snowflake.py
685698ad5cd2aee1ad26a0569fba738e94d596b8
[]
no_license
msarch/py
67235643666b1ed762d418263f7eed3966d3f522
dcd25e633a87cdb3710e90224e5387d3516c1cd3
refs/heads/master
2021-01-01T05:21:58.175043
2017-05-25T08:15:26
2017-05-25T08:15:26
87,453,820
1
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
# Snowflake Simulation Using Reiter Cellular Automata # Source: "A Local Cellular Model for Snow Crystal Growth" by Cliff Reiter # FB36 - 20130107 import math import random from PIL import Image, ImageDraw imgx = 500; imgy = 500 # image size imgx1 = imgx - 1; imgy1 = imgy - 1 image = Image.new("RGB", (imgx, imgy)) draw...
[ "msarch@free.fr" ]
msarch@free.fr
c26ce4af3e3326663a505c3563633472e49af3ec
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW06_20210715232125.py
82e83460b2b3572ef7ede77011ce58249bbfcda0
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
5,842
py
""" Georgia Institute of Technology - CS1301 HW06 - Text Files & CSV Collaboration Statement: """ ######################################### """ Function Name: findCuisine() Parameters: filename (str), cuisine (str) Returns: list of restaurants (list) """ ######################################### ########## WRITE FUN...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
8498795049bcc029a2c71a310a2525dd63063293
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_commoners.py
ba7756247f776e21069b78a695be616e5b343ce5
[ "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
230
py
#calss header class _COMMONERS(): def __init__(self,): self.name = "COMMONERS" self.definitions = commoner self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['commoner']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
da3148eda0d51e3d5d6c53ed95cca7d8fd467839
75ce5b7fee397fe4e67ed15a58f4cd42e0f8de9f
/PythonMasterclass/OOP/oop.py
8f9a4c844627350a4a88b461ec85cf8bb780bbce
[]
no_license
lukbast/stuff
7fd03b7e035394802c307682a25621dfd667960b
160e1d77d1b592fac099b9c7139fb4e2f7f8dbbe
refs/heads/main
2023-08-06T21:39:55.334812
2021-09-23T17:37:47
2021-09-23T17:37:47
409,684,114
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
class Kettle(object): power_source = 'electricity' def __init__(self, make, price): self.make = make self.price = price self.on = False def turn_on(self): self.on = True philips = Kettle('Philips', 420) kenwood = Kettle('Kenwood', 9.99) kenwood.price = 666 print(kenwood...
[ "jaimperator99@gmail.com" ]
jaimperator99@gmail.com
3e64394d796a026c719123cf7ef89bcb82365121
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_120408.22+153609.7/sdB_sdssj_120408.22+153609.7_lc.py
45c4a65ca1273ffe327210776740e7315636db7c
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[181.03425,15.602694], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_sdssj_120408.22+153609.7/sdB_sdssj_120408.22+153609.7_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.010388897...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
ce9e81e2b51bb97642a79f8b467a2770571ede66
eea1be5dbac7fa10167eae167eb6712e3937f53a
/voidcoin/settings/dev.py
70ec86d6e913a5df701dd36881e48c14a73f0cf7
[]
no_license
chidimo/Voidcoin
40962e46661b2a7106bd8e60d0830c3b9629b8fa
227c160dfa671818522781aab013f2d1fcb098a9
refs/heads/develop
2022-12-09T17:40:26.294425
2019-07-04T08:32:20
2019-07-04T08:32:20
135,197,447
5
2
null
2022-12-08T02:08:45
2018-05-28T18:45:19
Python
UTF-8
Python
false
false
1,964
py
from .base import * DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'voidcoin', 'USER': 'postgres', 'PASSWORD': config('DEV_DB_PASSWORD'), 'HOST': 'localhost', 'PORT': 5432 } } EMAIL_BACKEND = 'django.core.mai...
[ "orjichidi95@gmail.com" ]
orjichidi95@gmail.com
6066c82429a06cfc912a197d31d676903f1d208e
cd50ed5464a5397b4e5bafc36efebf88f14b2d8b
/models/rnn_theano.py
cd97581f15b5bc82263db599c4e65f8f297ca657
[]
no_license
millatidy/hit400_lstm
cc6db62c68f18296e40a75395725a8112d4632e8
38bce32bd8bec5c20e373957526bfecf79a3a761
refs/heads/master
2021-06-18T01:20:17.006138
2017-05-09T01:44:24
2017-05-09T01:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,909
py
import numpy as np import theano as theano import theano.tensor as T from utils import * import operator class RNN_THEANO: ''' input_dim is the array size of the input data hidden_dim is the array size of the hidden input_dim output_dim is the array size of the output # input weight...
[ "tidymilla@gmail.com" ]
tidymilla@gmail.com
f7563abdb8f484051174f08311f015a78de85abb
a01e7f87a0088965e2e0a02476d2df12a49a1a18
/package/vpntfi/build/lib/vpnmodule/lib/ipsec.py
ec9ef5f7c46a4f3932aa7db489e96b7baad3399c
[]
no_license
gsrr/IFT_jerry
0456a8a1fb98f84ad5c26dc36bdf32e2d85c750c
4c2f6900dfd7ae7f6b3cc2150b1c1be236b4c95c
refs/heads/master
2020-04-04T05:30:10.544252
2019-08-22T09:12:03
2019-08-22T09:12:03
48,145,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
import sys import os import configLoader import mcommon def make_replace_func(src, dst): def wrap_func(items): with open(src, "r") as fr: with open(dst, "w") as fw: for line in fr.readlines(): line = line.strip() for key in items.keys(): ...
[ "jerrycheng1128@gmail.com" ]
jerrycheng1128@gmail.com
04a5ac227ff16d908d6ea9c43ed65181b56820de
46b432cd3557038c454601367b878f889c9b6a8f
/kiyuna/tutorial07/tutorial07.py
cd07ce259e448005ecafb1d76d2ccac03e4a9643
[]
no_license
tmu-nlp/NLPtutorial2019
84ceec06568fd9d899a686658fb8851466133375
d77d199c50cd37d70e462209a7bfcd4dee9140a1
refs/heads/master
2020-05-14T13:34:05.336594
2019-09-25T02:25:41
2019-09-25T02:25:41
181,814,723
1
0
null
2019-08-01T18:53:54
2019-04-17T04:04:06
Python
UTF-8
Python
false
false
478
py
from train_nn import * from test_nn import * import subprocess train_path = '../../data/titles-en-train.labeled' train_nn(train_path, layer_num=1, node_num=2, epoch_num=1, λ=0.1) test_path = '../../data/titles-en-test.word' out_path = './out.txt' test_nn(test_path, out_path) script_path = '../../script/grade-predict...
[ "kyuna.prog@gmail.com" ]
kyuna.prog@gmail.com
54af5cd1a521f7e55d1fc43f8010b47de5507d7a
67325192c1e528a39d457f11e61b480d68826708
/mods/mcpython/Commands/paststructur.py
117c93e349a2e464fbdd360aea9102a06eae33c7
[ "MIT" ]
permissive
vashistaarav1611/mcpython-a-minecraft-clone-in-python
5851b377b54fd2b28c106112c7b18f397b71ab50
c16cd66f319efdeec4130e1a43f5a857caf1ea13
refs/heads/master
2023-02-01T22:48:51.787106
2020-12-21T15:02:25
2020-12-21T15:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# todo: remove from . import Command import structures import globals as G class paststructur(Command.Command): @staticmethod def getHelp(): return "/paststructur <name> <x> <y> <z>" @staticmethod def isCommand(line): return line.split(" ")[0] == "/paststructur" @staticmethod ...
[ "baulukas1301@googlemail.com" ]
baulukas1301@googlemail.com
d86340a6767ed274ae880923b13b4c21609393f6
047fbc11cd389e56865034cf473807db8718d92e
/assignment_test.py
46933b2148fcdc536230cfb6950f6b105b7d6bba
[]
no_license
SDSS-Computing-Studies/002b-basic-math-Sebastianmaudee
5c07d14dd2f13a6de8674d08c36f614defd1d84a
ae9826096b03ba4cf0d45fa27ec4acf9449570b7
refs/heads/master
2023-08-28T23:20:37.346270
2021-10-21T21:16:41
2021-10-21T21:16:41
406,925,526
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
#! python3 import a1, a2, a3, a4, a5, a6 def test1(): assert a1.answer == 14 def test2(): assert a2.answer == 3 def test3(): assert a3.answer == 10 def test4(): assert a4.answer == 2.5 def test5(): assert a5.answer == 1 def test6(): assert a6.answer == 25
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
ee9703daa5cc3632e67a2217d830eed7463293cf
48fab33def7dfaed44dbf0a2c5c148798a10c4c8
/test/onnx_converter_test/hugectr2onnx_wdl_test.py
7577b6ee48494f469b7d97b2915f797fb76344de
[ "Apache-2.0" ]
permissive
js-ts/HugeCTR
787fa22e8643cbfe7c6b9dac4414a70eb37f322c
085b2e8ad2abaee5578e7bf43b8394d0b8473b58
refs/heads/master
2023-08-16T11:29:57.490236
2021-10-21T02:31:24
2021-10-21T02:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
# # Copyright (c) 2021, NVIDIA 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...
[ "zehuanw@nvidia.com" ]
zehuanw@nvidia.com
41d3c3423049d66be5d5a676da6f65fc11ccee96
3117852233ea6c2644e723587a7b28d6d6518d95
/Calculator_Gamma.py
56834b8c0142138f9ff1356056dec9729eb49cbb
[]
no_license
harishravi121/Pythoncodes
d70059a3b7785d668a4b03f3ec85b0777b33706f
1d6d6ca0ed6348b6c5d07d27d24668fb567527ca
refs/heads/master
2023-07-07T11:58:03.741814
2023-07-01T08:01:56
2023-07-01T08:01:56
211,642,477
3
0
null
2020-01-13T06:45:25
2019-09-29T10:00:32
Python
UTF-8
Python
false
false
4,117
py
#The ALU has digital circuits for sum, subtraction, multiplication and comparision. #The challenge here would be to write the code for division, square root, trignometric and other fuctions #The following python code just needs python install of 30 MB x='25'; #2 digit number y='14'; #2 digit number #Doing repr...
[ "noreply@github.com" ]
harishravi121.noreply@github.com
4ba94ad8d63b1aded9da71576d77fa7a6caafdec
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/pandas/tests/groupby/test_min_max.py
25a57d24e04ef974fbd644249e8114cbe40588c9
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
5,733
py
import numpy as np import pytest from pandas._libs.tslibs import iNaT import pandas as pd from pandas import ( DataFrame, Index, Series, ) import pandas._testing as tm def test_max_min_non_numeric(): # #2700 aa = DataFrame({"nn": [11, 11, 22, 22], "ii": [1, 2, 3, 4], "ss": 4 * ["mama"]}) re...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
fd14a8d1149199664afe6d1f9f84b157b93b7cfb
bc1b9455826f2e07976c04b20515ac4a45eaf6b6
/pyrax/resource.py
da570dcd342c43305fcae4a4a1f9c5ba3598bcd5
[]
no_license
gondoi/pyrax
b3df411d4c1ed8d8e1e0151e9378f7400ff782fc
4a917f55e706b650774a305a424ed456da773f02
refs/heads/master
2021-01-18T11:21:13.557056
2012-12-19T22:49:52
2012-12-19T22:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,352
py
# Copyright 2010 Jacob Kaplan-Moss # Copyright 2011 OpenStack LLC. # Copyright 2012 Rackspace # 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 # # htt...
[ "ed@leafe.com" ]
ed@leafe.com