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
4a2d2add573e706d72b9bc3d90e3c3c73e3e88b4
cc18d1effafd9690c1af7a4fb9beb148e0d8259a
/Buchalka/lessons1_7/blocks.py
5419a77cee017a2f3876e09960635e42a04795e9
[]
no_license
MikhaylovD/StudyPython
b59d10ee78c2fc59b125322ae816f8913f664eda
bd076cb2fc31d8f22f9382337714f87370654db0
refs/heads/master
2022-07-04T17:41:57.787087
2020-05-22T15:32:32
2020-05-22T15:32:32
264,994,286
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
# for i in range(1, 13): # print(("no. {} squared is {} and cubed is {:4}".format(i, i ** 2, i ** 3))) # print("*" * 80) name = input("Please enter Name") age = int(input("How ols are you, {0}?".format(name))) print(age) if age >= 18: print("You are old enough") else: print("Please come back in {0}"....
[ "dmikhailov.work@gmail.com" ]
dmikhailov.work@gmail.com
d82608719f616130383431c5c7b8da3c7fefe854
25b5f5a6c9c95ef9a1264eef12384003f037cb58
/monocle/utils.py
26ac476b91830b6e40735beedcba8749474b6c9f
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
RobTwoThree/Monocle-Level30
7dbe76ead87e489faff6ef68d267fbc3610d953e
94ed6e121ad41b437083bf207954c34ff8f312f9
refs/heads/master
2022-11-22T06:17:51.203216
2017-12-07T22:11:52
2017-12-07T22:11:52
113,503,725
1
1
MIT
2020-07-22T03:56:03
2017-12-07T22:12:23
Python
UTF-8
Python
false
false
7,811
py
import socket from os import mkdir from os.path import join, exists from sys import platform from asyncio import sleep from math import sqrt from uuid import uuid4 from enum import Enum from csv import DictReader from cyrandom import choice, shuffle, uniform from time import time from pickle import dump as pickle_dump...
[ "rsayson31@gmail.com" ]
rsayson31@gmail.com
15d76288a158fb406c934e877e28b724e096ea6a
2a3743ced45bd79826dcdc55f304da049f627f1b
/venv/lib/python3.7/site-packages/bokeh/application/handlers/tests/test_server_lifecycle.py
c4b0619bfa46433fa3e209e51acb9a553214d2ba
[ "MIT" ]
permissive
Dimasik007/Deribit_funding_rate_indicator
12cc8cd7c0be564d6e34d9eae91940c62492ae2a
3251602ae5249069489834f9afb57b11ff37750e
refs/heads/master
2023-05-26T10:14:20.395939
2019-08-03T11:35:51
2019-08-03T11:35:51
198,705,946
5
3
MIT
2023-05-22T22:29:24
2019-07-24T20:32:19
Python
UTF-8
Python
false
false
7,392
py
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
[ "dmitriy00vn@gmail.com" ]
dmitriy00vn@gmail.com
aa056842a14f7ec88f0be84f980e6eaf7910d417
a59a3335ceb27b807e9a8eeb95932c72eac214ac
/apps/brew/management/commands/migrate_recipe_slug_url.py
44f985493b6391cf3e22de75ca1ec936abd86063
[ "Beerware" ]
permissive
egaillot/zython
ef2a413f90323ed9f3e6c131913548eb0e0c9142
cf7ebcdb5265012d9e2b9c0652befe33b3bb6fe0
refs/heads/main
2023-03-24T02:36:33.281166
2022-07-05T08:42:44
2022-07-05T08:42:44
193,670,642
0
0
NOASSERTION
2022-09-24T12:58:40
2019-06-25T08:50:22
Python
UTF-8
Python
false
false
287
py
from django.core.management.base import BaseCommand from brew.models import Recipe class Command(BaseCommand): def handle(self, *args, **options): for r in Recipe.objects.filter(slug_url__isnull=True): r.update_slug_url(force_update=False) print(r)
[ "martyn.clement@gmail.com" ]
martyn.clement@gmail.com
169cbdda02836d71d1a791e7092f32511df9991b
cbf171e1389face074a32a7bd08e5421a36c866d
/app.py
ef2989abbbbd3f8e7a25a457d79a0750b27953ac
[]
no_license
abbeycite/Automated-Teller-Machine-ATM-Application
6a13cc60a2423db8a6beb07d1171f5c859b17de1
4620436bf64c404687fe9a08beaf06a836540667
refs/heads/main
2023-08-28T07:18:04.488428
2021-10-25T14:09:12
2021-10-25T14:09:12
410,758,739
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
from banking_pkg import account def atm_menu(name): print("") print(" === Automated Teller Machine === ") print("User: " + name) print("------------------------------------------") print("| 1. Balance | 2. Deposit |") print("-----------------------------...
[ "noreply@github.com" ]
abbeycite.noreply@github.com
8d8f375d036af0267ad6d48a1fdff3989fe6abb9
bcb01c7a08debdfdbff9c3036219658262ee8c1b
/src/Planners/XTREE/methods1.py
77ec787cdf15a6fc6501085df9cfeffe9363c63b
[ "MIT" ]
permissive
rahlk/RAAT
ce4989bb9c8582f4ba090c220af6dde000829159
d022231f61437ac43b22f1e133216d62f1883c4b
refs/heads/master
2020-04-06T07:02:12.588202
2016-08-19T00:46:59
2016-08-19T00:47:01
37,782,349
0
1
null
null
null
null
UTF-8
Python
false
false
2,717
py
#! /Users/rkrsn/anaconda/bin/python from pdb import set_trace from os import environ, getcwd from os import walk from os.path import expanduser from pdb import set_trace import sys # Update PYTHONPATH HOME = expanduser('~') axe = HOME + '/git/axe/axe/' # AXE pystat = HOME + '/git/pystats/' # PySTAT cwd =...
[ "i.m.ralk@gmail.com" ]
i.m.ralk@gmail.com
7ca8e2675038c589bfcabe68370250d28b3176e2
eb191a4eb16c5f1753c13bfd5b0b8a6b1e7d23f1
/Session 3 - Conditional Statements part 2/05_grocery_strore.py
6d1783985253f626ee7eb3d41b67bed062e3f792
[ "MIT" ]
permissive
solomonsh/Crack-the-Code
efadb130d584522e073a2dde2f4cc41722a0faad
5eee7f59292315c724dd173f321bb95925c3023e
refs/heads/main
2023-09-04T09:46:29.477958
2021-10-13T10:45:59
2021-10-13T10:45:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
product = input() city = input() amount = float(input()) price = 0 if city == "Sofia": if product == "coffee": price = 0.50 * amount elif product == "water": price = 0.80 * amount elif product == "beer": price = 1.20 * amount elif product == "sweets": pric...
[ "elenaborrisova@gmail.com" ]
elenaborrisova@gmail.com
93516a79d6bfc2469eb4eab27939c086e8fd0b1e
fc82bf6ad91053c37bc954d99e9791b09bb1708b
/test_case/test_05_send_record.py
98b64753f9ab7a88705f7872473a0b0be7c2dd09
[]
no_license
ddy88958620/enterprise3.1-ver2.0
0cc840684895a6ab0a9eed0c06cfca47e04f19c9
1c18f8cf8dd947cf7fcfb008d8f3065b6998d4cc
refs/heads/master
2023-03-12T20:55:17.885893
2021-03-02T09:31:38
2021-03-02T09:31:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
import unittest from pages.page_05_send_record import sendRecord_page from pages.login_page import LoginPage from commons.log import log from BeautifulReport import BeautifulReport from commons.driver_setup import * import os # @unittest.skip("先跳过") class SeacrchBysender(unittest.TestCase): @classmethod def s...
[ "781707715@qq.com" ]
781707715@qq.com
649ea16733eebc56eb6e0780b6c68434cb05bcf2
16cb8cc18d92d4018f9ee3044565cf22d4daef70
/Lab4/Corrections/Python/exercise1.py
773a0549f8c5d6762b043b02ef4db65b314206bb
[]
no_license
zx-joe/Computational-Motor-Control-for-Salamandar-Robot
c13ac105d73b283ac86c00a00a7b25b28e3713af
c66d23fb8365e4b12263bb4115a30d708d42dbb2
refs/heads/master
2022-12-12T12:23:57.573980
2020-09-08T09:05:28
2020-09-08T09:05:28
256,481,679
1
0
null
null
null
null
UTF-8
Python
false
false
9,579
py
""" Lab 4 """ import matplotlib.pyplot as plt import numpy as np import farms_pylog as pylog from cmcpack import DEFAULT, integrate, integrate_multiple, parse_args from pendulum_system import PendulumSystem from system_animation import SystemAnimation from system_parameters import PendulumParameters DEFAULT["label"]...
[ "xiao.zhou@epfl.ch" ]
xiao.zhou@epfl.ch
9b0dfb5017741e39c3117616edb348cc76e2ff43
3ef524fbe4f299fa5f2702bf3b421b9e5e548b90
/Problem 25.py
7ca64eb15dacb84a5eb19486af2591ea15d05289
[]
no_license
PSpeiser/ProjectEuler
87e95cac98f7811a15ca2bb1c925dd595d8a7c43
b846c172bd12b4400e200d28886a6af7bec2dcf0
refs/heads/master
2021-01-01T18:55:01.121820
2014-04-03T14:37:35
2014-04-03T14:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
cache = {1:1,2:1} def fibonacci(n): if n not in cache: cache[n] = cache[n-1] + cache[n-2] return cache[n] i = 1 while True: n = fibonacci(i) if len(str(n)) >= 1000: print "Term F%s ; Value %s" % (i,n) break i += 1
[ "mail@patrickspeiser.at" ]
mail@patrickspeiser.at
7e192c0c89b5bce331375946602582924e4e4432
37ac0b28befbbd822f3020e1b748114977f0acf9
/bankapp/utilities/konstants.py
e0d8b57126197f1629748cf9e321f6d92fbdb5df
[]
no_license
Akhilrajns/emaps
1b0e4d9933268def6f0a5500b09163a02a6c0cbd
cf5ffafffcbb2cd0d8703668fc87cb56ae47535e
refs/heads/master
2021-01-01T04:13:55.441433
2017-08-04T02:48:02
2017-08-04T02:48:02
97,145,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
INPUT_DATE_FORMAT = ["%m/%d/%Y"] OUTPUT_DATE_FORMAT = "%m/%d/%Y" class K: def __init__(self, label=None, **kwargs): assert(len(kwargs) == 1) for k, v in kwargs.items(): self.id = k self.v = v self.label = label or self.id class Konstants: def __init__(self, *a...
[ "akhilrajns@gmail.com" ]
akhilrajns@gmail.com
5b8c65264124e112089b9594ca36afdf4ff2d6e9
fbc7f98003b6b04447b89055e988015985c54b29
/crm/urls.py
6ff043a8d9cf28a781a38ca65df9be90aeeec478
[]
no_license
GuillaumeLambermont/django-crm
33f215590f2cce7065b9350a61981b6bc8927a5f
46eb2df1f481cb5119203c6d05d771aa6b0cbebc
refs/heads/main
2023-06-28T17:11:05.546850
2021-08-03T10:53:09
2021-08-03T10:53:09
392,279,580
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
"""crm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "guillaume.lambermont@gmail.com" ]
guillaume.lambermont@gmail.com
842f9af822f0189540b1496ff74ae039be3ba8f8
d9b75a25299b5686070021444c936cd5a23f3fe2
/main.py
69da713da0b6199bea37f96867f068f48be8f13d
[]
no_license
DBM1/DM-Assignment
effe3c57fcc77ccf600f92d373c41af5c69473e8
934ceea5961f66919854c0b4e37e61edca98f0c1
refs/heads/main
2023-02-02T14:37:30.982072
2020-12-19T07:44:52
2020-12-19T07:44:52
314,745,520
0
0
null
null
null
null
UTF-8
Python
false
false
5,403
py
import numpy as np import pandas as pd from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer from sklearn.decomposition import TruncatedSVD from sklearn.preprocessing import StandardScaler import torch import time from transformers import AutoTokenizer, AutoModel CATEGORY = 'CATEGORY' TEXT = 'T...
[ "fu809250829@gmail.com" ]
fu809250829@gmail.com
40d940fd55b5ed7bdbf11c42809e914d77778457
0da0a5a42705d60cf0dcac016d3a80156e4c9ec6
/euler007/euler007_2.py
b989aa26db53a83126f11e997a4eb6a58ea72c3a
[ "MIT" ]
permissive
jcpince/hackerrank-euler
27d623a0cccd96848f9ed9bd25ed6d983f23e773
2d54c06be9037d3182db400f5f64564ab6b41103
refs/heads/master
2021-01-19T04:07:43.006416
2018-02-25T22:35:39
2018-02-25T22:35:39
84,428,151
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
#!/bin/python3 import time from math import sqrt count = 0 def get_prime(primes, N): global count if N < len(primes): return primes[N-1] candidate = primes[-1] while len(primes) != N: candidate += 2 count += 1 if count == 5: count = 0 candidate +...
[ "jcpince@gmail.com" ]
jcpince@gmail.com
9672473b428541ed9dc1e3485053ff317c767e5a
8f8f49e86a61e4e926817774d6028831aecd5807
/multi_label/n_test.py
06a55f58eec3398808394a854e500275241f9b2f
[ "MIT" ]
permissive
MinxZ/multi_label
5ee533411e28a3488642089ee8a2667bcf7ab963
aed67d4bb4102962eb73b996288aa56983589858
refs/heads/master
2020-03-17T23:15:04.897950
2019-12-10T10:10:19
2019-12-10T10:10:19
134,036,966
0
0
null
null
null
null
UTF-8
Python
false
false
3,001
py
from __future__ import absolute_import, division, print_function import json import multiprocessing as mp import random import cv2 import keras import numpy as np import pandas as pd import tensorflow as tf from keras.applications import * from keras.applications.inception_v3 import preprocess_input from keras.callba...
[ "z670172581@icloud.com" ]
z670172581@icloud.com
a818895c3c81014a591dda8ea7fe96523ca622d7
a214a6ed7cb48c50cbdd842a914932103a974b2d
/main_app/urls.py
a334136e607497e63440a13bf8c6440b580cee27
[]
no_license
ajelleny/finch-collector-lab
b1df311fcabed220b9fa8036aa7345934afd113a
25967eb023ed1d47bf30ec351d060f6297abcfa0
refs/heads/main
2023-03-18T18:20:12.787459
2021-03-14T23:00:01
2021-03-14T23:00:01
347,227,882
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name="home"), path('about/', views.about, name="about"), path('dogs/', views.dogs_index, name="index"), path('dogs/new', views.dogs_new, name="new"), path('dogs/<int:dog_id>/', views.dogs_detail, name='detail'), ...
[ "ajelleny@gmail.com" ]
ajelleny@gmail.com
15249287706f2ca19f8758e7e53d8c5c4817c827
c632e6ba36598f34e6336d1cb5e2411c1e571da8
/flag-collection/grader.py
127b0dc85d06593c8a17650729b889ed9597d5d5
[]
no_license
adbforlife/easyctf-2017-problems
0f7e229d884d6d66c3d0ae1226e2e2e1826d4c17
c19872a88080845fa4c5ac51a45ddaffbf40690b
refs/heads/master
2021-01-22T23:34:09.525637
2017-03-21T03:30:53
2017-03-21T03:30:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
def grade(autogen, answer): if answer.find("thumbs.db_c4n_b3_useful") != -1: return True, "wowie! thumbs up" return False, "Nope, try again."
[ "failed.down@gmail.com" ]
failed.down@gmail.com
a494085136d697cdfd1ab4f26e32bdbebaff6ee5
3843a7a3f9e296ae37aa4be8eed2a18f89a32769
/tweeter_crawler/factory/TwitterCrawler.py
40cb41331660b26a0ad6ac4c3dbd551791979928
[]
no_license
mahdi00021/Twitter_and_Locations_gis
c22420dd3c3f170b3e1fee95e2bcf9473f0539bc
c77a58a368c4c8973f6706697f5477ede3f7e7bf
refs/heads/master
2023-01-28T15:57:17.170633
2020-12-06T20:53:04
2020-12-06T20:53:04
318,503,822
3
0
null
null
null
null
UTF-8
Python
false
false
4,874
py
import json from datetime import datetime from MainPy.settings import PROXY_URL from OrmMongodbRepository.OrmRepository import OrmRepository from ThraedsAndQueue.DoWorkTwitter import DoWorkTwitter from tools.Tools import Tools from tweeter_crawler.factory.IFactorySocial import IFactorySocial import time import tweepy ...
[ "m73hdi@gmail.com" ]
m73hdi@gmail.com
93f5cafc50ef7f705e3b7621d9771df6063ac54b
0254a7f4da96e59a589dd7152243ade04307018e
/apps/grubaker2/tags/V5/grubaker
5584c1d5db6bbed20953b4b6f0c114f8855464f1
[]
no_license
Https-github-com-sulaeman51/guadalinex-v7
6a51583b82582a48bf8be2046f56fdcd4e8f90aa
2c50315620caa727d427a9bb67c2d1e39245bb3a
refs/heads/master
2023-04-07T21:59:09.200620
2021-04-16T14:11:46
2021-04-16T14:11:46
356,053,724
1
0
null
2021-04-16T14:11:47
2021-04-08T21:34:04
Python
UTF-8
Python
false
false
15,607
#!/usr/bin/python # -*- coding: iso-8859-1 -*- # grubaker 1.1.0 # author: Alfonso E.M. alfonso@el-magnifico.org # date: 15/Apr/2006 # last update: 24/Mar/2008 by Alfonso E.M. # Patches by JuanJe Ojeda import re import pygtk pygtk.require ('2.0') import gtk import gtk.glade import os,commands,sys import getopt # DEBI...
[ "rcmorano@7a7f4aa0-ec84-47cc-a100-2f2ca1a7a0cd" ]
rcmorano@7a7f4aa0-ec84-47cc-a100-2f2ca1a7a0cd
1893c23dc0fac32cfd537f5db991abb5770d3226
3f7a392a6c256e1e40abd46a2fb229b789870962
/WebBooks/manage.py
78da798fe8c8256222ff5fd15e6e5dafad865152
[]
no_license
APostolit/django_world_book
e8133717349b3b94cf6330b6747612e6e032a181
3e6cc7aae8b882f51867cb4260a556ec6de067b9
refs/heads/master
2022-12-13T05:04:30.983804
2020-09-02T15:30:57
2020-09-02T15:30:57
290,755,694
2
1
null
null
null
null
UTF-8
Python
false
false
628
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WebBooks.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "anat_post@mail.ru" ]
anat_post@mail.ru
83bfd6ba23b22af36d0ed922b2512865f6aca56d
193f048d639eb0e6f33c4ca4e55008b791443989
/Python/text/entity_matcher.py
257be477ba24e10c9598585366d755f65f11599a
[ "MIT" ]
permissive
neuromusic/rst-napari
39b13e9249135d67217518a96bb386e28740761e
332b9be4d4c8509032a4141db3348f7cbee45935
refs/heads/master
2023-08-29T06:17:43.982709
2021-11-09T17:10:54
2021-11-09T17:10:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,656
py
""" High level API into EntityMatcher """ from abc import ABCMeta, abstractmethod import dataclasses from enum import Enum import json import os from typing import Any, Dict, List, NamedTuple, Optional, Sequence, Set, Tuple, Union import unicodedata import regex from utils.misc import PersistentObject, timed_exec ...
[ "smohan@chanzuckerberg.com" ]
smohan@chanzuckerberg.com
ae79642ca69ae2a0cea3a89bf48d01ce72cb2367
76da6e4cf87a52338e7012eaeb43d05b967f9cb4
/bench_fastcall_slots.py
33125258a3e5987cd4c0c810b0e6443bbbe6e01e
[ "MIT" ]
permissive
moreati/pymicrobench
0a02634ef71d6864f933170c8de819cb1829b972
97e43ffd14aaffe27f2e9b82e34a5939d5284d3b
refs/heads/master
2020-03-08T07:30:17.376632
2017-11-21T23:58:58
2017-11-21T23:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
#!/usr/bin/env python3 """ Benchmark Python "slots". http://bugs.python.org/issue28915 http://bugs.python.org/issue29507 Created at 2016-12-09 by Victor Stinner. """ import perf class Obj: def __int__(self): return 5 def __getitem__(self, key): return 6 obj = Obj() if int(obj) != 5: ...
[ "vstinner@redhat.com" ]
vstinner@redhat.com
b2fb30f6ac89b8ec65ad048ee9d1a838eda90b71
af94c7b38aaed5f2ebb93f1afbc21f4a6407413d
/decision_tree_dmw.py
d21a36039081e8d4e00748e7d42ba4e64aa3c605
[]
no_license
Drax9299/ML
f2b442f67c4f95889a9676bd0087d599fbfb4f6e
36889bc9e07b139ec8896edaa922c623de9bc57a
refs/heads/master
2020-07-30T22:10:44.802472
2019-10-06T12:01:35
2019-10-06T12:01:35
210,376,916
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeClassifier from sklearn.metrics import classification_report,confusion_matrix import matplotlib as m print("---------Started---------") #Importing data dataset = pd.read_csv("heart.csv") pr...
[ "vivek.labhade25@outlook.com" ]
vivek.labhade25@outlook.com
aceac660c31af02baed4e4b199d4e4a2fa42a8c1
a648a238c18626ac2d2924ba73d876a5e3b58069
/.env/bin/jupyter-troubleshoot
c9e2c42af58f9db387e23ff7c8cb3dc746b5751a
[]
no_license
iFocusing/Digit_Recognition
0d68e3171d0ae4a1de6aaa098fb8bdb152ba7f6c
f863b9df935f18c366c64bdfa2b32ee2a7d70dc9
refs/heads/master
2020-03-21T07:27:45.053556
2018-06-27T05:05:07
2018-06-27T05:05:07
138,281,351
0
0
null
null
null
null
UTF-8
Python
false
false
289
#!/Users/huojingjing/Documents/Python/Kaggle/Digit_Recognition/.env/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_core.troubleshoot import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "huo841022920@163.com" ]
huo841022920@163.com
bb175060d7b79efae6a98bb40f786a658a390bb2
2519f2094e61b91bbf3bab2a1f138a41b74cae51
/develop.py
f7cc19267d618226fea9dbbc766f3d07cc911c60
[]
no_license
bihe0832/Android-appium
0a453dc0864403f9fbe730cf85fc52bb9d2d0b5c
7f1e21e5df0d95cb68acac4ed31070148c1ea540
refs/heads/master
2021-01-06T22:57:14.003694
2020-03-02T05:36:15
2020-03-02T05:36:15
241,506,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,830
py
from appium import webdriver from time import ctime from selenium.webdriver.support.ui import WebDriverWait import sys import multiprocessing sys.path.append(r'./zixie/') sys.path.append(r'./common/') sys.path.append(r'./appium/') sys.path.append(r'./const/') from const import * import utils import zixie_main import...
[ "code@bihe0832.com" ]
code@bihe0832.com
b62d75ef9c18ec265d5f0863cbcf6073f29b0eb9
f5a4c46bd60d719bd9b6d20604a7c22dc1d7da23
/Iterate_nested_dicts.py
513ebfb57dd88b8eb09840e64cb61b496f61dc6c
[]
no_license
jmg5219/Python_Dictionaries
d4e4fdf022f860c214a8f4091e651dfc93470cc5
9c475b39fce6070691bc3e97839ff478705da729
refs/heads/master
2022-11-29T16:33:51.622382
2020-08-03T17:57:51
2020-08-03T17:57:51
283,870,690
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
D = {'emp1': {'name': 'Bob', 'job': 'Mgr'}, 'emp2': {'name': 'Kim', 'job': 'Dev'}, 'emp3': {'name': 'Sam', 'job': 'Dev'}} for id, info in D.items(): print("\nEmployee ID:", id) for key in info: #for every value print the key print(key + ':', info[key]) # Prints Employee ID: emp1 # nam...
[ "gokhale.jaidev@gmail.com" ]
gokhale.jaidev@gmail.com
e326fd2aae176f67972dc11d050d6262025b96ad
cc9df1a140ce671e4e76a7748363f82d993bdcad
/app/crawler/mongo_writer.py
5f73a531435e208e72302b3aa42a84b4ff207bbb
[]
no_license
shagunsodhani/news-crawler
23b9caf037b6ca46dc7317cac8217f7c7ffaedba
6d665f50dbac22fd6d8dd47d214dc6f0640ec375
refs/heads/master
2020-06-01T07:55:23.486447
2017-12-31T10:49:53
2017-12-31T10:49:53
42,307,149
2
1
null
null
null
null
UTF-8
Python
false
false
2,232
py
#! /usr/bin/python import __init__ import newspaper # from newspaper import source from mq import redis_queue from database import mongo import hashlib import json import time from newspaper.article import Article class MongoWriter(object): """Crawler class prepares a news source and writes it into the redis mq"...
[ "sshagunsodhani@gmail.com" ]
sshagunsodhani@gmail.com
7435faffd97a47ab6c7c625bb8707eddcae67725
3675b2b06cc212f8c0820217be0406e895e351aa
/audio_files/test_recognition.py
226555044c0ff674bb466ee66916179922855bf4
[]
no_license
pannapat/slu-spring-2019-iot
2a38c139ba158547f6e504423b57b7d4b8346a10
7d8e3b32834827e2c3f2e6d2eaac0f69a3f459b6
refs/heads/master
2020-05-04T12:30:08.569653
2019-05-13T21:19:08
2019-05-13T21:19:08
179,123,988
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
#!/usr/bin/python3 import speech_recognition as sr v_command = '' def test_harvard(): harvard = sr.AudioFile('harvard.wav') with harvard as source: audio = r.record(source) try: v_command = r.recognize_sphinx(audio, keyword_entries=[('forward',1.0),('backward',1.0),('left',1.0),('r...
[ "ch.pannapat@gmail.com" ]
ch.pannapat@gmail.com
8f61b9f702953ec2d7a99e6df760299e434cec36
5f482fecee9923e041d43e5a7e079ad7c3c0daee
/bobsite/bobsite/urls.py
4a626e370eca6107fa057cf46fb88970ccd8c9fb
[]
no_license
bkwiencien/bob-site
a1ebb4163a692182be44bea3ecf06f5dc89a5616
be41f45ce250478040c871c35990e4f3aca67fe2
refs/heads/master
2020-03-24T21:04:03.054034
2018-08-31T13:42:53
2018-08-31T13:42:53
143,012,054
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
"""bobsite 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') Class-based...
[ "bkwiencien@gmail.com" ]
bkwiencien@gmail.com
2d53487a772e75d490b7a4410e2cc3a1f94aebf5
84dc79a560d164c65ec6c6ab400a229fdfc76c65
/point12.py
f30bd28903c143131f58255ec92b69c39a6700df
[]
no_license
GabrieleMazzola/Modeling-data-analysis-complex-networks_TUDelft
182ed8515681e1fab10cd77b41547135fa8534b1
78fb768e8d427f94c43a55d5f680c1950ea6a6ec
refs/heads/master
2020-04-28T09:01:31.845336
2019-03-12T12:43:01
2019-03-12T12:43:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
import matplotlib.pyplot as plt import networkx as nx from util import load_network, load_infection_ranking, build_graph_from_dataset, compute_ranking graph_dataset = load_network('./data/network.json') infect_ranking = load_infection_ranking("./data/ranking.json") graph, unique_nodes = build_graph_from_dataset(grap...
[ "gabriele.mazzola@techedgegroup.com" ]
gabriele.mazzola@techedgegroup.com
824feba713fbc872c9088b87bfa32216bdc4dae7
c28aac1c46e22d4f4caa3c98a3b8ec8bb4ad93da
/session 5/Homework/Exercise 2.py
ab02f445fd556f3ed671675dba768cf2af476c8d
[]
no_license
TrungNguyen1996/TrungNguyen-fundamental-c4e15
55777663e5f30120caca20c7ff95a4700642f915
9be3815ef3defef17d46d23a05fd6a29dacbd278
refs/heads/master
2021-05-11T13:02:05.196920
2018-01-29T15:44:03
2018-01-29T15:44:03
117,670,384
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
<<<<<<< HEAD # Exercise 2 # Write a program to count number occurrences in a list, with AND without using count() function # # Example: #!/usr/bin/python3 # aList = [123, 'xyz', 'zara', 'abc', 123]; # # print ("Count for 123 : ", aList.count(123)) # print ("Count for zara : ", aList.count('zara')) numbers = [1,6,8,...
[ "nguyentrungnguyen@github.com" ]
nguyentrungnguyen@github.com
e0c60cea4c15a098db9bc2d5adf8053c24c7e12a
09fd2a42a931e3e094af9fc5ec6eb57dc9d42660
/addismap/mapvis/parser_POST.py
988445c2d45a4aaa4d10896cf6796a635ec1660f
[]
no_license
yohannes15/AddisMap
78df24404b1934f5327297efe13f220485f76de5
3bcafccd985e92cd1d894b9535c747bf4c42fd4c
refs/heads/master
2022-11-24T18:01:53.027070
2020-08-03T22:46:10
2020-08-03T22:46:10
271,413,519
4
0
null
null
null
null
UTF-8
Python
false
false
666
py
def get_float(request, id): value = request.POST.get(id) # Check that it's possible to convert input to float. try: return float(value) except (TypeError, ValueError): return None def get_str(request, id): return request.POST.get(id) class POST_parser: def __init__(self, requ...
[ "y.berhane56@gmail.com" ]
y.berhane56@gmail.com
3e4f4fcb1d3215ba8390a9c937dfd9d0f1e369f1
18767e5e01a822bd8ef94befa4a4d7e5e0c301a4
/mysql/m1.py
c6770c2c851710ad8371b1e09298a8eb97ca5d14
[]
no_license
lovekobe13001400/pystudy
67671bf9c2651a571b017f227ef5dea67ccc90f2
cfd03cab2834f351ffc17cf8c92649c55919d03e
refs/heads/master
2020-03-26T08:05:32.028221
2018-09-19T15:06:10
2018-09-19T15:06:10
144,685,458
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
import MySQLdb conn=MySQLdb.connect(host='localhost',port=3306,db='test',user='root',passwd='root',charset='utf8') cs1=conn.cursor() count=cs1.execute("insert into student(name) values('张良')") print(count) conn.commit() cs1.close() conn.close()
[ "15267607479@163.com" ]
15267607479@163.com
24f5be7423109579e89342bc1cdf88ad13a29183
34eb285795baac91373a8a223e0bc5a9ec619f25
/website_bridetobe/models/sale_rental.py
28eecd845762243b6046d403521740b5283b12be
[]
no_license
JpGarciiia964/custom_addons
acc43a86ecb679ff4c39aab4c8dce3cfd311e5ed
d864da263a2daf9d3910a50117767692ace1b760
refs/heads/master
2020-07-01T19:31:11.881884
2018-09-05T14:36:43
2018-09-05T14:36:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,269
py
# -*- coding: utf-8 -*- from odoo import models, fields, api from datetime import datetime, timedelta from odoo.exceptions import Warning import logging from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT, DEFAULT_SERVER_DATE_FORMAT from dateutil.relativedelta import relativedelta _logger = logging.getLogger(__name_...
[ "jgam310@gmail.com" ]
jgam310@gmail.com
3ab8947751d32cd4eac01bdc44bb5678241e993c
1179adfd0137f9f1190c47975059bfd4a6f15c37
/subtitle_analysis/subtitle_analysis.py
957357e9d0b81a986d13bc4d86e26fdf2b5202e5
[]
no_license
wangbichao/get_http
f74748a8e5af855e91918fb15fb2d69820013802
d59fc549073d8665a931ce24bd7eb4a73c4cb98d
refs/heads/master
2021-07-09T01:30:50.850731
2019-04-12T08:47:01
2019-04-12T08:47:01
147,137,430
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
import io import sys import re # Change the default encoding of standard output sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf8') shooter01_01 = open("Shooter01_01.txt", "r+", encoding='utf8') new_shooter01_01 = open("new_shooter01_01.txt", "w+", encoding='utf8') line_num = 0 dialogue_switch__AB = Fa...
[ "bichao@amd.com" ]
bichao@amd.com
d9b4c61e255061adf5319fc25e66056ef0423fda
98371e7846c75c6ea0e54789e72b151e1a9fd12f
/geojson_tv1.py
ae4d57d192edc45985abe2a38eabf54ae05410f6
[]
no_license
ThomasVanV/Using-python-to-access-web-data
6efe38be0e0f16d1026aa1ecfb78f1a1d7ca3726
e6ddbd29a8fc1377444b79ad18bcbd76c1b9b141
refs/heads/master
2020-04-02T21:39:26.715856
2018-10-29T07:53:43
2018-10-29T07:53:43
154,805,761
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import urllib.request, urllib.parse, urllib.error import json serviceurl = 'http://python-data.dr-chuck.net/geojson?' while True: address = input('Enter location: ') if len(address) < 1 : break url = serviceurl + urllib.parse.urlencode({'sensor':'false', 'address': address}) print('Retrieving', url) ...
[ "noreply@github.com" ]
ThomasVanV.noreply@github.com
bde7c731dee4c8b057ef4b71c3421bc04de773f5
54a709b4a88633cd75efc7c86819e112b5bd85f2
/linear-regression/lin-reg-closed-tf.py
464699c79b731a4041f1e4f69c212c5a8d98e3c7
[]
no_license
sayeedm/python-ml-snippets
d50c20a5f59cea5a8ca89ed7ad444731a6f25c22
19ee14582f1ee275b618e6d9e9d2043dff7569ed
refs/heads/master
2020-12-02T21:01:15.663948
2017-09-22T20:21:14
2017-09-22T20:21:14
96,245,215
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
''' linear regression closed form on TensorFlow using the equation theta = (XT.X)^-1.XT.y Author: SayeedM Date: 03-07-2014 ''' import tensorflow as tf import numpy as np # lets say we train a naive system to calculate y = 4x - 1 # we will generate a bunch of randoms as training data X = np.random.ra...
[ "dmbterminal@gmail.com" ]
dmbterminal@gmail.com
3d8556493072bf6b1ae3f07336174f88855674f6
66f727956d81ee2543e73c60d8b25fa466ce6cca
/query_samples.py
504d3ae6ee99096bd8c91a00833dc7b6b8921e0b
[]
no_license
cgi0911/VarOpt-Python
c772fb985d6b84b7a3713833285c670ef3a46ddb
fd96192e7ec8761354a1c6e193f0e6b2d5e8b8ba
refs/heads/master
2021-01-01T18:57:34.792274
2015-10-19T20:14:51
2015-10-19T20:14:51
98,470,772
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
#!/usr/bin/python import pyvaropt as pv import os #DATA_DIR = "/home/users/cgi0911/Results/Waikato_5/fcast" DATA_DIR = "/home/users/cgi0911/Results/Waikato_5/temp/20150928-181751/fcast" FN_PREF = "./test_data/prefix_all.txt" QUERY_DIR = "/home/users/cgi0911/Results/Waikato_5/temp/20150928-181751/queried" ...
[ "cgi0911@gmail.com" ]
cgi0911@gmail.com
c0e908289b12dd7c4ab598ea5302491c7de51e83
e641bd95bff4a447e25235c265a58df8e7e57c84
/third_party/blink/renderer/core/frame/DEPS
3ebe612468a80bd1bb6fd4db4f8fc0e811136ff6
[ "LGPL-2.0-only", "BSD-2-Clause", "LGPL-2.1-only", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-only", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause" ]
permissive
zaourzag/chromium
e50cb6553b4f30e42f452e666885d511f53604da
2370de33e232b282bd45faa084e5a8660cb396ed
refs/heads/master
2023-01-02T08:48:14.707555
2020-11-13T13:47:30
2020-11-13T13:47:30
312,600,463
0
0
BSD-3-Clause
2022-12-23T17:01:30
2020-11-13T14:39:10
null
UTF-8
Python
false
false
1,497
specific_include_rules = { "ad_tracker_test\.cc": [ "+base/run_loop.h", ], "coop_access_violation_report_body\.cc": [ "+services/network/public/cpp/cross_origin_opener_policy.h" ], "frame_view\.cc": [ "+ui/gfx/transform.h" ], "frame_test_helpers\.h": [ "+components/viz/common/surfaces/fram...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
41e0ac65a19c61f5c27725bd18edd7b3503c705c
9c6839009b7c881e3d6a319564b6bf9bc50aaba1
/cookbook/eight/2CustomeStringFormat.py
4ea747858e0e06fa70f5c4197ccf8add05f8fb39
[]
no_license
dalq/python-cookbook
d28cb05aaf54e4d2c6056a2ff6d0c8027997460f
7bcd0c68e26269772123887ce8589b7f9db0bd3f
refs/heads/master
2020-03-26T17:43:56.960886
2019-08-11T07:11:21
2019-08-11T07:11:21
145,177,094
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
# 自定义字符串的输出格式 _formats = { 'ymd': '{d.year}-{d.month}-{d.day}', 'mdy': '{d.month}/{d.day}/{d.year}', 'dmy': '{d.day}/{d.month}/{d.year}' } class Date: def __int__(self, year, month, day): self.year = year self.month = month self.day = day def __format__(self, code): ...
[ "quandaling@gmail.com" ]
quandaling@gmail.com
6d402d404dc360d68adc568ba48352122326ec36
f201636c1e686025eef88cfa3516692759b24ba6
/holamundoversionfinal.py
506821ee28696ec53a83b985a36e6a3d693b872a
[]
no_license
Aletuno/First-repository
7a607ef3c2b6c066f2c44531c6a7d8e8449764bd
907b99131a669dd6689c20b1b8d58534576ff7e9
refs/heads/main
2023-01-03T11:55:13.188513
2020-10-30T20:05:24
2020-10-30T20:05:24
308,724,294
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
print("Hello World: by louie Zong") print("https://www.youtube.com/watch?v=Yw6u6YkTgQ4") #https://www.youtube.com/watch?v=Yw6u6YkTgQ4
[ "aletuno4@gmail.com" ]
aletuno4@gmail.com
9d47de3d85c732d6d29bf3ae2ded68541a8b7bbb
6ad891474002c0daf6e81209dd56ab416c76787c
/src/roles/mystic.py
690a839c79aa3d9d486dfc674e1d648027e61096
[ "BSD-2-Clause" ]
permissive
Trigonoculus/lykos
4dcdf0ee0b802bcc0f49b47ad75fb257d189e9f4
41f70d484fd4b94ce41f9e04126a1c069ef7bfd4
refs/heads/master
2021-01-13T10:17:15.391288
2016-12-04T12:21:12
2016-12-04T12:21:12
69,026,505
0
0
null
2016-09-23T13:19:12
2016-09-23T13:19:11
null
UTF-8
Python
false
false
3,961
py
import re import random import src.settings as var from src.utilities import * from src import debuglog, errlog, plog from src.decorators import cmd, event_listener from src.messages import messages from src.events import Event @event_listener("exchange_roles") def on_exchange(evt, cli, var, actor, nick, actor_role, ...
[ "skizzerz@skizzerz.net" ]
skizzerz@skizzerz.net
8553ea60f9ad816df14ca4ab84a39e5cf7f27d29
78cb6dadc7599e01b078682b175f21be673ed199
/280. Wiggle Sort.py
07113c587c92c66ec9fb649114905f64aa229656
[]
no_license
AlexWufan/leetcode-python
5cf5f13dbc7d1e425fde646df618e50c488fa79f
435323a9fcea6a4d09266785e88fb78735e0cc3e
refs/heads/master
2021-01-13T00:49:49.870468
2018-04-13T18:44:19
2018-04-13T18:44:19
51,347,271
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
class Solution(object): def wiggleSort(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ for i in range(len(nums)): if i%2 == 0 and i!= 0: if nums[i-1]<nums[i]: nums[i-...
[ "mengnanszw@gmail.com" ]
mengnanszw@gmail.com
0f1403e8e6732527eb879a89b591a69d618133c6
e103ffda9e1117131f4fdc40a41982685a3337e0
/api_server/models/position.py
007254002f7be4bd3e91ee564db550aa1d46a78a
[]
no_license
DanDondoDan/api-server
b98d6b75d4f9200ef043309b06b766a5158be15e
213fcb366c9a123cd7582b53484ea392d1d34cf9
refs/heads/master
2022-12-11T03:19:56.668757
2019-01-10T13:05:51
2019-01-10T13:05:51
163,408,619
0
0
null
2022-12-08T01:30:14
2018-12-28T12:34:09
Python
UTF-8
Python
false
false
391
py
from django.db import models from api_server.models.base import BaseModel from mptt.models import MPTTModel, TreeForeignKey class Position(BaseModel): position = models.CharField(max_length=100) def __str__(self): return "{}".format( self.position, ) class Meta: ...
[ "Generalovboris@outlook.com" ]
Generalovboris@outlook.com
40eb97d0e2f477411a169ea538f6c11efdf605c4
03df0f43682babd0f0854335d11b06a55eee71b0
/FlaskProjectDirtory/venv/Scripts/pip3.7-script.py
a08ce0a7e333488ea7cb3da4bd5a69ec25dc5fd6
[]
no_license
wutanghua/FlaskProjectDirtory
6fe6ea5d8587397dbe526aaaea32b61276314d90
5b8a0a271281fb38754cf5532041ff70adb0c8fc
refs/heads/master
2022-12-13T21:55:37.494949
2019-08-16T08:02:58
2019-08-16T08:02:58
202,684,506
0
0
null
2022-12-04T07:42:34
2019-08-16T07:56:19
Python
IBM852
Python
false
false
433
py
#!D:\flask¤ţ─┐\FlaskProject\FlaskProjectDirtory\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __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)?$', '...
[ "laobian@qq.com" ]
laobian@qq.com
aaacbc79d93759102b3f14f8a2595923bd4bbe06
d7567ee75e48bd7872a1c332d471ff3ce7433cb9
/checkout/models.py
070faddd0612dfd9d231967eb047e598e676e6f3
[]
no_license
sarahbarron/ecommerce
30cd0ff26afa5ec9031165b63ecde8c0f7f6086f
aba5370fd731e7ec9e677041504f6c3457b0d405
refs/heads/master
2020-03-17T21:10:56.385918
2020-01-17T18:35:28
2020-01-17T18:35:28
133,947,336
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
from django.db import models from products.models import Product # Create your models here. class Order(models.Model): full_name = models.CharField(max_length=50, blank=False) phone_number = models.CharField(max_length=20, blank=False) country = models.CharField(max_length=40, blank=False) postcode = ...
[ "sarahflavin@yahoo.com" ]
sarahflavin@yahoo.com
ae9defd446ca602d48fbafb507b7f935c143f78d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02594/s365888995.py
c25ce71edd6248ddeb38aa7051d7f1b71c695d64
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
import sys from collections import defaultdict readline = sys.stdin.buffer.readline #sys.setrecursionlimit(10**8) def geta(fn=lambda s: s.decode()): return map(fn, readline().split()) def gete(fn=lambda s: s.decode()): return fn(readline().rstrip()) def main(): x = gete(int) print('Yes' if x >= 3...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9b5093119d2fd2bedb7f2eda8be2eaf14580a416
26ffd142a69f0e3a4107218166c66862932b8ef1
/adaptors/dbclient.py
ddaacc1131cdc3a033c7d95beef241f5e1615d2d
[]
no_license
valis1/largeset
b79f01dbffcd01bb1ea47414fe4e968e9dbf778a
c0be62d150bea3c2c7570373d65776ffb3703f17
refs/heads/master
2022-02-22T18:42:11.786223
2019-10-14T18:52:56
2019-10-14T18:52:56
197,887,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
import os from pymongo import MongoClient from bson.objectid import ObjectId from bson.errors import InvalidId """ Adaptor for mongoDB adaptors. MONGODB_URI must be in environ variables Where: - Fields property - returns list of dicts with possible data types for generator >>>client = DbClient() >>>len(client.fields) ...
[ "valis.source@gmail.com" ]
valis.source@gmail.com
aa8edfc5caec0ad5914c1a0e58f5351232961905
b225c349d571a42bb3cc8df5f12ecf8fcb665753
/pandas_ext/px_csv.py
463a0b423acc84874c858f754abbdc33f5323f47
[ "MIT" ]
permissive
newsela/pandas_ext
e49492bb403cbf1ccadc751c7203635e501d4dbd
18b5c36c5928f9e022a2a05c34b3642484891488
refs/heads/master
2021-03-24T09:55:39.016772
2020-03-23T14:34:02
2020-03-23T14:34:02
119,059,085
4
1
MIT
2020-03-23T14:34:04
2018-01-26T14:11:31
Python
UTF-8
Python
false
false
437
py
import pandas as pd import s3fs from pandas_ext.common.utils import is_s3_path def to_csv(df: pd.DataFrame, path: str, **kwargs) -> None: """Given a df, write it to s3 if necessary.""" if is_s3_path(path): bytes_to_write = df.to_csv(None, **kwargs).encode() s3 = s3fs.S3FileSystem() w...
[ "richard.fernandez.nyc@gmail.com" ]
richard.fernandez.nyc@gmail.com
eb48bff33e08b8e4046218fb983b9f4a91ef0882
6bc991e3db089dca9ac7a5716f2114017029c6a3
/sppas/sppas/src/ui/phoenix/page_annotate/__init__.py
0d80bd489dd88f8354d2245390cbfc9aa22aae86
[ "MIT", "GFDL-1.1-or-later", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
mirfan899/MTTS
8b32924754cf399147293d7e314b7fcb134f3f77
3167b65f576abcc27a8767d24c274a04712bd948
refs/heads/master
2020-06-11T20:59:03.788965
2019-10-09T12:34:02
2019-10-09T12:34:02
194,083,206
0
0
MIT
2019-06-27T11:30:30
2019-06-27T11:30:30
null
UTF-8
Python
false
false
81
py
from .annotate import sppasAnnotatePanel __all__ = ( "sppasAnnotatePanel" )
[ "virtuoso.irfan@gmail.com" ]
virtuoso.irfan@gmail.com
6a5a6ebeb3d54206f47bd0b26776b40db7ac9dfe
265de7d8b2c817f3e8d9fed18bad8e1727b11b01
/阅读笔记6/test.py
71a229c110a018f445e6ac70fc6af31f5207f23c
[]
no_license
CallMeSp/PaperNotes
72eb773736b5054b4a2d15b1597a1ee6255879b2
7cc6c07ef891e356abb8fa4dbfbf6b2824a34eff
refs/heads/master
2020-06-09T19:29:16.665037
2019-09-16T09:29:58
2019-09-16T09:29:58
193,493,010
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
import tensorflow as tf import torch as th import numpy as np import tfpyth session = tf.Session() def get_torch_function(): a = tf.placeholder(tf.float32, name='a') b = tf.placeholder(tf.float32, name='b') c = 3 * a + 4 * b * b f = tfpyth.torch_from_tensorflow(session, [a, b], c).apply return f...
[ "995199235@qq.com" ]
995199235@qq.com
9f920f4c54efc0e855d31869b66744c094fef4ff
cc2d5f036850f0b8f155493e57f464f2d04fc1e2
/learning_journal/tests.py
ca560472ed28dafacfca2b16ec1a9cd43fbf212b
[ "MIT" ]
permissive
midfies/lj
822b31354403a13dff5613995f47eb7487dc9dcd
12c5aa6a7391760f0bfd4588a4eafaf8e48b3dc8
refs/heads/master
2021-01-13T02:53:55.580359
2017-01-09T02:16:44
2017-01-09T02:16:44
77,096,450
0
1
null
2017-02-06T06:46:27
2016-12-22T00:30:48
Python
UTF-8
Python
false
false
16,504
py
"""Tests for the learning journal web app.""" import pytest import transaction import datetime from pyramid import testing from pyramid.config import Configurator from learning_journal.models import ( Entry, get_tm_session, ) from learning_journal.models.meta import Base TEST_ENTRIES = [ {'title': "Test...
[ "midfies@gmail.com" ]
midfies@gmail.com
34d334f36d279ab35367bf2e31511b72558b5dc3
474cc39a11e0d9f523dee954b810d21945fdf911
/evaluate.py
0e5bc06639c7b238aa720be87c79f67719d98570
[]
no_license
xuekunnan/yolox-pytorch
282f2f0e5ddfe441cc1616649ad6a95468dc9e39
8afa4044d7de1045ba472335ff04b5fcd80e75fa
refs/heads/main
2023-06-26T09:39:27.612740
2021-07-29T15:56:01
2021-07-29T15:56:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
# -*- coding: utf-8 -*- # @Time : 2021/7/24 21:50 # @Author : MingZhang # @Email : zm19921120@126.com import os import cv2 import tqdm import json import pycocotools.coco as coco_ from pycocotools.cocoeval import COCOeval from config import opt from utils.util import NpEncoder from models.yolox im...
[ "zhangming8@github.com" ]
zhangming8@github.com
37849c164ec97219cdcf44e7a9250015d014c2ec
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_drywall.py
b8938919b462b1e1f96d516e7786d744ec22293d
[ "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
441
py
#calss header class _DRYWALL(): def __init__(self,): self.name = "DRYWALL" self.definitions = [u'material consisting of two sheets of heavy paper with a layer of plaster between them, used to make walls and ceilings before putting on a top layer of plaster'] self.parents = [] self.childen = [] self.prope...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dcb1530702b0dab3146bcbeb210b74f2625770f0
c15f7f1266b8994a7606c1e0507c06fbb54209ac
/simulation.py
306abed8d3921658b1b0ebe40c1f5314674a1f2c
[]
no_license
rchenmit/monkeypunch
d11923f8bfba756068163f9ba709aa755a4fbe53
dd1ba721277cfd2a296e0249fddb699f96716edc
refs/heads/master
2020-05-18T06:12:13.022928
2015-01-31T02:52:52
2015-01-31T02:52:52
30,047,504
0
1
null
null
null
null
UTF-8
Python
false
false
12,050
py
# main driver for the simulation import car import numpy as np import random import heapq def pick_whether_theres_a_car_coming(): rand_number = random.random() if rand_number < 0.1: return True else: return False def pick_which_car(list_of_cars): random_index = random.randint(0, l...
[ "robchen401@gmail.com" ]
robchen401@gmail.com
5246e373b20c81219c7a31c3cf863bfb674ffc4a
d8d8144ade3b53d54d47e9115723c9e330351916
/backend/Himalaya/receipts/migrations/0006_auto_20200819_1240.py
7e684c6da5ce80ce879dbbb436cb65d23e4df95f
[ "MIT" ]
permissive
djs2082/StoreManagement-Freelancing
28d70875651824a6ab310c68e1711142199e7797
11057cb4f155c0d36a8456c9ea3395b779516384
refs/heads/master
2023-07-20T09:12:50.718294
2020-08-23T14:54:28
2020-08-23T14:54:28
288,665,134
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
# Generated by Django 3.0.5 on 2020-08-19 07:10 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('receipts', '0005_auto_20200819_1232'), ] operations = [ migrations.AlterField( model_name='receipts', ...
[ "dilipjoshis98@gmail.com" ]
dilipjoshis98@gmail.com
a2077134075c8e3932875bae5656e38c94f5359f
ec365c4434b7cb2f564f251a313db89b48f0ea27
/June 11, 2021/2_입출력.py
43acc295502faf561f06de368d391f28ea6a8fff
[]
no_license
to-Remember/TIL
5c01bcc809f3e109c2fb4cac243c1adc37a9c18e
09fd07d22403376f21d6c9c0797c2568854d6fc1
refs/heads/main
2023-06-22T05:57:14.329912
2021-07-13T13:46:20
2021-07-13T13:46:20
375,398,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
''' 오픈모드 (r,w,a-읽기,쓰기,이어쓰기) ''' import os import sys def stdTest(): msg = sys.stdin.readline(10) sys.stdout.write('msg:'+msg+'\n') sys.stderr.write('에러 메시지 출력\n') sys.stderr.write('에러 메시지 출력\n') def fileRead(path): try: f = open(path, 'r', encoding='utf-8') x = f.read() #파일읽기. 파일에...
[ "rosa134212k@gmail.com" ]
rosa134212k@gmail.com
9e178eb38e5268548a9a7625ad43128ebe87025e
d297251c2eae0b93f362af83344c26e08225fd0e
/Fabrica_de_helado.py
8ec76bd126ee167ede6516ac3027505bb3f24fd8
[ "Apache-2.0" ]
permissive
ddelgadoc/fabrica-programacion-lineal-python
80e3992e427b691b41aff3ac33b3ea1756044b03
255dbaf5af00ca21082df5f9ecd95a38490b0661
refs/heads/master
2022-11-29T16:27:33.056207
2020-06-29T09:39:37
2020-06-29T09:39:37
275,133,848
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
# -*- coding: utf-8 -*- """ @author: deyli """ from pulp import * ##Conjuntos Sabor = ["V","F","CH","Valmendra"] #V:Vainilla,F:Fresa,CH:Chocolate,Valmendra:vainilla con almendra Tam = ["P","M","G"] #P:pequeño,M:mediano,G:grande Maq =["1","2"] #Máquinas del tratamiento de helado Material = [] #1-leche,2-Azucar,3-ag...
[ "67110680+ddelgadoc@users.noreply.github.com" ]
67110680+ddelgadoc@users.noreply.github.com
b81d2a2890c220468b8f4005a86e661d4f8d77a7
2e39344422c926fb8332e7e61b290a0935dd3931
/plox/parser.py
a4f15623b0df30aee794b45d561831a2a327120e
[]
no_license
ZibingZhang/interpreters
4c821ecc56db2cea58304bad345b702f83ec8cbb
b059e3424a6cb23da9994f1feae91787afe82199
refs/heads/master
2023-07-02T16:42:07.817827
2021-08-01T02:55:55
2021-08-01T02:55:55
317,454,187
0
0
null
null
null
null
UTF-8
Python
false
false
14,119
py
from __future__ import annotations from typing import TYPE_CHECKING import expr as ex import lox import stmt as st from tokens import TokenType if TYPE_CHECKING: from tokens import Token from typing import List, Optional class Parser: def __init__(self, tokens: List[Token]) -> None: self._tokens ...
[ "zibing.zha@gmail.com" ]
zibing.zha@gmail.com
73c8867f776b1cd578d7cf9c653f57c47bcb1a2f
5f2671c7f74494d53c07964d5425d6a95abd0a92
/Python/Practice/DjangoTest/mysite/myapp/forms.py
a35c0c105a86e59416b9e51b93e5fd40cdebbea5
[]
no_license
apoorvsemwal/Scale_Up
365f1771df06af3e29e205ca7c5ead592030161a
df2bb9222847462fa46063fff6f73503cdb877cd
refs/heads/master
2020-04-14T22:31:10.147286
2020-01-24T20:55:44
2020-01-24T20:55:44
164,165,845
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from django.forms import ModelForm from .models import Post class PostForm(ModelForm): class Meta: model = Post fields = ["title","text"]
[ "apoorv.semwal20@gmail.com" ]
apoorv.semwal20@gmail.com
16bdd891e034574e94de859f08013530b115bae1
18c024fca7237ad848ab815177d8e479e6ce758f
/2021-05-27_practic/task_8.py
f8e220602346a2618d25bb0fb9ba01bdeef0a04d
[]
no_license
smakotin/DU
7dc5b6f5ca0545f8442b874f9e5619795eebad83
4167f8bc74f040a02b914c04b29297847cbc751a
refs/heads/master
2023-05-19T03:52:06.359879
2021-06-08T18:34:21
2021-06-08T18:34:21
369,992,186
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# 8. * Написать программу выводящую разложение числа на простые множители a = int(input('Введите число: ')) result = [] div = 2 while a > 1: while a % div == 0: result.append(div) a /= div div += 1 print(f'Простые множители этого числа: {result}')
[ "slamfromm@gmail.com" ]
slamfromm@gmail.com
d46be8063d63e916dd972289c6dc22a0f13cd888
c0fdfa90a4338d1d986c0c37566f7a1a79da81ab
/LE.py
af2f40550df9c8d5d7fab693550ab30ecbf6a088
[ "MIT" ]
permissive
dogfaraway/Sci_Calc
8e9f00c76c6d433d467da399859ce0c86eaf8a95
2ec16369130c0d8ed83ff6eb4e78093f090f9687
refs/heads/master
2022-12-29T02:30:35.765229
2020-10-19T07:13:14
2020-10-19T07:13:14
301,761,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,681
py
#-*-coding:utf-8-*- ''' 多变量非线性方程求解 ''' from sympy import * import numpy as np np.set_printoptions(suppress=True) n = 20000#控制迭代次数 def Henon(x,y,n): for i in range(n): x1 = 1 - 1.4 * x ** 2 + y y1 = 0.3 * x x = x1 y = y1 return x,y def Jacobian(): count=0 a = 0.12345678...
[ "dogfaraway@hotmail.com" ]
dogfaraway@hotmail.com
c7e350c3f84a9ca602c401271313bc5761f70202
75bf394beeae3549ea4756624d32fb5435374369
/gol.10.py
219c147dcf9a2e64d3451721dd3530f7e52fdcc6
[]
no_license
zefyrrr/game_of_life
6b228cd9e4571533f372f8575765d5cf0dd14687
db563d82e00647d2b2dfdaa26e9d4dc180e57e0c
refs/heads/master
2020-03-30T18:41:11.492999
2014-05-17T23:11:53
2014-05-17T23:11:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
import random duplicate = 0 myList = [] for i in range(1000): myList.append([random.randint(0, 100),random.randint(0, 100)], 'unknown') orig_len = len(myList) # Returns 1 if adjacent # Returns -1 if duplicate # Returns 0 if neither def compare_adjacency(x,y): if x == y: # Duplicate ret...
[ "irshad@Irshad-Siddiqis-MacBook-Pro.local" ]
irshad@Irshad-Siddiqis-MacBook-Pro.local
4c96587dbc43eb524c55647522428a121fd21151
bc441bb06b8948288f110af63feda4e798f30225
/architecture_view_sdk/api/business/get_deploy_info_pb2.py
bb8aab22fdc244863c6b04a8f91f3bc970ff0ff0
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
15,062
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: get_deploy_info.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.prot...
[ "service@easyops.cn" ]
service@easyops.cn
83ec2d0d64d698f3cd08db3d2e3730943a793560
edf546fbad7d9dc9c60504363c61c0db2a1490ad
/scratchml/classification/__init__.py
519c81ae1aa7ca05dc46e38b2e618f1fb14e0fac
[ "MIT" ]
permissive
shreeviknesh/ScratchML
d552b4703612b7e134b728c323632eb138bd11e5
882190c0f5d79824bb3a184792daf4299c9ff518
refs/heads/master
2022-12-03T01:09:48.196544
2022-11-24T02:26:03
2022-11-24T02:26:03
255,577,981
2
1
MIT
2020-05-18T08:04:48
2020-04-14T10:25:11
Python
UTF-8
Python
false
false
92
py
from .LogisticRegression import LogisticRegression from .SVM import SVM from .KNN import KNN
[ "luckyboy1998@gmail.com" ]
luckyboy1998@gmail.com
21a2f8056a1f220b65b0bfb89760d533eb960bea
8966c06c151d2c87d926c7b89eaa927ceca651f9
/solution/Routes_tests.py
12e3d8edbd96cd1bff4bcd6505f6604fb009e803
[]
no_license
Rodriguevb/B-KUL-H01B6B-Methodiek_van_de_Informatica-Project201415
5dc25cff5b063cee63505fafb0f44cfb441ed62f
915b9562303dbef11d9db771dd3735932d473721
refs/heads/master
2021-01-10T21:25:08.977451
2015-05-02T11:54:59
2015-05-02T11:54:59
34,631,647
0
0
null
null
null
null
UTF-8
Python
false
false
9,269
py
from Routes import * from math import * """ Helper function for tests """ def float_equals(x,y,threshold=0.00000001): "Whether two floating point number are approximately equal, up to a threshold" return abs(x-y) < threshold print "TESTING ..." print "initializing network" # initialize network roads=(("...
[ "rodriguevb@gmail.com" ]
rodriguevb@gmail.com
fdeb9a7da4362e0cae6f29f5124a6e3724e7c036
1500eab2114141fcdd105eb1d87ec55e3cf39509
/booking/migrations/0001_initial.py
89d792f9a2bdebd01ca7349ef62665d9c77fabc1
[]
no_license
PraffulS/udaanBoxOffice
113d21e57242147fcb0866bf899a3281772393a6
f3f00a853158320141b5c558da9dde9c54b5b162
refs/heads/master
2022-12-08T05:41:58.064479
2020-09-06T12:46:41
2020-09-06T12:46:41
293,275,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
# Generated by Django 2.1.2 on 2018-10-14 10:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='screen', fields=[ ...
[ "praffulsolanki00@gmail.com" ]
praffulsolanki00@gmail.com
2db6670e8f3365a22d069c29d45a36415a913dd7
93f47ba04fc18c4e537f0a48fe6232e2a89a4d30
/examples/adspygoogle/dfp/v201403/inventory_service/get_top_level_ad_units.py
d4b698181effba62d933f5282e24be01a852d354
[ "Apache-2.0" ]
permissive
jasonshih/googleads-python-legacy-lib
c56dc52a1dab28b9de461fd5db0fcd6020b84a04
510fad41ecf986fe15258af64b90f99a96dc5548
refs/heads/master
2021-04-30T22:12:12.900275
2015-03-06T15:35:21
2015-03-06T15:35:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,398
py
#!/usr/bin/python # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "emeralddragon88@gmail.com" ]
emeralddragon88@gmail.com
2c764e0b4916bb57641d73e9a3508aa05e467e62
911fa448f645db3c14e87895608f8c74072b4a42
/AIRCANVAS/AIRCANVAS_final.py
010443075560d95da4d3c2c3815556abd860cc8e
[]
no_license
Ayush-Ranjan/Air-Canvas
0cf70da9dd6fa8c7557a9c8f58a1b8b30e007c57
656f9b800a23ee94c9c98ed398c6aac93096f624
refs/heads/master
2023-02-12T11:41:49.199247
2021-01-08T18:02:35
2021-01-08T18:02:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,718
py
import cv2 import numpy as np import copy import math import pygame #from appscript import app # Environment: # OS : Mac OS EL Capitan # python: 3.5 # opencv: 2.4.13 # parameters cap_region_x_begin=0.5 # start point/total width cap_region_y_end=0.8 # start point/total width threshold = 60 # BINARY threshold b...
[ "noreply@github.com" ]
Ayush-Ranjan.noreply@github.com
efbc28ab8a8b660f34073bfae14828e2728f4255
29ffe40a8d0b1cb132da970601973651d7d19991
/Working Code.py
52008433bdb855307d31b63161d6b9f0fd0fc566
[]
no_license
bbbilibili/Continuous-Attribute-Reduction
66e7256fc68b22b56c30e45aaaf8b5d5eb4a14a8
a02783c7884f58dfa5dce6b0c86d5d748ee8621b
refs/heads/master
2021-09-22T21:50:09.506144
2018-09-17T13:37:51
2018-09-17T13:37:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,460
py
import numpy as np import pandas as pd from sklearn.cluster import KMeans from sklearn import preprocessing import matplotlib.pyplot as plt class Wine: def __init__(self): self.df = pd.read_csv("winequality-red.csv") self.init_columns = self.df.columns self.labels=self.df["quality"] ...
[ "bhabesh@marax.in" ]
bhabesh@marax.in
e864669195a62b761c60d70c9bca59aea2d89030
e7ee60f24d3cc4ae9d5e525de586c7e313e4e727
/SquareFinder2/main.py
f1cfd53393e1a97c16b3e66cbdaebf346d7387b6
[]
no_license
alda-dhif17/SquareFinder
78ce570ab793147dd922e25af43ec2519caf6080
5e5048ae74bd54555146809ce4965fc9162e5c7b
refs/heads/master
2020-09-15T09:49:13.886597
2019-12-13T15:18:46
2019-12-13T15:18:46
223,414,891
0
0
null
null
null
null
UTF-8
Python
false
false
4,683
py
import sys from threading import Thread SPACING = 5 class Point(object): def __init__(self, x, y, n): self.x = x self.y = y self.n = n self.xx = [0, 0] self.xy = [0, 0] def discover_x(self, a, d, points): for x in range(self.x+d, -1 if d < ...
[ "monschein.matthias@gmail.com" ]
monschein.matthias@gmail.com
e7feb22d7bffaffcae9f0b1c5136da1fe347eec7
d7ab436f96bddc22e31380dbc82f9aee4ed8a5b4
/helpers.py
12916b46bfdbf8ec696ee71bf4ec1eecb5eea671
[]
no_license
micahwilliams23/kujua.github.io
cf428ad86fe467f903c2f64f7264d674d4cda664
d153024c530a4747a8b6105ebbc2742368b243b0
refs/heads/master
2020-12-08T06:34:20.090955
2020-01-10T01:18:45
2020-01-10T01:18:45
232,914,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
import os import csv from cs50 import SQL from datetime import datetime from flask import Flask, flash, jsonify, redirect, render_template, request, session from flask_session import Session from tempfile import mkdtemp from werkzeug.exceptions import default_exceptions, HTTPException, InternalServerError def results...
[ "micahwilliams@college.harvard.edu" ]
micahwilliams@college.harvard.edu
f97dca8f5e0fb7a8da13c6b18b3448f486aad28b
f96f9cfebb81b42b38e25b62345e5e16c476fbaf
/model/labyrinth.py
04c1dbecb4d4ab9e3799e5e9069f446d8f83babe
[]
no_license
Jerome-LorD/macP3var
bd0e6f9509f45e7179428c8df6d53b3af50a83fa
4be6ce2fa846814a9978949e1c7feea1970f8456
refs/heads/master
2023-01-11T23:38:59.343653
2020-11-12T17:34:59
2020-11-12T17:34:59
306,336,504
0
1
null
2022-01-25T01:11:32
2020-10-22T12:53:20
Python
UTF-8
Python
false
false
3,766
py
#! /usr/bin/python """labyrinth constructs and updates the game.""" import random from pathlib import Path from typing import List, Tuple from settings import ( WALL_CHAR, ROAD_CHAR, START_CHAR, FINISH_CHAR, POSSIBLE_ITEMS_CHAR, QUIT_APP, ) class Item: """Keeps the state of attributes.""...
[ "jerome-divry@laposte.net" ]
jerome-divry@laposte.net
66b7d03ad0d4fdfe1d74e051129b3bbe054270ea
fdbaf65ee80da06370c4148075148976f7ccc5d3
/trees/red_black.py
c52f9b336343e4d0014c6489cdf658fc6cd36d4f
[]
no_license
lharrison1224/interview-prep
27bd58a089bd4c535078456327a6f7193db08868
8bd211e73dff9c1aab2071005f5851df4d85c61e
refs/heads/master
2020-03-31T15:40:47.630647
2018-10-25T04:59:23
2018-10-25T04:59:23
152,346,641
0
0
null
null
null
null
UTF-8
Python
false
false
2,410
py
''' This module contains source code for the implementation of red-black trees. ''' class Node: def __init__(self, val): self.val = val self.left = None self.right = None self.color = "RED" def main(): root = rb_insert(None, 5) root = rb_insert(root, 7) root =...
[ "lkh6yb@mail.missouri.edu" ]
lkh6yb@mail.missouri.edu
bbdd13e737d269954a424c88cc5b08e966ca4d15
8cbea6ef2534bbc89839c65f1db363958cc5e4b3
/about/migrations/0009_auto_20230120_1456.py
81652bf53907a90b090ba11fb131c90005f58ce2
[ "MIT" ]
permissive
IATI/IATI-Standard-Website
4ca3d21d8a68470bfa1e55710175357bb7b9878f
4cf7be72b6b3d0c46dcadcc9d9904b471215ea81
refs/heads/master
2023-09-04T03:48:08.366656
2023-08-16T17:03:58
2023-08-16T17:03:58
124,079,425
4
8
MIT
2023-09-08T11:57:46
2018-03-06T13:05:08
HTML
UTF-8
Python
false
false
48,991
py
# Generated by Django 3.2.4 on 2023-01-20 14:56 from django.db import migrations import home.models import wagtail.blocks import wagtail.documents.blocks import wagtail.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('about', '0008_auto_20220804_1557'), ]...
[ "kaliithatmau@gmail.com" ]
kaliithatmau@gmail.com
6fc587d3afcd1c2e58c0f61a7ae2985f7a3a5f07
c03fd40b2ce926d4bcdf696d5f21b774624a8316
/python/advanced_python_regex.py
762d84f44f6b5307e849a0b8c86df6cf4bb0583c
[]
no_license
aliandra/dsp
0c249d3aec4b03d1d6c7cf247007d7c29bf537fe
5f6ff4026f7d8de025fa50ad08404743b6f0e31a
refs/heads/master
2020-06-14T12:09:04.019857
2017-01-08T05:33:51
2017-01-08T05:33:51
75,026,800
0
0
null
2016-11-29T00:31:38
2016-11-29T00:31:37
null
UTF-8
Python
false
false
1,420
py
import pandas as pd import re def read_data(): """ Reads in and cleans faculty.csv """ df = pd.read_csv('faculty.csv') df.columns = df.columns.str.strip() df.degree = df.degree.str.replace('.', '') df.degree = df.degree.str.strip() return df def freq_dict(x): """ creates dict...
[ "aphelan10@gmail.com" ]
aphelan10@gmail.com
3c5e3277a06b699f342f879089865f6fb4021409
8c77b8d3a710a2177217479b04366295343eb734
/config.py
863aabfc4c4074ee552d83289a12efa00d72cfff
[]
no_license
Modulus/MessageApplication
05c1711f30298d42ae241ba45051c7d85b31352b
9b3f1170ff67394a92a5123a056b5af4636c5e82
refs/heads/master
2021-01-21T12:40:51.035375
2014-11-11T12:57:03
2014-11-11T12:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
__author__ = 'johska' class ProdConfig(object): MONGODB_SETTINGS = {'db': 'MessageApplication', 'host': '127.0.0.1'} class TestConfig(object): MONGODB_SETTINGS = {'db': 'MessageApplicationTestBase', 'host': '127.0.0.1'}
[ "thejohnskauge@gmail.com" ]
thejohnskauge@gmail.com
6ca404e6ed23427b2ad7a3bd8160782cea06f66b
14bf5d09c14140d8e2a2da17284832350f51bff4
/src/level.py
9f3903479324b2a9a2967ad8cbc9c5f4a4b9f175
[ "MIT" ]
permissive
rubenwo/PythonGame
feac43d124469ba6e415bdbbac88727f1b9cb7fc
ce9c877906373de4a2abd619ab1bd90b7cf8f1f2
refs/heads/master
2022-07-21T11:22:28.357388
2020-05-23T11:04:47
2020-05-23T11:04:47
263,591,085
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
class Level(object): def __init__(self, file_source: object): pass def draw(self): pass def update(self): pass
[ "rwoldhui@avans.nl" ]
rwoldhui@avans.nl
cef8a96cc1a76b374d6247ba764bfe045f85508b
a9cfa392b546d762ab945ebe8b3375e273f67c0e
/hackerrank/easy/insertionsort2.py
89592c8621f136d8f72c8ae6a1cf81165037a6e0
[]
no_license
seandewar/challenge-solutions
041d6c678d07c751497b4f8ac9ae0c3a2fefa85e
ac6119427aef61d63f28c443c1cedaae8a38cf28
refs/heads/master
2023-08-15T02:58:08.654360
2023-08-04T22:07:12
2023-08-04T22:07:22
214,286,640
3
0
null
2023-02-04T11:40:28
2019-10-10T21:12:31
C++
UTF-8
Python
false
false
470
py
#!/usr/bin/env python3 # https://www.hackerrank.com/challenges/insertionsort2 def insertion_sort(arr): if len(arr) > 1: for i in range(1, len(arr)): k = arr[i] j = i while j > 0 and arr[j - 1] > k: arr[j] = arr[j - 1] j -= 1 ar...
[ "6256228+seandewar@users.noreply.github.com" ]
6256228+seandewar@users.noreply.github.com
62de7e54ed1b6d5bf53a602ab8f2e2f5fe578154
f176056bc541501366bf73e53bf99082480d31f1
/AUMachineLearning2017/handin2/src/cnn_model_solved.py
4b0d35866a329f184092293aade69a21704279fd
[]
no_license
paaskus/AU-projects
56050775100600ea88afeb49a8ff10e248e96e75
afc693a2a0a9bc2d1bbbd0c1fa8966622c38f4df
refs/heads/master
2020-04-03T23:17:32.853464
2018-10-31T22:01:18
2018-10-31T22:01:18
155,625,943
0
0
null
null
null
null
UTF-8
Python
false
false
12,546
py
import os import tensorflow as tf import numpy as np from model import Model as TfModel class Config(object): """Holds model hyperparams and data information. The config class is used to store various hyperparameters and dataset information parameters. Model objects are passed a Config() object at ins...
[ "bardurrunason@gmail.com" ]
bardurrunason@gmail.com
7caf8ad3692897ce958ca890f7431880621d2cc0
2161a65e68c0202cd0c5d19d38e6f33c6bc31756
/manage.py
e33607fae37631b9c9599d5b415f400529bd99a1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
ysguoqiang/zenith-monitor
6ea9897be3656f180dd43a1bbfb5a7dad5163360
79037d7372bf3ff499562fab351fc35433c6e2f5
refs/heads/master
2020-03-10T10:01:46.625165
2017-11-01T03:32:59
2017-11-01T03:32:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,357
py
# 作者:Forec # 最后修改日期:2016-12-24 # 邮箱:forec@bupt.edu.cn # 关于此文件:此文件为服务器的管理入口,注册了数据库初始化、shell控 # 制、测试等函数。 import os, time COV = None if os.environ.get('ZENITH_COVERAGE'): import coverage # 启动检测 COV = coverage.coverage(branch=True, include='app/*') COV.start() from app import create_app, db f...
[ "Forect@hotmail.com" ]
Forect@hotmail.com
7c58b4179641bab37a0bc6feca58da03bd1de647
8356d64ae87b2e916793ea6970ab4659e66fe272
/virtual/bin/alembic
6a73c33917e4c59c60f51123e4dd36fbee74ffae
[ "MIT" ]
permissive
stevekibe/personalblog
4c85e98675a8deca4856d037fb18be805e4987bf
6b442846fa2d1e7d0f21a4bd46587389136fdddd
refs/heads/master
2020-03-28T19:25:02.113139
2018-09-18T10:51:45
2018-09-18T10:51:45
148,974,314
0
0
null
null
null
null
UTF-8
Python
false
false
259
#!/home/steve/Documents/Python/One-minite/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from alembic.config import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "stevekibe2345@gmail.com" ]
stevekibe2345@gmail.com
cbd5b98104f0bd7d4ccc50a2b36f9db78b8e857a
a974bbcbe9398887c99b92e8b5df63e029fe7769
/code/Graphics_Viewer/qenhancedgraphicsview.py
ce5db969161f640a89362e8baa79fa7247d05202
[ "BSD-3-Clause" ]
permissive
eckerr/python_image_manipulation
9c21f8d57879b288f7e9f7ad34fb926e1ba8a86b
a0aacf7311e1ee7435df154962e634f061311209
refs/heads/master
2022-07-14T01:24:34.198184
2020-03-01T03:49:43
2020-03-01T03:49:43
167,699,657
0
0
null
2022-06-21T22:05:46
2019-01-26T14:46:05
Python
UTF-8
Python
false
false
39
py
""" Created by Ed on 10/29/2019 """
[ "edkerr@comcast.net" ]
edkerr@comcast.net
2ee67f8830bbd487ae34f86023b9d3eecfa6ef6c
11a72c7c9a6861d56492b590eb6816611b30d834
/Code/faceCounter.py
498c7c830b935ac8d1f40072713c06af23849ead
[]
no_license
sagarjoglekar/vineCrawl
625f6f4d40d03a7b02526e00bc8e9926eab8493c
0b83db51e16bcfdb12e8e614ed0ece2adc62e0af
refs/heads/master
2021-03-22T05:14:17.028679
2016-07-18T11:32:53
2016-07-18T11:32:53
46,863,944
1
0
null
2016-02-23T11:53:14
2015-11-25T13:41:10
Jupyter Notebook
UTF-8
Python
false
false
4,789
py
import re import datetime as dt from datetime import datetime import time import random import json import sys import requests import os import wget import pickle import cv2 import numpy as np import cPickle import multiprocessing as mp visitedList = "../Logs/faceCounted.data" root = "../vinedata/Data/" #root = "../D...
[ "sagarjoglekar@nmsdps000222.nms.kcl.ac.uk" ]
sagarjoglekar@nmsdps000222.nms.kcl.ac.uk
98b9bfddb589209b9f3356b2bfc923ee25586b28
be28837967683f1a5edea2e0ccd29d76867e970c
/proxy.py
920071f797091148eb6d2e31f7c47021ee516f3f
[]
no_license
aaronriekenberg/pyasio
c6d653d1d649857644d2b2bcaddb4cb7867117cb
bcfc32add36b1e54a8d19f76ab65c50a3094144b
refs/heads/master
2020-06-04T00:51:12.344228
2014-07-27T11:46:34
2014-07-27T11:46:34
3,299,356
0
0
null
null
null
null
UTF-8
Python
false
false
7,371
py
#!/usr/bin/env python3.3 # Copyright (C) 2012 Aaron Riekenberg (aaron.riekenberg@gmail.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitatio...
[ "aaron.riekenberg@gmail.com" ]
aaron.riekenberg@gmail.com
b6baa32c9ed582a91b962f1f5b16b34da60eb58e
e0483caa51a6a601ea964cfe418b1bdce6fc7dfc
/challenge4/calculator.py
cb4b0ec56de2db71db192496c19a4f82b7869a30
[]
no_license
xiajiezai/shiyanlou-001
3fb69496d74b16c7c7ad14ddaaf91a885e190089
86f397cdaeb00e90f5630a5169feba14f7ea490a
refs/heads/master
2021-09-06T23:10:29.704955
2018-02-13T08:28:54
2018-02-13T08:28:54
111,987,646
0
0
null
null
null
null
UTF-8
Python
false
false
5,115
py
# -*- coding: utf-8 -*- import sys import csv import queue from multiprocessing import Process, Queue from collections import namedtuple IncomeTaxQuickLookupItem = namedtuple( 'IncomeTaxQuickLookupItem', ['TaxableBracket','TaxRate','Subtractor'] ) Threshold=3500 QUICK_LOOKUP=[ IncomeTaxQuickLookupItem(80000,0.45,1...
[ "81623405@qq.com" ]
81623405@qq.com
a1cd3840fddf67f5b0508511756104705109ea43
f6fb269abf1d9c01d4182359faf34dd748bf4326
/h2o-py/tests/testdir_algos/glm/pyunit_cv_cars_glm.py
cd0d5a0a2dc0fd977089b8f882c2840ad8a1a3be
[ "Apache-2.0" ]
permissive
anwjones/h2o-3
0c2a71125e4ec56feb6d7d7a3b8c0a83ff75007f
074162a1432ef2f18ac8fa277d3cb0303b720fba
refs/heads/master
2021-01-15T13:23:14.015010
2015-12-09T21:03:17
2015-12-09T21:03:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,228
py
from __future__ import print_function from builtins import range import sys sys.path.insert(1,"../../../") import h2o from tests import pyunit_utils import random from h2o.estimators.glm import H2OGeneralizedLinearEstimator def cv_cars_glm(): # read in the dataset and construct training set (and validation set) c...
[ "spnrpa@gmail.com" ]
spnrpa@gmail.com
fb6b503e36a385533a82379272bd1d8194c289f0
f66a3f3a2e968dee45ad339fe4237b556566e3a0
/Programmers/LEVEL1/AddMissingNumbers.py
dbe13ae3645ec9acd7c3e16c05af666ce7c178dc
[]
no_license
Albert-learner/Algorithm
358e3b8496c3ea419b7f8dd74a0899b116bf1028
9fbb2c94ae35161ccc31e2c5976f6fdf426eea8d
refs/heads/main
2023-08-04T15:48:21.041206
2023-07-29T12:37:31
2023-07-29T12:37:31
209,938,800
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# 49. 없는 숫자 더하기 def solution(numbers): answer = 0 all_num = [i for i in range(10)] for number in all_num: if number not in numbers: answer += number return answer numbers_1 = [1, 2, 3, 4, 6, 7, 8, 0] numbers_2 = [5, 8, 4, 0, 6, 7, 9] print(solution(numbers_1)) print(solution(num...
[ "jaebinlee96@kookmin.ac.kr" ]
jaebinlee96@kookmin.ac.kr
ebfd807ea418dbad40f334b1a76958d71bf45ca9
44ee8130beb94b4d5feed7eb739352b25ca5426e
/tai64n.py
559c39dbef9bf11262c81a874dfb46bae0d4dadc
[]
no_license
SigNote/SigNote-python
727116c15393842153a477323b1bde80b6f1d1e6
884fd8659e6a9f40a2c3dd898ed0c8b224f5b2b5
refs/heads/master
2020-03-16T13:24:09.046004
2018-05-12T04:39:14
2018-05-12T04:39:14
132,689,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
""" TAI64N encoding and decoding. TAI64N encodes nanosecond-accuracy timestamps and is supported by logstash. @see: U{http://cr.yp.to/libtai/tai64.html}. """ from __future__ import unicode_literals import struct _STRUCTURE = b">QI" _OFFSET = (2**62) + 10 # last 10 are leap seconds def encode(timestamp): """ ...
[ "kt@connectfree.co.jp" ]
kt@connectfree.co.jp
b40548855d8ae7f86fa9536322b5a2c63b67efc4
4abbfba4d1b313a84bff46cb091f64010f7a13b7
/tutorial/items.py
66e9233f0975af58d46265915822d2e2889e3675
[]
no_license
bigsuperangel/scrapy
ba0e6ff22660325a4f7ae4aaab8943e91758c306
b98e5a377f0d9e3fbb876cb0598bbcd2387b77df
refs/heads/master
2020-05-24T04:39:04.029823
2017-03-13T12:04:10
2017-03-13T12:04:10
84,822,306
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class BooksItem(scrapy.Item): date = scrapy.Field() title = scrapy.Field() image_urls = scrapy.Field() images = scrapy.Field() image_paths = scrapy...
[ "bigsuperangel@gmail.com" ]
bigsuperangel@gmail.com
f060f8794f263be4b6a477a6cde368a4931e8605
4e6e7d7df76508c646eaa661da2007f1b126bf9e
/RLLAB/utils/dijkstra.py
9509ad8fa280d7ba54760bb6bb092654183b3c19
[]
no_license
maxiaoba/QMDPNET
7448a5a40bc7944f4c526940d0ce4b513b5795a3
92572cb634a6f8cdc63bffbf91f55a756e8efc83
refs/heads/master
2021-04-28T03:19:18.622290
2018-07-26T01:29:07
2018-07-26T01:29:07
122,137,564
2
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
# Dijkstra's algorithm for shortest paths # David Eppstein, UC Irvine, 4 April 2002 # http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/117228 from utils.priodict import priorityDictionary def Dijkstra(G,start,end=None): """ Find shortest paths from the start vertex to all vertices nearer than or equal to th...
[ "maxiaoba@umich.edu" ]
maxiaoba@umich.edu
e7aab5c24c1087e0f53dadb2c89678508f3f85a3
05f853a825f517f9d72dbfa287b22206a44a6a6b
/dagrevis_lv/manage.py
1057a590e173c9b8e9d0d7091bec14a9e366e867
[ "MIT" ]
permissive
daGrevis/daGrevis.lv
6ed07a6fd20c0efb32ea81146b72f43bb560a197
7a7dfdacac96d4633a998a73a584f29157150457
refs/heads/master
2020-04-06T15:51:08.678766
2016-05-07T16:44:27
2016-05-07T16:44:27
5,551,732
1
1
null
2014-06-14T10:00:20
2012-08-25T13:48:35
JavaScript
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dagrevis_lv.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "dagrevis@gmail.com" ]
dagrevis@gmail.com
e389942e85872870ee827f5e96c09ce2587dcc72
1df81fa247ae8d5ad38855d9fafb5c6338f0e206
/env/lib/python3.6/site-packages/orthopy/hexahedron/tools.py
622cc441b35460691d2219c95b50191dd86aa4d7
[ "MIT" ]
permissive
kassiuskohvakka/CompPhys-project
7e8d89408bb4c7b9346f33629bdf293348a1cfb9
c2f688da138ec285d3d794a9cc56f6997aaf36f9
refs/heads/master
2020-05-20T21:22:37.262018
2019-05-23T14:14:44
2019-05-23T14:14:44
185,756,298
1
0
null
null
null
null
UTF-8
Python
false
false
285
py
# -*- coding: utf-8 -*- # def write(filename, f): import meshio import meshzoo points, cells = meshzoo.cube(-1, +1, -1, +1, -1, +1, 50, 50, 50) vals = f(points) meshio.write( filename, points, {'tetra': cells}, point_data={'f': vals} ) return
[ "kassius.kohvakka@gmail.com" ]
kassius.kohvakka@gmail.com
1b075827e6cbd24fc844d524a82e550d70dd473f
3a682c9375bda0f651cbaebfd3e6e8ffbeb50233
/indexd/urls/blueprint.py
7d34d75a0c328cfc1d40f781e2c58d48e80a07f0
[ "Apache-2.0" ]
permissive
uc-cdis/indexd
9f28ba9a7728424b4c2a576dcb211a5f19b38039
c6c8a734486a690f4098a689e2d7376dbc02f162
refs/heads/master
2023-08-17T19:18:11.129685
2023-06-09T20:45:35
2023-06-09T20:45:35
44,071,955
18
27
Apache-2.0
2023-09-07T19:21:06
2015-10-11T22:20:24
Python
UTF-8
Python
false
false
2,711
py
import json from flask import Blueprint, Response, request from flask.json import jsonify from indexd.errors import UserError from indexd.index.drivers.query.urls import AlchemyURLsQueryDriver blueprint = Blueprint("urls", __name__) @blueprint.route("/q", methods=["GET"]) def query(): """Queries indexes based...
[ "noreply@github.com" ]
uc-cdis.noreply@github.com
c582cfeedf90c737ab38a2bfabdb15631df82473
e089fd839b03987ed540f472bdf89c0b60a33d81
/AlphaZeroModule/train.py
90c2b8b627719771536dccda1d2ea7e4f4660cae
[]
no_license
ussrlord/GO_AI
18950d5c4c483698c3cdf8afca2136acb04f726d
61875ed346a7a53270262fc384726f32d49c02f6
refs/heads/master
2020-07-29T18:15:33.404183
2019-09-23T07:52:46
2019-09-23T07:52:46
209,915,282
0
0
null
null
null
null
UTF-8
Python
false
false
8,665
py
# -*- coding: utf-8 -*- """ An implementation of the training pipeline of AlphaZeroModule for Gomoku @author: Junxiao Song """ from __future__ import print_function import random import numpy as np from collections import defaultdict, deque from AlphaZeroModule.game import Board, Game from AlphaZeroModule.mcts_pure i...
[ "ussrlord@foxmail.com" ]
ussrlord@foxmail.com
298ba038bcc60a5d3a1ad0f46cccc745b862288b
608b43bb13fab243f8fc03579389d33e26bebb59
/Pawn.py
885167676166eca68ed016684a1dcf396acc31e3
[]
no_license
KaiHoshijo/Chess
03912c5d4f7844b320822e3634562d2523f9621b
4fff1cec23b8dcc9d53427bce886c5c121565146
refs/heads/master
2022-10-28T20:05:42.486296
2020-06-08T22:38:49
2020-06-08T22:38:49
270,846,758
0
0
null
null
null
null
UTF-8
Python
false
false
9,260
py
import pygame import King import Queen import Rook import Bishop import Knight class pawn(King.king): def __init__(self, screen, board, image, rect, row, col, colour, queenImage, rookImage, bishopImage,knightImage, opposingKing): super().__init__(screen, board, image, rect, row, col, colour) ...
[ "noreply@github.com" ]
KaiHoshijo.noreply@github.com
e33d6251cc2f1288800dd9b790cedf351831595a
b0b903784c5fbf551a53b5616c713acfeff46d99
/jcc/cli.py
a3505bb098fa5db217f6b5ac1d08cc1a94fe49fe
[]
no_license
0x0L/jcc
c4459e316673d41b1f0ff87c76c6f49453a44b1e
b7a210becc34be931ccc4c0a60cb24c7c2e702ec
refs/heads/master
2020-03-12T06:48:08.612294
2018-04-21T13:18:52
2018-04-21T17:05:16
130,493,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
import argparse import os import sys from .client import JupyterContentsClient from . import __version__ def main(): version = '%(prog)s ' + __version__ env_url = os.environ.get('JCC_URL') env_token = os.environ.get('JCC_TOKEN') parser = argparse.ArgumentParser( description='Jupyter Contents ...
[ "0x0L@github.com" ]
0x0L@github.com
64504a6de6062e5f0cd3d7493539724d88ae1d5b
416f3effbd8618c8e654afc099bee5c09f7ad71f
/qt-Notepad.py
f968068750dca9b00b7b28308201db94d9644431
[]
no_license
lewisde/qt-Notepad
c02720a1793769e9d3eb816c5b770c797745f5ab
690d58040e4f7e323752a2a6c41ded969df18c47
refs/heads/master
2021-01-10T08:36:46.343409
2015-12-05T02:30:36
2015-12-05T02:30:36
46,058,562
2
0
null
null
null
null
UTF-8
Python
false
false
4,122
py
#!/usr/local/bin/python3 import os import sys from PyQt5.QtWidgets import QMainWindow from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import QAction from PyQt5.QtWidgets import QTextEdit from PyQt5.QtWidgets import QFileDialog from PyQt5.QtGui import QIcon class Example(QMainWindow): def __init__(...
[ "lewisde@gmail.com" ]
lewisde@gmail.com
20a7049cb4cc82c0339b4cd3e0b33361045cd3ed
6ad58af0bfe268183c8cfa603f0b470b60e8b163
/project/celery.py
9db55d4eec0a733767abb250ab1c4f430985624d
[ "MIT" ]
permissive
zubedev/The_Doe_Agency
e21587c9716d08c6d9142198fa7467b9aa7f4bbf
2545aeae71c779166bef78941cac36551498ca76
refs/heads/main
2023-07-05T05:43:05.955514
2021-08-06T06:58:35
2021-08-06T06:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import os from celery import Celery # Set the default Django settings module for the 'celery' program. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings") app = Celery("project") # Using a string here means the worker doesn't have to serialize # the configuration object to child processes. # - names...
[ "ziibii88@gmail.com" ]
ziibii88@gmail.com
cb8ad4652800f8297f6d6017cdcac446e4d48808
5c6395fadd36a42b18852f9091db1d550bef52d6
/core/interpreters/datasource/__init__.py
9301a9e4fa1ccc760a269e91cea8144925457d0c
[]
no_license
alpha-i/service-ads-wind-energy
ade2d07bd47a653085f75647bda9916c73853d43
5ba611cb351c00392aad464fda12448b7bf5383f
refs/heads/master
2020-04-20T21:17:29.390204
2019-02-04T16:03:34
2019-02-04T16:03:34
169,104,886
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
from core.interpreters.datasource.hd5 import FlightDatasourceInterpreter
[ "giajj@hotmail.com" ]
giajj@hotmail.com