blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
cec549844f429ed57e856702a1979e9d7ed82176
4574f5c8e491993dbb89b8a0abc63ede4b9adfc0
/src/rule_chains/dispatch.py
dd4fe6c45e938b70d29325a739976965815a027b
[ "Apache-2.0" ]
permissive
deeso/rule-chains
93f472e79b2e2eb9a17618a11940b7fe9afb00bb
499e42626a4c1911be7916aabfcb76a7172a55cd
refs/heads/master
2021-01-21T08:11:53.675403
2018-03-13T05:37:23
2018-03-13T05:37:23
101,954,836
0
0
null
null
null
null
UTF-8
Python
false
false
5,097
py
class ChainDispatchResult(object): def __init__(self, table_name, chain_name=None, success=False, chain_result=None, block_results=None, chain_results=None, rvalue=None, extraction_rule_results=None, outcome=False, extraction_value=None, block_name...
[ "adam.pridgen@thecoverofnight.com" ]
adam.pridgen@thecoverofnight.com
57a6ff8fd720a80cb15839c2e0932f27d9b3a853
676b5bf3737477597b97b1efdf955bdf38e9e7c6
/production.py
6e22ff73bb07ba4b791e2ccba6883dc51933f918
[]
no_license
blandry/ike
fbf31aaf58604353a8804df920eb4bf616e40185
e4f7954d35b6f325b5a8056e875d01428924b08e
refs/heads/master
2016-09-06T07:24:46.296660
2013-02-04T20:14:35
2013-02-04T20:14:35
8,014,505
2
0
null
null
null
null
UTF-8
Python
false
false
251
py
# SERVER DEBUG = False SECRET_KEY = "" HOST_ADDRESS = "" DATABASE = "" SMTP_SETTINGS = { "MAIL_SERVER": "", "MAIL_PORT": 465, "MAIL_USE_SSL": True, "MAIL_USERNAME": "", "MAIL_PASSWORD": "", "DEFAULT_MAIL_SENDER": ("Ike", "") }
[ "landry@mit.edu" ]
landry@mit.edu
2d24bf026f2a9076fab6ab81a9eb523d592a70ac
6d3b954188c670864d302bf5846ab71225bfd24b
/Lab 2.py
ebe1ad14b3bf42a7a849f4529e1fb01279106fdf
[]
no_license
johnperd/Coding-Projects
8d18c16bca928b0fcca3da3760084342d98da32d
6458fd09a6bec82e7b0735f0e6c214a4ed6b7dd7
refs/heads/master
2022-10-31T06:24:25.059420
2020-06-15T15:48:29
2020-06-15T15:48:29
272,480,197
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
#!/usr/bin/env python # coding: utf-8 # Type Markdown and LaTex: $a^2$ # In[1]: from resources306 import* # In[2]: def f(x,y): return x**2 - x**2 *y y = 3 x = 0 xfinal = 5 n = 20 h = (xfinal - x) / n xlist = [x] ylist = [y] for i in range(n): slope = f(x,y) y = y + h*slope x = x + h xlist...
[ "noreply@github.com" ]
noreply@github.com
f582bd1fe8a38bfb9010d139d33a72d4f79d7469
401aae63dde689f298c196b9063b6dca3ecf529b
/utils.py
4f3987e6e9f34679e576b4a3765a5a7ebe79e7e9
[]
no_license
dunovank/Hierarchical-Attention-Network-1
1791c4afddaf786abd60e05bf3eb4b542c9a1306
558660c7030e41698b62702c88741f0a893c8509
refs/heads/master
2021-10-25T09:17:28.882012
2019-04-03T11:50:51
2019-04-03T11:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
import matplotlib.pyplot as plt import numpy as np from matplotlib.lines import Line2D def plot_grad_flow(named_parameters): '''Plots the gradients flowing through different layers in the net during training. Can be used for checking for possible gradient vanishing / exploding problems. Usage: Plug this...
[ "shikhar.chauhan@live.com" ]
shikhar.chauhan@live.com
5d2082d3e3def9f57df6a426a6737196aaf6343c
52f29bc09f0a18e875f05281d72f1ca1384f2ff1
/src/main.py
2a63e2e1710f08c18051b0deabdcee66169707f2
[]
no_license
S-Tabayashi/predict-_stock_prices
c1dca789bd4a5e9ee7a0ec0b19406e891f1ccdc6
b62ab1fd73158044ea36d6db2fcc70e88877c335
refs/heads/master
2023-03-28T18:02:51.680427
2021-03-24T00:25:59
2021-03-24T00:25:59
350,893,237
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
from predictor import ScoringService as cls # データセットをダウンロードして解凍したファイルを配置した場所を定義します。 # データ保存先ディレクトリ DATASET_DIR= "../../data_dir" # 読み込むファイルを定義します。 inputs = cls.get_inputs(DATASET_DIR) print(inputs) cls.train_and_save_model(inputs, model_path="model")
[ "stmode2003@gmail.com" ]
stmode2003@gmail.com
bd917135a719065989f4c65a11886c065ce87756
41bf060da18b573e3b9184ce6e263266618864f3
/app/blueprints/search/__init__.py
3c3ea08250d01ebba123dc4627fbcd3c15969e75
[]
no_license
vioan/pinboard-archiver
ebf4710c8f630dc8aa97ac58d37ea1d780c7e83d
99d0d38bc9710443c226fe3c7c2aed0c88cf97c0
refs/heads/master
2020-05-26T07:11:42.917259
2012-11-28T08:20:52
2012-11-28T08:20:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from flask import Blueprint blueprint = Blueprint('search', __name__, template_folder='templates')
[ "edward.stone@tobias.tv" ]
edward.stone@tobias.tv
879c72a749aa447e3cf0d98e4a0ad65d7b96ec4b
97ad602612adf894bdfab85c4867cac69b2d7c99
/learnpythonthehardway/erect-fence.py
c6590a9ee3c6e8e39d645b035aeca2371444cfce
[]
no_license
cotncndy/leetcode-python
bebd15f3dd44e8ed1c5f33f29314977de4fcc141
591067d87209702c4d41e1a9fce88f9dd1815fed
refs/heads/master
2020-03-17T03:05:07.182353
2018-05-10T16:37:57
2018-05-10T16:37:57
133,219,257
0
3
null
2018-05-13T08:34:43
2018-05-13T08:34:43
null
UTF-8
Python
false
false
2,630
py
# There are some trees, where each tree is represented by (x,y) coordinate in a two-dimensional garden. Your job is # to fence the entire garden using the minimum length of rope as it is expensive. The garden is well fenced only if # all the trees are enclosed. Your task is to help find the coordinates of trees which a...
[ "xin_wei@intuit.com" ]
xin_wei@intuit.com
1ee20e93ca836125eae3cb9415d3f3ac36ae0383
2f08b7b60fa308488897fcc2d324f92e0ef4cbda
/wiseassenterprises.com/html/weather/we3.py
2bd17b5eb895d1f034a1f24e766c0cc36d910b43
[]
no_license
ravirajpophale/www
1f5db1bab7282217850130c0f5c4260f09c1cbec
bb777a20abf22b1613b77995b6e3f09da61a59b1
refs/heads/master
2023-06-12T00:46:34.271860
2021-07-05T15:52:39
2021-07-05T15:52:39
383,192,311
0
0
null
null
null
null
UTF-8
Python
false
false
3,418
py
import urllib, json import os import time, datetime __author__ = 'Mayur Kulkarni <mayurkulkarni012@gmail.com>' def get_json(loc): #url = 'http://api.waqi.info/feed/geo:18.536428;73.805453/?token=9d43420bc698329eedd8eb12f0bf98e66426ca98'#pashan url = "http://api.waqi.info/feed/geo:" + str(loc["lat"]) + ";" + st...
[ "raviraj.pophale@gmail.com" ]
raviraj.pophale@gmail.com
b69b52e5f9ea49a0fb6647fb95417e9d880c1ac1
5acc77c4d594c1750a9b7477499ee25b4c307bca
/ehpi_action_recognition/networks/action_recognition_nets/action_rec_net_ehpi.py
b0f025abbc592698624fe9a900a4b478838ee111
[ "MIT" ]
permissive
noboevbo/ehpi_action_recognition
bc15a3c260c79b85a82844a2779c9b1ec9cf42fd
3b77eeb5103f0f11c8d4be993ec79dddad7e661c
refs/heads/master
2021-12-29T05:24:31.891044
2021-12-19T16:23:36
2021-12-19T16:23:36
180,351,212
113
23
null
2019-04-23T11:24:27
2019-04-09T11:22:45
Python
UTF-8
Python
false
false
3,202
py
from typing import List, Dict import cv2 import numpy as np import torch from nobos_commons.data_structures.dimension import ImageSize from nobos_commons.data_structures.human import Human from nobos_commons.data_structures.humans_metadata.algorithm_output_buffer import AlgorithmOutputBuffer from nobos_commons.data_st...
[ "Dennis.Ludl@reutlingen-university.de" ]
Dennis.Ludl@reutlingen-university.de
d9125665480f9fb273f6e7705380e50c2a1ebaca
91f38b3f1d4509d55ad80e9ba9f56a2b78beeee4
/get_data.py
a7d796b2eafbfd1c9f3ecbf255603732e46e8385
[]
no_license
tyc/weekendprj
3995e607c2269a9bb7481a5d0158032b7e344bd1
6d71c6fe2bbb020b6ca22bcf8df80fda27acd240
refs/heads/master
2016-09-10T19:51:08.938223
2012-07-09T21:02:24
2012-07-09T21:02:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,172
py
#!/usr/bin/python import urllib2 import simplejson as json import smtplib import datetime from optparse import OptionParser import subprocess def test(abc): SMTP_SERVER = 'smtp.gmail.com' SMTP_PORT = 587 sender = 'tehn.yit.chin@gmail.com' recipient = 'tehn.yit.chin@gmail.com' subject = 'Gmail SMTP Test' bod...
[ "tehn.yit.chin@gmail.com" ]
tehn.yit.chin@gmail.com
3f46fed101cfe16182efd1f60760d48f44357b84
38272cdcd91966bdff868c13b16f0e59a4518972
/back_python/habitinfo/__init__.py
7da88d0fb4f278b09bb6b42b79c61b2067ee00b6
[]
no_license
read-group/habit
0a84b9c422e7034aaa3f5cc356a84e5b4f90827c
837164408286fbfe036f245badd153ea29a41f7f
refs/heads/master
2021-01-11T22:38:37.946129
2017-08-26T15:16:20
2017-08-26T15:16:20
79,004,864
0
1
null
null
null
null
UTF-8
Python
false
false
52
py
default_app_config="habitinfo.apps.HabitinfoConfig"
[ "jiangyong@qq.com" ]
jiangyong@qq.com
589cb44e6bd250ca99485e8a12bf3737b5cdbe43
0d0cf0165ca108e8d94056c2bae5ad07fe9f9377
/24_Image_Processing_with_Keras_in_Python/2_Using_Convolutions/trainingACNNToClassifyClothingTypes.py
a19cd93f8c468f435f23c4ea61341e3ec4a0d1ca
[]
no_license
MACHEIKH/Datacamp_Machine_Learning_For_Everyone
550ec4038ebdb69993e16fe22d5136f00101b692
9fe8947f490da221430e6dccce6e2165a42470f3
refs/heads/main
2023-01-22T06:26:15.996504
2020-11-24T11:21:53
2020-11-24T11:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
# Training a CNN to classify clothing types # Before training a neural network it needs to be compiled with the right cost function, using the right optimizer. During compilation, you can also define metrics that the network calculates and reports in every epoch. Model fitting requires a training data set, together wit...
[ "noreply@github.com" ]
noreply@github.com
cc8d30b530404a6ca46a394b3ec1e689d59b0ef7
00db7c7d56619fdf36a86941dda7ee5cac3d61e5
/rasa/04_forms_test/actions/forms_test_actions.py
170a9464e3fda21fd509918aa3caa1f907470049
[]
no_license
persocom01/TestAnaconda
d8926dd239159ddb60a29a28700034260075e0f6
a8b435f9d82b69752e1782c3089b20c5d9dcf3e2
refs/heads/master
2023-07-11T00:44:23.097919
2023-06-26T07:21:38
2023-06-26T07:21:38
213,216,064
0
1
null
null
null
null
UTF-8
Python
false
false
3,109
py
from typing import Any, Text, Dict, List from rasa_sdk import Action, Tracker, FormValidationAction from rasa_sdk.executor import CollectingDispatcher import re class ValidateAdventurerForm(FormValidationAction): def name(self) -> Text: return "validate_adventurer_form" @staticmethod def class_...
[ "persocom02@gmail.com" ]
persocom02@gmail.com
b53b9f640ad10415e33abfda982af3f7d1d2238d
23320e9258952cdfb40574c8543e240d63aa98ec
/realestate/views.py
7d80304129a4dfe18d45f169ec97bbbb764ae775
[]
no_license
ijij41/realestate
615d5007500c474626cfd3c3fdacfa628dde85d2
4ecbd7b13b96c3aa6564fd1ee9f1571f61ed3d5f
refs/heads/master
2020-12-24T12:39:49.017435
2018-05-27T15:17:15
2018-05-27T15:17:15
72,969,056
0
0
null
null
null
null
UTF-8
Python
false
false
10,212
py
# from django.shortcuts import render # # # Create your viewclass here. # from django.viewclass.generic import TemplateView # import json import datetime from django.views.decorators.csrf import csrf_exempt from django.core import serializers from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage ...
[ "ijij41@gmail.com" ]
ijij41@gmail.com
9eda040374e9676cb11302a44cf81830252b90b8
137231b721e0e1d356defc8d649e28c31ef98339
/resources/git/check_syntax.py
6441fda3f4aeb0919c44feae3e9a1b16eb7b1308
[ "Apache-2.0" ]
permissive
devopsec/dsiprouter
779702b002f95b85a20dda6863966f3b0d0ad1b4
bab487af5b8460f4da085d4feebeb8dd9b4a572a
refs/heads/master
2021-04-15T05:45:56.669896
2020-11-20T22:52:51
2020-11-20T22:52:51
126,534,604
0
0
Apache-2.0
2020-11-20T22:52:52
2018-03-23T20:15:16
HTML
UTF-8
Python
false
false
5,198
py
#!/usr/bin/env python3 import os, sys, re, subprocess, shutil # TODO: add support for other basic preprocessor checks (c/kamcfg) # TODO: add support for missing semi-colon / dangling curly brace (c/kamcfg) # TODO: add support for recursing through kamcfg include files (kamcfg) # global config variables project_roo...
[ "tmoore@goflyball.com" ]
tmoore@goflyball.com
016a771a9a4e9cd6058b345ad25e460998ce2d0a
78e67caaeb0b6416980c94134b03fa1346205caf
/als/asgi.py
377726f521b04d55054d6ef3fd60b44c0e042887
[]
no_license
AhtenYa/alsurlshortener
91a5838e777b4e0651ad590b146ec882da170f31
7b5bac0825c651fdad82a311b7338f13fdf94c23
refs/heads/main
2023-07-23T22:58:51.708808
2021-09-04T13:06:43
2021-09-04T13:06:43
368,159,188
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" ASGI config for als project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "68775649+AhtenYa@users.noreply.github.com" ]
68775649+AhtenYa@users.noreply.github.com
1a23c95c125ef6b9e88bdbe0a914ea803ebafe87
9c8801d1a76f37f89671721c346c1911d4197dc1
/myprofile/urls.py
adfbded9301605158106c79bc5dc9584d8256237
[]
no_license
hawkeyes64/myproject
4cc401d7ea57b4b3104c7036bac2bcc42e359476
539268817e5dad249471a3508d30973ccaecf5f4
refs/heads/master
2021-01-12T09:03:41.300568
2017-07-03T16:01:45
2017-07-03T16:01:45
76,749,005
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from django.conf.urls import url from myprofile import views app_name = 'myprofile' urlpatterns = [ url(r'^', views.index, name='index'), ]
[ "wiz.hawkeye64@gmail.com" ]
wiz.hawkeye64@gmail.com
437df5749492caa79d2bc5ad46c1efce9d4aa163
b4ef95cc0a33477893ff5322246bba877318bec0
/blog/models.py
1da647f996053c5c2cc340832e3d502d69a89243
[]
no_license
sikiyo2333/blog_project
c5a2ace9d95d407c8b40c162b0d79d484814cd3b
13fd49d44a6371ac2df2d06ed1c723537dfb62f5
refs/heads/master
2016-09-13T12:07:01.437303
2016-05-19T11:23:18
2016-05-19T11:23:18
59,199,614
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
# coding=utf-8 from django.db import models from django.contrib.auth.models import User # Create your models here. class UserProfile(models.Model): user = models.OneToOneField(User) # website = models.URLField(blank=True) picture = models.ImageField(upload_to='static/profile_images', blank=True) def...
[ "sikiyoo@foxmail.com" ]
sikiyoo@foxmail.com
66a26920f92185b4242b11c4be51229f86e92299
e38324a95a3e639afe711476a7cff77c56199bab
/manage.py
5107fe55cfc70cc993af2b2c40b6da4b0118330c
[]
no_license
sonnenkorona/django_amazon_translate
30d91e751e447302f5bd1032ac9212340540b345
b7eaa739aa1202ea0df6e94101e4bbb2911c1f5c
refs/heads/master
2023-04-12T02:03:08.020708
2021-04-15T14:36:07
2021-04-15T14:36:07
358,287,503
0
0
null
null
null
null
UTF-8
Python
false
false
670
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', 'translate_test.settings') try: from django.core.management import execute_from_command_line exce...
[ "sonnenkorona@gmail.com" ]
sonnenkorona@gmail.com
ef0a52a17359b8870ff5afc4a0872d753e9664ba
1d970480c377f0011b2407804840cbf382792447
/before_large_application_architecture/db_practice2.py
990a2e597c0d6573b50f77fa858ec00eeefe828d
[]
no_license
EminentStar/flask-web-oreily
1893f1d04e2dc11a9901bc5ea26ab84748643a8c
2f0362daed76102506f256c5a30d27fbc7f61f4b
refs/heads/master
2021-01-09T05:25:25.877741
2017-07-02T22:45:03
2017-07-02T22:45:03
80,765,611
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
from hello import db from hello import Role, User """ Flask-SQLAlchemy는 각 모델 클래스에서 사용 가능한 query 오브젝트를 생성 """ # 모델을 위한 가장 기본적 ㄱ쿼리는 그에 대응 하는 테이블의 전체 내용을 리턴하는 것 result = Role.query.all() print("Role.query.all()") print(result) result = User.query.all() print("User.query.all()") print(result) user_role = result[0].role...
[ "junk3843@naver.com" ]
junk3843@naver.com
546ad423f29df454ce30baa4898f5be35eef9929
4eb2b57b1b8f3b68ce44b8a5a967f34d10563b74
/SimpleFit/api/migrations/0053_auto_20161211_1453.py
46bc0a58c87f9386fcba490908978f1f9c9d6b9b
[]
no_license
dlellis/SimpleFit
4c87b2ca682ccc383af78c1edc3447cae208c217
d38a093d15248685abe0531e34852fe5ae5d692b
refs/heads/master
2021-05-01T16:30:39.875103
2016-12-13T18:09:56
2016-12-13T18:09:56
71,318,209
0
3
null
2016-12-13T17:54:34
2016-10-19T04:15:43
JavaScript
UTF-8
Python
false
false
1,041
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-12-11 14:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0052_ecategory_exercise'), ] operations = [ migrations.CreateModel( ...
[ "dlellis@unomaha.edu" ]
dlellis@unomaha.edu
c2a27aebcb39aa364b36e6be6aca69661fe432b4
67e4328bd6f0a47aeddd280f2b2a226ada88ef6d
/GUI/static/pickles/create.py
b8b8a09f56b783b0ce66d291daaeddc0638621b8
[]
no_license
venkat201097/Multimodal
6a4bb51185086951a5b046ef3c5f5fdced42da29
75935db16a8059fb970b78e5cd95f241a5fb7d27
refs/heads/master
2020-09-03T12:04:27.532354
2020-08-22T05:14:34
2020-08-22T05:14:34
219,426,213
0
0
null
null
null
null
UTF-8
Python
false
false
4,329
py
import numpy as np import random import os import pickle buckets = pickle.load(open('buckets.pkl','rb')) images = pickle.load(open('images.pkl','rb')) audios = pickle.load(open('audios.pkl','rb')) #train = pickle.load(open('train_local.pkl','rb')) img2lab = pickle.load(open('img2lab.pkl','rb')) #print(train) for i i...
[ "venkat201097@gmail.com" ]
venkat201097@gmail.com
fcf1f8608278a54122b87c6d5a57e67e6a09ef64
59f769b1b097e5a9ea87fded206fe48f114e496a
/Unit2-LoopsAndLists/lesson5-NestedLoops.py
c7c07fe9e38af1370ade8713a2c766656b8b575c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JoshOrndorff/LearnPythonByExample
78c3336b29653f5c5ffd226cc24e64ab360919a4
bb4376249203938ed71e9bc59da35d7ddb3fd73f
refs/heads/master
2021-01-10T16:37:29.724093
2018-06-11T16:14:17
2018-06-11T16:14:17
51,013,960
1
1
null
null
null
null
UTF-8
Python
false
false
3,482
py
# Create two empty lists. Both of which will be populated with numbers numbers = [] otherNumbers = [] print("Tell three numbers.") # Use the range function to loop three times. # The looping variable i will iterate through the numbers 0, 1, 2 # But I'll never use them. It is okay to use a simple variable name like i ...
[ "admin@joshorndorff.com" ]
admin@joshorndorff.com
dfdb47b1b83f8a4f7b1b93241c668962e9b6b4a1
bd83af8c0bb98468d48b962ca302e36ec4dfbca7
/eUG.py
20b446d3e798dc92c3b26dba59e9fa830704e0b6
[]
no_license
kochsnow/e-ViL
f1e31dc3ca844cc403c76cf8685d63e2cab24dcc
94f17f5c189573c9d1087f82eb27db37690fc810
refs/heads/main
2023-08-28T03:54:37.237757
2021-10-11T16:14:08
2021-10-11T16:14:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,174
py
# Copyright 2020 https://github.com/YIKUAN8/Transformers-VQA # # 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 applicab...
[ "kayser.mg@gmail.com" ]
kayser.mg@gmail.com
7e8bfdaf5d0513e3ea02320d09a1540ba58cc633
c76551af998ffa71b242726c4083363661357857
/app/fetch_user_data.py
1a2418fc91b427c4f4544cff4e48c15054f3a9a5
[]
no_license
meliyahu/python-pytest
7a1f76e5e72acc8c3420f9775dcd06a846f913e9
c0f552a84f58e198be64bf6f74699402e37f1f93
refs/heads/master
2022-12-09T12:11:27.480138
2022-04-22T08:00:28
2022-04-22T08:00:28
225,743,430
0
0
null
2022-12-08T14:26:28
2019-12-04T00:24:08
Python
UTF-8
Python
false
false
2,004
py
import requests import jsonpath import json url = 'https://reqres.in/api/users?page=2' def get_users(): # Send request response = requests.get(url) assert response.status_code == 200 print(f'STATUS: {response.status_code}') # print body parsed = json.loads(response.content) print(json.du...
[ "mosheh.eliyahu@adelaide.edu.au" ]
mosheh.eliyahu@adelaide.edu.au
ed2e922e9f6f35cdab83e8dbf51e6f36b9a60d16
1dca67115a72df834f94bb3022dc31563b56a9ff
/main.py
37d96f4ac22afd845fedf402a911270f81cd7199
[ "MIT" ]
permissive
aNOOBisTheGod/csgo-python-hacks
a9c0ddbf20396db3289cb137cc9d255b0dc8e3ce
bd9b0b5101e0ff3f5ccb3988265bb4304416c08a
refs/heads/main
2023-08-25T02:27:29.465912
2021-09-26T10:18:18
2021-09-26T10:18:18
410,517,660
1
0
null
null
null
null
UTF-8
Python
false
false
629
py
import pymem import re def wh(state): try: processName = 'csgo.exe' pm = pymem.Pymem(processName) client = pymem.process.module_from_name(pm.process_handle, 'client.dll') clientModule = pm.read_bytes(client.lpBaseOfDll, client.SizeOfI...
[ "noreply@github.com" ]
noreply@github.com
6f767590c4e5772ad950cb7ed0b587ce54ac7899
844f8a6ea4ca1436ac162c6794663accb3538230
/TM1py/Utils/MDXUtils.py
2d82daeb3767aafb189137afb6637cce3cc1f888
[ "MIT" ]
permissive
rclapp/TM1py
a3d2f82f72cedfa819a68864d6ea0500f7852e69
27708441c5b4b6115012ec032d5b4454d90341e5
refs/heads/master
2023-08-31T08:17:59.977306
2023-08-04T02:46:45
2023-08-08T14:51:07
136,059,712
2
2
MIT
2023-08-03T17:35:06
2018-06-04T17:24:48
Python
UTF-8
Python
false
false
10,016
py
import warnings class DimensionSelection: """ Instances of this class to be passed to construct_mdx function """ SUBSET = 1 EXPRESSION = 2 ITERABLE = 3 def __init__(self, dimension_name, elements=None, subset=None, expression=None): warnings.warn( f"class DimensionSelecti...
[ "MariusWirtz2@gmail.com" ]
MariusWirtz2@gmail.com
6a3e246b107a66aee8e3ca5850f3ebe6bd36d4db
1519d8c53539fba7fb9cca62d913546dd9c1f3d7
/database/hiree_database/database_app/migrations/0007_jobpost_job_active.py
dc448af28a7f9a1e4be2758a08a529a2a009fc95
[]
no_license
Ashish-3001/HireeDatabase
86f4b0a8fbdbf79de10e0f4dd731a533e0c7fadb
91185b95a76513367a37d145cbf245154adb9f04
refs/heads/master
2022-11-21T11:47:42.415452
2020-07-22T20:31:36
2020-07-22T20:31:36
272,979,528
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Generated by Django 3.0.5 on 2020-06-11 19:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('database_app', '0006_auto_20200611_0142'), ] operations = [ migrations.AddField( model_name='jobpost', name='job_act...
[ "cvnnashish@gmail.com" ]
cvnnashish@gmail.com
dc405b8f4c802e4f422a8113af252da208d50723
437fa0b3a6f680681450ffee9292098c8b657d3a
/trojanolustur.py
952ee14483161d2a17c0012643cf704e3fae1bdc
[]
no_license
msgulsever/Cyber-Security-Tools
f4c151240e5417f592526460d17355ee5e99ed4f
7749bb51bc42a911a52f0038b8c9a327508a0edc
refs/heads/main
2023-01-21T02:56:05.894363
2020-11-22T23:35:08
2020-11-22T23:35:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
#!/usr/bin/env python import os os.system("apt-get install figlet") os.system("clear") os.system("figlet TROJAN OLUSTURMA") print(""" Trojan Olusturma Aracina Hosgeldiniz """) ip = raw_input("Local veya Dis IP Girin: ") port = raw_input ("Port Girin: ") print(""" 1)windows/meterpreter/reverse_tcp 2)windows/meterp...
[ "noreply@github.com" ]
noreply@github.com
83ff787ef99d8d4f62ae8fe9bdda0a73c98f6e38
1fec79e22fb8edd89c3c1931909eb9b99032e2ae
/11.py
7cabf563ad3932490bd94630b9127b04133fb7bb
[]
no_license
chrismilleruk/aoc2020py
589fc464ce93387ba5483de1405e1c9e7a178607
6cf94ac6c36c34c4d23e7d90beaaeda9adc348c5
refs/heads/master
2023-02-04T09:33:13.802980
2020-12-26T19:02:06
2020-12-26T19:02:06
320,413,577
0
0
null
2020-12-11T18:12:51
2020-12-10T23:19:04
Python
UTF-8
Python
false
false
6,312
py
# Day 11: Seating System import pytest import time # Simulate your seating area by applying the seating rules repeatedly until no seats change state. How many seats end up occupied? def part1(data, directional = False): seating = Seating(data) step = 0 for i in range(1000): step += 1 start = time.perf_co...
[ "chrismilleruk@gmail.com" ]
chrismilleruk@gmail.com
270f7c2b9a37a22f4f90d4b09ed14dadcab2e1e0
c0aa7b314cf9d85cb3e42173614aaa9fb5576eaf
/tp/plugins/task_runner.py
15b005ed16519a82b166e3bc56b8352d65bd4ac4
[]
no_license
shaphan007/testplatform
8ae5d2cea0d252da2d8348f2e284966c8ddde273
3e010e0f9f0669cf5d6f1f5a6dd9ee9396bf388a
refs/heads/master
2023-06-10T08:41:06.221870
2021-06-22T03:15:52
2021-06-22T03:15:52
375,654,443
0
0
null
null
null
null
GB18030
Python
false
false
5,137
py
# coding=gbk # api 执行相关 import requests from .status_conf import StatusConf from ..models import Step, Case, Plan, Result from datetime import datetime import json class ApiRunner(): def __init__(self, ip, port): self.host = f'http://{ip}:{port}' print('host:{self.host}') # 执行api def exec...
[ "1304832882@qq.com" ]
1304832882@qq.com
e6998d8ffb85300a81359374b5728c9b906e869c
53f69aed7fd50532913b2688dddadc285f0921a7
/Parte5.py
d0731e14787f6d47f93df771d7795028b1e4fe58
[]
no_license
gabrielmf1/RobotEntrega2
144c3ba9d486e66ef2660d90a455031259f321ae
ed43f647795c904d359cbc44799b6cb2139f948f
refs/heads/master
2021-02-10T15:34:05.405128
2020-03-02T16:18:23
2020-03-02T16:18:23
244,395,003
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
import cv2 import numpy as np from math import acos, degrees, sqrt # Iniciando a captura de video: cap = cv2.VideoCapture(0) cap.set(cv2.CAP_PROP_FRAME_WIDTH, 640) cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 480) # Definindo os limites das cores: # HSV -> Hue Sat Value lower_cyan = np.array([95, 90, 20]) upper_cyan = np.array...
[ "gabriel.miras.f@gmail.com" ]
gabriel.miras.f@gmail.com
35567216643280a09ad3bd8935dace54d5234dbd
2accbf8013faf4d879ebd5bf1de9767331d6c9ff
/Python/어서와 파이썬은 처음이지!/selection_sort.py
c2f36f2b8033bce395339903ad6ac0c18144ae19
[]
no_license
egsu20/study
5e8f7fe149342edd43378f9ccf264346f32128fe
5a42d022f7402ee0354e3fd19769b5485205c55d
refs/heads/main
2023-07-17T22:40:42.039749
2021-08-27T14:19:22
2021-08-27T14:19:22
324,571,396
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
def selection_sort(aList): for i in range(len(aList)): least = i least_value = aList[i] for j in range(i+1, len(aList)): if aList[j] < least_value: least_value = aList[j] least = j tmp = aList[i] aList[i] = aList[least] aL...
[ "56678959+egsu20@users.noreply.github.com" ]
56678959+egsu20@users.noreply.github.com
9a0efd92897fe170fc7b6274f6a4b78de5ba4563
52bb00d5e9dd936fb11aff2adb8c6d0f94849dc8
/Stack/stackBasics.py
02a1d2f1f7c25c4d306af354705e6860c171694f
[]
no_license
anildhaker/DataStructures
1c7815d2bb1dc9d8ebd51e1ec868df8260557519
e333fa5b95ecfc08a036bbeadfc4244f64361d7d
refs/heads/master
2020-04-24T14:07:44.240689
2019-11-24T21:21:03
2019-11-24T21:21:03
172,009,569
2
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Creating Stack using Arrays from sys import maxsize def createStack(): stack = [] return stack def isEmpty(stack): return (len(stack) == 0) def push(stack, item): stack.append(item) def pop(stack): if isEmpty(stack): return (str(-maxsize - 1)) return stack.pop() stack = createStack() push(stack...
[ "anildhaker777@gmail.com" ]
anildhaker777@gmail.com
f807ab26b6709ac4c4da5cd5a8fd8a42d2095e0d
289aaefe2f78bde474ea082afe55054f14932be4
/LearnPython3-master/14-各种if语句/test.py
f8ca0d1778a1946fc2b6debfc9952c9d347ba02f
[]
no_license
13424010187/python
ed15dbad380164c846ef68692213dea7689b514e
aab8ba8565ed29e7d8b93d7ec3270fafb1294fe9
refs/heads/master
2023-07-17T07:57:47.694227
2021-08-15T09:57:06
2021-08-15T09:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
point = 5 # if # if point > 30: # print("MVP球星") # if-else # if point > 20: # print("绝对球星") # else: # print("未来球星") # if-elif-else # if point > 30: # print("MVP球星") # elif point >= 20: # print("绝对球星") # else: # print("未来球星") # if-elif-elif-else if point > 30: print("MVP球星") elif point >=...
[ "1393699623@qq.com" ]
1393699623@qq.com
e7d838441af4644f293ada41a9292abbeb913be1
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/fifth/rank_2x9a_L.py
e66f7696ff621027b573962e362ee9ac48c79b60
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
07df1de62e44822f02261a1845d6b75aac9897f7
3f327d2654b85b922909925b9f475315d78f4652
/Backend/lib/python3.6/site-packages/twilio/rest/ip_messaging/v1/service/channel/invite.py
4b462d7f7cd71af4bee1ea50fb21314fbac28cac
[ "MIT" ]
permissive
brianwang1217/SelfImprovementWebApp
8db45914027537aee9614f9d218c93cc08dc90f8
7892fc4ee5434307b74b14257b29a5f05a0a0dd7
refs/heads/master
2022-12-13T15:01:08.595735
2018-06-23T04:46:06
2018-06-23T04:46:06
137,548,289
1
1
MIT
2022-05-25T01:28:29
2018-06-16T02:48:52
Python
UTF-8
Python
false
false
14,677
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from twilio.base....
[ "talk2shreyas@gmail.com" ]
talk2shreyas@gmail.com
2039803a336ed484c58bade739c91627e889e3ca
343ea722bc3e8d8f31c379235dc2b7e377314ccf
/busi_namegen.py
00cbd91994b65b59d075a15ca987daecd8c1e325
[ "MIT" ]
permissive
ksu-is/Business-Name-Gen
9a1e25707e186a973f144878d26e1cc177edc910
e19d54cbe4c9dc6425dc1fa394cd674bccfe62e0
refs/heads/master
2020-08-30T12:14:47.978161
2019-12-16T01:18:08
2019-12-16T01:18:08
218,377,376
0
0
null
2019-10-29T20:27:55
2019-10-29T20:27:55
null
UTF-8
Python
false
false
1,802
py
import requests import random word_site = "https://svnweb.freebsd.org/csrg/share/dict/words?view=co&content-type=text/plain" response = requests.get(word_site) WORDS = response.content.splitlines() the_name='' the_business='' the_word='' suggestions='' number=0 def Name(): global the_name while True: ...
[ "noreply@github.com" ]
noreply@github.com
245f6652f9ba5ff4ceaf3ca3474ff2ac846e80de
d0ea061adedf56bcac0863aa28c9ad3ea0c4e0e3
/fugue/dataframe/dataframe_iterable_dataframe.py
f243fb7b0c488a82a05d319c6ed54d47d1f9a88d
[ "Apache-2.0" ]
permissive
datadevopscloud/fugue
5962994c24e336587c5c13969cef50bf5253f7fb
1eabdf81a4b6cd76195a2c366bb9d3688bcb6fb3
refs/heads/master
2023-04-12T12:41:54.796013
2021-05-17T04:07:25
2021-05-17T04:07:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,752
py
from typing import Any, Dict, Iterable, List, Optional import pandas as pd import pyarrow as pa from fugue.dataframe.array_dataframe import ArrayDataFrame from fugue.dataframe.dataframe import DataFrame, LocalDataFrame, LocalUnboundedDataFrame from fugue.exceptions import FugueDataFrameError, FugueDataFrameInitError f...
[ "noreply@github.com" ]
noreply@github.com
807c07dbe3578db5526f3e48ffc342fbfaf387a1
af9ae1161026c2d58390737a5a149034668b16a8
/01-webotron/webotron/webotron.py
1bc1263ff53beb8f284741cc015d0748d0f9f537
[]
no_license
jimbol60/auto-aws-w-python
82bce75e5643bfb1af35b84d8783cfb88b7910c3
3b9c66588ad61a220455761497d1c7cdcc5eda7a
refs/heads/master
2020-04-20T04:46:13.626125
2019-06-15T16:38:00
2019-06-15T16:38:00
168,637,336
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
# -*- coding: utf-8 -*- """ Created on Fri Feb 1 10:46:38 2019 1 @author: Jim """ import boto3 import click session = boto3.Session(profile_name='pythonAutomation') s3 = session.resource('s3') @click.group() def cli(): "Webotron deploys websites to AWS" pass """ the @click is a decorator [this wraps a functi...
[ "jbolinder60@gmail.com" ]
jbolinder60@gmail.com
e6c64fa2264290c17763d19942f3cc545b1e6ebe
7089b86f90d855c7862d0b408e61a67725d0c254
/website/migrations/0037_auto_20210129_1257.py
9e69d14b79cb6b3aa11f06ebd0ac33962a22f43b
[]
no_license
samozzy/codamotion
784fdeb99216f030a53f27a3c1f22041743b41f3
6a4a85852023d01b13459fa0cb644f1855eb752a
refs/heads/master
2023-03-06T23:39:12.876150
2021-02-23T19:47:53
2021-02-23T19:47:53
334,784,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
# Generated by Django 3.1.5 on 2021-01-29 12:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0036_auto_20210125_2315'), ] operations = [ migrations.CreateModel( name='SiteMenu', fields=[ ...
[ "sam.tosborne@googlemail.com" ]
sam.tosborne@googlemail.com
0c69214c33df80c1751a55ac48cf6d6cda486d5e
cd5814f1b364f290b44b1ad5e716318bedbd7782
/test/Baike.py
0def782d0674a877bd56e8ee640929b9e8d245d7
[]
no_license
KingJA/KExcavator
a842abe28af516eec4b561b33d06e6214e4d36a7
ab4273b8a149592936527a5d1b959aba85eb1f82
refs/heads/master
2021-01-22T07:57:35.151420
2017-05-27T09:29:23
2017-05-27T09:29:23
82,655,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
import re from urllib.request import * class Spider: def __init__(self): self.page = 1 # 记录访问的页码 self.user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36r)' # 伪装浏览器君 self.headers = {'User-Age...
[ "kingjavip@gmail.com" ]
kingjavip@gmail.com
8652501aa9d3ac641cd3ee899b3d58665f34fa0b
051f3b084f1df675338815a12abde6a70ee5e649
/locamapper.py
d1063feb7d8c84ecf7e11be5e316e0c669e62e8e
[]
no_license
CaMeLCa5e/daily
d952b1de9e5cb1bcb805203b0b1cde859adb2314
e9ec40868e8085a521f009f9ccc19cd0c64c51c3
refs/heads/master
2020-04-26T11:25:10.130077
2015-04-19T19:30:45
2015-04-19T19:30:45
29,375,471
0
1
null
null
null
null
UTF-8
Python
false
false
220
py
import sys for line in sys.stdin line = line.strip() unpacked = line.split(",") stadium, capacity, location, surface, turf, team, opened weather = line.split(",") results = [turf, "1"] print("\t".join(results))
[ "JM273606@gmail.com" ]
JM273606@gmail.com
3f4c50e048de35cf36b72fbd342a74a9bc8a9b08
e4d12842108f5c9cf95408638cbea5ae56cd14e6
/pkg9_include/icld3_base64.py
cfa8c2e86ba94ca3760374d11fb114fa385f34e9
[]
no_license
TinloneX/Learning-Python
22d6207ad6a20a908b91da7d2bc55eacbfa5e0b2
b1b6d78915b567e3b69b1639495a44672a3b0ce2
refs/heads/master
2021-10-09T20:29:24.596230
2019-01-03T07:43:25
2019-01-03T07:43:25
108,959,913
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # python 学习笔记 之 常用内建模块(3) # base64 # 快速打印 from util import p import base64 # --- b64encode / b64decode b1 = base64.b64encode(b'binary\x00string') p('字符转base64', b1) d1 = base64.b64decode(b1) p('base64转字符', d1) # --- urlsafe_b64encode b2 = base64.b64encode(b'i\xb7\x1d\x...
[ "zhaojl@wenduing.com" ]
zhaojl@wenduing.com
7955553baca04941d72f29dac6fb5ccbd9d159a9
d55842114d818b39b5a05fbe5af39f941462799b
/test_storm/settings.py
04c31594204700a609cadd96f671e3b6a40d3d1e
[]
no_license
Nataliel/test_storm
85a67307d70230f7ac34adf64556df97e0990851
3663c956c03e54b794078b4c0a6bb2de42a62c35
refs/heads/master
2021-03-12T20:05:52.735039
2015-07-04T23:37:35
2015-07-04T23:37:35
38,549,253
0
0
null
null
null
null
UTF-8
Python
false
false
4,088
py
""" Django settings for test_storm project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...)...
[ "nataliel.vasconcelos@gmail.com" ]
nataliel.vasconcelos@gmail.com
08bfcedacd7477241c82042f91ec82ea9206394b
ddd60df07380bf9ac4f1e80c88728e5dc1822347
/project3.py
6f876c0eaad66b0b162675fc6541a5dc2a38bf8c
[]
no_license
smorram1/Database-project3
b837fef5f283cde099415d01e32ca5efaa587deb
5d8f05dca44969b1a8bcaed9c3e5dffeeff074c9
refs/heads/master
2022-05-27T00:05:32.589487
2020-05-01T22:41:34
2020-05-01T22:41:34
260,571,545
0
0
null
null
null
null
UTF-8
Python
false
false
6,209
py
# -*- coding: utf-8 -*- """ Created on Fri May 1 01:22:17 2020 @author: saipavankalyan,sai sandeep reddy """ from pymongo import MongoClient def location(collection): #The Location where more accidents are happening accident=collection.aggregate([{'$group' : {'_id' : '$LocalAuthority', ...
[ "noreply@github.com" ]
noreply@github.com
b2006cbb7580f686445bb729d89f9d2782cd9c57
3f5504aff203cc15ca8754353991208962a04a90
/src/the_tale/the_tale/game/heroes/shop_accessors.py
ee3911ac374e614437dcd8b8046989ebb6aca997
[ "BSD-3-Clause" ]
permissive
Portal777/the-tale
39614e60fa817a1e00e948a2b465fcb6be35e0c6
1a98294f6ed45d26bf5f09bdd2b4a931dbbb72e3
refs/heads/master
2021-08-24T01:46:11.472205
2017-11-04T13:31:30
2017-11-04T13:31:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# coding: utf-8 import random from the_tale.game.balance.power import Power from the_tale.game.artifacts.storage import artifacts_storage from the_tale.game.cards import objects as cards_objects class ShopAccessorsMixin(object): __slots__ = () def purchase_energy_bonus(self, energy): self.add_ener...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
61ce39cee06a71424604156a993f7a1719461fab
7f980ec40d1b519657dd04031dc284b5f2e2f5b7
/templates/credentials_json.py
213a9080af6dddcc3417f933afc085e4470c85e8
[]
no_license
kiote/calendar_app_old
40ca8e2c95dee6cc30137cb2af2ded14fa3ab3ff
a4eee4652c4a6251e955a34d5f6d74d9309de55b
refs/heads/master
2021-01-18T01:26:39.591257
2015-09-03T13:44:46
2015-09-03T13:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
credentials_json = '{"id_token": {"email_verified": "true", "iat": 1440140555, "sub": "106463563386518781717", "exp": 1440144155, "at_hash": "DsD0wf9PcW5tKHeEN3MCTA", "aud": "647104960407-ri4op15lnr2mh964rlequ3ffslinu9ps.apps.googleusercontent.com", "email": "krivich.ekaterina@gmail.com", "azp": "647104960407-ri4op15ln...
[ "krivich.ekaterina@gmail.com" ]
krivich.ekaterina@gmail.com
5f2ce7121fa780c80dfe8ccdb8e31d4f67ad3753
56abd8f94a511ae0d163161cb2f5e0a91d4b8bed
/datahub/investment/test/test_validate.py
1a5ffaa2fa0b35879bda1a796d8eb999cd128ab5
[ "MIT" ]
permissive
cgsunkel/data-hub-api
994c58bd975d902bf2bc44b415a5892919ff4539
a92faabf73fb93b5bfd94fd465eafc3e29aa6d8e
refs/heads/develop
2023-05-31T22:35:56.344904
2021-06-30T11:23:06
2021-06-30T11:23:06
303,947,456
0
0
MIT
2021-06-30T10:34:50
2020-10-14T08:14:46
Python
UTF-8
Python
false
false
1,477
py
from datetime import date import pytest from freezegun import freeze_time from datahub.investment.validate import ( _is_provided_and_is_date_in_the_past, is_provided_and_is_date_less_than_a_year_ago, ) @pytest.mark.parametrize( 'data_date,expected_result', ( ( date(2019, 2, 2), ...
[ "marcus.patino-pan@digital.trade.gov.uk" ]
marcus.patino-pan@digital.trade.gov.uk
96c42184cc0925686a9b9a85d6043098400f1cda
ec910a38e5b51fc6314337cdd90e7729071cd9dc
/sqla.py
4adb4bfa4ed8c26c6d904f058ea685f7140edb61
[]
no_license
silvercoder1/sql-hacking
1acd18e66bc0f420a087d7418bf5e9372d7cd1ae
aa9c1a039310f90d5be045c4c4023bf1908ba0c3
refs/heads/master
2016-09-05T10:24:08.957712
2015-08-27T02:32:32
2015-08-27T02:32:32
41,395,042
0
0
null
null
null
null
UTF-8
Python
false
false
2,105
py
import sqlite3, csv CITIES = [('Boston', 'MA', 600000), ('Los Angeles', 'CA', 38000000), ('Houston', 'TX', 2100000), ('Philadelphia', 'PA', 1500000), ('San Antonio', 'TX', 1400000), ('San Diego', 'CA', 130000), ('Dallas', '...
[ "vikrambahl@svram.local" ]
vikrambahl@svram.local
19f2f4ba687e70f40c6c6684f09ea6f92ba1cdce
dd018e9d6777e26aa759fe4efc01ae8ba344a39f
/.PyCharmCE2018.1/system/python_stubs/-1247971763/hpmudext.py
ec355ad6f857fae7ce8789bc58faa8573e268962
[]
no_license
sofiajatsunda/lits--project
d2ffafd021b6815f72287dd52af33aa63607064b
2fb4c165e74491eb6e26606ff481c7c5c54c9ed5
refs/heads/master
2020-03-21T09:15:03.786745
2018-06-23T10:01:19
2018-06-23T10:01:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,839
py
# encoding: utf-8 # module hpmudext # from /usr/lib/python3/dist-packages/hpmudext.cpython-36m-x86_64-linux-gnu.so # by generator 1.145 """ Python extension for HP multi-point transport driver """ # no imports # Variables with simple values HPMUD_BUFFER_SIZE = 16384 HPMUD_BUS_ALL = 3 HPMUD_BUS_NA = 0 HPMUD_BUS_PARAL...
[ "jatsundasofia@gmail.com" ]
jatsundasofia@gmail.com
5651ce9ae2806cf432014fe0af9498228b65bb12
2b9c73b27448232644390295c1dc25a6168322ff
/01012020/Client1.py
d5dc206635f19def5a80b664a1abb88e6b7a1bc6
[]
no_license
Genesisalarcon1998/csp-exercises
372f1166aa7f9049e30160ed75143600dda588bf
5ed942036517ddd0ca3d4875bb4c1839bbd80088
refs/heads/master
2020-12-19T03:26:39.997294
2020-02-10T16:29:46
2020-02-10T16:29:46
232,543,064
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((socket.gethostname(), 1025)) complete_info = '' while True: msg = s.recv(7) if len (msg) <= 0: break complete_info += msg.decode("utf-8") print(complete_info)
[ "Genesisalarcon1998@gmail.com" ]
Genesisalarcon1998@gmail.com
0eb6a89c5f5aa4482f1b13a94ec4c7090b573a4c
168126e419a9454dd6ecfad699ea0c8602765649
/xcapy/data/xclarity.py
037e9719cb480028ee26acdb3dbc900f847543c0
[]
no_license
andrewCluey/lenovoPy
fffb66bc7b3d380a919d720185fc31ed9fe98837
cfcea841f12b30542a56f7d1cd315f574093fe49
refs/heads/master
2020-06-13T15:43:08.970847
2019-07-07T11:57:37
2019-07-07T11:57:37
194,698,603
0
0
null
null
null
null
UTF-8
Python
false
false
3,945
py
# Written by Andrew Clure # # 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 # # These functions are intended to be re-used and imported into othe...
[ "aclure@globalprocessing.net" ]
aclure@globalprocessing.net
9202934aa4dc5ccfd0cc0fc595d2dcecdeae1ff0
6bb8cbacd2e79264b7c8276f209977eb3c7d84a8
/Backup/WSEL_XS_Check.py
898b9455b6488442eadada08692efdd12e93670d
[]
no_license
bmulcahy/WSEL-Python-Tool
8042e4eab54829310b356bf3cb6ecd9b1f3a4492
5818554dab4b27c0dfc9bac960d666226c23df06
refs/heads/master
2016-08-11T20:36:52.704073
2015-11-25T21:30:19
2015-11-25T21:30:19
44,610,691
1
1
null
null
null
null
UTF-8
Python
false
false
3,366
py
from __future__ import print_function import sys, os, re, arcpy from arcpy import env class WSEL_XS_Check: def __init__(self, config, streams): self.streams = streams self.config = config def __enter__(self): self.scratchgdb = self.config['scratchgdb'] self.xs_...
[ "brian.mulcahy@stantec.com" ]
brian.mulcahy@stantec.com
5f78e405f573ff85376a83454adda0f77c715adc
a2d3367988bf9285f975b64a83d0e1050c24ab9c
/app/apps.py
7ecbb87e9a9af02814e0a34e2ce346fc577c9735
[]
no_license
Lyss74/AboutsGoodsApp
9cfb75ccc78b51785979cdc09a97803b204b4a70
7a5274b7db944adfd41619ffc7cc951e11a33f62
refs/heads/master
2022-12-13T09:22:57.573922
2019-07-01T07:55:12
2019-07-01T07:55:12
194,542,619
1
0
null
2022-12-08T05:50:05
2019-06-30T17:24:18
Python
UTF-8
Python
false
false
82
py
from django.apps import AppConfig class AppConfig(AppConfig): name = 'app'
[ "LyssProGm@gmail.com" ]
LyssProGm@gmail.com
cec93e40fbfa31c0efdba8beccb93ed57d76dd43
192f639939307313737969763ccbdbaa68352317
/faasmcli/faasmcli/tasks/dev.py
fdaafa09de4990ee4cd73d18d7d3adb7e0cca69a
[ "Apache-2.0" ]
permissive
mkvoya/faasm
90f0fee34377266ce162f1583b7ddd21a43f30f6
6d85a5507a2ce10fcd0c486251e1d26c0e013e28
refs/heads/master
2022-12-28T23:22:28.128943
2020-10-21T18:53:24
2020-10-21T18:53:24
306,117,491
0
0
Apache-2.0
2020-10-21T18:45:48
2020-10-21T18:45:46
null
UTF-8
Python
false
false
1,087
py
from os import makedirs from os.path import join, exists from shutil import rmtree from subprocess import run from invoke import task from faasmcli.util.env import PROJ_ROOT _BUILD_DIR = join(PROJ_ROOT, "build", "cmake") _BIN_DIR = join(_BUILD_DIR, "bin") @task def cmake(ctx, clean=False): if clean and exists(...
[ "noreply@github.com" ]
noreply@github.com
234cc309b974c4a2bb21e97ad291e8d31267e23e
41539db14285975508d689e1fa1153b338bf6f50
/Chapter2/les3_2_example.py
f4c308426aa4717ff25926b6dd90c7f4bc3dbfb2
[]
no_license
dushkinalexandr/stepik_automation_test_selenium
4254bb2fac76ebc14fa40c64ab6dffe35a9e6ba5
82fa2a2cbcc88957e4f31c326524006ef9ccfcc6
refs/heads/main
2023-03-29T23:25:17.448944
2021-04-06T10:12:09
2021-04-06T10:12:09
318,863,701
0
0
null
2021-04-06T10:12:09
2020-12-05T18:45:07
Python
UTF-8
Python
false
false
386
py
from selenium import webdriver import time browser = webdriver.Firefox() try: link = 'http://ya.ru' browser.get(link) time.sleep(2) browser.execute_script("prompt('Hello!');") prompt = browser.switch_to.alert time.sleep(2) prompt.send_keys("OKI DOKI lolololadasdasdasd") time.sleep(2) ...
[ "ku.wurm@google.com" ]
ku.wurm@google.com
2c0c9016bb987cc12c64f4dbc7a964a54b1ab1b3
ebf072232818145211ba444bdf6f5567b87a7086
/Workingproject.py
a5dbd40a8d99e54ea350ec54b880b1fd6bb0f60d
[]
no_license
lucywebster/thesisproject
c5a0954d946b5c1c0364de3423d289fc9d13944e
e6651d8373e64c9d65e50cde24d09573110e0f4a
refs/heads/master
2021-06-02T12:07:05.905768
2018-11-02T03:56:56
2018-11-02T03:56:56
135,812,905
0
0
null
null
null
null
UTF-8
Python
false
false
2,996
py
#!/usr/bin/env python # # The following program has been written by Lucy Webster, 09154752, for the purpose of # BEB801 Project, Intergenerational Language Transmission at QUT # # The file will allow read and write on to RFID cards import RPi.GPIO as GPIO import MFRC522 import signal import simpleaudio as sa import p...
[ "lucyapril96@gmail.com" ]
lucyapril96@gmail.com
5ec906a7f13bfe9363c263fa69b23f71a96dfda7
5aa74b5186866495f9c43a7ada539e155d239d15
/aud.py
3de6a8b7501971ca53b0b3facecbea05c8c795e5
[]
no_license
iWebster28/wavechord
3dcc15eee6181a1d22009ae31f7f94b9072943c6
1b511d82482c5bc747082bebd07b1f6fc025a224
refs/heads/master
2023-03-08T21:30:51.517589
2021-02-21T18:45:36
2021-02-21T18:45:36
340,582,568
0
1
null
null
null
null
UTF-8
Python
false
false
55
py
import pyaudiotest as pa root = 49 pa.play_note(root)
[ "IanWebster2828@gmail.com" ]
IanWebster2828@gmail.com
4ec56b65a6d1c32f1b71a88f3d3e179a2047d363
c6962356ba66835e7173f4386ae6fb47cf55e38b
/batch_normalize_volume/get_max_volume.py
52a5558aeb636b09698dba264662979cf583d487
[]
no_license
ethanweed/Speech-scripts
d90e59dc09a5749feb6ea5a4279601d6fb9b6648
6435d2b5eb4af4a8ec0b1283f67119a181bba208
refs/heads/master
2022-03-22T02:28:30.320594
2022-03-04T09:04:08
2022-03-04T09:04:08
172,110,760
1
0
null
null
null
null
UTF-8
Python
false
false
648
py
#read file into python # Ethan Weed # Spring 2019 # get maximum volume from file "read_volume.txt" # find gain needed to add to bring dB to zero # save output as "gain_adjust.txt" import os pathin = 'path/to/read_volume/file' file = 'read_volume.txt' os.chdir(pathin) with open(file,'r') as f: text = f.read() t...
[ "weed.ethan@gmail.com" ]
weed.ethan@gmail.com
3d707d21c6ac16799a945bce65e9006254cfa68b
4c8c9e3648371091fa523d5487542e6a6f200fbd
/TestPython1/src/com/caibo/api/Log.py
d10d432251f4543906b8c358b3803f71c9229e9b
[]
no_license
zhonglekeji/AutoTest
f32bd00802096999f7057ec244ca29a83072fee9
73169d47e169cab0a1e854d2b3b0fda43fea6dd5
refs/heads/master
2020-04-16T01:29:21.446021
2019-01-23T06:38:14
2019-01-23T06:38:14
165,175,606
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
# -*- coding: utf-8 -*- class Log: def print_case_info_Login(self,mobile,pwd,mes): print('执行登录相关测试用例:\n'+mes+'\n参数:\n'+'mobile:'+mobile+'\n'+'pwd:'+pwd) pass def print_case_info_My(self,mes): print("执行测试用例:\n"+mes) pass def print_case_info_identity(self,rel_name...
[ "zhixiegoulbcnj@gmail.com" ]
zhixiegoulbcnj@gmail.com
a65372cb81c7b03b6c39d5f50a614eb3fe350d61
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/repos/flaskTs-master/app/email.py
9203880e1598384e4a0187a41bb57893fba8264d
[]
no_license
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from flask_mail import Message from app import mail from flask import render_template def send_email(to,subject,template,**kwargs): msg=Message("[TecnologyDreamer]"+subject,sender='879651072@qq.com',recipients=[to]) msg.body=render_template(template+'.txt',**kwargs) msg.html=render_template(template+'.html...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
0e13b665b65fffad36965d6b06a4b06237bab28b
77a5b14525d495edac238d2da5ee3a3658b25373
/1.py
163e42d8f8d0181cc7fd5418691a330eef027ff4
[]
no_license
lee25122529/Arlee.-py3
5a8fb1c0c600e0c0bfb68c576b505ee249c3e7fe
1b60eda2e4665ca34a65acd0ba8306a51f4580eb
refs/heads/master
2020-03-21T03:14:16.758466
2018-07-02T23:33:17
2018-07-02T23:33:17
138,043,261
0
2
null
null
null
null
UTF-8
Python
false
false
210,780
py
# -*- coding: utf-8 -*- from linepy import * from akad.ttypes import * from multiprocessing import Pool, Process from datetime import datetime from time import sleep from bs4 import BeautifulSoup from humanfriendly import format_timespan, format_size, format_number, format_length import time, random, sys, json,...
[ "noreply@github.com" ]
noreply@github.com
465ad821dd26762dbe90a07f2a9c32c0f4f0758e
a554def1522ab3d58f2a85027f985c01fa159aa2
/app.py
edb289e677b9c8d5162ac59a9ba0e0c2f82f2976
[]
no_license
geraldoalm/FirstGit
389574b287948a7626a1c31115e9124f66f4e80c
ca6c39d54b21a490a09491073753ca0a25c1fbc0
refs/heads/master
2020-05-07T18:35:25.688254
2019-04-11T11:22:28
2019-04-11T11:22:28
180,774,074
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from calculator import total,product print("The sum is :",total(2,3)) print("The product is :",product(2,3))
[ "geraldoalm12345@gmail.com" ]
geraldoalm12345@gmail.com
5bd6c962c4630dabef0a1ee828ebb0886814655c
a91cb8785be8ba51831b815deb0eb1dd59b9a9a8
/scene/step.py
c56dba461e5a064169fad65a8f9ec80f3f828a68
[]
no_license
maxime-tournier/pouf
137f1917cb6deea21fd75f4767b9fbdbdd4adb39
afe6ec8d408b3b1b199576106887d3feb12447fc
refs/heads/master
2021-01-18T23:27:12.598897
2016-05-25T13:30:49
2016-05-25T13:30:49
18,585,362
3
0
null
null
null
null
UTF-8
Python
false
false
4,481
py
import Sofa import pouf from pouf import robot from pouf import rigid from pouf import joint from pouf import control from pouf import script from pouf import pose from pouf import contact from pouf import tool import Compliant from Compliant import Tools from pouf.tool import concat import math import numpy as np ...
[ "maxime.tournier@brain.riken.jp" ]
maxime.tournier@brain.riken.jp
adf8bcf70a7abd41c6617653f5ac599ad6aff3cc
f260ff31ba63e9cd35e21b99c577107c46135a0d
/test005/test_reduce.py
2b49c6ecf3d3ee5062e62b927f5198f055b7b5fd
[]
no_license
wscfan/pythoncode
e1cc882139931f4257528e274f443c3c8217ec8d
4bbe06f47b046a5078e8dd0f2ae9ccb9eeb01743
refs/heads/master
2021-03-20T21:12:58.580056
2020-12-19T16:38:10
2020-12-19T16:38:10
247,234,904
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from functools import reduce def get_sum_use_python(l): return sum(l) def f(m, n): return m + n def get_sum_use_reduce(l): return reduce(f, l) def get_sum_use_lambda(l): return reduce(lambda m, n: m + n,l) if __name__ == "__main__": l = [1, 2, 3, 5, 7] print(get_sum_use_python(l)) prin...
[ "wshappyday@sina.com" ]
wshappyday@sina.com
2a762d43d44142359945b21e58d56b6dea95b604
7e30a9a5170bb54897e808785c3daa58c1a3e19b
/sim/utils.py
92aa4d07f50bb913a20d049cbca7cbf6d33a1659
[ "MIT" ]
permissive
jmagine/multiuav-rf
5ab8d80061d368a6f0b92dc62c2c135189270099
ba9dcb5ca550916873ce68baa71da983f2dd4be5
refs/heads/master
2023-01-07T12:43:37.156868
2020-11-02T17:12:55
2020-11-02T17:12:55
226,418,281
1
0
null
null
null
null
UTF-8
Python
false
false
2,118
py
import numpy as np import math def calc_rates_fdma(a, q, f, d, I, gt, gamma): K, M = I.shape r = np.zeros((K, M)) for n in range(M): for k in range(K): pass pass def calc_rates(a, q, f, d, I, gt, gamma): K, M = I.shape #r_temp = np.zeros((K)) #r_total = np.zeros((M)) #r_total_k = np.ze...
[ "jasonma5501@gmail.com" ]
jasonma5501@gmail.com
b5c3ee3c6030d006925a30c43b0ae563408aeda9
fe6775ca8c5b42710785e3a923974ae079f92c8f
/剑指offer/剑指 Offer 55 - I. 二叉树的深度.py
53759e4232eb424671a0c80016e248c07bbe847d
[]
no_license
AiZhanghan/Leetcode
41bda6676fa1a25fa19e393553c1148ed51fdf72
101bce2fac8b188a4eb2f5e017293d21ad0ecb21
refs/heads/master
2021-06-28T10:48:07.865968
2020-11-20T09:45:15
2020-11-20T09:45:15
188,155,059
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def maxDepth(self, root): """ Args: root: TreeNode Return: int """ if not...
[ "35103759+AiZhanghan@users.noreply.github.com" ]
35103759+AiZhanghan@users.noreply.github.com
4f558c18905639160671530a35dbbf592d71058c
a15200778946f6f181e23373525b02b65c44ce6e
/Algoritmi/2019-06-25/all-CMS-submissions/2019-06-25.10:26:54.215386.VR432075.biancaneve.py
959fb7d91ea8ff4d2875e8281f77063d1dc829c4
[]
no_license
alberto-uni/portafoglioVoti_public
db518f4d4e750d25dcb61e41aa3f9ea69aaaf275
40c00ab74f641f83b23e06806bfa29c833badef9
refs/heads/master
2023-08-29T03:33:06.477640
2021-10-08T17:12:31
2021-10-08T17:12:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
""" * user: VR432075 * fname: BUSATTO * lname: ALESSANDRO * task: biancaneve * score: 2.0 * date: 2019-06-25 10:26:54.215386 """ from __future__ import print_function import sys if sys.version_info<(3,0): input=raw_input def scambia(nani,p1,p2): x=nani[p1-1] nani[p1-1]=nani[p2-1] nani[p2-1]=x def ...
[ "romeo.rizzi@univr.it" ]
romeo.rizzi@univr.it
65d85f49f25191d7cd79893a30280262f4c997df
6ffd2cb3c32d16d2a4dba3c5e894a62bd96ba0a9
/posts/migrations/0003_auto_20170717_1753.py
b4acaae8cb8ffc6820d9d53226fc3dae27f1a9a7
[]
no_license
kruwaih/blog
fe973227678d7da897d9cbca842cab0d54fedcaa
b583786e82806e90ddd116ab8617ae14c1cace47
refs/heads/master
2022-12-08T23:23:37.005038
2017-08-15T17:57:40
2017-08-15T17:57:40
98,108,089
0
1
null
2022-12-08T00:42:38
2017-07-23T15:42:14
Python
UTF-8
Python
false
false
422
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-07-17 17:53 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('posts', '0002_secondpost'), ] operations = [ migrations.RenameField( mode...
[ "kruwaih@khaleds-MacBook-Pro.local" ]
kruwaih@khaleds-MacBook-Pro.local
57e67cb1df112ea531e501e57188eaec98f19f3d
4e2a41ca6d13d3b04bbd7c087094a77a374500fa
/clang-format.py
6a9828ef51f4268d53079eaa68c7647d54d9ac54
[]
no_license
bourdibay/Qt-prototypes
36803054e75e84112a8b6a4b427c257d7a016558
eb57097cb84925cd55b6e82334a87806af3aaa2e
refs/heads/master
2021-01-10T19:09:36.742710
2014-07-13T09:02:49
2014-07-13T09:02:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# This script run clang-format on all the source files # in order to share a common and uniform syntax style. import fnmatch import os matches = [] for dir_to_check in ['./ListProto', './ModelSharing', './Scintilla', './SideAreaManagement', './TextEditor', './TreeProto']: for root, dirnames, filenames in os.walk...
[ "benjamin.bourdin40@gmail.com" ]
benjamin.bourdin40@gmail.com
4d6c0ca013275f8ac616c2537d1a06bf1ecfd9dd
fe0813eba877ddebfa3292e8d2db7be3a8d36e64
/leetcode/bit_operation/137.py
cbece34e139bf8214c38dfbbdad501fc6a8d326d
[ "MIT" ]
permissive
1lch2/PythonExercise
409b367101ce5cbcd739c9c312a3d398e5b38811
9adbe5fc2bce71f4c09ccf83079c44699c27fce4
refs/heads/master
2021-07-18T05:39:42.985221
2021-01-15T11:01:19
2021-01-15T11:01:19
229,878,839
1
0
null
2020-02-21T05:30:28
2019-12-24T05:49:16
Python
UTF-8
Python
false
false
995
py
# 给定一个非空整数数组,除了某个元素只出现一次以外,其余每个元素均出现了三次。找出那个只出现了一次的元素。 # 说明: # 你的算法应该具有线性时间复杂度。 你可以不使用额外空间(常数空间)来实现吗? # 示例 1: # 输入: [2,2,3,2] # 输出: 3 # 示例 2: # 输入: [0,1,0,1,0,1,99] # 输出: 99 from typing import List class Solution: def singleNumber(self, nums: List[int]) -> int: return (3 * sum(set(nums)) - sum(nums)) //...
[ "1lch2@163.com" ]
1lch2@163.com
9f9641fb2004477a918cfa465ea0687a2cfd391c
eaaa1bbceb9a867e08769aae07c37c5e1107e430
/mitx_6.00.1x_ics_py/examples/lectureCode_Lec5-fib.py
1825c83576b55e08886bfcd0acf5f707779b8de7
[]
no_license
nwinds/jugar
c8f9ce11dd95c6e0dda22e22a69dd598b34d9d3c
db4d362d9d1dd04f2c6c013d4462de0c892b8314
refs/heads/master
2020-12-24T16:35:03.951580
2016-03-10T09:25:06
2016-03-10T09:25:06
41,397,534
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
def fib(x): """assumes x an int >= 0 returns Fibonacci of x""" # Base case: # Female(0) = 1, Female(1) = 1 assert type(x) == int and x >= 0 if x == 0 or x == 1: return 1 else: return fib(x-1) + fib(x-2)
[ "namingwinds@gmail.com" ]
namingwinds@gmail.com
2d2b43ef2d5afadf787cce63d8514ef29e08e146
9977d90d93d5d11f3746dfbc6f80df8446f993ec
/src/users/migrations/0007_auto_20171109_1333.py
5272b8f597d788b866b306e525296723fbdf3f69
[]
no_license
murkeirluh/Medical-Center-Manager
8f38575328c0b1da1c6439d1836c667002f70715
fa7582673bcf1023f5331972e3d856476ffbf45b
refs/heads/master
2020-03-15T06:14:06.433680
2017-12-05T07:04:32
2017-12-05T07:04:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-09 05:33 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dashboard', '0003_auto_20171109_1327'), ('users', '...
[ "gchase.patron@gmail.com" ]
gchase.patron@gmail.com
a52d697057d4bb0491b592c7413e0b26fe50b949
a7d79633d0034afcca44920bd050ad36969fcdf2
/test/test_guard.py
2d852596a16766308a55be5a4ce8b79093f5b854
[ "MIT" ]
permissive
s-m-i-t-a/railroad
b59439321745866c0bcc82d3bddba4131f798ed8
ddb4afa018b8523b5d8c3a86e55388d1ea0ab37c
refs/heads/master
2020-04-15T16:53:41.159916
2016-11-25T13:32:37
2016-11-25T13:32:37
41,478,581
0
2
null
null
null
null
UTF-8
Python
false
false
1,502
py
# -*- coding: utf-8 -*- import pytest from mock import Mock, call from railroad import guard, GuardError def fn(a, b, c, d='foo'): return (a, b, c, d) def test_guard_call_guarded_function(): def fn(a): return a guarded = guard('a', lambda a: True)(fn) result = guarded('foo') assert ...
[ "jsmitka@smita.info" ]
jsmitka@smita.info
1770ff429817f3ae0b07000ea4ab431db2bb71c9
ac4e74f42b1e1395da8d7625a081806ec7d7e2dc
/apikey/python/whois.py
faedafdb103f5f6518bf08f57696f8cd19f4d33d
[]
no_license
whois-api-llc/whois
84866d4d13d9e80674ef98e173470f808c151f12
acc18f9781754695383b455e792275effe7925aa
refs/heads/master
2023-05-06T06:58:21.286190
2022-06-23T06:24:14
2022-06-23T06:24:14
113,178,095
0
1
null
2023-04-14T17:39:14
2017-12-05T12:16:06
C#
UTF-8
Python
false
false
2,850
py
try: # For Python v.3 and later from urllib.parse import quote from urllib.request import urlopen, pathname2url except ImportError: # For Python v.2 from urllib import pathname2url from urllib2 import urlopen, quote import base64 import hashlib import hmac import json import time username = 'Y...
[ "support@whoisxmlapi.com" ]
support@whoisxmlapi.com
a1d445d782aac6e469879fd17abeb935b4bc2324
b5ad47c2bc4bbb847540c7ecace86c316d29e8db
/blog/views.py
b3670a43eb5a23533c7abb01cc5feaa3104fb534
[]
no_license
miguelgarcia18/my-first-blog
76c0ce2f3bd6506a22b208396e33d77827cca764
6c9160a332b64d71e4fbe0aa08afd0d4e1fcad25
refs/heads/master
2023-01-19T07:09:35.660886
2020-11-18T04:06:52
2020-11-18T04:06:52
304,738,556
0
0
null
null
null
null
UTF-8
Python
false
false
2,792
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render from django.utils import timezone from .models import Post, Comment from django.shortcuts import render, get_object_or_404 from .forms import PostForm, CommentForm # Create your views here. def post_list(request): posts ...
[ "agarcia38@uabc.edu.mx" ]
agarcia38@uabc.edu.mx
08b1e56759630fcea5127b62eaa611f2bf6e9ede
6fdf73a4a2a9ad67f1f659332e46e92b1d02be20
/build/youbot_description/catkin_generated/pkg.develspace.context.pc.py
4cc34b216a670dcafc24a5ac494ae935084a8334
[]
no_license
Spain2394/Extended-Kalman-ROS
840e73a7e7196d6ff795bb0a6783129d5c166980
5d63719d6b5bbb13c318bb4841f53e2cc2102781
refs/heads/master
2020-03-31T19:02:01.426237
2018-11-06T22:06:18
2018-11-06T22:06:18
152,482,222
0
3
null
2018-10-16T20:30:37
2018-10-10T19:59:30
Makefile
UTF-8
Python
false
false
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "youbot_description" PROJECT_SPACE_DIR...
[ "aspain2394@gmailom" ]
aspain2394@gmailom
1bb735e0fd1deee9b38800cc31038c19a6a092b1
2fa3be801aefa55fc7418bad9fa10a9a6a9542cf
/bookstore1/store/migrations/0017_auto_20210227_1440.py
778107011c6355f0e5a9f1de38467d3dba87c1c2
[]
no_license
dhruvijivani/Django_book_store
24810d5732e0edfaee423a2cd06ff6d1d5994a53
ee3fbb3a1aff0295c6884b5e0ff0c01f0d9f3a33
refs/heads/master
2023-03-28T16:19:45.043480
2021-03-31T13:51:26
2021-03-31T13:51:26
353,255,354
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 3.1.5 on 2021-02-27 09:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0016_bookreview'), ] operations = [ migrations.AlterField( model_name='bookreview', name='stars', ...
[ "dhruvijivani456@gmail.com" ]
dhruvijivani456@gmail.com
526e3e00db493a51c593fccbce1531779d7614d2
e7f2375f047673876c6a3efcf00ecc256f969b71
/tests/__init__.py
eff650c6ae0df1b46ff6c510d337b6343bda3ffc
[ "Apache-2.0", "MIT" ]
permissive
7pairs/twingo
31ff7675e6c0c420eefb0985ca959ab7cbf0fb4e
b81347dfdb0a7bb5f7f49bde39a9dd0a2d3aa7d6
refs/heads/master
2020-12-24T13:44:47.093096
2019-04-07T03:04:25
2019-04-07T03:10:48
19,700,263
0
0
Apache-2.0
2019-11-01T13:41:25
2014-05-12T13:43:08
Python
UTF-8
Python
false
false
611
py
# -*- coding: utf-8 -*- # # Copyright 2015-2019 Jun-ya HASEBA # # 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 applic...
[ "7pairs@gmail.com" ]
7pairs@gmail.com
33d79d2f5595988091164be65f8e5d729905be9f
d656adb8de93c5a9fff7d91eaba9d37258b9be1c
/openemory/publication/symp_import.py
7402e98c1f6ce40f0448c7970b637bce489b2cdd
[ "Apache-2.0" ]
permissive
emory-libraries/OpenEmory
cf9bb3da61a3cf2c2d4db4e274095faffbb6a80e
889444bc97f784e516f088016e48a53b381ce2c5
refs/heads/master
2023-07-25T00:32:09.266768
2023-07-17T14:42:45
2023-07-17T14:42:45
8,471,248
1
1
null
2023-08-16T18:11:15
2013-02-28T03:37:19
Python
UTF-8
Python
false
false
5,990
py
from eulxml import xmlmap from django.conf import settings # Symplectic Import Models class SympBase(xmlmap.XmlObject): ''' Base class for Symplectic-Elements xml ''' api_ns = 'http://www.symplectic.co.uk/publications/api' atom_ns = 'http://www.w3.org/2005/Atom' ROOT_NAMESPACES = {'api': api_...
[ "alexandr.zotov@emory.edu" ]
alexandr.zotov@emory.edu
da4336d60fedd558631c28d01057f746f8c5b86b
de6bfbf5557a562cd816f7b0b4bd4b9fa9257d76
/tezina/admin.py
86b0c6d14089d5b35d1c2c792b1b8c99a7a50dd8
[]
no_license
SavkeBG/Za_Miljana
6ef27ce9720b1cba71093c2b4a5ec5b6b3517d61
e41c28864b6ecf785820abe76d0605531b075200
refs/heads/master
2020-12-15T01:11:16.365605
2020-05-20T14:35:51
2020-05-20T14:35:51
259,031,392
0
1
null
null
null
null
UTF-8
Python
false
false
3,205
py
from django import forms from django.contrib import admin from django.contrib.auth.models import Group from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.forms import ReadOnlyPasswordHashField from tezina.forms import UserForm from tezina.models import MyUser,Data class UserCr...
[ "60061747+SavkeBG@users.noreply.github.com" ]
60061747+SavkeBG@users.noreply.github.com
8cbe4de82e8973e9de229af929a25871f3a061bc
20d54e88dbdab0a0335f6ae4bad22117e14eb556
/src/py3/srtmTest.py
475a6f72cca4bfec1cea1366608b23bc1b003792
[]
no_license
bjohan/GnuradioTransceiver
ebf0426aabf5be4e06a52ac7a8ce941e14341ea7
501d68f78e40931f2f9549ab1ae1982faae464c6
refs/heads/master
2021-01-11T03:36:48.162992
2020-05-17T21:15:19
2020-05-17T21:15:19
70,995,273
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
import matplotlib.pyplot as plt import numpy as np import srtmData import heightResampler sd = srtmData.SrtmData() hr = heightResampler.HeightResampler(sd) e, x, y = sd.getBlock(12, 57) print(x) print(y) #plt.figure(1) #plt.imshow(np.clip(e, 0, 10000), extent=[x[0], x[-1], y[-1], y[0]]) plt.figure(2) xr = np.linspac...
[ "you@example.com" ]
you@example.com
11c5f5a44aa9b30dfabc72fe4bab7220475ad937
69856ac8d1dcdde6fc44abd09cbc8e5911949486
/remove_water_mark.py
853a6f9f29c9883bb04591c9effd29842f54daab
[]
no_license
Bigmai-1234/remove_water_mark
3d10816580599b5e090ff0c61e080fe5bef415e2
317126ac6b7222e2da410b3c7ae8fe2f039de1ac
refs/heads/master
2022-12-01T15:15:29.809582
2020-08-20T09:28:34
2020-08-20T09:28:34
288,961,211
2
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
import cv2 import numpy as np import os def move_mark(slices,percentile_ratio): hight, width, depth = slices.shape[0:3] sum_ = slices.sum(2) t = list(set(list(np.array(sum_).flat))) qual = np.percentile(t,percentile_ratio) for h in range(hight): for w in range(width): if sum_[h]...
[ "noreply@github.com" ]
noreply@github.com
50b96baeea9e8f562f0e5e8956dbf533ee376afa
4a7bb7151259b5390100bd0d385a02fb8aa376b2
/stablab/wave_profile.py
ab128f1c79c8c45a8b8d6deee20fbdbd95bf8401
[ "MIT" ]
permissive
nonlinear-waves/stablab_python
5c184382d4c847b884043268af4234380f8cccc0
101724f8bcefc34e90cf70d0813919188e08cb8a
refs/heads/master
2021-01-10T05:46:55.316165
2019-09-12T14:51:05
2019-09-12T14:51:05
52,907,189
2
5
MIT
2019-09-25T02:31:56
2016-03-01T20:22:55
Jupyter Notebook
UTF-8
Python
false
false
13,299
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 19 10:02:46 2017 @author: Taylor Paskett This file is a translation into PYTHON of the folder bin_profile from the MATLAB version of STABLAB """ import numpy as np import scipy.linalg as scipylin from scipy.integrate import solve_bvp def profile_f...
[ "taylor.paskett@gmail.com" ]
taylor.paskett@gmail.com
920828613ae5a1da0f018049610070c91b9fc58b
9076766a8d7751bc5802600d417d1316386d36d5
/nn/conv/tenet.py
973c888491bdc00d3a6a5821d4862ea91e2d6889
[]
no_license
convei-lab/torch_geometric
2cdd1b2df43426cb02f39fd6c588a1c9a4293688
84ef9b96331a6c72647b2b1c8026a27ba1a9488c
refs/heads/main
2023-04-27T09:04:45.561276
2021-05-24T03:03:33
2021-05-24T03:03:33
323,888,438
1
0
null
null
null
null
UTF-8
Python
false
false
9,052
py
from operator import ne, neg from typing import Optional, Tuple from torch_geometric.typing import Adj, OptTensor, PairTensor import torch from torch import Tensor import torch.nn as nn from torch.nn import Parameter, BCEWithLogitsLoss from torch_scatter import scatter_add from torch_sparse import SparseTensor, matmul...
[ "theorist17@gmail.com" ]
theorist17@gmail.com
f0b6216d9f24d8fc4314980d5252ce702b88ae78
e36c447b493ea3c311d022e39e2d70c743a12fd0
/cloudevents/http/util.py
e3c2c82651231020a674038d3cf40c722393b40f
[ "Apache-2.0" ]
permissive
maartends/sdk-python
079c027629840245ea479ddc1b82fdca64b41483
705e8b41004dba4f9a2dda0993205f9d610c7161
refs/heads/master
2023-07-17T18:57:08.008167
2021-09-02T22:58:52
2021-09-02T22:58:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
import json import typing def default_marshaller(content: any): if content is None: return None try: return json.dumps(content) except TypeError: return content def _json_or_string(content: typing.Union[str, bytes]): if content is None: return None try: re...
[ "noreply@github.com" ]
noreply@github.com
907454d9dea139929257601be42857808d6f7e5f
ff9317f4aaf98cb2c734136309aaea72285dd263
/min_max.py
37108c50fe6db2848fa89d965953b1af3dbf02f6
[]
no_license
nblv1/1102
0179f84e286e26c79b559be082118d85253b117d
26ac926714319b50ac5bf49e7e64a4e418681eb5
refs/heads/master
2021-05-01T10:50:44.004068
2018-02-25T20:19:29
2018-02-25T20:19:29
121,108,942
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
import random random.random() import random import math random.random() a =[10,19,200,8899,28,990,29,0.1,19, 0.002, 1000,2] max(a) b=max(a)//random.random() print (max(a), random.random(), b)
[ "n.burban.v@gmail.com" ]
n.burban.v@gmail.com
0071f862ae6ac7cc325b86470569b65e63a044cd
573ae6c6056dedcac2f806a232026738f2193ccd
/about/migrations/0002_auto_20170627_1702.py
ec18052858f650573f1a243a84eb94379df54f59
[]
no_license
HuaEla/web
b04c6676e3f2083eb8e605fbdc02c4748fdc68e3
cde55ed487241f1557aedcd11c5aa9dde87031c9
refs/heads/master
2020-12-02T22:54:38.889881
2017-07-11T02:18:33
2017-07-11T02:18:33
96,199,528
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-06-27 09:02 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('about', '0001_initial'), ] operations = [ migrations.RenameField( model...
[ "894589363@qq.com" ]
894589363@qq.com
9552d20ca11425a227f4e404a2ba143391495cc5
b9abf8417bda70aa978217d42ec843cadf8be7da
/ex032.py
79257ad2efda32fa8c172b126d8f8da90d37aa8d
[]
no_license
TheDarktor/Ex-Python
d6fadcbf580e6b5a0d7848255f53c7f3a5f1d7ae
1419f9a7ab3ff3366d89bc954e69abeb0b111fb9
refs/heads/master
2020-12-15T18:07:05.670700
2020-09-24T16:27:48
2020-09-24T16:27:48
235,204,306
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
# Faça um programa que leia três números e mostre qual é o maior e qual é o menor. n1 = int(input('Digite um número: ')) n2 = int(input('Digite um número: ')) n3 = int(input('Digite um número: ')) if n1 < n2 and n1 < n3: menor = int(n1) if n2 < n1 and n2 < n3: menor = int(n2) if n3 < n1 and n3 <...
[ "noreply@github.com" ]
noreply@github.com
b2bc3bca8d52e455d033d36e0bb434645d4a2414
112767762a536eabbfd361fb4ad9223abb9bee48
/ppt_translator.py
697c6886c869f01b8bd2b9832e2377da430ad60a
[]
no_license
bbiyongel/ppt_translator
af7872d10e5133ad0b872b49d91bab6e607e92ff
f5a506bd9d036ff3425fcb6c201dea85c36ffb55
refs/heads/master
2022-03-17T08:28:07.403129
2019-11-22T10:31:31
2019-11-22T10:31:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,025
py
## ppt_translator: # A python script for translating a .ppt or .pptx file ## Setup: # 1) Run file.reg to enable drag-and-drop conversion. # 2) Install necessary Python 3.8 dependencies (i.e. pptx, googletrans, pandas,). # 3) Drag and drop .ppt or .pptx file on top of ppt_translator.py. # 4) Specify target langu...
[ "noreply@github.com" ]
noreply@github.com
46b27ee5bba75e2224f1978fca595c6d497705d3
86ac9ab4b947c959742eaf0fdc4eebf7b670c3f3
/motion_detector.py
bd30ed3bd2ee2ef9884756af5565ef17013c0ce8
[]
no_license
CBlagden/PhysicsFun
fc8f0c139d8feefeb5f26639cabbc204061399d3
21ec816c82380390b3e31d790ec27b7b76320727
refs/heads/master
2020-03-26T17:46:44.271544
2018-11-16T23:44:39
2018-11-16T23:44:39
145,179,878
1
0
null
null
null
null
UTF-8
Python
false
false
2,905
py
# import the necessary packages from imutils.video import VideoStream import argparse import datetime import imutils import time import cv2 # construct the argument parser and parse the arguments ap = argparse.ArgumentParser() ap.add_argument("-v", "--video", help="path to the video file") ap.add_argument("-a", "--mi...
[ "chase.blagden@gmail.com" ]
chase.blagden@gmail.com
88c15922e1ee75ebfb41e099ea00d47e724e76b3
1118aec39a839da2ebc508f1d2a6b377aa70274d
/src/package/__init__.py
9fe1791f5d03e16137cad53f29e2539c8bf69b31
[]
no_license
serg0987/python
b3a9a2b22b4ef5a39e612a0a170ba9629933c802
074449ad6b3a90352939c55a9db37bd248cab428
refs/heads/master
2020-05-15T09:30:17.500158
2015-10-18T21:28:08
2015-10-18T21:28:08
2,454,952
0
1
null
null
null
null
UTF-8
Python
false
false
62
py
''' Created on Dec 16, 2011 @author: serg ''' init = 'INIT'
[ "serg0987@gmail.com" ]
serg0987@gmail.com
6b8be3ce5a2307b8c3529e0eb27f4790497e0059
5eb29ce7104e10a399d9afd7e253f029bf8bc0ff
/scripts/tests/test_get_sim.py
fd8d224e2bcce56d015705e64cd8d67421aa30a1
[ "BSD-2-Clause" ]
permissive
svebk/DeepSentiBank_memex
69789dc09316e97aad711edeb251837a60184e7e
4e69ce66e3a177817ff360ddc263f55c6e0b63f7
refs/heads/master
2021-01-18T18:55:10.870052
2017-10-19T22:51:29
2017-10-19T22:51:29
36,091,024
22
1
null
2017-02-09T20:31:20
2015-05-22T19:20:54
Python
UTF-8
Python
false
false
350
py
import happybase if __name__=="__main__": tab_image = 'escorts_images_similar_row' conn = happybase.Connection(host='10.1.94.57') image_sha1s = '1000013C0A38D8DACAEC31360AFAFEB5DC3D712B' table = conn.table(tab_image) row = table.row(image_sha1s,columns=['s']) print len(row.keys()),[x.split(...
[ "svebor.karaman@gmail.com" ]
svebor.karaman@gmail.com
b61ce073d9bde964a62fc5156e853ebf5fdb4439
ce9593eb4ec109b86f3f75ac161a372e6d99f067
/Problems/Make the function work/main.py
587662f9829f06fd6bc6ba0c9f8c123d4beb5563
[]
no_license
wangpengda1210/Rock-Paper-Scissors
0b2e5ef9b946dd209a85fa7440a7e40acfd83923
05c558ddfdf69eb4170185a158ded8a3a063359c
refs/heads/main
2023-02-20T08:35:09.379752
2021-01-23T06:31:48
2021-01-23T06:31:48
332,143,586
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
def closest_higher_mod_5(x): while True: if x % 5 == 0: return x x += 1
[ "515484505@qq.com" ]
515484505@qq.com
d7c13d81e2288f3406197df838462de7876c6ad2
0f4168b2c87ad8b947f3442a978349edd7641e5c
/fspider/migrations/0004_office_shop_villa.py
b5f491845408080c488f912efa5c83142e20770c
[]
no_license
VegetaPn/fangSpider
056fb8d95d2e340d8f8f07c738d3bfeb463dfac5
3180340e984e07a670953333a096bf69c926552d
refs/heads/master
2021-03-16T05:11:03.871178
2017-07-15T13:35:56
2017-07-15T13:35:56
76,744,360
0
0
null
null
null
null
UTF-8
Python
false
false
2,036
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-12-17 17:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fspider', '0003_auto_20161217_1721'), ] operations = [ migrations.CreateMode...
[ "yhnkb@hotmail.com" ]
yhnkb@hotmail.com
e2e8ea110fb7113babc05ea998d5e8b5d26b5b25
bb71682eb72b8f9a94a1c4c637f8d07e5239d63b
/Study/ITP1_2_C.py
c7415ebb0177ae742394b0783e6942adf34e08bf
[]
no_license
mao12312/AtCoder
42d090c9dc48dbbe3ff0143b3946f76013704430
f6db9b526612a37b1867e468dcec3aa84683786e
refs/heads/master
2022-12-09T04:09:25.513094
2020-09-09T14:18:21
2020-09-09T14:18:21
259,569,529
0
0
null
2020-05-04T08:11:53
2020-04-28T07:55:11
Python
UTF-8
Python
false
false
82
py
nums = list(map(int,input().split())) nums.sort() print(nums[0], nums[1], nums[2])
[ "42489486+mao12312@users.noreply.github.com" ]
42489486+mao12312@users.noreply.github.com
4f124bdf2b94619bb4c7de233059c280e56995a2
06ce40aa98c04ae61ce9a819a30f39202daca03b
/app/utils/file.py
89e202eb654668770b2d1c6e2bbab7d28a9f7e08
[]
no_license
sjquant/engster-server
85d87a1f62c21830c460cb9076a24f236f3b1ea8
d1d10c03326b9ca4b6db93ead7f85cf65b5ca9f4
refs/heads/master
2022-06-18T20:24:55.147620
2022-06-08T02:07:37
2022-06-08T02:07:37
163,208,699
3
0
null
2022-06-08T02:07:39
2018-12-26T18:54:19
Python
UTF-8
Python
false
false
173
py
def get_file_url(path: str, *, file_host: str = "127.0.0.1"): if not path or path.startswith("http"): return path else: return f"{file_host}/{path}"
[ "noreply@github.com" ]
noreply@github.com
d3ebe3bd1b50178b1770182a771ae09b385c8aa0
abae77a818c8aeff722cd3d9347b1a45ee8f783b
/spider_day1/spiders/Ocr.py
c39b9abd4340d9c697445c483453c91f5273af23
[]
no_license
xiaoxiwu/spider
4880beda7fff2f43a99ef0e9092a56a3974c54dc
1ca87091b475bd19afc9673db575e6c23bdd626e
refs/heads/master
2021-05-12T19:48:55.747679
2018-01-14T13:54:48
2018-01-14T13:54:48
117,100,460
0
0
null
null
null
null
UTF-8
Python
false
false
2,881
py
# -*- coding: utf-8 -*- from aip import AipOcr from PIL import Image class PythonOcr(object): AppID = "10689156" APIKey = "2Vj4t2VfgVGRnnHCTWvRhprR" SecretKey = "PoVonzeGr7O1rD4fOAA7nx0gF1pF1EzA" AppName = "pythonOcr" WHITE = (255, 255, 255) BLACK = (0, 0, 0) def readImgFile(self, imgPath...
[ "xiaoxiwu2008@qq.com" ]
xiaoxiwu2008@qq.com
b403abe996e3eb4e3e8eadc3a538e7f4a7a5bb92
e68734297f9321c0f934daa629bea21eafbb15a3
/stubs/homeassistant/util/color.pyi
5a7cb0197527cf37ddbd1afb7ab5d517a71e012f
[ "MIT" ]
permissive
Phara0h/hacs-hubitat
1dc7ef978d5c552ab930992e00a6ae6d1a01a102
e87107490c0d7004e3b9f1296a372b8a280aabec
refs/heads/master
2022-12-08T18:33:28.854871
2020-09-18T22:40:29
2020-09-18T22:40:29
296,737,546
0
0
MIT
2020-09-18T21:57:26
2020-09-18T21:57:25
null
UTF-8
Python
false
false
123
pyi
def color_temperature_kelvin_to_mired(temp: int) -> int: ... def color_temperature_mired_to_kelvin(mired: int) -> int: ...
[ "jason@jasoncheatham.com" ]
jason@jasoncheatham.com