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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ddf09f47a9f2f78bb205d5e2492c3e024e6601e2
64ae05ddc478c214208f8d828447a3407ee12f30
/tag_generator.py
3c185d85e016c279a0743232fd0dbf3c4b8ea69b
[ "MIT" ]
permissive
ryan-kwan-do/ryan-kwan-do.github.io
3618f991d09f203120f1fbccc84de87cd0cff0f4
df1637c762c5cb3dd135474363765b815f16786a
refs/heads/master
2021-04-29T09:01:23.801034
2020-06-08T10:19:04
2020-06-08T10:19:04
77,638,046
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
#!/usr/bin/env python ''' tag_generator.py Copyright 2017 Long Qian Contact: lqian8@jhu.edu This script creates tags for your Jekyll blog hosted by Github page. No plugins required. ''' import glob import os post_dir = '_texts/' tag_dir = 'tag/' filenames = glob.glob(post_dir + '*md') total_tags = [] for filename ...
[ "hello@ryanarmstrong.me" ]
hello@ryanarmstrong.me
645ec5d8848843052470e3ac49f92599668cbea7
4e6e8c4b6c4e516e546ce17b887d43e6fd7a4100
/py2store/scraps/old/data_writer.py
d35da60f068a56546a4f67cfad0b817491636f52
[ "Apache-2.0" ]
permissive
i2mint/py2misc
fa60d81bab31d9b13579651d673a3622a8034c56
1ee704b1ab8dc33dd043c4332a444f41f0026189
refs/heads/master
2023-04-14T03:12:50.878497
2023-04-03T06:58:22
2023-04-03T06:58:22
200,088,028
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
from collections.abc import MutableMapping from py2store.scraps.old.obj_source import DictObjSource class DataWriter(MutableMapping): """ Interface for an DataWriter. An DataWriter offers the basic methods: __getitem__, __len__ and __iter__, along with the consequential mixin methods that collections....
[ "thor@otosense.com" ]
thor@otosense.com
a5177aabae7639bdb29fe0a4a0293316bd0c201f
a16f8a38725c306e80126bfb66f9d1953e8ee96a
/coba/simulations.py
6ac39199e627c80da0552fbc3f8764bedfd27856
[ "BSD-3-Clause" ]
permissive
pmineiro/coba
b5cd694abef5aa8e6cb74a9b86cb741c4a81bad1
c3a2963f84c3d41bdaf1e5205278f2cbcda61046
refs/heads/master
2023-01-12T18:05:08.797525
2020-11-16T17:35:56
2020-11-16T17:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,600
py
"""The simulations module contains core classes and types for defining contextual bandit simulations. This module contains the abstract interface expected for bandit simulations along with the class defining an Interaction within a bandit simulation. Additionally, this module also contains the type hints for Context...
[ "rucker.mark@gmail.com" ]
rucker.mark@gmail.com
573d56e8d5f6dc0a9dec7a2af9be5f84e0ddc6c0
0d4250be9a9431528a94aaf397b398022730d1cb
/functional_tests/test_list_item_validation.py
6f51eae18854b4e8b11cd4056f45792ca456cde7
[]
no_license
sward1/tdd
07cc8c9859e7862c040016467f862d1eb2b3836e
495e0ab74ab23006926c031b349b1092b1f94b6c
refs/heads/master
2021-01-10T18:37:04.766809
2015-04-24T15:52:47
2015-04-24T15:52:47
33,563,154
0
0
null
null
null
null
UTF-8
Python
false
false
2,688
py
from unittest import skip from .base import FunctionalTest class ItemValidationTest(FunctionalTest): def get_error_element(self): return self.browser.find_element_by_css_selector('.has-error') def test_cannot_add_empty_list_items(self): # Edith goes to the home page and accidentally tries...
[ "stephenjward1@gmail.com" ]
stephenjward1@gmail.com
303637e4e2c0872d7c466e7edbcdc7342dabb578
6feb9f4729a4bd13c678ba1a0f29a9fede1ae906
/runner.py
b46c0e6bd3042960f4424158bd2dd4ec1951b06b
[]
no_license
bejerome/Testdemo
1031d6c0c012e73891ba8efe07d97f06bf4ea402
b5f45762635b56c6d52b46def296b2f40d5fc0f0
refs/heads/main
2023-08-24T11:28:31.987730
2021-09-29T16:46:00
2021-09-29T16:46:00
411,760,772
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
__author__ = 'Ben' import unittest from Tests.login_test_suite import LoginTest import os import HtmlTestRunner direct = os.getcwd() class MyTestSuite(unittest.TestCase): def testIssue(self): smoke_test = unittest.TestSuite() smoke_test.addTests([ unittest.defaultTestLoader.loadTest...
[ "benjaminjjerome@gmail.com" ]
benjaminjjerome@gmail.com
916417b7dddb729035932c4ce63759c55fd9fa89
32453c2e63c8060cf81c52443cf481a83f450aeb
/UserApp/migrations/0001_initial.py
1db7da94ce1849cbd7981422ab862c9ebde1d77d
[]
no_license
sz66cm/dgrentapp
d0d70bc236ad5fe8a7c9adf0364730e7a54fb0ee
bb78ee037353bc0ba5788563dd5a8ef068501fb2
refs/heads/master
2021-01-09T20:08:28.320340
2016-08-12T12:44:15
2016-08-12T12:44:15
65,522,886
0
0
null
null
null
null
UTF-8
Python
false
false
1,936
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2016-08-10 09:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cost', ...
[ "sz66cm@163.com" ]
sz66cm@163.com
159b6bf20963afd927a24e9c72ab4a79942ea609
17f72515f96fba80a00230132c69cd4f2809c58d
/sample.py
3571450a04c11f8107aecd6b2373fe7f8365be3b
[]
no_license
asha952/tutorialtweetgen
daa6ac794d472167a4cd24b6c8eaf0606196a7a2
05f098696c0c0fe116e82b0ef614e9363a2b1df8
refs/heads/master
2020-12-19T08:47:50.432253
2020-03-06T05:22:03
2020-03-06T05:22:03
235,686,364
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
import random from word_frequency import histogram def dict_sample(histogram): word_count = 0 word_count += sum(hist[word] for word in hist.keys()) word_range = 0 histogram = {} random_int = random.random() for key in hist.keys(): histogram[key] = hist[key] / word_count if wo...
[ "ashabsiddiqui952@gmail.com" ]
ashabsiddiqui952@gmail.com
691aa804118899e915ea14af3accf1e1eaf3af76
1006a954e2fb0eb20e20bd4702c923d886fec852
/7DES/utils_prodtrans.py
e5f08ba3339ed2efb982954ef20bfd136de69368
[]
no_license
ujn7843/Crytography_Assignment
b4eeecdb13e6c0bc1898dc5401cafcbeb7422b98
9a2ddda30b15fcc6f91499ce88ec5ad41255ba8a
refs/heads/master
2022-03-21T07:46:50.563055
2019-12-25T00:09:06
2019-12-25T00:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from utils_key import * def ProductTrans(L0, R0, i): ''' Arguments: L0: 第i-1轮输入数据的左半部分 R0: 第i-1轮输入数据的右半部分 i: 轮数 Returns: Li: 第i轮的输入的左半部分 Ri: 第i轮的输入的右半部分 ''' R1 = Expansion(R0) # 选择扩展运算E key = GenerateKey(i) # 生成密钥 R2 = xor(R1, key) # 密钥加密运算 R3 = Sbox(R2, S_box) # 选择压缩运算S R4 = ReplaceFunc(R3, P_box) ...
[ "noreply@github.com" ]
ujn7843.noreply@github.com
72331551bdcfaaed464d0a85970737b617219850
8c2d923f54e98e79e40dada15252fe0fd03d0d7b
/server/tests/graphql/test_logs.py
a2446cc813f4719773699253c95c275fc32ffc0f
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
manesioz/prefect
0069583f2b248661e8eb38ae104930551b09eedc
f2ae050df8258aebfc0a97ffcd3e38344180f53e
refs/heads/master
2021-03-06T04:55:53.000101
2020-06-22T19:39:41
2020-06-22T19:39:41
246,180,294
0
0
Apache-2.0
2020-06-22T19:39:42
2020-03-10T01:31:40
null
UTF-8
Python
false
false
5,391
py
# Licensed under the Prefect Community License, available at # https://www.prefect.io/legal/prefect-community-license import asyncio import pendulum import pytest from prefect_server.database import models class TestWriteRunLogs: mutation = """ mutation($input: write_run_logs_input!) { writ...
[ "noreply@github.com" ]
manesioz.noreply@github.com
1673869e25c4e792d07a567dfdf2bb620603032d
e3c2844608c8776ff0346db719500a4a9aa0aabb
/test.py
35a6fd7ff4612e8c82b96d49dca59c1fe8effdce
[]
no_license
z0by/mirror-scripts
f2c8d1fb1639166fabbf917306bf2e0338eca98f
78ecac06862e5d43231680508e932278bd488ffe
refs/heads/master
2016-08-08T18:52:32.921736
2016-02-20T08:51:37
2016-02-24T10:29:52
52,144,681
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
#!/usr/bin/env python import os import sys import yaml import logging import subprocess def run_cmd(cmdline, stdout=False, stderr=False, stdin=False, shell=False): p = subprocess.Popen(cmdline, stdout=stdout, stderr=stderr, stdin=stdin, shell=shell) out, err = p.communicate() if p...
[ "uniakhai@mirantis.com" ]
uniakhai@mirantis.com
de8719da1cba865e5be9cf02e409206fec0dc5f8
aa4741b2b503b19612f7101412ba9ae8717f4547
/weather_app/the_weather/the_weather/wsgi.py
7b0c3aa9cd1f75739a957c1193d1ebaf68cb96bd
[]
no_license
igor-QA/WeatherApp
da336140efa076ed952cb30d4cffb9219292b022
055fc2474ca7bb1d794dad8687ee7e962479831c
refs/heads/master
2022-11-08T05:52:45.239660
2020-06-26T16:37:45
2020-06-26T16:37:45
275,146,143
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "the_weather.settings") application = get_wsgi_application()
[ "igortvk@ya.ru" ]
igortvk@ya.ru
ae36976672c1d15131b749192948515de6c6f94d
bdc255daa00a691dcd4107a9cab76525623e998e
/computor.py
5383f487dc8bed60145d31308de29d090430f314
[]
no_license
dishults/computorv1
739d47028172f5923b7a4b536d0af03bf9059dbf
e81d333a2f9b79214e0d5fdaec29b3d49a3079cc
refs/heads/main
2023-01-02T14:40:20.335876
2020-10-27T11:53:01
2020-10-27T11:53:01
301,402,572
0
0
null
null
null
null
UTF-8
Python
false
false
6,327
py
#!/usr/bin/python3 import sys class Polynomial: all_terms = {} degree = 0 def __init__(self, sign, coefficient, variable, exponent, inverse=False): """Example -- '+', '5', 'X', '0'""" try: self.coefficient = float(sign + coefficient) except: self.coefficie...
[ "me@manhattan.lan" ]
me@manhattan.lan
f8596b927edfc2a86c973b5a9f3277105aebc388
7b23bf827adcee44060d0271a13b066293e96485
/Problem Solving/Implementation/Repeated String.py
29822a635adca6f72c93121bbf3a12151e1a9168
[]
no_license
PinkFromTheFuture/HackerRank
89072e085b70be0f2e445c0839454cacaed9c3c5
7b52a9e11093fa5935d4ec6b719fce257aa270cd
refs/heads/master
2022-06-26T10:51:14.444711
2019-08-02T13:38:52
2019-08-02T13:38:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
'''https://www.hackerrank.com/challenges/repeated-string/problem ''' #!/bin/python3 import math import os import random import re import sys # Complete the repeatedString function below. def repeatedString(s, n): # count the ocurrencies in the base string count_in_base_string = s.count('a') # print('coun...
[ "eduardoxfurtado@gmail.com" ]
eduardoxfurtado@gmail.com
b52c0e5bdece5cc5f07c35478a9f20106d67b693
39daa2ec924f3d92d73d9cb59d99ddc069d0683b
/Exams/exam prep 2018-03-08/02.py
d4a3165ffff368b43740ebe70d013aed275eb70e
[ "MIT" ]
permissive
Bugzey/Softuni-Python-Fundamentals
ab2737f4393266aae096bf7f57ebfa77f0ce8a3b
6f66e143809988398896cfc771cce1db9220df27
refs/heads/master
2021-03-23T06:00:41.811397
2020-03-15T08:46:47
2020-03-15T08:46:47
247,428,961
1
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
# String commander v02 def exchange(input_list, length): result = input_list[(length + 1):] + input_list[:(length + 1)] return(result) def extreme(input_list, extreme_type, num_type): if extreme_type == 'max': func = max elif extreme_type == 'min': func = min cur_mod = 0 if num_t...
[ "radddi@abv.bg" ]
radddi@abv.bg
1ae1c06a4d9808347ac1b53b64efffff089681c8
fae454e66b9280821b3364d933979303df5cadcc
/FroggerProj.py
dd7e3a21a211ee659390e31e21e046351bd3c11d
[]
no_license
johnthekid/FroggerProject
419c244500a389617339679b788a3c0c309bca03
35bfd4482b45cb282824cbd38054b09245e84259
refs/heads/master
2021-01-18T13:29:42.233838
2014-12-04T21:00:21
2014-12-04T21:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
from Tkinter import * root = Tk() drawpad = Canvas(root, width=800,height=600, background='gray') player = drawpad.create_oval(390,580,410,600, fill="blue") car1 = drawpad.create_rectangle(50,50,100,60, fill="red") car2 = drawpad.create_rectangle(50,50,100,60, fill="red") direction = 5 direction = -5 fast = 7 clas...
[ "jsan77@yahoo.com" ]
jsan77@yahoo.com
9587ab6da0f161dabef2e8887d0ad95d233adc82
53d824c3b9d83382367bebb6802f98138e997465
/square.py
6fdcf10cbb0d7188bfa764af47af8228f03d3a0a
[]
no_license
MwasCipher/FullStack-Nanodegree
9d34dde9d9ec56d127b2761246c326ba4db8ffa1
20ed4007442adcfca0bcdf67d3c6a478d29302db
refs/heads/master
2020-08-22T09:16:05.930709
2019-11-15T20:33:39
2019-11-15T20:33:39
216,363,349
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
import turtle def draw_square(brad): for i in range(1, 5): brad.forward(100) brad.right(90) def draw_art(): brad = turtle.Turtle() brad.color('yellow') brad.shape('turtle') brad.speed(2) window = turtle.Screen() window.setup(800, 600) window.bgcolor('red') for i...
[ "mwangicollinswaweru@gmail.com" ]
mwangicollinswaweru@gmail.com
df5adcdae70cdbfbaf9f966b0d9c961df085724b
d1b4d99cf0ce3f46ef844f9def5b31204be0edb6
/app/api/v1/user.py
5156679d21d6594f89d6eb7edeb7ccd37e14bb6c
[ "MIT" ]
permissive
xu20065953/ginger
2d772c26cfa7046c2f9db329d7e532476916c03f
a493f9a4cef9f77a691f5fbad3e074344b7a8e50
refs/heads/master
2022-12-19T23:17:53.758673
2019-01-10T05:57:34
2019-01-10T05:57:34
161,883,753
0
0
MIT
2022-12-08T01:28:56
2018-12-15T08:04:56
Python
UTF-8
Python
false
false
1,124
py
# -*- coding: utf-8 -*- # @Author : jjxu # @time: 2018/12/15 16:59 from flask import jsonify, g, render_template from app.libs.error_code import DeleteSuccess from app.libs.redprint import Redprint from app.libs.token_auth import auth from app.models.base import db from app.models.user import User api = Redprint("use...
[ "20065953@163.com" ]
20065953@163.com
a2168d5677c2caa4500d906a9740cd98471463ba
f5772316b7bf1316c8a673aed9007acd76b7d455
/matching/tatacliq.py
5b63d24c7df68904eff58ba5d17fa90a29598753
[]
no_license
yuri0051/scraping
7e5f0983790050f9366375a7a730aecb93c8ebd5
aaf52d386ee1aca1f33377b2ed6adc7d63400cc6
refs/heads/master
2021-06-25T17:03:08.492990
2017-06-29T22:57:27
2017-06-29T22:57:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
import pandas as pd from pymongo import MongoClient def tatacliq(): client = MongoClient() db = client.stores coll = db.full_collection.find({'source': 'tatacliq.com'}) df = pd.DataFrame(list(coll)) df = df.apply(get_lower, axis=1) print df['category'].unique() def get_lower(row): try: ...
[ "yury0051@gmail.com" ]
yury0051@gmail.com
3163d837b5c97aaf7f586933e8dcab6776af8bc3
640c447853ca3a7b5cd005fd1306b0086e2f026e
/extractor_mvp.py
9a6387191b1e9f3bed64c172b6240927929b02e4
[]
no_license
jordilag/handball_temp
aeef298954de95bae6d9768cb1f3b3aff7786a9a
734334fa421e752b7d5c56287dffa4ba1d5b5803
refs/heads/master
2022-12-08T02:48:30.791519
2020-08-28T15:13:42
2020-08-28T15:13:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 31 08:16:22 2019 @author: FranciscoP.Romero Player of the Match extractor """ import pandas as pd headers = ['Match', 'Team','No.','Name', 'Role'] path = 'C:/Users/FranciscoP.Romero/Desktop/euro2020/' match = '01' team = '' number = '' values = [] rows_players = [] f...
[ "franciscop.romero@uclm.es" ]
franciscop.romero@uclm.es
94a080fcf8167830d057872fc075335e8ba477dd
fd27aa04f17b926bf09b3991f21b4f26c632a713
/src/main/main.py
7155b9662b77af89dc0850aada900bb049527af0
[]
no_license
Ankitmahadevan/opencv-python-basic-project
e6a79c553e591cbee7153f3bed01375f5eb62bfd
ba9b29bf27c1cc43eba8b6cf8f9f9d069d3082b8
refs/heads/master
2020-03-21T16:40:44.913581
2016-06-05T16:42:57
2016-06-05T16:42:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
import numpy as np import cv2 cap = cv2.VideoCapture(0) while (cap.isOpened()): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Face and eye cascade face_cascade = cv2.CascadeClassifier('../resources/ha...
[ "ugnius.malukas@gmail.com" ]
ugnius.malukas@gmail.com
d54cd464f6c8823ed9926d5ad23dadc364c6000a
664f0ef6973f813afcf1703906584fadd5569876
/objectDistance.py
081ec22059f7dfd617036c9123f6f460d3958036
[]
no_license
tjan90/driver-fatigue-detection-tools
c0e781aed7d72ccc5e416d60ced852c4a0628527
42845f5158cf4b1513380e0628d8979e4987412f
refs/heads/main
2023-06-12T13:00:54.336523
2021-06-15T19:32:03
2021-06-15T19:32:03
376,984,228
0
0
null
null
null
null
UTF-8
Python
false
false
4,308
py
# import the necessary packages from scipy.spatial import distance as dist from imutils import perspective from imutils import contours import numpy as np import argparse import imutils import cv2 def midpoint(ptA, ptB): return ((ptA[0] + ptB[0]) * 0.5, (ptA[1] + ptB[1]) * 0.5) # construct the argument parse and ...
[ "tjan90@yahoo.com" ]
tjan90@yahoo.com
d776af68f0585eb99721284de11db1090030affe
f860af784ebe80c5dc1ef09e9939c9439eb9e4a8
/extract_feature/creat_dataframe_label.py
89f50c4d4cfaa793ef825630e68f22bb78b80145
[]
no_license
hanghust/preprocessing_data_for_sematic_segmentation
6bd5b61b322e049b11512c6fb1c2eb989180aef7
553485919a3a247e054ffc6f6aa74af3138dd93e
refs/heads/main
2023-01-14T02:16:15.355873
2020-11-17T02:13:48
2020-11-17T02:13:48
313,476,166
0
0
null
null
null
null
UTF-8
Python
false
false
2,944
py
from extract_information_image import extract_all_path, EDA_data_label import numpy as np import pandas as pd # all file def load_file_csv(path, file_name): path_list = extract_all_path(path, 'csv') data = pd.read_csv(path_list[0]) for path_file in path_list[1:]: data1 = pd.read_csv(path_file) ...
[ "hangnt@datascience.com.vn" ]
hangnt@datascience.com.vn
d60e972614e566bef7cbc20eb726db3227df9346
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/pointcloud/_y.py
dfc46fe42092562d7111c7b05c2ec21d2a386694
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
400
py
import _plotly_utils.basevalidators class YValidator(_plotly_utils.basevalidators.DataArrayValidator): def __init__(self, plotly_name='y', parent_name='pointcloud', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_type...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
1d82ced55124252a9363b7798cf2e4dd21ad0dfe
c9b9d81a0f6c68afefd093a18a14bcfcb95cdba6
/master.py
dbde6b4d1f107d5af1fadc253aeb5affb9681ee3
[]
no_license
loicpillard/Master
6b43523a43acc251fcc23d1b7c80f9e952affc07
78012dc96da69bf2224648eed55bc8b4e2cdae47
refs/heads/master
2020-12-15T09:31:45.508211
2016-10-07T08:47:34
2016-10-07T08:47:34
43,424,053
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
#!/usr/bin/python L = ["E", "G0", "G1", "G2", "G3", "G4", "G4bis", "O", "R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "SE", "SG0", "SG1", "SG2", "SG3", "SG4", "SG4bis", "SO", "SR1", "SR2", "SR3", "SR4", "SR5", "SR6", "SR7", "SR8", "SR9"] import stats #for element in L: #i = 1 #while i <...
[ "noreply@github.com" ]
loicpillard.noreply@github.com
9f5938acd7bba762554269603c8837ab1e2e3158
fbcc343b89fa01a1252528968f6b56f0254f831f
/ylpa/linprog_examples/ex04_reference_corner_plate_lowest_reinf.py
011acdcc01e631c2f37ca95d8ab510d7de6d05c3
[]
no_license
Vancikv/YLPA
15b2cfdc9e21dad8f618aef63c46c7d4870ca19a
a53567782dd7b3eda2131dae62965c0859f2cde0
refs/heads/master
2021-01-10T15:19:25.370090
2016-01-18T19:13:08
2016-01-18T19:13:08
49,895,504
2
0
null
null
null
null
UTF-8
Python
false
false
1,909
py
''' Created on 2. 6. 2015 @author: Kapsak ''' from ylpa import \ Plate, Node, PlateSegment, \ ParametricStudy, YieldLine, Parameter, \ ParamNode, ParamPlate, PlateLoadUniform, \ Reinforcement, YLPATreeView import numpy as np b = 3. a = 2. n1 = Node(x=0., y=0., w=0.) n2 = Node(x=2 * ...
[ "vla.vancik@gmail.com" ]
vla.vancik@gmail.com
2528dacb9b7faf1b27138b6f716d590ff2de4129
2774cd543667e48ad2f44539ff77bac2e84265ef
/plugins/IonVariableSD.py
b038971651bb2387ca93587bb50a018aac59409b
[]
no_license
ecell/ecell3-model-editor
279fbe6797224ad319caa66731309923aed4cee5
02fcbb7085bd1410dcafcfb980c5ad138795a724
refs/heads/master
2021-01-19T06:40:17.464207
2008-02-27T09:25:44
2008-02-27T09:25:44
1,831,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,637
py
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # # This file is part of the E-Cell System # # Copyright (C) 1996-2007 Keio University # Copyright (C) 2005-2007 The Molecular Sciences Institute # #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # ...
[ "moriyoshi@f1531174-cb10-0410-9fe6-89aa7ac3eedb" ]
moriyoshi@f1531174-cb10-0410-9fe6-89aa7ac3eedb
7a218a01ecbfc594cc00ff334d30ebe2489e5c13
c324a6d923bae3a00bd1dc69a43d0e5c707a104a
/addons-vauxoo/hr_expense_replenishment/__openerp__.py
f75805678aedf47bc322db43b9213897c5e35bdc
[]
no_license
meswapnilwagh/odoo-adr
5c593c2240d23b79811ccd7b5297b634e5ffe19d
442c8d5fa52cab30028a26dd93bd8eae88d58fed
refs/heads/master
2020-01-27T10:03:27.142715
2015-09-04T14:36:59
2015-09-04T14:36:59
50,238,226
0
4
null
2016-01-23T12:53:28
2016-01-23T12:53:25
null
UTF-8
Python
false
false
2,537
py
# -*- encoding: utf-8 -*- ############################################################################### # Module Writen to OpenERP, Open Source Management Solution # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). # All Rights Reserved ############# Credits ########################################...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
eed553fcbac8ff8f4d3035a692503463afc204bc
b27543728fe3de41b2ba7666b2ec8ee4c378f6f8
/users/migrations/0002_alter_profile_image.py
6c7caa50a16435370e095b5370b224f144f7703f
[]
no_license
jasonantao/image_repository
2fddd5dbee366dbb8e5204d2a73ee4d1a9c6566a
c8b2426a793d182763f6f8a33ee473a786363879
refs/heads/master
2023-07-12T06:27:18.141249
2021-08-14T13:43:42
2021-08-14T13:43:42
365,867,662
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.2.2 on 2021-05-09 19:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='profile', name='image', fie...
[ "jasantao99@gmail.com" ]
jasantao99@gmail.com
c313302f1063157d58dec8f1c153c548cd3ba447
baf024d5b45a229b54c906f3f187bd7b655e3c8f
/eat.py
c2efd494839edddad58152df9225d729d8c62c17
[]
no_license
breathingM/pomelo
f9e7a206aeed80fe5dd4faf7c5456cc20e1829f8
5d966a7b150078e57713597ee8af830269b88854
refs/heads/master
2021-01-15T08:58:33.803047
2015-11-03T04:02:45
2015-11-03T04:02:45
45,440,487
1
0
null
2015-11-03T03:55:41
2015-11-03T03:55:41
null
UTF-8
Python
false
false
1,216
py
#!/usr/bin/env python import sys import getopt import pomelo def usage(): print "Usage:%s [-h] [--help|--run|--renew|--off|--update|--del|--nginx|--clear] args..." % (sys.argv[0]) sys.exit(0) if "__main__" == __name__: obj = pomelo.Pomelo() try: opts, args = getopt.getopt(sys.argv[1:], "h", ...
[ "jingfu99@gmail.com" ]
jingfu99@gmail.com
046ca5f5acec77e43d50ee66cec87798ea1834ca
2242a9eded33d7cf1b62ede1e9ab4c2f17e95bb5
/June-LeetCode-Challenge/Maximum Units on a Truck/maxUnits.py
31221300b8468261cc31a7a22fb867be1c24f376
[]
no_license
RiyaThakore/Python-Programs
8b5a316c58a779f1a14fa363e79871831b086202
399e8307196599027f0c412666987b33c89f7ac6
refs/heads/main
2023-08-29T05:48:02.447338
2021-11-01T02:27:45
2021-11-01T02:27:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
class Solution(object): def maximumUnits(self, boxTypes, truckSize): boxTypes.sort(key = lambda x: x[1]) output,box=0,0 for i in range(len(boxTypes)-1,-1,-1): box+=boxTypes[i][0] if box < truckSize: output+=(boxTypes[i][0]*boxTypes[i][1]) e...
[ "noreply@github.com" ]
RiyaThakore.noreply@github.com
2938b2104b3f37ffe030d79ac4eb792d5a521b37
11d021d531b9fec3fa782131e89233c8d2e3169d
/sokoban-python/Pathfind_Algorithms2.py
85c63b85f06ef6912195da326adc24da9a8577ee
[]
no_license
atopion/sokoban
a2992eeaf49a1fbdede6630992696dcdf05cfd89
bfab7b0f4fc1f18b15b14333c1ddbd9621fbecc2
refs/heads/master
2020-04-15T18:52:00.996313
2019-04-14T19:44:12
2019-04-14T19:44:12
164,928,759
0
1
null
null
null
null
UTF-8
Python
false
false
3,715
py
import Metrics import Map class Pathfind_Algorithms: def __init__(self, map): self.width = map.width self.cleared_map = map.getClearedMap().copy() for i in range(len(self.cleared_map)): self.cleared_map[i] = Node(self.cleared_map[i], i) def children(self, point, b...
[ "atopion@outlook.com" ]
atopion@outlook.com
f2604b7d0735b32b57e274d09c579d5ddc0b046c
1d4c8db10e0965b60f398d5ab907c0516753c853
/handwriting_unsupervised_AI.py
59b6073b6417445ed6185a5eeacaa30febb2b71f
[]
no_license
mattielangford/handwriting_unsupervised
1c02535979bc120c663a839a7a155ecae7feaf49
5c30632e862fd4958b7c77ece7d2b16370307f74
refs/heads/master
2020-05-26T16:07:29.381456
2019-05-23T20:01:29
2019-05-23T20:01:29
188,298,421
0
0
null
null
null
null
UTF-8
Python
false
false
2,767
py
import codecademylib3_seaborn import numpy as np from matplotlib import pyplot as plt from sklearn import datasets from sklearn.cluster import KMeans #From a total of 43 people, 30 contributed to the training set and different 13 to the test set. digits = datasets.load_digits() print(digits.data) print(digits.target) ...
[ "noreply@github.com" ]
mattielangford.noreply@github.com
6eeb4dc855546f60cc8bafdb28339212ab8eb907
b37b514233094763d124f287acb3a833834108f0
/Pattern.py
6af2685ed1e2fa748881f5e4f96428eceb21de39
[]
no_license
gorillacodes/HelloWorld-
53c334c83b73a16efcc53178ba6ce71246ef87fd
bd34fb0e5410368e11691634f2a5026957e5965a
refs/heads/main
2023-03-30T22:41:17.162244
2021-03-25T19:27:14
2021-03-25T19:27:14
328,973,633
2
0
null
null
null
null
UTF-8
Python
false
false
139
py
n = int(input("Enter no. of rows: ")) for i in range (1,n+1): for x in range (1,i+1): print ("*", end = "") print()
[ "noreply@github.com" ]
gorillacodes.noreply@github.com
4f5852459dd41126a6aadfebbcaa51b7355f19b2
16810cd83941d7d900c39420fc2ea912e38d6159
/finalP/wsgi.py
db54015cdcda7566853984faba981536fe732eb7
[ "MIT" ]
permissive
danielskiptoo/foreCast
737f830cef0e2e3cd6a37ddb05f47da67bd3b966
f2946b613ae174144716eefdfc0654ccbf7a9b27
refs/heads/master
2023-04-15T09:17:28.107693
2023-04-03T10:37:16
2023-04-03T10:37:16
127,606,366
0
0
MIT
2022-12-08T00:57:24
2018-04-01T07:13:35
JavaScript
UTF-8
Python
false
false
389
py
""" WSGI config for finalP project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "kiptood6@gmail.com" ]
kiptood6@gmail.com
2acd1397408b43bcf0280ad2d0d33cf4fc765b86
eada63ec0ed309ef817e3a75603b199a91952b6d
/pythonProject/Locators/LocatorsDateSelectionScreen.py
2f3fb7504068472191485d4aec648dfa1666cc83
[]
no_license
DandresPer/appium_poc_booking
ffef39dbb28f69e2381cc160bfbfd1588fc30b39
2a3dc644fed4b553a06c2995b1d45e213d771dde
refs/heads/main
2023-01-21T09:30:49.493056
2020-11-30T09:51:41
2020-11-30T09:51:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
import calendar import datetime from Locators.Locators import Locator def generate_dates(time_between_dates): now = datetime.datetime.now() date_1 = f"{now.day:02d} " + calendar.month_name[now.month] + " " + str(now.year) then = now + datetime.timedelta(days=time_between_dates) date_2 = f"{then.day:0...
[ "danielanper@hotmail.com" ]
danielanper@hotmail.com
a7088d8f59c39486be2953ab3e1975839fd8c83a
a27ec396d8ad24a5c93557249c55c61de2ba8f68
/Visual_cir.py
32528cde5eac4683008cc592dba3e931577ea8d6
[]
no_license
sophieball/VisualNW
28e9e77e3f4dc3b57abf2187a6f5b07d95e1eafd
90431d8a39b9783a154e507f39ad762822804b1b
refs/heads/master
2021-01-10T18:49:11.588122
2016-12-15T04:12:44
2016-12-15T04:12:44
58,431,591
0
0
null
2016-12-15T04:12:44
2016-05-10T05:13:15
C
UTF-8
Python
false
false
5,742
py
import graphics from graphics import * import re import copy vfile = open("freq", "r") hasharr = [0] srcs = [] dests = [] src_sqs = [] src_sqs_old = [] src_texts = [] src_texts_old = src_texts = [] src_freq = [] src_cur = [] src_last = [] dest_sqs = [] dest_sqs_old = [] dest_texts = [] dest_texts_old = [] dest_freq ...
[ "qiuhuilian1991@gmail.com" ]
qiuhuilian1991@gmail.com
78bdeb60776945af0767cacef1889faf05164dbc
b233b6461bb7af4d8b64275f740668ec3836c51e
/floydNumber.py
63687fbf853c71be46bf3b0af41370953581666c
[ "MIT" ]
permissive
shubham2704/codes_instagram
212821128582ba59a4e6405eab1278c2ce2f0937
c95aab74aabb4af9d4baa5c7b26698d8f77a95eb
refs/heads/master
2022-11-24T17:51:04.035629
2020-08-05T14:43:16
2020-08-05T14:43:16
269,327,521
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
n = int(input("Enter the number of rows in floyd's triangle")) a = 1 for i in range(1,n+1): for j in range(1,i+1): print(a,end='') a+=1 print()
[ "cool.shubham2704@gmail.com" ]
cool.shubham2704@gmail.com
b51ac12b70717c54b15760648a95a50bb8013523
b36c065d9fe10a6a9bf42415f3a716565ba26756
/old_code/basicdatas/dicts.py
e4c860a52e2b343ae12c7d32c9bedfb1cc78cc21
[]
no_license
fanghongbin/nmc_met_class
a447255ce43b2b8f33ee2db584e55483ce68d82c
b59e5ab68c47d83c70c0d7081ca23dce72bf8c75
refs/heads/master
2022-02-13T05:25:40.201333
2019-05-09T06:54:58
2019-05-09T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,942
py
#!/usr/bin/python3.6 # -*- coding:UTF-8 -*- import mymethods.str_finder as finder gds_station_data_element_name_id = { "经度":1, "纬度":2, "测站高度":3, "测站级别(short)":4, "测站类型(short)":5, "气压传感器海拔高度":6, "温湿传感器离地面高度":7, "温湿传感器距水面高度":8, "风速传感器距地面高度":9, "风传感器距甲板平台高度":10, "风速传感器距水面高度":11...
[ "liucouhua@163.com" ]
liucouhua@163.com
1d02c0f0e5fd0054fcf5b645522e66c08cbcd8c7
4bbf8034ddc885d7d153625b3f7514cecae512ae
/SINGLY_LINKED_LIST.py
82840c1e839a2ac7bcc581078d27ce023b998403
[]
no_license
vampireStromx07/linked-list
23c3c510205947eb9f35e8c990f3144482f5c56b
10b45352002d07cad492b126e712e9d7955889ee
refs/heads/master
2022-12-15T20:34:34.860736
2020-09-17T06:52:17
2020-09-17T06:52:17
296,243,456
0
0
null
null
null
null
UTF-8
Python
false
false
5,426
py
# program for linked list # SinglyLinkedList class node: # this will create a node def __init__(self, data): self.data = data self.next = None class SinglyLinkedList: def __init__(self): self.head = None # this will be head node self.numOfNodes ...
[ "noreply@github.com" ]
vampireStromx07.noreply@github.com
44700434fd4cdec1476966e21bc25efef89394b2
314807ffb26beca108ba13287938dd48d94f24ed
/contrato/apps.py
133fca6783c6c4d61680fd926700c10fefdd282b
[]
no_license
pacok/PruebaEnr
baa1829eafa5aca345e0690110c07b8b22cd18fc
866409fd982b772fc457062a9c2f7cee7e7e5512
refs/heads/master
2020-03-21T11:43:35.879638
2018-06-24T22:42:51
2018-06-24T22:42:51
138,519,124
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class ContratoConfig(AppConfig): name = 'contrato'
[ "pacocamas85@gmail.com" ]
pacocamas85@gmail.com
5f2cd0a19c39911ec4ee3506692f2aaf89cb099f
3d8a2d2124c484a7ac81835296c0a8834af8df6e
/one/prompt/init.py
7b8fdc2da8a08af92d6fca59fb204653d241e2e2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
DNXLabs/one-cli
e067a2a9d49c61494abcd9ba4b63626f656cdbb9
37265189ab184e6fa7569c201b181ba5d95a0a2a
refs/heads/master
2022-12-14T09:15:32.052749
2021-09-16T00:08:35
2021-09-16T00:08:35
253,417,937
7
1
Apache-2.0
2021-09-16T00:08:36
2020-04-06T06:51:25
Python
UTF-8
Python
false
false
1,955
py
from one.docker.image import AZURE_AUTH_IMAGE, GSUITE_AUTH_IMAGE, TERRAFORM_IMAGE CREATION_QUESTION = [ { 'type': 'input', 'name': 'create', 'message': 'Do you want to create workspaces now? [Y/n]', 'default': 'Y' } ] IMAGE_QUESTIONS = [ { 'type': 'input', ...
[ "arthurbdiniz@gmail.com" ]
arthurbdiniz@gmail.com
1e14a12fb0353af32a9218ab79645ee9b390dfb1
51554f9c49231e4a0c7a0356456050e927ce2884
/accounts/views.py
901b9709e55d1d06d857e863436a139628cc653d
[ "Apache-2.0" ]
permissive
geoffreynyaga/ANGA-UTM
10a2958e172faad66e414b561ec035a2162571e7
68d3033529490d3fb57ac727c8c2a2f77fcffae6
refs/heads/master
2022-12-09T18:30:25.622423
2022-01-10T18:07:29
2022-01-10T18:07:29
232,053,896
8
3
Apache-2.0
2022-11-22T03:59:59
2020-01-06T08:10:06
JavaScript
UTF-8
Python
false
false
4,576
py
from django.shortcuts import render from django.contrib.auth import login, logout from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.models import User from django.contrib.auth.mixins import LoginRequiredMixin from django...
[ "noreply@github.com" ]
geoffreynyaga.noreply@github.com
69996a44f24cbfa09ce1c8ed3af02287be65387f
62d6fae8a4a87a3fcf1f513f59be0fc06bed2cd9
/B13/A'.py
1110c59c66c47584ea964310cc61267f93b4adea
[]
no_license
tsub/atcoder
878bdd3d4f1e4d14245e2604860cd5db548dfea9
9f4bd29f89dc2c39146c2fbfe84ed6c4f3d4ade2
refs/heads/master
2021-01-02T09:14:15.616037
2014-12-13T14:26:44
2014-12-13T14:26:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
print ["A", "B", "C", "D", "E"].index(raw_input()) + 1
[ "nor.known.to.life.51122@gmail.com" ]
nor.known.to.life.51122@gmail.com
d2a5cb571e2cb8f533bc23fe4059f396c6a4d194
1e37b2c02b462689e7468d58cacff1167951294a
/class inherance 2 do 1 1do 2.py
c39deaddc1a49173433b5e60cda82752e56452b1
[]
no_license
MProMikolajczyk/Python-script
43f00706959996b1e97980adcba19d47103f4480
7512c8b1aac65ba6a652d81dfed301bf2fb7b830
refs/heads/master
2023-04-12T23:17:39.195642
2019-04-02T13:04:54
2019-04-02T13:04:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
class Employee(object): def __init__(self, name): self.name = name def greet(self, other): print "Hello, %s" % other.name class CEO(Employee): def greet(self, other): print "Get back to work, %s!" % other.name ceo = CEO("Emily") # zdefiniowanie pracownika Emily, wykonanie polecenia init emp = Employ...
[ "marekmikolajczyk87@gmail.com" ]
marekmikolajczyk87@gmail.com
fa09ff4b64386bcb5a0fe8d33436793ee2d37e6b
633ae9d33ca81991b18c589abf246bec3dbec33c
/eventex/subscriptions/migrations/0001_initial.py
de9bbee8f210ce81ebabfd82161bee80a6d35566
[]
no_license
izaguerreiro/eventex
e2b812ffdac26b820d957d7b35121b27f802e20b
d8ead2d5a906a39cdaa55ffa6949321cd56fd1b9
refs/heads/master
2016-08-10T20:18:36.781515
2016-03-06T19:05:43
2016-03-06T19:05:43
49,826,462
1
0
null
null
null
null
UTF-8
Python
false
false
807
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-02-07 16:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Subscript...
[ "izaguerreiro@gmail.com" ]
izaguerreiro@gmail.com
daeade6f715afe5c0ed4936a572a5099f1f1ffce
0c773120fa14e2ff192139adc151c45b8056bb91
/ssrnai/views/percevejo/percevejo_sequence.py
ac6f07b4c996e563ca0546d77a2aede0faa20b38
[]
no_license
marcelo-soares-souza/gbp
b9c7c575c8ed0e52859011c28037037a7f9629b0
24c1945f162eb0f5f7f62379fafea37755b74fa0
refs/heads/master
2021-12-02T10:58:46.169309
2021-11-24T13:16:25
2021-11-24T13:16:25
92,402,805
2
0
null
null
null
null
UTF-8
Python
false
false
870
py
from django.views.generic import DetailView from ssrnai.models.percevejo.percevejo_dsrna_information import PercevejoDsrnaInformation from ssrnai.models.percevejo.percevejo_gene_information import Percevejo_Gene_Information from ssrnai.models import Database class PercevejoSequence(DetailView): template_name = 'p...
[ "doglasparise@gmail.com" ]
doglasparise@gmail.com
ece9f316a0fefeadcadb2e990278059d95d89c1d
dfd9242399e5ab22c6bc1001d85d40a188b6e9c8
/base.py
27609ea14551d69608b4189ba898fb5271e6270d
[ "MIT" ]
permissive
OwenLeng/PathFakeGit
790f3fa42e31214df5f83b62fe29873bd280a166
908326efd46c31f2b7b7837f0a5f4b557eb99f78
refs/heads/main
2023-03-29T05:36:31.976608
2021-04-02T10:11:50
2021-04-02T10:11:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# 一些基础常见的代码 from config import * import random import numpy as np # 为随机数产生函数设置固定种子,便于实验复现 def setup_seed(seed): torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) np.random.seed(seed) random.seed(seed) torch.backends.cudnn.deterministic = True # 根据max_len为列表补齐,如果没有指定max_len,则根据数据自动计算 def p...
[ "zperfet007@gmail.com" ]
zperfet007@gmail.com
910d4ad967a26c438eceeb266e4f0d924120ea93
592729cad6ab341e2abd1bb1055e8ac99dcf0784
/src/differentiation/types/Expression.py
25f008c789dee3ddbbf942a40f13147f14fc33a6
[ "MIT" ]
permissive
YihanKim/derivative
8240fdea8b0830014750ae51e624cc896f88d048
2865a82388efb04decedab09a05a99b06aed933f
refs/heads/master
2020-04-29T04:05:41.230312
2019-03-15T16:42:41
2019-03-15T16:42:41
175,835,556
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from abc import * class Expression(object): @abstractmethod def __init__(self, value): self.type = "expression" @abstractmethod def __repr__(self): return "" @abstractmethod def evaluate(self, env: dict): return 0 @abstractmethod def gradient(self, var: str):...
[ "kabi@kaist.ac.kr" ]
kabi@kaist.ac.kr
0177cede3a8b28b7b2aff2d72fce4ffb56adc509
4a2812a69059c7c5905e7aa70026d6863d046f7f
/gdp.py
2e861951f6a944d03a6ff25b15553bf2ced28e1c
[]
no_license
cuilji/learn-py
9a9b67f4e5cc87ee3d0f1f2cb46d1dc4ce0d5be4
d867d6d2ecfa0099f1aa0548ac2ff3855495de10
refs/heads/master
2020-06-07T17:31:37.751772
2018-10-09T10:50:32
2018-10-09T10:50:32
14,684,308
0
0
null
null
null
null
GB18030
Python
false
false
194
py
# -*- coding: utf-8 -*- #2000年gdp10万亿元 #unit 亿元 gdp=340903 #Year2017gdp=827122 for year in range(2010, 2046): print('Year' + str(year) +':'+ str(gdp*1.08)) gdp=gdp*1.1
[ "cuilji@163.com" ]
cuilji@163.com
9791a65f02a98f974e83315b8ae98a66d0308a9d
74b667802f795a45743c390511dac4deb05a56b6
/src/ltpl/associate_embedding/ae.py
373fa63d3dbfb80f793d2c77ef4c3472d9c300a0
[ "BSD-2-Clause" ]
permissive
DuinoDu/ltpl
fe7b4d5dc429638e644d88ee14e7b22c1ada54d1
d5bacaed539f2118b8054c58afedfc4ca8dc6ba6
refs/heads/master
2021-01-02T18:30:21.577452
2020-02-11T11:20:09
2020-02-11T11:20:09
239,744,199
0
0
null
null
null
null
UTF-8
Python
false
false
4,758
py
# -*- coding: utf-8 -*- """label-target-predict convert utility in pose task""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np __all__ = ['Encoder', 'Decoder'] class GenerateHeatmap(): """ ...
[ "min.du@horizon.ai" ]
min.du@horizon.ai
cdb2b31f8a4c2e0d5d6375db41784375b733313b
fe813d91aa9e7ca6a68992419b9a10fe3042fbfc
/2.control_flow/continueStatements.py
268885a1339b82019764b277b5b6ed30681b4b48
[]
no_license
helmigandi/belajar-python
90ba217431792de5c56f585b478b06aa5c8604e0
068cfef94f1e996a87e0d58da6fe4b762bc7d9c0
refs/heads/master
2022-03-11T08:53:02.739725
2019-11-28T10:43:34
2019-11-28T10:43:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
# The continue statement, also borrowed from C, # continues with the next iteration of the loop: for num in range(2, 10): if num % 2 == 0: print("Found an even number", num) continue print("Found a number", num) # Found an even number 2 # Found a number 3 # Found an even number 4 # Found a num...
[ "sugandihelmi@gmail.com" ]
sugandihelmi@gmail.com
ee6503afdf41e84a97286eeb85e6c01d02098750
17084c0f57095ea6cd7ce242b16ec9d8cd18442c
/__init__.py
69b736e1133ccf7aa1a1ebc489368519e8082113
[]
no_license
zishan0215/simple_banking_program
1fc096a3c489ebe80b4fd73125e88b017e10b8d4
e13f2420d3e55c0875b48aa354da963873c8dbc3
refs/heads/master
2021-05-28T23:18:30.021411
2014-06-30T15:02:18
2014-06-30T15:02:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
import sqlite3 if __name__ == '__main__': con = sqlite3.connect('bank_data.db') con.execute(''' CREATE TABLE bank (id INT(11) PRIMARY KEY, name VARCHAR(40) NOT NULL, location VARCHAR(40) NOT NULL, capital DOUBLE NOT NULL, customers INT(11), employees ...
[ "zishanahmad@outlook.com" ]
zishanahmad@outlook.com
9ab213f1250f7ee72910eff49250c80c7409c0f6
50258fa1da842ed44ebd53d612a530424dc35ff2
/Clones/Project/24.1.1_UltrasonicRanging/UltrasonicRanging_1.py
827c7d2274576e87bd187ff8aa74c72f9ec43699
[]
no_license
bnnk/PyKit-Project
26230d2d2c58972a2423ed1f2d4478f92f93629d
fac511c342b2b844e7843f4aeb90b1cbc3d50cf4
refs/heads/master
2020-05-20T19:54:35.343331
2019-05-13T15:14:59
2019-05-13T15:14:59
185,733,381
2
0
null
null
null
null
UTF-8
Python
false
false
2,206
py
#!/usr/bin/env python3 ######################################################################## # Filename : UltrasonicRanging.py # Description : Get distance from UltrasonicRanging. # Author : freenove # modification: 2018/08/03 ######################################################################## import RP...
[ "root@projects@caramelinux.com" ]
root@projects@caramelinux.com
b9b49b32098120d98e1c3780520463075447b77e
61658c8225fc0a55ec96634fba9f90d382bd7292
/deep_Q_trader/deepSense.py
7134510c2390e433c00ee55f7225f4fdef775df6
[]
no_license
chpark17/rips_realai
03eb45fb389cbd47d222b0c64e457385f207879f
2c2c7815997d4d87dbc2a960cfb1764560716ea8
refs/heads/master
2020-03-22T02:51:46.295029
2018-11-05T17:35:07
2018-11-05T17:35:07
139,397,759
0
0
null
null
null
null
UTF-8
Python
false
false
13,451
py
''' This file build the DeepSense network (unified deep learning network for timeseries data). more info: https://arxiv.org/abs/1611.01942 ''' from os.path import join import tensorflow as tf from constants import * class DropoutKeepProbs: '''Defines the keep probabilities for different dropout layers...
[ "noreply@github.com" ]
chpark17.noreply@github.com
be03e65bb1bd8709380574f85dccabf81c26111e
70626b98af60711d90b123b6794d865aa18188c2
/bin/salt-ec2
95ca4f247ee1570a02ae3d18ae948eedc440c04b
[]
no_license
svanderbleek/salt-ec2
0baaac6e901c6b19023207f3b36c6b750fb5c7e6
334c159e675dc51f24940bde4e6ebfc3b626151a
refs/heads/master
2021-01-20T02:47:50.053971
2014-05-06T05:42:55
2014-05-06T05:42:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
#!/usr/bin/env python3 import sys print(sys.path) from optparse import OptionParser from list import list COMMAND = 0 LIST = 'list' parser = OptionParser() options, arguments = parser.parse_args() if arguments[COMMAND] == LIST: print(list())
[ "sandy.vanderbleek@gmail.com" ]
sandy.vanderbleek@gmail.com
8180fbd10f5256573414b21160903a875eff5713
460e0437f27d907a176db5cd48747fd81641e5d2
/blog/blog_main/migrations/0007_auto_20180311_0950.py
9db0bee0d0e59548562e904b571d4d8a143da862
[]
no_license
lmishra92/trial-blog
0204093174854b8fd7eb4b7c871ead5628ae9389
958495518965ac74aeb38d4736784daf847269a9
refs/heads/master
2020-03-08T19:52:20.257696
2018-04-06T08:14:10
2018-04-06T08:14:10
128,366,605
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# Generated by Django 2.0.3 on 2018-03-11 09:50 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog_main', '0006_auto_20180311_0941'), ] operations = [ migrations.AlterField( ...
[ "leninmishra@Lenins-MacBook-Pro.local" ]
leninmishra@Lenins-MacBook-Pro.local
91e4edc5e3f39d47b5755501b164a77c38a958c6
4f5992128863f14cde2fb288b565f5876a93ed74
/Linearregression.py
d62f82f36da7f794a60995b644d1bc04e6ab35cf
[]
no_license
SAdiA259/TensorFlow-sales-price-prediction
1e077d9e202f8ac01dfc33eafea2585934003a79
566decb7d711b5d324b2be70935c835201fa8bd7
refs/heads/master
2020-04-02T18:07:55.576118
2018-10-25T14:43:51
2018-10-25T14:43:51
154,687,610
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
## linear regression ## housing pricing based on square footage and price import tensorflow as tf import numpy as np ######################### def inference(x): W=tf.variable(tf.zeros([1,1]) b=tf.variable(tf.zeros([1])) #we only have X1 so only w1 y=tf.matmul(W, x) + b return ...
[ "noreply@github.com" ]
SAdiA259.noreply@github.com
f9fc3d814e724c65a64fff06d24280e15556de5e
296fbb93183c61bf67731237db84969717333dff
/app/auth/email.py
dfda10f6a108ed645f60dfee4dbbf07b51d867b3
[]
no_license
LeviFriley/melly
5df0cb517e3797df0dd04858c900ea8fa5fef78b
d005dae71b5d9f5bbcfbc64f67572c720ac23d70
refs/heads/master
2020-04-12T00:47:23.301364
2018-12-18T01:31:49
2018-12-18T01:31:49
162,212,264
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
from flask import render_template, current_app from app.email import send_email def send_password_reset_email(user): token = user.get_reset_password_token() send_email('[Microblog] Reset Your Password', sender=current_app.config['ADMINS'][0], recipients=[user.email], ...
[ "JMILLER@ad.hc-sc.gc.ca" ]
JMILLER@ad.hc-sc.gc.ca
183ff6a161b4d65edd2fa062a2d549ba9b3d089f
6d8e97eda1aa4d64f38f4812ed49785b54db1108
/P3LAB_ Brower.py
4cef93d98fc070a25766ecf8a5241ae1aad54534
[]
no_license
browerd0686/CTI110
7f5c457f86576a67841538515cfd8de49538adb3
26d46d36c70d9e67aa4079733001c706c77eb097
refs/heads/master
2020-06-09T08:52:40.027427
2019-07-18T04:51:29
2019-07-18T04:51:29
193,412,711
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
#CTI-110 #P3HW2-MealTipTax #Darrius Brower #July 1, 2019 def main(): # This program takes a number grade and outputs a letter grade. # system uses 10-point grading scale A_score = 90 B_score = 80 C_score = 70 D_score = 60 score = int(input('Enter grade: ')) ...
[ "noreply@github.com" ]
browerd0686.noreply@github.com
23dc496b373f870ec52009d414579d71d99fa082
8807958eab34f289cc8b1b07e180af757bde7124
/design2/test_LineClassifier.py
75cb3a10fcec6095c64c62655aa304d8f43531da
[ "BSD-2-Clause" ]
permissive
davidjamesbeck/IJAL-interlinear
4f34cbb8626403f7bc52db96f0349d10ca2ce674
cb5dbb1d6aea98cce76668aa868a9189f31baf3f
refs/heads/master
2020-03-30T11:00:46.001171
2018-10-01T13:50:02
2018-10-01T13:50:02
151,148,840
0
0
BSD-2-Clause
2018-10-01T19:45:38
2018-10-01T19:45:37
null
UTF-8
Python
false
false
3,028
py
import re import sys import unittest from Line import * from LineClassifier import * import importlib pd.set_option('display.width', 1000) import pdb def runTests(): test_recognizeDegenerateLine() test_recognizeCanonicalLine() test_recognizeWordsAsElementsLine() test_MonkeyAndThunder_allLinesRecognized...
[ "paul.thurmond.shannon@gmail.com" ]
paul.thurmond.shannon@gmail.com
f82142f8ab4d086608ecc4d6aacb5d1a406d734f
82876a61eea81cff32645c1710b782f517ce5e39
/web_flask/6-number_odd_or_even.py
ba38024d292c8da1559824b9993e033dba02bd19
[]
no_license
fabo893/AirBnB_clone_v2
40f0b98b3adf9d30f2e4463e7cf6d98c9ba570a8
4291a545f5000634fb5cb869622fc5304cb16a07
refs/heads/master
2023-04-30T14:04:47.988445
2021-05-06T04:03:54
2021-05-06T04:03:54
352,668,747
1
1
null
null
null
null
UTF-8
Python
false
false
1,152
py
#!/usr/bin/python3 """ Hello Flask! """ from flask import Flask from flask import render_template app = Flask(__name__) app.url_map.strict_slashes = False @app.route('/') def hello(): """ Hello method """ return "Hello HBNB!" @app.route('/hbnb') def hello123(): """ Second hello method """ re...
[ "jose.rosa893@gmail.com" ]
jose.rosa893@gmail.com
c8993094f9d2a2dc0b4efbab9bd24ba07604c836
100b1c92f183f73587333e47b8f9b81549af506c
/py/9-bsk-vol.py
4eef3170a9fd0f1b2a2a034359c914adcb33528c
[]
no_license
jacob-vintercapital/finplot
0f437036c0ed0df9a7753cbe0b4145af0af2e229
dbfc7b04e6af020b5b215df82ed22591dda0062d
refs/heads/master
2020-04-13T00:54:24.367982
2019-01-05T09:08:01
2019-01-05T09:08:01
162,857,329
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# volume over time vol_bsk_mat = pd.concat([v1, v2,v3,v4,v5,v6,v7,v8,v9], axis=1) vol_bsk_mat.mean() vol_bsk_mat.std() # probably not so much interesting to analyze here.
[ "jacob@vinter.capital" ]
jacob@vinter.capital
336596f8b1107bad9b40d7d8cfeca12511d7e557
786b1022d40f380b1122bcc6643e68c7cbfc9a4a
/healthcarebooking/models/association_company_profile.py
cfee8754a049b4ebb973fa6b0e857a3184476117
[]
no_license
pvnguyen123/healthcare-booking
73440a872eaf4506a0c77f51b533d38ff6088a21
35d567b3b778b56baf669c20abeb5ba375e98fbf
refs/heads/master
2020-03-28T19:06:04.118346
2019-04-28T20:15:10
2019-04-28T20:15:10
148,944,143
0
1
null
null
null
null
UTF-8
Python
false
false
606
py
from healthcarebooking.extensions import db from sqlalchemy import ForeignKey, Column, Integer, Enum class AssociationCompanyProfile(db.Model): """ Basic company and profile assosiaction """ __tablename__ = 'association_company_profile' company_id = Column(Integer, ForeignKey('company.id'), primary_ke...
[ "hpnguyen@hpnguyen-mn2.linkedin.biz" ]
hpnguyen@hpnguyen-mn2.linkedin.biz
463a1280db30c028900eec59f794147f96e50fbb
680d3da3e38bb97282a3a26822a24f336874ad69
/Generators/fibb.py
83eb7ec4bf9cc9fa141d50eb0d224b9c871d9deb
[]
no_license
sinhasaroj/Python_programs
9384efef26ce4e1b1e04d8725e8826120b66640a
e89148acbe852776993912e8e01b2cdc5f5bcb4c
refs/heads/master
2023-06-14T00:17:27.354045
2021-06-30T19:28:52
2021-06-30T19:28:52
338,111,288
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
def fib_gen(): a,b = 0 ,1 while True: yield a a,b = b , a+b g = fib_gen() for x in g: if x<10: print(x) else: break
[ "saroj.sinha@hpe.com" ]
saroj.sinha@hpe.com
f3400af8343d019f8d5a1257bf176ef20d2d7882
97d85e2958de5b413202f89154f564f7c8994b83
/springmesh/render/__init__.py
8b04ed234af4d9c161276e2d0f67a9b01ee98f84
[]
no_license
afcarl/pyspringmesh
ea25a943bf1e7384e888c5dc51386a03c5c9435f
08da6bf9ca3a989829e07a190b9a34c487b0a0d3
refs/heads/master
2020-03-16T23:25:49.064570
2016-08-23T19:45:58
2016-08-23T19:45:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
#!/usr/bin/env python from . import mpl __all__ = ['mpl']
[ "brettgraham@gmail.com" ]
brettgraham@gmail.com
bc4b797ce75320ec275ba50b7afce28607e27cee
d951d8c7350caf61f9dfe655e8a1a1ef49ec4a07
/vagrant_files/generator/files/databases/blueflood_cl1_rf1.py
0ca0de818889385b81763bf19fb873c358559e53
[ "Apache-2.0" ]
permissive
TSDBBench/Overlord
9e73d022a732e3a3ef0ec6e83059b3d117579c61
d72b6927ceaf6631f5b07f411e34bec9904158c4
refs/heads/master
2020-04-11T08:05:32.384466
2019-07-14T15:50:10
2019-07-14T15:50:10
50,924,051
7
6
null
2017-11-27T11:34:51
2016-02-02T13:57:02
Python
UTF-8
Python
false
false
6,363
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- __author__ = 'Andreas Bader' __version__ = "0.01" # db_folders -> List of DB Folder (for space check) # db_client -> name of ycsb client # db_args -> special ycsb arguments for this db # db_name -> name of this db (e.g. for workload file) # db_desc -> more detailed name/...
[ "Development@Geekparadise.de" ]
Development@Geekparadise.de
3859fc5a3b03eb2dfd040e427911496d4abbaaf1
009d22a0747066c265305440f135d5c429aeffe3
/src/constants.py
d232ecdcdf765e6ba3b81f9e3dfe68600c7991e5
[]
no_license
ekeimaja/Helikopteripeli
936ab005a7fcf4eb5bcad296d3cdb7bb49cac837
f3baad8b5832e74649cdc4d0a29378925afc4e2e
refs/heads/master
2020-04-14T13:42:45.015920
2019-01-02T20:04:08
2019-01-02T20:04:08
163,876,587
0
1
null
null
null
null
UTF-8
Python
false
false
399
py
# Size of the window SCREEN_WIDTH = 1200 SCREEN_HEIGHT = 800 # Title TITLE = "Helikopteripeli" # Default friction used for sprites, unless otherwise specified DEFAULT_FRICTION = 0.2 # Default mass used for sprites DEFAULT_MASS = 1 # Gravity GRAVITY = (0.0, -900.0) # Player forces SPEED = 700 # Grid-size SPRITE_SI...
[ "ekeimaja@gmail.com" ]
ekeimaja@gmail.com
33d564ecf9223da57b4dcd6e298a319deba53c72
7686153caa2fa89945e7371730e495f7892fa098
/10k/parser.py
7de5f2247de7041affde5a9ea13655c6bd0163e3
[]
no_license
kellbot/raceresults
1c88fd913c6e514f606f04c028209d6af699d488
db1fac0c4a2639721e6944e125e2817522bf9441
refs/heads/master
2021-01-25T06:36:33.330837
2015-01-15T14:49:10
2015-01-15T14:49:10
29,168,273
0
1
null
2015-01-14T21:25:56
2015-01-13T02:16:09
Python
UTF-8
Python
false
false
673
py
import csv from lxml import html import glob import os os.chdir('C:/Users/kellb_000/Dropbox/Hacks/Racedata/Philly10k/') for filename in glob.glob("*.html"): file = open(filename) filestring = file.read() tree = html.fromstring(filestring) table = tree.xpath('//table[@class="results_table"]/tbody/tr'...
[ "kellbot@gmail.com" ]
kellbot@gmail.com
65e8c6a127e9108978754864f271acc452e47fae
19ee9842a574b805625bd0b1f9c32c6fe13757b4
/vgg_real_nvp_augL.py
7a864f4c4e0144b714da15552152c5dd03f529ea
[]
no_license
gabloa/max_ent_flow_nets
cb58b21d79c3708fbe8d619f1242dc03ed8e50df
0036440df54651de558575e7a279379040e3f1e0
refs/heads/master
2020-03-27T08:28:59.860834
2018-08-27T07:01:22
2018-08-27T07:01:22
146,259,118
4
0
null
null
null
null
UTF-8
Python
false
false
8,740
py
# coding: utf-8 # ## MEFN with real-nvp as generative model and gramian of vgg as penalty # # * Note: You will need to download a pre-trained vgg network from, for example https://github.com/ry/tensorflow-vgg16/raw/master/vgg16-20160129.tfmodel.torrent, then set the vgg_path # # * Seems that VGG network is tailored...
[ "noreply@github.com" ]
gabloa.noreply@github.com
b7b81ee4c177b6e2d2700f4cd7c058e8943527a8
9e4f8dc4ca6ee60a30ab3138fa8a4787d7b20894
/src/devng/adventofcode/day04/day04_test.py
066e10e3aa86f8e8004e36cedaaf55f71f6c8818
[]
no_license
devng/code-puzzles
8eadbd454a73e97b22bae8449fb6f50d8f3a3e88
6052e5ec2b54a97a6a519ad08e11562be642b278
refs/heads/master
2021-01-10T12:00:59.211228
2020-04-20T19:04:41
2020-04-20T19:04:41
47,743,152
2
0
null
2015-12-17T12:40:45
2015-12-10T06:40:27
Python
UTF-8
Python
false
false
833
py
#!/usr/bin/env python from day04 import * import unittest class Day04Test(unittest.TestCase): def test_check_num(self): b1 = check_num("abcdef", 609043) self.assertTrue(b1) b2 = check_num("abcdef", 609) self.assertFalse(b2) b3 = check_num("pqrstuv", 1048970) sel...
[ "n.g.georgiev@gmail.com" ]
n.g.georgiev@gmail.com
bea68a9dceb3f06bebb451ac472acfe6b03e99e5
8d4b737885446ccd40628d6a546a141d5e84e5b4
/Topics/1_migrating_your_DNN_to_candle/migrated/cc_t29res.py
e70863dc52fe408f8b5d6d8a0220184510c86a3d
[ "MIT" ]
permissive
brettin/candle_tutorials
3afabd6ba12a9ee2353bd5166d0d0278d79e28ef
18315a41cf51cbcb267fb78a2e02ffe82d2fc42b
refs/heads/master
2021-04-28T03:12:17.942290
2018-10-19T16:34:16
2018-10-19T16:34:16
122,134,363
5
0
null
null
null
null
UTF-8
Python
false
false
15
py
../cc_t29res.py
[ "rajeeja@gmail.com" ]
rajeeja@gmail.com
2674d077dcd3e48cf5445537f600e6171777c48d
3f7c4de996894d83f0e999ab9e60302be5ab195f
/tests/test_fleet_telematics_api.py
08355ed115f5e5d2e7b808128cec81a2981e98ee
[ "MIT" ]
permissive
tungson-pm/HerePy
3f18ffddd181434c63f94abe67844c0fcb02747d
a9e2797f251ff157cf89cfae7c1605833bfee75f
refs/heads/master
2022-12-25T06:08:21.880054
2020-10-05T19:54:51
2020-10-05T19:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,376
py
#!/usr/bin/env python import os import time import unittest import json import responses import herepy class FleetTelematicsApiTest(unittest.TestCase): def setUp(self): api = herepy.FleetTelematicsApi('api_key') self._api = api def test_initiation(self): self.assertIsInstance(self....
[ "abdullahselek@gmail.com" ]
abdullahselek@gmail.com
0f8cf966aae1157f8e50d5b1881785a10dc5234f
0e828ab12c61d98e9c4b6d8418efe1f6130cf3db
/src/utilities/local/metadata_appender.py
8665a65d8637bae82be5aed26a788f1f076eb990
[]
no_license
chrisioa/sensiot_nsq
60b220ad0bb4b4e70a60b90e6687119f9729a0e6
df68cd8c4597654280f55edfd21ded9f0af085dd
refs/heads/master
2020-04-20T06:12:08.016503
2019-02-01T15:59:45
2019-02-01T15:59:45
168,676,224
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
import json import logging import os import threading from queue import Queue from utilities.local.meta.data import SensorData logger = logging.LoggerAdapter(logging.getLogger("sensiot"), {"class": os.path.basename(__file__)}) class MetaDataAppender(threading.Thread): def __init__(self, name, event, input_queu...
[ "christos.ioannidis@stud.uni-bamberg.de" ]
christos.ioannidis@stud.uni-bamberg.de
5c9294596c8b7541d47e59cdd745759a227a0016
0fc891df6703ce3f91fe6005a6c582e573ed6c13
/CWMT/user_login/migrations/0014_auto_20170811_1310.py
95bd102bb078e1dc0a79ceb9075876bc60596027
[]
no_license
Zeco-01/CWMT2017-REG
ce155343575d3b8b49eda584b40bdd1716368e38
5e71ddc38f3020d1582d0b38f2f8d0eace615b88
refs/heads/master
2021-01-02T22:19:25.372629
2017-09-18T06:46:11
2017-09-18T06:46:11
99,318,036
1
1
null
2017-08-11T15:17:24
2017-08-04T07:47:43
Python
UTF-8
Python
false
false
568
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-11 13:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_login', '0013_auto_20170811_1306'), ] operations = [ migrations.Remove...
[ "leezehua@outlook.com" ]
leezehua@outlook.com
a85cc8cf2b49e89ca79b5d93c0af0d7e1dcec4ee
c55083d8a23a9d093b677066a5a827634c09357b
/chstrings/__init__.py
39796432eff779705b6f260f03ae6661e1d07d2b
[ "MIT" ]
permissive
earwig/citationhunt
211a44c7bdb67e675872ca44aeae982d33fcf359
b6084d2958989c9082db7a8d4556a4e51b78bdb3
refs/heads/master
2021-01-15T16:11:11.563650
2016-07-21T11:08:43
2016-07-21T11:08:43
62,332,946
1
0
null
2016-06-30T18:16:46
2016-06-30T18:16:46
null
UTF-8
Python
false
false
1,902
py
import flask import os import json def _preprocess_variables(config, strings): in_page_link = flask.Markup( '<a target="_blank" href=%s>%s</a>') strings['in_page'] = \ flask.Markup(strings['in_page']) % in_page_link if config.lead_section_policy_link: lead_section_policy_link = fl...
[ "guilherme.p.gonc@gmail.com" ]
guilherme.p.gonc@gmail.com
88947f254667961bbc58029408578caa53ee40e6
ad2b21450f3e13fcc1a552b52cf16dc9c4667bf1
/mysite/mysite/urls.py
d3d09581af7ddbde74a1462b6d0b8982dbdb0760
[]
no_license
masummist/django-
dcdb9d29ac43be0369013999d3d5742d7a1218ff
e727941f74ca6ca0b8238bdc1bda96b4464b4587
refs/heads/master
2020-05-20T11:56:32.490328
2012-11-11T17:36:15
2012-11-11T17:36:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
from django.conf.urls import * from django.contrib import admin ##admin.autodiscover() ##from mysite.book import views # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', (r'^$', 'blog.views.index'), ...
[ "mm200716024@gmail.com" ]
mm200716024@gmail.com
d6a3abae49cb2cd634fa86b7f02cb8cb1d23251b
c4b4d340558d31b5bcf91695fffec19718f4ff2b
/05二叉树/001二叉树深度.py
7ef4ea5b4f51bc7cd96cd91f59bca53fffadbdee
[]
no_license
sjtupig/algorithm
4b334aa7f9319e644979fac0b9f506b4861b99ed
7ecf1336348fa3dfc4a4d579b50493b268e5ec26
refs/heads/master
2020-04-30T05:31:25.343633
2019-03-22T02:38:37
2019-03-22T02:38:37
176,628,625
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
class TreeNode(object): """docstring for TreeNode""" def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def TreeDepth(self, pRoot): # write code here if not pRoot:return 0 return max(self.TreeDepth(pRoot.left),self.TreeDepth(pRoot.righ...
[ "noreply@github.com" ]
sjtupig.noreply@github.com
db275d091a8f3f15fa4d61d6e285bc93fe0b803a
17e7928e6b6d335e121b2b863d5c878b2e9b9e6e
/classify_image.py
9df435ab3af26eca749d282759c7a274c09b6ac2
[]
no_license
alexpadraic/auto-trash
0b1748666222ab8974f4d760ca31823f36cb6343
53a23d5fcf2daffd2c362c9a245d8b72da869a59
refs/heads/development
2021-01-12T17:48:05.674854
2020-09-09T16:20:46
2020-09-09T16:20:46
69,391,095
9
1
null
2016-09-27T19:53:00
2016-09-27T19:26:51
Python
UTF-8
Python
false
false
7,995
py
# Copyright 2015 The TensorFlow Authors. 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 by applica...
[ "raj7desai@gmail.com" ]
raj7desai@gmail.com
8f0012d44f36e196f592191ec42d324b90aefd4c
164711270ae7320796890f90aeca688c27380f96
/website/setup.py
1871c41a68c6cf0a6990f97991c570a81f92d8dc
[]
no_license
runephilosof/aichallenge
2a5e90ae89af1ca9c47dc9efd940524c10ec5f20
ccd1e50b5a52eb90a81fddc29a2b4478e0c07ab0
refs/heads/epsilon
2023-04-05T01:37:58.913002
2021-04-06T09:38:58
2021-04-06T09:38:58
349,961,829
0
0
null
2021-03-21T10:29:58
2021-03-21T10:15:14
null
UTF-8
Python
false
false
1,258
py
#!/usr/bin/env python import glob import re import os def replaceMarkdown(): competition="Ants" seewikiregex=re.compile(r'(<!--<MarkdownReplacement with="([^\n>]*.md)">-->.*?<!--</MarkdownReplacement>-->)',re.DOTALL) markdownlocation = "aichallenge.wiki/" for page in glob.iglob("*.php"): t...
[ "alex@hypertriangle.com" ]
alex@hypertriangle.com
58ab631f8cfd89a1a2391594b2cd854b8a1cea02
1c80736a61d76d0e17f2a08dbf2d7730b71b278f
/game.py
aaccb40b8fb3520971e632312281b43d29a84a09
[ "MIT" ]
permissive
someshsingh22/2048-Language
fc9a0c50bcafa67683b1410ac588960cac29a6db
ca8f5280d748876adb614c39f628b2d4db7d247d
refs/heads/main
2023-08-17T13:55:01.391712
2021-09-25T18:35:08
2021-09-25T18:35:08
356,891,365
0
0
null
null
null
null
UTF-8
Python
false
false
10,753
py
import random import re from copy import deepcopy import sys from itertools import product from errors import ( WrongIndex, IdentifierExists, EmptyTileNamingException, EmptyTileQueryException, ) class Tile: """ The tiles used for the 2048 Board, contains the list of assignments mapped and valu...
[ "someshsingh9414@gmail.com" ]
someshsingh9414@gmail.com
7f2bc13f3b49ac4bb99cd8a03c9d886de3c9552c
a59d55ecf9054d0750168d3ca9cc62a0f2b28b95
/.install/.backup/platform/gsutil/gslib/help_provider.py
adf4c90d50cad5e50dfe990e242fb236c5bc9fdd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/google-cloud-sdk
bb2746ff020c87271398196f21a646d9d8689348
b34e6a18f1e89673508166acce816111c3421e4b
refs/heads/master
2022-11-26T07:33:32.877033
2014-06-29T20:43:23
2014-06-29T20:43:23
282,306,367
0
0
NOASSERTION
2020-07-24T20:04:47
2020-07-24T20:04:46
null
UTF-8
Python
false
false
3,604
py
# Copyright 2012 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 by applicable law or a...
[ "alfred.wechselberger@technologyhatchery.com" ]
alfred.wechselberger@technologyhatchery.com
c614a7b17eb2294bdf098e4b3faa84a86a3ed2d9
5143b06ce91c1640bd9622c7245d01b1ddc050c8
/generators/classes.py
be0d37403cce3550fcfaf934aea58cce1b4cc561
[]
no_license
jpraychev/code-snippets
55447f40516f834ad8ae75bc9bce7bfd036b7395
87694ec4763e75304fb3b3738029f7a113833c0f
refs/heads/master
2023-04-16T09:43:19.144942
2021-04-27T06:25:13
2021-04-27T06:25:13
340,878,553
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
import sys import random import itertools class RandomNumbers(object): def __init__(self, arr): self.arr = arr def __iter__(self): for num in self.arr: yield num # arr = [] # for _ in range(10): # arr.append(random.randint(1,100)) arr = [random.randint(1,100) for _ in range...
[ "jpraychev@gmail.com" ]
jpraychev@gmail.com
48e2d7509c3ff795db0dc5f1698c5858c5e81c7b
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-cs/aliyunsdkcs/request/v20151215/DescribeAgilityTunnelAgentInfoRequest.py
37758b4a66546675df1e6431acbd485dd825bb85
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
ce2ff9a43105c7f3fdb86d05f4e307ccfedf72bd
eff821d00430ca165effe3ec1c3f4d3ee5f84702
/spooky_author_identification/spooky_author_identification.py
60a138a8b5681722dc5084f0258ede9f0d6af986
[]
no_license
zzb5233/kaggle_project
b1e3aae9f82006fe3f45e603ed6a169343dda114
7273f65d55a27cc22b1364721c733c8b2a6f3b84
refs/heads/master
2020-04-07T08:51:18.969996
2018-12-27T13:07:17
2018-12-27T13:07:17
158,230,438
1
0
null
null
null
null
WINDOWS-1252
Python
false
false
23,760
py
import pandas as pd import numpy as np import xgboost as xgb from tqdm import tqdm from sklearn.svm import SVC from keras.models import Sequential from keras.layers.recurrent import LSTM, GRU from keras.layers.core import Dense, Activation, Dropout from keras.layers.embeddings import Embedding from keras.layers.normali...
[ "noreply@github.com" ]
zzb5233.noreply@github.com
77cfdee2094e65250b458eecb25ff296759d160d
7c1fe2e98fd11d707909463e69ca70dcc18ffe66
/files/welcome.py
89b67d2cf308a02487621067cb40e5a86fdf68fb
[]
no_license
jsunmapr/mapr-sandbox-generator
d02162db2b8b30ba455915e18082520c46fdb933
c590a4aa8fe54de9d5a729824e21bfe585c9d4a0
refs/heads/master
2020-12-31T01:36:19.952261
2015-05-07T18:12:52
2015-05-07T18:12:52
35,234,600
0
0
null
2015-05-07T17:48:52
2015-05-07T17:48:51
Shell
UTF-8
Python
false
false
3,080
py
#All Rights Reserved MapR import curses import sh import subprocess import os screen = None Width_Factor = 4 ip = sh.head(sh.awk(sh.getent("ahosts", sh.hostname().strip()),"{print $1}"),n="1").strip() if not os.path.exists("/vmware"): ip = "127.0.0.1" ssh_cmd = "" if ip == "127.0.0.1": ssh_cmd = "ssh mapr@localhos...
[ "jsun@mapr.com" ]
jsun@mapr.com
8a42618209e10302a03f5103172cce045ca6d684
7ba571fba2a15f1e1da98ec996776549d6897696
/trainings/Baseline_RNN_Y10/TR014_MV03R00_OV01R00_DP02R00_riskm_full.py
d02df016ad13a85dd44dd28620095c1fbb8369aa
[]
no_license
schorscho/RiskM
8b1ca176bf24c216a0bc6c1045a3daba94ec2a76
57dd3f0be5afafc99da79978cc9328db45e515e2
refs/heads/master
2020-03-11T20:48:12.368465
2018-05-07T08:51:35
2018-05-07T08:51:35
130,244,554
0
0
null
null
null
null
UTF-8
Python
false
false
11,277
py
import sys import os import pickle from time import time from math import sqrt from shutil import copyfile import numpy as np import pandas as pd import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from sklearn.metrics import mean_squared_error from sklearn.preprocessing import StandardScaler f...
[ "georg.opora@gmail.com" ]
georg.opora@gmail.com
090349fdd15c156fdcb78086468aea359e3a8768
b00ff7ad874565b3c53ac0d1192c4677ed27a3c9
/traslation/test2.py
4c27bcb1676eaa8072b93e2e64b24ae6309da4e1
[]
no_license
XieYanJY/Python-study
be7dea2262035327baee8d6d65fc661c7e169b25
59230675b6ed1280f9c51d5165cf8c397d902c4d
refs/heads/master
2023-05-28T08:49:21.588035
2021-06-10T02:57:43
2021-06-10T02:57:43
375,550,677
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
import requests import json word = input('请输入:') data = { 'i': word, 'from': 'AUTO', 'to':' AUTO', 'smartresult': 'dict', 'client': 'fanyideskweb', 'salt': '16061061122206', 'sign': 'a6f391b5a4a84296714d298f77a75977', 'lts': '1606106112220', 'bv':...
[ "wd962464wd@gmail.com" ]
wd962464wd@gmail.com
e87170f2dc27a46b4824d0f1e382bbe1073e3a92
73b99f2ffb5b8de3acfecb0b4bffe744af841f38
/ef/config/components/spatial_mesh.py
5896772c850db119fbdda1a0dc6dd3d53f11450f
[ "MIT" ]
permissive
eastwoodknight/ef_python
2af8374eb33adfa9424469979f33bed330692581
1d7efff2ee8caf4c66d8e812ce296f355d2f415f
refs/heads/master
2020-03-24T17:22:44.814989
2018-07-28T16:01:06
2018-07-28T16:01:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
__all__ = ['SpatialMesh', 'SpatialMeshConf'] from collections import namedtuple import numpy as np from ef.config.section import register, ConfigSection from ef.config.component import ConfigComponent class SpatialMesh(ConfigComponent): def __init__(self, size=(10, 10, 10), step=(1, 1, 1)): self.size =...
[ "kadivas@jinr.ru" ]
kadivas@jinr.ru
521d0b159fd5a4aa0f1bd0c079cc755d840d931e
b88c7f892b4ec97a1bfecc1ca15b4014f3d9257e
/nasbench_asr/training/tf/callbacks/tensorboard.py
9b01e58ff9e6e3631d70715a538096d7d138c970
[ "Apache-2.0" ]
permissive
akhauriyash/nb-asr
66b0d1dcf5c769763bb2945c130e17756c523164
8889f37081ebbde253da1589d13fe3bc9ccd9ef8
refs/heads/main
2023-06-23T05:20:41.390868
2021-07-22T20:50:51
2021-07-22T20:50:51
388,593,693
0
0
Apache-2.0
2021-07-22T20:50:18
2021-07-22T20:50:17
null
UTF-8
Python
false
false
1,029
py
from nasbench_asr.quiet_tensorflow import tensorflow as tf class Tensorboard(tf.keras.callbacks.Callback): """ A simple TensorBoard callback """ def __init__(self, log_dir, update_freq=10): super().__init__() self.log_dir = log_dir self.update_freq = update_freq self.fi...
[ "l.dudziak@samsung.com" ]
l.dudziak@samsung.com
a5884ee6e2de27f4e699d752637c75776639e729
33b35aee26d4c84e2b065882e9b428d57e1df5fa
/pyensemble/pruning/overall.py
f7090d9b854367b1c271dbf56d49e5b23b8a0ec8
[]
no_license
eustomaqua/PyEnsemble
33405039a45f723dbaa2cee0ed6080269e15d82e
4f3c74beba4c3a6f7ed31e3ada1179166b9292f2
refs/heads/master
2020-06-23T09:37:15.605252
2020-04-19T04:39:26
2020-04-19T04:39:26
198,586,714
8
1
null
null
null
null
UTF-8
Python
false
false
3,517
py
# coding: utf8 from __future__ import absolute_import from __future__ import division from __future__ import print_function from copy import deepcopy import numpy as np # from pyensemble.pruning import RANKING_BASED # from pyensemble.pruning import OPTIMIZATION_BASED # from pyensemble.pruning import COMPOSABLE_CORE...
[ "yjbian92@gmail.com" ]
yjbian92@gmail.com
2df0087c181223969f1778538a30039b736953f6
a1105b30823ae17720fa3353d33d0135808c66f8
/library.py
5b6ca2630b528a7003621211fac6c4d89b892e7a
[]
no_license
yonaspassos/Desafio_Zygo_S1
0bc5f2c58b8cf4323fc82f4faf3d82ce0e2e7fb3
7b586036482f67e2865ceb0323d25b5c81905d16
refs/heads/master
2022-02-21T19:38:50.787387
2019-09-29T23:27:54
2019-09-29T23:27:54
208,924,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
import json, sys def read_file(): with open("books.json", "r") as file: return json.load(file) def get_book_title(book): return book["book_title"] def get_author_book(author): return author["author"] def get_year_book(year): return year["edition_year"] def sort(sort_direction): if sort...
[ "yona.nantes22@gmail.com" ]
yona.nantes22@gmail.com
3cbb57e4a7165e2ed5af97716ff49f05db1aadca
fb6edcc4b50ab78462b8e14240b053ccf0b4ebbc
/src/user-py/src/module_executor.py
5c78f5051b94417c3411b2176847e382d55a2953
[ "MIT" ]
permissive
yutouhewo/skull
c8809f54b8750244dd8c305aded55e7c144ecf91
3990cc78f5bf9580280af516267052a89b088162
refs/heads/master
2020-12-24T06:14:16.101185
2016-10-31T02:10:27
2016-10-31T02:10:27
73,163,616
1
0
null
2016-11-08T08:09:01
2016-11-08T08:09:01
null
UTF-8
Python
false
false
1,040
py
# Skull Module Executor import skullpy.txn as Txn import skullpy.txndata as TxnData def run_module_init(init_func, config): init_func(config) def run_module_release(release_func): release_func() def run_module_run(run_func, skull_txn): try: txn = Txn.Txn(skull_txn) ret = run_func(txn) ...
[ "hyzwowtools@gmail.com" ]
hyzwowtools@gmail.com
db5aad1fd1249802143125324cb70af8b14e528b
48c46cee10379dd3bb77ba1b2b4954bcc7eb9d08
/OverTheWire/Maze/lvl7/s2.py
e402d838c5fbcbe169c06c7997be194c112d3867
[]
no_license
Deeby/Pwnables-and-Sploits
1423b72ad7e1a59c761961430d2638ecfe0bd5f6
58bd6bd658943893ccd9a60b3e6a4ec2dade491a
refs/heads/master
2020-09-09T06:57:08.831062
2018-12-06T17:31:51
2018-12-06T17:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
def main(): payload = "A"*32+"\x34\x00\x00\x00"+"A"*10+"\x48\x00"+"\x01\x00"+"\x00\x00"+"\x00"*20+"\x10\x00\x00\x00"+"\x00"*16+"\x38\xa0\x04\x08"+"AAAA"+"\x08\xa0\x04\x08"+"\x02\x00\x00\x00"+"A"*8+"ebp-"+"\x1b\xdf\xff\xff" fp = open("test.txt","wb") fp.write(payload) fp.close() pass main()
[ "sneakynachos@gmail.com" ]
sneakynachos@gmail.com
802d3c1e08f8200c2aaf70ec20fc1e5d8b069afb
f8eb12aac7e4b73039b4a757f88b1ebe30d26565
/ntm/ntm_cell.py
9a8399ffcfb8ed472be1100accf7373f53b8ae48
[]
no_license
josh-tobin/tf_ntm
df1bd66afe9f6353e777753383f7b3b0c733108a
778cdab319fc95ddb6a44eb9c2b2ecb74a5685a8
refs/heads/master
2021-01-17T18:32:28.300801
2016-06-15T05:14:15
2016-06-15T05:14:15
61,179,254
0
0
null
null
null
null
UTF-8
Python
false
false
3,859
py
import sys from os import path import tensorflow as tf sys.path.append('/'.join(str.split(path.abspath(__file__), '/')[:-2])) from ntm.head import ReadHead from ntm.head import WriteHead from network.cell import Cell from network.layers import IdentityLayer """ TODO - Documentation """ class NTMCell(Cell): d...
[ "joshp.tobin@gmail.com" ]
joshp.tobin@gmail.com
9e86b3518912ee7ce4ce5497fb45ab9c6eb765ab
295ecf4f254c42e9201657ef0a13ec2c68c40c9b
/info/views.py
6a2850c2b723ff267061ff6b95988447a8586342
[]
no_license
zwolf21/StockAdmin-pre2
0236061284a6fe8801591608591d21129d4ea7c0
b21d069ff215c17ce3bca040ecf9b8f48b452ed4
refs/heads/master
2021-05-01T09:28:59.818469
2016-11-30T17:33:30
2016-11-30T17:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
from django.shortcuts import render, render_to_response from django.core.urlresolvers import reverse_lazy from django.views.generic.edit import FormView from django.views.generic import ListView, DetailView, CreateView, TemplateView from django.conf import settings from django.db.models import Q import os, sys from ....
[ "pbr112@naver.com" ]
pbr112@naver.com
eb026a8262f35b328733bac6b2561e4aa08976fa
cdafb14fe1f4e334960c91b2f53bc7e48b40a93c
/calculator/cal01.py
6e390e7e0a24cc606412a0c4570c84f7f68c0863
[]
no_license
alireza-E/alireza-
b15801d8c194fd82990f602d2759d2b67f1d5ec6
b577ff8a6d81672ce9126e1bdd4ee603458f3207
refs/heads/master
2022-12-24T05:41:12.098687
2020-10-04T13:40:30
2020-10-04T13:40:30
301,139,516
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
class cal() : def __init__(self, x, y): self.x = x self.y = y def mul(self): a =(self.x*self.y) return a def div(self): a =(self.x/self.y) return a def plus(self): a =(self.x+self.y) return a def neg(self): a = (self.x - self....
[ "Rominash@gmail.com" ]
Rominash@gmail.com
382ef2aeab005733bc9cbd35416e65ce87242c75
93ab9665078d49028e5094e23d673574031d47e5
/Time_Complexity/matrix_rotation_anticlockwise.py
69db9f542194a4f504d04d3b302945e8196abc37
[]
no_license
raghulrage/Python-programs
7072429108c2932323b5f636d06f97a07c4cb6a4
8d134fade8626c99237c48068a2d1f5c6b04a0cc
refs/heads/master
2023-05-05T23:11:36.407458
2020-10-17T05:45:58
2020-10-17T05:45:58
198,346,485
1
9
null
2021-05-22T12:50:28
2019-07-23T03:41:20
Python
UTF-8
Python
false
false
1,977
py
def reverse(arr, i, j): for idx in range((j - i + 1) // 2): arr[i + idx], arr[j - idx] = arr[j - idx], arr[i + idx] def rotateList(A, K): l = len(A) K %= len(A) reverse(A, l - K, l - 1) reverse(A, 0, l - K - 1) reverse(A, 0, l - 1) return A def rotateLayers(N, M, R, laye...
[ "noreply@github.com" ]
raghulrage.noreply@github.com
3a2f9c0807524842512155fb4b75e01efa769efa
27152f64815b0200c46a8187146e43258beba462
/take2/w5/SuperUglyNumber.py
d4ca62c25365565276068eb3bce06336c75bebad
[]
no_license
NahusenayH/ComptetiveProgramming
8ec6ca7ccaf32148c2f958c521b90a8efca3b9f0
30b3db60b0d8d105695c2b8418ef8d4c5d317e57
refs/heads/master
2021-07-22T14:31:23.683235
2020-10-09T12:29:22
2020-10-09T12:29:22
224,041,330
1
0
null
null
null
null
UTF-8
Python
false
false
586
py
import heapq class Solution: def nthSuperUglyNumber(self, n: int, primes: List[int]) -> int: count = [0] * len(primes) res = [0] * n res[0] = 1 for i in range(1,n): minm = float(inf) for j in range(0,len(primes)): minm = float(min(minm...
[ "haile.nahu18@gmail.com" ]
haile.nahu18@gmail.com
50f14085ebf1fa050502627f08de7bacfbbf9444
74c04ef3ed2bc71e728b3bb840c927a86352c6e1
/djangotesting/jango/resturant/forms.py
226cb77012fce96d306543ca927164a3764be1ac
[]
no_license
zamanehsani/restaurant
06b658b277dda8fa8d4f5b598d389767ab61f876
0f21ce268fdc21402c32dee1ecc64850a24fcc2a
refs/heads/main
2023-01-12T04:52:09.541112
2020-11-16T05:44:04
2020-11-16T05:44:04
313,192,805
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from resturant.models import Profile class UserRegisterForm(UserCreationForm): email = forms.EmailField() first_name = forms.CharField(max_length=150) last_name = forms.CharField(max_...
[ "zamanehsani@gmail.com" ]
zamanehsani@gmail.com
c042e963a867292d5e31a6b9ec9e335cb64f584b
4b9eaaa8a28c3114c2f60b47b89b4acc05a73ff8
/venv/Scripts/pip3.8-script.py
f810f5f84dca9aa79b81fd35cc163f9ff2a4daa4
[]
no_license
ronigold/Jupytext_test_2
080a9e308f8b10d5e7d2ea3ced02fd66a92c5457
90a018f6ab5bcce15522f45f2d2a66aba4ac52ad
refs/heads/master
2021-05-24T07:40:22.531855
2020-04-06T09:46:43
2020-04-06T09:46:43
253,454,935
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#!C:\Users\rgoldshmidt\PycharmProjects\Jupytext_test_1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$...
[ "ronigoldsmid@gmail.com" ]
ronigoldsmid@gmail.com