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
ed9a585555b7327b72bfc302f787c6a004b4fe6c
a7e1003a57bea59e4209c36c9e4493686b546c88
/manga_py/providers/helpers/std.py
77255ccaee538b26062a57ba912dc8461160ece6
[ "MIT" ]
permissive
terepanda/manga-dl
b7de04ea42d64c71689860502895bf0bc274f9a4
2ac3a314c2f67ad22f6da7e293ec6b3a132d7834
refs/heads/stable_1.x
2020-04-28T09:22:26.055562
2019-03-11T16:07:00
2019-03-11T16:07:00
173,831,799
0
0
MIT
2019-03-04T22:30:24
2019-03-04T22:30:24
null
UTF-8
Python
false
false
3,945
py
from ._http2 import Http2 class Std: _vol_fill = False def get_archive_name(self) -> str: idx = self.get_chapter_index() self._vol_fill = True return self.normal_arc_name({'vol': idx.split('-')}) def _elements(self, selector, content=None) -> list: if not content: ...
[ "sttv-pc@mail.ru" ]
sttv-pc@mail.ru
174f96c7670234bd9fcc4ca9aaf1668399ac8581
c09e5bb87702a0828b0ec1c2eb221566529f2432
/passValue.py
43cd3c8ab40363c7e55ba6db799ef3f769e81172
[]
no_license
anubhav-shukla/Learnpyhton
396a1c8748c6cf640726e3609f7399b161c00858
7b53b30a0a6829d480f1d3c7d5a914de1c57fa73
refs/heads/master
2023-07-05T03:04:22.117259
2021-09-01T12:46:01
2021-09-01T12:46:01
346,263,181
0
0
null
2021-09-01T12:46:02
2021-03-10T07:02:27
Python
UTF-8
Python
false
false
3,827
py
def power(x,n): ans=1 for i in range(0,n): ans=ans*x return(ans) print(power(12,2)) # python passValue.py def update(l,i,v): if i >= 0 and i<len(l): l[i] = v return(True) else: v=v+1 return(False) # recursive function ...
[ "noreply@github.com" ]
anubhav-shukla.noreply@github.com
111318b353d2611acfa430a79a7d6afbb8d2df09
b9f21bc90eed396dde950c30a1b482be0fb8ba30
/AtCoder/ABC/114-C.py
c57b6b69f5e512ae3c96d1ba0e82597308410915
[]
no_license
nanigasi-san/nanigasi
127a21db1b31759908fd74cebabe240e5abf8267
5e3c3e78344dd9558cafe439beb272b9a80d0f3a
refs/heads/master
2020-04-03T18:57:40.132489
2019-06-19T15:03:38
2019-06-19T15:03:38
155,504,101
1
0
null
2019-02-20T09:40:05
2018-10-31T05:33:11
Python
UTF-8
Python
false
false
1,039
py
N = int(input()) counter = 0 list = ['3','5','7'] ok = [] for a in list: for b in list: for c in list: ok.append(a+b+c) for d in list: ok.append(a+b+c+d) for e in list: ok.append(a+b+c+d+e) for f in list: ...
[ "nanigasi.py@gmail.com" ]
nanigasi.py@gmail.com
01cfa1143e857f5968e5726bc25fd0c5afc3b25d
6eb56f2e3f14f2373be07fe95b1c6fedf1e2d49f
/month02/multiprocessing/process01.py
d9d23ab45d769064371f0b1ad59cc856ea8458a6
[ "Apache-2.0" ]
permissive
chaofan-zheng/python_leanring_code
fe22b0370cadebf7456477269aff4a35cef0eb41
0af44ff39b9ded2c1d2cc96c6d356d21170ac04d
refs/heads/main
2023-02-28T07:56:46.457552
2021-02-10T15:08:33
2021-02-10T15:08:33
323,584,115
4
0
null
null
null
null
UTF-8
Python
false
false
580
py
""" 进程模块使用,基础示例 """ # 不能选带横线的 import multiprocessing from time import sleep a = 1 # 进程执行函数 def fun(): print("开始运行第一个进程") sleep(2) global a print(a) a = 100 # 打印子进程a print("第一个进程结束") # 实例化进程对象 p = multiprocessing.Process(target=fun) # 启动进程 此刻才会产生进程,运行fun函数 p.start() print("第二个进程开始运行") slee...
[ "417355570@qq.com" ]
417355570@qq.com
7c1dd12894b0fd27e59b6ca2032bf502df13aa2a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_supped.py
1619278ecb046871ec31f654f97626cb64339b8c
[ "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
231
py
from xai.brain.wordbase.adjectives._sup import _SUP #calss header class _SUPPED(_SUP, ): def __init__(self,): _SUP.__init__(self) self.name = "SUPPED" self.specie = 'adjectives' self.basic = "sup" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
38ff91091d2c7ebb674c446b29cb4bd7e6e52756
f2dd3825da3ed8b6e52058453a9340f5330581c2
/0x0A-python-inheritance/11-square.py
394d31f1fee9da9a0a8aafeaa487a00581dbd5ca
[]
no_license
mlaizure/holbertonschool-higher_level_programming
855c8b2672b59d27cba4c05ad8a7bb5f30b5d253
0d2bcdab97c31e79093497a1783a52e56e10ac6e
refs/heads/main
2023-04-22T23:20:58.284834
2021-05-13T01:00:20
2021-05-13T01:00:20
319,399,234
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
#!/usr/bin/python3 """Module with a class Rectangle that inherits from class BaseGeometry""" Rectangle = __import__('9-rectangle').Rectangle class Square(Rectangle): """instantiates with size validated by int validator in BaseGeometry and area and str method""" def __init__(self, size): self.int...
[ "maddi.laizure@gmail.com" ]
maddi.laizure@gmail.com
bb23968b7d243179451e0d3d2007a1ea641e37ce
1c483107def8036174cb884db85a4e909ad9d758
/W.py
ef577a4fcdcbfcdcc255345b73639591127262c4
[ "MIT" ]
permissive
Ashokkommi0001/Python-Patterns-Alphabets-Upper_case
e40dd6c985732b119caf614af7b597cfe330c59c
0735bb1d7333ea850b91b1a3cf37be659885267b
refs/heads/main
2023-03-16T07:08:03.182184
2021-03-08T04:48:45
2021-03-08T04:48:45
342,660,132
0
1
null
null
null
null
UTF-8
Python
false
false
250
py
def W(): for row in range(6): for col in range(5): if (col==0 or col==4) or ( row>2 and (row+col==5 or row-col==1)): print("*",end=" ") else: print(end=" ") print()
[ "noreply@github.com" ]
Ashokkommi0001.noreply@github.com
95bcf908fab8b85bf96d76b945732272765029d7
8535bbc7781c4691880c935bd7025646f0dbb7c3
/stack.py
d718058f16a98bef2bfa46d4d99e724dced1b56b
[]
no_license
Mahadev0317/Codekata
3b2149f3116ebe4b48b2059b873544c27b23ff39
c35fa0ed0c4870faea69152638f461e743a9ff69
refs/heads/master
2020-04-15T04:59:17.062947
2019-05-29T04:46:35
2019-05-29T04:46:35
164,404,727
1
2
null
null
null
null
UTF-8
Python
false
false
356
py
class stack: def __init__(self): self.items=[] def push(self,data): self.items.append(data) def pop(self): if self.items==[]: print("Empty Stack") else: del(self.items[len(self.items)-1]) def display(self): print(self.items) s=stack() s.push(20) s.push(30) s.push(10) s.display() ...
[ "noreply@github.com" ]
Mahadev0317.noreply@github.com
470e97649e7d9e599171569f4c73ca1d13faf422
63732a7ca27c0ff5a59fc0194457d7f4218fe046
/docker_capture.py
0c71d0b8ca6e88c0fc63d9ecbd23b0b77a34d03f
[ "Apache-2.0" ]
permissive
damay27/Forensics_Project
650d2976714c3425fceee0ff26b570e9abb74590
6984248ea6b716663769d461c0e43cf39d86ff0c
refs/heads/master
2022-04-28T20:40:41.623485
2020-05-02T16:26:48
2020-05-02T16:26:48
260,723,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
import docker import os import time import subprocess import sys if len( sys.argv ) < 2: print("No container ID given") else: container_id = sys.argv[1] low_level_client = docker.APIClient("unix:///var/run/docker.sock") client = docker.from_env() #Get the path to where the container filesystem is stored on d...
[ "you@example.com" ]
you@example.com
62ac1af39f20ed815ba1381575ecb5b14f70d714
929d12e11ed2fb69476b9d07932e38662f0ce6fc
/Trees/Binary tree to Circular Doubly Linked List.py
2fa5c1e8573e4bf8d76690e52f353d0f13f5a3eb
[]
no_license
arnabs542/Data-Structures-And-Algorithms
b8f341a31ca18044bf179294fbcb0fac1f835216
ffcc2f8a25520ce37cd1f67e6225281c85141a65
refs/heads/master
2022-12-13T14:09:55.005341
2020-09-13T11:58:58
2020-09-13T11:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,555
py
""" Binary tree to Circular Doubly Linked List Problem Description Given a binary tree convert it into circular doubly linked list based on the following rules: The left and right pointers in nodes are to be used as previous and next pointers respectively in converted Circular Linked List. The order of nodes in List...
[ "rishu1998jain@gmail.com" ]
rishu1998jain@gmail.com
91f0d7546fafdfe30a9041bd85fa258782224a56
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/phpikh001/question4.py
7539397bd4734adda72a820b55988ba78248334c
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
#Ikhlaas Pohplonker #23 April 2014 #a program that takes in a list of marks and outputs a histogram representation of the marks according to the mark categories at UCT marks=input("Enter a space-separated list of marks:\n") list_of_marks=marks.split(" ")#makes an array of marks fail=[] third=[] lower_second=[] ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
2919c3b860310d470920c1e1c97c2d76c6ecffce
dde3d166185624d14118cfa95d7f4762d2064f66
/src/quotationtool/biblatex/tests.py
0fcf55d4780677887e28ab0f209bc675b6f7c666
[]
no_license
quotationtool/quotationtool.biblatex
965b618cf0f0f6b68f86139003493a3effa0582c
3d7da49cc424c54808a4014d189440481ef9a72e
refs/heads/master
2020-03-08T06:52:39.666677
2012-09-17T20:02:34
2012-09-17T20:02:34
127,974,365
0
0
null
null
null
null
UTF-8
Python
false
false
5,878
py
import unittest import doctest from zope.component.testing import setUp, tearDown, PlacelessSetup import zope.interface import zope.schema import zope.component import zope.security from zope.schema import vocabulary from zope.schema.interfaces import IVocabularyFactory, IVocabulary from zope.configuration.xmlconfig im...
[ "christian.lueck@ruhr-uni-bochum.de" ]
christian.lueck@ruhr-uni-bochum.de
c027c3521d0a2e60db4ecdc47e2ad23e41d0cc6d
905f40a4ad8e17bb4871cf87b6ee184a76a77c2a
/products/tests/test_product_list.py
88e2034a7f903edd0394c37f944d8f69aeeb4815
[]
no_license
sai9912/mypyton
5e1f7ca278051d5f588af1d9accae5fd1780020b
338fd6396dbdce971bc542718fbb9608bdcfc2a7
refs/heads/master
2022-12-16T05:04:34.590818
2019-04-18T09:18:06
2019-04-18T09:18:06
176,324,427
0
0
null
2022-12-08T02:31:10
2019-03-18T16:16:56
Python
UTF-8
Python
false
false
6,334
py
from . import TestCase class PageProductsListTestCase(TestCase): url = 'products:products_list' user = None product1 = None product2 = None product3 = None def setUp(self): self.user = self.setUp_createAccount() def test_page_exist(self): response = self.client.get(self.u...
[ "root@ip-172-31-29-10.ap-south-1.compute.internal" ]
root@ip-172-31-29-10.ap-south-1.compute.internal
84acf126a83f11869e599ce845e01543eb6350c8
43e2e801f6df426a9b923828e8ee3c0b0f022c66
/ngram_util.py
123b079434c6f269c6a6e09d0025a2059b5110e2
[ "MIT" ]
permissive
mrdrozdov/knnlm
0333eadbd1d0c6e16521475dc07d57d7dce8b02e
61419077eb7f79c3ba7a196b4cc7cf722f4ba8f4
refs/heads/master
2023-04-19T14:13:58.242980
2021-05-20T02:34:17
2021-05-20T02:34:17
317,321,152
0
0
MIT
2021-01-26T17:44:06
2020-11-30T19:12:33
null
UTF-8
Python
false
false
2,722
py
import collections import numpy as np import torch from tqdm import tqdm class Model: def __init__(self, c, max_ngram=3): self.c = c self.c1_sum = sum(c[1].values()) self.max_ngram = max_ngram def batch_predict(self, src, tgts): # TODO: Should we be able to use small max_ngr...
[ "andrew@mrdrozdov.com" ]
andrew@mrdrozdov.com
ccd0fefcc18a710332d55632d6c20edcd54afda7
3dcd285dbd2ec9db77d00880028ecbf2ec911824
/main.py
7c31f2d40b2b4edc25926291f08960803e41b858
[ "MIT" ]
permissive
tomguluson92/Bitcoin-Trader-RL
81af38df5da10f922dfbe1b139099d8abd2213b2
b13fb7a181fe0583e5e0a58caaff3305c58bd1e4
refs/heads/master
2020-05-23T02:06:32.071390
2019-05-14T10:07:30
2019-05-14T10:07:30
186,596,593
0
0
MIT
2019-05-14T10:06:32
2019-05-14T10:06:31
null
UTF-8
Python
false
false
892
py
import gym import pandas as pd from stable_baselines.common.policies import MlpPolicy from stable_baselines.common.vec_env import DummyVecEnv from stable_baselines import A2C from env.BitcoinTradingEnv import BitcoinTradingEnv df = pd.read_csv('./data/bitstamp.csv') df = df.sort_values('Timestamp') slice_point = in...
[ "adamjking3@gmail.com" ]
adamjking3@gmail.com
14fcc9b6b48ec5d03fea59bd1f3a3020d5fb33be
94e7c790d17ba08e8a2a74077dd8b75e7ac120b0
/chapter01/Exercise08_01.py
9a126a181ea5e998f205caa727d449bf0c1ddb5e
[]
no_license
lutfar9427/Exercises_Solution_of_INTRODUCTION_TO_PROGRAMMING_USING_Python
9632e515428685dcaa7d057cf52f0e191e9f7ae0
d037475316e6c6b7c6a7a7023318ef4ab4ed3f8d
refs/heads/master
2020-09-02T09:04:44.990668
2018-10-20T00:50:12
2018-10-20T00:50:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
''' 1.8 (Area and perimeter of a circle) Write a program that displays the area and perimeter of a circle that has a radius of 5.5. /** * @author BASSAM FARAMAWI * @since 2018 */ ''' # Display the area print("Circle 5.5 area = ", 5.5 * 5.5 * 3.14) # Display the perimeter print("Circle 5.5 perimeter = ", ...
[ "tiodaronzi3@yahoo.com" ]
tiodaronzi3@yahoo.com
6187db4f823aa608eac92a9292a13bcd09f8c069
c93b0f008d0977e0b9327ad8b930489f5cccae97
/platfrom/startodpsjob.py
4449549f7630c023c77844c634e79b69742af129
[]
no_license
ParkPan/ATCasePackage
15caa664bd94c014ccbd1780353bfc5fcc0caa87
edad6c1d5a343c740e251821fee0c29336f3d435
refs/heads/master
2020-06-16T02:44:06.323352
2016-12-01T03:46:44
2016-12-01T03:46:44
75,251,843
0
0
null
null
null
null
UTF-8
Python
false
false
3,364
py
import sys import shutil import os import time import constvars from pipeofodps import MysqlDbObj from commonfunc import exec_odps_commands def perpareconfig(workpath, configfolder): for filename in os.listdir(configfolder): if os.path.exists(workpath + "/conf/%s" % filename): os.remove(workpa...
[ "panpan@cloutropy.com" ]
panpan@cloutropy.com
b9c238d004cce2d7bfc88046e19f15fc6db5402e
4111ca5a73a22174f189361bef654c3f91c3b7ed
/Lintcode/Ladder_1_Algorithm/03. Two Pointers Algorithm/59. 3Sum Closest.py
23fa179b2c4899d8ae635f401e42e4655125753e
[ "MIT" ]
permissive
ctc316/algorithm-python
58b541b654509ecf4e9eb8deebfcbdf785699cc4
ac4580d55e05e93e407c6156c9bb801808027d60
refs/heads/master
2020-03-16T06:09:50.130146
2019-08-02T02:50:49
2019-08-02T02:50:49
132,548,222
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
class Solution: """ @param numbers: Give an array numbers of n integer @param target: An integer @return: return the sum of the three integers, the sum closest target. """ def threeSumClosest(self, numbers, target): if len(numbers) < 3: return 0 numbers.sort() ...
[ "mike.tc.chen101@gmail.com" ]
mike.tc.chen101@gmail.com
87af1491e763b28e2ac7b6476729bf5ba96554da
63fb39539d7629c31b917f38572de16cabac3bc0
/asposecellscloud/apis/cells_task_api.py
51829e2089c0be076d0d0997178fc2230c30e170
[]
no_license
sabir-gmail/aspose-cells-cloud-python
95b5bba5e7c788b2f5a7d1021251aea24e05b133
a19f720fbfa30c2a92b2862718c4b176b3692641
refs/heads/master
2020-03-27T14:05:33.798235
2018-08-14T02:16:17
2018-08-14T02:16:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,280
py
# coding: utf-8 """ Web API Swagger specification No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import ...
[ "nick.liu@aspose.com" ]
nick.liu@aspose.com
500b4c19d8c72f52a8e621b86dc59898e9858c46
c3204b5bc1fec0e8a67cf548337c4e3c05137f05
/todo_app/tasks/serializers.py
7580176b5631220c396ce2eeb507b83fe5052a04
[]
no_license
bertocarl/timer
328889e876f7862e91fbaf3ad03abf285968681e
91fdac77a89ab28e743653e66e27408ae10df65a
refs/heads/master
2022-12-08T03:51:10.131115
2019-06-22T07:37:17
2019-06-22T07:37:17
192,233,932
0
0
null
2022-11-22T03:15:05
2019-06-16T20:28:28
Python
UTF-8
Python
false
false
274
py
from rest_framework import serializers from .models import Task class TaskSerializer(serializers.ModelSerializer): owner = serializers.ReadOnlyField(source='owner.username') class Meta: model = Task fields = ('id', 'title', 'completed', 'owner')
[ "aomware@gmail.com" ]
aomware@gmail.com
1ac32935ca0a226e95cb9903a5ac01b381723b0f
ec09932ef977bb0f9117193c3200b0807c588542
/azure-mgmt-network/azure/mgmt/network/models/vpn_client_root_certificate.py
f4615221fc790aa15cce615c52a5425a6f29481e
[ "MIT" ]
permissive
biggorog/azure-sdk-for-python
26b9111f5d939e68374e2ff92dd5a3e127100a49
31e15670100f57a03aac9ada5fd83eedc230e291
refs/heads/master
2020-12-24T11:37:13.806672
2016-11-04T20:50:04
2016-11-04T20:50:04
73,026,650
1
0
null
2016-11-06T23:48:38
2016-11-06T23:48:37
null
UTF-8
Python
false
false
2,044
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
7dd86dac7563f0009384f7f8f941d46906a81a78
aec9a1f3d1d36f19724e745ca4d09a20f67208dc
/matching/migrations/0002_auto_20201226_1802.py
ced37e26b0ce90a72160e6ddde9daae1a260699a
[]
no_license
endlessor/open-united-backend
b1b1c3411d0d48bc79b35895c70f24d773ac7344
86f6905cce14b834b6bf059fd33157249978bd14
refs/heads/main
2023-04-29T13:35:28.529360
2021-05-17T14:16:39
2021-05-17T14:16:39
368,211,786
1
0
null
null
null
null
UTF-8
Python
false
false
763
py
# Generated by Django 3.1 on 2020-12-26 18:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('talent', '0001_initial'), ('matching', '0001_initial'), ('work', '0001_initial'), ] ...
[ "robcoder@hotmail.com" ]
robcoder@hotmail.com
f558e7ffbc34925a2df51138d4e404261f4fafed
2d82d4c6574bd6d32f2cf1c781615f7951f55f66
/muntjac/event/dd/drop_target.py
ccb3e8c274149c9b4e6c06aaad74d7db937512c6
[ "Apache-2.0" ]
permissive
metaperl/muntjac
f83f745ee03942a61af92ee7fba7285aa9c46f3c
8db97712edd81b4d25deaaa48587d2a08010f2c8
refs/heads/master
2021-01-15T22:04:25.057862
2012-11-09T03:52:59
2012-11-09T03:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
# @MUNTJAC_COPYRIGHT@ # @MUNTJAC_LICENSE@ """An interface for components supporting drop operations.""" from muntjac.ui.component import IComponent class IDropTarget(IComponent): """IDropTarget is an interface for components supporting drop operations. A component that wants to receive drop events should im...
[ "r.w.lincoln@gmail.com" ]
r.w.lincoln@gmail.com
2bde6e8ee3f15dbbfb3d30a49d68d1eab407591f
e9d1c68e50a237fa9237df1b758eac8445ecde9c
/webapp/webapp/webapp/settings.py
e94215101cb5074d3baf79fff0d2f2aa6097f248
[ "MIT" ]
permissive
sashgorokhov/puppet-training
2be44c4edf437475bbf76ff96059a52d9cee46ab
91c524ac02d966d692cf5c2b23b6021983f4b4ab
refs/heads/master
2021-01-20T21:06:13.575967
2016-06-27T12:20:46
2016-06-27T12:20:46
61,709,586
0
0
null
null
null
null
UTF-8
Python
false
false
3,485
py
""" Django settings for webapp project. Generated by 'django-admin startproject' using Django 1.9.6. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # ...
[ "sashgorokhov@gmail.com" ]
sashgorokhov@gmail.com
5e7825f7b5a97a518d8caae8b65683f418de9683
8f0b0ec0a0a2db00e2134b62a1515f0777d69060
/scripts/study_case/ID_5/matchzoo/engine/base_task.py
b1caff7896818c1567eee9a34a2cfdfde2ad807a
[ "Apache-2.0" ]
permissive
Liang813/GRIST
2add5b4620c3d4207e7661eba20a79cfcb0022b5
544e843c5430abdd58138cdf1c79dcf240168a5f
refs/heads/main
2023-06-09T19:07:03.995094
2021-06-30T05:12:19
2021-06-30T05:12:19
429,016,034
0
0
Apache-2.0
2021-11-17T11:19:48
2021-11-17T11:19:47
null
UTF-8
Python
false
false
2,730
py
"""Base task.""" import typing import abc import torch from torch import nn from scripts.study_case.ID_5.matchzoo.engine import base_metric from scripts.study_case.ID_5.matchzoo.utils import parse_metric, parse_loss class BaseTask(abc.ABC): """Base Task, shouldn't be used directly.""" TYPE = 'base' d...
[ "793679547@qq.com" ]
793679547@qq.com
b84d06c3461450a4dd5d67bcd62e94e9742e0cae
05628f5b5bca2969db8452cf47db5d7c10f0a1f5
/web_flask/3-python_route.py
855acb866e089732fa9e378ce65f05134ec548ba
[]
no_license
OscarDRT/AirBnB_clone_v2
c75e8bd6248935726205b3d1282dd4b7969f6fbd
2d867ea0d8af465faceac616a0dc67e3534b0002
refs/heads/master
2021-05-18T03:39:21.080421
2020-04-22T17:27:45
2020-04-22T17:27:45
251,087,252
1
1
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/python3 from flask import Flask, escape app = Flask(__name__) @app.route('/', strict_slashes=False) def index(): return ("Hola HBNB!") @app.route('/hbnb', strict_slashes=False) def hbnb(): return ("HBNB") @app.route('/c/<text>', strict_slashes=False) def c_text(text): text = text.replace(...
[ "oscarnetworkingpro@gmail.com" ]
oscarnetworkingpro@gmail.com
93eb1bc909d410f5f123ac596860fa0b023b5f2b
bce8058eacca7f11a0b271f6c9d5d791e56fc94a
/poo/loja/vendedor.py
1ee0beb63641e58292bd1a8420db92f7eeceb6ec
[]
no_license
danielcanuto/python_revisao
b230a372cd5d9b675150598028b4b31610e0d1a4
7f313747cbdb19375c87edb45475e095108bd1f9
refs/heads/main
2023-03-26T13:48:05.976736
2021-03-24T16:30:15
2021-03-24T16:30:15
342,392,460
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from .pessoa import Pessoa class Vendedor(Pessoa): def __init__(self, nome, idade, salario): super().__init__(nome, idade) self.salario = salario def __str__(self): return f'{super().__str__()} {self.salario}'
[ "danielpscanuto83@gmail.com" ]
danielpscanuto83@gmail.com
0568c51d9dbcea915f8ddb73a991835742360320
15f0514701a78e12750f68ba09d68095172493ee
/Python3/12.py
b1ebd29f94c7d025f7458bffd76fe08e1bd21237
[ "MIT" ]
permissive
strengthen/LeetCode
5e38c8c9d3e8f27109b9124ae17ef8a4139a1518
3ffa6dcbeb787a6128641402081a4ff70093bb61
refs/heads/master
2022-12-04T21:35:17.872212
2022-11-30T06:23:24
2022-11-30T06:23:24
155,958,163
936
365
MIT
2021-11-15T04:02:45
2018-11-03T06:47:38
null
UTF-8
Python
false
false
3,886
py
__________________________________________________________________________________________________ 56ms class Solution: def intToRoman(self, num: int) -> str: res = '' return self.toPartRom(num//1000, 'M--') + \ self.toPartRom((num % 1000)//100, 'CDM') + \ self.toPa...
[ "strengthen@users.noreply.github.com" ]
strengthen@users.noreply.github.com
f19b4e1cce1c695c5b29681a080f287a7d771a42
ea1a17c30b82b6226c671e97f5b14687bc9c61ed
/base/migrations/0004_auto_20180515_1636.py
bfddc0c875764b4d3df3b7771ea0842f43aa6917
[]
no_license
xritzx/AceFoundationAcademy
760b72bdbd7f9ce6fb1fea4e3c3df0881caa41e0
25e41fa90ae4befe96f7f0f0ad8170518680d902
refs/heads/master
2022-12-10T20:03:56.122337
2020-01-18T15:04:47
2020-01-18T15:04:47
140,419,479
1
0
null
2022-11-22T05:15:00
2018-07-10T11:03:40
JavaScript
UTF-8
Python
false
false
519
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-15 16:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0003_auto_20180515_1630'), ] operations = [ migrations.AlterField( ...
[ "ritankarpaul47@gmail.com" ]
ritankarpaul47@gmail.com
2f4417dffebcc96b957d2b1ff00504c687ed6765
89bae02f23e787416fda894a128c9abfb4986515
/metalearning/allennlp/allennlp/nn/__init__.py
f6af6a2e823ebdf9a9ef1be39265c8a1d5f066d7
[ "Apache-2.0" ]
permissive
asheverdin/multilingual-interference
f2e64cebfffc749b080fa64860659922224e6e65
7bc1b5918142e3c84bea83c5a7f39e3f245172e9
refs/heads/main
2023-05-12T13:07:19.997696
2021-05-28T22:16:26
2021-05-28T22:16:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
from allennlp.nn.activations import Activation from allennlp.nn.initializers import Initializer, InitializerApplicator from allennlp.nn.regularizers import RegularizerApplicator
[ "lcur0308@test3.irc.sara.nl.irc.sara.nl" ]
lcur0308@test3.irc.sara.nl.irc.sara.nl
924006e05e19fb5ded67f4e1ed943d9ff7aa6ebb
43b6bffc820d26dfd223728bed71241fb3d54983
/abc/010/c.py
923bcc8b5d410e66f246906a5213d51974de328e
[]
no_license
kiccho1101/atcoder
3a163b6a38a62c578dad6d15ccb586d0fcd1e004
c86cb8e08b881a0a01dc2ef538f0699f3951e897
refs/heads/master
2023-03-02T13:27:17.747402
2022-05-30T13:51:00
2022-05-30T13:51:00
223,152,693
1
0
null
2023-02-11T01:29:47
2019-11-21T10:52:49
Python
UTF-8
Python
false
false
337
py
import math txa, tya, txb, tyb, T, V = map(int, input().split()) n = int(input()) xy = [tuple(map(int, input().split())) for _ in range(n)] ans = "NO" for x, y in xy: dist = math.sqrt((x - txa) ** 2 + (y - tya) ** 2) + math.sqrt( (x - txb) ** 2 + (y - tyb) ** 2 ) if dist / V <= T: ans = "...
[ "yodai.a.kishimoto@rakuten.com" ]
yodai.a.kishimoto@rakuten.com
8fba25b7fd4b63ca13241630ab331d61ddb264dc
2970291ff52e98915abb47848aeb71517ed1fbab
/Copiers_Log/migrations/0003_auto_20200416_0201.py
674bc9169f6e34b3ba90814477e45c4027b4d3eb
[]
no_license
dannyswolf/MLShop_Django_Service_boook
dd33f4bb0352836897448bc45bbb09b7c49252c2
9ac5f85468487a53465e244ba31b9bc968300783
refs/heads/master
2023-07-15T15:06:53.298042
2021-08-29T11:49:42
2021-08-29T11:49:42
255,998,699
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# Generated by Django 3.0.4 on 2020-04-15 23:01 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('machines', '0041_auto_20200415_0421'), ('Copiers_Log', '0002_auto_20200416_0148'), ] operations = [ ...
[ "ntinisiordanis@gmail.com" ]
ntinisiordanis@gmail.com
fabcdfd5cda24dc27afabba2b7be024faae97043
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/website_event_track_quiz/models/event_track.py
3011b98a30948fec8f171ecb13500a86289e7213
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
3,137
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models from odoo.osv import expression class EventTrack(models.Model): _inherit = ['event.track'] quiz_id = fields.Many2one('event.quiz', string="Quiz", groups="event.group_event_...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
ba3dc336207f025c3190976e43ef875527199dce
4ec4ad864bb52eef36abcb56d65509ed03d964df
/4_optimization/iter.py
f1796a36ca76decfd3b957fe8ee419142f792e25
[]
no_license
rongmere/am205_examples
7810efbf500ace9dcc6f1a64ab218c4404cf7206
41e8c401b4d8566694efa71e2184f638ad832b54
refs/heads/master
2022-12-19T07:12:45.057126
2020-10-04T16:51:36
2020-10-04T16:51:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
#!/usr/bin/python from math import * def f(x): return exp(x)-x-2 xa=1.15 xb=1.15 for i in range(20): xa=log(xa+2) xb=exp(xb)-2 print(xa,f(xa),xb,f(xb))
[ "chr@seas.harvard.edu" ]
chr@seas.harvard.edu
2b0980ef20d31e1c66a5d13918d343ddb6c9b3f7
947fa6a4a6155ffce0038b11f4d743603418ad68
/django/django_submissions/factory_practice/examples/models.py
afc3d4155efc09577a14a0dc8ae9b5674f78cf74
[]
no_license
bharathi151/bharathi_diyyala
bd75e10639d7d22b332d5ce677e7799402dc4984
99f8657d010c790a0e4e4c9d6b57f81814784eb0
refs/heads/master
2022-11-21T12:43:48.401239
2020-07-23T09:05:52
2020-07-23T09:05:52
281,903,260
0
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
from django.db import models class Group(models.Model): group_name = models.CharField(max_length=100) class User(models.Model): first_name = models.CharField(max_length=100) group = models.ForeignKey(Group, on_delete=models.CASCADE) class UserOne(models.Model): name = models.CharField(max_length=100)...
[ "bharathi151273@gmail.com" ]
bharathi151273@gmail.com
5e40c2529caf23d432876fe39b7b9422bb4ae454
f0987e17aea6668158cd334c1fbacfe6286d3c77
/NITA/lib/jnpr/toby/services/aws/aws.py
a0bf6e780a2437a3cdb15d53981fa68f1d5e3d68
[]
no_license
fengyun4623/file
00bf21f952ea3f95ffc9fe18448b244b26b7fadb
3966c63d48557b0b94303896eed7a767593a4832
refs/heads/master
2023-04-02T05:01:25.066052
2020-07-29T16:15:31
2020-07-29T16:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
import boto3 import time import sys class Aws(object): def __init__(self,profile='default'): """ Function to initiate AWS session as per credentials and config as below: :param: profile from /home/regress/.aws/config :return: A handle to aws services ...
[ "srigupta@juniper.net" ]
srigupta@juniper.net
91e57b226cf94007e26c75f236cdb2ca7790e2d3
cb1d0dd68b1136b8a371f7d2b423e45171e98ab7
/src/xSACdb/view_helpers.py
a8f9fccf23ae079ac626f6a1ff11dd14c3d6c8ae
[]
no_license
ScubaJimmE/xSACdb
86640ab791327392f88eb4993c858aa6d340c758
1996ab286ee0446b0a0e38882104bbf8904d8bdc
refs/heads/develop
2021-07-15T04:47:11.279138
2016-05-25T01:44:05
2016-05-25T01:44:05
62,212,226
0
0
null
2021-03-20T00:40:24
2016-06-29T09:09:50
Python
UTF-8
Python
false
false
500
py
from django.views.generic.list import ListView class OrderedListView(ListView): def get_queryset(self): return super(OrderedListView, self).get_queryset().order_by(self.order_by) class UserContextMixin(): def get_context_data(self, **kwargs): # Call the base implementation first to get a conte...
[ "will@fullaf.com" ]
will@fullaf.com
f787a1cc9786ce500d1737f9676bfb995a8a3829
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/1431.py
9ef596d81eb6eeb3e3f812893d057e68107d2a54
[]
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,134
py
# Woooo! Trying the (not-that-) new hammer (python, that is) on ALL THE NAILZ! # span-splitting fun! (beats talking about bathroom stalls...) tc = int(input()) # of test cases for cc in range(1, tc + 1): n, k = [int(i) for i in input().split()] spans = {n: 1} # HACK: without actually doing the math # short cir...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
194abe360aae5c803113b89b3e4afcde811aee09
9aaa413726ae7546cb34736c5b59448f23a1dc29
/Palindrome_Partitioning.py
bfe4a49f0d20cfe2f5822cd35f32ae164c8d5eb9
[]
no_license
maruichen2004/LeetCode
2c616b9a3a4669b5d9aca9271fcdf3432694680d
4fb6c83220f1da7ebc2d6aff70bccea5f0917b91
refs/heads/master
2020-04-28T00:03:46.990093
2016-10-12T19:55:40
2016-10-12T19:55:40
25,000,918
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
class Solution: # @param s, a string # @return a list of lists of string def partition(self, s): res = [] self.partitionRec(res, [], s, 0) return res def partitionRec(self, res, cur, s, i): if i == len(s): res.append(cur) else: for j in range(...
[ "ruichenma@RUICHENs-MacBook-Pro.local" ]
ruichenma@RUICHENs-MacBook-Pro.local
0e3a7f3f9b7b6f2727d79886d1184583d8d9367d
f6439b5ed1614fd8db05fa963b47765eae225eb5
/device/serial/serial.gyp
dec3102ab2eaac3b9a7f956f68e30ae33bc6fc0c
[ "BSD-3-Clause" ]
permissive
aranajhonny/chromium
b8a3c975211e1ea2f15b83647b4d8eb45252f1be
caf5bcb822f79b8997720e589334266551a50a13
refs/heads/master
2021-05-11T00:20:34.020261
2018-01-21T03:31:45
2018-01-21T03:31:45
118,301,142
2
0
null
null
null
null
UTF-8
Python
false
false
2,058
gyp
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'targets': [ { # GN version: //device/serial 'target_name': 'device_serial', 'type': ...
[ "jhonnyjosearana@gmail.com" ]
jhonnyjosearana@gmail.com
007e011e048ebfba6d3325332833dfb4e764553a
417c6b21e0c59658b616d47e59bdbaff0eb9a84f
/ants/tests/test_pipeline_files.py
bc6f70ad4fca5ef61dec71a708b3ea8218720956
[ "BSD-3-Clause" ]
permissive
catshitaf/ants
25cd9a21a6961999aa4a04394af78868691e2d08
61e9c78034fbb07aa75cefa6e694d67982f3eb99
refs/heads/master
2021-01-21T06:24:32.703255
2015-01-22T02:26:42
2015-01-22T02:26:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,900
py
import mock import os import time import hashlib import warnings from tempfile import mkdtemp from shutil import rmtree from twisted.trial import unittest from twisted.internet import defer from ants.contrib.pipeline.files import FilesPipeline, FSFilesStore from ants.item import Item, Field from ants.http import Requ...
[ "cong.wang@tqmall.com" ]
cong.wang@tqmall.com
04c62f6f9113f420a882b0c0f9484265d13ef9d2
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/ABC/B/053_b.py
95bdaa8238cfb5458fbb57b9be91a1fb44858b39
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): s = input() st = s.find("A") en = "".join(reversed(list(s))).find("Z") print((len(s) - en) -st) class TestClass(unittest.TestCase): def assertIO(self, input, output): ...
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
824469e9265261c1dab57c545beb60e154d4fcaf
8ad8469b40e632a32848302de3bc6a7cf4de1501
/managers/checkpoint.py
907afd61982a6a2dd2c425557bb55572dbf585af
[]
no_license
hereismari/tf-eager-text-generation
fb1f6c370179aa9163d192ffbc9026db0fd189d2
8ea334c28d64b50cc3378fddd95cde7547da29e0
refs/heads/master
2021-09-24T03:10:50.143428
2018-10-02T11:51:19
2018-10-02T11:51:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
import os import tensorflow as tf class CheckpointManager(object): def __init__(self, checkpoint_dir, checkpoint_prefix, optimizer, model): self.checkpoint_dir = checkpoint_dir self.checkpoint_prefix = os.path.join(self.checkpoint_dir, checkpoint_prefix) self.checkpoint = tf.train.Checkpo...
[ "mariannelinharesm@gmail.com" ]
mariannelinharesm@gmail.com
adcbee06c4f3ac79beeb7680b1f33a2588806162
7936ebf5b94c3d153fb55248b52db2eff724427c
/10/homework10-teach/class_learn.py
adfff08caae2ea562489553c58a5d3e941b227b0
[ "MIT" ]
permissive
xiaodongzi/pytohon_teach_material
f9e95f7b294a9e49d86d1a8e25cbef5efef3aaf7
13ed128a993637d0203f1f8c5419d781d7212883
refs/heads/master
2021-05-30T09:48:16.898483
2016-01-24T17:02:34
2016-01-24T17:02:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
# coding:utf-8 import random # def qiche(ren, che): # return 'riding # 猫狗大战 # class 首字母一般大写 class Animal(): # 新建对象(初始化)调用 def __init__(self, name, blood, dps, armor): self.name = name self.blood = blood self.max_blood = blood self.dps = dps self.armor = armor ...
[ "seerjk@gmail.com" ]
seerjk@gmail.com
96d81a5f1b2cb65223366733b23e41527a09f89d
0f0c7c9ebeef6f998cd613d429d920238b937bfb
/app/db/repositories/category.py
77f41e7c8690c69fe54000163bb8dd327da61be2
[ "MIT" ]
permissive
Huangkai1008/market-admin
08f2a8a25aae37e079cef4d0be6eabd531c06008
c149f425b640827526b65343b4bceecd528418bf
refs/heads/master
2023-02-15T23:00:15.248516
2020-02-08T07:08:27
2020-02-08T07:08:27
208,548,085
8
0
MIT
2023-02-07T22:55:18
2019-09-15T05:43:47
Python
UTF-8
Python
false
false
3,373
py
from typing import Tuple, List from fastapi.encoders import jsonable_encoder from app.db.category import ProductCategory, ProductCategorySpec from app.db.repositories.base import BaseRepository from app.models.category import ( CategoryCreate, CategoryUpdate, CategorySpecCreate, CategorySpecUpdate, ) ...
[ "18778335525@163.com" ]
18778335525@163.com
70fb78351746025e14db1369fcf92c5dc1a9d0b1
fe131d9715049e3339d1ab14f3e9a0c97a47c5db
/pos_check_deposit/__manifest__.py
cdac7b5cb1b429486a0ba37d2b7513195ac7a8b6
[]
no_license
akretion/odoo-usability
12f5412a27dda2de2436a282d36222f596d219bc
5f731d18f1d9016a2faf6ef439be6caf2597aa16
refs/heads/16.0
2023-07-21T14:41:54.002291
2023-07-15T13:40:48
2023-07-15T13:40:48
28,053,269
115
183
null
2023-08-31T14:04:39
2014-12-15T19:51:41
Python
UTF-8
Python
false
false
1,611
py
# Copyright 2022 Akretion France (http://www.akretion.com/) # @author: Alexis de Lattre <alexis.delattre@akretion.com> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "POS Check Deposit", "version": "16.0.1.0.0", "category": "Point of sale", "license": "AGPL-3", "summary":...
[ "alexis.delattre@akretion.com" ]
alexis.delattre@akretion.com
9bd8beb3dea81d55ec73079695762666f336d0e4
be3b437623d2ac87ed00e550a1478a1174fdbe7a
/blog/migrations/0001_initial.py
9054cf331c55d38553bed8b00f3f9a3c11d54b94
[]
no_license
electrical194173/my-first-blog
94e5d5d59e08df5e8de375169b67a12c28ff4a8b
206d306fbba3a5293df4a4f0df209296412bc4fb
refs/heads/master
2020-03-07T11:46:14.643012
2018-03-31T06:59:37
2018-03-31T06:59:37
127,463,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-03-30 18:24 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dep...
[ "you@example.com" ]
you@example.com
0a8fad9dc93fee0b70a0bbd79c37cbf7efa88923
17939372537b437dd52ee8426785108039df651c
/geo/transport/metro/data.py
cc906a4c0bf0d39e66ed1402aeada9283f1b8a66
[]
no_license
Madrich-routes/routes_laboratory
d091abd2267c9765e5a7c66a80c87c94e95e6189
27c447c9fe8e36c5ae4596ab4cdf38cac8fca6ef
refs/heads/master
2023-06-04T12:02:08.973183
2020-10-31T17:22:14
2020-10-31T17:22:14
295,661,142
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
import os import bs4 import numpy as np import pandas as pd import requests from utils.logs import logger def build_df(xml_url) -> pd.DataFrame: """ Получаем датафрейм для всего метро """ logger.info('Составляю словарь станций метро...') df = parse_metro(xml_url) return df def get_metro_xml(u...
[ "yampolskiydv@gmail.com" ]
yampolskiydv@gmail.com
00da5cf4a5e89f4e9d7280f2d5b587cc18d2fb3b
964f2882117ff656d7a2757c233c6dd88226d975
/services/api-server/tests/unit/test_models_schemas_solvers.py
551d2a1d6d1e0e44a955dcf6218e676d757624f4
[ "MIT" ]
permissive
ignapas/osparc-simcore
a002dd47d7689af9c1c650eea33e31add2b182c1
cb62e56b194265a907f260f3071c55a65f569823
refs/heads/master
2023-01-22T08:55:32.580775
2022-12-09T15:57:36
2022-12-09T15:57:36
170,852,656
0
0
MIT
2023-01-09T05:03:04
2019-02-15T11:12:34
Python
UTF-8
Python
false
false
1,903
py
# pylint: disable=redefined-outer-name # pylint: disable=unused-argument # pylint: disable=unused-variable from operator import attrgetter from pprint import pformat import pytest from simcore_service_api_server.models.schemas.solvers import ( Solver, SolverPort, Version, ) @pytest.mark.parametrize("mod...
[ "noreply@github.com" ]
ignapas.noreply@github.com
736b5230fc3826fdcaff7c9b514a944edab68b2a
cc08e9349a14620409dee0bdcf1420976352cf0d
/00_StartCamp/03_day/03_flask/app.py
923d4c5886fa67ff212369f088dde0f3136dcedc
[]
no_license
Nyapy/TIL
b3f611177d3c54d224c9983b5bedc62abddeeaae
c3c52ad33963628674de4c1dcf8aed53f67af177
refs/heads/master
2023-01-11T19:37:02.693660
2020-07-04T04:31:41
2020-07-04T04:31:41
195,938,004
2
2
null
2023-01-07T11:25:27
2019-07-09T05:22:47
Python
UTF-8
Python
false
false
1,056
py
from flask import Flask, render_template, request import requests, random app = Flask(__name__) @app.route('/catch') def catch(): return render_template('catch.html') @app.route('/result') def result(): #1. form 태그로 날린 데이터를 받는다. word = request.args.get('word') #2. ARTII api로 요청을 보내 받은 응답 결과를 text로 fo...
[ "nyapy@naver.com" ]
nyapy@naver.com
1b792fcffab0448405782964edd283c1acc69cf6
c858d9511cdb6a6ca723cd2dd05827d281fa764d
/MFTU/lesson 1/practice_turtle/ex_13.py
cdb942fb348d52f562b72f29743bd8159d725ad6
[]
no_license
DontTouchMyMind/education
0c904aa929cb5349d7af7e06d9b1bbaab972ef95
32a53eb4086b730cc116e633f68cf01f3d4ec1d1
refs/heads/master
2021-03-12T11:15:02.479779
2020-09-17T08:19:50
2020-09-17T08:19:50
246,616,542
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# Draw a smiley using the written circle and arc functions. import turtle as t from ex_12 import semicircle from ex_10 import circle import turtle as t t.shape('turtle') t.speed() t.color('black') # Body t.penup() t.goto(-200, 0) t.pendown() t.fillcolor('yellow') t.begin_fill() circle(5) t.end_fill() # Left eye t.pe...
[ "tobigface@gmail.com" ]
tobigface@gmail.com
c02113253de462c3a9edba6861cec17e8e4ea39d
716501ff054d10f095879f986d74882778fa72c5
/tests/plugins/test_wwenetwork.py
02800873e00170863d1af6686345ba7e72019f9d
[ "BSD-2-Clause" ]
permissive
TheDrHax/streamlink
017fdfd999277089a0c89a209ba4f64df9e54916
4dfd0d516fd8484438389518985e3b5131b7a253
refs/heads/master
2021-10-26T17:43:50.402219
2020-10-11T22:43:53
2021-10-25T19:10:01
223,461,822
4
0
BSD-2-Clause
2019-11-22T18:25:47
2019-11-22T18:25:46
null
UTF-8
Python
false
false
262
py
from streamlink.plugins.wwenetwork import WWENetwork from tests.plugins import PluginCanHandleUrl class TestPluginCanHandleUrlWWENetwork(PluginCanHandleUrl): __plugin__ = WWENetwork should_match = [ 'https://watch.wwe.com/in-ring/3622', ]
[ "gravyboat@users.noreply.github.com" ]
gravyboat@users.noreply.github.com
4e4302c616df60e782c752f0ea6219f77fd90204
759e387a8c099483b828edde7383cc1a79a3b3cc
/reading01.py
dfb243660e2191958caf34de9acdccc60cc65b09
[ "MIT" ]
permissive
sgriffith3/2021-08-30-PYNA
4dc11368a0c7c50239bfa54a63424264c27f3555
af9bfc595ef0dc2385d7a4751515050b9c6eb56f
refs/heads/main
2023-07-16T13:27:29.046784
2021-09-03T19:59:55
2021-09-03T19:59:55
401,449,582
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
#!/usr/bin/env python3 """Reading in and writing out files""" def main(): # old method for opening files # requires closing the file object when done myfile = open("vendor.txt", 'r') # new method for opening files # closes file when indentation ends with open('vendor-ips.txt', 'w') as myoutfil...
[ "sgriffith@alta3.com" ]
sgriffith@alta3.com
925939b9e72258cfec34cf9ca03e9f7c6639f837
28518362a427b45d701d9ac41dfc82cba76cccab
/test/check_signature.py
ec9b2e6172b5e4b6a18a9a552742df1a698c84ff
[ "CC0-1.0", "MIT" ]
permissive
namuyan/nem-ed25519
5aa43884368e5618d0377da8468ba3604a3fb6d8
0795025fb6e1cad0398adb44753f8221ec6fea7d
refs/heads/master
2021-04-27T00:07:34.743662
2020-10-01T03:48:17
2020-10-01T03:48:17
123,752,052
8
3
MIT
2019-03-21T13:46:34
2018-03-04T03:08:24
Python
UTF-8
Python
false
false
695
py
import os from time import time from nem_ed25519.signature import sign, verify import cProfile sk = '78f8932df54d22319a16dc4940c269205ae0946f98d38ef30aea488a47426153' pk = '77041bfb4b6afebc31aaab7b02d68e577fe069524b3c661c804b42ef381f717b' ck = 'NBOGOGSENUPBFMAPTGHVI4UIAQPVSNKJLWUVHBED' COUNT = 300 start = time() pr =...
[ "thhjuu@yahoo.co.jp" ]
thhjuu@yahoo.co.jp
b061878c91b9a63ea21f06ba1fbf27df8f9796f8
ec00584ab288267a7cf46c5cd4f76bbec1c70a6b
/__Django/APP/polls/urls.py
a37bdc58ce5a71f8197c3c42d01a72fda574c95d
[]
no_license
rahuldbhadange/Python
b4cc806ff23953389c9507f43d817b3815260e19
7e162117f1acc12537c7eeb36d6983d804122ff3
refs/heads/master
2021-06-23T05:04:20.053777
2020-01-28T10:34:28
2020-01-28T10:34:28
217,307,612
0
0
null
2021-06-10T22:44:11
2019-10-24T13:35:42
Python
UTF-8
Python
false
false
388
py
from django.conf.urls import url from . import views app_name = 'polls' urlpatterns = [ url(r'^$',views.indexView.as_view(), name='index'), url(r'^(?P<pk>(0-9)+)/$',views.DetailView.as_view()), name = 'detail'), url(r'^(?P<pk>(0-9)+)/results/$',views.ResultView.as_view()), name = 'result'), url...
[ "external.RahulDilip.Bhadange@rbeibsx.onmicrosoft.com" ]
external.RahulDilip.Bhadange@rbeibsx.onmicrosoft.com
e2f4363672a4d8fa2cf1414ef17730d78988129a
686a007a6d39739e24fe0342af0039ecf1e48ef4
/data/mnist_fashion/__init__.py
d256ecca0683d3464b0b42e896095b3394ce1ce1
[]
no_license
JGU-VC/progressive_stochastic_binarization
4d19226e0d9ae2a4316b7574087f9960a790de5a
75ab00406d33dd91eaec081b23ba39cb04eeb531
refs/heads/master
2020-07-25T08:33:04.974902
2019-09-13T09:20:49
2019-09-13T09:20:49
208,231,643
5
0
null
null
null
null
UTF-8
Python
false
false
5,017
py
# Copyright 2018 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 appl...
[ "dhartmann@uni-mainz.de" ]
dhartmann@uni-mainz.de
7450c202ce73b44d153bba878dd00a0368757ecb
c3a3ae45f6fb22bdb3c622498c7ff1c2c2732f6a
/day19/homework/zz/cmdb/views.py
35b630d19ff4b7c5972bc128c59f6c3e10348182
[]
no_license
huyuedong/S12
df6b56cf05bb9f9c4a6e54b6a5228f1715e20245
61aa6d91f4e70f87c9b4c4b1e2042d5eeb2e2c3d
refs/heads/master
2020-12-14T08:50:57.514965
2016-07-30T01:45:03
2016-07-30T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,636
py
from django.shortcuts import render, redirect, HttpResponse from cmdb.forms import login_signup_form from cmdb.forms import add_record from cmdb import models import logging from cmdb.auth import auth from django.contrib.auth import authenticate, login, logout from django.contrib.auth.models import User # Create your ...
[ "liwenzhou7@gmail.com" ]
liwenzhou7@gmail.com
e80e4c2330bcc5f6aae24bd1dda9a2cbf0cc10b9
cafc652ba229d7aab89ec55b865347c12075f544
/src/feed_the_troll/feeders.py
22e308dde6ab95761f2b5c261713bdfb9ef0a185
[ "MIT" ]
permissive
stonier/feed_the_troll
f78797e1ac300766fe95caf4f12e5777de985f1c
14068c4551e093557ffad2810cc6ff2a007e9a68
refs/heads/devel
2020-04-22T11:57:05.290259
2017-01-25T15:17:49
2017-01-25T15:17:49
66,851,367
1
2
null
2017-01-25T14:52:04
2016-08-29T14:32:07
Python
UTF-8
Python
false
false
4,887
py
#!/usr/bin/env python # # License: MIT # https://raw.githubusercontent.com/stonier/feed_the_troll/devel/LICENSE # ############################################################################## # Documentation ############################################################################## """ .. module:: loaders :p...
[ "d.stonier@gmail.com" ]
d.stonier@gmail.com
2cb79fd3927a738a1c9db81e5891aec16f778b35
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/C/CounttheNumberofIdealArrays.py
babf78dde3a9b8de135cee99e4cb41148a2ee29f
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
''' -Hard- *DP* *Combinatorics* You are given two integers n and maxValue, which are used to describe an ideal array. A 0-indexed integer array arr of length n is considered ideal if the following conditions hold: Every arr[i] is a value from 1 to maxValue, for 0 <= i < n. Every arr[i] is divisible by arr[i - 1], f...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
104b8c77aff3210a880c55609067fd891fb03cb6
4cbbe47948e7c365b6d875b39cf1804338f1c715
/web_flask/4-number_route.py
cb7ceacc39ff538930b9077a35bbf268862e16ad
[]
no_license
JulianCanoDev/AirBnB_clone_v2
c84d8f703234a96f1f716039f9a0c22ff4bb6beb
0a4dc4e9203cbda664a1551c9a329e40d25ec87b
refs/heads/master
2022-12-07T11:38:19.032086
2020-09-03T01:22:22
2020-09-03T01:22:22
286,500,867
0
4
null
null
null
null
UTF-8
Python
false
false
854
py
#!/usr/bin/python3 """Flash app""" from flask import Flask app = Flask('web_flask') @app.route('/', strict_slashes=False) def hello_route_1(): """Return string 1""" return 'Hello HBNB!' @app.route('/hbnb', strict_slashes=False) def hello_route_2(): """Return string 2""" return 'HBNB' @app.route('/...
[ "juliancano.dev@gmail.com" ]
juliancano.dev@gmail.com
e845780c75e06c6f09e2d07d1a9f24e83c4ae33f
6e8b9ad8052a624bccd5d6e5ef5f0eecb4625efe
/toko/admin.py
aa03a9283517388792fb65e9b250ec1509107059
[]
no_license
ihfazhillah/olshop-alaminiy
0980f73611ca3972e8247f37f476998fbe2a3f6f
40e8f75b55943f464d5e1484ad5dcb1de6f594f8
refs/heads/master
2021-01-10T09:44:31.797253
2016-02-13T16:00:22
2016-02-13T16:00:22
51,456,684
1
0
null
null
null
null
UTF-8
Python
false
false
864
py
from django.contrib import admin from toko.models import Kategori, Barang, Atribut, Gambar # from sorl.thumbnail.admin import AdminImageMixin # Register your models here. from profil.models import Profil, Phone, SocialMedia, Email class AtributInline(admin.TabularInline): model = Atribut class GambarInline(admin...
[ "mihfazhillah@gmail.com" ]
mihfazhillah@gmail.com
3ca028c2f6ff05e57532cfd62785ac8c231c632f
56be7f6b6a1243c532af9ea98310ccea165a1e66
/CMDB/day90/auto_server/repository/migrations/0006_auto_20181108_1517.py
33a1886d25c417a8427f5707517b121897d9a22b
[]
no_license
214031230/Python21
55b0405ec4ad186b052cde7ebfb3f4bb636a3f30
d7fc68d3d23345df5bfb09d4a84686c8b49a5ad7
refs/heads/master
2021-05-26T06:00:53.393577
2019-01-09T02:29:04
2019-01-09T02:29:04
127,778,172
0
0
null
null
null
null
UTF-8
Python
false
false
5,033
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-11-08 07:17 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('repository', '0005_auto_20181107_1057'), ] operat...
[ "214031230@qq.com" ]
214031230@qq.com
9995144b13108b69cf96ad4f6cb57e363df76a8a
e6d862a9df10dccfa88856cf16951de8e0eeff2b
/VMS/core/python-flask/api_server/test/test_agency_controller.py
9414bb697e7a6dcf230535bf1ea4d6a5b178ee3a
[]
no_license
AllocateSoftware/API-Stubs
c3de123626f831b2bd37aba25050c01746f5e560
f19d153f8e9a37c7fb1474a63c92f67fc6c8bdf0
refs/heads/master
2022-06-01T07:26:53.264948
2020-01-09T13:44:41
2020-01-09T13:44:41
232,816,845
0
0
null
2022-05-20T21:23:09
2020-01-09T13:34:35
C#
UTF-8
Python
false
false
1,143
py
# coding: utf-8 from __future__ import absolute_import import unittest from flask import json from six import BytesIO from api_server.models.person_identifier import PersonIdentifier # noqa: E501 from api_server.test import BaseTestCase class TestAgencyController(BaseTestCase): """AgencyController integration...
[ "nigel.magnay@gmail.com" ]
nigel.magnay@gmail.com
711bfbe51159812f26f3e1a9e1a878f20c74b2d7
c311cf8fc898d0e5b97d0f772e36e168dfd7b1ac
/FastProject/Interactive.py
18d62533dfdaac1de0c93f3dc71a21b2ec5d6616
[]
no_license
Python3pkg/FastProject
fb893dbf0b807d583c427764952a84e29d20a07a
7ac3d6f5b451938e257930add4cdbe3b389bcd58
refs/heads/stable
2021-01-21T17:30:00.343045
2017-05-21T13:34:14
2017-05-21T13:34:14
91,959,591
0
0
null
2017-05-21T13:34:09
2017-05-21T13:34:09
null
UTF-8
Python
false
false
3,460
py
""" Functions to facilitate interactive use of the library """ import pandas as pd from . import FileIO from . import Transforms from .DataTypes import ExpressionData from .Projections import perform_weighted_PCA from .Projections import permutation_wPCA as _permutation_wPCA __all__ = ["estimate_weights", "weighted_P...
[ "davedeto@gmail.com" ]
davedeto@gmail.com
0f071f074fd5758a19766e36afe9f660da4bc1aa
dd4622390bb7122db37a889e647f28004a265ccd
/1906101001周茂林/第11周/2.py
e0cc0a3cd7f935f290880e2695a724e4eccc0e8b
[]
no_license
gschen/where2go-python-test
c8adaa095aa8a095401f98c7b3f8f17c72d0532d
eb9e6011b8d33fa45a6b1ef853affd01a296db21
refs/heads/master
2022-12-13T19:45:09.874691
2020-10-15T13:12:52
2020-10-15T13:12:52
211,591,156
4
1
null
2022-12-05T07:46:12
2019-09-29T02:35:00
Python
UTF-8
Python
false
false
396
py
''' 请使用“插入排序”的方法对列表里面的元素由大到小进行排序,ls=[10,9,13,5,25,70,2] ''' def crpx(ls): for i in range(1,len(ls)): k = ls[i] q = i - 1 while q >= 0 and k < ls[q]: ls[q+1] = ls[q] q -= 1 ls[q+1] = k for o in range(len(ls)): print(ls[o],end=' ') ls = [10,9,13,5...
[ "2915133868@qq.com" ]
2915133868@qq.com
8fd182bce295297d9b39df537b1751b8c7c3b065
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/bf8d695ec3a401d0c8bec188103ddcbc399eff49-<remove_peer_connection>-bug.py
15659f4bf469c6439ab253aa934c155457571ae6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
def remove_peer_connection(client, module): pcx_id = module.params.get('peering_id') if (not pcx_id): params = dict() params['VpcId'] = module.params.get('vpc_id') params['PeerVpcId'] = module.params.get('peer_vpc_id') params['PeerRegion'] = module.params.get('peer_region') ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
aab328cdb2a702bc32eeea09a789b2020321c750
013b6223c5cab927d995234acf7483f6d60c9c85
/game/edit_character_ui.py
e938e72c6c5142c148213cd7c9cfa288c7bf20a4
[]
no_license
MyreMylar/action_rpg
478c4fcdd492f4619c65aca938aede87dc7243e6
c2299411b1a4fe5feaaa9d16a8c4b10eb96dbf33
refs/heads/master
2020-08-10T21:13:30.893359
2019-10-11T11:46:13
2019-10-11T11:46:13
214,421,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
from util.character import Character, reload_characters from util.utility import has_valid_input_range, make_valid_filename import random def rerolling_stat_display(stat_name, character_to_edit): print("Re-rolling 3d6 for " + stat_name + "...") new_roll = random.randint(1, 6) + random.randint(1, 6) + random.r...
[ "dan@myrespace.com" ]
dan@myrespace.com
2545ecd43541a87ab59475b894cad037a1a66024
d50f50f455a2f96e7fbd9fb76fcdcdd71b8cc27c
/Day-16/Day16_Shahazada(ST).py
f1e4bfcff13443cca1be91675919060bd7d9da71
[]
no_license
Rushi21-kesh/30DayOfPython
9b2cc734c553b81d98593031a334b9a556640656
d9741081716c3cf67823e2acf37f015b5906b913
refs/heads/main
2023-06-29T13:18:09.635799
2021-07-30T13:33:04
2021-07-30T13:33:04
384,316,331
1
0
null
2021-07-09T04:01:24
2021-07-09T04:01:23
null
UTF-8
Python
false
false
1,038
py
def stackPop(stack): if(len(stack)==0): print('Stack is empty') else: print('Poped element is: {} '.format(stack[-1])) stack.pop() print('stack after pop {}'.format(stack)) print() def stackPush(stack,ele): print('Push element is : {} '.format(ele)) stack.append(...
[ "noreply@github.com" ]
Rushi21-kesh.noreply@github.com
668829950764011e6e5faee6e2717a3a668882fd
372770ccd3b5557d39a71fb6aa80019965b1682c
/src/python_data_mismatch_1.py
6602c6cb99ff49bbb4a3a21c33a87675d953135f
[]
no_license
Krishnaarunangsu/XpressoDataExploration
0c7413f2a6ed51c8063f9dd7d703ce3f4689c372
4ea67102370d85b7df87978499022296fa9ba321
refs/heads/master
2022-03-24T05:38:57.576519
2019-11-27T00:37:37
2019-11-27T00:37:37
197,912,507
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
import pandas as pd df = pd.DataFrame({'A': [1, 2, 3], 'B': ['a', 'b', 'f']}) print(df) print('*********************************') other = pd.DataFrame({'A': [1, 3, 3, 2], 'B': ['e', 'f', 'f', 'e']}) print(other) print('*********************************') print('Value is in "df" but not in "other:"') print(df.isin(oth...
[ "arunangsutech@gmail.com" ]
arunangsutech@gmail.com
02a4f135f07215e1969a2b686d8c344d05283ab0
c3427d95b4bc2f0a231c445ce68d12c52d5c9e73
/server/src/application.py
461019277aade731543e41046e1a05f23fe87a6b
[]
no_license
sagarhcipl/sporple2018
fd13dc13c405acaa22cddf0d37cd9ae56f95c384
d0d9f4db673ecffe780fc7161798bb36d63cca74
refs/heads/master
2023-01-07T21:10:23.473910
2019-04-10T12:52:45
2019-04-10T12:52:45
147,685,308
0
0
null
2022-12-26T20:15:35
2018-09-06T14:21:41
JavaScript
UTF-8
Python
false
false
435
py
#!/usr/bin/python import os if os.environ.get('ENVIRONMENT') == 'prod': os.environ['APP_CONFIG_FILE'] = '../config/prod.cfg' elif os.environ.get('ENVIRONMENT') == 'staging': os.environ['APP_CONFIG_FILE'] = '../config/staging.cfg' else: os.environ['APP_CONFIG_FILE'] = '../config/dev.cfg' from main import a...
[ "nijap@techversantinfotech.com" ]
nijap@techversantinfotech.com
24fbd1748d7500f86994c7d9eaaa6102d674f306
8c2bec2128e9a4063e23cf27ab339de2abcae95d
/4.CV/Cell_Segmentation/config.py
5ed864c4344bdfc3b305535219226409329db258
[]
no_license
waynewu6250/My-Sample-Projects
b61c4391e64d32e499dfcffc65c22119a498ac75
43c322504cd992e1c01412c8a04a37e2d14356b8
refs/heads/master
2021-06-18T01:52:14.937042
2021-01-18T03:24:46
2021-01-18T03:24:46
138,700,027
5
2
null
null
null
null
UTF-8
Python
false
false
494
py
class Config: model_mode = 'single' paths = 'images/*.jpg' img_path = 'images/image1.jpg' # superpixel compactness = 100 num_superpixels = 10000 min_labels = 3 # model nChannel = 200 nConv = 2 nClass = 100 # training model_path = 'model_single.pth' if model_mo...
[ "waynewu6250@gmail.com" ]
waynewu6250@gmail.com
26555ce99f355b02a219f6ae19c914e45c5c10ce
632515698501a24909b9918a3892452dd60f6c6c
/boardapp/migrations/0013_auto_20160721_1115.py
4bb38bdc4403ef6d6df27e974ceab8365eea530f
[]
no_license
grydinywka/board_rec
2df3eb565aecb9502e405a102f997ab065b70510
f9cd4622e43661c4f2a0256a4b1b2b6ce94750a1
refs/heads/master
2021-01-19T09:45:05.843341
2016-07-25T21:22:41
2016-07-25T21:22:41
63,694,983
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-21 08:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('boardapp', '0012_auto_20160721_0938'), ] operations = [ migrations.RemoveField( ...
[ "grydinywka@gmail.com" ]
grydinywka@gmail.com
32e3d52b91a0a7419b5d4f92ff23737719694cf0
6d77f16de5bd32be72ebe689b10f5999a5d76aa2
/bin/sound
43fe6e4341645bfdc996a6930f1d3cc851786588
[]
no_license
Foffy/dotfiles.x
c87f26e3f22b8534f42985c1d691939f67ba7cac
78ec619de21543d5e77fac5b8a9d8b35315eff88
refs/heads/master
2020-08-12T00:28:14.076888
2019-10-12T22:15:18
2019-10-12T22:15:18
214,655,921
0
0
null
2019-10-12T13:55:53
2019-10-12T13:55:53
null
UTF-8
Python
false
false
4,308
#!/usr/bin/env python """ bindsym Control+Up exec amixer -q sset Master 2%+ unmute bindsym Control+Down exec amixer -q sset Master 2%- unmute bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute bindsym XF86AudioMute ex...
[ "jimmy@charnley.dk" ]
jimmy@charnley.dk
a09a0dce15c07264ff9afd6e8e7647acde0d98b5
843ca2944c5a92dc3d13d132c34545d3b18a9eb9
/scripts/data/PyDatas/skill_config_Table.py
33cadcd5d3b88cd8124014d3a7c90a6e30693483
[]
no_license
m969/wanfadalu_server
550dac97795bfc15c1d47f0c18bfab9c18fe6a76
08f5bec5ed4a17f4f1fcc40a27311aa03906e5ef
refs/heads/master
2021-07-03T10:21:21.331204
2020-08-14T14:56:42
2020-08-14T14:56:42
138,024,157
1
2
null
null
null
null
UTF-8
Python
false
false
1,233
py
# -*- coding utf-8 -* - datas={ 10010:{ "id":10010, "gongFa":1001, "name":"平射", "type":2, "script":"Shoot", "quality":10, "levelSpLimit":[100,200,300,400,500,600,700,800,900], "strategies":['一次伤害策略']}, 10011:{ "id":10011, "gongFa":1001, "name":"弓砍", "type":2, "script":"GongKan", "quality":10, "levelSpLimit":[100,200,...
[ "969041327@qq.com" ]
969041327@qq.com
b7c3bb7f82918c83a1b9d6ed9d4d34ec14561966
b08f5367ffd3bdd1463de2ddc05d34cbfba6796e
/heaps/find_median.py
96403587da4531bc6a39103ade2b83f7df03c62b
[]
no_license
uohzxela/fundamentals
cb611fa6c820dc8643a43fd045efe96bc43ba4ed
6bbbd489c3854fa4bf2fe73e1a2dfb2efe4aeb94
refs/heads/master
2020-04-04T03:56:44.145222
2018-04-05T01:08:14
2018-04-05T01:08:14
54,199,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
from heapq import * class MedianFinder(object): def __init__(self): """ initialize your data structure here. """ self.min_heap = [] self.max_heap = [] def addNum(self, num): """ :type num: int :rtype: void """ heappush(sel...
[ "uohzxela@gmail.com" ]
uohzxela@gmail.com
2fa5c510f9395bb24151c51618f1064f472ffa5b
10fbe5526e5f0b8588b65f70f088cd86b6e9afbe
/etnevwmkj/models.py
435061b84a3d0c6e3c1df623af2c93129683af94
[]
no_license
MarkusH/django-migrations-benchmark
eb4b2312bb30a5a5d2abf25e95eca8f714162056
e2bd24755389668b34b87d254ec8ac63725dc56e
refs/heads/master
2016-09-05T15:36:45.250134
2015-03-31T23:44:28
2015-03-31T23:44:28
31,168,231
3
1
null
null
null
null
UTF-8
Python
false
false
1,008
py
from django.db import models class Ryfwmkefy(models.Model): bradgz = models.CharField(default='', max_length=159) ncboylifgw = models.IntegerField(default=0) zvqshxs = models.CharField(default='', max_length=69) riavbagu = models.OneToOneField('pnxyvqx.Zhsexma', null=True, related_name='+') pass ...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
d1d8cb83f1b269c7b6cf8d1bb851f1b72f3c8ca7
0b4957de738dd05f964ea838016b4b811feca970
/tests/api/api_v1/test_endpoint_version.py
313fa602dd0afc5f14c6aa37ed4b655e17b96bb9
[ "MIT", "Apache-2.0" ]
permissive
bossjones/ultron8
bdb5db72ba58b80645ae417cdf97287cfadd325d
09d69c788110becadb9bfaa7b3d2a2046f6b5a1c
refs/heads/master
2023-01-13T06:52:45.679582
2023-01-03T22:25:54
2023-01-03T22:25:54
187,934,920
0
0
Apache-2.0
2023-01-03T22:25:56
2019-05-22T00:44:03
Python
UTF-8
Python
false
false
755
py
import logging import pytest import requests from starlette.testclient import TestClient from ultron8 import __version__ from ultron8.api import settings from tests.utils.utils import get_server_api logger = logging.getLogger(__name__) @pytest.mark.convertingtotestclientstarlette @pytest.mark.loginonly @pytest.ma...
[ "noreply@github.com" ]
bossjones.noreply@github.com
f827e2d001dce66d43e1d7b518c03db11d41022f
52b5773617a1b972a905de4d692540d26ff74926
/.history/fish1_20200805130419.py
f353dd4951cb8b6fba90d847de945ff6281b404e
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
def fish(A,B): # we place fish moving downwards to a downstream stack # then when its not empty we'll check with the empty at A[i] # if it eats that fish we deduct it from the alive fish and del from A # otherwise we shall pop from the down stream stack downStream = [] j = 0 aliveFish = ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
ad6ad2e57aa62a0982161fdd08e2b450cd966ffe
1faa6154aaac64cfff476a89a889cadcc2fdce6a
/scripts/generate_voxels.py
352f96a868f1742380608a433dd53959a99858bf
[]
no_license
housz77/modelnet
05371643c72c5c2b3f0d37c5c1bb20cecba9f139
f7d387721fdb51833693ac6064a1ecf192cff312
refs/heads/master
2020-04-25T09:04:36.283316
2018-05-21T08:37:15
2018-05-21T08:37:15
172,665,934
1
0
null
2019-02-26T08:07:14
2019-02-26T08:07:13
null
UTF-8
Python
false
false
1,099
py
#!/usr/bin/python from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse def generate_voxels(dataset_id, dim=32, cats=None, modes=None): from modelnet.base import get_categories from modelnet.voxels import get_zipped_voxel_dataset if ca...
[ "thedomjack@gmail.com" ]
thedomjack@gmail.com
238b50f9617950a6e843d7eca5ba74800ff59c4a
f1e2e511dcd1b23f5633bd56d7d52b61f0ba8f9b
/Python/Lecture4/4-0.py
1ce42fe3cbcd7cab4c2343558c994712207f3a78
[]
no_license
hamin7/ITE3035_Python
6a9bd7854fcaba2e5381f07dc2a76d4d80abf0d1
49d582b6772456bfa03f10500299063de26e8d98
refs/heads/master
2021-06-25T10:05:46.827177
2020-12-28T13:36:15
2020-12-28T13:36:15
188,181,758
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
import random print('hello my name is gerrit') print('what\'s your name?') myName = input() realDay = random.randint(1,30) print('well, ' + myName + ', guess my birthday from 1 to 30') guessDay = 0 while realDay!=guessDay: guessDay = input() guessDay = int(guessDay) if guessDay < realDay: print('l...
[ "ggamini7@gmail.com" ]
ggamini7@gmail.com
255eb72af70b0f4f60bad4a0880cfc1bfbfec613
85a0ee08b54b2c5e3154e3727b92c37915b4c1de
/Sample/Python_Stock_Sample_2021/indicator.py
54680606b94b7ac6325585221e9cdbd69b8290a0
[]
no_license
yaotony/sandbox-empty
877da9b9ba0ec658bbdc8acc79a97267f96408b9
85f04e5db5d26a04fad9ae4ad6d3c86977a9f865
refs/heads/master
2022-05-20T17:14:51.348759
2022-05-04T08:06:56
2022-05-04T08:06:56
35,472,699
0
0
null
null
null
null
UTF-8
Python
false
false
3,610
py
# 載入必要套件 import requests,datetime,os from bs4 import BeautifulSoup import numpy as np import matplotlib.dates as mdates from talib.abstract import * # 載入技術指標函數 # 算K棒 class KBar(): # 設定初始化變數 def __init__(self,date,cycle = 1): # K棒的頻率(分鐘) self.TAKBar = {} self.TAKBar[...
[ "tony.exmail@gmail.com" ]
tony.exmail@gmail.com
eac8a4c259c47235d4bb53798067088c29979a84
bc0fc1d06ee2822b696494d3a73eeb6c1af0360a
/androidfs/acestream.engine/data/plugins/veetle.py
a18a3851d643df5742bf8ad21354105bdb66ca3b
[]
no_license
elipatov/acestream.engine
cf41472b6435400022f19eb4b48c2a17a3afacbd
65849f78a0dc7749d0478c387e69bb14865bdaf3
refs/heads/main
2023-02-24T22:28:00.045198
2021-01-22T18:04:12
2021-01-22T18:04:12
329,993,224
4
1
null
null
null
null
UTF-8
Python
false
false
2,109
py
#-plugin-sig:L8CD4SwbwkcETCQ/F4xCU9o75/eL/0AgCaCojcP3djjlcmOXk7mAOoWRcGqFazGwyVxGuXz3tQwsHWVUC4e8HYzQ4nCiUatk+rol6AvvSVVc3kamZ6LQYDTvs+cJfEfKlOz3vrfZsQnEckx2slhAzGo5ca2TuYFbkyOblb5DsQoPH97qMV/UOM1cAbmus8gz3avtxKefDrApbK3tJUU0W57qNFop408CsB+fLUnIAmvDjjGEJoZwFl0Py2ZcD9e1p1xTShROEL3NV4IQtLIz4WmzYzaa0fNnTqKPOS4twZyYq1W89n5...
[ "evgeni.lipatov@idt.net" ]
evgeni.lipatov@idt.net
eea2e078083d93622d5815cd18c2648bc3e5de5a
02e3db692cb8288f97ed58f5d2acda5c611e8187
/kakeibo/models.py
088f35654ddbf4838e0544ecb80e5efae21f8b03
[]
no_license
SatoTakumi0520/My-Challenge
64be6f65f9fb64e75d124dfcb1aa6f59984972d6
a77de838c523b8c7bf9e15381cfa415d95efb8e6
refs/heads/master
2020-07-25T00:30:14.301466
2019-09-16T10:48:28
2019-09-16T10:48:28
208,098,883
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
from django.db import models from datetime import datetime class Category(models.Model): class Meta: #テーブル名の定義 db_table ="category" verbose_name ="カテゴリ" verbose_name_plural ="カテゴリ" #カラム名の定義 category_name = models.CharField(max_length=255,unique=True) def __str__(self): retur...
[ "you@example.com" ]
you@example.com
319b5b0806852fe62438c7e62350e4bede2c45c7
5c4fde4ef9cfb4af80d3a5009a73ffea898ef57b
/examples/socketio_server.py
7cbd53e1dcc43da0eb4ae5d9a57db2e7c3945622
[ "MIT" ]
permissive
gitter-badger/jsonrpcserver
c2e8f04fdd7d168fbff3b82d4875ac118d1aafbd
ba373b0c803f550e5353ce20b9dfa78828473223
refs/heads/master
2021-08-28T19:32:05.586624
2017-12-07T06:36:07
2017-12-07T06:36:07
114,065,257
1
0
null
2017-12-13T02:47:41
2017-12-13T02:47:41
null
UTF-8
Python
false
false
475
py
from flask import Flask from flask_socketio import SocketIO, send from jsonrpcserver import methods from jsonrpcserver.response import NotificationResponse app = Flask(__name__) socketio = SocketIO(app) @methods.add def ping(): return 'pong' @socketio.on('message') def handle_message(request): response = met...
[ "beauinmelbourne@gmail.com" ]
beauinmelbourne@gmail.com
0788ae1dca234ffd1c7ce2e97cdc9e5c646114d8
c2cf62d1bf8c5ec4d3e6f74d2f048fa8b93102df
/testapp/manage.py
a87cc61e0ba630fcaaab540e89088a0528df952e
[]
no_license
python-hospital/django-smoketest
06e91e5ea9f668ed09e6eb21328cb18a763b253f
ce2e16e888530e995dcb6a5c5e0a7ab20492e8b9
refs/heads/master
2021-01-18T08:47:28.695732
2013-01-16T18:04:22
2013-01-16T18:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#!ve/bin/python import os, sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "anders@columbia.edu" ]
anders@columbia.edu
776359cffa69002d89500c41740f965e391762c6
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/1913364/snippet.py
2ec28759bd362d41780197fb38dd94108f89b48c
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
2,382
py
#!/usr/bin/env python #coding:utf-8 import os, sys import json import requests from urllib import urlencode Client_ID = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com" Client_secret = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" base_url = "https://accounts.google.com/o/oauth2" #### def get_req_token(...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
c69656842401ad914d4384b39e3322f9b671b651
ec45bee420713f64d2d00a5d1c15a9a5f66a940b
/ProgrammingQuestions/leetcode/204-2.py
55c43df28648f11699e75f96965dd69952460c17
[ "MIT" ]
permissive
strawsyz/straw
a7dc5afef9525eeb3b1a471b5a90d869a3ba5084
cdf785856941f7ea546aee56ebcda8801cbb04de
refs/heads/master
2023-06-08T17:18:53.073514
2023-06-05T05:51:41
2023-06-05T05:51:41
253,447,370
2
0
null
null
null
null
UTF-8
Python
false
false
583
py
# 找小于n的质数的个数 # 参照大佬的代码 class Solution: def countPrimes(self, n): if n < 3: return 0 # 标志为True的位置标明是一个True primes = [True] * n primes[0] = primes[1] = False # 下面的循环的范围设置得很巧妙 for i in range(2, int(n ** 0.5) + 1): if primes[i]: # ...
[ "836400042@qq.com" ]
836400042@qq.com
3270aff4be4878b7490fb3a68043212d4c0010d7
80a3e654cf33e5c86410e207e3a28ed160adbd75
/list_questions/nested_list.py
68fbcce633e58b68a1fa31bc7ea067f386526531
[]
no_license
Rinkikumari19/python
f3f6e57ca39d7d6fe4e110264eb5685be2441f66
2b98f4bac313725c2716cc8a60440336d28acba4
refs/heads/master
2022-11-26T06:47:34.161251
2020-08-02T18:37:54
2020-08-02T18:37:54
284,518,849
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
list = [[5,6,9],[2,4],[10],[12,14,18]] i=0 new_list=[] while i <len(list): nes_index = 0 while nes_index < len(list): if list[i][nes_index] % 2 == 0: new_list.append(list[i][nes_index]) nes_index=nes_index+1 i=i+1 print(new_list)
[ "ravina18@navgurukul.org" ]
ravina18@navgurukul.org
14e4682f6bd5674d140402ed5f73880315552a3e
8ea3d5b0ad92fd3ed8ed0678f317cf3dc2a914da
/nextstrain/cli/config.py
a9c42ce7750253e3dce7373772a23d497601c8db
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
permissive
nextstrain/cli
0ed57c4cd0fe75eac4f68b7830f8b661b713858b
3c93e87c2ac6bdd1b6a913070f709067b29a6cc1
refs/heads/master
2023-09-02T13:46:08.170498
2023-08-31T17:07:44
2023-08-31T17:07:44
139,047,738
26
22
MIT
2023-09-14T20:35:23
2018-06-28T17:13:28
Python
UTF-8
Python
false
false
3,797
py
""" Configuration file handling. """ import stat from configparser import ConfigParser from contextlib import contextmanager from fasteners import InterProcessReaderWriterLock from pathlib import Path from typing import Optional from .paths import CONFIG, SECRETS, LOCK # Permissions to use for the secrets file if we...
[ "tsibley@fredhutch.org" ]
tsibley@fredhutch.org
86da068433f1fc5446bca93d98f2f6cb32f50d21
d54f3c4226fc29d657086202261a0e6a5a7d5c72
/Practica 7/Ejercicio4.py
4db9f93808a1d88a515dfd2320b65d7adebb9935
[]
no_license
cifpfbmoll/practica-7-python-JaumeFullana
6de37c2797cb903d5791db2b97be731df70b6eda
8278b16fdffa015c7c01bfbab5e8d5caa3203a97
refs/heads/main
2023-01-08T16:45:22.442796
2020-11-11T20:12:12
2020-11-11T20:12:12
312,062,819
0
0
null
2020-11-11T18:59:04
2020-11-11T18:58:58
null
UTF-8
Python
false
false
421
py
#Escribe un programa que pida una frase (entrada por teclado), y le pase como parámetro a una función dicha frase. #La función debe sustituir todos los espacios en blanco de una frase por un asterisco, y devolver el resultado #para que el programa principal la imprima por pantalla. def funcion (cadena): cambio=...
[ "noreply@github.com" ]
cifpfbmoll.noreply@github.com
47133f646c4d03a1127a5c3718cc1bbba71af2f8
c3059a9b2c08f5014860588b719375afafe2ae09
/ctci/chapter_2/LinkedList.py
2f813b79b311f9910a936c5422acadf11a9c2d33
[]
no_license
TheolZacharopoulos/algorithms-playground
ec6e6c0126b95e0d34e80386874c93003f311fab
a9cf2d0731861c670bedb39241840d8ef96ff39d
refs/heads/master
2021-01-20T13:36:54.266938
2017-06-16T13:27:32
2017-06-16T13:27:32
82,693,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
class LLNode: def __init__(self, data, nxt=None): self.data = data self.next = nxt def __eq__(self, other): return self.data == self.data and self.next == self.next def __ne__(self, other): return not self.__eq__(other) def __str__(self): return str(self.data) ...
[ "theol.zacharopoulos@gmail.com" ]
theol.zacharopoulos@gmail.com
98f63df95a5d01b83f40eb1c3ccfece8ea838b3a
e68a40e90c782edae9d8f89b827038cdc69933c4
/res_bw/scripts/common/lib/distutils/dep_util.py
eb70be2f7f78be09adc12d9dd9bc68e6f17241bd
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,226
py
# 2016.10.11 22:19:25 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/distutils/dep_util.py """distutils.dep_util Utility functions for simple, timestamp-based dependency of files and groups of files; also, function based entirely on such timestamp dependency analysis.""" __revision__ = '$Id$' impo...
[ "info@webium.sk" ]
info@webium.sk
9240ac79ecd98ddf597a898cfc7192ff94d20b91
af4aa2e443abaa39b802b57919e9d0c418d17cdd
/2015/Helpers/day_03.py
378d01c572ff385a9b78441ea9284ac93de4f1bf
[]
no_license
daverayment/aoc
902d414b15a2746bdec1bb40e9029891ca800066
c7e9b6249b4e9d95b9b0d14192818e9a1841f3fd
refs/heads/master
2023-02-08T10:48:23.103729
2020-12-26T05:26:02
2020-12-26T05:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
#!/usr/bin/env python3 from collections import deque def get_desc(): return 3, 'Day 3: Perfectly Spherical Houses in a Vacuum' def calc(values, units): dirs = { '^': (0, -1), 'v': (0, 1), '<': (-1, 0), '>': (1, 0), } locs = deque() for _ in range(units): ...
[ "scott.seligman@gmail.com" ]
scott.seligman@gmail.com
6804528edcfee9368f4a18e9937bf62007a43126
aac1b8efaeccc544d229aa52093a36802250b4cf
/pre/python/lib/python2.7/dist-packages/urllib3/fields.py
79e42369590a0e69849305951a980ff5303996e2
[]
no_license
ag1455/OpenPLi-PC
4f63bbd389ff9604ab7aaf72d10ee6552b794c87
256401ac313df2e45c516af1a4d5398f54703b9c
refs/heads/master
2023-08-22T18:20:07.491386
2023-08-14T17:29:59
2023-08-14T17:29:59
233,239,212
27
22
null
2020-12-28T22:09:26
2020-01-11T13:50:25
Python
UTF-8
Python
false
false
5,928
py
from __future__ import absolute_import import email.utils import mimetypes import six def guess_content_type(filename, default='application/octet-stream'): """ Guess the "Content-Type" of a file. :param filename: The filename to guess the "Content-Type" of using :mod:`mimetypes`. :param defa...
[ "a.g.prosat@gmail.com" ]
a.g.prosat@gmail.com
92e1bb3568f1e4f425d735ef972bcd5a8168163e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fustian.py
0660d56ea49eec56d0386546b9feb6f90fca9777
[ "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
336
py
#calss header class _FUSTIAN(): def __init__(self,): self.name = "FUSTIAN" self.definitions = [u'a thick, rough cotton cloth that lasts for a long time'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): retur...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
267a9aa06a2d6a0e0e37f2d0f265303898d79ee3
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/6040/146006040.py
55f232a90c6b4d57630a39f5d8a2f107c0fe7fa6
[]
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
845
py
from bots.botsconfig import * from records006040 import recorddefs syntax = { 'version': '00604', 'functionalgroup': 'RY', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'ERP', MIN: 1, MAX: 1}, {ID: 'REF', MIN: 1, MAX: 10}, {ID: 'DMG', MIN: 0, MAX: 1}...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
82b811700c6d7c47439687106fac1fbc39e52a8f
4693ad654697e27ec8e8b170e81210744ebdea60
/app/controllers/category.py
80c34944cb79d3b4806b69c41329aa635bce713a
[]
no_license
OscarHeMe/catalogue
d97d6dacdb65ac341dff100ff6125a70c836bbc9
6daa710eabf1417d1d97e149de28c5ab0a80d44b
refs/heads/master
2023-03-01T02:28:28.022593
2020-07-24T19:25:14
2020-07-24T19:25:14
338,459,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
# -*- coding: utf-8 -*- from flask import Blueprint, jsonify, request from app.models.category import Category from app import errors, logger from flask_cors import CORS, cross_origin mod = Blueprint('category',__name__, url_prefix="/category") @mod.route('/') @cross_origin(origin="*") def get_all(): """ Get all...
[ "gamba.lavin@gmail.com" ]
gamba.lavin@gmail.com
6571f432fc1130e8af328608e4a4d432aa7179f3
e6a1c4389d1ea3582b3b5e18228c2e79eb0cece5
/0x11-python-network_1/10-my_github.py
2c05b2082f18f0d02897fc5e33ce1bd07dbc40f1
[]
no_license
TMcMac/holbertonschool-higher_level_programming
4cd5dcf25163306c1bf4f5434cb9e5d07118f750
7449dc4642a8d5a04c731aea8c5fb176ea31e4ce
refs/heads/master
2023-03-02T19:00:56.483666
2021-02-12T21:41:37
2021-02-12T21:41:37
290,367,732
1
0
null
null
null
null
UTF-8
Python
false
false
519
py
#!/usr/bin/python3 """ a Python script that takes your Github credentials (username and password) and uses the Github API to display your id """ if __name__ == '__main__': import requests from requests.auth import HTTPBasicAuth as Basic_auth from sys import argv url = 'https://api.github.com/user' ...
[ "timmcmackenjr@gmail.com" ]
timmcmackenjr@gmail.com
b4acc3a4e2f24d68149425c261800c990e4fbca8
1d2bbeda56f8fede69cd9ebde6f5f2b8a50d4a41
/medium/python3/c0260_529_minesweeper/00_leetcode_0260.py
c26b539ad64f034a762406f546d245e3eda9c3f7
[]
no_license
drunkwater/leetcode
38b8e477eade68250d0bc8b2317542aa62431e03
8cc4a07763e71efbaedb523015f0c1eff2927f60
refs/heads/master
2020-04-06T07:09:43.798498
2018-06-20T02:06:40
2018-06-20T02:06:40
127,843,545
0
2
null
null
null
null
UTF-8
Python
false
false
2,580
py
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #529. Minesweeper #Let's play the minesweeper game (Wikipedia, online game)! #You are given a 2D char matrix representing the game board. 'M' represents a...
[ "Church.Zhong@audiocodes.com" ]
Church.Zhong@audiocodes.com
5a4770325ad6b008b08159564c2e7211f47a3432
0f11686a24bc064c6c571367c93dd808ccb69aac
/migrations/0001_allow_delete_query.py
2cdbe0ddf2c3ddbf5dfa480d766007744c0ede32
[ "BSD-2-Clause-Views", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Why-Not-Sky/redash
86520cf5f40a77f3e8a5f7f79c621908d9007bb6
31fe547e03cb6eaecaa97b6c5d6d5e96193e7f79
refs/heads/master
2021-01-24T00:23:12.994466
2015-02-23T09:10:20
2015-02-23T09:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
from playhouse.migrate import Migrator from redash.models import db from redash import models if __name__ == '__main__': db.connect_db() migrator = Migrator(db.database) with db.database.transaction(): migrator.add_column(models.Query, models.Query.is_archived, 'is_archived') db.close_db(...
[ "arik@arikfr.com" ]
arik@arikfr.com