blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ad2d9777e6c12e9718f41a658bad6641ab83d38e
8280e66f3d4df8a8bf5fc94456bdd92c0cc09679
/cdcs.py
969e17383afd27568cc1452fed01b01726b9a697
[]
no_license
lukefromstarwars/cdcs
9d8f453f466d0407033790c9bec89d7260f1259a
79a6d74e62a32e015751fc0fd5da452629870cc1
refs/heads/master
2021-01-13T05:01:20.964843
2017-02-07T15:51:42
2017-02-07T15:51:42
81,186,160
0
0
null
null
null
null
UTF-8
Python
false
false
8,429
py
from utils import * class DV: # df = read_pickle('Detailed_Institutions') # cols = get_cols_alphabetically(df) # for col in cols: # print('{} = \'{}\''.format(col.lower(), col)) acces = 'ACCES' activfr = 'ACTIVFR' adnum = 'ADNUM' adresfr = 'ADRESFR' agrement = 'AGREMENT' benef = 'BENEF' bnum = 'BNUM' bu...
[ "lukefromstarwars@gmail.com" ]
lukefromstarwars@gmail.com
170d3334a15c242f409b50f67787dd80478f223b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_amoral.py
1ffdd9157b8e7b56bb3e5ebbc4833764df514bda
[ "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
384
py
#calss header class _AMORAL(): def __init__(self,): self.name = "AMORAL" self.definitions = [u'without moral principles: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondata[obj2] = {} self.jsondata...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
aab164dddd265e0c92853e355a08e84927d73f6b
523e845ced594e5fe1a4222d978c5f2c22e3164f
/Final_Project/urls.py
b881f6e163d68ea661ddaa425f30ca560836785b
[]
no_license
craiglymus/Final_Project
d399411f422fb4e90f81720140ef5f229bf4d27b
d64cdb292ebab1f05fee27e6f8514e05895320c0
refs/heads/master
2020-04-08T13:43:02.208314
2018-12-06T21:16:20
2018-12-06T21:16:20
159,403,464
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
from django.urls import path from . import views from django.conf.urls.static import static from django.conf import settings urlpatterns=[ path('', views.index, name='index'), path('register', views.register, name='register'), path('login',views.user_login,name='user_login'), path('logout', views.u...
[ "craiglymus@gmail.com" ]
craiglymus@gmail.com
6f975e3d3182da9e70487af00419fad4fa355458
1dc837eb06d0c9778483dc20647ce6d3df77c310
/loginReg_proj/manage.py
6c9fe95be8357aa59e4ed4c718641f64c41f2b06
[]
no_license
sbeck0109/DojoReads
afdc3cc0486456ca7ca78366da5f0e8e2478707b
2ed828ff7bcbebf82170957bd561bfab161f4a9c
refs/heads/master
2022-12-12T06:42:10.461439
2020-08-31T06:07:11
2020-08-31T06:07:11
291,629,308
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'loginReg_proj.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "sbeck0109@gmail.com" ]
sbeck0109@gmail.com
b19779ecded0d5e3d24b43d6c9b5854ce22747da
5e63d35b296947a1e06fd8d180b20cd484080b74
/site/config/settings/dev.py
63eb37d0ace723ee1372647e5992ec3b7ea244dc
[]
no_license
XUJINKAI/DuoBlog
3d883f0eeb29d0bcd6bc83982e70df82a999ec26
3b0273d31543cbc4a7e8e2ee4ca59d6035d2ce7e
refs/heads/master
2021-01-22T17:28:49.186903
2018-06-19T11:16:11
2018-06-19T11:16:11
85,017,476
2
0
null
2017-03-18T11:44:06
2017-03-15T02:03:02
Python
UTF-8
Python
false
false
4,542
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 1.10.4. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "xujinkai@gmail.com" ]
xujinkai@gmail.com
1d7ebb2188e55a1b208a6193496d6348ea4589cf
1aaa0e8069e668fef18eb57cbf8b768780d6b819
/sync-flickr.py
c75481f380d2549fd23404f2b3d1fca03676d1bb
[]
no_license
aimxhaisse/an-aer
db3e660a24139479484042a802462a5b977263ab
c96679d21c3fb542341d7bfb10e40d7463d068f2
refs/heads/master
2020-05-26T06:23:56.401114
2015-08-19T19:34:14
2015-08-19T19:34:14
37,366,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
#!/usr/bin/env python2 import os import frontmatter import flickrapi import json import requests tmp_file='/tmp/flickr.jpg' api_key=os.environ['FLICKR_KEY'] api_secret=os.environ['FLICKR_SECRET'] user_id='133795382@N04' flickr=flickrapi.FlickrAPI(api_key, api_secret) flickr.authenticate_via_browser(perms='write') im...
[ "mxs@sbrk.org" ]
mxs@sbrk.org
115ce2928dc8674efb001a44ef748c761a18d489
a24e1f5ee48aef0835e4073f27ca05f59ad08830
/Demo/oss_operate_upload.py
64cef35803583bdcf727e8c7d24d075008d3e6f1
[]
no_license
Bass0315/BeagleBoard
73ff1b9a3ade0431ed9095b9a8578c4ba419b055
3197e21e8739e5a573e6cec67e0be2f6bf163358
refs/heads/main
2023-07-22T08:55:40.530758
2021-08-26T06:12:07
2021-08-26T06:12:07
399,308,478
0
0
null
null
null
null
UTF-8
Python
false
false
3,527
py
#!/usr/bin/env python # tary, 14:49 2018/10/18 import os import oss2 import time import sys #bucket_name = sys.argv[1] #need_file_prex = sys.argv[2] bucket_name = "102110561" #need_file_prex = "BBBVC20200400020" bucket_name_bk = "102991313" class log_uploader(): def __init__(self): self.access_key_id ...
[ "1217354870@qq.com" ]
1217354870@qq.com
53b6cc03d03e845c4fcee066f865a5837923dab4
dacd2488a96c52acfd9bb282d1a5d5fc8f04d20b
/largest_palindrome_product.py
017616247a817509e40e11cde549af1f56d206d4
[]
no_license
snj0x03/MyProjectEulerSolutions
1dfb9179a7130e3aca6a6a3e6693ab2fbbf10a70
b16dc1340ea4c2a305531e9e6b600637e0028c6f
refs/heads/main
2023-08-01T05:52:35.760183
2021-09-16T02:56:46
2021-09-16T02:56:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
def isPalindrome(n): temp = int(str(n)[::-1]) if temp == n: return True return False ans = 0 for i in range(100, 1000): for j in range(i, 1000): if isPalindrome(i*j) and i*j > ans: ans = i*j print(ans)
[ "sawnaysoe.mm@gmail.com" ]
sawnaysoe.mm@gmail.com
784f80e5912c451b33f78e669f8c5db7589bc16c
f5ffd566166948c4202eb1e66bef44cf55a70033
/openapi_client/model/single_token_no_id.py
0574862288f2077ebbf419ad0659d700468ded35
[]
no_license
skyportal/skyportal_client
ed025ac6d23589238a9c133d712d4f113bbcb1c9
15514e4dfb16313e442d06f69f8477b4f0757eaa
refs/heads/master
2023-02-10T02:54:20.757570
2021-01-05T02:18:03
2021-01-05T02:18:03
326,860,562
0
1
null
null
null
null
UTF-8
Python
false
false
8,676
py
""" Fritz: SkyPortal API SkyPortal provides an API to access most of its underlying functionality. To use it, you will need an API token. This can be generated via the web application from your profile page or, if you are an admin, you may use the system provisioned token stored inside of `.tokens.yaml`. ### ...
[ "profjsb@gmail.com" ]
profjsb@gmail.com
ca5718e18f441d3016775009fc4ce404bf60bf1d
c723fc194b8f07e341635fca736f69d2b3f23b42
/rinself.py
eed880d1a560ddc35fa3bde2564292ef96a1b29d
[]
no_license
Kaneki711/kpro3a
fc15f7e82f4704a591a5b84cae8efb04c1b83468
a51c5abdd7964dae9be94496e8b39358a3ef4638
refs/heads/master
2020-03-26T01:33:38.925234
2018-08-01T19:23:26
2018-08-01T19:23:26
144,372,352
0
1
null
2018-08-11T09:25:31
2018-08-11T09:25:31
null
UTF-8
Python
false
false
126,463
py
# -*- coding: utf-8 -*- from LineAPI.linepy import * from LineAPI.akad.ttypes import Message from LineAPI.akad.ttypes import ContentType as Type from gtts import gTTS from time import sleep from datetime import datetime, timedelta from bs4 import BeautifulSoup from googletrans import Translator from humanfriendly impo...
[ "noreply@github.com" ]
Kaneki711.noreply@github.com
8100083afb33211bd35f7ed5b0458867af9443b8
b961b17c346800f93e49c0888e89f9d8e4952066
/Trimestre1/Ejercicio0.py
e2831d265127d823ba96e245da8077aacf0bb20c
[]
no_license
pabloTSDAW/Programacion-Python
425e652b9fc019f7c5486270ca7bc41c60559207
9387671252433afc03cb8b47c6176ee649a64539
refs/heads/master
2021-08-18T19:20:41.190723
2017-11-23T16:27:08
2017-11-23T16:27:08
111,829,919
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
"""Escribe un programa que imprime desde el 10 hasta el 1""" x=10 while x>0: print(x) x=x-1 print(x,x)
[ "pablotsdaw@gmail.com" ]
pablotsdaw@gmail.com
5df69f02dee8d7c0128dc781ba6d8d2646d5868e
266a80aec89479cd35266ad392abf4cb65634eff
/raser/g4particles.py
b1eedc3be0d2f77ecc4397a91571d4927c98545a
[ "MIT" ]
permissive
yangtaogit/raser
ada3f75c98b1aa75a32d1245cf760e13798be5c9
ae4c58a3577cb27898c8ee178c40cefa00e01f51
refs/heads/main
2023-09-03T09:01:51.939955
2021-11-17T14:12:44
2021-11-17T14:12:44
351,357,290
0
0
MIT
2021-11-17T14:12:45
2021-03-25T08:13:39
Python
UTF-8
Python
false
false
19,997
py
# -*- encoding: utf-8 -*- ''' Description: geat4_pybind simulate the energy depostion of beta-source time resoltion experiment @Date : 2021/09/02 12:46:27 @Author : tanyuhang @version : 1.0 ''' import geant4_pybind as g4b import sys import numpy as np # Geant4 main process c...
[ "tanyuhang@ihep.ac.cn" ]
tanyuhang@ihep.ac.cn
e0ededae93e9d7e63a162d7f3b17f558d9e49ae8
252d023b55575f3d25fb9ab8faa92084479244b3
/tests/routing/test_convertors.py
fe7eec96fb0debcbc1ade46a88fca3b16d508241
[ "Apache-2.0" ]
permissive
sangensong/index.py
fef31a222b34961b5869a5d2a5832040029be778
4b4cfd0aeef67986f484e3f5f06544b8a2cb7699
refs/heads/master
2023-03-03T12:24:00.468335
2021-02-13T14:46:33
2021-02-13T14:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
import pytest from indexpy.routing.convertors import is_compliant @pytest.mark.parametrize( "string, result", [ ("", True), ("{}", True), ("1{1}1", True), ("}{", False), ("{}}", False), ("}", False), ("{{}", False), ("{", False), ], ) def te...
[ "me@abersheeran.com" ]
me@abersheeran.com
aa7d52d39870d17de3191882a3790001a6e68423
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-ocs/aliyunsdkocs/request/v20150301/VerifyPasswordRequest.py
390fe460a4639197db6df3a5bf2bfe77161f48c3
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
2,034
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
bd23b87cf95023a0889b85a7676bdd1f6157604f
10b1e3e60e49c6a3f26e0cdd5a8d5dadbeb3c471
/users/urls.py
bdf1717025e7b8f29f6f333771fd3ddb37e6bb1a
[]
no_license
srahnama/deadlines_app
9afcdc712a7eccdbbf97b7825f8a89df450fec69
5e3a743b3b4211350351e38a6be91f0f6ba8596f
refs/heads/master
2020-08-06T01:45:19.843649
2019-10-04T12:00:22
2019-10-04T12:00:22
212,789,023
0
0
null
2019-10-04T10:23:08
2019-10-04T10:23:08
null
UTF-8
Python
false
false
88
py
from django.urls import path from . import views app_name = 'users' urlpatterns = []
[ "jmfda00@gmail.com" ]
jmfda00@gmail.com
0403bf4f6d707fcefaf4e588b0dae36cf3580e8f
8f8f8da2b28368cc2dc85a58288594c0bb59e7eb
/auth/accounts/forms.py
546ad46233ea50355cdeeb9f2c77bb77fa2e2cc1
[]
no_license
Shaikzaheer174/authentication-project-
bb6ad2815e7d77ea38c14672219c2bd0d7435eeb
0b68bd13494b79745d6053217e86592ca9c73d8f
refs/heads/master
2023-02-08T09:31:38.238461
2021-01-03T08:29:01
2021-01-03T08:29:01
326,343,858
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
#importing from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm #registration form class RegistrationForm(UserCreationForm): class Meta: model = User fields = ['username', 'email', 'first_nam...
[ "68013910+Shaikzaheer174@users.noreply.github.com" ]
68013910+Shaikzaheer174@users.noreply.github.com
6cd8971cbc62173482e88a4f284fbaa212bcad97
607155e799f5847b17e93a46452d6c9cf87214f5
/구현/상하좌우 (이코테).py
32658ead47b64ae64a8eb440249a26daa6d38d5d
[]
no_license
chanheum/this_is_codingtest
73e55c064e173a79c0714d316a48c653a301ec9e
8850b59921b083fdc4a9d162071cd80b7835de4d
refs/heads/main
2023-06-18T19:55:19.099988
2021-07-14T07:17:12
2021-07-14T07:17:12
370,069,912
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
n = int(input()) x,y = 1,1 plans = input().split() # 서, 동, 북, 남 dx = [0,0,-1,1] dy = [-1,1,0,0] move_types = ['L','R','U','D'] # 이동 계획을 하나씩 확인하기 for plan in plans: # 이동 후 좌표 구하기 for i in range(len(move_types)): if plan == move_types[i]: nx = x + dx[i] ny = y + dy[i] ...
[ "xoxo_pch@naver.com" ]
xoxo_pch@naver.com
e01687860fd1344cebafd20a1a817ccc92bc7cdb
ce791e8402a958f816b9d57323f4cbf357430515
/Basic/Tokenize_String.py
f81f73305e72384a3147cc59345f86accbd34fca
[]
no_license
KhachKara/Python_Tutor
43cb3a77ba51ccf3eda73a52e637c929706ddbea
95f8a1f3c961541fd459696bc1e20d873ecebf71
refs/heads/master
2021-06-27T05:09:11.967610
2017-09-18T03:39:18
2017-09-18T03:39:18
103,820,420
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
""" Example 1-5 =========== Tokenizing string to extract specific informations from string. Requisite: String pattern must be known """ # input string with known pattern # String Pattern: # First Name # Last Name # Year of Birth # Month of Birth # Day of Birth # Gender input_ = '...
[ "khachkara@gmail.com" ]
khachkara@gmail.com
5849527eec8c41d9b965ab42fba37c1d87057e34
1078c61f2c6d9fe220117d4c0fbbb09f1a67f84c
/paws/lib/python2.7/site-packages/euca2ools-3.4.1_2_g6b3f62f2-py2.7.egg/EGG-INFO/scripts/euca-attach-vpn-gateway
f2cedfbacd4acce4e9fae4e06a651f68f2eccffe
[ "MIT" ]
permissive
cirobessa/receitas-aws
c21cc5aa95f3e8befb95e49028bf3ffab666015c
b4f496050f951c6ae0c5fa12e132c39315deb493
refs/heads/master
2021-05-18T06:50:34.798771
2020-03-31T02:59:47
2020-03-31T02:59:47
251,164,945
0
0
null
null
null
null
UTF-8
Python
false
false
217
#!/media/ciro/LOCALDRV/A_DESENVOLVIMENTO/AWS/receitas/paws/bin/python -tt import euca2ools.commands.ec2.attachvpngateway if __name__ == '__main__': euca2ools.commands.ec2.attachvpngateway.AttachVpnGateway.run()
[ "cirobessa@yahoo.com" ]
cirobessa@yahoo.com
f3c8ce1577e12c00af93601312d0d5387dddf8ed
50f7af09f36bc6bb55ebc5e109444fce76fb2294
/Duy demo/1. Json Wire Protocol/google_test.py
124078bbad2320e3f7e88874034f542d7613b112
[]
no_license
duynguyenx/TheInsideofSelenium
4aaf7b1fc7ef11c0a46f4e91ffb94461a4709f02
ef661386c45957176fce0f2a0e2f160b83f613b3
refs/heads/master
2020-03-31T05:14:56.553230
2018-10-07T13:35:54
2018-10-07T13:35:54
151,938,951
1
1
null
2018-10-07T13:35:55
2018-10-07T12:26:46
Python
UTF-8
Python
false
false
220
py
from selenium.webdriver import Chrome from selenium.webdriver.common.by import By driver = Chrome() driver.maximize_window() driver.get('http://www.google.com') element = driver.find_element(By.NAME, 'q') driver.quit()
[ "duy.nguyen@unified.com" ]
duy.nguyen@unified.com
e1dca4caa796db4cb3ad1dda0483290de2b602d6
fa4a3379cf9cc388f31cfc82a1f2e680dffdfbf4
/demo/randomcolor-nolib.py
25a29dd055eeb1b6c8fd04d27089534d3f96f1cd
[]
no_license
vswraith/pycyborg
2665d0787f7afc8c530544ee14ea0f11dc6a28bf
7b91bdbe1e0360a9386a6deec9bc58f806f12fa7
refs/heads/master
2021-01-17T05:19:21.051109
2016-03-09T05:38:40
2016-03-09T05:38:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
#!/usr/bin/env python """ This was the first running python script, before I made the library. If you want to code your own script without having to import the pycyborg lib you may use this as a reference """ import usb.core import time import random import sys VENDOR=0x06a3 PRODUCT=0x0dc5 CONFIGURATION=1 def col...
[ "oli@fuglu.org" ]
oli@fuglu.org
e439e39567a39f81438a77b36ea4aadcdacfb670
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/shortest-path-to-get-food.py
e55ecdc5d036b0016d429f856f0abb26327001d0
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
1,018
py
# Time: O(m * n) # Space: O(m + n) class Solution(object): def getFood(self, grid): """ :type grid: List[List[str]] :rtype: int """ directions = [(0, 1), (1, 0), (0, -1), (-1, 0)] q = [] for r in xrange(len(grid)): for c in xrange(len(grid[0])):...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
eb40a4c499beb7ee27bc9a1cb2ade6b9093876c5
3063c11d7983b431ed01f9079fb6c8a1522dde8c
/Linux/bin/esna/solaris9.py
f8883fbb294d7ec0adbe6df30c078d0e55fae681
[]
no_license
FingerLeakers/EquationGroupLeak
783ca18de8a7d7c3b679a53afbd97fa347d34f15
4c0515a2b4d3c3b78c10c476ee03d66a0c29066d
refs/heads/master
2021-06-26T18:33:02.864767
2020-09-20T18:32:18
2020-09-20T18:32:18
123,497,687
5
1
null
2018-03-01T22:04:24
2018-03-01T22:04:23
null
UTF-8
Python
false
false
1,210
py
import solaris import solaris9shellcode import utils class solaris9(solaris.solaris): def __init__(self, stackBase=0xfddf4000L): self.stackBase = stackBase version = "Solaris 9" l7Stack = -0x144 # offset to ptr to GOT from bottom of thread stack def buildShellcodeBuffer(self, target, challenge): ...
[ "adam@adamcaudill.com" ]
adam@adamcaudill.com
c706fc8117eda0768995e92b60c761ab2c961a3e
bdde67f8774b6954f4d1543112303d8c482ea262
/services/services.py
a1da9787363d6c719884c40665b740a16b941646
[]
no_license
Feronial/microservices
96184406a51887be3ef7b7fd781fc3873683a1fd
298daf8d770e0197e2df7499e1401164b6b01d7c
refs/heads/master
2020-09-14T16:08:41.821100
2019-11-28T11:46:43
2019-11-28T11:46:43
223,178,862
0
0
null
2019-11-21T13:20:52
2019-11-21T13:20:51
null
UTF-8
Python
false
false
360
py
import os import json from flask import make_response def root_dir(): """ Returns root director for this project """ return os.path.dirname(os.path.realpath(__file__ + '/..')) def nice_json(arg): response = make_response(json.dumps(arg, sort_keys = True, indent=4)) response.headers['Content-type'] =...
[ "mistiq.sonko@gmail.com" ]
mistiq.sonko@gmail.com
01dcb4de35172d103fe828dcc3ff6e932e2af35e
4c27e915ec0c01a77646274ca656606479c3574f
/myenv/bin/django-admin.py
2f27e3e1588a11d8e281369869ea177173f668ba
[ "BSD-2-Clause" ]
permissive
nexuszix/propm
e86da3d6871212ae1a9f46092b0e969c33b072dc
8640c88d6c97a69c41e489e98c479c5eb0f81a18
refs/heads/master
2021-07-19T16:59:57.640123
2017-10-29T09:48:11
2017-10-29T09:48:11
108,704,193
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#!/Users/birdlnw/bird/propm/myenv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "pongsakorn.rueng@thonburihospital.com" ]
pongsakorn.rueng@thonburihospital.com
3d4cf534570392828e1257f064436ddecf56c4dc
29016acfa6bc15bb26d99de3d08804a831110b73
/fundamentals/fundamentals/json/test_read_json.py
c503cb0f83d336dcfe31c31614f50cd9ce81c0e9
[]
no_license
starnowski/python-fun
7d787defc83c013efbd922ebfd024bfd72ed79d5
f5c1c7f09b89155859ab1b82312dc0e7ce940dde
refs/heads/master
2020-05-05T11:33:43.966690
2019-10-09T21:25:04
2019-10-09T21:25:04
179,994,504
0
0
null
2019-08-27T20:16:19
2019-04-07T16:45:10
Python
UTF-8
Python
false
false
1,377
py
import unittest import json class TestReadJson(unittest.TestCase): def test_read_json_data(self): # given with open("test_json/test1.json", "r") as f: # when json_data = json.load(f) # then self.assertTrue("name" in json_data, "Json should contain...
[ "33316705+starnowski@users.noreply.github.com" ]
33316705+starnowski@users.noreply.github.com
1278f1187478aa2974abc7bd272fe6f7c1454136
6c35677080af75467686bd592a222b205a5e214a
/selfieCam.py
dd3acd7c97440892b0b5d44972754a22b77ba637
[]
no_license
jsschor/selfieCam
a4d3c8bae525c00cecc9b046c173bfa87698feb7
698a2ac6be5b2927ebd1f239415b9676bd3480cb
refs/heads/master
2022-05-11T17:51:06.383539
2020-04-21T21:32:24
2020-04-21T21:32:24
257,718,026
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
import cv2 import imutils.imutils as imutils from imutils.imutils.video import VideoStream import time import pigpio import datetime import tkinter as tk from tkinter import simpledialog import numpy as np from subprocess import call import os h = 480 w = 640 dispW,dispH = (1024,768) frameRate = 90 cap = VideoStream(u...
[ "jonathan.schor@ucsf.edu" ]
jonathan.schor@ucsf.edu
8fcea8888ffaa757c9ebf4c52154b84fa92caeea
da680f9112000de225da3db68f590a05d3c6e1d7
/blog/migrations/0001_initial.py
7405240b4631b3086b6163221a4f44eacfa0085d
[]
no_license
ishasharma01/BlogWeb
8ff9977b8076b42e7a31a769c2437c5df9575051
1558876185c0cfa20ca9c89b439dcba187329bb6
refs/heads/master
2022-12-15T23:37:00.875884
2020-09-21T00:00:48
2020-09-21T00:00:48
287,458,651
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
# Generated by Django 2.1.5 on 2020-08-15 06:37 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 dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "ishasharma96@mail.fresnostate.edu" ]
ishasharma96@mail.fresnostate.edu
9867e05bac66cf8fa90307e381f46fa36c273189
0a882e11a5bec8e40c833a5f6ae5c70ed3c33f4d
/Group_C/polls/admin.py
7a01855090d8b33db76e70a64cfceee51b886f6f
[]
no_license
dianajane/gC
04ae87ec90976f4b5d31b51e570c9f39c24b7806
c06977ada5af256a160dbc4e9de63c4d9b7e2511
refs/heads/master
2021-01-06T20:46:35.655216
2013-12-21T01:46:37
2013-12-21T01:46:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
from django.contrib import admin from polls.models import Choice, Poll class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class PollAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question']}), ('Date information', {'fields': ['pub_date'], 'classes'...
[ "dianajaneabella23@gmail.com" ]
dianajaneabella23@gmail.com
55284a8b34ba4c9cd9f65131001658abc9f72ce1
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/d9a1c8954fbeedf3e95f1c873a9834b004ff41f9-<map_config_to_obj>-bug.py
6da13df57dd89c28b87c9562bd75a8d2b93e1f3e
[]
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
983
py
def map_config_to_obj(module): objs = [] output = run_commands(module, { 'command': 'show vrf', }) if (output is None): module.fail_json(msg='Could not fetch VRF details from device') vrfText = output[0].strip() vrfList = vrfText.split('VRF') for vrfItem in vrfList: i...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
e8783d379367b87d7df3e3b83acd771067b46d61
fd720c03d9ac965e7555e67769a879daf073c0d5
/Level 1/10.py
cb030f7f6ccf973472ff82e5a939ad35f6bde46e
[ "Unlicense" ]
permissive
chris-maclean/ProjectEuler
84045fb3a01897fb4ce4b312aabfd582077e6a89
861387b130a05cb98518492ac099ef6470f14dab
refs/heads/master
2021-05-26T22:46:54.114622
2013-08-06T01:08:02
2013-08-06T01:08:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
# CJAA 4/6/2013 # Project Euler Problem 10 # Find the sum of all primes below two million pool = list(range(2,2000000)) x = 0 i = 0 while i < len(pool): x = pool[i] j = x if x != 0: while i+j < len(pool): pool[i+j] = 0 j += x i += 1 print(sum(pool))
[ "canna12@gmail.com" ]
canna12@gmail.com
84c9cdecd5c3b1a028b9541370da32a16ec70f92
86301c579e54a0d0ca225931d5eefc417801d976
/src/gui/modules/view_type.py
ef06f2dd521825f9cd3b8c80ae2fb5166a5adbb9
[ "MIT", "Apache-2.0" ]
permissive
mazurwiktor/albion-online-stats
a76189af71157bb842802a7c6fbd3e8f4c2a55b2
2895be91c450c1d8520aa25ec65789dd033385d0
refs/heads/master
2023-06-01T08:39:37.967339
2021-11-11T18:33:55
2021-11-11T18:33:55
204,306,583
206
78
Apache-2.0
2023-05-23T02:08:19
2019-08-25T14:36:33
Python
UTF-8
Python
false
false
100
py
class ViewType: DMG: str = 'Stats (damage done)' HEALING_DONE: str = 'Stats (healing done)'
[ "wiktormazur1@gmail.com" ]
wiktormazur1@gmail.com
e1c3b72718165b920c24e62f621c82fe74e07fec
72e979f2acba2472f892c965211f8a9925becead
/tests/test_saml.py
fb1b13cb0c4c21c3b36f4ee0f754f45bf28fdc37
[]
no_license
Microkubes/microkubes-python
7cb46860129f139e5c823aa93cbdb61546dce245
4f5854fa1f973b9362786a1bdafbc452f8f73756
refs/heads/master
2022-07-21T17:30:32.362942
2019-10-09T14:31:21
2019-10-09T14:31:21
154,119,131
2
3
null
2022-07-06T19:57:42
2018-10-22T09:38:08
Python
UTF-8
Python
false
false
5,203
py
"""SAML service provier test """ from threading import local from unittest import mock from os.path import join as path_join from tempfile import TemporaryDirectory from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives im...
[ "vladoohr@gmail.com" ]
vladoohr@gmail.com
360e24cbfaffe3dccdfcd759b133d63a739bbcb6
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/api/dataflow/modeling/basic_model/model_controller.py
64d54d6efa8764108960512df4f6ea47f6a4eac0
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
10,300
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
5c245966477963c28a3d12c61a02c5648ede4d3a
cf6a50732d708a3a3db0f297b73cb6f449a00b44
/Practice4_lists/change_list.py
3faa396ddbe5ab69f071885c15c902f9b0884922
[]
no_license
subash319/PythonDepth
9fe3920f4b0a25be02a9abbeeb60976853ab812e
0de840b7776009e8e4362d059af14afaac6a8879
refs/heads/master
2022-11-16T03:03:56.874422
2020-07-17T01:19:39
2020-07-17T01:19:39
266,921,459
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
# 1. listA = [1, 2, 3, 4, 5, 6, 7, 8] # # Write a statement to change the second last element of this list to 200. listA = [1, 2, 3, 4, 5, 6, 7, 8] listA[-2] = 200 print(listA) # 2. listA = [1, 2, 3, 4, 5, 6, 7, 8] # # In this list, replace the elements 3,4,5,6 with elements 30,40,50,60,70,80 listA = [1, 2, 3, 4, 5,...
[ "subas319@gmail.com" ]
subas319@gmail.com
6276f32df7a72d66b9eb457516d20bf0666fe0a9
84a325bc5e038a601c84f4af291ff0b877b360bb
/tests/test_serialization.py
a875b79b256cbd0dc6ccb76bd0cacb282e85af48
[ "MIT" ]
permissive
afcarl/nomen
6cecae13f7dc0d0c0eeeed4d0b80c45d119e7ad2
f9d579b60b8c9ad60af2f2e5e8524244a6365b58
refs/heads/master
2020-03-22T10:25:12.930476
2018-06-22T00:13:10
2018-06-22T00:13:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from util import cfg, get_path import os import nomen import yaml import copy def test_serialization(): tmp_path = get_path('tmp_config.yml') with open(tmp_path, 'w') as f: f.write(str(cfg)) tmp_cfg = cfg.copy() tmp_cfg.update_from_yaml(tmp_path) assert str(tmp_cfg) == str(cfg) # test yaml variables ...
[ "jaan.altosaar@gmail.com" ]
jaan.altosaar@gmail.com
5e3c5aa73c6369cb87cbd58d130549dd347e7cf3
7a8345e0a3b84614f9c8f31bb249f7e211cbd549
/PycharmProjects/untitled/func/test1.py
aba58eb970f6e4b49870bed7918301c711633c92
[]
no_license
oumingwang/ubuntupythoncode
5ac5baf16acecec3cd518094a49f9766dc6a823b
48dd76f848efedf13ba049c5d4ef9402d3285675
refs/heads/master
2020-07-04T03:42:16.080197
2016-11-19T15:21:49
2016-11-19T15:21:49
74,214,129
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
#coding:utf-8 def convert(func, seq): print 'conv sequence of numbers to same type' return [func(eachNum) for eachNum in seq] #解析式 myseq = (123,45.67,-6.2e8,99999999L) print convert(int,myseq) print convert(float,myseq) print convert(long,myseq) def MyFunc(name): print name + ' world' MyF...
[ "474978390@qq.com" ]
474978390@qq.com
bd67ccf0e1115f6c66b0342f3e775786b7d3b3d7
2bffd56acb0d10cd7f142f2214e957373ed59114
/4/femfel/pyimagesearch/panorama.py
bbe507ab286dbb741a3900c4bfe088e52d97fe2f
[]
no_license
OlofHarrysson/imageanalysis
e53e55872476c36032d9b95c4456fd34e785b13b
5a37471e69b0d5eb72cbc32d2d9f342a8e9b918c
refs/heads/master
2021-07-18T00:35:02.524800
2017-10-22T11:06:51
2017-10-22T11:06:51
105,156,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,876
py
# import the necessary packages import numpy as np import imutils import cv2 class Stitcher: def __init__(self): # determine if we are using OpenCV v3.X self.isv3 = imutils.is_cv3() def stitch(self, images, ratio=0.75, reprojThresh=4.0, showMatches=False): # unpack the images, then detect keypoints and extr...
[ "harrysson.olof@gmail.com" ]
harrysson.olof@gmail.com
75b96b8fc35b74e1ba693c617e27ca511b260e49
d6882f1f09350f7f03a2d615c9c64462a10438c7
/WX_FUNC/text/carnumber.py
5ac4f78c4da8d2da3acd0b63621c0a998826c8c3
[]
no_license
yantaobattler/WXGZ
be7ce8d3dfffb1bebf32508b0530284304dc6df2
24e562e9fd6171a8aa75689a0413604626c15963
refs/heads/master
2020-04-26T04:43:05.603952
2019-08-07T11:39:01
2019-08-07T11:39:01
173,307,840
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# -*- coding: UTF-8 -*- from WX_FUNC.publictools import * def carnumberlimit(content): if content == '限号': return '请输入您要查询的城市' rsp_content = '您查询的地区没有限号信息' city = content[2:] rsp_dict = xianhao.excute() for k in rsp_dict: if k.endswith(city): rsp_content = k + '\n' ...
[ "yantao2212@126.com" ]
yantao2212@126.com
e76b1150207bcbd1c3dcbb7e7de1e7db7260d1ee
3cd78ff37cf258cb3a6b85a850c42f2d296ba348
/scripts/plotify
1084b0c983c6afb045646cc5746d9067360d00ee
[ "BSD-2-Clause" ]
permissive
emhuff/Piff
b93408995f729726bed69e057835f1ae171f8634
e310bc699a66fb5b95bde9d0e501dea93a82b371
refs/heads/master
2020-07-05T23:06:24.901392
2019-07-12T21:13:35
2019-07-19T22:53:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,106
#!/usr/bin/env python # Copyright (c) 2016 by Mike Jarvis and the other collaborators on GitHub at # https://github.com/rmjarvis/Piff All rights reserved. # # Piff is free software: Redistribution and use in source and binary forms # with or without modification, are permitted provided that the following # conditions ...
[ "chris.pa.davis@gmail.com" ]
chris.pa.davis@gmail.com
29fba49053b602e1a4fd38b60a029bb58e9f89af
1e09be95bb410c091860982f1569c5346992ccc5
/AutoDebias/baselines/CausE.py
228a1809e3bfbd78bf0ab76906340328217a8e83
[ "MIT" ]
permissive
colagold/RepetitionAlgorithm
1410855f125ecc54ba4c4e3aa0be4cbef2c6a48b
0112d73e29ac63fb6c4f4e22f851e6672c302e6c
refs/heads/master
2023-09-05T16:00:07.428209
2021-11-10T12:00:44
2021-11-10T12:00:44
418,433,782
4
0
null
null
null
null
UTF-8
Python
false
false
8,007
py
import os import numpy as np import random import torch import torch.nn as nn from model import * import arguments import utils.load_dataset import utils.data_loader import utils.metrics from utils.early_stop import EarlyStopping, Stop_args def setup_seed(seed): torch.manual_seed(seed) if torch.cuda.is_ava...
[ "1346380661@qq.com" ]
1346380661@qq.com
8f64ee6336f681650a0dd495cc61921e035cd197
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/246/26430/submittedfiles/testes.py
12faf80c31b214c2cbf4b4d9142d76efdbdfe08c
[]
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
100
py
# -*- coding: utf-8 -*- from __future__ import division #COMECE AQUI ABAIXO a = 5.2 print('%d' %a)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a2dbc886b9861378eedfc1ff9a9e22384c135b00
c933e9f705aca2586a866cbb489804eb37103b6f
/Archives/test1/FELion_avgSpec.py
aa5add61b82b239d11784740f3456b9d817062b8
[ "MIT" ]
permissive
aravindhnivas/FELion-Spectrum-Analyser
ce49b6b23323a5e58df0cd763e94129efccad0ff
430f16884482089b2f717ea7dd50625078971e48
refs/heads/master
2020-04-08T00:24:30.809611
2019-08-29T14:21:44
2019-08-29T14:21:44
158,850,892
0
1
null
null
null
null
UTF-8
Python
false
false
6,136
py
#!/usr/bin/python3 import os import numpy as np import pylab as P import sys import copy from os import path from scipy.optimize import leastsq from FELion_normline import norm_line_felix from FELion_normline import felix_binning from matplotlib.ticker import MultipleLocator, FormatStrFormatter, NullFormatter, NullLoc...
[ "aravindhnivas28@gmail.com" ]
aravindhnivas28@gmail.com
9c9c5ab28f50c4805bc5f3749bffb7f5979136de
ba567a54a54ca54607302c6860f05620b18ef8f9
/Content/Compute/Lambda/WorkloadManager/src/lambda/main.py
370a786523be751d183d3db840a6852a23f4f0aa
[ "Apache-2.0" ]
permissive
gurramd/cloudcentersuite
c9a24bb5864cb948f9a1ba65de39adbd3c142632
82e00457404562f278120480e19c2440c7f3a0ec
refs/heads/master
2020-05-14T00:56:39.282849
2019-04-16T11:39:15
2019-04-16T11:39:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
import os import sys from util import * from lambda_management import LambdaManagement import json try: function_name = os.environ["functionName"] function_description = os.environ["functionDescription"] run_time = os.environ["runtimes"] app_package = os.environ["appPackage"] role_for_lambda=os.e...
[ "suryamsc05@gmail.com" ]
suryamsc05@gmail.com
81913a058df3768444ce74f18b1d6eb66f3e3893
deca7b96384e8195d728ad1f32d72fc4cb662cef
/trace.py
06ab35f5d860853ef1596db2320aa1bf1ac5ab07
[]
no_license
kaelspencer/vmenu
c5ee19584b501927f8d1eb26e7963d1c15d4a428
bab4120408469676c5cef1e2a4e6b6512e274ed1
refs/heads/master
2021-01-22T00:59:38.568147
2015-01-25T19:41:44
2015-01-25T19:41:44
18,473,974
0
1
null
null
null
null
UTF-8
Python
false
false
327
py
from time import time import logging def trace(f, *args, **kwargs): return tracen(f.__name__, f, *args, **kwargs) def tracen(name, f, *args, **kwargs): logging.debug('%s start', name) start = time() ret = f(*args, **kwargs) end = time() - start logging.debug('%s end: %.3f', name, end) retu...
[ "kaelspencer@gmail.com" ]
kaelspencer@gmail.com
ac087b05674afb1c7abb90905bdb696642f5ef53
ec41617e83de6fdd484a1db282bf48bb391a6ea4
/typeshed/aiostream/stream.pyi
67c4d10451254a3a90b7bd058b89fdeb023651f0
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
tsufeki/python-restclientaio
4e06bf8fb78a604539d324949f903f66062a5e83
2af2ded9e22ba5552ace193691ed3a4b520cadf8
refs/heads/master
2021-01-01T20:12:53.593465
2017-08-07T18:51:35
2017-08-07T18:51:35
98,786,459
0
0
null
null
null
null
UTF-8
Python
false
false
502
pyi
from typing import List, Iterable, Awaitable, AsyncIterable, \ AsyncContextManager, Union, TypeVar _T = TypeVar('_T') class Stream(AsyncIterable[_T], Awaitable[_T]): def stream(self) -> 'Streamer': ... def __getitem__(self, index: Union[int, slice]) -> Stream[_T]: ... class Streamer(Stream[_T], Asyn...
[ "tsufeki@ymail.com" ]
tsufeki@ymail.com
ef940fafaa11ac195895d0192558f881c09f9ac8
e480ca9d627a364f5c9b64424fe637e77a59d717
/text_based_game.py
f8fe74f9b389e6e65424c499508d3a83de17ff8c
[]
no_license
acbahr/Python-Practice-Projects
ecf9b60cc578274183e981f749e80149fc5fdcb8
43c277726dbb770e6598afc4f34e07a9f97473a2
refs/heads/main
2023-02-28T13:38:43.713737
2021-01-28T07:20:44
2021-01-28T07:20:44
333,669,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,661
py
# This is a story with alternate endings and routes one can take. Each choice leads to a different outcome. character_attributes = {'names': ['aaron', 'kandee'], 'locations': ['maui', 'rome', 'machu pichu']} # travel = fly (don't trust cruises due to the rona) # AARON AND kANDEE VACATION TEXT BASED GAME print('\nOne ...
[ "noreply@github.com" ]
acbahr.noreply@github.com
65b087c8cc7f23933fbaadf58ced035e04d11596
4f8900cb2474282ae355a952901df4bc9b95e81c
/mooring/migrations/0158_auto_20210323_1119.py
2a70da15655e21cf1a2dbcf79c1fe0df2d426cc8
[ "Apache-2.0" ]
permissive
dbca-wa/moorings
cb6268c2b7c568b0b34ac007a42210fd767620f7
37d2942efcbdaad072f7a06ac876a40e0f69f702
refs/heads/master
2023-06-09T04:16:57.600541
2023-05-31T05:50:55
2023-05-31T05:50:55
209,494,941
0
6
NOASSERTION
2023-05-22T04:56:38
2019-09-19T07:53:30
Python
UTF-8
Python
false
false
559
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-03-23 03:19 from __future__ import unicode_literals import django.core.files.storage from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mooring', '0157_vessellicence'), ] operations = [...
[ "jason@digitalreach.com.au" ]
jason@digitalreach.com.au
946e7d214f0b4cd9586a5b90853ff0bf3d07fa88
97df2c66247e02082a68194bf1e5fb3d01c96468
/daemon/stores/containers.py
4c2aab53fa6e73d5496047af7451d044e881087e
[ "Apache-2.0" ]
permissive
VenusTokyo/jina
fecd8ecb35928158f436ada90e773c4eccbf7b64
4265163fafe499f80dc52be4a437087bf3c1799f
refs/heads/master
2023-07-31T13:18:51.727331
2021-10-02T12:22:59
2021-10-02T12:22:59
407,812,228
1
1
Apache-2.0
2021-10-02T12:23:00
2021-09-18T09:10:57
null
UTF-8
Python
false
false
12,102
py
import os import sys import asyncio from copy import deepcopy from platform import uname from http import HTTPStatus from typing import Dict, TYPE_CHECKING, Union import aiohttp from jina import __docker_host__ from jina.helper import colored, random_port from jina.enums import RemoteWorkspaceState from .base import ...
[ "noreply@github.com" ]
VenusTokyo.noreply@github.com
dd2183a5edf45184db4142f6a18c37dda7297669
f66ca310db65faedb9c097d5b5fa14a9ecddf8f5
/climate/classes/MonthlyReport.py
4dae73f5d9d9adb6c0512110f450b51106ab4bb6
[]
no_license
zivatar/thesis
6fdae954007c427da84dce48771030dfd0b80418
19cfe2e56ff21644d97cc9da403614b48de854d9
refs/heads/master
2022-12-13T05:00:02.584101
2020-03-01T13:55:23
2020-03-01T13:55:23
83,134,676
0
0
null
2022-12-07T23:45:41
2017-02-25T13:48:51
Python
UTF-8
Python
false
false
8,183
py
import simplejson as json from climate.classes.Report import Report from climate.classes.Climate import Climate from climate.classes.Month import Month class MonthlyReport(Report): """ | Monthly report | managed: False """ class Meta: managed = False def collect_daily_temperature(se...
[ "macgyver1024@gmail.com" ]
macgyver1024@gmail.com
83acc424ef522d4a277c229a5bf815d13d2ec91d
3fb13cab1fafe157d323d6e9d6598e0d86fe9191
/16HaarCascade.py
bf683fb21ab227503c8cd5b03612ebe924e38f5f
[]
no_license
swallowsyulika/OpenCV_practice
5800016b2b21b2d58d718206d37ea50ac55ef4c5
f450658ef9e69526e5a398c08b2fc05e0fdc519c
refs/heads/main
2023-08-11T07:14:07.678694
2021-10-12T10:02:33
2021-10-12T10:02:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
import cv2 import numpy as np face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') mouth_cascade = cv2.CascadeClassifier('haarcascade_smile.xml') cap = cv2.VideoCapture(0) num = 0 while True: ret, frame = cap.read() gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) faces = face_cascad...
[ "nooseeleaf@gmail.com" ]
nooseeleaf@gmail.com
4c2e7947c80e872883c19b38280b6b3b8dfdd207
2f69a8bf8bf8e097525ed2aedf9bd0f0dad32e3f
/newfile/roblox-claimable-group-finder-main/lib/threads.py
487261ace6a446703ddf5194a988c13e7d9afff1
[ "MIT" ]
permissive
hetrom111/ok
17ba3d788938cb2594269739582812db12d221f4
fc1c5097fdeb4382b6690fa82bb0e11db0eea651
refs/heads/main
2023-09-05T15:57:43.520147
2021-11-09T12:38:36
2021-11-09T12:38:36
426,201,398
0
0
null
null
null
null
UTF-8
Python
false
false
5,935
py
from .constants import GROUP_API, GROUP_API_ADDR, BATCH_GROUP_REQUEST,\ SINGLE_GROUP_REQUEST from .utils import parse_batch_response, make_http_socket, shutdown_socket,\ send_webhook, make_embed from datetime import datetime, timezone from time import time, sleep from json import loads as json_loads from zlib i...
[ "noreply@github.com" ]
hetrom111.noreply@github.com
2c0f82e91b7900c543eed69d0120e0797d1662ca
b171ee654417e7a953837dda965b2f6a420d715d
/mytestproject/manage.py
6bee2d9f6a4bd23f63cf81d168f663d4edff60f2
[]
no_license
Qurbonov-AA/DjangoRestFramework
45a464f31cc31e140351f0df9473f7d74d877dd5
d9f77214ca184e89161ab71376c452163c27318a
refs/heads/master
2023-05-14T01:17:58.841584
2021-06-13T12:35:39
2021-06-13T12:35:39
376,248,849
1
0
null
null
null
null
UTF-8
Python
false
false
669
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mytestproject.settings') try: from django.core.management import execute_from_command_line excep...
[ "akmal.q@jafton.com" ]
akmal.q@jafton.com
576a6b4f84ba33b136094930fd0af3facaf312c4
daaf640a700260b48ea9b17cbd6374ae1ee10de1
/my_django15_project/my_django15_project/wsgi.py
1d3fc214a5bb0928aabf7e01d056a017c7816f32
[]
no_license
newton2304/my-first-blog
b0a93896bd5dd271963a8e05332187b71ef00fb8
4c1ae43d422f3cf037c8972577a644af44a89786
refs/heads/master
2021-01-10T07:09:43.615525
2015-05-29T17:41:11
2015-05-29T17:41:11
36,519,985
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for my_django15_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "my_django15_project.settin...
[ "newton2304@gmail.com" ]
newton2304@gmail.com
df8e74cca7548aa19d7339e3fcc38319a3c182b6
bc0d9f8089fddd2a7a2c17c08c79af1e644dd591
/src/bbru/__init__.py
c3806e309e148e94d5c9e5da876afffe9b063f66
[]
no_license
ilshad/bbru
d5f2463b4aa60907ac3acfc373916b6f0f0e0783
c56a6e7def8a247928a09f95183f2da4032bcc5a
refs/heads/master
2016-09-03T07:40:24.989323
2010-10-14T22:11:01
2010-10-14T22:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
# coding: utf-8 # This code was developed for http://bluebream.ru by its community and # placed under Public Domain. # для удобства импортируем из корня from bbru.localsite.interfaces import ISite
[ "astoon.net@gmail.com" ]
astoon.net@gmail.com
f8914046922f01b8b6ee22db455ede2d79514d26
72849fa61d1966dddde110943d1ee80761eccd89
/src/OldStateEstimator/2020.09.08_auvStateEstimator/test.py
d32874e40b40e6d95dfb8b3eb3847b5a79bdd25e
[]
no_license
mfkiwl/AuvEstimator
c474d5d675a0cf7d819c5e3cad8b6ea37399d746
471754d81219bd6d8da283fcfded1d334eae5412
refs/heads/main
2023-04-15T06:06:15.368061
2021-04-30T00:14:56
2021-04-30T00:14:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
import numpy as np import matplotlib.pyplot as plt from math import sqrt, cos, sin, atan2 def rbt2map(xrf,yrf,xr0,yr0,psi0,xm0,ym0): # Converts pose in the robot frame to pose in the map frame # Calculate translations and rotations in robot frame Txr = xrf-xr0 Tyr = yrf-yr0 # Calculate intermedia...
[ "awong3@andrew.cmu.edu" ]
awong3@andrew.cmu.edu
2c468df5c843d206e98f51df943af1f388985ab2
55d097123f4695bd3020c32f3454fda3a3b7f386
/code/heart_sounds/feature_enhance2.py
6906d2fd335d3afae8bfa792a1cc386703dd5745
[]
no_license
wglnngt/heart-sound
54e52866d5a22c8014ecbf9b350494b25722a6c4
43a7c4c571841851b1443970f91c3c66afeffe36
refs/heads/master
2022-09-09T22:38:42.981758
2020-05-28T11:06:38
2020-05-28T11:06:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,263
py
import numpy as np import csv import os import wave import librosa import math import pandas as pd from scipy.stats import skew, kurtosis from scipy.fftpack import dct from utils import undersampling from stacking_method import model_training_stack import signal from python_speech_features import mfcc import pywt """ N...
[ "chenjianfei16@jd.com" ]
chenjianfei16@jd.com
420add03aec6f4d46ad9a81f655c1dbf2d97933d
66b1c2fb8fe1bd5222c78e2fde3087a45685646e
/doubt_folder/file1.py
4fc265daa64dda824e8113babf73138e9db29733
[]
no_license
nsharma0619/pythonbatchwac
a12233359d1dcf87c01a164381d49b7818631cb6
f2c878c47e6a610170366c86d2879b86019ab0c3
refs/heads/master
2023-01-30T03:40:59.285379
2020-12-07T12:17:37
2020-12-07T12:17:37
310,302,491
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
def printforme(): print("hello there i am printforme function and i will print this thing") if __name__ == "__main__": print("i am in file1")
[ "nsharma0619@gmail.com" ]
nsharma0619@gmail.com
30f2fce99a7623512eae080861a761697a855b10
7275f7454ce7c3ce519aba81b3c99994d81a56d3
/sp1/廖学峰/yield函数.py
84e282134cb93d421a55e7284fcbd097a0ef13ab
[]
no_license
chengqiangaoci/back
b4c964b17fb4b9e97ab7bf0e607bdc13e2724f06
a26da4e4f088afb57c4122eedb0cd42bb3052b16
refs/heads/master
2020-03-22T08:36:48.360430
2018-08-10T03:53:55
2018-08-10T03:53:55
139,777,994
0
1
null
null
null
null
UTF-8
Python
false
false
406
py
def h(): print ('Wen Chuan') yield 5#就是个生成器 print ('Fighting!') print ("xxxxx") return c = h() print(next(c))#第一次生成到yield就停止 print(next(c))#第二次从yield下面开始 #yield 的作用: yield可以看出是“暂停”了函数的执行, #然后在调用函数的.next() 方法之后, 函数开始执行直到下一个 yield的表达式。
[ "2395618655@qq.com" ]
2395618655@qq.com
c6b8c919972b891ce2bb0d8ec469c528a40a618c
478b4edbb35f39f745a410d9bf7634ba78dd6483
/datastructures/graph/bfs_traversal.py
8e84ba102586ec80cf5ba18a84c8eb5709b5cb75
[]
no_license
mohanakrishnavh/Data-Structures-and-Algorithms-in-Python
8fc6614bde943322e36333ba6d68f0d808d9324c
e392086d7ee381aebe2804c170a7e69cf590ca4b
refs/heads/master
2021-06-04T18:02:07.385620
2020-05-17T13:03:40
2020-05-17T13:03:40
143,103,689
2
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
from datastructures.graph.Graph import Graph from collections import deque def bfs_traversal(graph, source): """ Time Complexity: O(V + E) """ result = [] traversal_queue = deque([source]) while traversal_queue: # Pop the vertex from the queue & add it to the result current_ve...
[ "mohanakrishnavh@gmail.com" ]
mohanakrishnavh@gmail.com
1519652a231ca7e0759337ed965d5244ac2f0f3e
9da5fcf3488c4be56784e91ed1ae001ce8212af0
/pipelines/adult_preparers.py
22f2895b990e1e75549179617c96e3f62f22b62b
[ "MIT" ]
permissive
leanguardia/msc-project-pipelines
db5aad8f2901f39e5dcfa3c2362fb1a677eceb91
87d3af747ce390df0448f9fb1db4115f36df67ce
refs/heads/master
2023-01-08T19:34:34.560708
2020-11-13T01:44:56
2020-11-13T01:44:56
285,151,592
0
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
import numpy as np from pipelines.transformation import dummify from pipelines.preparer import Preparer from pipelines.adult_schema import adult_schema class AdultPreparerETL(Preparer): def __init__(self): super(AdultPreparerETL, self).__init__(adult_schema) self.input_validator.add_validators(sel...
[ "lean.guardia93@gmail.com" ]
lean.guardia93@gmail.com
cf3a839946fb8122061a8aab6318284a726438e0
eac5d8cb1fce89af0794f560461231d9c23dd530
/sift.py
e83e2bde1042aaa76addbff6757d487b8726dabc
[ "MIT" ]
permissive
DongChengdongHangZhou/sift
9205383c0beb4e17fc5bba92245e8973c24923d1
9ff2195933e4931aeffa9b5fffd749743b480e8a
refs/heads/main
2023-07-23T06:40:10.890224
2021-08-27T07:02:09
2021-08-27T07:02:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,715
py
import matplotlib.image as mpimg import matplotlib.pyplot as plt image1 = mpimg.imread("3.bmp") image2 = mpimg.imread("4.bmp") plt.figure() plt.imshow(image1) plt.savefig('image1.png', dpi = 300) plt.figure() plt.imshow(image2) plt.savefig('image2.png', dpi = 300) import cv2 import time # 计算特征点提取...
[ "noreply@github.com" ]
DongChengdongHangZhou.noreply@github.com
2eb9864ff832a3a0fe802a6f917a4a80bccc3d9f
392b190de3a04f5d437dee56fe03361478741f24
/Backup/20170324024512/LaTeXTools/bibliography_plugins/newBibliography.py
1af98ba1d8fa56ca09dc8732daf1d903b639e5f1
[]
no_license
nikhilhassija/st3-config
c691c30fc53e1c8ef18358914759a30c3dc46f71
75165813ad67166dbcae44dbac38884c4857bf1c
refs/heads/master
2021-01-01T15:32:45.307474
2017-07-29T11:07:50
2017-07-29T11:07:50
97,637,945
0
0
null
null
null
null
UTF-8
Python
false
false
4,856
py
from latextools_plugin import LaTeXToolsPlugin from external.bibtex import Parser from external.bibtex.names import Name from external.bibtex.tex import tokenize_list from external import latex_chars from latextools_utils import bibcache import codecs from collections import Mapping import sublime import traceback ...
[ "nikhil.hassija@gmail.com" ]
nikhil.hassija@gmail.com
133f85e0376eb70eb1c5335387a08dd630b1e713
23c6f46572a13b4febbaec8854745ec6cc99c996
/onnx_tf/handlers/backend/q_linear_conv.py
083d29e9426fe1feef54af14079b590b4cff356d
[ "Apache-2.0" ]
permissive
ashwinr64/onnx-tensorflow
ff732875747b42c7c67586b5d7df96e9bfa78cf6
1980caca5a128e2f7fb8b82e1dada5b3989140c0
refs/heads/master
2022-08-16T16:53:31.720678
2020-05-19T18:19:55
2020-05-19T18:19:55
266,281,693
1
0
Apache-2.0
2020-05-23T07:04:23
2020-05-23T07:04:22
null
UTF-8
Python
false
false
2,335
py
import tensorflow as tf from onnx_tf.handlers.backend_handler import BackendHandler from onnx_tf.handlers.handler import onnx_op from .conv_mixin import ConvMixin @onnx_op("QLinearConv") class QLinearConv(ConvMixin, BackendHandler): @classmethod def _dequantize_tensor(cls, base, zero_point, scale): # Do com...
[ "chhuang@us.ibm.com" ]
chhuang@us.ibm.com
0ff7a49a3c962c569d98dc7b1e3d5efd3cbd7f2e
8b89797b16820bd5c8b01bbb49bc0176d64e7bfc
/src/GUI/slider.py
50a6077e0f2a2f978d247fba6544b67dee963ad1
[]
no_license
basuluu/Equalizer
1bda11c4f9aaaad24a659ea685d9eedad00e071c
7cbe38c3a30c44261348996b8346f0435f50d835
refs/heads/master
2022-11-23T12:50:30.573065
2019-07-01T09:43:53
2019-07-01T09:43:53
194,638,833
0
1
null
2022-11-22T03:54:46
2019-07-01T09:08:31
Python
UTF-8
Python
false
false
885
py
from tkinter import * class Slider: def __init__(self, filter_, master): self.scale = Scale(master, resolution=1, from_=67, to=0, width=60, activebackground="black", showvalue=0, command=self.onChange) self.scale.set('33') self.label = Label(master, text=0, font=("Helvetica", 12), height=...
[ "severok1077@mail.ru" ]
severok1077@mail.ru
eee0365216c2e30319d84a343c944c9d404dca71
129f435c765b72ee377e0303f634fb05de92a479
/scripts/test_login.py
331ecc6bb1993337ae43b7adbfcff213436a9a08
[]
no_license
cattree1/jenkins_project
9538f6566f04919a589fe52a220e1e0d7639c481
7c278bb4d90ccee223f23bceac26227b2d5e5940
refs/heads/master
2020-07-31T12:50:04.811082
2019-09-26T14:58:05
2019-09-26T14:58:05
210,609,335
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from base.base_driver import init_driver class TestLogin: def setup(self): self.driver = init_driver() def teardown(self): self.driver.quit() def test_login(self): print("hello") def test_login1(self): assert 0
[ "807265791@qq.com" ]
807265791@qq.com
5fd9e18f04fb7261e3dbb249063971e1fff84091
0388b9940c1dd4db259c8ce5f5cd728932939a23
/bubble_sort_main.py
150e8bb37ba2949d589d76933bfebbc408de7e0b
[]
no_license
BloodyPhoenix/VIP_bubble_sort_tips
8d8593df0132ecf413016d7ab98beacc2b66ab02
95340fe9aafef637a55bfede499f1c11654a4d92
refs/heads/master
2023-05-09T07:07:52.858913
2021-06-06T15:26:42
2021-06-06T15:26:42
374,392,537
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
# -*- coding: utf-8 -*- import copy import bubble_sort_engine import bubble_sort_setup def bubbles_sort(): print("""Добро пожаловать в приложение, помогающее проходить игру Bubble Sort и ей подобные! Для того, чтобы начать, нажмите Enter""") input() print("""Сейчас вам нужно будет задать начальные у...
[ "mchashchina@gmail.com" ]
mchashchina@gmail.com
bb1c1189e5ccf4de06ca9ace67b63ad4cdc1739a
f9c5260fbc31972e931a17a79b90959345305e6f
/webapp/website/podcast/urls.py
ebad2022f668cf2225b2402e0f0a806002da5bcf
[]
no_license
tosborne1215/ColdOnesPodcast
9799a9d785ec9ac610c99db1fed4faf39f3a8bc4
34abe068d1be837ba16f472c614f4dcd12915fca
refs/heads/master
2020-03-14T13:35:23.705366
2018-10-19T03:08:54
2018-10-19T03:08:54
131,636,317
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
"""website URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "tosborne1215@gmail.com" ]
tosborne1215@gmail.com
074470dd0fa688eec27d55563a18b2e2ec5a6553
ae29385e73c6fe7a1f8f3b0ff4f1c515cdcffb08
/pywikibugs.py
5e52678dd767caa977873c8755189e5aeaef74d0
[]
no_license
pywikibot/pywikibugs
078b53084d990c7e3beabe95ca55c1a81b08b884
e86a51bde81985387c5612c07c90e6715ba08760
refs/heads/master
2020-05-18T20:49:36.047148
2013-09-25T03:03:48
2013-09-25T03:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
#!/usr/bin/python # (C) Legoktm, 2013 # (C) Pywikipediabot team, 2013 # Released under the MIT License from __future__ import unicode_literals import re import requests from mtirc import bot, hooks, settings config = dict(settings.config) config['nick'] = 'pywikibugs' config['debug'] = False config['disable_on_errors'...
[ "legoktm@gmail.com" ]
legoktm@gmail.com
bc749c94a7e9f16ca9886f932249f24e0a270ea8
19687d24e83a67865ed90f31b830922d425ac5ab
/auto.py
5f12e77afbd1ad4520cf3b7949e3ac785de5880a
[]
no_license
klapperys/Spotify-Python-Media-controls
08fe62b21a4d295cb365af69008a490ca9cf8a61
72f08c58c2f3f4514a3d11e69041875d3d886461
refs/heads/master
2020-04-10T21:19:44.577905
2018-12-11T07:36:22
2018-12-11T07:36:22
161,293,774
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
#!/usr/bin/python3 import pyautogui import subprocess import argparse #get current workspace workspace = subprocess.run(['./workspace.sh'], stdout=subprocess.PIPE).stdout.decode('utf-8').split('\n')[0].split(')')[0].split('(')[1] print('Curent Workspace: ' + workspace) mouse_pos = pyautogui.position() # Instantiate...
[ "noreply@github.com" ]
klapperys.noreply@github.com
51f1039e6e06aaaeb2eebeec4efa0727b1cf99fb
c09a06ef8693c1cdd1af5211924ae38c8401c908
/newbie.py
acf7fb6e2c9892620ca6d4183566aabcdfdf13ef
[]
no_license
Kebumen-Grey-Hat/ChatBot
befcc42c00630fac519413d7666c3bfa2e8f52f6
62f01b8a576ddff816239da3f48e2cdccd5a7d21
refs/heads/master
2022-09-03T13:04:51.544042
2020-05-25T16:27:34
2020-05-25T16:27:34
266,113,542
1
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
from requests import Session import re, sys s = Session() no = int(input("No : ")) msg = int(input("Pesan : ")) headers = { 'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0.1; ASUS_A007 Build/MMB29P; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile Safari/537.36' 'Referer'...
[ "aldoraimas@gmail.com" ]
aldoraimas@gmail.com
ecb011d695e08e7bb06c253526edc4831910d3c6
5e9cec01d4f1da811f5b585474b38c8a6dd2127b
/asl-workflow-engine/py/test/workers_blocking_asyncio.py
173270bf56b7d51b8ea58f1916b78f7052f77400
[ "Apache-2.0" ]
permissive
fadams/local-step-functions
e8ffe9830286412d32bcbfe440d5d1c14462099f
fde33568c2bd822c232b585f4eaf1028be20bf5d
refs/heads/master
2023-08-04T08:15:17.659530
2023-07-31T08:06:13
2023-07-31T08:06:13
191,017,454
9
2
null
null
null
null
UTF-8
Python
false
false
8,587
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "fraser.adams@blueyonder.co.uk" ]
fraser.adams@blueyonder.co.uk
83e7813ff8fcbda39b6202c6d8067e847050c658
670f38479e368c71712202a79f9c29810d17b6e6
/blog/migrations/0004_auto__add_field_blog_photographer_name.py
61de687eae38d6ab673efe339db1bf92888cf803
[]
no_license
opendream/livestory
e1855097ba7d5c0430cb3f82678e16efdbe80fb7
675a57959ffc521702049ef8bf00463d4643b4fc
refs/heads/master
2021-01-15T18:03:43.967435
2013-10-02T08:17:51
2013-10-02T08:17:51
3,446,520
0
0
null
null
null
null
UTF-8
Python
false
false
8,722
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Blog.photographer_name' db.add_column('blog_blog', 'photographer_name', ...
[ "panuta@gmail.com" ]
panuta@gmail.com
3227e6ffd710be98752fe6ce6d61315d48df4aea
80de3f5a7e29c0e350e0b43af17a71e4857bdfa0
/main_pages/tests/tests_forms.py
dc022af32910dc0bd1a9fd685ba2cdbf9185f7f1
[]
no_license
AlexiaDelorme/project-spacex
ca5ddcd81c5fdbc70719d850c26ba110160ad5ba
ffecac6fee28b9f9779ca682c64490f7e13a30f1
refs/heads/master
2023-05-25T12:04:31.938573
2023-02-05T14:31:14
2023-02-05T14:31:14
244,375,146
0
1
null
2023-05-22T23:27:35
2020-03-02T13:15:38
Python
UTF-8
Python
false
false
727
py
from django.test import TestCase from main_pages.forms import ContactForm class TestContactForm(TestCase): def test_cannot_send_form_with_just_a_field(self): form = ContactForm({'first': 'Test'}) self.assertFalse(form.is_valid()) def test_correct_message_for_missing_field(self): form...
[ "alexia.delorme@gmail.com" ]
alexia.delorme@gmail.com
dd94b63be58aec2f390e8640515372d3d15f61c9
1c64b0d2b762613ff1711c94f41aa8ced5f25029
/selenium/InstaBot.py
cda4c8de0071ca7edf9dabe6758ad3ef98e6de95
[]
no_license
Ang3lino/auto
c2aeb07d193818e95f6660d8abcde55a7cc0be91
0e7f1817666340ff81f00d87b30f86f6dcc7a787
refs/heads/master
2021-07-14T12:05:28.658223
2021-04-30T00:19:29
2021-04-30T00:19:29
246,199,980
0
0
null
null
null
null
UTF-8
Python
false
false
2,910
py
import random import sys import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException from tqdm import tqdm def print_same_line(text): sys.stdout.write('\r') sys.stdout.flush() sys.stdout.write(text) sys.stdou...
[ "sigma271@outlook.com" ]
sigma271@outlook.com
8700468a4e3c98b55a0eef668ba0cbfe06acb303
2e9b974a8249d6deb1220ae426f9b42088be3d1a
/api/.~c9_invoke_iQvS0H.py
130e88cdee90751a67ddfaa869d0a03bd17c7135
[]
no_license
Freddec-Ingress/MyIngressMosaics
2238ad0ecf4764de3a8990a2d8110de13d9c0b46
765fc47435e8640ee3416a2cf8a560fda4444acb
refs/heads/master
2020-12-30T22:31:13.343570
2018-07-19T14:27:58
2018-07-19T14:27:58
95,421,447
1
1
null
null
null
null
UTF-8
Python
false
false
20,889
py
#!/usr/bin/env python # coding: utf-8 import json from rest_framework import status from rest_framework import viewsets from rest_framework.response import Response from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import IsAuthenticated, IsAuthenticatedOrReadOnly, All...
[ "deconinck.frederic@yahoo.fr" ]
deconinck.frederic@yahoo.fr
d4eb77db9b7726504b090591c1dfc46b5efe988e
ea49dd7d31d2e0b65ce6aadf1274f3bb70abfaf9
/problems/0264_ugly-number-ii/solution.py
91e0790f61309372e271b7a2ff6231de0cd245d9
[]
no_license
yychuyu/LeetCode
907a3d7d67ada9714e86103ac96422381e75d683
48384483a55e120caf5d8d353e9aa287fce3cf4a
refs/heads/master
2020-03-30T15:02:12.492378
2019-06-19T01:52:45
2019-06-19T01:52:45
151,345,944
134
331
null
2019-08-01T02:56:10
2018-10-03T01:26:28
C++
UTF-8
Python
false
false
340
py
class Solution: def nthUglyNumber(self, n: int) -> int: ids = [0, 0, 0] uglys = [1,] for i in range(1, n): a = uglys[ids[0]] * 2 b = uglys[ids[1]] * 3 c = uglys[ids[2]] * 5 min_ = min(a, b, c) if a == min_: ids[0] += 1 if b == min_: ids[1] += 1 if c == min_: ids[2] += 1 uglys.append(min_)...
[ "xuzuhai163@163.com" ]
xuzuhai163@163.com
d32b24c6e808c080f9232d7be4d87ba552ad7c93
8a18517d6aa8464e1fac75d7801b85b682f42c6b
/tests/__mocks__/pika.py
dc56896081e56148d83b633cc59f748658e4e7b0
[ "MIT" ]
permissive
rasyadhs/rabbitmq-python-adapter
68f24da78c9c1e723fba65c7482ec95ff9977795
0a01a982040526a867a936586055abaa9e529f8b
refs/heads/master
2022-01-13T03:42:00.751577
2019-06-29T20:06:31
2019-06-29T20:06:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
class Channel: def __init__(self): pass def exchange_declare(self): pass def queue_declare(self, queue, durable): pass def queue_bind(self, queue, exchange): pass def basic_qos(self, prefetch_count): pass def basic_consume(self, queue, on_message_callback): pass def start_consuming(self): pa...
[ "delucca@pm.me" ]
delucca@pm.me
b68cf92089929f2110352f2f4eb1280d4458603c
64825bc67c5b110cf5431af85bb17e080f549722
/rate_recorder/rate_scraper/settings.py
780f56a6075ff103518f0014cb2347940badaa12
[]
no_license
quratulain25/RateRecorder
08a7062863a8963e19e132f649d7626a9335e08a
477477805ddcf1a81e19d228229abc483eceec2d
refs/heads/master
2023-06-28T08:18:16.592263
2021-08-04T07:29:00
2021-08-04T07:29:00
382,623,761
0
0
null
2021-07-06T18:50:24
2021-07-03T13:34:54
null
UTF-8
Python
false
false
3,518
py
# -*- coding: utf-8 -*- # Scrapy settings for rate_scraper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/l...
[ "quratulain@arbisoft.com" ]
quratulain@arbisoft.com
0ae814ba961f86c656ad2740c22ee6395fab08a0
a689ed08848b9720d6cc5247380cb8198ba884f9
/rules/php/CVI_1011.py
0b04bf075c61d5b1a49fbf0f9c71b0a870f4d322
[ "MIT" ]
permissive
DictionaryHouse/Cobra-White
72ec08973ca38b69dec77be30660d75beba81b96
3bc1a50d300c64cc53a3f79c767e2dc3b05efe7d
refs/heads/master
2021-08-18T16:34:56.130546
2017-11-23T09:00:23
2017-11-23T09:00:23
111,886,667
1
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
# -*- coding: utf-8 -*- """ CVI-1011 ~~~~ Remote command execute :author: LoRexxar <LoRexxar@gmail.com> :homepage: https://github.com/LoRexxar/cobra :license: MIT, see LICENSE for more details. :copyright: Copyright (c) 2017 LoRexxar. All rights reserved """ from cobra.file import ...
[ "lorexxar@gmail.com" ]
lorexxar@gmail.com
ba2eeea330b4ea20383b5a962bc8097161c2bada
86f725b8c2d5be364c70ee959215d7dd7a904767
/chapter4/copy.py
3fa278cac1758e78ea9e3426b3b9711a013ad9ba
[]
no_license
whsasf/python
676a917835d94eb577e6313a56594e761e79f84f
98344ee5afc4ef92022c36943e08361a241b2c9e
refs/heads/master
2021-01-24T23:24:05.120031
2018-07-18T05:33:45
2018-07-18T05:33:45
123,283,171
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
#!/usr/bin/env python import copy a = {'user':'ram','num':[1,2,3]} print id (a) b = a print id (b) c = a.copy () print id (c) d = deepcopy (a) print id (d)
[ "whsasf@126.com" ]
whsasf@126.com
92adf06443b5aeab357aede04f2016bbca16aa45
320b8c9920d00b3ad714543e53993d9313f8a11f
/FIND ALL FOUR SUM NUMBERS/main.py
fb5fbf9aabd6be5fffbc0ff997e5cd8c34b00998
[]
no_license
s0409/DATA-STRUCTURES-AND-ALGORITHMS
6c6e7e81d7b0b92399645f32536c66440f43748e
fd0762878859aeda5f0dc08332edecb5e80ed2ff
refs/heads/main
2023-07-06T21:51:55.582015
2021-08-15T11:16:35
2021-08-15T11:16:35
391,643,159
1
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
def foursum(arr,n,k): n=len(arr) ans=[] if n<4: return ans arr.sort() for i in range(0,n-3): #current element is greater than k then no quadruplet can #be found if arr[i]>0 and arr[i]>k: break #removing duplicates if i>0 and arr...
[ "noreply@github.com" ]
s0409.noreply@github.com
bf02edfd8725f08f0c3cb77c29cd37d4d369fe10
d1b80acd75e9138adf6ee070ddd5d02981544dc7
/rigl/sparse_utils_test.py
aa5d6704e32971da13b277d33d3b72ab1c96f27a
[]
no_license
kaileymonn/RigL-Experiments
e27d84c649059d78d6e0f01f5d0749969b66c6ff
b162653d8c7fe886fdcdd3abb9fd857c94366ac2
refs/heads/master
2020-12-05T06:59:51.526153
2020-07-08T18:26:30
2020-07-08T18:26:30
232,041,429
0
0
null
null
null
null
UTF-8
Python
false
false
6,088
py
# coding=utf-8 # Copyright 2019 RigL 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 agree...
[ "kaileymon@gmail.com" ]
kaileymon@gmail.com
0ea6cd5922f4f8e8516149615e7c04ede7c224bf
15dd0a0b4a44481259d937af425591bb7c5a5109
/manage.py
d5e9a9828cfca196a026ddc2406099413c1f39f2
[]
no_license
Drew81/ForoMarbleCalculator
7cd13c228ce66428b52835ff323afdd09d3ea151
803e8956cbc9ed3b4c3bd54b16812dced490d86c
refs/heads/master
2020-04-11T23:17:16.386484
2019-04-18T15:00:55
2019-04-18T15:00:55
162,069,810
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "matcal.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are y...
[ "andrewgilbert81@gmail.com" ]
andrewgilbert81@gmail.com
a74e5dccff64ec1c98ba218b71323dc71cefd602
2a26a285bdb730f7d915800802baa5490c64692b
/bigml/generators/boosted_tree.py
96fb4a2805bb615010f7a83487da3bc6f92f33f6
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jaor/python
87ee7aca2a21d6097f7dac7c3ad0eba74bb4c60b
22698904f9b54234272fe2fea91a0eed692ca48a
refs/heads/master
2023-08-08T01:15:27.878709
2023-08-02T20:58:39
2023-08-02T20:58:39
4,218,987
0
0
null
null
null
null
UTF-8
Python
false
false
4,269
py
# -*- coding: utf-8 -*- # # Copyright 2020-2023 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
8005600941ed22738c2e03eff23041ffaf03ca1f
59080f5116b9e8f625b5cc849eb14b7ff9d19f3d
/练习/练习题/小绿本 p17 1- 30.py
11af9a69c97046adc15811681dea0f1d284c4d0e
[]
no_license
yyq1609/Python_road
eda2bcd946b480a05ec31cdcb65e35b3f3e739d1
e9ba2f47c8dd2d00a6e5ddff03c546152efd8f49
refs/heads/master
2020-09-11T11:51:35.903284
2019-11-11T13:02:21
2019-11-11T13:02:21
222,054,462
1
0
null
2019-11-16T05:58:13
2019-11-16T05:58:12
null
UTF-8
Python
false
false
10,427
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """p3-17""" s = "hello {}".format('henry') """ 43. 将list按照下列规则排序,补全代码 """ # li = [7, -8, 5, 4, 0, -2, -5] # print(sorted(li, key=lambda x: [x < 0, abs(x)])) """ 50. 现有字典d={"a":26,"g":20,"e":20,"c":24,"d":23,"f":21,"b":25} 请按照字段中的value字段进行排序 """ # d = {"a": 26, "g": 20, "e...
[ "958976577@qq.com" ]
958976577@qq.com
05cd662e53f25510e1345d688a990d79b9d89010
32aafc0c131aa7cdc6d238fa0653bc64c12df70a
/Aula07 - Operações aritmeticas.py
c5d8d6af14911203ed145d098712f78b0abede8d
[]
no_license
Vieiraork/Python-Learn
2c2fd747e1fa3e8a28477809f77e29feffaa223e
2af6c1b807f30d7ec543a8c7dd8f5761a6173b4f
refs/heads/master
2022-12-30T05:57:41.423915
2020-10-20T22:08:55
2020-10-20T22:08:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
n1 = int(input('Digite o primeiro número: ')) n2 = int(input('Digite o segundo número: ')) s = n1+n2 su = n1-n2 m = n1*n2 d = n1/n2 di = n1//n2 re = n1%n2 print('A soma vale {}, a subtração value {} e a multiplicação vale {}'.format(s, su, m)) print('A divisão vale {:.2f}, a divisão inteira vale {} e o resto vale {}'...
[ "vieiraork@gmail.com" ]
vieiraork@gmail.com
195283028cc1feebf1833b77d2c0d8fd2e5836f0
dc86f54bf5f514dcdfed8580a8f59c82d6a2e6d9
/Data Scientist with Python- Track/Writing Functions in Python/3. Decorators/3_closures.py
ac63611800d13c4cec594beb06307a1654ddf802
[]
no_license
JPCLima/DataCamp-Python-2020
cff4380979f9cb2476338fe70472654e400730b1
b6b1ebd3d2af0f9a306988fa5374effb96e982eb
refs/heads/master
2023-01-24T06:50:43.792883
2020-11-27T11:35:05
2020-11-27T11:35:05
295,113,104
6
0
null
null
null
null
UTF-8
Python
false
false
785
py
# Checking for closure def return_a_func(arg1, arg2): def new_func(): print('arg1 was {}'.format(arg1)) print('arg2 was {}'.format(arg2)) return new_func my_func = return_a_func(2, 17) print(my_func.__closure__ is not None) print(len(my_func.__closure__) == 2) # Get the values of the variabl...
[ "joaoplima@ua.pt" ]
joaoplima@ua.pt
d88c8868f3af0e74585647dbfe75f28e66c69035
c2c8915d745411a0268ee5ce18d8bf7532a09e1a
/cybox-2.1.0.5/cybox/objects/uri_object.py
1c48683aa3013e98712b3e7bf3aafb554f2f1671
[ "BSD-3-Clause" ]
permissive
asealey/crits_dependencies
581d44e77f297af7edb78d08f0bf11ad6712b3ab
a8049c214c4570188f6101cedbacf669168f5e52
refs/heads/master
2021-01-17T11:50:10.020346
2014-12-28T06:53:01
2014-12-28T06:53:01
28,555,464
1
0
null
null
null
null
UTF-8
Python
false
false
955
py
# Copyright (c) 2014, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import cybox import cybox.bindings.uri_object as uri_binding from cybox.common import ObjectProperties, AnyURI class URI(ObjectProperties): _binding = uri_binding _binding_class = uri_binding.URIObjectTyp...
[ "ssnow@mitre.org" ]
ssnow@mitre.org
87ad3b2fe843b77af5fbc56c4dd5274d06291bfa
c338108b98baa268ddab98d3373aaab9de0990b8
/opendelta/utils/common_structures/t5.py
8150fe2322c1bc5ec7f641f19b21adfe4c1b53c8
[ "Apache-2.0" ]
permissive
thunlp/OpenDelta
491973555f40db5f2678c5260b40640b783b80f2
067eed2304cb1bdfe462094e42a37de4de98edff
refs/heads/main
2023-08-17T10:51:35.731082
2023-08-16T09:50:10
2023-08-16T09:50:10
459,158,400
800
66
Apache-2.0
2023-07-21T08:50:43
2022-02-14T12:45:00
Python
UTF-8
Python
false
false
2,602
py
Mappings = {} t5encoder = {"__name__":"encoder", "embed_tokens": {"__name__":"embeddings"}, "block": {"__name__":"block", "$": {"__name__":"$", "layer.0": {"__name__":"attn", "SelfAttention.q": {"__name__":"q"}, "SelfAttention.k": {"_...
[ "shengdinghu@gmail.com" ]
shengdinghu@gmail.com
85169b2322a3604f9f3ffbdbf3143108ed486497
ae0852611a5946258fcd85865b43313ec4cfc554
/binding.gyp
d36761c061ee729b0ccf30d736af96dedfb0dbfe
[ "MIT" ]
permissive
rhtpandeyIN/node-informixdb
061aadd80dae8c90d98484e9c2bc3a795ad88086
96a380886d85013b246f9ce56dfb250647bace65
refs/heads/master
2021-07-18T11:31:03.222030
2019-05-09T13:39:58
2019-05-09T13:39:58
185,806,210
0
0
null
null
null
null
UTF-8
Python
false
false
3,671
gyp
{ 'targets' : [ { 'target_name' : 'odbc_bindings', 'sources' : [ 'src/odbc.cpp', 'src/odbc_connection.cpp', 'src/odbc_statement.cpp', 'src/odbc_result.cpp', ], 'include_dirs' : [ "<!(node -e \"require('nan')\")" ], 'defines' : [ ...
[ "RohitPa@PROD.HCLPNP.COM" ]
RohitPa@PROD.HCLPNP.COM
4b75f6e418af282330fc60e65238b5a0599af764
4da58b65fd3094c3b0556c7a3108d4cd1ffea0f3
/policy_gradients/reinforce/run_episode.py
d1031d91e64322e5a75a00a3945bb04b6f608d33
[]
no_license
willclarktech/policy-gradient-implementations
b7d6d55910cf6bc25e86368365f58c51b843df24
311276053322272319ffac8206f1e41960495ad7
refs/heads/main
2023-07-25T22:00:18.445628
2023-07-07T13:03:56
2023-07-07T13:03:56
252,439,207
1
0
null
2023-08-19T11:33:14
2020-04-02T11:42:47
Jupyter Notebook
UTF-8
Python
false
false
940
py
from policy_gradients.core import Hyperparameters, TrainOptions from policy_gradients.reinforce.agent import Agent def run_episode( agent: Agent, hyperparameters: Hyperparameters, options: TrainOptions, ) -> float: env = hyperparameters.env should_eval = options.should_eval should_render = opt...
[ "willclarktech@users.noreply.github.com" ]
willclarktech@users.noreply.github.com
cebf0716bc73ae81ca648778249c5ac1ff29c732
2367d735dd36ba26570d40cbdfaf0b9efcccd238
/backend/fresh_26242/settings.py
13d9b117e2b78a3d5be9ff3b51d2a49d850e9277
[]
no_license
crowdbotics-apps/fresh-26242
65e895d0167b64d2946cc6a205c1631e3bd71f76
f0b2306cb670db68a0e00bb5567552de62f2e313
refs/heads/master
2023-04-19T19:57:51.620879
2021-05-06T09:45:42
2021-05-06T09:45:42
364,860,528
0
0
null
null
null
null
UTF-8
Python
false
false
4,734
py
""" Django settings for fresh_26242 project. Generated by 'django-admin startproject' using Django 1.11.16. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5b1879bb6fe6bb8554ee412c5912957f6f4b5efb
e7db91361b481433ad66b9ae8b272631adc90ebe
/feedbackPro/feeedbackApp/forms.py
2f5eeb7551722c2652cb7abb764e618ac09b044f
[]
no_license
mohangirie/feedback
74b3362e1309ee0f358a32500d6166578bf2c2f5
bd9551c468a090cf843e53a987b1c48c14301db7
refs/heads/master
2020-12-02T18:27:56.095952
2020-01-02T09:15:37
2020-01-02T09:15:37
231,079,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
from django import forms class FeedbackForm(forms.Form): name= forms.CharField( label='Enter your Name:', widget=forms.TextInput( attrs={ 'class':'form-control', 'placeholder':'Enter Your Name:' } ) ) rating= forms.IntegerField...
[ "mohangirie@gmail.com" ]
mohangirie@gmail.com
a35ddd9fa845d85d4f58348086ef76de61dadfae
2b2031f068adee8454841c3ea7f07b60b97f5c74
/main.py
b07c1b3dedf5ea3a2d7144cfa87028c38eba41e5
[]
no_license
coristus/aight
8baeb47d4b1f3efd8761bf3249584dcb8822f60f
b845bc950d5fe6de779eadc6e3b8a120facc75b7
refs/heads/master
2021-01-25T05:02:36.344222
2017-06-22T12:16:02
2017-06-22T12:16:02
93,506,167
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
# Test file print "Hello World!!"
[ "jelle4life@gmail.com" ]
jelle4life@gmail.com
534199a4b5489aea921ce31ea9edc14a46a502b9
7bd72524d3746cfd0379a19452d2a0c859d34ec0
/starting-python/dict.py
67c28ecf39486c6ffc53b0cc4cda9903e0d0e0d9
[]
no_license
davidpetro88/python-playground
2da77fdd4408939b8c71dc143b4712718285bfed
1c20fb997d0a4c89818cb1d549aec30938b02741
refs/heads/master
2021-01-12T20:58:52.400967
2017-03-18T01:30:01
2017-03-18T01:30:01
68,545,351
0
1
null
null
null
null
UTF-8
Python
false
false
464
py
cars = {} cars['corola'] = "red" cars['fit'] = "green" cars['320'] = "black" print(cars.keys()) print("Car Corola -> " + cars['corola']) for key, value in cars.items(): print(key + " = " + value) user = dict(name='David', lastName='Petro', city='Porto Alegre') print (user) print ("user name : " + user['name']...
[ "david.abraao.petro@gmail.com" ]
david.abraao.petro@gmail.com
b3d403b20ecf6d9a750d94bc05a0c287a1ee850b
fa5713863cada0177d15e56f5327b79d907a119f
/test/plotobspred_subtractmc.py
13110badf3a296a8dd802f8ee8d406173880dec4
[]
no_license
rappoccio/EXOVV
1500c126d8053b47fbc425d1c2f9e76f14cb75c5
db96edf661398b5bab131bbeba36d331b180d12d
refs/heads/master
2020-04-03T20:12:57.959191
2018-08-24T01:30:03
2018-08-24T01:30:03
39,910,319
4
2
null
null
null
null
UTF-8
Python
false
false
6,178
py
#! /usr/bin/env python ################## # Finding the mistag rate plots ################## from optparse import OptionParser parser = OptionParser() parser.add_option('--hist', type='string', action='store', dest='hist', default = "pred_mvv", help='Input ttbar...
[ "rappoccio@gmail.com" ]
rappoccio@gmail.com
8b734325b692a09963b62a2877da0533267399e5
8ed61980185397f8a11ad5851e3ffff09682c501
/ecto_rbo_dbg/setup.py
431ec17d0d00fdceb2390ca823195994ade7f21e
[ "BSD-2-Clause-Views" ]
permissive
SoMa-Project/vision
8975a2b368f69538a05bd57b0c3eda553b783b55
ea8199d98edc363b2be79baa7c691da3a5a6cc86
refs/heads/melodic
2023-04-12T22:49:13.125788
2021-01-11T15:28:30
2021-01-11T15:28:30
80,823,825
1
0
NOASSERTION
2021-04-20T21:27:03
2017-02-03T11:36:44
C++
UTF-8
Python
false
false
313
py
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( packages=['ecto_rbo_dbg_py'], package_dir={'': 'src'}) setup(**setup_args)
[ "canerdogan.89@gmail.com" ]
canerdogan.89@gmail.com
d022de22576eeddd7059fd2a8a9f2a92b8ad80d8
f291b689f881f85d700fda5937073d644d5ad348
/matchingAuthors.py
9b90f2f34e61b78075de46b1f225e5c83075d908
[]
no_license
lis123kr/cereb_generator
0337d857436af7191fe826fc9df34eaf6106bff6
812367ba193dcd78a3e07cf34b444ec3328d8ab3
refs/heads/master
2020-04-01T16:48:08.670803
2018-10-26T18:41:48
2018-10-26T18:41:48
151,278,555
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
# Copyright 2018 Cerebro Scholar # generated by IS Lee from cleansingAuthors import * from printUtils import * from authors import Author import re, ast def matching_authors(paperclean, cerebauthor_dict): print(blue("matching authors start")) paperclean['authors'] = paperclean['authors'].apply(lambda x : norm_author...
[ "ls123kr@naver.com" ]
ls123kr@naver.com
a3f84fcd0ac4a5938e3aca469fea90685d9d32fd
6aaadb46a89877b094f9c8cf827682b747185eed
/18-machine-learning-with-the-experts-school-budgets/01-exploring-the-raw-data/6-K-Nearest-neighbors-fit.py
843566876b75afd04b7ab1f59e4e9b920b60fd29
[]
no_license
JTM152769/DataScience-With-Python_Track
7942980558de743d73c8a7bf7d1dbc8c7e504b58
670344e31ef644764e1f3fad50e6295a8dedf5d5
refs/heads/master
2020-03-27T21:42:37.764555
2018-10-21T10:02:45
2018-10-21T10:02:45
147,169,595
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
''' k-Nearest Neighbors: Fit Having explored the Congressional voting records dataset, it is time now to build your first classifier. In this exercise, you will fit a k-Nearest Neighbors classifier to the voting dataset, which has once again been pre-loaded for you into a DataFrame df. In the video, Hugo discussed ...
[ "noreply@github.com" ]
JTM152769.noreply@github.com