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
3356afae23c7ddb7429ccf7487de8234d072d1b8
27f7b7d7149c0faab7d8787901dfaa45f58b66d2
/converter_to_hls/schemas.py
55de5bd3be29242e648c48eec6720fcd264927c5
[]
no_license
chistyakov/asyncio_video_converter
b9a183e9d26aae8acd7fa5dab09a18245b0f5348
4a0ad8f29cbc2e4e68720865d1184e6492ab3869
refs/heads/master
2021-08-30T10:17:18.075686
2017-12-17T13:19:05
2017-12-17T13:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
import re from marshmallow import Schema, fields from marshmallow.validate import Regexp NO_SPECIAL_CHARS_PATTERN = re.compile('^[a-zA-Z0-9]+[a-zA-Z0-9_.\ -]*$') class LaunchConverterSchema(Schema): file = fields.Str( required=True, load_only=True, validate=Regexp(NO_SPECIAL_CHARS_PATTER...
[ "al.ol.chistyakov@gmail.com" ]
al.ol.chistyakov@gmail.com
1eb0b348f203ec637e1b4118ee9118c894482dd4
faaeb8aa3565112998556293a6617f7160823910
/fruitday/userinfo/urls.py
d128a3d28d7f20743322b6f8d9bf06fdf7a883c9
[]
no_license
meitianjinbu/shoping
58941f53a91925e001645e51f64b2cd5417bf3c6
d99210a4238dff59786295e58e0e49858e040750
refs/heads/master
2020-03-22T17:43:54.782120
2018-07-10T10:03:33
2018-07-10T10:03:33
140,412,118
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
# _*_ coding:utf-8 _*_ from django.contrib import admin from django.urls import path from django.conf.urls import url, include from .views import * urlpatterns = [ url(r'^register/', register_in, name='register'), url(r'^registerin/', register_, name='register_in'), url(r'^login/', login_in, name='login'),...
[ "hatechaoshui@gmail.com" ]
hatechaoshui@gmail.com
6fa980d4dd5a9231591dcd0dfff776d63cf6e4d2
64530babd4336421ef28feea8e0c69fddf6ca394
/tuple.py
5bc07629159ff6e5ae7bbd6e389cd31caa5246fe
[]
no_license
judy1116/pythonDemo
0e35e51da7bc82354b11e67219bfe1ba742048d7
1e8f3e2a48b1804a12f7d93a7477a8d3e5bdf450
refs/heads/master
2021-08-31T10:49:22.219034
2017-12-21T03:20:23
2017-12-21T03:20:23
114,954,420
0
2
null
null
null
null
UTF-8
Python
false
false
1,432
py
#不可变的tuple有什么意义?因为tuple不可变,所以代码更安全。如果可能,能用tuple代替list就尽量用tuple。 #另一种有序列表叫元组:tuple。tuple和list非常类似,但是tuple一旦初始化就不能修改,比如同样是列出同学的名字: classmates = ('Michael', 'Bob', 'Tracy') #现在,classmates这个tuple不能变了,它也没有append(),insert()这样的方法。其他获取元素的方法和list是一样的,你可以正常地使用classmates[0],classmates[-1],但不能赋值成另外的元素。 print(classmates[0]) ...
[ "noreply@github.com" ]
judy1116.noreply@github.com
9462edece292d3376d609f16332aeec61050205c
3d7a02b5248ab41806e000dd5c243e205311bfd2
/sort/tests/test_bubble_sort.py
b0b59ff21463815ed38d1944d79c7033db16e1ac
[]
no_license
mfilipelino/python-notes
0fd93ce8cbc53d0792b95c4c9d0726c7e7fb08a6
98bf5831b42706caa3c7758720aef08097075dc1
refs/heads/master
2022-11-05T10:20:17.778910
2020-06-24T13:10:49
2020-06-24T13:10:49
125,086,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
from unittest import TestCase from sort.bubble import bubble_sort class TestCaseBubbleSort(TestCase): def test_case_base(self): self.assertEqual([], bubble_sort([])) self.assertEqual([1], bubble_sort([1])) self.assertEqual(['a'], bubble_sort(['a'])) self.assertEqual([[]], bubble_s...
[ "mfilipelino@gmail.com" ]
mfilipelino@gmail.com
79b1d36a208c5fc84008ea5b0d48494e2e503c40
f9ecf558fd6e8405072d17317df605ea1cefd7f1
/juvnews/juvnews/pipelines.py
ad10069afa304d75968e1a26661665d9f5afad55
[]
no_license
nkuflk/scrapy
279b7f98ba682a8043c01a8bad129251f079554a
d011741958ebd11ee775c367ed9850d89d8664d6
refs/heads/master
2020-04-27T12:38:46.546175
2015-06-28T06:39:39
2015-06-28T06:39:39
37,419,249
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class JuvnewsPipeline(object): def process_item(self, item, spider): return item
[ "heyuntao789789@163.com" ]
heyuntao789789@163.com
7da0cdbd0ae336d14f7023b24a2e9169e58abf11
94fd1381adcfaa5ea64dc13123aef16697b0396a
/covid_dashboard/views/get_districts_daily_report_day_wise/request_response_mocks.py
540280aed7e3719046e9b95366e4f81bc83ed4df
[]
no_license
bharathi151/covid_dashboard
30ac9fe4720b8cd42028b33dcc1b620e0f1ebdb1
930bf3e46e8d7c56c682ce10f7f6e5fa7f50cab8
refs/heads/master
2022-11-14T20:18:24.648922
2020-06-27T10:08:53
2020-06-27T10:08:53
269,612,744
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
RESPONSE_200_JSON = """ [ { "district_name": "string", "district_id": 1, "day_wise_statistics": [ { "total_confirmed_cases": 1, "total_deaths": 1, "total_recovered_cases": 1, "date": "string" } ...
[ "bharathi151273@gmail.com" ]
bharathi151273@gmail.com
0c9a4574557bc74a61ab2b0df43f45ef7cf8a2f1
45136997aaf3de82d2ba9d3d36f339c664a9d8c4
/train_models.py
2da6eee709f47048ed32139e2b017c73acbad479
[]
no_license
GritcoSorinO/IMDB-SentimentAnalysisProject
997b4310f4554d86216cd25320fe19959cc30963
c0eda8a5f9cecc594a5e03bab9ce66bda8112ebf
refs/heads/main
2023-02-04T00:39:39.842149
2020-12-23T04:27:16
2020-12-23T04:27:16
322,978,919
1
0
null
null
null
null
UTF-8
Python
false
false
925
py
import random from sklearn.linear_model import LogisticRegression from sklearn.ensemble import RandomForestClassifier def train_models(X_train, X_test, y_train, y_test, random_seed): lr_classifier = LogisticRegression(random_state=random_seed) print("Train Logistic Regression model.") lr_classifier.fit(...
[ "gritco.sorin@mail.ru" ]
gritco.sorin@mail.ru
4cb19198eb478ec273b77373110121638e6859f3
2542c624ea59077b2f612c03b5856a9975b03b98
/python_stack/django/django_fundamentals/DojoProj/DojoProj/settings.py
1984a1ee003d28b5f8116890b3f36c4772bc668e
[]
no_license
Harryonismyname/CodingDojoProjects
4aff0272978a3afe4d98acd421813b04c2b5bb66
896fa196c1281e4b9cdba9a3fdb819bfc23ba2d0
refs/heads/master
2023-01-09T03:14:54.053353
2020-11-16T19:59:03
2020-11-16T19:59:03
285,445,963
0
0
null
null
null
null
UTF-8
Python
false
false
3,106
py
""" Django settings for DojoProj project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "Harryonismyname@users.noreply.github.com" ]
Harryonismyname@users.noreply.github.com
f307f47c4a7e44be5de0ad1f9ed05f6d75fd81de
328c05bf9312044626609fb251bf1858beaf80ce
/bwb/pycompile/megaplot.spec
69a7802e6cdcec3824def5a2497f46a3b08cc175
[]
no_license
astroclark/osg_tools
a68422869b6d59afee00d1e7be0e95f2a5582f57
b8dc00b1f3f2cc03eaaa194bcd164074d89aa71c
refs/heads/master
2021-01-17T02:16:56.460527
2018-06-25T15:43:02
2018-06-25T15:43:02
53,345,744
1
2
null
null
null
null
UTF-8
Python
false
false
873
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['megaplot.py'], pathex=['/home/jclark308/src/lscsoft/bayeswave/trunk/postprocess'], binaries=None, datas=[('./navigate.js','.'), ('./BWBweb.css','.'), ('./secure_ajax.js','.'), ('./s...
[ "james.clarrk@ligo.org" ]
james.clarrk@ligo.org
7fed7cef489aab9759ac75ed34f64b25a9d4617e
8222cc82e990477f6d279ce7ee212739f4765111
/Django-jQuery-File-Uploader-Integration-demo-master/settings.py
d836619a601abb8aca3120f5694b7ce3d97238e0
[]
no_license
varrasivareddy/siva
a7117907f03ba914b3ae1d3ce1f4455e8a8be7c8
eebcd53045f54b113655678cb8fdbf41d464c0e2
refs/heads/master
2020-05-22T13:07:38.836964
2014-10-06T10:15:50
2014-10-06T10:15:50
24,790,858
1
0
null
null
null
null
UTF-8
Python
false
false
5,399
py
# Django settings for djangoUpload project. import os PROJECT_ROOT = os.path.abspath(os.path.dirname(os.path.abspath(__file__))) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ('Miroslav Shubernetskiy', 'miroslav@miki725.com'), ) MANAGERS = ADMINS DATABASES = { ...
[ "sivareddyvarra@gmail.com" ]
sivareddyvarra@gmail.com
80e74a1e105c49d5008ba9b83db32fe4f28c63d6
6010dc2a2ffdb2015d8d48962b65d18402d69c26
/migrations/versions/02_add_asset_types.py
3492916980d8e7a0c81d44def68e568a6cf2d94a
[]
no_license
mdmims/AzureIngesterApi
2dad202e7417784049c24b20917df57d80bf9a73
b8e00619d3c2def2941132f9ca439eb26e8fa013
refs/heads/main
2023-02-11T01:32:59.885960
2021-01-05T18:58:56
2021-01-05T18:58:56
301,219,249
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
"""empty message Revision ID: 02_add_asset_types Revises: 01_healthz_table """ import sqlalchemy as sa from alembic import op import azure_ingester_api.api.models as m # revision identifiers, used by Alembic. revision = '02_add_asset_types' down_revision = '01_healthz_table' branch_labels = None depends_on = None ...
[ "michael.x.mims@gsk.com" ]
michael.x.mims@gsk.com
06fd170031d6d6565c42dd89088f4689b1a53e92
c5e92c7d4adb261b891ce0994556c8873e94216f
/kdk.py
a3c973a88566ac804ee140f5a7ae21107f3feaf4
[]
no_license
kamrudeen007/guvi
b4b8faadfaad381be3bb2c2b8b175cfa2ad1d072
8c5abaca6510b996b0a307f1a0d9d366ab314fed
refs/heads/master
2020-04-21T01:18:55.598550
2019-02-05T10:09:21
2019-02-05T10:09:21
169,220,341
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
num = int(input("Enter any number: ")) flag = num%2 if flag == 0: print(num, "is an even number") elif flag == 1: print(num, "is an odd number")
[ "noreply@github.com" ]
kamrudeen007.noreply@github.com
da4f3374de30a5a35425c8c730f38545c87211eb
952fca4bcce467294b2e2ca89e8231b4e0f72f34
/monitoring/Monitor.py
238438333337c1c5732c15d59ee33c6400ff7cbb
[]
no_license
ciniks117/cs639-project
a3ac4af455122f9a90793a93e8eff4c2ad508ec7
f3e82c856b79ac331979d32da253c1a0c11ccc6f
refs/heads/main
2023-01-18T20:17:26.509139
2020-12-01T13:51:29
2020-12-01T13:51:29
316,430,093
0
0
null
null
null
null
UTF-8
Python
false
false
8,728
py
import itertools from copy import deepcopy from . import * from utils import * from abstractions import * class Monitor(object): """ A monitor consists of layer-abstraction mappings. It can evaluate a given input based on its abstractions. The acceptance behavior of a monitor is defined in the class Mon...
[ "cniks117@gmail.com" ]
cniks117@gmail.com
1e665582eecd4b2ca4b9810a19d2f176e303fbd3
c51d81a650b65ef8e8dc6e8f24dc56820c478ce9
/flaskblog/main/routes.py
cba28e7837f06ca30414747de96a640b30408a5f
[]
no_license
ksh168/FlaskBlog
956376e2815bcadc395c7b87d48183de5f3b8c0f
fc7e780da087501a191870d73582b0580c715ac9
refs/heads/master
2023-03-05T13:48:00.041700
2021-02-18T12:57:43
2021-02-18T12:57:43
328,122,367
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from flask import render_template, request, Blueprint from flaskblog.models import Post main = Blueprint('main', __name__) @main.route("/") @main.route("/home") def home(): #retrieve all posts from db #posts = Post.query.all() page = request.args.get('page', 1, type=int) # setting type "int" so that it throws...
[ "mailkunalsharma99@gmail.com" ]
mailkunalsharma99@gmail.com
f4f88e98234594d9ed15219107a75a3f1124d737
3f06d6f3dc106e50968f2c0090c376bbe89a906f
/oa/venv/bin/pip3
a734ce6186f31a62ab590dfd4cbcf80c64c5002b
[]
no_license
xiaohuwu/Python-camp
b3f1699d35f636290b3aefa833288d4a31068375
a74ca4f01c7ba5f15a724f3c1bf0877d414d644a
refs/heads/master
2022-01-25T18:56:12.870092
2022-01-13T15:45:43
2022-01-13T15:45:43
176,092,873
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/Users/xiaohuge/PycharmProjects/Python-camp/oa/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "1205150638@qq.com" ]
1205150638@qq.com
66ee649d5a495b77ee74a20dc799dc69a17cb62a
77da638f1b14f1059d9073fd716893a9cc2d32a6
/Model/models.py
1df56da05e92804fa806406b9b8595a32cfe3149
[]
no_license
suzoosuagr/fNIRS_DeeperLook
32cf8fc226576bd31b6a47880bbbea75b116a849
707069799aa93872a7928ab68f792e450f3f6c89
refs/heads/main
2023-08-27T18:31:03.145946
2021-10-15T17:43:12
2021-10-15T17:43:12
375,205,594
0
0
null
null
null
null
UTF-8
Python
false
false
3,084
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.nn.modules import dropout from torch.nn.modules.activation import ReLU from Model.networks import FingerTapEmbd, Naive_Embedding, Attn class BiGRU_Attn_Multi_Branch_SLA(nn.Module): def __init__(self, in_ch, emb_ch, hidden_ch, out_ch, ...
[ "suzoosugar@gmail.com" ]
suzoosugar@gmail.com
a1db617af0c4b541bbf1394ddc07164641292ac4
9401b8dbf4ebda9b9a9fb44b10579e65175263c5
/play.py
693e63816f60b5ea85a88283127761264c4456f0
[]
no_license
maxsun/MusicFinal
17f3e1f9235a92c1a7308aed57cd35c9d4f90f81
235af5ac3a701c8e67d77fa84383215c0cdb5a83
refs/heads/master
2022-06-24T17:49:03.470141
2020-05-11T07:39:24
2020-05-11T07:39:24
261,663,828
0
0
null
null
null
null
UTF-8
Python
false
false
2,285
py
# http://bspaans.github.io/python-mingus/ # Make sure to install FluidSynth: https://github.com/FluidSynth/fluidsynth/wiki/Download # OS X: `brew install fluid-synth` # Ubuntu/Debian: `sudo apt-get install fluidsynth` # Also install SoundFonts, I got one from here: https://rkhive.com/piano.html from os import listdir f...
[ "maxlouiesun@gmail.com" ]
maxlouiesun@gmail.com
453f480b9138ed55e51cfedb6adf43fa64d25dcf
0675b3632c25bc97f8e7ffcb69577c78e7ac5af7
/TP2/plotterParticles.py
2e73f5f8bd1517d2a661e10ba89778016bb13e44
[]
no_license
ezeqlynch/SS-2019
5414dd9146edf5c000b14029570aa1e2b6adf29e
82ef6153acc79f3bcdaab0b2b0d4e3a0083d3a17
refs/heads/master
2021-07-11T22:56:18.084498
2020-08-09T21:29:21
2020-08-09T21:29:21
175,205,188
0
0
null
null
null
null
UTF-8
Python
false
false
1,767
py
import argparse from argparse import RawTextHelpFormatter import matplotlib import matplotlib.pyplot as plt import matplotlib.patches as mpatches import matplotlib.ticker as ticker # import PyQt5.QtGui def argumentParser(): parser = argparse.ArgumentParser( description='This program shows data from .\n', fo...
[ "tduffau@itba.edu.ar" ]
tduffau@itba.edu.ar
d4895d224f9ca53c8d7649654d5cad0186bede06
7dc408f2ec031ad647bf16a7b7a21448c1a83c87
/commandLineCalc_easy.py
3b1d8cc19a524dc2725998c2b11668a930541732
[]
no_license
jsim123/lab1
920e76469f50377a78a5da4193112b4d7230b825
9cf17b04246f5ee16818c2f2ef8f68057b3a1600
refs/heads/master
2020-03-24T06:09:18.944243
2018-07-28T05:51:46
2018-07-28T05:51:46
142,518,183
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
''' make a command line calculator DIFFICULTY = MEDIUM TOPICS = strings, variables, lists your task is to write a command line calculator this task is easy since we can use the eval function to do most of the legwork however, we need to parse possible invalid user input. This is your task return None if invalid inpu...
[ "z5214110@student.unsw.edu.au" ]
z5214110@student.unsw.edu.au
5b603f199898400236d85298f7bd90c9585f7059
69636805a67ed244e13d61d838b56791018dee62
/exercises/0001-hello-world/f.py
183f7fe2f7e57902bc18475837a32b74921125b1
[]
no_license
anacrochas1/compciv-2016
2176306d774642f7d9a22f02c9d6a599a9942a18
abd94d0bfcc6c1612ada06f3f563c0764b2fe2b9
refs/heads/master
2021-01-18T21:09:33.755755
2016-06-02T05:54:18
2016-06-02T05:54:18
49,533,363
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
print("goodbye") count)
[ "anasantos@stanford.edu" ]
anasantos@stanford.edu
af9e3790b0fec45cc8505e4cdb46559b29699168
aa6422117b534e4f4eed197b71f9fcf00eb1983a
/build/flexbe_behavior_engine/flexbe_msgs/catkin_generated/pkg.installspace.context.pc.py
59b4b32b461d5a6370401cf3f2035bab4875b704
[]
no_license
Sinchiguano/StateMachineFlexBe
c07385b09e1ab15e88e894da8fd021d1cbf0de28
d637acf2f26a3f0d83ef4f2d34a2636dff2515f6
refs/heads/master
2020-09-26T02:49:46.882388
2019-12-05T16:44:23
2019-12-05T16:44:23
226,146,554
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/casch/catkin_ws/install/include".split(';') if "/home/casch/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;actionlib_msgs".replace(';', ' ') PKG_CONFIG_LIBRARI...
[ "cesarsinchiguano@hotamil.es" ]
cesarsinchiguano@hotamil.es
124d77348f3d3ea06d36c0de306ca45e624bbd99
fb1e94f4b51ab342a81be7c38e7c09bf7d4a94fc
/apicode/Pytest0_case/test_07_article.py
d5dbef686fd1b50f7562cf54d137efc605990d1b
[]
no_license
HOHO-00/test_00
cc1233b0809c171d51c2633fa7d886bea5a657d3
21fb066d0c1bac661af54e698e990beb3fbb1a2f
refs/heads/master
2023-06-22T03:59:43.625128
2021-07-23T00:51:50
2021-07-23T00:51:50
292,587,194
0
0
null
null
null
null
UTF-8
Python
false
false
2,867
py
""" 文章相关接口测试用例 """ import pytest import requests import os, sys sys.path.append(os.getcwd()) from utils.dbtools import query from utils.filetools import read_file from utils.filetools import write_file from utils.exceltools import read_excel datas = read_excel("data/data.xlsx", "文章") # 获取文章详情 def...
[ "noreply@github.com" ]
HOHO-00.noreply@github.com
96c733a9b746b27413f837bde6c7dce363b7961c
168bc919d9f03749d01cb3089a358c2ea7a928ea
/Create_sql.py
57de72cc90c0ae8420dc86f786431a3543a6230f
[]
no_license
tacha-chang/ce63-46
175294f6f7fd6584aec1d1285d73028f0b2ed02e
8fc0551104f986dd9058bb2e968469b2f1325f82
refs/heads/master
2023-03-19T22:27:59.086034
2021-03-18T23:54:23
2021-03-18T23:54:23
296,383,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,942
py
import sqlite3 import shutil from Card_reading import reader_card data = reader_card() def create_user_officer(file_id): #move office file_id = file_id x = file_id[2] # print(x[0]) print(x[1:18]) #ID_card # 6 gender (7 8)name #print('บ้านเลขที่ ' +x[14] +' '...
[ "noreply@github.com" ]
tacha-chang.noreply@github.com
b90fbfd3c2d421fb70c9156499e70a3a7511340d
4af090efabd08ef73c411a00ce4972a1c6f30a22
/python_100days/7day/practice11.py
82eb730e0a554302387bf8dc26b7ee42b67aaddd
[]
no_license
predatory123/byhytest
e52bca664f9461c9309aaa9bf779c02368ed937c
578206c9ec9253d0d9325e72cdc13dde6eeb2fc1
refs/heads/master
2023-04-26T13:33:14.462408
2021-05-20T13:33:37
2021-05-20T14:26:22
369,213,148
2
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
# 综合案例2:约瑟夫环问题 """ 《幸运的基督徒》 有15个基督徒和15个非基督徒在海上遇险,为了能让一部分人活下来不得不将其中15个人扔到海里面去, 有个人想了个办法就是大家围成一个圈,由某个人开始从1报数,报到9的人就扔到海里面,他后面的人接着从1开始报数, 报到9的人继续扔到海里面,直到扔掉15个人。由于上帝的保佑,15个基督徒都幸免于难,问这些人最开始是怎么站的, 哪些位置是基督徒哪些位置是非基督徒。 """ def main(): persons = [True] * 30 counter, index, number = 0, 0, 0 while counter < 15: ...
[ "13310948808@163.com" ]
13310948808@163.com
a23451e561311fe8fd81476b96702f9bc83a0710
aa18fb4bb13b6499ae9b1f669758d0ea326c1921
/util.py
c901283bc804ccdb170cc460fd329c3edf4b2eef
[]
no_license
kaushikData/DoCAI
8d144a1a6dc2adf5429389ee83aacae4498ab7a5
e48ffbf9545f84f2426e5154ff626e94ae33f62f
refs/heads/master
2020-12-18T12:58:28.280599
2020-01-24T11:21:57
2020-01-24T11:21:57
235,391,514
0
0
null
null
null
null
UTF-8
Python
false
false
26,395
py
import logging import os import queue import re import shutil import string import torch import torch.nn.functional as F import torch.utils.data as data import tqdm import numpy as np import ujson as json from collections import Counter class SQuAD(data.Dataset): """Stanford Question Answering Dataset (SQuAD). ...
[ "noreply@github.com" ]
kaushikData.noreply@github.com
94c7c3aed4ae2b5d29fba2f89c377e198d6a7277
908827768c13c1da86d8be4d66635f0e0356750a
/euler5.py
dc5e04493cdba89196c7e5e62284b1371b94371d
[]
no_license
jiema1989/Euler
3f3a2526fd8f5c74f12736c66104f3dad224a392
ca03de000634e0f37ac225daa6694806ae15b2a0
refs/heads/master
2020-06-29T03:33:32.341033
2017-02-22T10:41:04
2017-02-22T10:41:04
74,451,684
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
## Euler Problem 5 ## N=20; def factorNum(n): s={}; i=2; exp=0; while i*i<=n: while n%i==0: exp+=1; n=n/i; s[i]=exp; i=i+1; exp=0; if n>1: s[n]=1; return s; print factorNum(20) dictEntire={}; for i in range(2,20,1): dict...
[ "jiema1989" ]
jiema1989
9c802cf94c8ab1e2bcb8fbb3a0bc1c6bf82d537a
54a08feb6473670578d6274df95468952a923892
/scripts/create_submission_together.py
4709040e8cfe876baa46d1591e4ec7d102750e43
[]
no_license
burness/talking_data
6fdcd168ee8f6912b8267d809aa8ae2a2a23d72a
d9d3689099da53abf4f6f4434cbc5f7a8138a5f2
refs/heads/master
2021-01-17T20:41:39.628470
2016-08-03T05:30:22
2016-08-03T05:30:22
64,817,685
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
def combine_submission_together(file1,file2): submission2 = {} with open(file1,'r') as fread: for line in fread.readlines(): line_list = line.split(",") device_id = line_list[0] info = ','.join(line_list[1:]) submission2[device_id] = info with open(fil...
[ "burness1990@gmail.com" ]
burness1990@gmail.com
c4b04dc0b583f8776c8ef15d01fe5217c3fa07ee
7df277d932f2d5de158d05e5bfc91fe2ebbc0f47
/FirstWeb/make1/settings.py
ec963ec312b4e44adbd498616c83f226ba500d26
[]
no_license
python-study-ko/django_study
84eb485f60acf57f922b6fc9dcf3a8411bcae0a6
44dff5bd2f197ea5649db5cb83b2fa2d77da508f
refs/heads/master
2021-01-20T19:59:51.423620
2016-07-02T13:50:15
2016-07-02T13:50:15
62,380,932
2
0
null
2016-07-02T13:50:16
2016-07-01T09:18:38
null
UTF-8
Python
false
false
3,255
py
""" Django settings for make1 project. Generated by 'django-admin startproject' using Django 1.9.7. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # B...
[ "wesky93@gmail.com" ]
wesky93@gmail.com
e58c0bd5a53b77ae5264a15a880f3355616d1f73
acca191d5ebfc60111539b7de6d69ef68df33c39
/mainapp/serializers.py
e2cd7d4ee4d4a6688980b6231ab963ca920bd395
[]
no_license
Alksgest/python-todo
45e0779f62cf709ed9ae0a3e0306eea67740aa93
a1e1f82bb3dfaad73c981d089c3599e91b5188a7
refs/heads/master
2020-05-04T10:45:24.285289
2019-04-05T14:40:09
2019-04-05T14:40:09
179,094,520
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
from django.contrib.auth.models import User from rest_framework import serializers from .models import TodoModel class TodoSerializer(serializers.ModelSerializer): owner = serializers.ReadOnlyField(source='owner.username') class Meta: model = TodoModel fields = ('id', 'date', 'content', 'own...
[ "vladislav.kirichenko@syncopate.local" ]
vladislav.kirichenko@syncopate.local
f96d397ea492bb7729fe2189e5f3084c51fa1f73
20dee5f717e4dd44bd5400150406fed9a0a80fe4
/clustering/euclid_distance.py
609b9cf7f869bd88b0c5443037dcce42d20b3f62
[]
no_license
villank2/Datawarehousing_notes
512ffc4fea01d633dec90a36b1d14ab5421d38cf
a6bc7d380e6d2ec0ae93b6ba6182c4dbf8ca96e9
refs/heads/master
2023-02-11T08:42:23.870465
2021-01-11T19:54:11
2021-01-11T19:54:11
325,084,818
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
import sys import math def euclid_dist(x,y): assert(len(x)==len(y)) distance = math.sqrt(sum([(a - b) ** 2 for a, b in zip(x, y)])) return distance def agglohi_cluster(li): '''takes in a list of list of form [id,attr1,attr2,etc] check if an item in the main list is a cluster meaning it is a li...
[ "kylevillanueva1212@gmail.com" ]
kylevillanueva1212@gmail.com
8edaa67fda3c2d8e1a359fba81e6985b7270aa14
8a48adfaca1854854c79b7fbe1e60c67931a2cfb
/Datatype.py
5393aaceed7bf53887c91a4fc2175a2713bbcdff
[]
no_license
karolcajo/Tarea-5-Ejemplos
14cb049a402ea572a30b94d916037741eb18e8df
5b25a00fb4c9532ac1e0040b26e7bdd038f77703
refs/heads/main
2022-12-24T20:47:30.941510
2020-10-11T15:32:05
2020-10-11T15:32:05
302,953,183
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# String print("Hello World") print("Hello world") print("""Hello World""") print("Bye" + "World") # Integer print(30) # Float print(30.5) # Boolean True False # List [10, 20, 30, 55] ["hello","bye","adios"] [10, "hello", true, 10.1] [] # Tuples (10, 20, 30, 55) () # Dictorionies ...
[ "noreply@github.com" ]
karolcajo.noreply@github.com
656a4c3375c120a263d8ecfce111ff6e5f902f18
3610997a177b286dd39676855284db196a08f87f
/target_volunteers.py
424e56e6dc3bdc488a74ddbbb7c1892fd49accc3
[]
no_license
saviaga/IDontEatMeat
17f14dc73b12e242155eb4f095b8f80692f664a2
9d8e3ba32902d63680fd9d9483227df5b9198afc
refs/heads/master
2021-01-10T04:08:51.841732
2016-03-26T18:28:42
2016-03-26T18:28:42
47,032,651
1
1
null
2016-01-19T17:59:22
2015-11-28T17:23:12
Python
UTF-8
Python
false
false
7,417
py
import retrive_twitter_info from peewee import * from create_recruited_database import Recruited, Tweets, Hashtag, SentDate import datetime, time class target: def __init__(self, twitter, db, user): self.twitter = twitter self.db = db self.user = user def get_hashtags(self): ...
[ "saviaga@hotmail.com" ]
saviaga@hotmail.com
3fce41e05b897b1b5f9cb8483bc9db41b2f751a0
3c8701e04900389adb40a46daedb5205d479016c
/oldboy-python18/day02-列表-字典/home-work-stu/购物车.py
63b937b4063f23e586269f417564b2537968ebdd
[]
no_license
huboa/xuexi
681300653b834eaf506f49987dcca83df48e8db7
91287721f188b5e24fbb4ccd63b60a80ed7b9426
refs/heads/master
2020-07-29T16:39:12.770272
2018-09-02T05:39:45
2018-09-02T05:39:45
73,660,825
1
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
#coding:utf-8 goods = [ {"name": "电脑", "price": 1999}, {"name": "鼠标", "price": 10}, {"name": "游艇", "price": 20}, {"name": "美女", "price": 998}, ] shopping_car=[] while True: # 获取总资产 total_assets = input('请输入你的总资产:').strip() if len(total_assets) == 0: continue else: if to...
[ "wxcr11@gmail.com" ]
wxcr11@gmail.com
2372a02f129a67fbf7970e593aecdaeb2bdb38b5
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/messenger/doc_loaders/colors_schemes.py
5d932c37ceee7ccf7724d9394a83e08eff0f0204
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,484
py
# 2016.11.19 19:53:40 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/doc_loaders/colors_schemes.py from messenger.doc_loaders import _xml_helpers def _readColors(xmlCtx, section, colorsNames, defName): result = {} notFound = colorsNames[:] for tagName, subSec in section.items(): ...
[ "info@webium.sk" ]
info@webium.sk
15f2ce64da1c5f5bee70e930d1331822c81378e9
5defa72ddd76d88cd0cafd882f7bf8b71bbfd5e0
/settings.py
e8bd9603b983267e8e1121c14ddff8b40fc56552
[]
no_license
SanSanch5/try_seq2seq
5a5bb64c510e4789a1f5a423e249de5fcdd5f670
8c4d82281dded79e6064ce174f5080b5408a4ebb
refs/heads/master
2021-01-19T13:36:14.361055
2017-10-12T04:57:41
2017-10-12T04:57:41
82,398,364
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
TRAINING_DATA_KOEF = 0.8 enc_sentence_length = 15 dec_sentence_length = 20 batch_size = 250 n_epoch = 1000 hidden_size = 150 enc_emb_size = 300 dec_emb_size = 300 saved_model_file = 'model/model.ckpt' log_file = 'model/training.log'
[ "a.a.pakhomoff@gmail.com" ]
a.a.pakhomoff@gmail.com
d71a404752deb47fcc36b7785a681d5937f7e0e8
791c7d354488dfb643f170b669d324aa875f1059
/FromLeetCode/Simple/License Key Formatting.py
ab85634202c5ebb4e3561cfb1bdcb178a058bac2
[]
no_license
Bonnieliuliu/LeetCodePlayGround
db5567624f9458557239e3fe0eaef0ee0b59b0e7
9910bb7d142db9060b189748ebf7e85ee5f3443d
refs/heads/master
2020-03-22T07:42:01.629468
2020-03-03T15:16:38
2020-03-03T15:16:38
139,719,046
3
0
null
null
null
null
UTF-8
Python
false
false
999
py
""" author = Bonnieliuliu email = fangyuanliu@pku.edu.cn file = License Key Formatting.py time = 2018/8/2 20:29 more information """ class Solution: def licenseKeyFormatting(self, S, K): """ :type S: str :type K: int :rtype: str """ S = S.replace("-", "") n...
[ "fangyuanliu@pku.edu.cn" ]
fangyuanliu@pku.edu.cn
5988d7b08d3aaeaec60b1ae8f30583b1ca2ae4bb
e2acf75ce0b24a595d0ae64c5f6f65d3ae6ab56b
/requires.py
55b0d940bd1a495c21928a80bb2fa24ff6ee6744
[ "Apache-2.0" ]
permissive
ktsakalozos/interface-flume-agent
9fbf4696301ece823534d68198b2f6b6857b1d2b
20b11be7beec0d701ea1214102908c2a70804e25
refs/heads/master
2016-08-10T03:21:31.278419
2016-02-23T10:22:43
2016-02-23T10:22:43
48,242,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under th...
[ "konstantinos.tsakalozos@canonical.com" ]
konstantinos.tsakalozos@canonical.com
4afbaa853bd42ac76b84fe0c43d7682cbd589fc9
e3a6f67e9d75353dee73e2856a5cc50761fe0f52
/.vscode/chi.py/dictionary.py
7b11ae5c09658e77d9669c59cba484c6c5c3a794
[]
no_license
Tchalz/delete_now
f9973f176b6667c4c0d36c0d533896c6e51c149a
9f8788046c1bd7eb2906eaa1488617477938f3c7
refs/heads/master
2023-08-07T19:48:21.745810
2022-06-19T18:55:58
2022-06-19T18:55:58
242,335,515
0
0
null
2023-07-20T14:53:56
2020-02-22T12:11:20
Python
UTF-8
Python
false
false
248
py
scores = {"bayode": 10, "chibuzor": 20, "philip": 10, "goke": 90} print(scores["bayode"]) # d = {"chibuzor": 20, "goke": 90} # d["chibuzor"] = 20 # d["goke"] = 90 # print(d) league = {"english": 100, "spanish":80, "french": 60, "danish": 50}
[ "chibuzor_jonathan@yahoo.com" ]
chibuzor_jonathan@yahoo.com
c2f18cbb824c384e8769a74318cae6f4045561a3
4ddd555d485354221085daebcb6f09a71dbb34e7
/container_balls.py
fb561c5b30bada58d475071792b49392eba2b458
[]
no_license
nizarhmain/hackerrank
6aa4849c73c59e0c7f6e7508438c8ba28c8b7c22
885bb876f93d1b29299adab551cc1ac0076f1743
refs/heads/master
2020-11-23T23:32:35.572825
2020-02-27T11:53:03
2020-02-27T11:53:03
227,865,271
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
""" 2 3 1 3 1 2 1 2 3 3 3 3 0 2 1 1 1 1 2 0 0 """ """ Impossible Possible """ # q number of queries # n number of containers and ball types first = [[999336263, 998799923], [998799923, 999763019]] third = [[1, 3, 1], [2, 1, 2], [3, 3, 3]] fourth = [[0, 2, 1], [1, 1, 1], [2, 0, 0]] # check this one later quer...
[ "hmain.nizar@gmail.com" ]
hmain.nizar@gmail.com
23621a57dc183fa40c3fc2a1470f752f3e36f339
d0f0e99360baa4abe68e1cbd2b7b265238f3568e
/wordcount/wordcount/urls.py
5471804a85d82df1c9f5885c3be455d52543456c
[]
no_license
alfianinda/Learning-Django-1
facf3859a00e3afb1248da8e97d0b86f2b4b25f5
3391095f27a5806669e481480b4a00e49c85ba6d
refs/heads/master
2022-12-28T14:10:40.280573
2020-10-16T16:03:00
2020-10-16T16:03:00
304,676,495
0
1
null
null
null
null
UTF-8
Python
false
false
933
py
"""wordcount URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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...
[ "ni.alfianinda@gmail.com" ]
ni.alfianinda@gmail.com
6aafd67487c0bd93b6877eceb974ad1a5b907767
ec7ecc5abbdd03fb55f24e89dbbdfa23ebd7b60f
/evaluate postfix expression.py
0287083b4698fdbb7abd669aeabc7e66044a9f3e
[]
no_license
poojithayadavalli/codekata
cd290e009cf3e2f504c99dd4f6de9171f217c6be
1885c45a277cf1023e483bd77edf0c6edf8d95f3
refs/heads/master
2020-07-18T14:06:17.190229
2020-05-30T09:00:29
2020-05-30T09:00:29
206,259,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
class Evaluate: # Constructor to initialize the class variables def __init__(self, capacity): self.top = -1 self.capacity = capacity # This array is used a stack self.array = [] # check if the stack is empty def isEmpty(self): return True if...
[ "poojithareddyyadavalli@gmail.com" ]
poojithareddyyadavalli@gmail.com
5e72b33c4b8237aa5a528020daab42fd030adac0
def7dd81a7f95025c2f4689ce9779152291f0297
/io_equalizerviz.py
f7f59d1f6caa35429df9a2262629db0c7253b18c
[ "MIT" ]
permissive
PROPHESSOR/Blender-Equalizer-Audio-Visualizer
a255ec038be9cc1611ad0decfef74fd260202227
0405f2c47a76b47f22948a65561db5efe66f5bd8
refs/heads/master
2020-12-04T07:41:14.203339
2020-01-03T23:47:45
2020-01-03T23:47:45
231,681,773
0
0
null
null
null
null
UTF-8
Python
false
false
4,078
py
# EqualizerViz - Audio visualization plugin # Created by PROPHESSOR for Blender 2.80 (04.01.2020) # # Based on sirrandalot's "Audio visualisation script" for Blender 2.71 import bpy from bpy_extras.io_utils import ImportHelper from bpy.props import IntProperty, StringProperty from bpy.types import Operator from bpy_e...
[ "xenteze@gmail.com" ]
xenteze@gmail.com
969a5a3d3bdc82c7be29ab7942e91a3bae7f295f
7f382ec3228f1f41e7ec305a4322c6f72d28ea78
/src/mapLoader.py
22de4f52b66fe941b5bc013df2966f9ba47f5f70
[]
no_license
NPIPHI/Python-Platformer
76e03fc24e179c42bdb1a25c815f47e6ffd67b84
1133c16ad96f7288e6f76455dc9bc17d1eb17055
refs/heads/master
2022-01-05T19:56:30.429949
2019-06-28T15:19:12
2019-06-28T15:19:12
192,562,821
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from mapElements import * def load(map_name): file = open(map_name, 'r') text = file.read().splitlines() return list(map(eval, text))
[ "nwp2@illinois.edu" ]
nwp2@illinois.edu
1514e431abe87087c79b3300a5fd9372aaab32c5
a29e2dfb97caa5eb4e4ad21585778cde993df3bb
/stochastic/private_robust/funcdef_util_privacy.py
782ec06e2932563e6f1e10cefefdd5bcf2b0a7c0
[]
no_license
proroka/diversity
6cb3fa86eb2a57c1a5bc45d538089f8991810709
2e9b42f9ed9b847e3ee28cebf34c9d873ee51606
refs/heads/master
2021-01-21T04:36:26.943641
2016-04-17T14:30:36
2016-04-17T14:30:36
37,940,457
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 6 09:12:53 2016 @author: amandaprorok """ import numpy as np import scipy as sp import pylab as pl import matplotlib.pyplot as plt import networkx as nx import sys import time import pickle # my modules sys.path.append('../plotting') sys.path.append('../utilities') sys...
[ "amanda.prorok@gmail.com" ]
amanda.prorok@gmail.com
8f9b8fb3dfdb8b5128d7300ed65cfae9c99243b2
0acedcc629061f76c942192be0047876e6307db8
/Bittorrent/bittorrent_tests.py
4e2096217582816a5f30ebd2bc6a01abd68ff36c
[]
no_license
MFAshby/pybittorrent
9d58280c0c72874e68f319b864dbc477fb29c5cf
0a679e06d7696be1813c74c071920a9fcfac88b3
refs/heads/master
2021-01-20T08:44:11.917987
2014-08-12T22:07:59
2014-08-12T22:07:59
22,546,520
0
1
null
null
null
null
UTF-8
Python
false
false
9,670
py
from unittest import TestCase, main from io import BytesIO import bittorrent from bitarray import bitarray from struct import unpack def do_test_fn_return_output_socket(function, *args): output_socket = BytesIO() function(output_socket, *args) output_socket.seek(0) return output_socket def read_int(so...
[ "martin@ashbysoft.com" ]
martin@ashbysoft.com
e84eb65f2492848d6267cfd4c0c92be71ce43095
b2ddfebe4a2414741a9d1c6ecb6a236640f80063
/SomePractice/tensorflow机器学习/CNN实现/StanfordDogs.py
a759561e0ba95a329e570ffa1167b8f582ddda15
[]
no_license
BBHNation/PracticeProjects
e4753ad0c753996925e7d0b70235f823d85e2513
1c89c6122a045b784a7773848355b2c4dbc80e25
refs/heads/master
2021-01-20T14:23:07.385766
2018-08-26T14:13:32
2018-08-26T14:13:32
90,598,401
7
10
null
null
null
null
UTF-8
Python
false
false
1,392
py
# coding:utf-8 import glob # 获取图片信息 image_file_names = glob.glob("./Images-dogs/n02*/*.jpg") print image_file_names[0:2] from itertools import groupby from collections import defaultdict # 初始化训练集合 training_data_set = defaultdict(list) # 初始化测试集合 testing_data_set = defaultdict(list) # 将文件名分解为品种和相应的文件名,品种对应于文件夹名称 ima...
[ "MRWhite@WhiteMac.local" ]
MRWhite@WhiteMac.local
ed215f23e89ce11cc33f6bae5bb84b135ebc61c1
1ba4527e21ee1bf52a2603fc7f2ea2458bb88544
/venv/Scripts/pip-script.py
60f316b8241a67f76b1054219a824e21c05d02d6
[]
no_license
random-Amanda/Cerebrex-1
de5b903cbef94c0f536c253c28f3929781d3a2c3
d48249a0b38a22b59e23dff9f5a22565b4901d7f
refs/heads/master
2020-05-16T23:24:44.599944
2019-04-24T06:47:22
2019-04-24T06:47:22
183,363,269
0
0
null
2019-04-25T05:37:01
2019-04-25T05:37:01
null
UTF-8
Python
false
false
409
py
#!C:\Users\Dell\PycharmProjects\Trial3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.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)?$', '', sys.argv[0])...
[ "kmehani@yahoo.com" ]
kmehani@yahoo.com
d260c463d7443c4a515d2e19e29b33c7081dce1f
5783be589f9f6ab590ea097eb9b84fa3786617e4
/Misc/fileCollection/main.py
881cc8b3eafa07bb6a66470eb5cf2c497c11eb1a
[ "Apache-2.0" ]
permissive
suyash248/ds_algo
5751e46ba4b959f0dd3f6843800f3e21d52100ac
1ca9470c33236016cbb88a38b2f19db41535e457
refs/heads/master
2022-12-10T10:39:16.135888
2022-12-06T16:45:25
2022-12-06T16:45:25
58,738,512
8
4
null
null
null
null
UTF-8
Python
false
false
799
py
from Misc.fileCollection.file import File from Misc.fileCollection.file_util import FileUtility if __name__ == '__main__': file_utility: FileUtility = FileUtility() f1: File = File(name="f1", size=100) f2: File = File(name="f2", size=50) f3: File = File(name="f3", size=500) f4: File = File(name="f...
[ "suyash.soni@udaan.com" ]
suyash.soni@udaan.com
bbb7bae1eb34c8aa75f685c887250a7cb89db904
ce63ca8f6e7ed3df709347bba88273e82be233dc
/lib/__init__.py
2bdb2b20e489b383dd5b0646aff092f0aaf8cd28
[]
no_license
dha9011/tag_agent
d990a15af880bce22752acbc75565ab5be9011a7
0c7490addd683e3c8c2a499a4584c0ce170c64b2
refs/heads/master
2021-01-17T13:29:41.192469
2016-07-26T06:53:04
2016-07-26T06:53:04
59,182,108
1
1
null
null
null
null
UTF-8
Python
false
false
119
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Date : 17/2/16 PM4:13 # Copyright: TradeShift.com __author__ = 'liming'
[ "dha@tradeshift.com" ]
dha@tradeshift.com
f3e2452d08102097b71299f1835a5000ecc6f07d
e4f8b14cead542586a96bcaa75993b0a29b3c3d0
/pyNastran/f06/test/test_f06.py
1bd6ea7db2cd64bd4ae4a058a7e38f9e763c9e81
[]
no_license
afcarl/cyNastran
f1d1ef5f1f7cb05f435eac53b05ff6a0cc95c19b
356ee55dd08fdc9880c5ffba47265125cba855c4
refs/heads/master
2020-03-26T02:09:00.350237
2014-08-07T00:00:29
2014-08-07T00:00:29
144,398,645
1
0
null
2018-08-11T15:56:50
2018-08-11T15:56:50
null
UTF-8
Python
false
false
5,968
py
import os import sys import time from traceback import print_exc import pyNastran from pyNastran.f06.f06 import F06 #from pyNastran.op2.test.test_op2 import parseTableNamesFromF06, getFailedFiles def run_lots_of_files(files, debug=True, saveCases=True, skipFiles=[], stopOnFailure=Fal...
[ "mesheb82@abe5364a-6225-a519-111c-932ebcde5b3b" ]
mesheb82@abe5364a-6225-a519-111c-932ebcde5b3b
6142e7a74039e267ec08477e21952b9991b89888
4ee5affb8b16ff7d26df9b19ffee8d675df11e4e
/nested-loops/train_the_trainers.py
ce76aebb5569e2ac15837eb95cccaa5edc35603a
[]
no_license
ayk-dev/python-basics
f60849f6502d64445105a0d27272d9910ea1d509
af6d04f9001d9a45e8474f9bd4fa2b3ebe380c97
refs/heads/main
2023-01-12T11:56:12.210880
2020-11-17T20:06:40
2020-11-17T20:06:40
311,747,624
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
n = int(input()) # number of people in jury presentation_counter = 0 presentaion = input() all_presentations_grades = 0 while presentaion != 'Finish': total = 0 for pres in range(1, n + 1): grade = float(input()) total += grade average_grade = total / n all_presentation...
[ "noreply@github.com" ]
ayk-dev.noreply@github.com
5a8562ac50a851a7512ab77b535f0040415aacc5
a89e90c05f5804590643cf5d6d23c8e3d800b089
/lab4/src/PathPublisher.py
d4f57d5e49d6394c5c27a4cc66ef805484f29c73
[]
no_license
rajatsc/autonomous-rc-car
edb8cf04fad7fcc8dc53885b5be93a492c0148dc
6f75bba7d0723fe367c6d23ec8a3874e896e7c82
refs/heads/master
2020-04-23T17:59:51.956926
2020-01-15T03:36:22
2020-01-15T03:36:22
171,351,641
1
0
null
null
null
null
UTF-8
Python
false
false
5,445
py
#!/usr/bin/env python from threading import Lock from lab4.msg import * from nav_msgs.srv import GetMap from geometry_msgs.msg import PoseArray, Pose, PoseStamped from std_msgs.msg import Float64 import numpy as np import rospy import Utils class PathPublisher(object): XY_THRESHOLD = 1 THETA_THRESHOLD = np.pi # TO...
[ "rajatc@uw.edu" ]
rajatc@uw.edu
f56c458caf70a998bdeaa60b7858948b14420bec
a551f2e9671059e57b0533bfa5f740fb81ac6435
/test_uloha_den_4.py
1ef0ff67e6a91097b987b7fabb7ae12d4259efaa
[]
no_license
Natasa66/PythonAcademy
a372beadba7f2676aba2842050bb369d5b2c29c9
d39eb1ab4c88575eb7b2cca49659e48c1971b39f
refs/heads/master
2022-12-09T18:36:31.547790
2020-09-10T11:44:34
2020-09-10T11:44:34
279,904,666
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
from unittest import TestCase from uloha_den_4 import zacina_samohlaskou class TestZacinaSamohlaskou(TestCase): def test_zacina_samohlaskou_male_pismena_true(self): result = zacina_samohlaskou("alena") self.assertTrue(result) def test_zacina_samohlaskou_velke_pismena_true(self): resul...
[ "nspelicova@nextra.sk" ]
nspelicova@nextra.sk
4be0a9347751505cc966aaaae4aa8a00df3626f7
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/AtCoder_Virtual_Contest/macle_20220825/c/main.py
02c948ca2212d942ef5f1445c169292d56933fb5
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
5,236
py
# -*- coding: utf-8 -*- import math from bisect import bisect_left, bisect_right, insort from typing import Generic, Iterable, Iterator, TypeVar, Union, List T = TypeVar('T') class SortedMultiset(Generic[T]): """Sorted multi set (set) in C++. See: https://qiita.com/tatyam/items/492c70ac4c955c055602 ...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
9cfc6c28763ed3a3ef9c48c4afd6a23290c5d1ff
000b796eeeb47c9e4df6e940fabda9eefb262feb
/k_neighbors.py
0309ff278543d333192d486819757fafde50c296
[]
no_license
udupashreyas/Machine-Learning
448189f4320c625e0b3100456a8c04c4ce2c5d49
5e1b5946c52fc4bf31400bca4d2a08747df918e9
refs/heads/master
2021-01-18T22:16:18.993015
2016-10-31T04:07:15
2016-10-31T04:07:15
72,398,894
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import numpy as np from sklearn import preprocessing, cross_validation, neighbors import pandas as pd df = pd.read_csv('C:\Users\udupa\Documents\\breast-cancer-wisconsin.data.txt') df.replace('?',-99999, inplace=True) df.drop(['id'], 1, inplace=True) X = np.array(df.drop(['class'], 1)) y = np.array(df['class']) X_tr...
[ "udupa_shreyas@yahoo.co.in" ]
udupa_shreyas@yahoo.co.in
ec574c2f9acf0be8ef12d257b98b21de90949488
8192bef768e3fad6b858e17797eb6d8d615617b6
/bowling/bowling.py
24ec39882cd7549da9c3a991f1aa1f68cb16cf41
[]
no_license
pabllo87/python_poznan_2014_08_05
6a8ca0b9fe1753bf5df228d94b444448c6e32f9d
50b8b2dfd3193c56ed0b424e9fd4cb335fb29859
refs/heads/master
2020-12-25T10:59:17.099519
2014-08-07T14:15:35
2014-08-07T14:15:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
#print("I'm imported right now") class PlayerScore: def __init__(self): #print("new constructor") self.__rolls = [] def roll(self, pins): if isinstance(pins, int): self.__rolls.append(pins) else: raise TypeError def score(self): score = ...
[ "leszek@czterybity.pl" ]
leszek@czterybity.pl
c994ba0a911d0bf5726934a74e94cc5b6ea8197c
da878a03674024f290775b2c10d745edf091a4dc
/Global Fires/venv/Scripts/pip3-script.py
d05b0aa101ecf28df5c3555bf979ec367071f105
[ "MIT" ]
permissive
EnriqueGambra/Global-Fires
1b3aa5670dbb69804c733b865c7906f6e9698995
652606ccd573e7bfd7a232876f0b59fcefc15f9b
refs/heads/master
2020-08-03T00:44:38.156931
2019-09-28T23:30:43
2019-09-28T23:30:43
211,568,271
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
#!"C:\Users\Owner\github-Repos\Global-Fires\Global Fires\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.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)?...
[ "gambra7@gmail.com" ]
gambra7@gmail.com
ba50261f4095195e91f34f82c65ee1d79a2c97aa
5e87661f1ddba14b750b374eff4a15bcda6c4ce1
/ex1.py
b3d17b6c2117daba7a4625d607bfaf77c1d601e8
[]
no_license
gabe32130/AST4320-A2
cf894a9c798e15d6076ee7170a878d83593a656c
7a17d2c491e8d5818de45180b2849b4abd865211
refs/heads/master
2021-07-16T04:00:16.787186
2017-10-20T16:16:04
2017-10-20T16:16:04
107,699,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
import pylab as pl import numpy as np import cmath as m from scipy.fftpack import fft, ifft import matplotlib.pyplot as plt from matplotlib import rc from scipy.interpolate import UnivariateSpline import pylab as pl #plot the step function step=1000 x=np.linspace(-10, 10, step) xn=np.zeros(len(x)) xp=np.zeros(len(x)) ...
[ "noreply@github.com" ]
gabe32130.noreply@github.com
e16b715804c18a6384e3118d83a4956a07d4ee1e
f7fd13ec25600ceeda7423aa0066619d13adf08c
/乙/1011.py
30431a36deb4656bf0671c11e9df54db8a4c3bce
[]
no_license
YWithT/PAT
b6c75fe0e075acf5a871969176010f56b733b44d
1db79913cd9b6e0f54da33d2696a3c1e4dd4daaf
refs/heads/master
2021-09-09T12:44:42.881154
2018-03-16T07:28:25
2018-03-16T07:28:25
114,212,040
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
a = int(input()) result = [] for i in range(0, a): Nums = input() Nums = Nums.split() for j in range(0, len(Nums)): Nums[j] = int(Nums[j]) if Nums[0] + Nums[1] > Nums[2]: result.append("true") else: result.append("false") for i in range(0, len(result)): print("Case #"+str...
[ "shucesyc@163.com" ]
shucesyc@163.com
3a55653869604aef5ea9a379f8015741a146140e
89ccc41a81e00404f620f15b926471418412cb2b
/cloudbaseinit/tests/utils/windows/test_vfat.py
ebfd8786f8e90fb1c971c9bdef7905f5fb3425eb
[ "Apache-2.0" ]
permissive
pellaeon/bsd-cloudinit
bf6bf73aa4f22cd15bb34ccca06cb8fdfcd6dbc3
d2fabf40119267164b9e765e59e3f99cd61fdcef
refs/heads/master
2021-06-11T17:02:36.812016
2021-02-25T06:51:02
2021-02-25T06:51:02
13,364,507
75
40
Apache-2.0
2021-02-25T06:51:03
2013-10-06T15:52:33
Python
UTF-8
Python
false
false
5,250
py
# Copyright 2015 Cloudbase Solutions Srl # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "cpopa@cloudbasesolutions.com" ]
cpopa@cloudbasesolutions.com
d68cb20998e97b817a3738f409f6bad813653bd7
c7c4b4b5b182b277cf499e775e04bf02e8081149
/jwt_auth/migrations/0001_initial.py
32e435faf25f2c5b783b1751db1f4704094c5a2c
[]
no_license
annamonkman/sei-project-four
e568a7d46bbdb1ab3107bb7cad28e396dc8f27e5
84528f4f11c9784edacfaab579c4d16b1586939f
refs/heads/main
2023-08-15T10:20:09.504538
2021-10-18T15:16:20
2021-10-18T15:16:20
358,233,789
0
0
null
null
null
null
UTF-8
Python
false
false
2,901
py
# Generated by Django 3.2 on 2021-04-16 13:29 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max...
[ "annamonkman@me.com" ]
annamonkman@me.com
e5a0abd35749ee7bf4574fc3a0f4af6c92bc6254
ee8cccde9139b8bfb661cafefa1db12d03dc4898
/products/models.py
a2cc98192d8c648d833f95e98f54533e19498bfe
[]
no_license
GhattiM/producthunt-project
5876f75feb824a5a43d0b54ed8024916420c873c
462dadc44dc8c4e435bcd6bed791a5bfa27bc6cc
refs/heads/master
2020-03-19T22:23:03.837984
2018-06-11T19:49:04
2018-06-11T19:49:04
136,968,199
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
from django.db import models from django.contrib.auth.models import User class Product(models.Model): title = models.CharField(max_length=255) url = models.TextField() pub_date = models.DateTimeField() votes_total = models.IntegerField(default=1) image = models.ImageField(upload_to='images/') ...
[ "ghatti94@gmail.com" ]
ghatti94@gmail.com
b0059167390bda100df2b9fb1dfdfd3c359fe18c
4b2f0dae781d91baec5b94055e23720838c0feda
/Fleet Simulation/archive/simFunctionsVer8.py
8b6810e2f51188af4585a31306f5e394dbfc12ca
[]
no_license
tiff413/EV-Technology-2019
ec88eb411a3ce5f39387b682cd853da86e364ec3
7fe8a3bda28a5ac9b6d0b29fa27621e9ceca4fe5
refs/heads/master
2021-01-03T22:28:16.873563
2020-03-13T11:01:46
2020-03-13T11:01:46
240,260,962
0
0
null
null
null
null
UTF-8
Python
false
false
41,093
py
import pandas as pd import numpy as np import datetime as dt import time # CHOOSE NUMBER OF CHUNKS IN AN HOUR # e.g. 3 chunks would divide the hour into 20-min shifts chunks = 2 ############################## # TIME FUNCTIONS ############################## # CONVERTS TIME INTO DATETIME def readTime(ti): if len...
[ "noreply@github.com" ]
tiff413.noreply@github.com
0953b70940408ed4aba544cf03f8f8481aec4171
f98e56e05787eba8a0705395676837f8efa99b6a
/application.py
5f9f80352ec27ab30bbbdd5c8099a2fb85964142
[ "MIT" ]
permissive
Darshansingh11/Essay-Analyzer
6378be9756fee96c9f36e5161bb8ec2fd7653f55
4d64c43bc4783dfc38c0a1e924a3d5a15e41d6f0
refs/heads/master
2021-07-19T07:03:51.465954
2020-05-25T07:08:55
2020-05-25T07:08:55
158,946,369
0
0
null
2020-05-25T07:07:49
2018-11-24T14:55:40
Python
UTF-8
Python
false
false
6,238
py
from cs50 import SQL from flask import Flask, flash, redirect, render_template, request, session, url_for from flask_session import Session from passlib.apps import custom_app_context as pwd_context from tempfile import mkdtemp import nltk from helpers import * import re import sys from dictionary import Dictionary # ...
[ "darshans012@gmail.com" ]
darshans012@gmail.com
1423e61fcaddb8a485741d88cc9d6c4ab6f7b527
12c6f045f9e9c2886ddb2482f6ec161d02287ddd
/chapter1/ssd1.py
868a0f8a95d6423230a6d1d572c15f39f72eca17
[ "MIT" ]
permissive
alicengh/multi-analysis
fc45d6f136b7a085e7dcc0afeef91d1f76d1526a
cdcab67ca05fd6b8e591dd3a6ecb87dd7e72be53
refs/heads/master
2020-07-02T23:58:20.631051
2016-11-20T10:34:34
2016-11-20T10:34:34
74,212,362
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
# coding: utf-8 """Sum of Squared Deviation Example1 @author: Liz @modified: 11-20-2016 """ import numpy as np data = np.array([2, 5, 7, 12, 15]) dev = data - np.ones_like(data) * data.mean() ssd = sum(i ** 2 for i in dev) print("data: {}".format(data)) print("ave : {}".format(data.mean())) print("dev : {}".format...
[ "416.hijiri.nishikata@gmail.com" ]
416.hijiri.nishikata@gmail.com
aff2e38898c5fd8fae9c7aae527d7627d11dd228
2c2dafc1a9d8febfd107971c5afc1376b458e8dc
/181009 - 4673.py
33c5ca73f86a3607e5b832d5a9cc094ddf2e26b7
[]
no_license
to-besomeone/algorithm
2e1e0f720a4d1762a35c9573175f3080b14db00a
6055061e33f93c4e776a7fa4f87d85b1dc97a732
refs/heads/master
2020-03-31T16:09:04.266251
2018-11-18T12:29:50
2018-11-18T12:29:50
152,364,239
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
def d(n): result = n while n != 0: result += n % 10 n = n // 10 return result arr = [0] * 20000 for i in range(1, 10001): arr[d(i)] = i if arr[i] == 0: print(i)
[ "evillion99@gmail.com" ]
evillion99@gmail.com
eb66fd2975ad3f094b37a4fdcc40596102ed3e36
5226953da8873d944327497e4f37864c38f68de0
/ratioICAtest.py
44af988ca0b4f4ac2d7b458fad5635760a38ea3b
[]
no_license
tailintalent/PredictionCode
64a9ada4abddb053928d74825aab4fde7d5d2097
dfe59941568cf43b835c59e8d7d3d1e34ca581b4
refs/heads/master
2020-04-17T05:42:59.659203
2019-01-18T07:27:02
2019-01-18T07:29:00
166,293,616
0
0
null
2019-01-17T20:40:51
2019-01-17T20:40:50
null
UTF-8
Python
false
false
4,312
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 6 13:11:50 2018 test ratiometric versus ICA for some toy data. @author: monika """ import numpy as np import matplotlib.pylab as plt from sklearn.decomposition import FastICA from stylesheet import * import matplotlib.gridspec as gridspec #################################...
[ "mscholz@princeton.edu" ]
mscholz@princeton.edu
340124038ec0a382226157ab2e053dae131e5599
e4bc426159c5622f42f53fb26f4aa627f337ef5c
/snippets/serializers.py
e9c6078ddfd0e2426fcfc451a288f4a1f6470e7c
[]
no_license
gtzago/django-rest-tutorial
e3f02593ce7f06ea16f8cc3a7100d276deeede98
ad37b09fc8b724ef37ec7b0e39c88e43ccf202cd
refs/heads/master
2021-01-01T05:26:01.983047
2016-04-14T14:18:42
2016-04-14T14:18:42
56,093,382
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from rest_framework import serializers from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES from django.contrib.auth.models import User class SnippetSerializer(serializers.HyperlinkedModelSerializer): owner = serializers.ReadOnlyField(source='owner.username') highlight = serializers.Hyperlinked...
[ "gtzago@gmail.com" ]
gtzago@gmail.com
505e6466c3ca23f5decd5203746f71c43373cbe0
794bb12645c8f502cde6506afa684bc435d85ae7
/VideoChat_server.py
759b26f0c8ea72106c5c813b6973ba68b200d497
[]
no_license
natasha012/Live-Video-Streaming-Chat-App
4cefa0321a21b9d8e46a765dab47ac013b67e64f
8ac8af829e3fae9a5dd7dcb6e04735910dcbaccf
refs/heads/main
2023-05-25T20:41:41.121269
2021-06-10T12:35:04
2021-06-10T12:35:04
375,691,103
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
import os import cv2 import numpy as np import socket cap=cv2.VideoCapture(1) # Create Socket s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) ip="192.168.56.1" port=8888 # Socket Binding s.bind((ip,port)) s.listen(5) # Listening and waiting for connection conn,addr = s.accept() while True:...
[ "noreply@github.com" ]
natasha012.noreply@github.com
c7e22f0bf7b01228370e01f7a828269910eb4af3
a4b2af9318c47b084193dbf63ebc0f2dfd6861b5
/VUsbTools/Decoders/iPhone.py
982b39032def6bd372294a4c48b9369c0be6e56f
[ "MIT" ]
permissive
vpelletier/vusb-analyzer
2ac55a01173fd71fcc9025991b9d7a8788b5763e
30905f38ffc625bb76a35532e60ba3dd109f8f1c
refs/heads/master
2020-03-29T12:54:10.849734
2012-07-08T14:16:52
2012-07-08T14:16:52
3,121,557
3
1
null
null
null
null
UTF-8
Python
false
false
6,665
py
# # VUsbTools.Decoders.iPhone # Micah Elizabeth Scott <micah@vmware.com> # # Decodes the usbmuxd protocol used by iPhone and iPod Touch devices. # Based on protocol information from marcan's open source usbmuxd # implementation at http://marcansoft.com/blog/iphonelinux/usbmuxd/ # # Copyright (C) 2010 VMware, Inc. Licen...
[ "beth@scanlime.org" ]
beth@scanlime.org
9088bf41a81af3370a353cf42c33dfa04f4db997
2093ba85aafb2b91b98d4cc334eb390c6cd7d3c5
/3a-model-scikit/model.py
e2aa6de6680d0f7a2d0c93f6c0a0d3476a8ab641
[]
no_license
rakesh283343/covid-kubeflow
068c2a56d02c405aa03d0b5b893d8ed40bb65229
adc14ecaa9b84eedfaf649adcf6fe493f8bb0e1e
refs/heads/main
2023-02-24T02:15:45.579063
2021-01-26T21:10:42
2021-01-26T21:10:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
import pandas as pd from sklearn.linear_model import LinearRegression, Ridge import numpy as np from scipy import stats data = pd.read_csv('flat_file.csv') geos = list(set(data['Province_State'].to_list())) dropGeos = ['Princess', "Islands", "Guam", "Puerto"] for g in geos: if any([p in g for p in dropGeos]): ...
[ "trevor.d.grant@gmail.com" ]
trevor.d.grant@gmail.com
36dcee7028b02b4850f2c21b50d78950e0dc44ef
95a842b1ca06bef01669a2f862cd34cdec8594fb
/api/app.py
cb924e46787507df1a36c1b724c881d62a687faf
[]
no_license
pyalwin/brainwaves
608c37031d2170b9635aab2432d7521b4e2dd7c8
518f0501d2291d20f6b8a3edda33adab454a32b7
refs/heads/master
2020-04-18T08:45:22.966522
2019-01-24T17:35:41
2019-01-24T17:35:41
167,407,037
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
from flask import Flask from flask_graphql import GraphQLView from schema import schema from mongoengine import connect from flask import jsonify from models import Stocks as StocksModel from flask_cors import CORS connect('brainwaves', host='mongodb+srv://user:password@host/db', alias='default') app = Flask(__name_...
[ "arun@Aruns-MacBook-Air.local" ]
arun@Aruns-MacBook-Air.local
5eaf78a2b9a510e79ce66541431b5ab2510701ea
85ae021daca623a690a5dc84515378eb8dfc6f5c
/XMLparsing.py
6d96c6dc657bc4af7df782d5af9e38612332e971
[]
no_license
Kharianne/AccesingDataPython
0b1b1074ba30fdf95543066bff04150afde00006
f041da4602943535fc49bab1829e2b62c7dee368
refs/heads/master
2021-05-04T10:12:26.543081
2017-07-10T13:16:23
2017-07-10T13:16:23
54,231,220
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
import urllib.request import xml.etree.ElementTree as ET go_to_url = "http://python-data.dr-chuck.net/comments_235575.xml" xml_file = urllib.request.urlopen(go_to_url).read() sum = 0 tree = ET.fromstring(xml_file) comment = tree.findall('.//comment') for child in tree.findall('.//comment'): count = chil...
[ "katerinamrkackova@gmail.com" ]
katerinamrkackova@gmail.com
ff22176a2b050a193f1882462e0d36e591e42784
cb0e7d6493b23e870aa625eb362384a10f5ee657
/solutions/python3/0567.py
65478b7cc2fb087117f7698fe743cdccb13f091a
[]
no_license
sweetpand/LeetCode-1
0acfa603af254a3350d457803449a91322f2d1a7
65f4ef26cb8b2db0b4bf8c42bfdc76421b479f94
refs/heads/master
2022-11-14T07:01:42.502172
2020-07-12T12:25:56
2020-07-12T12:25:56
279,088,171
1
0
null
2020-07-12T15:03:20
2020-07-12T15:03:19
null
UTF-8
Python
false
false
500
py
class Solution: def checkInclusion(self, s1: str, s2: str) -> bool: count1 = collections.Counter(s1) required = len(s1) for r, c in enumerate(s2): count1[c] -= 1 if count1[c] >= 0: required -= 1 if r >= len(s1): count1[s2[r...
[ "walkccray@gmail.com" ]
walkccray@gmail.com
52564c55ce188af128e41cc3810567e62b0cb71c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_wisecracked.py
df762aa40f8d90ebf7ab0b38869d1bab6c31eb7e
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
#calss header class _WISECRACKED(): def __init__(self,): self.name = "WISECRACKED" self.definitions = wisecrack self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['wisecrack']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c674c6e16654a00ab60bf8e87c02f64ebac92101
bb59bafc83ede90f7e99e504abebac4a324557f8
/Assignment2/receive.py
5acf86928126751c39dd212e466c0bb7f0d3def4
[]
no_license
mlevy94/ECE4564
17e823c950a83888bfc8f0f280c71bf2c2e2788e
efd812856250a4c55438419102daca3ecf9fec63
refs/heads/master
2021-06-14T07:00:06.021759
2017-05-09T20:58:14
2017-05-09T20:58:14
81,128,114
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
#!/usr/bin/env python import pika import argparse import time import sys import json parser = argparse.ArgumentParser() parser.add_argument("-b", action="store", default="localhost") parser.add_argument("-p", action="store", default="/") parser.add_argument("-c", action="store", default=None) parser.add_argument("-k",...
[ "jacques@vt.edu" ]
jacques@vt.edu
1491c941a137b8757857f6a599b96563f99bb0ba
e9597319306a89d477d49e34215dd079b000d41c
/project/settings/apps.py
eaf88f539c4cb0368ff4e067ece49d64777d8a08
[]
no_license
LucasBerbesson/ottaviano
75e4c897cfc34d0e5aaaa643b8e137ee6466cf06
c03fc95e1441f5ecca7167e19fa30ac682c2fb4b
refs/heads/master
2023-04-28T01:55:15.382859
2019-09-16T13:02:37
2019-09-16T13:02:37
208,800,365
0
0
null
2022-11-22T04:14:59
2019-09-16T12:59:13
CSS
UTF-8
Python
false
false
350
py
# Application definition DJANGO_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] CONTRIB_APPS = [ ] PROJECT_APPS = [ 'reservations', ] INSTALLED_APPS = DJANGO_APPS ...
[ "lucasberbesson@gmail.com" ]
lucasberbesson@gmail.com
641aacc8b6854764e829d6932d4d0627ea980786
19d03d646fcee318cca8078af27636732290d77b
/parlai/utils/flake8.py
1170b4bbb4a717b201637e00678bf96a87614026
[ "MIT" ]
permissive
yongkyung-oh/CMU-Studio-Project
2d6fe6ef6fa30fda1a4f2d1fc45c5b85d6143775
448492f342e8157df2e736aa52825b66b1d66fd7
refs/heads/master
2022-10-24T16:56:46.763865
2020-07-01T10:03:00
2020-07-01T10:03:00
252,878,283
2
5
MIT
2021-03-25T23:50:27
2020-04-04T01:02:44
Python
UTF-8
Python
false
false
3,424
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Custom flake8 rules for ParlAI. Includes: - Checks for python3 shebang - Check for copyright message - Docformatter...
[ "yongkyung-oh@outlook.com" ]
yongkyung-oh@outlook.com
d19d550f037f8ddc3caafe06ec1e87db7d68a59b
5988c420e41652eba3f2c510c18f3eb10ef1127d
/lagou/pipelines.py
0e273ca61aa40cd207a0287660f123c4fb35e10c
[]
no_license
lpnsjl/Lagou-scrapy
55bf30b4691105260bdf388da8f84499937df77f
241e807653e7f5b64068b6ffc6ec9d9c6ff22bf3
refs/heads/master
2021-04-26T23:46:28.744606
2018-03-04T18:53:00
2018-03-04T18:53:00
123,854,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import json import pymongo class LagouPipeline(object): """def __init__(self): self.file = open('lagou.json', 'w')...
[ "1752128872@qq.com" ]
1752128872@qq.com
28d7853629e519d31e6615eabe002706b6b08b38
4cb2bbd929ba3722d78cd6bd9feb2c5c0dd57025
/olympic/forms.py
d27d0f59c4a933f98e12550b23203e2966edaad2
[ "BSD-2-Clause" ]
permissive
mjtamlyn/tamlynscore
ebeebdc73feeab86995a2cb888e1bea203854553
c6ac4e9a5e37dc3778b1f754b3143e44fa8dc0bc
refs/heads/master
2023-08-24T11:00:16.153489
2023-08-08T11:30:24
2023-08-08T11:30:24
17,013,657
7
2
BSD-3-Clause
2023-08-05T19:52:51
2014-02-20T08:28:08
Python
UTF-8
Python
false
false
3,102
py
from django import forms from .models import Result, SessionRound class ResultForm(forms.ModelForm): class Meta: model = Result exclude = ('match', 'seed') class SetupForm(forms.Form): SPREAD_CHOICES = ( ('', 'No special options'), ('expanded', 'One target per archer'), ...
[ "marc.tamlyn@gmail.com" ]
marc.tamlyn@gmail.com
61752c74ffa9dac746a5a342dfb9225aaf000fdb
38f1665166a899eb65dbc35348d81ecaf305b197
/src/python/upload_to_big_query.py
63101da6cfb2b34ce3c4f16fee210e8f5cb702a2
[]
no_license
surbhikkabra/Hate-Speech-Analysis
23df82344f5de0d8337895d236f23f96d87d77bd
e2a0b84d39d761874026abc5dd958b9207000a68
refs/heads/master
2022-11-11T02:00:59.118280
2020-07-05T02:24:32
2020-07-05T02:24:32
274,814,736
0
0
null
null
null
null
UTF-8
Python
false
false
2,697
py
from google.cloud import bigquery from google.cloud import bigquery_storage_v1beta1 from google.oauth2 import service_account from google_auth_oauthlib import flow import os def get_credentials(): # appflow = flow.InstalledAppFlow.from_client_secrets_file( # 'client_stores.json', # scopes=['https:...
[ "surbhi.kabra45@gmail.com" ]
surbhi.kabra45@gmail.com
290f3bc6b220e4c8877fcf47617d2039ce61cba1
beeded6f6df10462c09ad0681ae311407269389b
/testGoodsTrade/python/x64/Ice_Current_ice.py
32801971831ce97b58a73db1a853bd5e4789ee50
[]
no_license
cash2one/python-1
12687097b9c1f8dcc28aa3ae261d7f29dee9856a
a978fa3f611273620d7eb4b45df872c7fe3de6d0
refs/heads/master
2020-02-26T17:03:06.869925
2013-11-22T11:02:14
2013-11-22T11:02:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,911
py
# ********************************************************************** # # Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. # # This copy of Ice is licensed to you under the terms described in the # ICE_LICENSE file included in this distribution. # # ***********************************************************...
[ "weizijun1989@gmail.com" ]
weizijun1989@gmail.com
93a1f05c08ea21f959912453a64c9da033ab05d2
ffb3ecaa2c56ac87f2bedb762d0e385305a8c722
/pkmn/damage_range.py
7026a994ff28cd921a8047fed606cfbaf2cae468
[]
no_license
MoneyHypeMike/Pokemon-SpeedrunTools
1bc79444ae8f6955c605f2272e03919cf2c98077
268e7bc77a3d5ddd7fc6111002a65c8cf5c37156
refs/heads/master
2020-05-18T15:27:22.762665
2014-12-27T02:24:22
2014-12-27T02:24:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,563
py
from math import ceil import damage5 import formulas import movedex import pokemon import speciedex def atk_damage_range(filename, gen, name, gender, level, nature, ability, hp, atk, Def, spatk, spdef, spd): output_file = "DamageRange_Atk_{}_{}_{}_{}_{}_{}_{}_{}.csv".format(name, nature, hp, atk, Def, spatk, spdef...
[ "thepap@hotmail.com" ]
thepap@hotmail.com
1bd7ecb873e652e34954eea2f0ad69785d748f1e
2db0a61beb3f7b1c2d65f8e3694985cbd8d2de3a
/tarch.py
2df0ddea4b142998a10c149b326dce6f11235031
[]
no_license
kamou/poseidon
093323cee464ec7f158d973e8060535fb85ee71b
094f2ac4f8c12de6e4658e4723d943706ca2d34c
refs/heads/master
2022-04-10T18:54:02.906446
2020-03-06T00:37:49
2020-03-06T00:37:49
223,223,690
0
0
null
null
null
null
UTF-8
Python
false
false
12,229
py
import triton from texceptions import * from tcc import * import keystone class X86Cdecl(CallingConvention): def __init__(self, arch): self.arch = arch def get_func_arg(self, n): offset = n*self.arch.psize + self.arch.psize value = self.arch.tc.getConcreteMemoryValue(triton.MemoryAcces...
[ "kamou.k@gmail.com" ]
kamou.k@gmail.com
372c0a5bf62df64d0962abad6fd583321f129e17
ebf9a2a442dc3710129fb73ae432d1050098b01c
/joint_motion_server.py
56243d5d9ff8e8010bcfdb730e649e67e904a8ad
[]
no_license
iskandersauma/stomp-chomp
f8f4bcf55946287e029ddfbe2186b637d6dd56df
22b228350e80dcba2baa438e9c1199fb2a6ac44d
refs/heads/master
2022-07-31T20:18:46.100687
2020-05-24T17:40:59
2020-05-24T17:40:59
266,592,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
#! /usr/bin/env python import rospy import actionlib import asp_tools.msg from asp_tools.srv import MoveJoints from abstract_motion_server import AbstractMotionServer class JointMotionAction(AbstractMotionServer): def __init__(self, name): super(JointMotionAction, self).__init__(name) def _init_serve...
[ "noreply@github.com" ]
iskandersauma.noreply@github.com
70e545ac170d761713d00f1976876cde10b88210
c6a69fb99ecf609404201a63d33d339162eb400b
/脚本/压缩包解压套娃.py
36c0226152a077e4cfd8fc4eb3e96995d15a4946
[]
no_license
npfs06/CTF-Tools
519e7f51c3fde64027519f370bf9204a34abfb86
2334b715ad849bdf2f48d2b6225990062c8e2aa3
refs/heads/main
2023-07-05T02:37:19.265394
2021-08-25T01:13:58
2021-08-25T01:13:58
399,643,092
2
0
null
null
null
null
UTF-8
Python
false
false
266
py
import zipfile def lalala(zipname): while True: passwd = zipname.split(".")[0] zf = zipfile.ZipFile(zipname,'r') zf.extractall(pwd=passwd.encode()) zipname = zf.namelist()[0] zf.close() lalala("hW1ES89jF.tar.gz")
[ "noreply@github.com" ]
npfs06.noreply@github.com
c1f7f5a8fdcb8e87bf303027ecd2d3053561bdfd
abb64b652cf908aaa17257464a12395b014b6093
/test/test_quantized_nn_mods.py
7203fb371c6255be2b47c7441de524a677698d85
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
beifangfazhanlu/pytorch
8a1c5a4a11b29da26af4d3839aff0ca22e4a298a
b7d992eb46a1e085d2b8b7f0df9817bf569616d3
refs/heads/master
2020-07-13T15:43:26.647301
2019-08-29T05:18:56
2019-08-29T05:20:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,424
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import torch import torch.nn.quantized as nnq import torch.nn.quantized.dynamic as nnqd import torch.nn._intrinsic.quantized as nnq_fused import torch.nn.quantized.functi...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
73c31b39270f334f0ce304cf2fe7d9b0dde94306
b87b602775b04c6bd018cbac63f6c032276949c9
/Python/Self Studies/WebPenetrationPython/http-codes.py
f27273c26f472254cc374b299bce023c7e258417
[]
no_license
smiroshnikov/Java-Python-Studies-2016
098430ce6b158af7dbbdbe7ff42482036db3f9de
334205279b4c3979ec252d4c65ee85c7ce79d71f
refs/heads/master
2021-01-11T05:43:12.236304
2016-11-21T15:26:00
2016-11-21T15:26:00
71,373,407
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
# Will be useful for any interview # 1XX - Informational # 2XX - Success # 3XX - Redirection # 4XX - Client-side error # 5XX - Server-side error import requests url_invalid = 'http://httpbin.org/failhtml' url_valid = 'http://httpbin.org/html' url_redirect = 'http://httpbin.org/redirect-to' payload = {'url': "http://bi...
[ "sergeim.qa@gmail.com" ]
sergeim.qa@gmail.com
11e34cc411e5ccc24b9c4a13af103857fd8ab486
0c4bb8541efc25343a58a9df9717e20ccbb6dc5c
/polls/models.py
9c182e229b6f5b28a8fa9a2ed7612ab94e71b111
[]
no_license
MarcinKruzewski/mydjango
eb970c5fd6fb9bf0702c94aaaf0a591bb8e87c00
8327934b5db0ed4048129d2522320162bbda3055
refs/heads/master
2021-01-10T16:18:59.142559
2016-01-08T20:16:08
2016-01-08T20:16:08
49,285,448
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
from __future__ import unicode_literals import datetime from django.db import models from django.utils import timezone class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text ...
[ "m.kruzewski@outlook.com" ]
m.kruzewski@outlook.com
f564385e2b1523b166f2fa4e8d7d7697af9a8f8f
b86ac85d4aad9974b70619eaaea993d7722c5443
/ecommerce/api/serializers.py
2d24d81d64dd9a87c3ced749c7da9817bbec16fb
[]
no_license
abn93/fpftech-api
493892a7dbe23c683dafb09d16621516219649a0
4dbc0a9abff6352472b729203f64d2a19b16742a
refs/heads/master
2023-06-19T18:41:16.745437
2021-07-08T19:01:28
2021-07-08T19:01:28
382,482,502
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from rest_framework import serializers from produtos import models class ProdutoSerializer(serializers.ModelSerializer): class Meta: model = models.Produto fields = ['id', 'nome', 'marca', 'categoria', 'preco']
[ "alexbrito-10@hotmail.com" ]
alexbrito-10@hotmail.com
51277d3ffd256cbd4cdca9c05caf2490c0becfec
34c32858ddcaef504aa7495eb716ebf8e98d4ebe
/optical_flow/MF_Tracker.py
b9eb03adc2204c831d59b082240032d55812a9a7
[ "Apache-2.0" ]
permissive
whjzsy/SiamTrackers
7a6a0c7be36386614395dbbc7dcdc7235cd41d51
88e0f801405ca9b36fcc3e23d296455872ba37d2
refs/heads/master
2022-11-05T03:56:06.361932
2020-06-16T07:53:40
2020-06-16T07:53:40
272,852,303
3
0
Apache-2.0
2020-06-17T01:44:51
2020-06-17T01:44:50
null
UTF-8
Python
false
false
5,244
py
#!/home/ubuntu/anaconda3/bin python # -*- coding:utf-8 -*- # -*- coding: utf-8 -*- """ MedianFlow sandbox Usage: medianflow.py SOURCE Options: SOURCE INT: camera, STR: video file """ from __future__ import print_function from __future__ import division from docopt import docopt from os.path import abspath, exi...
[ "DrownFish19@outlook.com" ]
DrownFish19@outlook.com
2cfa60fa7eb34f071242927549751cfed75fc724
b4c789816d9aa0c0068cd4458b3faf6d52143901
/blackfynn/cli/bf_upload.py
d3633250c1da97ed1967d775ead28251215054d4
[ "Apache-2.0" ]
permissive
intrepidlemon/blackfynn-python
21a7c2a84e6d19720dd766259c2c1e159f60d77d
05501f818276474e0fa08b283bc3312101ef8d4e
refs/heads/master
2021-05-05T11:16:52.504076
2018-02-01T16:40:23
2018-02-01T16:40:23
118,154,254
0
0
null
2018-01-19T17:09:31
2018-01-19T17:09:31
null
UTF-8
Python
false
false
1,029
py
''' usage: bf upload [options] [--to=destination] <file>... global options: -h --help Show help --dataset=<dataset> Use specified dataset (instead of your current working dataset) --profile=<name> Use specified profile (instead of default) ''' from docopt import docopt from cli_...
[ "ludflu@gmail.com" ]
ludflu@gmail.com
74c3487b1ce6284d456f24c7a822e7f5b042c1b0
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp83_0.py
55e6471489d774a44032f55978e0c9af8a653f9c
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,894
py
ITEM: TIMESTEP 0 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 3.3480991349454570e-01 4.6865190086497961e+01 3.3480991349454570e-01 4.6865190086497961e+01 3.3480991349454570e-01 4.6865190086497961e+01 ITEM: ATOMS id type xs ys zs 8 1 0.130808 0.0685954 0.067749 35 1 0.0615812 0.131941 0.0620756 130 1 0.0673745 0...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
e089d72ea17ae3c6b7cb2cde2f8f3c0371686fa6
fe88aaeba451b4ff38e23fbc04f7f7a339e54aff
/usb.py
867d1f4dca9cb6f7ead1451c9af93f3df6b9d2fc
[]
no_license
sudocn/python
d5a6903f2deb09974b96f6b476e5ccb753aa15ef
c2313f19e630ebc1bb7729cbd6b248723ca3dd11
refs/heads/master
2021-07-09T13:13:34.312731
2021-04-19T09:07:09
2021-04-19T09:07:09
5,881,345
0
0
null
null
null
null
UTF-8
Python
false
false
5,947
py
from __future__ import print_function import os, sys UNIT = 83 # 83us, one bit HALF_UNIT = 42 USB_PID = [ [[0,0,1,1,1,1,0,0], "PRE "], [[0,1,0,0,1,0,1,1], "ACK "], [[0,1,0,1,1,0,1,0], "NAK "], [[0,1,1,1,1,0,0,0], "STALL "], [[1,0,0,0,0,1,1,1], "OUT "], [[1,0,0,1,0,1,1,0], "IN "], [[1,0,1,0,0,1,0,1], "SOF...
[ "pengcheng.cn@gmail.com" ]
pengcheng.cn@gmail.com
5011edd540e59266a4dab322eeabf74f75d8df9e
76db1e651dba6c639e61a5c251583390ffd60b93
/kConcatenationMaxSum.py
8098b05eaf3abe2b55ad64af0efd551a19fee2d5
[]
no_license
keenouter/leetcode
58127ece6d4f76a4e80a00ec564ee46143d72232
ebb485d7fdb9c3df9669ecf94315ebc0a836977f
refs/heads/master
2022-04-24T06:56:27.982291
2020-04-30T06:34:10
2020-04-30T06:34:10
260,130,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
class Solution: def kConcatenationMaxSum(self, arr, k): # max_index=0 # max_child_sum=0 # arr_sum=0 # temp=0 # min_sum=0 # max_sum=0 # for i in range(len(arr)): # arr_sum+=arr[i] # if temp>0: # if temp>max_chi...
[ "noreply@github.com" ]
keenouter.noreply@github.com
e5aabdd20579220da7313ebbf46eb97315da75b0
3825126997a40c42f56765d9c0dae2047e8b7297
/energy/tests/test_period.py
e889e34520937a338db106b829bab7885acf41a5
[]
no_license
kirill1990/kalugaenergo
34a87aec7104b8caef7b6b803ffa78f72e2f33f6
393e3cbcd6dcb78fb489408c8f94365e52606b89
refs/heads/master
2021-01-10T08:25:26.100346
2016-02-26T12:52:18
2016-02-26T12:52:18
47,502,152
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
# coding: utf8 from django.test import TestCase from energy.models import Period __author__ = 'Demyanov Kirill' class PeriodTest(TestCase): fixtures = ['energy_fixtures.json'] def setUp(self): self.periods = {x: Period.objects.get(pk=x) for x in range(1, 13)} def test_count(self): """ Н...
[ "demyanov.kirill@gmail.com" ]
demyanov.kirill@gmail.com
09923eb66bd4f369d5c1ce927235126256150d99
5ec0468b7e12d4b12cbfe99e0659db6c049802a3
/cs50_python_js/python/loops.py
382119f7006aff9c636002aed842985efc412146
[]
no_license
orellanachn/cs50
4b86bfa3ef777583cad30ae5efebacfc1b7de864
22fdbca070d8ff786c9cf0daf5a26967a882fb7d
refs/heads/master
2020-12-04T23:03:32.355545
2020-01-06T01:57:54
2020-01-06T01:57:54
231,929,493
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
for i in range(5): print(f"item number {i}")
[ "orellanachn@gmail.com" ]
orellanachn@gmail.com
b9feff22b1ab5d0e0c53c87c88ac128c1c29ab1a
9a8787995e418a96209908c2804533802fc3e465
/run.py
f6bcbe2026e5b577082471e55333606ed06ec48c
[ "MIT" ]
permissive
BuildWeek-ft-airbnb-6/airbnb-plotly-dash-app
166a0d539e6ebc92e038f270e4da585fb244ab4f
4ad98c1016427ee4b6edf03ba2bc51114a66765b
refs/heads/main
2023-04-18T02:31:32.943437
2021-05-01T01:45:04
2021-05-01T01:45:04
370,393,378
0
3
MIT
2021-05-24T15:08:12
2021-05-24T15:08:11
null
UTF-8
Python
false
false
2,770
py
# Imports from 3rd party libraries import dash import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output # Imports from this application from app import app, server from pages import index, predictions # Navbar docs: http...
[ "ericyeonpark@gmail.com" ]
ericyeonpark@gmail.com
9cd50b1e4b2cea56a81f0057f7a4137c0153622c
39a8bb0bcbca9a9e25705decead580602dbcfd2b
/meraki_cisco_parser.py
9b945c602780e21342c7524f27ddcc68efaa9c2d
[]
no_license
NickVK9/Cisco-Meraki-Selenium-project
1e1fa829d763564d7c60cc2830bcef9392946a30
59fe8ed7d69293d2df3d709dbc13efbed4a84c98
refs/heads/master
2020-11-28T08:42:16.639710
2019-12-25T06:41:37
2019-12-25T06:41:37
229,759,425
0
2
null
null
null
null
UTF-8
Python
false
false
4,012
py
from selenium import webdriver import csv from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.action_chains import ActionChains import time LOGIN = "neenahkeith@gmail.com" PASSWORD = "Plussix@88" LINK = "https://account.meraki.com/secure/login/dashboard_login" # PLEASE, PUT YOUR PATH TO CHR...
[ "noreply@github.com" ]
NickVK9.noreply@github.com
96d88c62609176236a61db5677dfd5dbff8a2f77
c2fc8f1d065375c7e7148daf9701c706ee2c02b3
/labmodel/migrations/0008_processinstance_only_walkup.py
22ef261e54757d03f1fd9d62f5a25c4a9a3496ff
[]
no_license
mmehta25/myriadwetlabmodel1
b20f41cc60b3e2ad1b5a4843abbac782cbd6322d
d8309d39df795841f7fa110cf71416de595bb8b5
refs/heads/master
2023-07-04T03:19:42.788020
2021-08-10T17:20:26
2021-08-10T17:20:26
375,168,782
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# Generated by Django 3.2.4 on 2021-08-06 20:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('labmodel', '0007_alter_labanalysis_failure_rate'), ] operations = [ migrations.AddField( model_name='processinstance', ...
[ "mmehta@myriad.com" ]
mmehta@myriad.com