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
a008c87e4d730613670a35b40681026f798ce0dd
4fb4411ffd913820bffe56adac24c5968dec8774
/wrangle_act.py
638e0e1bd25295d89b43edcda8e6de0c3e911e96
[]
no_license
lizzie11212/Udacity-wrangle-twitter-project
3082322c7a9ca1c1897bf5d2e8c8de830084a1b5
6b13a31d1fc639cc12be7b3ed0a89c6cb773aade
refs/heads/master
2021-10-28T06:24:12.763068
2019-04-22T12:55:32
2019-04-22T12:55:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,230
py
#!/usr/bin/env python # coding: utf-8 # # DATA WRANGLE PROJECT # ## Gathering Data # In[2]: import pandas as pd import requests import json import tweepy import numpy as np # Gather csv data # In[2]: df_1=pd.read_csv('twitter-archive-enhanced.csv') # Gather tsv data # In[3]: r = requests.get('https://d17...
[ "noreply@github.com" ]
lizzie11212.noreply@github.com
dc287432772aac7e03a9e6ea02df746cf8ea6a4a
0a0a8eb698b6e063c6ce26f51bc34ac24331cbe3
/CVA_function.py
0aa37885601483b1f727d9b630568059eb212dd8
[]
no_license
mansunosson/CVA_web_app
b4a1b402a1c1c759e4d8230504b2ac463e3964d7
e056dc89ae19f3e75a03c6df4fa2c4b63af28756
refs/heads/main
2023-01-22T19:18:30.851932
2020-12-08T11:39:23
2020-12-08T11:39:23
319,596,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
# Dependencies #from datetime import date # Define CVA function def CVA(company_name, nominal_value, maturity_date, risk_free_rate): try: duration_coef = ((maturity_date-date.today()).days)/365 # Duration as proportion of full year annual_PD = fetch_pd(company_name) # Call to fetch_pd scrap...
[ "noreply@github.com" ]
mansunosson.noreply@github.com
baf82970afe5564b6c882ea105d694a6a3b5c064
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/final_3level/random/job73.py
15fda2fa56a78dce0fc3e71e9ffec70118c56596
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,616
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
40408802451c935b6bf42ec1a44edf1dc6e414f1
27f8afdbf68908bb48de31a459ee2b5b81ea0837
/friday_13th/friday_thirteenth.py
ee4b8af2f3cb199af327d091ddd84ab3cceb508e
[]
no_license
olhanotolga/python-challenges
40e7bd6ed5fc5e891ff50d2b0df1af67f25ccea5
62814a3513b6692cad031440f18d901af22f5580
refs/heads/main
2023-04-05T03:54:28.907678
2021-04-05T12:38:40
2021-04-05T12:38:40
333,558,101
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
__doc__ import datetime def valid_date(month, year): """ Helper function which validates inputs """ if not isinstance(month, int) or not isinstance(year, int): return False if month < 1 or month > 12: return False return True def has_friday_13(month, year): """ Funct...
[ "olha.halat@gmail.com" ]
olha.halat@gmail.com
7d3186b3cdd57512a8c1a1678e6097c914ddae71
dec7befffa1bb509f65c6fb96441b1f68d088cae
/nanosv/utils/parse_bam.py
c39df14181f7537b99432724da898db24f5c722b
[ "MIT" ]
permissive
tongww0312/nanosv
0f8d972b1804c270714bff1f1625e250ae8a35a5
5f44e31759dc3b88f0ac7918f5e4614f4975e1b5
refs/heads/master
2021-04-09T15:50:12.676276
2018-03-02T12:26:21
2018-03-02T12:26:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
#!/usr/bin/python import pysam import re import sys import time import os from classes import read as r from classes import segment as s sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) import NanoSV coverages = [] reads = {} segments = {} segmentID = 1 def parse_bam(): """ ...
[ "m.vanroosmalen-2@umcutrecht.nl" ]
m.vanroosmalen-2@umcutrecht.nl
03ce218a36b3b4dc1f448ee34e9752020300acea
0ab9786fc197cd161a986ee6e7a9f04ab166f994
/info5.py
b7e5dda9c3a99dd19abd7012ea4cec6575734f17
[]
no_license
sedmedia/lesson1
89ae59b734b07877e8929248780ce66b65979fb9
8963db7c72668069df807999d6b80146b1cb3ec7
refs/heads/master
2021-01-22T01:10:35.505963
2017-09-02T15:43:15
2017-09-02T15:43:15
102,200,905
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
def get_summ(one, two): return one + str(two) answer = get_summ("one",2) print(answer)
[ "sedmedia@gmail.com" ]
sedmedia@gmail.com
2c5d778420e5e739ed6eb09d930c5645cf176299
1d1cb14e6d0b2a439348d6677eb9e8e72390d39f
/06_Image_Classifier/Video/Image_Classifier.py
9176408f26c0944ba186ee81e262ecb7e1a71da6
[]
no_license
EduardoFAFernandes/MyDeepLearningIntro
2c7b2278ed1cf446c9f3656ae9dd421c22648933
a35a43f0690ddfa499097335d9b8aa058d1db021
refs/heads/master
2021-09-05T06:51:33.479757
2018-01-25T01:07:54
2018-01-25T01:07:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,188
py
# coding: utf-8 # # Cat or Dog Image Classifier # ___ # ## Imports # Nothing fancy here most of the imports are standard and frequent in ML import h5py #handeling the dataset import matplotlib.pyplot as plt #viewing nparrays as images import numpy as np import os #handeling...
[ "nomeaocalhas3@gmail.com" ]
nomeaocalhas3@gmail.com
9794d76691a1cb5402bfa2d2884e31b6118fb2b8
ae9bb7babce2a0349ae932985cf418a03057c670
/backend/testcase/test_login.py
49c1d1e273d9d9434ffac08bc1ebc80f4ad95454
[]
no_license
Veraun/HogwartsSDET17-1
d2592fcb4c9c63724c19bcf9edde349ebcd2c8af
6648dbfb640b065ff2c76cb6889a8f9e4f124b91
refs/heads/main
2023-07-02T05:20:32.161248
2021-08-06T03:55:13
2021-08-06T03:55:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
''' #!/usr/bin/python3 # -*- coding: utf-8 -*- @author: wangwei @project: business-test-pytest @file: test_login.py @time: 2021/6/7 15:43 @Email: Warron.Wang ''' import requests class TestLogin: BASE_URL = "http://localhost:5000" def test_login(self): # 其中 auth 标识要输入的校验信息,比如 账号和密码 r = requests...
[ "wei1.wang@ximalaya.com" ]
wei1.wang@ximalaya.com
301191562e62a40bdfe255519152332097c6c335
ac07052d8da7eb0c0a8189dbdda7dfaeab80de46
/craiglist/settings.py
379f8350b354b4c854e15306b6877e9b5b3710ca
[]
no_license
rashidul738/Craigslist-Data-Scrape
1285b47208940cc640f10d5f77c21b07c47e7528
440d9a8075249f606dd03a86c7e98da346780fde
refs/heads/master
2023-09-01T08:47:25.908986
2021-10-13T13:05:50
2021-10-13T13:05:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
# Scrapy settings for craiglist project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middlewa...
[ "rashidul7713@gmail.com" ]
rashidul7713@gmail.com
97db48ad78c8edb9bbcdb9c479ce704e9db0ee90
663676e406641b1f4ecbc09e214bb41cab47198b
/day16/day16a.py
a89564047f7a3e82e94184fb1d9abfa49e190321
[]
no_license
yuanxu1990/studyday
362055c18a78424cedad73e28858620a66472db2
aad0b2b36d06b50b476fcc0972e1ba64747b5b61
refs/heads/master
2020-09-14T17:19:25.352463
2020-04-28T13:34:49
2020-04-28T13:34:49
223,197,856
0
0
null
null
null
null
UTF-8
Python
false
false
2,950
py
''' 内置函数 ''' # s='sdfsdfsd' # # lista=[1,2,3,4,5] # # l2=reversed(lista) # # sli=slice(1,4,2) # # print(s[sli]) # # print(lista) # for i in l2: # print(i) #format() 调整输出 # print(format('test','<20')) # print(format('test','>20')) # print(format('test','^20')) # bytearray 修改字节编码 # s1=bytearray('你好',encoding=...
[ "yuanx" ]
yuanx
42218897557be8d5f9ca50928b0b81e75865bbe6
3b0d3d1d7abd5f5e0c1c3b23e32c49d2d1e74353
/Company/migrations/0005_auto_20190312_1852.py
254529524c189175cad6254b436d1dd7600a39cd
[]
no_license
deathslayer0311/InvoiceSense
0e950f8e64cdc5432e6c73f3810e7bb99f15a138
1bfe291412d49c5615f12c6251d2adb3b5c6383e
refs/heads/master
2022-10-11T05:55:23.343569
2019-03-13T01:54:59
2019-03-13T01:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
# Generated by Django 2.0 on 2019-03-12 22:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Company', '0004_package_items'), ] operations = [ migrations.AlterModelOptions( name='company', options={'verbose_name_plural'...
[ "41447166+jdriscoll98@users.noreply.github.com" ]
41447166+jdriscoll98@users.noreply.github.com
be38f6d66128674ad82fccfda3baf95238509e89
0faa64fc66d392e2fc54bd9ad2d81587d507c0f6
/TotalUsers.py
95ebc488690e5f5c57701a25ef7a0157da27dbd8
[]
no_license
rohandash06/TwitterTextCapture
a0b9eb1bf322ae48b66c028a00a2be2fb1edb713
90ce972c39e18a8b0e9881245a575f47611db910
refs/heads/master
2020-03-30T08:28:06.718221
2018-10-05T15:10:02
2018-10-05T15:10:02
151,017,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 30 23:39:56 2018 @author: rdas3 """ import operator def total_Users(): INPUT_FILE = input("Enter the path of the input file located: ") INPUT_FILE_PATH = INPUT_FILE+ '.txt' x = input("Enter a number: ") n = int(x) OUTFILE = r'C:\Users...
[ "noreply@github.com" ]
rohandash06.noreply@github.com
b378f013bdb52b624af11a7eeae8b5ef0e192c68
eca06c429f9157decd9521114290ea4a05924032
/api/app/models/base.py
9268b50f06dba89235a4db6802cc03de1c452423
[]
no_license
papamuziko/sample_airbnb_clone
768760bb7376ae6b57b2559a1aba6a45a53f41c6
2bb54a15cf6d66a2ebed69825819755a296e4d08
refs/heads/master
2021-01-20T22:29:30.302882
2018-02-12T02:46:36
2018-02-12T02:46:36
64,175,956
4
3
null
null
null
null
UTF-8
Python
false
false
971
py
import peewee import datetime from config import * # connector to MySQL database = peewee.MySQLDatabase(host=DATABASE['host'], user=DATABASE['user'], password=DATABASE['password'], database=DATABASE['database'], port=DATABASE['port'], charset=DATABASE['charset']) ''' BaseModel: - id: primar...
[ "ghinzu.iphone@gmail.com" ]
ghinzu.iphone@gmail.com
c07b0e4293e04dbd0168b293fe296fd694f77e30
8a1686aeeefa80afeb0aa9f45ed72a75883458c4
/dit/example_dists/nonsignalling_boxes.py
68cf2db6d82c4d7134dce2daa7e5534598a91706
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
heleibin/dit
70afd57f31be346e48b9b28c67fd6e019132ac36
ebd0c11600e559bf34cf12a6b4e451057838e324
refs/heads/master
2020-09-27T07:42:15.991500
2019-11-23T06:10:11
2019-11-23T06:10:11
226,466,522
1
0
BSD-3-Clause
2019-12-07T06:26:50
2019-12-07T06:26:50
null
UTF-8
Python
false
false
1,141
py
""" Canonical non-signalling boxes. """ from __future__ import division from dit import Distribution from itertools import product __all__ = ['pr_box'] def pr_box(eta=1, name=False): """ The Popescu-Rohrlich box, or PR box, is the canonical non-signalling, non-local probability distribution used in th...
[ "ryangregoryjames@gmail.com" ]
ryangregoryjames@gmail.com
0b1490c6614bba745d469de9dd4cd5a7aedc45e9
fcd9b782b9e0f0973b1ddc45e432091e2e107f39
/InstantiationScripts/changeOSBCoherence.py
9ec724720596b4a1132d60eb047d36357a5389c4
[]
no_license
oktbabs/fmw_repo
5c8baa0be8185f3846ebc3cea3a2bf07ff4eb0d3
3cff15b4c1e1674c038c8d1c3a6d2c7a68035afb
refs/heads/master
2020-04-09T23:06:09.725008
2018-12-06T14:44:11
2018-12-06T14:44:11
160,646,775
0
0
null
null
null
null
UTF-8
Python
false
false
4,877
py
#++++++++++++++++++++++++++++++++++++++++++++++ # Script Name : changeOSBCoherence.py + # Written By : Timmy Babayeju + # From Company : Fujitsu + # To Company : FSA + # Description : Script retrieves the old + # Coherence Arguments WKA Addr...
[ "oktbabs@gmail.com" ]
oktbabs@gmail.com
2f5c47e2dac73a0aa819503e2513e961295a94c1
483e0e80af85a93f787239738b062db63d25902e
/exploratory.py
39b4a5ea0e9bb2ba2d36d3a680ea83972f94a98a
[]
no_license
progdrum/housing_prices
2541aa1ed428514d1b947efe9344f76e3b5a577a
9ab4740990a2c842151be0dc99ba35cd4800d5cc
refs/heads/master
2021-01-22T17:47:46.557618
2017-07-27T04:45:09
2017-07-27T04:45:09
98,494,738
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt from clean import clean_train, partial_clean_train # The following code assumes data as cleaned up in clean.py # Plot a simple distribution of the sale prices of houses in the training set sns.set_style("darkgrid") sns.distp...
[ "brookforestscitech@gmail.com" ]
brookforestscitech@gmail.com
d3230028ebcd5ac4d1613c9191dc2913d501d2e1
ec124b20240143e97351975ca4c81db5fa49e8a4
/users/urls.py
b95b3b02d6a3973ae73b64ceba430874de137949
[]
no_license
Anildudy/learning_log
ed947ddca21093287fe25c9f002ddcd9e997e751
56634ec9ea045628f438d8c89787134d13f29834
refs/heads/main
2023-01-08T03:46:26.510392
2020-11-04T10:21:23
2020-11-04T10:21:23
309,966,756
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from django.urls import path from django.contrib.auth.views import LoginView from . import views app_name = 'users' urlpatterns = [ path('login/', LoginView.as_view(template_name= 'users/login.html'), name='login'), path('logout/', views.logout_view, name='logout'), path('register/', views.register, name...
[ "anildudy1@gmail.com" ]
anildudy1@gmail.com
6bcb60f9a28b08a55e7c5ab03219adfcce07f8d1
b80878934db337e6b31bd76979c6a98c83424945
/evrytesttools/urls.py
5db918fd6fd1a7a5b76da81f0057e69f11c415a2
[]
no_license
quanlidavid/evrytestportal
cc78a0938849fd981447fdc3aa7b0b91f4741306
728d2137ac3a713fe61fbfce4f07810fb1432706
refs/heads/master
2022-12-10T07:04:48.658884
2017-12-20T06:50:17
2017-12-20T06:50:17
113,135,283
0
0
null
2022-12-07T23:49:31
2017-12-05T05:06:32
Python
UTF-8
Python
false
false
773
py
from django.urls import path from evrytesttools import views urlpatterns = [ # url(r'^$',views.index,name='index'), # url(r'^test/$',views.test,name='test'), # url(r'^run/$',views.run,name='run'), # url(r'^getVIOInfo/$',views.getVIOInfo,name='getVIOInfo'), # url(r'^run/logdetails.html$',views.logde...
[ "quanlidavid@gmail.com" ]
quanlidavid@gmail.com
a58c66ee849885e28c84f289036ba843e088661a
1e6c6dda65e1ab23da81c524d7ab3c5f6d3c6dd3
/test/test_put_get.py
cf45cf45c38d8626ad80540c331757c1a9d58a5a
[ "Apache-2.0" ]
permissive
yungster/snowflake-connector-python
737622070460bb53102db4896871d5ef8b5f448b
740edb840a23f0e9395f47499a3441bf8c4d7d30
refs/heads/master
2021-01-19T19:50:36.975560
2017-04-17T01:27:47
2017-04-17T01:27:47
88,448,642
0
0
null
2017-04-16T23:23:06
2017-04-16T23:23:06
null
UTF-8
Python
false
false
16,911
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2012-2017 Snowflake Computing Inc. All right reserved. # import os from getpass import getuser from logging import getLogger import pytest logger = getLogger(__name__) @pytest.fixture() def test_data(request, conn_cnx, db_parameters): assert u'AWS_...
[ "smtakeda@gmail.com" ]
smtakeda@gmail.com
46fec2ea58d9a148df6b47bee5d4fe5b53daebbe
267712c497d16b74f75fac57cf1281dff0a8afbd
/Flask/app.py
2104b92a850213d379540db1540cba34afb0c531
[]
no_license
AlexRaouf/Reverb_Synth_Sales_Analysis
54240732fc699b62a9b6014f96cf4b66a17a0a9c
168b30c670847f4d39170eb77a41ac4da36b13d2
refs/heads/master
2022-11-28T18:35:11.935972
2020-07-31T23:13:27
2020-07-31T23:13:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
from flask import Flask, request, jsonify, render_template import numpy as np import pickle from catboost import CatBoostRegressor model = CatBoostRegressor() app = Flask(__name__) model.load_model('log_model') @app.route('/') def home(): return render_template('index.html') @app.route('/predict', methods=['POS...
[ "Alexraouf24@gmail.com" ]
Alexraouf24@gmail.com
cfe6405177b20e41c71d4856112f67b2dab27258
e24a7ba2a162f754336a1f8322c2c9c44eb9a613
/authenticate/utils.py
59facdc3f03bfd4120417aa4473fc948275eda5a
[]
no_license
Aymammet/friendly
9ca063d5542c203badd3b3950ee3fe9b3c82380d
423db7f4d4fc5309c7f732d21a8084682133f92d
refs/heads/master
2023-08-30T21:03:17.434235
2021-10-06T18:11:03
2021-10-06T18:11:03
397,711,592
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
from django.contrib.auth.tokens import PasswordResetTokenGenerator import six class TokenGenerator(PasswordResetTokenGenerator): def _make_hash_value(self, user, timestamp): return six.text_type(user.pk)+six.text_type(timestamp)+six.text_type(user.is_email_verified) generate_token=TokenGenerator(...
[ "aymammet2018@gmail.com" ]
aymammet2018@gmail.com
de40cb73587404ad4af002c23abbb61cc9721e8f
e77d1993f8a8327bb9e7563f03661a039182036f
/bookout/manage.py
35e45a65d1f5cd57149ba7fd4fe11d9ba678bd60
[]
no_license
gilescaunter/bookout-django
d1edbb8ca8b6b124f66ec681b126a0b7feb83ba8
0a73b84d198ac8ac4183893935356634b3163a36
refs/heads/main
2021-10-25T19:31:15.303118
2021-10-25T11:54:43
2021-10-25T11:54:43
168,854,931
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bookout.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "giles.caunter@vortex6.com" ]
giles.caunter@vortex6.com
55f7964dd7fe45975f15bc18a2c1c1f62ce920bd
a0dc97dbb5c17302195ccb739e428f29cd5eea7e
/workers/views.py
5de13619947453ab0427bc159c68c844752b9177
[]
no_license
edgarkov/hrm
450b7c255f87ab3e6641d1f7a2dd012cc62472ed
c9228948929c6f2eaa36a2bcd663688172e13887
refs/heads/master
2020-04-20T06:23:38.019618
2019-02-07T13:22:41
2019-02-07T13:22:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
from django.shortcuts import render from django.http import HttpResponse, JsonResponse, HttpResponseRedirect from workers.models import Employee from django.contrib.auth import authenticate, login, logout from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy from django.views impor...
[ "nomerelion@gmail.com" ]
nomerelion@gmail.com
ded6eb6b60a20e19b632703677a9b21d503d3037
6b488077cde3735a58171fa54f4ab6ed1c96de82
/showgandicontactinfo.py
1ef125c639a16a850bcaf6045eb493f42617763e
[]
no_license
stayhigh/GandiAPISample
a6ba4fd707ddeb8fc9df2853ed8e9cb9f533a69f
48fcecd839b7c68bf13e48e9a3611fa575394ef6
refs/heads/master
2021-01-10T03:28:13.472233
2015-11-27T11:40:27
2015-11-27T11:40:27
44,784,252
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
""" The sample code is to show info of your Gandi Site with API key. """ import xmlrpclib import sys from pprint import pprint # Connect to the API server API = xmlrpclib.ServerProxy('https://rpc.gandi.net/xmlrpc/') if len(sys.argv) != 2: print "%s %s" % (sys.argv[0], "<YOUR API KEY>") exit(1) APIKEY = sys....
[ "john.wang@gandi.net" ]
john.wang@gandi.net
51a46d0979cf8db42522b214bc0d30b7d577a9f0
1a5cfc6b94f1e847f1d0bbae94e7da83d5c93bbd
/sleep/management/commands/cleanGroups.py
533f3a079f158ae3b036f6c6f46cb04bdbacd6c5
[ "MIT" ]
permissive
sleepers-anonymous/zscore
a6cc817f71817bfbe4800bb29c53f1ed1cff332a
2d7eb2e2c06c307af7fae4058173a25ba9c40025
refs/heads/master
2020-04-15T20:09:48.984486
2018-01-31T05:09:42
2018-01-31T05:09:42
10,006,266
3
1
MIT
2019-03-08T23:47:56
2013-05-11T22:40:10
Python
UTF-8
Python
false
false
419
py
from django.core.management.base import BaseCommand, CommandError from sleep.models import SleeperGroup class Command(BaseCommand): help = "Removes all empty groups" def handle(self, *args, **options): groups = SleeperGroup.objects.all() for g in groups: if g.membership_set.all().c...
[ "nightshadequeen@gmail.com" ]
nightshadequeen@gmail.com
ae8bcc2905098b2fec9238df5b7f86a55d123007
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/qiskit/simulator/startQiskit341.py
b885570da535c0bd5ec4ba1219b7f7dc6c82a02c
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,319
py
# qubit number=2 # total number=20 import cirq import qiskit from qiskit import IBMQ from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy a...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
4ab72fe952943b35c9803384d5400e826c57952f
94e1e0d5647e42c4862655a7a6c303fde4d1a0ff
/tags.py
33cbc3430148e787faf67829de86980bb15cfb40
[]
no_license
jpiv/SmartPin
20b19e2091276ea7fd67fdbf5a98f8dfb9fb71c4
2edaa16f1ca9303eaf81edf9b9be4b30f6d88321
refs/heads/master
2022-11-22T21:37:36.431170
2021-07-30T05:19:23
2021-07-30T05:19:23
147,282,054
1
0
null
2022-11-22T00:34:11
2018-09-04T03:15:15
Python
UTF-8
Python
false
false
1,664
py
from log import log class Tag(object): _key = [0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF] # Need to skip sector trailer _blocks = 15 rf = None rfutil = None def __init__(self, rf, uid, *args, **kwargs): self.rf = rf self.rfutil = self.rf.util() err = self.rfutil.set_tag(uid) self.rfutil.auth(self.rf.auth_a, se...
[ "jjpizzo4@gmail.com" ]
jjpizzo4@gmail.com
bb523a613214342e3b7c115ace36d847445555cb
0178e6a705ee8aa6bb0b0a8512bf5184a9d00ded
/Sungjin/Math/1057.py
ecbbc485be3b5f1b6fc0c9492399c0c66eaaab90
[]
no_license
comojin1994/Algorithm_Study
0379d513abf30e3f55d6a013e90329bfdfa5adcc
965c97a9b858565c68ac029f852a1c2218369e0b
refs/heads/master
2021-08-08T14:55:15.220412
2021-07-06T11:54:33
2021-07-06T11:54:33
206,978,984
0
1
null
2020-05-14T14:06:46
2019-09-07T14:23:31
Python
UTF-8
Python
false
false
254
py
import sys input = sys.stdin.readline def func(K, L): cnt = 0 while K != L: K, L = K // 2, L // 2 cnt += 1 print(cnt) return 1 if __name__ == '__main__': N, K, L = map(int, input().strip().split()) func(K-1, L-1)
[ "comojin1994@gmail.com" ]
comojin1994@gmail.com
88caf91d43a9be2b1208a0997b0a3fa5223e7b01
ee2c972b000f585c4b960390608287a1b1e6ebdc
/Optimizermaster/FileHandler.py
c8540325c61b3627c14b2bf6a90c7555b07c1268
[]
no_license
zhengjie607/PyQt-for-OpenGL
828f3a8e95c3756331b4b0b9f7b93ff5cfc48a23
8e74ba371ddb6f6410289bb106462fbfd87c3947
refs/heads/master
2020-04-18T10:42:56.661405
2019-07-04T01:04:16
2019-07-04T01:04:16
167,476,175
6
1
null
2019-01-27T10:35:31
2019-01-25T03:05:41
Jupyter Notebook
UTF-8
Python
false
false
9,290
py
# Python 2.7 and 3.5 # Author: Christoph Schranz, Salzburg Research import sys import os import struct import time from Optimizermaster import ThreeMF # upgrade numpy with: "pip install numpy --upgrade" import numpy as np class FileHandler: def __init__(self): pass def load_mesh(self, inputf...
[ "noreply@github.com" ]
zhengjie607.noreply@github.com
b0103c755500f16c2e7f91e4da8bdb8227cb56d6
ffe7a968e8d7087a9b2e2df6495c074160147a9a
/package/THR/energy_force.py
8790039ec520468c9b396d1f2cccc7d299f4bffd
[]
no_license
hyq2017/MLREPS
34008144448632fae41d8ac8294ad2fb09d2dead
0a7cb8f57ade804cd397e7eabe36217a30a3176f
refs/heads/master
2023-03-21T14:55:08.955011
2021-03-17T02:40:10
2021-03-17T02:40:10
348,557,506
1
1
null
null
null
null
UTF-8
Python
false
false
2,948
py
import os import numpy as np def input_coord(coord, atoms): a = np.loadtxt(coord) b = np.reshape(a,(1, atoms * 3)) return b # read the type and index of atoms def type_index(): f = open('type.raw','r') for line in f: types = np.array([int(x) for x in line.split()]) f.close() index_...
[ "hanyanqiang@sjtu.edu.cn" ]
hanyanqiang@sjtu.edu.cn
0d07c6ee9c3c9951482e630fd0d275514053d4d0
e8efa40c295bc86fe7fd621ae91e41ed52737e9d
/2020/examples-in-class-2020-11-19/example_files1.py
44a7bc2b133c0feec80e494e2dd1945f4cbd062d
[ "Apache-2.0" ]
permissive
ati-ozgur/course-python
25eeb65a370e0ba7c9543c108fcfbe64c5e5af85
583e4df3387493d67f5ca5aeb617cfaf14a5e5a1
refs/heads/master
2023-01-12T05:33:03.831949
2022-12-28T11:33:19
2022-12-28T11:33:19
210,133,153
2
1
null
null
null
null
UTF-8
Python
false
false
98
py
import file_helper x = file_helper.count_files_in_directory("..") print(f"There are {x} files")
[ "ati.ozgur@gmail.com" ]
ati.ozgur@gmail.com
b7edf37b40c9637c6727e45afbb2dfdcc10d1364
7fb06cdb8872f6fe46f6272a32670e66e7589d4a
/utils/io.py
70c6e427bded311ac4e662b57875edce4d4450bb
[ "MIT" ]
permissive
eug/minimum-spanning-tree
8b17e887447f7e1bda23367742a1bf1553bcac9e
a5fba6f4ce52f2c0ac6fec7471e4567a06b60629
refs/heads/master
2020-03-17T12:15:18.167872
2018-05-24T16:55:12
2018-05-24T16:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,619
py
import matplotlib.pyplot as plt from utils.graph import euclidean def read_input(datafile, classfile): """Read the data points file and class id of each point. Args: datafile (str): Data points file. classfile (str): Point class file. Returns: tuple: Returns a tuple containi...
[ "eugfcl@gmail.com" ]
eugfcl@gmail.com
7d1cb319c7f3c8c7e2130c09bc30186024b15a1b
2f6817fc8f6ddb48f5f88c913d8e40b672fc3dbf
/DataAnalysis/cgv_other.py
f1f87820177fe80fb9595095645a14e7b30e9d2d
[]
no_license
cutz-j/TodayILearned
320b5774de68a0f4f68fda28a6a8b980097d6ada
429b24e063283a0d752ccdfbff455abd30ba3859
refs/heads/master
2020-03-23T17:34:51.389065
2018-11-24T08:49:41
2018-11-24T08:49:41
141,865,899
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from bs4 import BeautifulSoup import urllib.request as req import os.path url="http://www.cgv.co.kr/movies/" savename="movie.xml" if not os.path.exists(savename) : req.urlretrieve(url,savename) xml=open(savename,mode="r",encoding="utf-8") soup=BeautifulSoup(xml,"html.parser") info ={} i=0 chart=soup.find("div", "wr...
[ "cutz309@gmail.com" ]
cutz309@gmail.com
7054a8d24bb0b55a1ce940c8f37999f39220a230
7787e5575ef1f989c80157a3c955a4b3aa0982e0
/assignment1/q4_softmaxreg.py
dd58d71bf13337c0f1a2eba868d0dc52e206f542
[]
no_license
marcoleewow/CS224D
0a9d5bb0d747b86f8f1cc19684acedd6d69eed37
7bcd2e7ab209d88f5d30d58af9ac6a56832dd59a
refs/heads/master
2021-01-23T02:48:09.697456
2017-03-24T04:10:41
2017-03-24T04:10:41
86,022,588
0
0
null
null
null
null
UTF-8
Python
false
false
4,419
py
import numpy as np import random from cs224d.data_utils import * from q1_softmax import softmax from q2_gradcheck import gradcheck_naive from q3_sgd import load_saved_params def getSentenceFeature(tokens, wordVectors, sentence): """ Obtain the sentence feature for sentiment analysis by averaging its word vectors...
[ "marco@goodnotesapp.com" ]
marco@goodnotesapp.com
5724b12146fc17a26bc384a9dce393de2917f852
732605a2bf9bc5470fcca8d8710440ad563ac452
/25-day.py
0db90d7fda73714449dc910ccc9f1f2a128345f0
[]
no_license
capJavert/advent-of-code-2017
6417f6b6fa16cc0c3383baa6bf0cab6edb47292a
0ad7669ea00251e0cbf63c30b964b363d4270d2f
refs/heads/master
2021-09-01T06:56:41.066536
2017-12-25T14:11:37
2017-12-25T14:11:37
112,718,287
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
from collections import Counter def main(): infinity_tape = {} state = "A" p = 0 for _ in range(12523873): if p not in infinity_tape: infinity_tape[p] = 0 if state == "A": if infinity_tape[p] == 0: infinity_tape[p] = 1 p += 1 ...
[ "ante.baric3@gmail.com" ]
ante.baric3@gmail.com
9264b9d35b134aa0f0c04498b67d8f30691bcfc6
28bf7793cde66074ac6cbe2c76df92bd4803dab9
/answers/Anuraj Pariya/day 21/question 2.py
a7e421f510e2e64d81f4e6a6bd6111c781c5f180
[ "MIT" ]
permissive
Codechef-SRM-NCR-Chapter/30-DaysOfCode-March-2021
2dee33e057ba22092795a6ecc6686a9d31607c9d
66c7d85025481074c93cfda7853b145c88a30da4
refs/heads/main
2023-05-29T10:33:31.795738
2021-06-10T14:57:30
2021-06-10T14:57:30
348,153,476
22
135
MIT
2021-06-10T14:57:31
2021-03-15T23:37:26
Java
UTF-8
Python
false
false
279
py
n=int(input('enter no.')) def min_sum(arr, n): arr.sort() a = 0; b = 0 for i in range(n): if (i % 2 != 0): a = a * 10 + arr[i] else: b = b * 10 + arr[i] return a + b arr = list(map(int,input('Enter arr').split())) n = len(arr) print("min sum is" , min_sum(arr, n))
[ "noreply@github.com" ]
Codechef-SRM-NCR-Chapter.noreply@github.com
8ac1c8637320af78ffcfbc30d8072692148e8dce
95111bd6b6db6cbd6677659c02af2d5fdf3bce6c
/mine_entropy.py
9002e34d0899dd6e63d10cda636d41e40fc63bdd
[]
no_license
wangxuuu/gaussian_entropy_estimate
4fc01d227ef8d3e7062fd7833377c4b01b00043b
56f63ec39592c4cfcdc824a519c34efb07ce5c14
refs/heads/master
2020-10-02T11:02:45.323464
2020-01-12T01:27:17
2020-01-12T01:27:17
227,762,115
1
0
null
null
null
null
UTF-8
Python
false
false
2,858
py
#%% import numpy as np import torch import matplotlib.pyplot as plt from data.mix_gaussian import MixedGaussian from models import mine #%% if torch.cuda.is_available(): torch.set_default_tensor_type(torch.cuda.FloatTensor) else: torch.set_default_tensor_type(torch.FloatTensor) for d in range(1, 4): # d...
[ "wangxucoco@live.com" ]
wangxucoco@live.com
f8390f5703f56978be7a5258e9fcd15a47f00db9
c9cdd039831fd3babde9b34203a7a0e67adc2edc
/Chapter10/cannonball.py
28f3d1530d43f70177025c35cf54f29a53f69759
[]
no_license
quynguyen2303/python_programming_introduction_to_computer_science
7f646bd560059b45c20809dd0a3857548f98ff3e
d17a496c57ebb290bcbc06b0ad2ae58e5719446f
refs/heads/master
2021-06-11T15:45:38.251760
2016-10-10T09:20:21
2016-10-10T09:20:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
# cannonball.py # Simulation The Flying CannonBall ''' Input the simulation parameter: angle, velocity, height, interval Calculate the inital position of the cannonball: xpos, ypos Calculate the inital velocities of the cannonball: xvel, yvel While the cannonball is still flying: update the values...
[ "23editorcs@gmail.com" ]
23editorcs@gmail.com
9b6118b05978f72b96ef8afb2230654aae8f5e8f
b55e1ce89cde734f2c052e123a4d5364daa7cf01
/goalParserInterpretation.py
de7cbea060a8515c9575473fbb38c0373705075a
[]
no_license
rojinaAmatya/LeetCode
89d015034cee7ed0aa618fabbd91edc5c5ec5472
d4bde7602e559105c96560fe98916e3ec5821439
refs/heads/main
2023-07-14T05:28:22.924697
2021-08-25T21:49:38
2021-08-25T21:49:38
332,339,538
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
''' You own a Goal Parser that can interpret a string command. The command consists of an alphabet of "G", "()" and/or "(al)" in some order. The Goal Parser will interpret "G" as the string "G", "()" as the string "o", and "(al)" as the string "al". The interpreted strings are then concatenated in the original order. ...
[ "rojinaamatya1432@gmail.com" ]
rojinaamatya1432@gmail.com
2ab3e121946ea737856a1831603df70176873e67
d6d9d0af6fd4d0ec95c999a183d4d2f277a2fb75
/pollproject/poll/poll/urls.py
e88a4d824621b661cb497246357505dbf721cf14
[]
no_license
Sagar0802/profile
39ebf745f4bc08e80e59e12fc4341a5b41febc3c
7bad4a66b6a85ebebfa2283e167c57de13c7463b
refs/heads/master
2022-12-19T15:08:09.323375
2020-09-12T14:11:19
2020-09-12T14:11:19
294,954,414
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
"""poll URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "noreply@github.com" ]
Sagar0802.noreply@github.com
d55d52d0f49202267bb6060641c257b844d09a53
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/Swea/D3_3408.py
28df8980751bd7eebf46345ef9c142915a8db321
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
269
py
import sys sys.stdin = open("D3_3408_input.txt", "r") T = int(input()) for test_case in range(T): N = int(input()) S1, S2, S3 = 0, 0, 0 S1 = N * (N + 1) // 2 S2 += N ** 2 S3 += N * (N + 1) print("#{} {} {} {}".format(test_case + 1, S1, S2, S3))
[ "chy2495@naver.com" ]
chy2495@naver.com
19ca0c6d0d0ac377f79ba1a36e4525ecc531a5b1
3f10f700912e8e65cc1604ebc1070734f8e7ce29
/mftracker.py
007b9a2e6ea75d132853912a5cfad41b30397341
[ "MIT" ]
permissive
c00kie17/Indian-Mutual-Fund-Tracker
4e2f15f936c2d83532ac43a8bf6413ea6dca3695
7104c2a617a3dcc6c35829d1d0310575f121d85d
refs/heads/master
2020-03-24T06:30:48.242496
2018-12-10T10:14:15
2018-12-10T10:14:15
142,531,394
9
2
null
null
null
null
UTF-8
Python
false
false
5,419
py
from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException from selenium....
[ "anshul1708@gmail.com" ]
anshul1708@gmail.com
d4fec2d3e216a38b62d8797b841cd684c6ce8b9e
2c691f89e0cbc83bd2dde3ca7f01d441a0493652
/Tests/testGVS.py
2b37661797ec9cbc223ca063e84fab5a909e706c
[]
no_license
NNiehof/GVSNoise
eebe347851c1d4ff7ba39aaaa4d12ba6a38c8055
9269a816dc6142166a4d783a57203d67194cec14
refs/heads/master
2020-03-21T02:52:42.602058
2018-07-19T14:29:43
2018-07-19T14:29:43
138,025,814
2
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
# Nynke Niehof, 2018 import numpy as np import unittest from sys import path from os.path import dirname path.append(dirname(path[0])) from Experiment.GVS import GVS class TestMaxVoltage(unittest.TestCase): def test_upper_lim(self): self.gvs1 = GVS(max_voltage=5.0) self.assertAlm...
[ "nynkeniehof@gmail.com" ]
nynkeniehof@gmail.com
83f56f90607d9d5d2e892120892412559fa59f47
a4e5acf6ed0b0be77aa8b1cbe2168c8d12ae83b3
/7/p12.py
88baa4a473c06a57d25bdc635570759ddb4a7a31
[]
no_license
ebuehrle/advent-of-code-2020
a107f8f79a15527c90aa71127f22e671d39b4d69
11318607b12e002273673b9fd2c4efa237eaea5e
refs/heads/main
2023-02-09T22:17:25.126722
2020-12-25T09:03:40
2020-12-25T09:03:40
317,792,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
def parse_rule(rule): container_color, content = rule.split(' bags contain ') content = content.split(', ') content = [c.split() for c in content] content = [(0 if c[0] == 'no' else int(c[0]), c[1] + ' ' + c[2]) for c in content] return (container_color, content) def add_rule(graph, rule): grap...
[ "43623224+ebuehrle@users.noreply.github.com" ]
43623224+ebuehrle@users.noreply.github.com
840996572849db610df502ab039de163a3ec75e7
c83e356d265a1d294733885c373d0a4c258c2d5e
/mayan/apps/documents/forms/document_version_page_forms.py
74cbdfcdd7ec0678b86dace3949bf4e99cb2230b
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/fall-2021-hw2-451-unavailable-for-legal-reasons_6YX3
4160809d2c96707a196b8c94ea9e4df1a119d96a
0e4e919fd2e1ded6711354a0330135283e87f8c7
refs/heads/master
2023-08-21T23:36:41.230179
2021-10-02T03:51:12
2021-10-02T03:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
from django import forms from django.forms.formsets import formset_factory from django.utils.translation import ugettext_lazy as _ from ..fields import DocumentVersionPageField, ThumbnailFormField __all__ = ('DocumentVersionPageForm',) class DocumentVersionPageForm(forms.Form): document_version_page =...
[ "79801878+Meng87@users.noreply.github.com" ]
79801878+Meng87@users.noreply.github.com
5d888b295b13eb7815f7fd4b4e48e830b90ada4d
1b821be51a072ecdd55adf9e74bb6e70c1b734e3
/weather_lightning.py
cb671cea811b331b8f8d691f027f21ea7c26f275
[ "BSD-3-Clause" ]
permissive
kifd/gimp-plugins
3704a808f8d1a2202c136229678a2885ecddfbbe
d5b4e20024010ea9ded7ad3d0983f87f23d8ffdb
refs/heads/master
2020-06-02T01:15:54.158827
2019-06-09T12:09:55
2019-06-09T12:09:55
190,990,932
0
0
null
null
null
null
UTF-8
Python
false
false
13,842
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Weather - Lightning v0.1 # # Copyright 2019, Keith Drakard; Released under the 3-Clause BSD License # See https://opensource.org/licenses/BSD-3-Clause for details # # Change Log # ---------- # 0.1: Initial release # # ---------------------------------------...
[ "noreply@github.com" ]
kifd.noreply@github.com
7af964cd3ea6abe1456dca2d1213038527426326
ac60206e25fcce492d39a2a651dbca866cf21e86
/venv/Include/comic/util/JsonUtil.py
d6453988a1b326eb31b357736bc4a356c7d9c19f
[]
no_license
Snailguo0508/comic
e127627e7437f84a10e7c0fd39ec42bbeb042bdc
5ce366bb9a7849577d1b4526887db5ce75f13192
refs/heads/master
2020-03-19T13:56:32.054506
2018-06-29T11:57:21
2018-06-29T11:57:21
136,596,317
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import json import re import os #正则匹配单个结果 def getHtmlResult(regexs,htmlCode): try: source = re.search(regexs, htmlCode, re.M|re.I) return source.group(1) except Exception as e: print("正则匹配结果异常,正则表达式为:" + regexs) return None
[ "940940508@qq.com" ]
940940508@qq.com
db198e7f8a22f43a0d3aed3a075d567e2c4f784c
667f153e47aec4ea345ea87591bc4f5d305b10bf
/Solutions/Ch4Ex087.py
fb877fec4ffb1702654df8091774296ffcb954d2
[]
no_license
Parshwa-P3/ThePythonWorkbook-Solutions
feb498783d05d0b4e5cbc6cd5961dd1e611f5f52
5694cb52e9e9eac2ab14b1a3dcb462cff8501393
refs/heads/master
2022-11-15T20:18:53.427665
2020-06-28T21:50:48
2020-06-28T21:50:48
275,670,813
1
0
null
2020-06-28T21:50:49
2020-06-28T21:26:01
Python
UTF-8
Python
false
false
534
py
# Ch4Ex087.py # Author: Parshwa Patil # ThePythonWorkbook Solutions # Exercise No. 87 # Title: Center a String in the Terminal def centerString(s, w, c=" "): if w < len(s): return s sp = (w - len(s)) // 2 return c * sp + s + c * (w - sp - len(s)) def main(): W = 100 string1 = input("Enter String1: "...
[ "noreply@github.com" ]
Parshwa-P3.noreply@github.com
d8b030442d9ab3ae19b6d1efae2f37046efe4fe4
8bf78d105f555919c0f653c0d2f90edaab52b533
/cleantmp.py
586723ba768520926ea2a9d46085616c124e7a19
[]
no_license
aiml2/becona
a39d13f20fd04bb8ca2c31e7092bef7060f6c477
c7db2c392ddad0d7a4405ab387437403f33797fc
refs/heads/master
2020-04-09T14:15:22.106955
2019-09-20T09:01:56
2019-09-20T09:01:56
160,392,133
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
import sys import os import numpy as np import code from code.utils.utils import getConfigId,classFromFilename import re modelsDir = '/tmp/' targetDir = "./tmpmodels/" assert os.path.isdir(modelsDir) assert os.path.isdir(targetDir) seperator="_" modprefix="-m" configIdBase=["IV3","Xc"] configIds = [3,4] configIdVers...
[ "dietercastel@gmail.com" ]
dietercastel@gmail.com
d17fb3c25bca8fe02d7f0af33bcd765e22c61ec2
d4f12c33a0f4a2a6be76a5403c149253db02062e
/Desktop/BigData SU2018/Lesson 1/pythoncourse-master/code_example/31-PythonArray/2dArray.py
391b379379bdb1db7158c203787329870e7f53d1
[]
no_license
CC-SY/practice
3059e3a4153a3f009b4e67f45bc2303070d1cfc1
6445cfd40e1aa8ebba39e259c07942e7669ecb1a
refs/heads/master
2020-03-17T00:14:20.743726
2018-05-12T02:49:35
2018-05-12T02:49:35
133,108,281
1
0
null
null
null
null
UTF-8
Python
false
false
461
py
# numpy arrays # wfp, 11/19 import numpy myArray=numpy.array([1,2,3]) print myArray.ndim print myArray.dtype print myArray.shape print myArray.size twodArray=numpy.array([(1,2,3,4),(5,6,7,8)]) print twodArray reshapeArray = numpy.arange(20) print reshapeArray reshapeArray=reshapeArray.reshape(4,5) print reshapeArra...
[ "cecilia_sui@163.com" ]
cecilia_sui@163.com
23a5290bf4bc30132c2a58418f3d48b86ae539ff
0cdbcbb30f9814a6ccf85f4b61129a1a2b6536f2
/Labs/Lab 4 Python/experimento5.py
4a65c0d9a9253ca074abb72d732c4c648714905d
[ "MIT" ]
permissive
DataOwl-Chile/MN_1
e2983f866a9a1a915c053dc4dd0481fa943fdd65
acfd9c466734d41e723633ce19c8e595704197c0
refs/heads/master
2023-03-20T00:30:27.143088
2021-03-13T01:22:06
2021-03-13T01:22:06
268,413,151
4
7
null
null
null
null
UTF-8
Python
false
false
4,950
py
# -*- coding: utf-8 -*- import numpy as np #def secante(x0, x1, f, error = 0.01): def newtonraphson(f, x0, dx=0.01, error=0.0001, max_iter=100000): xn = x0 for n in range(0, max_iter): fn = f(xn) if abs(fn) < error: print('Solución tras ', n, ' iter...
[ "66226083+ValentinRetamal@users.noreply.github.com" ]
66226083+ValentinRetamal@users.noreply.github.com
96f0be08ebace78eb0f142c0c256c11e0c1aaa12
271e77e0e73ae95c91545ade8ea1aa327d754a6a
/src/posts/migrations/0001_initial.py
6d748f3e03b48df30ec096391ae292f5d39ff89f
[]
no_license
Iv91/Blog
1fd6a7a92d22c7b01df109261e246a066566057f
3773d246718acc77045c90daa993a463f9353b6f
refs/heads/main
2023-02-05T00:06:23.550822
2020-12-30T09:21:58
2020-12-30T09:21:58
255,296,116
0
0
null
2020-04-13T10:58:17
2020-04-13T10:30:12
CSS
UTF-8
Python
false
false
3,240
py
# Generated by Django 3.0 on 2020-05-01 06:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MO...
[ "ivanausorac91@gmail.com" ]
ivanausorac91@gmail.com
e34f8a508203056182a73bec7a9a2be9ea2af8b5
9366ac9c730ff274992071b556f4f0289b38991c
/arrayADT/hashing1.py
a1507ac2624917c63000806cc256013cd7f4fcd1
[]
no_license
jjena560/Data-Structures
702bde538ceb4c05599871cc6d65e60722e041e2
8d62371e4bd7b74e36e9d26eef3bca4ead216177
refs/heads/master
2022-12-04T21:56:27.157261
2020-08-22T15:46:01
2020-08-22T15:46:01
288,149,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
# Python3 program to sort an array # using hash function def sortUsingHash(a, n): # find the maximum element Max = max(a) # create a hash function upto # the max size with every element equals to 0 Hash = [0] * (Max + 1) # traverse through all the elements # and keep a count ...
[ "noreply@github.com" ]
jjena560.noreply@github.com
a9eac8cb2ba2aac3a384755918a4b85361ff4018
a8dd779762cb105aaa8aab9eae24b50ab28b3b91
/running_python_code_in_terminal.py
fa6c21e270152d30c424da2bc087e569c141863b
[]
no_license
meettingthespam/Python
a7cf6ca51cb280741bf6478aad4d68730c475ba9
3a6d3973e0a99f9207a8fd4d79cefd83b20b6caa
refs/heads/master
2020-04-21T08:37:14.399570
2019-02-09T17:46:47
2019-02-09T17:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
# basic thing in terminal # if you want to run python script directly in terminal # just type python # and if python is installed in that environment, # it'll pop up with something like Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "...
[ "phoebus.john@gmail.com" ]
phoebus.john@gmail.com
7bcd4909b6524a25d6c1a93c21df57e6170a26b1
61bad6e9e06fe604575333e7e34a9c52d7e0f3d2
/remove-element.py
b567a1e78be17026d32b9959db21781e99ce3e59
[]
no_license
windy319/leetcode
784ea765669922af64778ee00fc9df25bdb112b0
e68ecc5b8844b05838dc5458ab5bef4864840e01
refs/heads/master
2020-05-30T20:25:35.096164
2014-08-11T06:48:12
2014-08-11T06:48:12
22,828,083
0
1
null
null
null
null
UTF-8
Python
false
false
471
py
class Solution: # @param A a list of integers # @param elem an integer, value need to be removed # @return an integer def removeElement(self, A, elem): num,pre,cur,size = 0,0,0,len(A) while cur < size: if A[cur] == elem: cur += 1 ...
[ "zhenye.wy@alibaba-inc.com" ]
zhenye.wy@alibaba-inc.com
274e934dc982c655355273508349b5fa24611d4a
2178c396cf36ec437283e73164620a362090e709
/scrape_mars.py
4729d228a821e350aa1574ff2d566f98e86144f5
[]
no_license
Neeta90/Mission-to-Mars
1384e9adff2b062ee1199dd6b7f19241ca3c0534
29f62a804c7ee079c01bc04c9f26d884ca383978
refs/heads/master
2020-06-29T13:10:08.918206
2019-10-12T23:19:43
2019-10-12T23:19:43
200,546,457
0
0
null
null
null
null
UTF-8
Python
false
false
5,798
py
# import necessary libraries from flask import Flask, render_template # Dependencies from splinter import Browser from bs4 import BeautifulSoup import requests import pymongo import re import pandas as pd # Import our pymongo library, which lets us connect our Flask app to our Mongo database. import pymongo # Create...
[ "Neetashrivastava90.gmail,com" ]
Neetashrivastava90.gmail,com
73eb78c71fb41b54deded26c08f6cb14c0eb05e0
e66fa131cff76fa3fe70e7b6649fa1332159c781
/ch10/qualityControl_test.py
333c28c72d751a634d3503a445cca657b54b61da
[]
no_license
chc1129/python_tutorial
c6d97c6671a7952d8a7b838ccb8aa3c352fa6881
2f8b389731bafbda73c766c095d1eaadb0f99a1c
refs/heads/main
2023-08-24T07:00:43.424652
2021-10-28T16:07:57
2021-10-28T16:07:57
341,532,732
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
import unittest class TestStatisticalFunctions(unittest.TestCase): def test_average(self): self.assertEqual(average([20, 30, 70]), 40.0) self.assertEqual(round(average([1, 5, 7]), 1), 4.3) with self.assertRaises(ZeroDivisioinError(; average([]) with self.assertRaises(Ty...
[ "chc1129@gmail.com" ]
chc1129@gmail.com
65935e1240482e7923adef14244f3b8be96bdf76
db1d387b9e01bf97efeca92251d2be19b6e5b3ea
/QG mid term exams/Geohash/zt.py
00b18b02241255b90848474c50d741918fb4b483
[]
no_license
ZhengtingHuang888/kDD-STUDY
11c1d0ce1b832788b8fc3cbfab43d7869ece4c2f
d496be33a665fb9dc8e14cd00e94de18f6910980
refs/heads/master
2023-07-19T04:37:54.082772
2019-08-04T14:51:16
2019-08-04T14:51:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,338
py
""" 作者:数据挖掘组各个成员; 作用:获取广州地区分块及其编码; 返回:各个地区分块的编码及中心点坐标,可视化图像; """ from pygeohash import encode,decode import plotly.plotly as py import plotly.graph_objs as go import numpy as np import pandas as pd import math from matplotlib.path import Path def getMainMap(): """ 作用:获取广州各个分界点的编码、经、纬度子集、经纬度最值; :return: ...
[ "1284629360@qq.com" ]
1284629360@qq.com
3e3dac817ffc16db906180be163aff6d62651bd6
bfaa554fb309e74926d96d34daf33a5423590e27
/20180424/pillow_draw_checkCode.py
231778022f47f48fc5f5272b6a594ab3980e9b92
[]
no_license
hello-wn/python-basic-scripts
2aa1f0d809909af6466d50824a43b724a60e2012
0fb54f2548891678078b6e8b0c22eae05eb86b04
refs/heads/master
2020-03-12T09:06:07.502416
2019-01-18T03:32:29
2019-01-18T03:32:29
130,544,745
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
# -*- coding: utf-8 -*- from PIL import Image, ImageDraw, ImageFont, ImageFilter import random #随机字母,注意ascii值 def rdChar(): return chr(random.randint(65, 90)) #随机颜色 def rdColor(): return (random.randint(64, 255), random.randint(64, 255), random.randint(64, 255)) def rdColor2(): return (random.randint(32...
[ "hello_wn@yeah.net" ]
hello_wn@yeah.net
849da19238bbb64d158b6b90381bbbdc374dc0c5
e96520433d8d1fe0f8a82ae783a0a51d22465464
/basic_practice/lists_practice.py
f37b72d520924d9ccf5ec049330a9f465368a106
[]
no_license
Harshvardhanvipat/Python_workspace
afd617ac94c508ed148f04c55c9ff588402242f8
f3c6072cf35e79cc9801642cc6cffc51404dac1d
refs/heads/master
2022-11-13T12:40:45.028150
2020-07-07T06:20:17
2020-07-07T06:20:17
266,084,867
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
li = [1,2,3,4,5,6,7] li1 = ['á','b','c','d'] li2 = ['á', 'b', True, 1 ] # Data Structure - > list # example - amazon_cart = [ 'notebook', 'sunglasses', 'toys', 'tomatoes' ] amazon_cart[0] = 'laptop' # we are changing the data saved before print(amazon_cart[0::2]) # list slicing # lists are mu...
[ "harshvardhanvipat@gmail.com" ]
harshvardhanvipat@gmail.com
04411ac2aa0a3bb9a4a07702add9775918b49865
8a07225bfae2b7a1b4dd70e2c8824face23f4863
/test03_lurch.py
ba161b0512b494b48a1696f546bfa609d9b83f1f
[]
no_license
raketenlurch/pylurch
f9c7e906d8c43d11c4ce3cde1d9fee5fcbda5c85
91bdcc3faadc80e0319b4d4b3631903be9bf090a
refs/heads/main
2023-08-29T05:14:52.456104
2021-10-22T17:19:56
2021-10-22T17:19:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
import pygame class TestGame: def __init__(self): self.screen = None self.game_is_running = True self.box_position_x = 0 self.box_position_y = 0 self.background_rect = pygame.Rect(0, 0, 800, 600) def draw_box(self): box_colour = (245, 101, 44) pygame.dr...
[ "raketenlurch@riseup.net" ]
raketenlurch@riseup.net
a9584a85606d2acd38bcec0054715ab18c5a981e
cdf652f20b10761d4d1feeefac4029c0188a757d
/app/auth/__init__.py
ac9a6429aee35f17da2e6a4a607a37229f902289
[ "MIT" ]
permissive
YongLWei03/engineering_management_system
780fba3163e824c15e9e870dd7884fc2ccc21a90
9706be45a8cc5e0201b4db7f5c5aac217a667cd1
refs/heads/master
2021-06-23T07:49:46.427677
2017-09-07T15:56:12
2017-09-07T15:56:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
# --*-- coding:utf-8 --*-- from flask import Blueprint auth = Blueprint("auth", __name__) from . import views
[ "18601036905@163.com" ]
18601036905@163.com
697993310a4ef5658b689a8b54825907938dbd89
6f1dea5df8255a1711b1116efed95f20f598dc48
/karyna-modules/stock_picking_show_returns/__init__.py
5b2680d2f02ca0ae50223959929b91baf08987b9
[]
no_license
joseernestomendez/odoo-karyna
62dd470f753f2b81f92329c1f725d7e1385146c2
8228ca49d8613afad2ad22f8ab288c5a7a216c48
refs/heads/master
2021-01-12T02:50:34.673120
2017-01-05T13:49:25
2017-01-05T13:49:25
78,115,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (c) 2013 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com) # Pedro M. Baeza <pedro.baeza@serviciosbaeza.com> # $Id$ # # ...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
a6b76e3615dbf3fc4b18a2d57080f46990536474
bf4bfc9c55f1b9380cba0e4309b999bf50d3958d
/core/admin.py
862740e243fc64e227a901266cbd425dcbaf07b8
[]
no_license
JasurbekNURBOYEV/cloudy
4c19c4aa082cd23535cd6ba4cd785fc2792500e8
3370946019b982722132c90e8fda8f5d62f53f83
refs/heads/main
2023-05-11T18:55:58.418049
2021-06-03T11:17:09
2021-06-03T11:17:09
373,393,053
0
1
null
null
null
null
UTF-8
Python
false
false
771
py
from django.contrib import admin from core import models @admin.register(models.City) class CityAdmin(admin.ModelAdmin): date_hierarchy = 'created_time' list_display = [ 'id', 'name', 'country' ] search_fields = [ 'name', ] list_filter = [ 'country', ...
[ "bluestacks6523@gmail.com" ]
bluestacks6523@gmail.com
9dcee3894185cb4decc19faa5897585d10e3fa79
402b566f68624725ba498bcc29dbbfc2f4f4e713
/learning_log/learning_logs/views.py
24a1fdcc021c7c5fd50550035581386a23a49825
[]
no_license
KevinG1thub/kevin.learning_log
8f3d2c8d48c525170c00271d14f6be5d8fbe34c4
01b25697d2402b99a12241c96e7374d47d5db8e1
refs/heads/main
2023-02-01T10:25:53.181331
2020-12-17T14:12:06
2020-12-17T14:12:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.http import Http404 from .models import Topic, Entry from .forms import TopicForm, EntryForm def index(request): """The home page for Learning Log.""" return render(request, 'learning_logs/index.html'...
[ "kevin.loetscher@seantis.ch" ]
kevin.loetscher@seantis.ch
a5d8262889b9692b4fd6a25fc57d5910bda04bdd
6d6d1fff6e41339c05dd8deffec257b7d81d3eb2
/make_hists/v_08/mkjson.py
f4bfa81675f2ba528c314f8e8b9ad842d44185db
[]
no_license
MinervaExpt/CCQENu
5c08cd315811964013a24c11406547b00149a1f6
49009f38ee85a8b58dcb1fab2b82109860d1bece
refs/heads/main
2023-08-22T06:05:57.522385
2023-07-31T21:29:47
2023-07-31T21:29:47
229,081,242
1
1
null
2023-07-31T21:29:48
2019-12-19T15:16:54
Python
UTF-8
Python
false
false
666
py
import sys,os,time playlists = ["5A","6A","6B","6C","6D","6E","6F","6G","6H","6I","6J"] list = '_'.join(playlists) newdir = "." template = os.path.join(newdir,"AntiNu_Template.json") prescale = "1000" #ofile = TFile.Open(list+".root",'RECREATE') potdata ={} potmc = {} potcorr = {} potmctot = {} count = 0 filename = ...
[ "Heidi.Schellman@oregonstate.edu" ]
Heidi.Schellman@oregonstate.edu
452ef2ff47c47d08c477592a9e5a611b0d5e6921
7d6424d1ddd68fc4f4eec66075917ee6d828e1ae
/GetQiReLinks.py
63218bcd857c9a0112d81f94484e5d4467572347
[]
no_license
lantianjialiang/python-script
96e6f6edc9226936004f758669be59f55938e568
5f45f3d51194a5e2f226a6132497f748efe81352
refs/heads/master
2021-01-20T21:26:12.480095
2013-05-30T06:32:52
2013-05-30T06:32:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,280
py
import sgmllib import urllib2 from pprint import pprint from bs4 import BeautifulSoup class PageParser(sgmllib.SGMLParser): def __init__(self, aPrefix): # inherit from the SGMLParser class sgmllib.SGMLParser.__init__(self) # create a list this will store all the links found ...
[ "lantianjialiang@gmail.com" ]
lantianjialiang@gmail.com
d5edabd91c323e063605d21d213f50e3f2e8f874
11d0d53638360b2371e459bce87e659204307b7b
/examples/raspi-camera/multiple-stills.py
4d3aa2067b3df2a4a1c2e096cb296f694ca3e1f4
[]
no_license
poplatek/junction18-public
ca74a19de8b6c637150d1274c51fcca1a0d8d33d
310ee610d17e403905832b80c8a3e268a31ea42d
refs/heads/master
2020-04-03T20:32:49.397209
2018-11-23T20:33:23
2018-11-23T20:33:23
155,548,494
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from picamera import PiCamera from time import sleep from time import time import math camera = PiCamera() camera.rotation = 180 camera.start_preview(alpha=200) for i in range(5): sleep(3) today = int(math.floor(time())) camera.capture('/home/pi/pics/test_' + str(today) + '.jpg') print('saved image: p...
[ "sami-pekka.haavisto@poplatek.fi" ]
sami-pekka.haavisto@poplatek.fi
6782a4e42c1ad9b6b02b4cf58d21f8cf0b267233
8217432a3bc36bbe6fc02e4312feab2db997ee47
/election2000/forms.py
17137b7798a1c957dd2c166dfb7ab89862beee97
[]
no_license
m-chrzan/rest_election
0581ac6e4f7188a7658958c76eb0631672552acc
d3436c6b168b059d0b3614b3aaa50b73710c274c
refs/heads/master
2021-03-24T13:56:13.652075
2017-05-19T09:37:10
2017-05-19T09:38:01
91,790,840
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django import forms from django.contrib.auth.models import User class UserForm(forms.Form): username = forms.CharField() password = forms.CharField(widget = forms.PasswordInput)
[ "marcin.j.chrzanowski@gmail.com" ]
marcin.j.chrzanowski@gmail.com
30319aa3fe6884d573153e9fb3f257f59108be0a
5beffbb470642cf6700db35582e14d955b603feb
/ds/tree_traversal.py
af19330722691876063e79e41264bae19c92643c
[]
no_license
SauravAnchlia/leetcode
f6f06c535edfc86f28e7555573dfd2c22a707f3b
30ea3a02d10b4bc694d3ea9b847af59fa601e1dd
refs/heads/master
2022-12-14T16:43:26.783466
2020-09-19T11:21:20
2020-09-19T11:21:20
269,892,636
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# inorder, pre order and post order traversal of a tree. from tree import root iorder = [] def inorder(root): if root: inorder(root.left) inorder(root.right) iorder.append(root.val) post = [] def postorder(root): if root: postorder(root.left) postorder(root.right) ...
[ "saurav.anchlia@oracle.com" ]
saurav.anchlia@oracle.com
8abb6e606dd1a60e95d5c87d2ae827f83038a627
08c59f4c2c505f82aba4f732361fad9891b4a0b4
/Modules/program_9_validate_phonenum.py
83ea698300a6d53a09111d52646287321e95301c
[]
no_license
SanthoshKR93/Python_Anandology_Solutions
db71626cb7403873c9696998dcf4b148a526c0ab
50d2b613aeb1a27c21a24c9b620e7aa2d2f11cde
refs/heads/master
2020-04-12T19:32:53.398218
2019-02-17T09:39:41
2019-02-17T09:39:41
162,711,912
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# Write a regular expression to validate a phone number. import re def val_phno(num): robj = re.compile('\+\d\d-\d\d\d\d\d\d\d\d\d\d') v = re.findall(robj,num) #print (type(v)) if num in v: print ("yay!!! valid phone number") else: print("invalid phone number!!! Try again..") val...
[ "noreply@github.com" ]
SanthoshKR93.noreply@github.com
426c671424b89aeb323458a30a3effac244d2e12
6a4a59194cb7fd1d3a4090699baa43692b183864
/fybrrLink_VizTool/urls.py
1bd9749880980f5bdd48d84fc584f08b77c061f1
[]
no_license
RotonEvan/fybrrLink-VizTool
bb7de13b20cf9cde1a0db3d9233b1ecf8eea36ba
9dc67c81c32a8f10092b134b903bfe2646c280ad
refs/heads/main
2023-05-28T04:49:48.142980
2021-06-12T22:23:57
2021-06-12T22:23:57
351,628,656
2
0
null
null
null
null
UTF-8
Python
false
false
806
py
"""fybrrLink_VizTool URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "debajyotih@iitbhilai.ac.in" ]
debajyotih@iitbhilai.ac.in
def3c4afba817b934c0fdbe3925c0bc04daa0e68
8f6c0a2d2ac20053dba85b7d45e64afb36189756
/src/damn_at/analyzers/mesh/metadata.py
aa5bd9fafd1458c0cf0bc66cf761c4a29f697004
[ "BSD-3-Clause" ]
permissive
induane/damn-at
5739d258ed54b970851eb12aa5e80d0ccd94c3b5
f8f74a8726171b3b7c7ff93a8f33362a4369ab3a
refs/heads/master
2021-01-18T11:47:31.182633
2015-02-03T21:02:51
2015-02-03T21:02:51
18,813,030
0
0
null
null
null
null
UTF-8
Python
false
false
2,743
py
from damn_at.metadata import MetaDataExtractor from damn_at import MetaDataType class MetaDataBlenderImage(MetaDataExtractor): __mimetype__ = 'application/x-blender.image' channels = MetaDataType.INT, lambda context: context['image'].channels depth = MetaDataType.INT, lambda context: context['image'].dep...
[ "sueastside@gmail.com" ]
sueastside@gmail.com
14866e8d4f05cf6985bf52984d5d60cdf0091855
2c74bb301f1ed83b79254944183ac5a18a639fdf
/tests/components/zwave_js/test_device_trigger.py
859164aa4c3fd77dc34dce11ed904cfb38c89adf
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
49,380
py
"""The tests for Z-Wave JS device triggers.""" from unittest.mock import patch import pytest import voluptuous_serialize from zwave_js_server.const import CommandClass from zwave_js_server.event import Event from zwave_js_server.model.node import Node from homeassistant.components import automation from homeassistant...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
21e6b1a0615aaaa0e94aa1e8cc83fc59ff3b5860
eb322b48a0d90c88df1f45f8a4514dde4594efa3
/ixconfig/__init__.py
fd6d162b7347dea5e47fc60e653c4b768e707ee1
[ "MIT" ]
permissive
beasteers/ixconfig
663f0927d54c2f36a067d71e6fdf21f132cf09a2
409c55f78dcd7ca1712afc9c5af79438ffb008c4
refs/heads/main
2023-01-24T14:34:31.659858
2020-12-10T15:31:36
2020-12-10T15:31:36
305,601,728
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
from . import core from .core import * def main(): import fire fire.Fire({'if': Ifc, 'iw': Iwc})
[ "bsteers@nyu.edu" ]
bsteers@nyu.edu
bdcf740b32e7ee6e7d2836f131c767777523cbed
7cc3d58ebad0147dd17dfb9f9ca3aa59b5adcf1e
/lib/languages_data.py
8122e9e13f56ab0ff8bc709d7db877d69a8f4ee7
[ "MIT", "CC-BY-SA-3.0" ]
permissive
joeyciechanowicz/cheat.sh
91bb9ffdebd5dd50a5986bc4dc0abf48de69b53f
a4e36befe4564f90ebb42afc75254c13cdc17970
refs/heads/master
2020-03-22T19:43:45.636694
2018-07-19T11:00:16
2018-07-19T11:00:16
140,546,724
0
0
MIT
2018-07-11T08:40:38
2018-07-11T08:40:38
null
UTF-8
Python
false
false
3,915
py
""" Programming languages information. Will be (probably) moved to a separate file/directory from the project tree. """ import pygments.lexers LEXER = { "assembly" : pygments.lexers.NasmLexer, "awk" : pygments.lexers.AwkLexer, "bash" : pygments.lexers.BashLexer, "basic" : pygments.le...
[ "igor@chub.in" ]
igor@chub.in
e69c7c56a2816712be905d300f01d8acca2158d8
0afda31fb39f55136e4e08535aa65358ba757887
/graph.py
a300c904eb22466a42f85202e8f2c51a8c529a59
[]
no_license
Mdmetelus/Python_Projects
1a56714b783f4f8b960f6b897a925a1b4645a7a6
af76ba0169ddfbead67854f45b7ab9bf7296f67c
refs/heads/master
2021-06-28T04:25:29.104426
2020-09-27T04:00:12
2020-09-27T04:00:12
139,921,304
0
0
null
2019-04-11T19:09:51
2018-07-06T02:05:56
Python
UTF-8
Python
false
false
2,220
py
class Graph: def __init__(self): self.vertices ={} def add_vertex(self, vertex_id): self.vertices[vertex_id] = set() def add_edge(self, v1, v2): if v1 in self.vertices and v2 in self.vertices: self.vertices[v1].add(v2) self.vertices[v2].add(v1) else ...
[ "Mdmetelus@gmail.com" ]
Mdmetelus@gmail.com
5d7ccd4bdcee0bf922a24159788bbb6dd03c00e2
200a42bf821dd9fa73c52e70616d17435777248e
/read a file from user and open the file and read the data from it.py
accdaecd259c3f405f1c8a8befb5279e61c395fd
[]
no_license
ruhisha/CORE-PYTHON-EXAMPLES-INCLUDING-FILEHANDLING-CONCEPT
b962dc58360691a617b5df8ff532501a747124f0
f7373375cb61affcbc925afbe9e6620c62251b9f
refs/heads/master
2020-04-08T15:28:52.238561
2018-11-28T13:49:54
2018-11-28T13:49:54
159,480,617
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import os.path as pa fname=input("enter file name with extension:") bo=pa.exists(fname) if bo: print(open(fname).read()) else: print("file is not found")
[ "skruhisha@gmail.com" ]
skruhisha@gmail.com
d087122325df570b0b129171f8a95a286a4a4c05
00e0a2026321e93d52a3fce021d164d09b4fa0dc
/day08/main.py
129199cf82ff21dbe8225c17b13cba25e45138d0
[]
no_license
reinhillmann/adventofcode2020
e070be617070e6f545194a82a6ad5c342fcce997
34df5f3bb642e88d641e533ac1ce79021742d4d9
refs/heads/main
2023-01-30T05:27:33.287130
2020-12-09T05:38:57
2020-12-09T05:38:57
317,636,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,990
py
#!/usr/bin/python3 import re def load_data(filename): with open(filename, 'r') as f: return [l.rstrip() for l in f.readlines()] def load_instructions(data): instructions = [] for row in data: op, val = re.match(r"^(jmp|acc|nop) ([\+|\-]?\d+)$", row).groups() val = int(val) ...
[ "reinouth@microsoft.com" ]
reinouth@microsoft.com
8a24060c2eeb46778edbb0fe5e174b1a9b000c9c
616a72dba3669836cd6e497cc6b83ee9a774eab4
/verilog_langserver/verilog_parser/diagnosis.py
261cae5dc4d420b9f4b5c20ac9a4de6630d25e7f
[ "MIT" ]
permissive
eirikpre/verilog_langserver
dbc6773cf02c2f16eb889b974b83063ac8160f8c
e18545b139e40fe935bad430daf43e70553003a4
refs/heads/master
2022-07-23T16:00:53.375751
2020-05-21T09:07:19
2020-05-21T09:07:19
252,670,183
1
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
from antlr4 import Token, DiagnosticErrorListener, FileStream, CommonTokenStream from antlr4.error.ErrorListener import ErrorListener from pygls.types import Diagnostic, Range, DiagnosticSeverity, Position, Location from .antlr_build.diagnosis.SystemVerilogLexer import SystemVerilogLexer as DiagnosisLexer from .a...
[ "eirikpre@gmail.com" ]
eirikpre@gmail.com
69f0bb3ed8a7a327200f6c8cc66a7f776ba19932
c85657463ea896571f28aaead3825b52baf199bd
/test/darkspotACstark.py
a8f9cfa258e0b78986a9b2bccb3cbd92723945eb
[]
no_license
jasonhogan/sti
ffc9469557bf1480aae4004321d261bb5473e237
928428767b8c4131fa342dbbc2bf2e5cbea7340a
refs/heads/master
2021-07-12T17:55:26.696064
2020-08-10T20:56:56
2020-08-10T20:56:56
19,015,405
1
1
null
2018-04-04T03:14:44
2014-04-22T03:09:49
C++
UTF-8
Python
false
false
6,592
py
from stipy import * ns = 1.0 us = 1000.0 ms = 1000000.0 s = 1000000000.0 # Set description used by program setvar('desc','''Turn off 1530 light immediately before imaging.''') setvar('1530 freq',1529.367) setvar('driftTime', 1*ms) setvar('motLoadTime', 250) setvar('holdoff1530', 3) setvar('voltage1530', 0.87) #setv...
[ "EP@8bcac300-4d60-4aec-84ba-b7489f70e69b" ]
EP@8bcac300-4d60-4aec-84ba-b7489f70e69b
9134694ed000ce43fa25de8d4576de5cd0c979bc
c30cdd2520c1966c3571e36bd266e447148cfb59
/venv/Scripts/pip3.6-script.py
3a66f7ef02ee71c72753fa0ccab16c8158e0daea
[]
no_license
akuma368/Doubt
c160eb9cb98626699b547bc15b51f28267280e04
77fe1630094deb0dd4b76e6adf123fe5f34a2fef
refs/heads/master
2023-04-10T01:03:41.397563
2021-04-21T14:22:35
2021-04-21T14:22:35
359,562,420
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!"C:\Users\Asmita Singh\PycharmProjects\Practice project\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "asmitakumari777@gmail.com" ]
asmitakumari777@gmail.com
cfc9fccde69b80cc85130c0b21d587f8334a7d7f
7c3dbee0cbac0413d8b0428a601f5dbece36e816
/tests/test_FileOpeners.py
b3238f3e0a7ec22e4dd8df0f14291f74495bf3d7
[ "MIT" ]
permissive
mglezsosa/M2AlignDataExtractor
d1035ea6c593b990ffe3e13bc2554b6e8d06439b
0643a91227df8d4be03d4359ef06181b780a2802
refs/heads/master
2020-03-21T10:49:10.151013
2018-06-05T09:25:21
2018-06-05T09:25:21
138,472,687
0
0
null
null
null
null
UTF-8
Python
false
false
4,840
py
import unittest from m2aligndataextractor.fileopeners import VarFile, FunFile class FileOpenersTest(unittest.TestCase): def test_should_varfile_return_an_iterator_that_yields_aligned_sequences(self): with VarFile('./VAR.BB11001.tsv') as f: alignments = [] for alignment in f: ...
[ "sosa@uma.es" ]
sosa@uma.es
6b12c5bac1518aa6cd0103533324f7cdc730e501
74369c12ba70489a81180da357ce79bfa7ed5b29
/rendu/resources/code/back/parse/parse_entries.py
e44ef39c0c3eb062e7d6bc0f99af45dd1147cda6
[]
no_license
MaximePerrinLivenais/DEVI
40282e44ae5bc3be67c72ec75aae993cb7ec2fd5
296aa962b4d90af49ad7614ce03bf8f5febaf3e4
refs/heads/master
2023-03-23T03:01:36.852104
2021-03-19T22:02:35
2021-03-19T22:02:35
344,510,980
0
0
null
null
null
null
UTF-8
Python
false
false
12,085
py
#!/usr/bin/env python3 # import re import regex as re # import regex as re import json import collections import csv import argparse import concurrent.futures import enchant import enchant.tokenize from pprint import pprint from operator import attrgetter import logging from logging import debug, info, warning, err...
[ "youssef.ouhmmou@epita.fr" ]
youssef.ouhmmou@epita.fr
5484b8fc3a0af4846d3f4ff73a6502d49b518d4c
6b8c52048648c82543ce899d5fb2f8b0dcabb6e5
/stack/minstackV1.py
7d5c20b19b9f085b10c6e6301bf30f6e002eca78
[]
no_license
arnabs542/DS-AlgoPrac
c9f7f0d383bcb3b793b09b219135f1bc9d607081
fcc2d6d014e9ffdce3ff4b64d12ce054222e434d
refs/heads/master
2022-12-13T05:56:33.098629
2020-09-15T13:48:54
2020-09-15T13:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
"""Implementing min stack by using constant extra space.. though it works for only positive integers.""" class MinStack: # @param x, an integer # @return an integer def __init__(self): self.S = [] self.min_ = float("inf") def push(self, x): if self.S: if self.min_ >...
[ "vvrmahendra@gmail.com" ]
vvrmahendra@gmail.com
3284b7eb7a9381e9b1c28eb67e7d35fecfb7f382
87f114e81c333b3494c891ddb567247440de07f3
/fan/transformer.py
3734422294cc1fd19d3e4a4783fa71680cc09cd1
[ "MIT" ]
permissive
stes/fan-pytorch
2502d103260852c8e06f1a8108ed3acbb06ae088
e80aa3754f9246c56ed6835511427f290a96135d
refs/heads/master
2021-03-22T03:31:49.169024
2018-06-20T23:18:47
2018-06-20T23:18:47
108,663,478
6
1
null
null
null
null
UTF-8
Python
false
false
31,719
py
""" Pretrained VGG models for feature encoding and decoding Adapted from https://github.com/sunshineatnoon/PytorchWCT Reference: Li Y, Fang C, Yang J, et al. Universal Style Transfer via Feature Transforms[J]. arXiv preprint arXiv:1705.08086, 2017. """ import torch.nn as nn import torch from torch.utils.serializatio...
[ "steffen.schneider@rwth-aachen.de" ]
steffen.schneider@rwth-aachen.de
c9afb092eef5a506c10822dac5f4ffe8dd111681
ad59fb12042bfd3f5c43eca057d0f747f9e148cf
/Se2iP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/tsiplayer/addons/resources/hosters/archive.py
bcb864423b8093bc814397335b14ebbcdb524665
[]
no_license
lexlong2007/eePlugins
d62b787100a7069ad5713a47c5688008063b45ec
167b262fe36901a2d3a2fae6d0f85e2307b3eff7
refs/heads/master
2022-03-09T05:37:37.567937
2022-02-27T01:44:25
2022-02-27T01:44:25
253,012,126
0
0
null
2020-04-04T14:03:29
2020-04-04T14:03:29
null
UTF-8
Python
false
false
1,892
py
# -*- coding: utf-8 -*- # vStream https://github.com/Kodi-vStream/venom-xbmc-addons from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.handler.requestHandler import cRequestHandler from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.parser import cParser from Plugins.Extensions.IPTVPlay...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
76a0b0f65b7fa45d7eeb03ada867a159beedd3a3
16beae88a044380df460195b5c451da9f67e346e
/python3_hard_way/ex14.py
cdb1643ae7a25f8d5b0aad7efa19f6d5ad1039e1
[]
no_license
arian81/playground
1a223721acd51fc9a2b9895243533410d93ee46c
ab0d175cec7823ef924c84db7948a4e64f577d73
refs/heads/master
2020-05-22T17:08:27.151680
2020-05-14T16:53:40
2020-05-14T16:53:40
186,446,659
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from sys import argv script, user_name, password = argv prompt = '> ' if len(password)>8: print ("try again") else: print(f"Hi {user_name}, I'm the {script} script.") print("I'd like to ask you a few questions.") print(f"Do you like me {user_name}?") likes=input(prompt) print(f"W...
[ "arian@pop-os.localdomain" ]
arian@pop-os.localdomain
51b73c2cb5aefe10a374446ef066b0bcb61b2e55
e19f94cbfcb9ebb3dae4fcf18d34ad5f2092c626
/STDF/WIR.py
55847d9644e66140336cb651f83016a87f80d033
[ "MIT" ]
permissive
awinia-github/Semi-ATE-STDF
1c2c20c80e8fec31026196da90f472ad741be162
f9f4e6544928f56a9be150bdbc38971ac32dd9fc
refs/heads/main
2023-02-27T04:58:05.359588
2021-02-11T07:37:51
2021-02-11T07:37:51
337,956,845
0
0
MIT
2021-02-11T07:20:54
2021-02-11T07:20:53
null
UTF-8
Python
false
false
3,108
py
import sys import time from STDF import STDR class WIR(STDR): def __init__(self, version=None, endian=None, record=None): self.id = 'WIR' self.local_debug = False if version==None or version=='V4': self.version = 'V4' self.info = ''' Wafer Information Record -------...
[ "github@awinia.de" ]
github@awinia.de
3a1720e34fb174542e3bb80edb1101ceee2502ae
d82d65225eaf2a4b255b0d79d58fa4331670cc5e
/Products/IssueDealerWebDAVPublisher/webdav_publisher.py
736a70e728f395eaf38056e7cb75ba6ab40ae9ad
[]
no_license
morphex/IssueDealer
05b207214d791cb1380053de9ff35c42f4674511
9293bc8a2225f83fe5f17f2784729122655e8e63
refs/heads/master
2020-06-14T17:34:33.456615
2015-02-13T03:54:18
2015-02-13T03:54:18
29,468,278
0
0
null
null
null
null
UTF-8
Python
false
false
9,264
py
from Globals import Persistent, InitializeClass from Products.PageTemplates.PageTemplateFile import PageTemplateFile import OFS import Acquisition import AccessControl from Products import ZCatalog from Products.IssueDealer import base from cgi import escape import string from DateTime import DateTime from Products imp...
[ "morphex@infernal-love.nidelven-it.no" ]
morphex@infernal-love.nidelven-it.no
72cf433c16dbb9f8d28509628ed777e774fc33a2
10081a0b5a2af99d7fce36c54ce4c3101d160b98
/catkin_ws/devel_isolated/cartographer_ros_msgs/_setup_util.py
a8ff1d3d02841dcbc7fa2d0b92e7f91f27c463c9
[]
no_license
Huangxiaoming1314/AR_Robot
5d41e12e49ea2a7fc6c9aabcb814f209cc414871
c18bb06ed555d955678d27c546ec69504c95f1c1
refs/heads/master
2020-04-30T23:26:09.518719
2019-03-23T09:08:32
2019-03-23T09:08:32
177,144,004
1
1
null
null
null
null
UTF-8
Python
false
false
12,525
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistrib...
[ "www.dnng@qq.com" ]
www.dnng@qq.com
c1d099c61eb12fc3e06274c617272a65b1c14bfb
e49fd9a6b85f6b75ff0dded7c81ecaa348ce0849
/IfLabb5.py
f81d5481fa058a9178058be92c3b2161f4ec75ca
[]
no_license
aspcodenet/its_python
5d1d159b5937b7cab2343f815e4955312b35286e
8569efab78ded9609a7beafbec64347315e976c9
refs/heads/master
2021-07-16T11:54:23.517142
2020-09-04T13:23:47
2020-09-04T13:23:47
208,622,547
1
1
null
null
null
null
UTF-8
Python
false
false
168
py
kat = input("Ange kategori: V = vuxen, P = pensionär, S = student") if(kat == "V") print("kostar 30 kr") elif(kat == "S" or kat == "P") print("kostar 20 kr")
[ "stefan.holmberg@systementor.se" ]
stefan.holmberg@systementor.se
5131eda6cec2323c1e27efd6ba8233af1b03f6ea
3dbdd94004e03a7d329ae3bb8fcd10c894e52e6b
/ClearMap/ImageProcessing/Skeletonization/Old/Skeletonization.12sub/skeleton/networkx_graph_from_array.py
c0cd797279e94efcd417d4c50d1a80330a4f73a6
[]
no_license
Tom-top/clearmap_trailmap_gui
12dc86d02cb08935af74c667a2680002df16af90
c1d2f0d39c7ad4683b1da7dcbce40213b5e6b884
refs/heads/main
2023-07-11T21:52:49.209932
2021-08-12T08:04:13
2021-08-12T08:04:13
358,242,275
1
0
null
null
null
null
UTF-8
Python
false
false
7,528
py
import itertools import time import numpy as np import networkx as nx from scipy.ndimage import convolve """ program to look up adjacent elements and calculate degree this dictionary can be used for graph creation since networkx graph based on looking up the array and the adjacent coordinates takes long time. create...
[ "thomas.topilko@UMR-RENIE-LF001.icm-institute.org" ]
thomas.topilko@UMR-RENIE-LF001.icm-institute.org
84f1d64a1cc9410cb7b7eaa5027f8d0c16e57f9d
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/batch/models/job_patch_options.py
376b1c29e245d77fae4ec8a1c373887a2f1d97eb
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
3,074
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 ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
ec16e2f02274ecd6be7f2c71f094539dc2687688
664356dda8f35ad6693e18ddeaf3212ca1f19264
/RecomendSystem/users/serializers.py
b3e25989882bb423205aa4ca1168177cc025cc60
[]
no_license
Iseke/RecomSysDemo
7dcd36a7ed9c1a48fa3ecc6ab88887aac2d5cdf2
e99f015d9c20bcf28238ee9183949a2efbdd40af
refs/heads/master
2023-01-13T04:37:40.806203
2019-07-05T05:28:24
2019-07-05T05:28:24
195,189,563
0
0
null
2023-01-04T03:43:58
2019-07-04T07:19:07
Python
UTF-8
Python
false
false
315
py
from rest_framework import serializers from django.contrib.auth.models import User from movies.serializers import MovieSerializer class UserSerializer(serializers.ModelSerializer): # movies = MovieSerializer(many=True, read_only=False) class Meta: model = User fields = ['id','username']
[ "islamabdukarimov1999@mail.ru" ]
islamabdukarimov1999@mail.ru
65748e0d06ac28b85b14755df9d6dd745f7baac4
618a23cd643e429b3a738824e47e191d278368c1
/less_8/main1.py
51b1b3b6548de639a5a2ec8890fd3dc1227bc606
[]
no_license
mutedalien/PY
2293482ea69d740f6cf9b9c6c4fb345697e89ec8
a290eb4a2141edbb5aec2b24840de24e75c44e66
refs/heads/master
2022-04-17T19:36:34.937909
2020-04-17T05:06:35
2020-04-17T05:06:35
254,848,062
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Пользователь вводит три числа. # Найти минимальное из них, максимальное из них, их сумму и вывести результат. numbers = [] for i in range(3): number = int(input('Введите число: ')) numbers.append(number) print(max(numbers)) print(min(numbers)) print(sum(numbers))
[ "chel_c@mail.ru" ]
chel_c@mail.ru
74d3972a3fffabbb01145b737dd56c338a15f335
03275a474a5f2411123a19952baf4ab37d9c8369
/python/LeetCode_Problem_7_Reverse_Integer.py
4faf6e1134d989edef0d122a84807aacbfbc1fcc
[]
no_license
CheneyZhang-13/defcon
31e97d4fe273bb5129296b3fd82a4937bfd49c03
14b1261ce6e9279e2ad3d8072b0eaf79c2a3b46a
refs/heads/master
2020-06-10T16:17:06.174736
2018-01-09T14:02:38
2018-01-09T14:02:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
class Solution(object): def reverse(self, x): flag = 0 if x < 0: flag = 1 x = -(x) numList = map(int, str(x)) numList.reverse() reverseNumber = map(int, numList) #print("reverse number is ", numList, reverseNumber) factor = len(reverseNumber) - 1 reverseInteger ...
[ "nabeel@Nabeels-MacBook-Pro.local" ]
nabeel@Nabeels-MacBook-Pro.local
a67857315243e0584ea512dcf22a3750a2fb7e8b
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.RUP/Serif_16/pdf_to_json_test_Latn.RUP_Serif_16.py
315b2710136ea114d9cbc295ef473cbca8685685
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
305
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.RUP/Serif_16/udhr_Latn.RUP_Serif_16.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
323475eb406f2c74f575012ed7c8c69734f0f4d3
8e888f907ae8314337c1469d2e580cc77719af13
/roughtDNS
92c782c755974e8c08a2c62a3734a8a980ce02c1
[ "MIT" ]
permissive
mochja/ISA-DNS
609acb23b49b2e124b91d77e578975642f255210
463713b97329b000721be2512c9581c4881d664c
refs/heads/master
2021-06-07T19:21:56.608138
2016-11-20T22:06:44
2016-11-20T22:06:44
71,173,144
0
0
null
null
null
null
UTF-8
Python
false
false
53
#!/usr/bin/env python3 from cli import main main()
[ "janmochnak@icloud.com" ]
janmochnak@icloud.com
8073bfadc31cd4288b7ee5c815355358c341648d
91e4aaa1bc0ff016dba977bc6d848825a06049fa
/run_canvis_temp.py
bcb2d5d8393abafbd86cfc93bfa5f596ecc22b97
[]
no_license
sarawebb/CANVIS_4_mary
f048e0f5b7a980435d7973a32de605da4b1eabef
404c6c5b8f6ab28cb6d8c5355743043aae9ae33b
refs/heads/master
2020-06-08T08:34:28.076172
2019-07-01T03:02:02
2019-07-01T03:02:02
193,197,851
0
0
null
null
null
null
UTF-8
Python
false
false
9,556
py
"""run_canvis.py -- Input a field, Mary ID and seed ID, cut out postage stamps around associated RA and DEC for all available data for given field and CCD; Input also the DWF_run, which specifies where CANVIS outputs will be saved. Usage: run_canvis [-h] [-v] [--debug] <field> <ID> <DWF_run> Arguments: field (st...
[ "webb.sara.a@gmail.com" ]
webb.sara.a@gmail.com