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
518ce45cbabbf0f9d33a1e3185282ce2e4d73607
66288980da0b51d46e3c3d042711e3b33f3f081a
/exchange_rater/services/shared/utils/math_utils.py
3e8057bd603ac16049f99e0f74793d55235faa6a
[]
no_license
eduardolujan/exchange_rates
77bb3bf809ec9a41a418af067d058ebf90aa9d6e
dc2ac2a0a18bf400bbc4a4de06bf441c7043ef0f
refs/heads/main
2023-02-04T12:00:20.683137
2020-12-27T01:12:51
2020-12-27T01:12:51
320,956,914
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- import math def truncate(number, decimals=0): """ Returns a value truncated to a specific number of decimal places. """ if not isinstance(decimals, int): raise TypeError("decimal places must be an integer.") elif decimals < 0: raise ValueError("decimal pla...
[ "eduardo.lujan.p@gmail.com" ]
eduardo.lujan.p@gmail.com
0c073690cd3bab9f31f78e34018b57cd06cb07d6
246438f5e84c83755253e26740857a339aa5ad0f
/beginDjango/firstProject/news/forms.py
5e99c89c60d3e896f30857260bb58049f5b77eb4
[]
no_license
reboot-13/first_django_project
2a93cd1dee1de3d01dfbddb8ff551b5030b2a811
73b666a5ba790496b7f9986f71696e429f556c95
refs/heads/main
2023-06-09T21:02:41.159688
2021-07-04T10:54:02
2021-07-04T10:54:02
382,825,892
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
from .models import Article from django.forms import ModelForm, TextInput, Textarea, DateTimeInput class ArticleForm(ModelForm): class Meta: model = Article fields = ['author_name', 'title', 'anons', 'full_text', 'date'] widgets = { 'author_name': TextInput(attrs={ ...
[ "roma.ermilov.02@gmail.com" ]
roma.ermilov.02@gmail.com
f3edf3d502f972e8a9a02a4641e0e7a0d768e175
5c4e7323aed9ab4bfef31aecbaf1d5f0c650d05d
/study_further/python_core/decorator_demo3.py
733c3266abb1a51faff9095e49f71372645096cd
[]
no_license
chenmingrang/python_study
dbb4f65bae75033625e5935c95ef5e34d442d440
c6e0a3d1482f1154f26c208d9fb5563de353b82f
refs/heads/master
2020-09-03T02:36:53.315299
2018-01-10T06:02:13
2018-01-10T06:02:13
94,408,408
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
def outer1(func): print("==outer1==") def inner1(): print("==inner1==") func() return inner1 def outer2(func): print("==outer2==") def inner2(): print("==inner2==") func() return inner2 #只要Python解释器执行到这个代码,那么就会自动的进行装饰,而不是等到调用的时候才进行装饰 @outer1 @outer2 def foo(): ...
[ "chenmingrang@126.com" ]
chenmingrang@126.com
25b7a9381c7fab8b704950f07857e10d2912c034
40f12fcbc62daaacc518cddbb7a289ed4b2ff2eb
/mainapp/mainapp/urls.py
f76eab325ac2c51ef1619ef9bf3bee6f63dc155b
[]
no_license
KhayrulloevDD/deals-csv
6100f3bd772c09139f1c12bee3a3d5dccd1120cf
510afdb8a3716adb9090c21136230df4217c7ee9
refs/heads/main
2023-07-05T12:52:35.523506
2021-08-02T10:24:12
2021-08-02T10:24:12
387,248,178
1
0
null
null
null
null
UTF-8
Python
false
false
796
py
"""mainapp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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...
[ "dodullo.khayrulloev@gmail.com" ]
dodullo.khayrulloev@gmail.com
d2f3e9e7ba601cf371f65a1dbdaf14f28dbfe5c8
fde354b21d6e12b71ee06849329fef9820bdfbf5
/problem_set_1.1.py
b019a6633ce599feb5e4829233a49dc00ec11e44
[ "Giftware" ]
permissive
Ramesh29/Introduction-to-Computer-Science-and-Programming-Using-Python
492e0abec60e298e5e9efe79a401b037a245314d
4fecdc727eaa830ac49ab7e70381264b1a4f89f9
refs/heads/master
2023-03-10T12:00:49.693911
2021-02-26T02:30:03
2021-02-26T02:30:03
279,165,228
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
""" Assume s is a string of lower case characters. Write a program that counts up the number of vowels contained in the string s. Valid vowels are: 'a', 'e', 'i', 'o', and 'u'. For example, if s = 'azcbobobegghakl', your program should print: """ s = "ramesh" list = [ 'a', 'e', 'i', 'o', 'u'] count = 0 for c in ...
[ "boolean29@gmail.com" ]
boolean29@gmail.com
a6a81aaefd9aed9ccf620c41df2ec4d01a782f94
b69312f2e6fcfe7b6820424d6c23df334a619f32
/lib/other.py
f778b41fec4365f2ab4420a7acb73226280f6178
[ "MIT", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
runhani/py-faster-rcnn-resnet-imagenet
96e021d699670859960bbe1b3f7ec5613a614fab
da1b65537b14e7580ebe257a50b0f1342e1d9828
refs/heads/master
2021-05-10T14:46:08.386181
2018-01-24T05:51:02
2018-01-24T05:51:02
118,530,513
0
0
null
2018-01-22T23:44:19
2018-01-22T23:44:18
null
UTF-8
Python
false
false
173
py
def get_dataset_split_name(im_file): parts = im_file.split("/") for p in parts[::-1]: if p in ['train', 'val', 'test']: return p return None
[ "tianzhi0549@163.com" ]
tianzhi0549@163.com
0f55465514af40569da7b3a7ce2de5e8a893375b
f39fe325b2dec9786a82ac52316e5654093795e1
/src/dblog/dblog/settings.py
bad3484a82ac5b67db00876ba3b1c523a210bf15
[]
no_license
EfraimGENC/dblog
0afc6bc5dd0de909f27583858796d5c3557ba94a
36a857ad3136085b8158c87bea9f3eebfda20d23
refs/heads/main
2023-08-26T07:41:07.618969
2021-11-01T22:38:32
2021-11-01T22:38:32
422,436,906
0
0
null
null
null
null
UTF-8
Python
false
false
5,327
py
""" Django settings for dblog project. Generated by 'django-admin startproject' using Django 3.2.8. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib i...
[ "efraim@kavimdigital.com" ]
efraim@kavimdigital.com
a098ab4734cc42713bce829f2aadc75ca70433f5
f7f4efda78012c4207c44ec1d4711aaf5e8d6a6b
/weatherApp/weatherApp/urls.py
3ae05fe80f4a8803b62d2db4abdc1011874d7d73
[]
no_license
arizona167/weather-App
81709e709a4a12cd71492f56a216b747d2583bdd
e1afb7955c0e6ec3b79e8a1da4de38458322a960
refs/heads/master
2020-06-22T22:26:14.157418
2019-07-23T11:08:43
2019-07-23T11:08:43
198,416,313
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
"""weatherApp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "igwegbearinze@gmail.com" ]
igwegbearinze@gmail.com
299cb20505e402e26105a20c9fc54d0e79d8948a
702ac710929e7b852e5dde2a9a489c16939abe2a
/venv/Turtles/Random.py
2c37b6fdda1cddbd59b74a2393c570daba505468
[]
no_license
Madoune-SidAli/PythonTutorials
cb5b00e19a76632f423b0ce74b49c20747a378f8
0aecde9bf373e1449b1affeba0179760af04e132
refs/heads/master
2020-07-02T10:07:20.998595
2019-08-14T15:42:58
2019-08-14T15:42:58
201,496,486
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
import turtle import random colors = ["red", "orange", "yellow", "green", "blue", "purple"] t = turtle.Turtle() t.width(20) for step in range(100): # Change this to use a random number. angle = random.randint(-90,90) # Change this to use a random color. color = random.choice(colors) t.color(co...
[ "madoune.sidali@gmail.com" ]
madoune.sidali@gmail.com
166e19e6e6fa003af0ca706d5bfc2c23f59c0025
2cd518db5301e9e38269dbcc773af72c64ae9d47
/Course1- Algorithmic Toolbox/week2_algorithmic_warmup/2_last_digit_of_fibonacci_number/fibonacci_last_digit.py
b3dc67aac62a0127f6cec49d996a33b1746f7ad0
[]
no_license
praneeth1808/DSA-Coursera
a0acb37550f336de10559ab9d89b32ac5507b5a3
5c3433eab504d0a10841cdf00d082e628f110d3b
refs/heads/master
2023-05-08T09:18:08.947894
2021-06-01T12:48:01
2021-06-01T12:48:01
275,324,169
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# Uses python3 import sys def get_fibonacci_last_digit_naive(n): Feb_series=[0, 1, 1, 2, 3, 5, 8, 3, 1, 4, 5, 9, 4, 3, 7, 0, 7, 7, 4, 1, 5, 6, 1, 7, 8, 5, 3, 8, 1, 9, 0, 9, 9, 8, 7, 5, 2, 7, 9, 6, 5, 1, 6, 7, 3, 0, 3, 3, 6, 9, 5, 4, 9, 3, 2, 5, 7, 2, 9, 1] return Feb_series[n%60] if __name__ == '__main__': ...
[ "praneeth3331997@gmail.com" ]
praneeth3331997@gmail.com
0fdd40f2c6759e234a4ad52b5bbc7a0847a796b3
0d2b74a707e21d85d6e663a8b558ee72e81f92f9
/MyTraining_latest/MyTraining/001.Interview_programs/General_interview_programs/Armstrong.py
6ca0ca567d004fcb5dfd267526e9368c2c2712b7
[]
no_license
anubeig/python-material
1e0f0d51f74206e01e9f1bec97a2e81e0a125c68
aef734073f40b2b45104726becf6205aa313283f
refs/heads/master
2022-07-21T00:50:43.417845
2019-09-28T12:23:13
2019-09-28T12:23:13
211,494,935
0
1
null
2022-07-13T19:14:45
2019-09-28T12:11:04
Python
UTF-8
Python
false
false
490
py
#Armstrong number num = int(input("Enter a number: ")) # Changed num variable to string, # and calculated the length (number of digits) order = len(str(num)) # initialize sum sum = 0 # find the sum of the cube of each digit temp = num while temp > 0: digit = temp % 10 print(digit) sum += digit ** order p...
[ "anu.mogal4@gmail.com" ]
anu.mogal4@gmail.com
86fce9123b4b88751dd8d3f74ed6146220fd8d22
fc785c142e4d38138db557bbd862bd651c293340
/scrapyTest/settings.py
4b0f571919d66219d17632df2d21d0124ea91964
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
fver1004/Library_Information_Extract
132c9e7438f66d22da262cf6d4abb79d5655e4d4
39a991b5963489874fe358c6d157547dc57e80c9
refs/heads/master
2021-01-20T05:13:50.811099
2017-05-26T09:53:08
2017-05-26T09:53:08
89,762,789
5
1
null
2017-05-22T02:48:41
2017-04-29T04:07:41
Python
UTF-8
Python
false
false
3,169
py
# -*- coding: utf-8 -*- # Scrapy settings for scrapyTest project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/lat...
[ "fver1004@gmail.com" ]
fver1004@gmail.com
fca30051d0949eb304f4d934b5a6fa5a7e75edca
82ca64c6a819f3e2cb41057f2df9f758cedee28a
/robot1/btc_usdt/robot_fun.py
e0d3222356ab5c9b8cebcbffc74381b08a17dec8
[]
no_license
seanxxxx/coinx
619a18f9b2d7f83076083055bfccf0c5e404f665
eb1a7ed430c546cf02ddcc79f436200b218d5244
refs/heads/master
2023-01-28T03:09:10.358463
2018-09-07T07:49:19
2018-09-07T07:49:19
146,564,986
0
1
null
2022-12-20T14:20:06
2018-08-29T07:52:37
Python
UTF-8
Python
false
false
10,203
py
# -*- coding:utf-8 -*- import random,requests import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s', datefmt='%a, %d %b %Y %H:%M:%S', filename='coinx.log', filem...
[ "xuxuan@lanlingdai.net" ]
xuxuan@lanlingdai.net
9adea1167d1ab7652373a420618b940fa3669dac
96721554b1da5a4ccf8c3b0c88c06d0f6d79a6b1
/scripts/conversion_hosts/virt-v2v-wrapper.py
dcf5c9bb5c08271ca04de79e4973e42c3f3e7937
[ "Apache-2.0" ]
permissive
jthadden/RHS-Infrastructure_Migration
7ab55f3d97ceef69f5830c4e17b2d66c186c9a8e
dc638868b00cdbfe5635f8e4cb4bbf9381efb6ed
refs/heads/master
2020-04-09T17:47:40.017291
2018-11-20T07:45:58
2018-11-20T07:45:58
160,491,413
0
0
Apache-2.0
2018-12-05T09:13:18
2018-12-05T09:13:18
null
UTF-8
Python
false
false
28,974
py
#!/usr/bin/python2 # # Copyright (c) 2018 Red Hat, Inc. # # 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 la...
[ "mperezco@redhat.com" ]
mperezco@redhat.com
5e9625f39b845f6d5fc10816f8c8718226a23d79
82470c6c4819f8b874c92b2e036c6bb6dd1d365b
/features/steps/product_page_select_departmen.py
ac373b24adf88e943ffbfa1f09c85fb49c2b9ed2
[]
no_license
lion7500000/python-selenium-automation
87589891211bf327bffda50134c4da918709fd2b
a2f3701661ddf713edb9750150a97e7cd8adb967
refs/heads/master
2021-08-08T10:16:44.644725
2021-07-29T03:10:54
2021-07-29T03:10:54
210,194,357
0
0
null
2019-09-22T18:23:33
2019-09-22T18:23:32
null
UTF-8
Python
false
false
971
py
from selenium.webdriver.common.by import By from behave import then, when @when ('Select Books department') def select_department(context): context.app.menu_page.select_books_department() @when ('Select Amazon Fresh department') def select_department(context): context.app.menu_page.select_amazon_fresh_depart...
[ "lion7500000@gmail.com" ]
lion7500000@gmail.com
64fae846bf8afbc0467465427c8d3fdc5bb020dd
7328d17dad85fc1607d506321a1d6bdfa2f76c5c
/implicit fields/IMGAN/model.py
04b28a14970fa00ca1e86b98a5ed50c3cfa524d7
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Xemnas0/3d-shape-reconstruction
5cfcbb45ac2eaaf31d01c18fead983acb74f83fb
9f01f3071b7b7a266629fe2e70e796ee332b5436
refs/heads/master
2020-07-28T21:31:28.294418
2019-12-23T10:14:00
2019-12-23T10:14:00
209,544,611
0
0
null
null
null
null
UTF-8
Python
false
false
27,004
py
import os import sys import time import math from glob import glob import tensorflow as tf import numpy as np import h5py import cv2 import mcubes from tqdm import tqdm, trange from ops import * class IMAE(object): def __init__(self, sess, real_size, batch_size_input, is_training=False, z_dim=128, ef_dim=32, gf...
[ "fnuzzo@kth.se" ]
fnuzzo@kth.se
0d1aa2e4ed4578759cc2d39895281cc4a4ccc2d7
b5f6b262cc1f599b9ca10cec6475831b1f8c812b
/app/crud.py
8d214e87fb37d774a89e90feb20bc0e732759df2
[]
no_license
githubgobi/fastapi-study
5f0a59907182967a4417c6340963ed6baddde011
bce9f6f3ba6dc4c74f7320a7fe92b9a05698a070
refs/heads/main
2023-03-03T19:48:57.325092
2021-02-15T03:44:47
2021-02-15T03:44:47
338,316,868
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
from sqlalchemy.orm import Session from . import models, schemas def get_user_by_username(db: Session, username: str): return db.query(models.UserInfo).filter(models.UserInfo.username == username).first() def get_user(db: Session, user_id: int): return db.query(models.UserInfo).filter(models.User.id == user...
[ "IGS@IGS-0075.igsc.in" ]
IGS@IGS-0075.igsc.in
4da370404c3fda913fbc8f6e04a7c737f2165fff
445ca5459dfe1a59b3acee8b5ce29e2e610e4631
/week8/informatics4/E.py
d3db7062076af7a9e88c9fe26a51fe3f79b05931
[]
no_license
luizasabyr/WebDevelopment2020
6cd0328bf9c3053055541631c18ee42c6dda78d3
abec4f7674b4833fe93a0430460f1d31a8462469
refs/heads/master
2020-12-23T14:05:30.676259
2020-03-27T06:08:02
2020-03-27T06:08:02
237,175,138
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
n = int(input()) a = list(map(int,input().strip().split()))[:n] length = len(a) cnt = 0 for i in range(1, length): if (a[i - 1] > 0) and (a[i] > 0) or (a[i - 1] < 0) and (a[i] < 0): cnt = 1 break if cnt == 1: print("YES") else: print("NO")
[ "noreply@github.com" ]
luizasabyr.noreply@github.com
081c6fd251ac0a825028f8d9824d00d75264742d
8155b79931c702175e697e7bcda8cafee881b0df
/src/Payload2Std.py
874b705419cf395df3f79f2899e5d1923206a536
[ "MIT" ]
permissive
Hing9/Payload2Std-IDA
cf68a03f07d28fce3b704ea02d3720ce078b4ff3
ffaaa903301cbc700667bd8052d3027e482d6601
refs/heads/master
2020-05-30T06:22:28.338863
2019-05-31T19:06:51
2019-05-31T19:06:51
189,578,235
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
from __future__ import print_function import idaapi def PLUGIN_ENTRY(): from Payload2Std.plugin import Payload2StdPlugin return Payload2StdPlugin()
[ "soj0703@naver.com" ]
soj0703@naver.com
977ef34be9f77e2b77cd391bfbee7e8541ad6414
330d17694e530bc75f703ba7af93037b30c19b5b
/yt_scripts/SpectraTools.py
5e7ab2eb3919803e0e89131c893fcf415ba7e68b
[]
no_license
aemerick/projects
3d7b64ec1d64d157739c9b2b2e79eb9f1314bca5
3a49420e038459d814a36e7b02f5c18d4d7fb7ff
refs/heads/master
2021-06-03T04:01:59.823590
2019-09-26T04:39:55
2019-09-26T04:39:55
18,304,857
0
0
null
null
null
null
UTF-8
Python
false
false
4,134
py
import numpy as np import astropy.constants as C def _generate_species(): """ Populates a dictionary containing the constants for species used to calculate equivalent width. """ speciesList = {'Lya':\ {'f': 0.4164, # oscillator strength '...
[ "emerick@astro.columbia.edu" ]
emerick@astro.columbia.edu
e725c508ad8d3854f0ba54753f994f0bcc0e39e6
fe5ed850257cc8af4df10de5cffe89472eb7ae0b
/19.框架学习/爬虫学习/01.爬虫三大库/04.Lxml库和Xpath语法/3种爬虫模式对比.py
76144bd637c9d50b98d29e84c63b2fd44cdae50e
[]
no_license
hujianli94/Python-code
a0e6fe6362868407f31f1daf9704063049042d9e
fe7fbf59f1bdcbb6ad95a199262dd967fb04846c
refs/heads/master
2020-09-13T01:11:34.480999
2019-11-19T05:29:59
2019-11-19T05:29:59
222,614,662
2
0
null
null
null
null
UTF-8
Python
false
false
2,908
py
#!/usr/bin/env python # -*- coding:utf8 -*- # auther; 18793 # Date:2019/7/12 16:01 # filename: 3种爬虫模式对比.py # 爬取数据只做返回,不存储 import requests import re from bs4 import BeautifulSoup from lxml import etree import time # 加入请求头 headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML...
[ "1879324764@qq.com" ]
1879324764@qq.com
90c7b357e310a8f120241367bacc3be511f44ba6
d2d02766d4ff17b7dcf8b5439d99ddc015649b93
/Topico1/settings.py
cbae2588c94ef34c6016cdde7e9745c1d38c1567
[]
no_license
mathyas221/Encuesta-Gap
add0e405cc86fce8536f57fa26e12a514c0a4763
d4e522bfbefb7732d29680904e4c20d68a8d5e34
refs/heads/master
2020-06-04T05:48:45.861388
2019-06-14T07:28:04
2019-06-14T07:28:04
191,894,036
0
0
null
null
null
null
UTF-8
Python
false
false
3,279
py
""" Django settings for Topico1 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
[ "mathyastejos@gmail.com" ]
mathyastejos@gmail.com
9fb284dae3774205aaf73fcaaefeff2b2630655e
fc0259a7d33d996d087e711e660421558e126014
/working-time.py
d96447ab96ad7d9e5266b17fa9d564261d2ca010
[]
no_license
marthemagnificent/working_time
a7d927fdf7194b7bc4ef262daa11e4895b421ec4
76a27257b6c6d417c97ad12096b9cb70953b1a05
refs/heads/main
2023-02-28T00:03:40.637547
2021-02-03T23:41:46
2021-02-03T23:41:46
335,401,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
# Name: Markayla Brown # working-time.py # # Problem: Calculate the working time of employees on a team and outputs them. # Certification of Authenticity: # <include one of the following> # I certify that this assignment is entirely my own work. # I certify that this assignment is my own work, but I # discussed it with...
[ "markaylabrown45@yahoo.com" ]
markaylabrown45@yahoo.com
5d1033b72f189c41bc453a4359642380538f0a22
9ab010aa3407437dab0811349b681be72fc94baf
/src/2020_06_02/for05.py
3c0a17d51a149955fda0edaf314fa54a1892732b
[]
no_license
lilacman888/pythonExam
9bbbaedb9c301cd0e16da7bf7f946a09fac9ef81
6b9974a1abcbbeace6cabfdecac8dd3e04c1b437
refs/heads/master
2022-09-17T09:58:21.247717
2020-06-02T08:13:45
2020-06-02T08:13:45
267,808,134
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# 반복문 : for문 # for 변수 in range(): # 반복 실행할 문장 # 1 ~ 100까지 홀수의 합과 짝수의 합을 구하는 프로그램을 작성 # 단 for문을 1번만 사용해서 작성 odd = even = 0 for i in range(1,101): # 1~100 if i%2 == 0: # 짝수 even += i else: odd += i print('1~100까지 홀수의 합 : ', odd) print('1~100까지 짝수의 합 : ', even)
[ "lilacman888@gmail.com" ]
lilacman888@gmail.com
601c83701c4d7f4cda5562602cc5a382576b7441
2581689b5867c4004d735d45cbe502a8ba4c70aa
/main.py
5416c29a9908f78c630af3e5de3e6a0c9672f909
[]
no_license
Arseni1919/DRL_course_exercise_1
583912c6bbcda57c9b7eaa59cf30edc18667591a
fe8c19ca7888d2c5980ebb11339d0eea29708702
refs/heads/master
2023-08-10T16:36:00.299455
2021-10-04T14:30:20
2021-10-04T14:30:20
267,364,210
3
0
null
null
null
null
UTF-8
Python
false
false
5,884
py
# -*- coding: utf-8 -*- from World import World import numpy as np import random # random.seed(0) # --------------------- PARAMETERS --------------------- # r = -0.04 teta = 0.0001 omega = 0.9 # ------------------------------------------------------ # # --------------------- CONSTANTS ---------------------- # N = 1 ...
[ "1919ars@gmail.com" ]
1919ars@gmail.com
0826cc895b7abf8174eba312935e6a86428910af
35e5093651eb7213b7f8f0cd0ace352913f64dfb
/gip/helper_pedidos.py
0e0a3643ec407bcc0249ccab7be787ecb8d538f1
[]
no_license
juanma2/GIP
aaf62f38fda9c8baac8bb36b7fc8d3a0ed3425d2
fe26b5b2b00a519aafd8bf03e0cfc5bc467e5146
refs/heads/master
2021-01-19T16:19:13.735368
2017-04-14T12:47:47
2017-04-14T12:47:47
88,261,580
0
0
null
2017-04-14T11:18:02
2017-04-14T11:18:02
null
UTF-8
Python
false
false
4,285
py
import datetime import ast from gip.models import Pedidos, HistoricoListas from django.contrib.auth.models import User def send_order(pedido,proveedor,c_pedido): cliente = pedido['cliente'] print "***************************************************************" print "implement email, or, whatever needed in...
[ "bvcelari@gmail.com" ]
bvcelari@gmail.com
c9d088d88e05ade0be73cd950e96e589c8977c4f
66a89bb2ded504f77f9fb9af2b365a4888c01004
/graph_construction/module_maps/build_module_maps.py
1c555e7b68977736e1d6e6b35b08de82a026659f
[]
no_license
GageDeZoort/interaction_network_paper
1f4cf5a8673d4dd67341214cf2eb27c9fee660b2
45d313611009b38b2d17b5d20d51ae6a80ebf4a4
refs/heads/pytorch_geometric
2023-04-19T02:45:57.717764
2021-10-08T23:12:19
2021-10-08T23:12:19
337,429,781
21
10
null
2022-01-05T19:57:20
2021-02-09T14:24:05
Jupyter Notebook
UTF-8
Python
false
false
3,594
py
import os import sys import numpy as np import pandas as pd import trackml from trackml.dataset import load_event from trackml.dataset import load_dataset pixel_layers = [(8,2), (8,4), (8,6), (8,8), (7,14), (7,12), (7,10), (7,8), (7,6), (7,4), (7,2), (9,2), (9,4), (9,6),...
[ "jgdezoort@gmail.com" ]
jgdezoort@gmail.com
9a0d1b2385be47262406834cb80e1f15cf4e0136
cfd3789ab9e5138d584a5c35ece1fb68a40b8f43
/day_16/day16_1.py
c33ec7cd6004feadb8acfa265e5bef2ecfe90c39
[]
no_license
math-foo/advent-of-code-2015
d685ee845b1fc2343970b21e2b7cdea67af72681
fff7b82f63b379305e8d09593764829fe23564df
refs/heads/master
2021-01-10T07:22:18.374502
2016-01-01T02:14:59
2016-01-01T02:14:59
48,017,153
1
0
null
null
null
null
UTF-8
Python
false
false
774
py
#!/usr/bin/python aunts = open('input.txt', 'r').readlines() sues = {} for aunt in aunts: elems = aunt.split(' ') sue_info = {} for i in xrange(2,len(elems),2): key = elems[i].strip(':') value = int(elems[i+1].strip(',')) sue_info[key] = value sues[elems[1].strip(':')] = sue_info known_info = {'...
[ "caelyn@ceruleanrodent.com" ]
caelyn@ceruleanrodent.com
11466c7195688c9844d0b358637f508dadb88727
710e96b1435bc43cc260512df75af5dd3b2afd13
/code/1086.py
0b5a7f95a7b670d6d483a0922ab29b01df6a596b
[ "MIT" ]
permissive
minssoj/Learning_Algorithm_Up
94ca8166c9a5d87917cf033ad8415871684241c4
45ec4e2eb4c07c9ec907a74dbd31370e1645c50b
refs/heads/main
2023-01-08T20:52:32.983756
2020-11-05T17:49:45
2020-11-05T17:49:45
301,926,859
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
# [기초-종합] 그림 파일 저장용량 계산하기(설명) # minso.jeong@daum.net ''' 문제링크 : https://www.codeup.kr/problem.php?id=1086 ''' w, h, b = map(int, input().split()) print('{:.2f} MB'.format(w * h * b/ (8 *(2 ** 20))))
[ "minso.jeong@daum.net" ]
minso.jeong@daum.net
91a2a80b3abc43fae5326615100f02782ef09b2d
b5ed3abaf6025745a1755c36db67e257311b8070
/math_m2/trailing_zeros.py
dda2066ee2d6753cad95449f36ddcc458fc80c10
[]
no_license
larafonse/cti-ips-2020
bf2de6444eeca64a35d4854bc093480f1f4b2ceb
2ecdd9fe8a59eea83c90fba3ef6b18fb1cdefdda
refs/heads/master
2022-11-28T12:03:03.919506
2020-08-11T04:19:44
2020-08-11T04:19:44
277,982,062
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
def fast_trailing_zero_factorial(n): i = 5 count = 0 while(n/i >= 1): count+=(n//i) i*=5 return count if __name__ == "__main__": print(fast_trailing_zero_factorial(int(input())))
[ "nlarafonseca@csumb.edu" ]
nlarafonseca@csumb.edu
3ed94483e209e0a44ee8dd48855dccf9115e3edf
0a483ba886af2b75e0b4529e211b777f32cb927f
/venv/bin/jupyter-trust
cf4fc483dab57da16edbb4b0a6a414045583265c
[]
no_license
controlidco/python-data-exercises
d6796a0eee9d5e735da0f16bc5c1d4c8f35b5b58
b90666153f072e2c6e1777b905021097846cb846
refs/heads/master
2020-09-25T03:46:09.867917
2019-07-31T13:44:38
2019-07-31T13:44:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
#!/Users/otniel/Developer/pythoncourse/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from nbformat.sign import TrustNotebookApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(TrustNotebookApp.launch_instance())
[ "benamara.otniel@gmail.com" ]
benamara.otniel@gmail.com
60fa2920856e582a27596de204b598f28ef7a603
4b1009917c0c0ff2dcb0aa9df450d735a72e86cb
/display-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/config.gypi
c14531a0c15c6c9b1d8ac723701d7ee6c53678a9
[ "MIT" ]
permissive
stu-smith/jarvis
4f793dc29f7cdff2bd5163ebee528679a6b71ba9
d0b50e86e88a54e6f1984530d953d03490146370
refs/heads/master
2021-01-10T03:07:00.916466
2016-02-16T20:18:48
2016-02-16T20:18:48
51,866,279
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 46, "host_arch": "x64", "node_install_npm": ...
[ "stusmith1977@gmail.com" ]
stusmith1977@gmail.com
11ba89ca34f48062674ca6cc401253eca058c762
944086a35957e5831bb10e10cb924ef9ca9cdd07
/ingredients/commons.py
d51876296490bec4189b18372ff4da71f312f569
[ "Apache-2.0" ]
permissive
kata-ai/wikiner
cc0256b308bdd468529f96da23c18c6d52caa9f1
bb2090c51881dd08f19ba852c38f739f93fe7697
refs/heads/master
2022-12-23T05:08:46.407929
2019-12-18T02:27:25
2019-12-18T02:27:25
223,879,867
4
2
null
2022-12-16T18:32:15
2019-11-25T06:45:15
Python
UTF-8
Python
false
false
1,436
py
import re def tag(sentence, tokens, predicted): results, prev, last_idx = [], None, 0 for i, _ in enumerate(tokens): pred = "O" pred_label = "O" try: pred = predicted[i] pred_label = predicted[i].split("-") # idx = np.argmax(pred) # scor...
[ "fariz@yesbossnow.com" ]
fariz@yesbossnow.com
81f6a58a5384c9dbc0bfaa1102c46721e4091001
a7f855efff14e0b15cffb3f035d8dc9f7f102afe
/mfb/extraWin/UTpackages/UTisocontour/isocontour.py
d857eb7a8199fd36b5ec4c785e21cb4375b49836
[]
no_license
BlenderCN-Org/FlipbookApp
76fcd92644c4e18dd90885eeb49e5aecae28f6f0
0df2acebf76b40105812d2e3af8f0ef4784ab74c
refs/heads/master
2020-05-27T14:33:25.330291
2014-07-10T17:47:29
2014-07-10T17:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,128
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.4 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.p...
[ "mike.c.pan@gmail.com" ]
mike.c.pan@gmail.com
d06216331ce8ca32ca14753c0bc10553d05e2cda
e234808a354c2aab816d6dac98b8fded08139bec
/olympiads_mospolytech/account/admin.py
1251e5c33ecd5bca7b9a923f9f3fc0a3268ab1c6
[]
no_license
yellowpearl/mpolymps
ac7c15788fa66afa8028622b6dcb140969196451
c4e14b8a46af5b788ba5077fa6705a13b0c09382
refs/heads/master
2023-03-25T20:46:49.615667
2021-03-26T11:32:55
2021-03-26T11:32:55
326,702,383
0
0
null
2021-01-27T18:56:51
2021-01-04T14:03:09
HTML
UTF-8
Python
false
false
262
py
from django.contrib import admin from django.contrib.auth.models import User from .models import * admin.site.register(EmailConfirmation) admin.site.register(OlympsUser) admin.site.register(ResetPasswords) admin.site.register(Chat) admin.site.register(Message)
[ "yellowpearl@yandex.ru" ]
yellowpearl@yandex.ru
5bd0a70c30bf7375ce96d66edd4d0bde895f6c18
05bdb561010ba50d3b5a70e8cbe2ed29572b961c
/class4/while1.py
ecd826a2b47fe15dbe603af2bb3618718fb04e16
[]
no_license
FundamentalsModernSoftware/fall2018
4d45137ceff9323627e934789cc65c94c8148e86
c2fb9e4596d1d0fd51afdd5e294022e3aebefdf9
refs/heads/master
2020-03-26T19:18:08.146935
2018-10-10T18:32:10
2018-10-10T18:32:10
145,257,676
1
0
null
null
null
null
UTF-8
Python
false
false
62
py
i = 1 while i <= 4: print(i) i = i + 1 print('Done!')
[ "james.grimmelmann@cornell.edu" ]
james.grimmelmann@cornell.edu
f3e883b27fc8bdb5821e68751c7cb54ce59df007
85fc4f8cc2a700151ef8c53672cb9222741f778f
/CheckOut_ApkName/check_update_apkname.py
0c9b3e38a8a0b4b1e6702c97cf03dcb81e105a48
[]
no_license
Dragon-Zpl/MyGoogleCrawl
f148c1d478d1f18738dc3555ea023e76fc98230f
9471357447dd09c62c223c9307cbe7774f9b164d
refs/heads/master
2020-04-26T22:38:46.022085
2019-04-16T06:51:49
2019-04-16T06:51:49
173,878,780
1
0
null
null
null
null
UTF-8
Python
false
false
8,976
py
import asyncio import time from random import choice from AllSetting import GetSetting from CrawlProxy.ForeignProxyCrawl.crawl_foreigh_auto import crawl_fn from Database_Option.Get_Mysql_pool import GetMysqlPool from Database_Option.redis_option import RedisOption from Parsing import ParsingData from Request_Web.AllReq...
[ "peilong.zhuang@office.feng.com" ]
peilong.zhuang@office.feng.com
e8f2bfbfd36c90a2ef801eb317ca5acb38f55ceb
385fc235ccd59307f611ab8d3f9bfa025ffab9cd
/helloPV.py
62b154793fd5854e08b5c3711c4435a944bb1e68
[]
no_license
denkovade/hellopy
136193811eea357a26a2ef2499fada91e52fa9ae
311184a51709304a5ba4fe0759d2aa9fe8b1ba48
refs/heads/master
2021-01-09T05:30:15.024229
2017-02-06T07:48:52
2017-02-06T07:48:52
80,781,037
0
0
null
2017-02-06T06:00:24
2017-02-02T23:57:33
Python
UTF-8
Python
false
false
124
py
#!/usr/bin/env python def hello(): return "Hello, PV!" def main(): print hello() if __name__ == "__main__": main()
[ "denkova.de@gmail.com" ]
denkova.de@gmail.com
b8c51955e251f8f1f7397c08dbb129d119c9879e
ecb6b752523a126ef17895854b18e02df41c4cfe
/app_backend/views/user.py
63e2ce8ff4c284a65c2a17364590cdc75c896040
[ "MIT" ]
permissive
zhanghe06/bearing_project
cd6a1b2ba509392da37e5797a3619454ca464276
25729aa7a8a5b38906e60b370609b15e8911ecdd
refs/heads/master
2023-05-27T17:23:22.561045
2023-05-23T09:26:07
2023-05-23T09:39:14
126,219,603
2
5
MIT
2022-12-08T03:11:27
2018-03-21T17:54:44
JavaScript
UTF-8
Python
false
false
21,015
py
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: user.py @time: 2018-04-04 17:33 """ from __future__ import unicode_literals import json from datetime import datetime from flask import ( request, flash, render_template, url_for, redirect, abort, json...
[ "zhang_he06@163.com" ]
zhang_he06@163.com
81a4be138e4d622067c8481ce5bd36adc911a700
f409b79a66ffe524b1d67bb87402bcc184473594
/app/models/music_playlist.py
9c66bb37eaac6fce92fc9cd3d89fcd62631fd06d
[]
no_license
LaTCheatam/sound-burrow
47bdfc5fb7a895ab976334df753c5d86d63725c2
ba0ee7796eee4c79587374d0312db46aa0a4aae8
refs/heads/main
2023-04-26T14:28:22.168720
2021-05-10T20:05:28
2021-05-10T20:05:28
364,056,755
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
from .db import db music_playlist = db.Table( "music_playlists", db.Column( "playlist_id", db.Integer, db.ForeignKey("playlists.id"), primary_key=True), db.Column( "music_id", db.Integer, db.ForeignKey("musics.id"), primary_key=True) )
[ "obsidyenmoon@gmail.com" ]
obsidyenmoon@gmail.com
23a59206c4ecad33e41d00479191210ddc7d3d39
1597f5dd0fc2f75c516a4ec63006d87b422fc884
/Legacy/Character_sheet/races.py
c51b3ba71d14711feee432be2547a81361067b80
[]
no_license
Dan-Mead/DnD
e885036ac8d74c913a6d815115096b8425f2bba7
e55285df6e02eb6c27393bdf906f0898ebce82a9
refs/heads/master
2023-04-30T22:33:24.301837
2021-03-01T16:57:09
2021-03-01T16:57:09
274,371,798
1
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
import inspect import sys import helper_functions as f from glossary import attrs, skills_dict class race: def add_race_modifiers(self, char): char.info.Race = self.race_name char.stats.size.Race = self.size char.stats.speed.Race = self.speed char.proficiencies.languages.Race = ...
[ "danmead8@gmail.com" ]
danmead8@gmail.com
f84017b04e420b59e0e68cb32ea7d83c2b3eb0e9
27df47cd5284b298dd600e367f9ec2437fb3bc22
/setup.whd.py
2cd0c09528091a9b7d219bbe1fd2baa262e24581
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
ashwani2k/cc-utils
29b9c381f652903065f44de33c408fdf1e1f2df9
414921992403013d903725a5649103900d88c95d
refs/heads/master
2022-11-17T16:30:46.137421
2020-07-10T08:12:02
2020-07-10T08:12:02
278,617,577
0
0
null
2020-07-10T11:32:47
2020-07-10T11:32:47
null
UTF-8
Python
false
false
871
py
import setuptools import os own_dir = os.path.abspath(os.path.dirname(__file__)) def requirements(): yield 'gardener-cicd-libs' yield 'gardener-cicd-cli' with open(os.path.join(own_dir, 'requirements.whd.txt')) as f: for line in f.readlines(): line = line.strip() if not l...
[ "christian.cwienk@sap.com" ]
christian.cwienk@sap.com
61f58dbbbbf3a9c7c2141c31686ef310aeedc77b
c4ee9811b04b5340068a1f0f59469a1f3187b892
/fermentation/Drivers/MAX31865.py
03284ae6b989c9132e67f921770641fe43e18f11
[]
no_license
aunsbjerg/fermentationpi
c3037f728ea370a04a539490398f83de045575cb
ad48862e187dcb1f47f006def73ddaedf20e0ffe
refs/heads/master
2020-05-14T09:14:25.637521
2019-04-22T15:29:44
2019-04-22T16:11:45
181,735,913
0
0
null
null
null
null
UTF-8
Python
false
false
9,865
py
#!/usr/bin/python # -*- coding: utf-8; python-indent-offset: 4; -*- # The MIT License (MIT) # # Copyright (c) 2015 Stephen P. Smith # # 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 ...
[ "mikkelaunsbjerg@gmail.com" ]
mikkelaunsbjerg@gmail.com
4e8f0f09dabd4343c18439e5ff5521876f172bb6
e2b0849c0fb6575aadc57cb91b473990317b9162
/Arreglos/Multidimensionales/Help/Multiplicacion.py
27f4443735f10d7828c362084fc4d45d9bca5df0
[]
no_license
YaelGF/Estructura-Datos
486e9c544e2359daaf48dbf2ce049a98b6d2bb4d
3e5d96862629569cae3c6cdcc3fb834752ac54da
refs/heads/main
2023-04-10T22:19:52.077363
2021-04-22T18:51:03
2021-04-22T18:51:03
345,890,894
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
import numpy as np #multiplicacion arr1 = np.array([[1,2,3],[4,5,6],[7,8,9]]) arr2 = np.array([[9,8,7],[6,5,4],[3,2,1]]) arr = np.zeros((3,3)) for r in range(0,3): for c in range(0,3): for k in range(0,3): arr[r,c] += arr1[r,k] * arr2[k,c] print(arr)
[ "1719110736@utectulancingo.edu.mx" ]
1719110736@utectulancingo.edu.mx
a5f5319c815f5da20cfbecf8e71dfa35a6cd7a84
06bd9a58a56202096713ea56b8508e2eb6ac2d01
/test.py
0f610fa15685c4975d272a27eaafc88d1d50d773
[]
no_license
patelanuj28/bottle
f4656396780ded39d0403f3fb9324f7770e96aca
f4b7a7ee3146f16a472094b2d4054242e5bfa65f
refs/heads/master
2020-05-29T19:21:03.533546
2013-12-08T04:23:06
2013-12-08T04:23:06
15,018,073
1
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #from bottle import route, run from bottle import * # or route #from function import * debug(True) @get('/') # or @route(’/login’) @get('/login') # or @route(’/login’) def login(): return ''' <form action="/login" method="post"> Username: <input name="us...
[ "patelanuj28@gmail.com" ]
patelanuj28@gmail.com
4b0cf62503921723253b96546bf05b8cfd198c7b
e9d0a40f78a8019102a824ab80285c76410c41ec
/tests/operators/gpu/test_ms_resize_nearest_neighbor_grad.py
cd90af1f88cb19b3c85d5f46d96627100d6eb36a
[ "Apache-2.0", "Zlib", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-2-Clause" ]
permissive
x200510iong/akg
80aefca89738dd6190132971c8cd291fc2b38f4a
e7c12916b3870d3ba4cfa9b3dcec3eef55915429
refs/heads/master
2022-12-23T21:37:37.673056
2020-09-27T07:36:27
2020-09-27T07:36:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,036
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "zhangrenwei1@huawei.com" ]
zhangrenwei1@huawei.com
4e6e1573f29a52149bacc3d5e2dfb0c49392cbf4
7ff555c8adf2dccc4195eb28567897d61594bd2c
/nav/publisher.py
2f8aa737dae67e647d17376f5945696e9c1405bb
[]
no_license
TetrisCat/auto_nav
af4d8ba799e03f077c534648b353d51cf4615d9e
46c1c55a646dde98f3cc1f010adb264397918224
refs/heads/master
2020-12-18T20:18:49.862413
2020-04-24T12:41:29
2020-04-24T12:41:29
235,510,835
0
0
null
2020-01-22T06:12:31
2020-01-22T06:12:31
null
UTF-8
Python
false
false
587
py
import rospy import time import math from std_msgs.msg import String class pubRpi: def __init__(self): self.node = rospy.init_node('pub2rpi',anonymous = True) self.pubR = rospy.Publisher('cmd_rotate',String,queue_size = 10) self.pubS = rospy.Publisher('cmd_stepper',String,queue_size = 10) ...
[ "adricpjw@gmail.com" ]
adricpjw@gmail.com
4f467685fd2537342ece8b024cefcc5f2c17aab5
945e10c87af8c555dfde1ed96597598473816039
/contact/models.py
d198b82b316e394cb9e5f45ba3be1febc50fc92b
[]
no_license
samuelbustamante/sanluisautomotores
87943cd99091d86e897ed9f41e9fcb10568b3f36
3ed4a6490f945fd060fd71010d1eb06bcff5abab
refs/heads/master
2020-04-06T16:19:09.037639
2012-08-29T15:43:49
2012-08-29T15:43:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
# -*- coding: utf-8 -*- from django.db import models class Message(models.Model): full_name = models.CharField(max_length=100) email = models.EmailField() message = models.TextField()
[ "samuelbustamant@gmail.com" ]
samuelbustamant@gmail.com
00226ee05791fa621c70b3d172311a1631ccaef2
1298b777c595babcaa2592ec67a8cb5455b2225f
/biedronki.py
eca9e342092ba3aae9d19c38086a32f83cb4fb4a
[]
no_license
mateusz-bondarczuk/Biedronki
50e5df9efe2d0d289d851947546c446c997b3909
6ea75d1a58c229936bd7a9a568dbd6f206c05259
refs/heads/master
2021-04-03T13:01:40.079815
2020-03-18T22:29:45
2020-03-18T22:29:45
248,356,311
0
0
null
null
null
null
UTF-8
Python
false
false
6,274
py
#!/usr/bin/python3 # Copyrights (C) 2020 Mateusz Bondarczuk # Napisane przy pomocy podręcznika "PYTHON Kurs Programowania Na Prostych Przykładach" Biblioteczka Komputer Świat import pygame import os import random import threading pygame.init() #rozmiar okna gry szer = 600 wys = 600 #lista wartości kierunku ruchu bie...
[ "mateusz.bondarczuk@gmail.com" ]
mateusz.bondarczuk@gmail.com
9ff1e4fa352ee15f2ec730f85626ad1c7a382d0d
f6e919b03d4bbde65bfa26ee59e05568f623a65d
/Dis.py
1c743a9bfe8662d35a198c1fe0eaacfbfde23f1f
[]
no_license
chrisleewoo/soundbug
94e223505880ad9708d22f7f35b437a5f0c5e941
0eab42c69a320cf1b7e02a65edb9de6e7f65e45c
refs/heads/master
2020-09-25T09:16:44.395825
2019-12-05T21:23:38
2019-12-05T21:23:38
225,972,065
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
import sys import dis with open('code2Trace.dat') as c2T: cnt=1 new_string = '' for line in c2T: #read_line = t2D.readline() if (line == '**EOT**'): c2T.close() break if (".py" in line): chopped_line = '' marker = False ...
[ "noreply@github.com" ]
chrisleewoo.noreply@github.com
606e8d98c93f59c9b0e6a06f3d12dd5a142a0fb8
16f2b1f89179cb6f398db396991e0fdec483a942
/mainapp/migrations/0018_auto_20210215_2247.py
2d1f2bf0a74ee3f503afa7bd07b444517f99f6ba
[]
no_license
alexeyklem/shop
a497c2ce340461da63f40cab28bf7e34ff41b215
78b47c069e899f4bdfe6a424b27c3e84ca062738
refs/heads/master
2023-03-02T06:19:07.265287
2021-02-15T22:29:42
2021-02-15T22:29:42
335,368,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
# Generated by Django 3.1.6 on 2021-02-15 19:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('mainapp', '0017_auto_202...
[ "KlepaN567@gmail.com" ]
KlepaN567@gmail.com
d299b1906bc983e5616962d0ea76e3ed65cd2b48
d6d87140d929262b5228659f89a69571c8669ec1
/airbyte-cdk/python/unit_tests/sources/declarative/auth/test_token_auth.py
2c54e8883b8dcdf127259eb2b1314dba794d2b27
[ "MIT", "Elastic-2.0" ]
permissive
gasparakos/airbyte
b2bb2246ec6a10e1f86293da9d86c61fc4a4ac65
17c77fc819ef3732fb1b20fa4c1932be258f0ee9
refs/heads/master
2023-02-22T20:42:45.400851
2023-02-09T07:43:24
2023-02-09T07:43:24
303,604,219
0
0
MIT
2020-10-13T06:18:04
2020-10-13T06:06:17
null
UTF-8
Python
false
false
3,666
py
# # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # import logging import pytest import requests from airbyte_cdk.sources.declarative.auth.token import ApiKeyAuthenticator, BasicHttpAuthenticator, BearerAuthenticator from requests import Response LOGGER = logging.getLogger(__name__) resp = Response() confi...
[ "noreply@github.com" ]
gasparakos.noreply@github.com
1030289cd14076ec5a0b85f5b22cb1dce6bd11df
7dbbf1d7bc43c13f7fcb5f337a6b3664dba09129
/pydbgen/pbclass/protoc_gen_json.py
807718cc31acba2cd9237246d9b1700dea12839b
[ "MIT" ]
permissive
ppolxda/pydbgen
12b082a93539e3aef6a002cd895acc5ca8589df6
000d1eb87c272a9549c99cd890c9866ae0c56147
refs/heads/master
2022-06-09T11:25:42.656398
2019-12-22T06:01:14
2019-12-22T06:01:14
200,993,919
1
0
null
null
null
null
UTF-8
Python
false
false
10,162
py
# -*- coding: utf-8 -*- import os import sys import six import json import argparse import itertools from collections import OrderedDict from google.protobuf.compiler import plugin_pb2 as plugin from google.protobuf.descriptor_pb2 import FieldOptions from google.protobuf.descriptor_pb2 import DescriptorProto from googl...
[ "ppol850564@gmail.com" ]
ppol850564@gmail.com
edb66058fa8c0b5659b39a912a8d1c75956908eb
bffaa3797ad90d2d48b636e0f2e974dbb870f078
/pik/core/models/historized.py
c75da492b294980e5535bf47545e6350a17a56a5
[ "MIT" ]
permissive
pik-software/pik-django-utils
df061ef7e9a59f97db85468164e7dc470d197b07
84ff77ef359f333e53232e09db8a59beed8624b4
refs/heads/master
2023-07-07T00:00:45.624024
2021-12-17T07:26:51
2021-12-17T07:26:51
127,616,073
8
4
MIT
2023-09-13T13:49:42
2018-04-01T09:38:48
Python
UTF-8
Python
false
false
202
py
from django.db import models from simple_history.models import HistoricalRecords class Historized(models.Model): history = HistoricalRecords(inherit=True) class Meta: abstract = True
[ "pahaz.white@gmail.com" ]
pahaz.white@gmail.com
fa6d2837020c359156534f31435378b02d606b4a
90d13ffb6fa1988242886c3e55e4b555fa7d8ad1
/Three_Part_Dev_Michael/2013_10_07_test/plan/__init__.py
34572cf0774869c49e649315d8a94c30ac5bf348
[]
no_license
mclumd/erewhon_systems
2c798cd303ca2cb19e80c93c88303af8b9aed5a6
93655a96415a01d8f5e49a1f2c244cbfd22b65f2
refs/heads/master
2021-01-17T16:22:53.528996
2016-08-03T19:35:52
2016-08-03T19:35:52
64,771,684
2
0
null
null
null
null
UTF-8
Python
false
false
13
py
import pyplan
[ "cmaxey@payday.cs.umd.edu" ]
cmaxey@payday.cs.umd.edu
f5de1971d194c0eb53a46ad2d4c31fcb29907bf3
d2970ef359537f553e86dc05015b265611bd8f4f
/Akash/iD Game Plan Examples/BlockCipher.py
ccbc84938982ca4f5510095ed98347aebd0ff130
[]
no_license
idcrypt3/camp_2019_07_07
cc68c28f9c84a0ad6ac893cb65a0a48502a09af6
4c748b60f1553072dbda9d4d226b39a32548521f
refs/heads/master
2020-06-17T08:23:30.734953
2019-07-17T16:29:55
2019-07-17T16:29:55
195,860,120
0
0
null
null
null
null
UTF-8
Python
false
false
2,528
py
## Code snippet 1 def pad_message(message, block_size=4): # Take string message as input and return blocks of message bytes (integers) message_list = [] chunk = 0 block_count = len(message) // block_size + 1 for c in range(block_count * block_size): # Shift byte right to make space for the n...
[ "idcrypt3@gmail.com" ]
idcrypt3@gmail.com
127526fece6a1143164daa6c117d6a64beca8f84
a524f7ab59b8c9fa124c68d6e17a1b4cd0c0062b
/DFS/increasingOrderSearchTree/Solution.py
ccb8baefbffdf62dc9c1552c2d89a203ed6388e5
[]
no_license
sulenn/leetcode_python
796b1c9cc52446717f01cda8075eb54db479d4cb
238880a43fac9f2abdfb4202e5d03ce4f1b1e95d
refs/heads/master
2020-08-06T22:33:06.111130
2019-12-15T12:52:51
2019-12-15T12:52:51
213,183,301
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def increasingBST(self, root): """ :type root: TreeNode :rtype: TreeNode """ valu...
[ "273409891@qq.com" ]
273409891@qq.com
51c350f3ab04036faeac750ca7a1c092a00b985f
e753c46bd9bef1a81ef2c48826877c6cc604248d
/exercises/fizz.py
1d5d1b277c115da2a934b92bd14858592cf99a47
[]
no_license
martadrozsa/curso-coursera-python
30699b24898ab4b8abf4e86b6473220a70863b39
aebbd3a75718d2834c63bd2ff5385312997a8e7f
refs/heads/main
2023-07-03T06:42:33.012412
2021-08-04T18:57:25
2021-08-04T18:57:25
392,355,470
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
# Receba um número inteiro na entrada e imprima: Fizz (se o número for divisível por 3) # Caso contrário, imprima o mesmo número que foi dado na entrada. number = int(input("Enter number: ")) remainder = number % 3 is_divisible = remainder == 0 if is_divisible: print("Fizz") else: print(number)
[ "marta.denisczwicz@gmail.com" ]
marta.denisczwicz@gmail.com
2e2ea0ae1f07937be98c14ecad25d65168805933
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/ospf/lsustats1h.py
43030853dd76a0d3121f6c35a084d838e8d89808
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
37,960
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
80141b88864352a3da42ab6cd661e2218e992d2c
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/starshield/apis/DeleteDNSRecordRequest.py
f0c3297faa9d2743710cb3f081ef643dc9e9ae02
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,311
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "jdcloud-api@jd.com" ]
jdcloud-api@jd.com
ef9c19b3eb103b74a30574d32c605d338f2bd7a8
8285b710101a4da39b1bfb7e2900d590c4b1ef13
/08-distance-calc.py
5fd9e0fdaaec4ae06407a1b6e08764e244321141
[]
no_license
aiyenggar/regioncitations
1097cbe1f94552eae5cadc4e551d95157eb5d8ab
b8ba34b83522b404d652ca4fdc1ae5aeb193a438
refs/heads/master
2021-04-29T22:54:33.538482
2020-03-23T05:06:28
2020-03-23T05:06:28
78,220,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,846
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 18 08:44:34 2019 @author: aiyenggar """ import csv import pandas as pd import geopy.distance import time def dump(dictionary, filename): with open(filename, 'w') as csvFile: writer = csv.writer(csvFile) writer.writerow(['latlon...
[ "aiyenggar@users.noreply.github.com" ]
aiyenggar@users.noreply.github.com
e0cfacb1680baaad5f710f171d3d8177c3a5eea0
c89543dd926c1787c40616ed174a3d1371c54449
/superset/tags/core.py
6c4f56a2e66f217a3a8df5a3026d0e3a310987de
[ "Apache-2.0", "OFL-1.1" ]
permissive
j420247/incubator-superset
7c7bff330393f0e91f5e67782f35efe8c735250a
c9b9b7404a2440a4c9d3173f0c494ed40f7fa2bd
refs/heads/master
2023-03-11T21:53:16.827919
2023-02-03T19:04:17
2023-02-03T19:04:17
157,780,350
1
1
Apache-2.0
2023-03-07T00:14:51
2018-11-15T22:24:29
TypeScript
UTF-8
Python
false
false
3,962
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...
[ "noreply@github.com" ]
j420247.noreply@github.com
3268c3ee936318afe2dd9aace2de1008066d265e
f2d5498e47ff24810c462ea9b05d6520beb65eea
/4-auth/bookshelf/crud.py
6ee765b53e700698947dc0d92c8490b9ebf66c58
[]
no_license
kennethleekk/Hackhub-python
b3388d47fbd4540bab7e6f727c667b15d8c5ba92
44c9adc68cf778383e695fd8a6629aed700f5c17
refs/heads/master
2022-12-04T17:17:03.255394
2020-08-20T13:30:04
2020-08-20T13:30:04
289,013,040
0
0
null
null
null
null
UTF-8
Python
false
false
16,241
py
# Copyright 2015 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "56199344+kennethleekk@users.noreply.github.com" ]
56199344+kennethleekk@users.noreply.github.com
9ad605cc33ca49dfd845db8299e039635bb5dc13
170a0006eed0c22a463b2304acca579805954aba
/ai/main.py
dc91cfb278f70a9caf589acc873db3789462526d
[]
no_license
nav3van/trading_bot
2b5c4707a6ba365b68bd771556d9298c4cbe84f7
532c588e712a38746d0f97c445b36db91a8dac84
refs/heads/master
2023-02-10T19:51:53.586869
2021-01-08T21:13:44
2021-01-08T21:13:44
328,013,563
1
0
null
null
null
null
UTF-8
Python
false
false
3,374
py
#!/usr/bin/env python3.6 import argparse import functools import multiprocessing import subprocess import matplotlib.pyplot as plt import numpy as np from ai.tf import neural_net def get_training_data(training_steps): # Make an array of 300 samples values starting with -1 and ending with 1 sample_data = np....
[ "ehenri@arbor.net" ]
ehenri@arbor.net
03206ecbe04795a00eb3793a7ae1b72424c0a606
8ad15ebf0d8107eb2e4b08eb24335183d6f1cd5e
/Chapter_03/计算字符个数.py
cfbd069c30217150121df5ffadbbb5c25528909f
[]
no_license
Zhang-Zhi-ZZ/PythonPKUPractice
eca808854937e26364c71762c3852a51a35bf838
71bc32fb99212fd5fac63eff517ad1205a03c35c
refs/heads/master
2022-06-10T06:36:16.170178
2020-05-02T03:52:28
2020-05-02T03:52:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
s = str(input()) s1 = str(s.lower().split()[0]) c = str(s.lower().split()[-1]) if len(s1) == 0: exit() if len(c) == 0: exit() if len(c) >= 1: print(s1.count(c))
[ "zhang325200@gmail.com" ]
zhang325200@gmail.com
d7a21bdd148944476cbbb6d6c874aa4ac9b4984e
f5cfca032f9074bf4d8844e64566e09112595626
/zendesk_tickets_machine/tickets/migrations/0012_auto_20161214_0157.py
d78c0e15bec5517b6b4b319f780d75caa2eb17fd
[ "MIT" ]
permissive
prontotools/zendesk-tickets-machine
15b08cbce4264f042bfdb58e6f16792b84f5c05e
1a0376038021e6277739907bb4e7393acebde8c6
refs/heads/develop
2021-06-20T10:31:48.873580
2019-07-25T00:09:12
2019-07-25T00:09:12
75,986,569
3
8
MIT
2021-06-10T20:19:37
2016-12-09T00:27:45
Python
UTF-8
Python
false
false
846
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-14 01:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tickets', '0011_auto_20161214_0146'), ] operations = [ migrations.AlterFiel...
[ "kan@prontomarketing.com" ]
kan@prontomarketing.com
786f9d675bff9f75ea206a483a300b5a7869433e
c16fb74fd2fd69d65cd813a3d23d5e7b61f9808f
/xueqiu/downloader_p3.py
ae3cf3e67a90d53a71fb48d1464ac0d7f9a45786
[]
no_license
nightqiuhua/selenium_crawler_xueqiu
9d3f9d10b2fdb5a479269e6d14cc52c97945ec31
0c68eeed7033c28f81def5f94351f2fbb42ca079
refs/heads/master
2020-03-20T17:54:53.943464
2018-06-16T13:36:45
2018-06-16T13:36:45
137,568,347
0
0
null
null
null
null
UTF-8
Python
false
false
2,375
py
import urllib.request import urllib.parse import socket from datetime import datetime import time import random import gzip import re import json from selenium import webdriver DEFAULT_DELAY = 2 DEFAULT_TIMEOUT = 200 DEFAULT_RETRIES = 1 DEFAULT_CHROME_PATH = 'C:\\Program Files (x86)\\Google\\Chrome\\Application\...
[ "208408@whut.edu.cn" ]
208408@whut.edu.cn
4981ccd67c286b157f71d1c1322ab43d69b68044
508e7a80242e68748b9d98626aa80931d341654e
/utils/datadownload.py
9b2321d50498ebc971772579811969c71d71c19d
[]
no_license
Frans06/tsprediction
974c2033536b41d660d0bb0cfd4235f48cec5dbc
2939da9f1c19029e00aadd11060f71b830411af5
refs/heads/master
2020-03-30T16:27:20.075665
2018-10-15T16:22:31
2018-10-15T16:22:31
151,409,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
""" This is a plot module for enviroment variable definitions Example: import and inherit Class:: import plots Class Config define global and enviromental Variables. Todo: * For module TODOs * You have to also use ``sphinx.ext.todo`` extension """ import numpy as np import seaborn as sns import ...
[ "franscaraveli@gmail.com" ]
franscaraveli@gmail.com
6d7c3b2284ba2801f5a452ecb0b796a039689a55
61744d85bbf2aefdf0fc27006acc2e742db9e152
/misoKG-master/unittests/test_util.py
ffae33d812ddb34df8199afecdbbf1d399e827ab
[]
no_license
sunatthegilddotcom/perovskite-4
896da29694830a6b98c33050f1aa41258310bd59
dd21c8b6217c5859783a6a92e9b082aeea98f9e8
refs/heads/master
2021-07-03T13:36:08.618860
2017-09-25T02:18:44
2017-09-25T02:18:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,015
py
import numpy from moe.optimal_learning.python.data_containers import HistoricalData from moe.optimal_learning.python.geometry_utils import ClosedInterval from moe.optimal_learning.python.python_version.domain import TensorProductDomain as pythonTensorProductDomain from moe.optimal_learning.python.python_version.gaussi...
[ "hwcxy2008@yahoo.com" ]
hwcxy2008@yahoo.com
f97951372cdf93323daf822c02f98334af5e9cc1
951a84f6fafa763ba74dc0ad6847aaf90f76023c
/Solu1038.py
83fd33ead5ac7a894bb8650f3c1a5cb59e1b7494
[]
no_license
SakuraGo/leetcodepython3
37258531f1994336151f8b5c8aec5139f1ba79f8
8cedddb997f4fb6048b53384ac014d933b6967ac
refs/heads/master
2020-09-27T15:55:28.353433
2020-02-15T12:00:02
2020-02-15T12:00:02
226,550,406
1
1
null
null
null
null
UTF-8
Python
false
false
1,155
py
# 1038. 从二叉搜索树到更大和树 # 给出二叉搜索树的根节点,该二叉树的节点值各不相同,修改二叉树,使每个节点 node 的新值等于原树中大于或等于 node.val 的值之和。 # # 提醒一下,二叉搜索树满足下列约束条件: # # 节点的左子树仅包含键小于节点键的节点。 # 节点的右子树仅包含键大于节点键的节点。 # 左右子树也必须是二叉搜索树。 # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self...
[ "452681917@qq.com" ]
452681917@qq.com
6550363a57ad1b6db87f3cf5d6435274ef15d7aa
bb53229d1f296f8b7b3f7eb623673031474a4664
/robot/envs/spaces/utils.py
68b587bb7aabf4062db73c3a283532a2a35d4e9a
[]
no_license
hzaskywalker/torch_robotics
03f2de64972d47752e45ae0a0c30334bf6c52c6c
0f3d5a46e81d734d514bffcbf4ed84cdcdbd4c86
refs/heads/master
2023-07-28T17:04:17.915787
2021-09-14T04:30:55
2021-09-14T04:30:55
405,022,434
2
0
null
null
null
null
UTF-8
Python
false
false
2,195
py
import numpy as np import torch from collections import OrderedDict TYPE_DICT = { np.dtype('float32'): torch.float, np.dtype('float64'): torch.float, np.dtype('int64'): torch.long, np.dtype('int32'): torch.long, } def cat(out, dim): if isinstance(out[0], np.ndarray): return np.concatena...
[ "hzaskywalker@gmail.com" ]
hzaskywalker@gmail.com
a4c01c7f985b89905f2d4d7b79e5eff433bea81d
ce7f06c834579bc10385d0ee3a1238f66bc9bad4
/Malware_Imaging/project/models/simple_colored_cnns.py
fb0607cdfe7c354255e7942a9766fd8fd9227f59
[ "MIT" ]
permissive
FullPint/INSuRE-Malware-Imaging
90cdada4e731c9ea1de8223538da9c338ba80e73
e1906821305b0eb32e85605c23e4c8821dd156fb
refs/heads/master
2020-05-17T06:24:52.442688
2019-05-03T02:39:11
2019-05-03T02:39:11
183,558,149
4
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
# User Defined Imports from Malware_Imaging.project.models.models_config import DEFAULT_INPUT_SIZES from Malware_Imaging.project.models.image_generators import get_simple_color_settings from Malware_Imaging.project.models.make_simple_gray_scale_cnn import ( make_simple_gray_scale_cnn, ) def run_small_colored_cnn(...
[ "davila.alec@gmail.com" ]
davila.alec@gmail.com
f9da787f6c75897ec064f52e7a4927aafdffb2ad
78faa6c18d7ced1338323cf542d2abfc436f3ff2
/mighty_rover/nodes/move_obs_3.py
7ea30c89a6592a2b89f45c26a4922e07a1e44823
[]
no_license
klab-2021/pf1_dev
06a78ea73851fc6c9c03ef3d8e94aed01bcda139
1cff5fc7df22ee2dffdd74c3c12a9dc92692948b
refs/heads/master
2023-06-30T20:19:16.380880
2021-07-27T09:40:24
2021-07-27T09:40:24
389,831,286
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
#!/usr/bin/env python ################################################################################# # Copyright 2018 ROBOTIS CO., LTD. # # 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 # # ...
[ "klab2021.pf1@gmail.com" ]
klab2021.pf1@gmail.com
62a0bf5fe5020083f2fbc613f042dd35a512e463
a2672fe19f0dfc29fd8000837c1b01f4d10ad227
/comment/views.py
d8dd2611d9655a118ea9e98456e779aeada94a93
[ "MIT" ]
permissive
HaibaraAi123/DjangoBlog-chenfeng123.cn
fa6fa4eb446acba713291e6976a9e6dddd73b0e9
ca5a90a4ad91e383a5ff25131488527f5733e216
refs/heads/master
2022-11-23T22:21:18.343102
2020-08-05T06:46:25
2020-08-05T06:46:25
285,197,046
1
0
null
null
null
null
UTF-8
Python
false
false
1,593
py
from django.shortcuts import render, redirect, get_object_or_404 from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth.decorators import login_required from myblog.models import Article from .forms import CommentForm from .models import BlogComment # Create your views here. @login_requi...
[ "1224574671@qq.com" ]
1224574671@qq.com
9fbe50b06a7870c22d1e6c6b98cd817577078729
d70cdc9a46676acb4c4396cd69f1e8253921858b
/app/views/__init__.py
e78a3cbea7c080c7ad4312988d3cb8c9d64732a5
[]
no_license
Lemon000/Blog
c57105b1260bcfa13bb413713fb8e2bd57400b15
4654a94a72039c8b4664c15787ca6d5a56c67d61
refs/heads/master
2022-12-13T04:31:46.968468
2020-01-08T08:41:45
2020-01-08T08:41:45
232,509,848
0
0
null
2022-12-08T01:07:18
2020-01-08T07:57:39
HTML
UTF-8
Python
false
false
405
py
from .main import main from .user import user from .posts import posts from .admin import admin # 蓝本配置元祖 DEFAULT_BLUEPRINT = ( # 蓝本前缀 (main, ''), (user, '/user'), (posts, '/posts'), (admin, '/admin') ) # 注册蓝本 def config_blueprint(app): for blue_print, url_prefix in DEFAULT_BLUEPRINT: a...
[ "2221487809@qq.com" ]
2221487809@qq.com
d8a696dd4e3ed56236c684116cb6ccc574e6e05a
baeebadd5786ee0e96626741da650d5c2e277b52
/lib/bes/shell_framework/shell_framework_defaults.py
84933a2b7fb902449ecc26b067f1a36fb9ecd007
[ "Apache-2.0" ]
permissive
reconstruir/bes
e75b25868d0a97a1a167d92b62e11996cb6c4774
b9dd35b518848cea82e43d5016e425cc7dac32e5
refs/heads/master
2023-08-31T21:11:45.482193
2023-08-19T20:07:04
2023-08-19T20:07:04
421,598,217
0
1
NOASSERTION
2022-12-21T11:50:29
2021-10-26T22:08:30
Python
UTF-8
Python
false
false
350
py
#-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- import os class shell_framework_defaults(object): ADDRESS = 'https://gitlab.com/rebuilder/bes_shell.git' FRAMEWORK_BASENAME = 'bes_shell_framework' REVISION_BASENAME = 'bes_shell_framework_revision.txt' REVISION = 'lat...
[ "git@fateware.com" ]
git@fateware.com
637ccc02876759cda876e955d0f064102b0fe89d
89b6e970ed3ac0e02b6ea04482510d0fbd84983e
/tests.py
23eaa500119987d13380767c51892f133c83dbab
[]
no_license
sirjordan/yamp
00aab9361621c384610a9c9af2d608d445aef709
28e364815b2447823f890f1e95b918f17ffe1919
refs/heads/master
2021-01-11T17:06:21.664118
2017-01-22T18:45:12
2017-01-22T18:45:12
79,719,889
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
import unittest import dices class YampDiceTests(unittest.TestCase): def test_roll_dices(self): _dices = dices.roll_dices() self.assertEqual(len(_dices), 5) def test_score_matching(self): self.assertEqual(dices.score_matching([1, 1, 1, 3, 4], 1), 3) self.assertEqual(dices.scor...
[ "sirjordan1988@gmail.com" ]
sirjordan1988@gmail.com
3ad6baac15e6e6e76d87073d0fed291bcbd36b0d
fd5fa2545f42f6f216c543ac6c741e02909dcc60
/src/modules/web/java.py
af09045c5ded92c9928953a2c2ff44af21773283
[]
no_license
noptrix/nullscan
2a192d6ee9d6498cccfbc90b5b240ed2d00559a8
ddc052c8d7d43a60fc00ea40d85111d5bd7a282e
refs/heads/master
2023-02-12T16:33:11.547160
2021-01-06T20:00:32
2021-01-06T20:00:32
255,212,633
52
12
null
null
null
null
UTF-8
Python
false
false
1,992
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ######################################################## # ____ _ __ # # ___ __ __/ / /__ ___ ______ ______(_) /___ __ # # / _ \/ // / / (_-</ -_) __/ // / __/ / __/ // / ...
[ "noptrix@nullsecurity.net" ]
noptrix@nullsecurity.net
befad40b0a452ae5a9050b897e18ce3770d880a1
22557e9243fe8cae4205c738eeb0c0fe8a74a996
/src/main/python/SentimentAnalayzerRNNFinal.py
b1b82ed3252b1fdec728cd91c01cc74b19e0300e
[]
no_license
piyumalanthony/sentiment-tagger
6896c3c5bf241ad3affd54af53b86fe44101010f
e4515621085fd2dde1b0c2e09e5bbbfe266d5477
refs/heads/master
2020-12-19T01:26:16.816291
2019-06-12T23:14:56
2019-06-12T23:14:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,469
py
# coding: utf-8 import numpy as np import pandas as pd import datetime from random import randint from gensim.models import word2vec from gensim.models.fasttext import FastText from sklearn.model_selection import train_test_split import tensorflow as tf from sklearn.metrics import f1_score, precision_score, recall_sco...
[ "theisuru@gmail.com" ]
theisuru@gmail.com
84f5662ca89b35ab581b56f3308fd2648169d269
789fe602dbd2d36fcd42cfd729758790a526055d
/collections_orderdict.py
5ba3ea87c139167936740aaa0201bc276d4a3423
[]
no_license
charukhandelwal/Hackerrank
604b6be1b11c718b9c99e4a3eae9544ff629576d
8ac84c481804d5b7a00fffc566312037ccb00685
refs/heads/master
2022-12-29T01:12:11.247527
2020-10-17T17:10:50
2020-10-17T17:10:50
304,927,588
1
0
null
2020-10-17T17:10:51
2020-10-17T17:03:23
null
UTF-8
Python
false
false
2,249
py
""" collections.OrderedDict An OrderedDict is a dictionary that remembers the order of the keys that were inserted first. If a new entry overwrites an existing entry, the original insertion position is left unchanged. Example Code >>> from collections import OrderedDict >>> >>> ordinary_dictionary = {} >>> ordina...
[ "ayush.aceit@gmail.com" ]
ayush.aceit@gmail.com
c42471b2570abccab19f497acfe0fc3d2f29ebf5
0869d7edac80e8aebe951682a2cc311a083eade3
/Python/example_controllers/core_concepts/image_capture.py
d702e8daf8c765c5d81bbd10f4bc8da68847dedd
[ "BSD-2-Clause" ]
permissive
threedworld-mit/tdw
7d5b4453832647733ff91ad7a7ce7ec2320454c1
9df96fba455b327bb360d8dd5886d8754046c690
refs/heads/master
2023-09-01T11:45:28.132298
2023-08-31T16:13:30
2023-08-31T16:13:30
245,492,977
427
75
BSD-2-Clause
2023-09-14T17:36:12
2020-03-06T18:42:09
Python
UTF-8
Python
false
false
1,251
py
from tdw.controller import Controller from tdw.tdw_utils import TDWUtils from tdw.add_ons.third_person_camera import ThirdPersonCamera from tdw.add_ons.image_capture import ImageCapture from tdw.backend.paths import EXAMPLE_CONTROLLER_OUTPUT_PATH """ Example implementation of the ImageCapture add-on. """ c = Controll...
[ "alters@mit.edu" ]
alters@mit.edu
e83dff7ce94dc215a8a6efb2a0e98eab8e9361bd
f347ddf8f11b748b09646aabd3c4d807e49d6e86
/reports/views/personals.py
9d672995cc9fd30458c06d69b93be67d73c12078
[]
no_license
gitavk/fcbp
b630a8570b46557ee0ffd20ae1baa57741147766
02ffcc54a805861a098952b388bfd28ec69b176a
refs/heads/master
2021-01-17T02:19:58.572362
2018-11-12T07:09:07
2018-11-12T07:09:07
39,645,922
0
1
null
null
null
null
UTF-8
Python
false
false
11,676
py
""" Statistic of the client Personals. """ # -*- coding: utf-8 -*- from datetime import timedelta, datetime from collections import defaultdict from django.db.models import Sum from django.utils.translation import ugettext as _ from employees.models import Employee from clients.models import ClientPersonal, UseClient...
[ "avk@alarstudios.com" ]
avk@alarstudios.com
15e5e94a53f74e158e336e3611b445f5c8cb02a2
99c4761c4f3388708152dcc21d0415eac76e80c1
/wequant/ltc_revere.py
0c57bfe89bc71b7f46eca598e5957c2655fbb9ef
[]
no_license
zhuoyikang/finance
e7e43f0c6eba357db6c5a5989f4b0429ae82c0db
2489ab49c783c3f1ba15fc37fb0de8a792edbc0a
refs/heads/master
2021-09-23T22:08:01.401791
2018-09-28T06:43:31
2018-09-28T06:43:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,058
py
# 注:该策略仅供参考和学习,不保证收益。 # !/usr/bin/env python # -*- coding: utf-8 -*- # 策略代码总共分为三大部分,1)PARAMS变量 2)initialize函数 3)handle_data函数 # 请根据指示阅读。或者直接点击运行回测按钮,进行测试,查看策略效果。 # 策略名称:BOLL指标策略 # 策略详细介绍:https://wequant.io/study/strategy.boll.html # 关键词:价格通道、价格突破。 # 方法: # 1)利用均值和标准差构建价格区间 # 2)以价格超越轨道作为突破信号,向上突破买入,向下突破卖出 import num...
[ "zhuoyikang@gmail.com" ]
zhuoyikang@gmail.com
cd6c3e95476cb104ea83f9a922640fb929d2fc7a
5b3e01b0dbc683c79c222c26aac0aacb642cc2e2
/prompt_toolkit/contrib/ssh/server.py
ad68c577f29dc6714f7ac86467924b128f8087d8
[ "BSD-3-Clause" ]
permissive
Stabledog/python-prompt-toolkit
31b15c46f482dad8baa862b0089ee3fe11cf1304
4eabc69ad69f00d8f19070798140ec47f3d13a25
refs/heads/master
2020-05-31T03:03:36.537595
2019-06-02T14:28:09
2019-06-02T19:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,374
py
""" Utility for running a prompt_toolkit application in an asyncssh server. """ import asyncio import traceback from typing import Awaitable, Callable, Optional, TextIO, cast import asyncssh from prompt_toolkit.application.current import AppSession, create_app_session from prompt_toolkit.data_structures import Size fr...
[ "jonathan@slenders.be" ]
jonathan@slenders.be
8ef9b4a37e8c02b5e9db9da4aabde348a53e9097
9b1d4f059d9883d9f06a32e7c6c640376f27b7eb
/ProyectoDjango/asgi.py
48acbd1449daa9dc14881c9151124cae158bbd89
[ "MIT" ]
permissive
JeanContreras12/ColungaRepo
dccdf5d5ab7c632edc7db58ac3b8b4b70c70feb6
af59e07f31b3d56ebdf02431a2967134985c1624
refs/heads/main
2023-06-12T18:43:27.619078
2021-07-09T15:23:35
2021-07-09T15:23:35
371,485,778
1
0
MIT
2021-07-06T15:56:20
2021-05-27T19:40:54
CSS
UTF-8
Python
false
false
405
py
""" ASGI config for ProyectoDjango project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANG...
[ "j.contrerasmanriquez@uandresbello.edu" ]
j.contrerasmanriquez@uandresbello.edu
999257106ee01f01b171590672d6dd8c48ff5e0a
0a93b53463fbe848913b7ce6227f6b3f4713fdf2
/Visualization/dahakianapi/formrun.py
ff7da07f1958c9c739050f97f79442ca585972ab
[ "MIT" ]
permissive
kopok2/BooXchange-Recommendation
83c53f4ad4ffcd53b1533fc8a28f3aaee9187540
b0e6327a8d4d0eb4719488c53469ac2018c3ee53
refs/heads/master
2021-07-06T09:11:30.853943
2020-11-29T21:35:09
2020-11-29T21:35:09
211,632,574
0
0
null
null
null
null
UTF-8
Python
false
false
2,113
py
"""Form run interface module This module implements form running interface used to run app's forms in parallel. """ import sys import os import subprocess from multiprocessing import Process from dahakianapi.asynccomm import AsyncCommPoster from json import JSONDecodeError python_interpreter_path = sys.executable ...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
31457aaac9611a052fe9d52bae408f75a2d42776
e692c25a70b0930f16805768ab808aba60b05063
/oop.py
853b711ad0b8965748fbd25198393b5ae203affa
[]
no_license
VICUBARAL/firststeps
9a7317f7fe2085fdc0c004e9940d2050a62fcc4a
a52892272e883b708cd25c37f78d9c429f6f5ba5
refs/heads/master
2023-04-23T15:51:39.409257
2021-05-13T17:21:43
2021-05-13T17:21:43
367,093,700
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
class Employee: num_of_emps = 0 raise_amt = 1.04 def __init__(self, first, last, pay): self.first = first self.last = last self.email = first + '.' + last + '@email.com' self.pay = pay Employee.num_of_emps += 1 def fullname (self): return '{} {}'.forma...
[ "62349218+VictoriaBaral@users.noreply.github.com" ]
62349218+VictoriaBaral@users.noreply.github.com
1dd64e033bff0788b62d6ca278fc90b00e628a23
a5f1bf55a73268b556e070a8ad3391c87e2d0e8f
/consumo_eletrico.py
edf4c6cb83e58cd75430198a4688bc07653aed56
[]
no_license
TerminalBen/dash_graphs
f85d24c5b8daa27a87fd89588c12b9585d56bdc0
22be18a697b99c444e1a7de93a72c777f7231231
refs/heads/master
2023-08-17T00:50:27.688704
2021-01-30T11:46:19
2021-01-30T11:46:19
275,002,341
0
0
null
2021-09-22T19:19:47
2020-06-25T19:50:09
Python
UTF-8
Python
false
false
8,659
py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objects as go import consumo_eletrico_data as ed external_stylesheets1 = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] years=[2016,2017,2018,2019,2020] app = dash.Dash(__name__, external_stylesheets=external_styles...
[ "bentolima100@gmail.com" ]
bentolima100@gmail.com
fcef827ee14df9e33527c492c1072a3edffbd1f4
cb00fe13083728c540076600e41710081b7ef0ce
/site/venv/Lib/site-packages/pip/_vendor/urllib3/util/queue.py
88842e94c8f8b3d508d6866edf9ed1e12da053ac
[]
no_license
Wamadahama/ner-framework
069464342512bab9f429b11be735f6cb487afb74
4cb699469ec8733f74cb67f67af995e734231974
refs/heads/master
2023-03-28T14:28:42.791453
2021-03-29T22:27:33
2021-03-29T22:27:33
209,624,138
4
1
null
null
null
null
UTF-8
Python
false
false
451
py
import collections from ..packages import six from ..packages.six.moves import queue if six.PY2: # Queue is imported for side effects on MS Windows. See issue #229. pass class LifoQueue(queue.Queue): def _init(self, _): self.queue = collections.deque() def _qsize(self, len=len): retu...
[ "evanscruzen@gmail.com" ]
evanscruzen@gmail.com
1a36a483e5e54b2562473bff6396d0d53625c163
58405d760478914f861239920fd613b2fef624e1
/tests/test_source.py
8b1ab98db7201698a7df72357c4dc5606c4b606e
[ "LicenseRef-scancode-sata" ]
permissive
HASSAN1A/News-App
61a560bd24aea6b3fda957d5e6afed1d510d268f
cda736e7274b54b4ee53ee671c6e2c6ac8dd39d1
refs/heads/master
2023-03-25T04:31:36.846114
2020-10-20T16:13:22
2020-10-20T16:13:22
304,731,238
2
0
null
null
null
null
UTF-8
Python
false
false
431
py
import unittest from app.models import Source class SourceTest(unittest.TestCase): ''' Test Class to test the behaviour of the Source class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.new_source = Source('abc-news','ABC News','A thri...
[ "okothhassanjuma@gmail.com" ]
okothhassanjuma@gmail.com
dad3a89b7b3fc9dc24c4542db1b382193308b89f
b096d5258393144cf33c755eec6e1a9dadd7a4ee
/sourceControlApp/migrations/0017_auto_20141119_0507.py
3607274abde18f18eb9f7acb9bba438b2ab3ce75
[]
no_license
gittrdone/sourcecontrol
c5b41ad40d475cca95863a889d88b718b36bd672
1e1fab1c11c01d71b424bb486353b3002a5a6f73
refs/heads/master
2020-05-17T05:24:52.339606
2015-04-08T04:46:02
2015-04-08T04:46:02
23,799,825
0
1
null
null
null
null
UTF-8
Python
false
false
861
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('sourceControlApp', '0016_auto_20141119_0343'), ] operations = [ migrations.AlterField( model_name='codeauthor', ...
[ "tpatikorn@hotmail.com" ]
tpatikorn@hotmail.com
c25887904d18b0e4aa6748423e20f5ff86b50d0c
fd119ce1f9ca063f49a5ec0c80b428957eaba62e
/part_3_proj_traj .py
c1ceaccb19dd456cb69219548caf244e3ad2a346
[]
no_license
siba987/Embedded-Systems-Project
35c4e77d2f0ede7a190f704a53cd4d48e4f9f45a
3dd47669906e4912eb850a6e469a62e969f7d176
refs/heads/master
2020-03-15T05:46:25.446408
2018-05-03T19:12:17
2018-05-03T19:12:17
131,993,996
0
0
null
null
null
null
UTF-8
Python
false
false
6,498
py
import tuio import socket import time import math import datetime TCP_IP = '192.168.1.1' TCP_PORT = 2001 BUFFER_SIZE = 1024 forward = b'\xff\0\x01\0\xff' bckwd = b'\xff\0\x02\0\xff' stop = b'\xff\0\x00\0\xff' rot_r = b'\xFF\x00\x03\x00\xFF' rot_l = b'\xFF\x00\x04\x00\xFF' save_cam_angle = b'\xFF\x32\x00\...
[ "noreply@github.com" ]
siba987.noreply@github.com
3a135b64acbaac7fbd448db5267cdfe1e8981cea
ba4bcfdfc70062bc904bd6490faaf66c5c4c7345
/TestResult_Project_ver0.3/DataBase_Results/Perform_Score/spec2000-1core/perform_spec2000_1core_CFP_2csv.py
89cbd10b46e1847be6a84d16629eaa295aadd83b
[]
no_license
jianxiamage/Proj_TestResults
8ac5cf9c2eb20685e6e03aea8999a07768154bf4
4a5c2c7c44babad754ac0755787022308888713d
refs/heads/master
2022-11-28T09:23:34.617677
2020-04-23T07:44:03
2020-04-23T07:44:03
203,519,769
0
0
null
2022-11-22T00:34:30
2019-08-21T06:20:47
Python
UTF-8
Python
false
false
3,320
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys #引入模块 import os import traceback import ConfigParser reload(sys) sys.setdefaultencoding('utf-8') #------------------------------------------ ResultPath='/data/' detailDir='Detail' PointsPath='Points_Files' #------------------------------------------ #section...
[ "jianxiamage@163.com" ]
jianxiamage@163.com
f22f654240c4e2b94bb4442b5a54342c12031ee0
46390b01256fd4a0dbf3de12b5b3b2248b36a3d5
/gallery/plot_transforms.py
032dd584c26ea395043052559bde511dcc1c2afa
[ "BSD-3-Clause" ]
permissive
DevPranjal/vision
ba7e4f79b17189ff621e718d21ce3380f64b80df
ec40ac3ab84b90b2bb422f98b4d57b89d424676c
refs/heads/master
2023-06-29T23:15:13.577246
2021-06-10T14:10:39
2021-06-10T14:10:39
375,726,988
2
0
BSD-3-Clause
2021-06-10T14:30:58
2021-06-10T14:30:58
null
UTF-8
Python
false
false
10,421
py
""" ========================== Illustration of transforms ========================== This example illustrates the various transforms available in :ref:`the torchvision.transforms module <transforms>`. """ from PIL import Image from pathlib import Path import matplotlib.pyplot as plt import numpy as np import torch i...
[ "noreply@github.com" ]
DevPranjal.noreply@github.com
4d73ef6e2788f7795f74025da206752fac277b97
02aafed62a17b714079326abb4f77f089f4623f6
/touchscreen/testcal.py
d3cd19431305ff1399ec60a6343843616bb024c8
[ "MIT" ]
permissive
amirgon/lv_mpy_examples
89e08197a3a556945823c65873853a761160a676
a4ccb16b17f915fb85d66facec2978166151af2b
refs/heads/main
2023-03-19T00:38:19.300618
2021-03-12T09:59:40
2021-03-12T09:59:40
344,953,085
0
0
MIT
2021-03-05T22:45:54
2021-03-05T22:45:53
null
UTF-8
Python
false
false
1,488
py
#!/opt/bin/lv_micropython -i import lvgl as lv import display_driver import time from micropython -i import const CIRCLE_SIZE = const(20) TP_MAX_VALUE = const(10000) def check(): point = lv.point_t() indev = lv.indev_get_act() indev.get_point(point) print("click position: x: %d, y: %d"%(point.x,point....
[ "uli.raich@gmail.com" ]
uli.raich@gmail.com
b8009fdb590637a563909e6f62d86b7b016014d8
839b8d3b691bc07fdd48d2a569d8b86c3cd8b4d1
/tests/test_iterator.py
6a566b89b5a14be81ca0b696f16625adfe31364a
[ "MIT" ]
permissive
arghavanMor/flutes
15bdd23fa1e289769a770c3093f2325f5b2525ab
3b7c518ad8d7d1386cea623a10e844db340826fe
refs/heads/master
2023-05-14T04:59:00.540352
2020-07-20T22:11:30
2020-07-20T22:11:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,889
py
import operator import pytest import flutes from .utils import check_iterator def test_chunk() -> None: check_iterator(flutes.chunk(3, range(10)), [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9]]) check_iterator(flutes.chunk(6, range(5)), [[0, 1, 2, 3, 4]]) def test_take() -> N...
[ "huzecong@gmail.com" ]
huzecong@gmail.com
ab48d81b092f72c832d2f75826e46cf93efab8ef
c0b02bf77168b5770a86e8beb341738083a253a7
/pymada/setup.py
9a794523db9d1cd19191f746c8835d6eb25b977c
[]
no_license
nhoss2/pymada
61fe4df9c107b66df14bf1384716f370e6d23102
ec537e938a593e830ca82249b82531a881430dd5
refs/heads/master
2022-12-13T20:44:09.745576
2020-05-27T17:05:46
2020-05-27T17:05:46
204,399,744
0
1
null
2022-12-08T09:31:54
2019-08-26T05:06:07
Python
UTF-8
Python
false
false
658
py
from setuptools import setup, find_packages setup( name="pymada", version="0.1.0", url="https://github.com/nhoss2/pymada", license="", author="Nafis Hossain", author_email="nafis@labs.im", description="pymada", packages=find_packages(), install_requires=[ 'apache-libclou...
[ "nafis@labs.im" ]
nafis@labs.im
cffaedfae2b94bc933a329ab61f87cb4dacae1e5
5862c7e8df5f756867e2ac05e3d37d23e2d2c5b6
/network_caller/net_translate.py
7e2ee781c310b455854e26b1f479f2c4d91f67dd
[]
no_license
GKaramiMP/ASL2PET
1015f74b47e0604ec38f5f596d79ecf2999bcb3b
4b4f816581b61beda67b5874e1026c98abc117b1
refs/heads/master
2022-07-01T20:26:13.531824
2020-05-12T09:13:17
2020-05-12T09:13:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,368
py
import time import shutil import os # from functions.densenet_unet import _densenet_unet # from functions.networks.dense_unet2 import _densenet_unet import numpy as np import SimpleITK as sitk import tensorflow as tf import logging from cnn.multi_stage_denseunet import multi_stage_densenet from cnn.unet import unet # ...
[ "s.yousefi.radi@lumc.nl" ]
s.yousefi.radi@lumc.nl
dc963bbe8bfec548b608d7fb9fe92a5d0c40a51c
cdaa450bde480c84341cf2c5f8b6906d86c3db34
/E-commerce/store/models.py
c0d6ad2de67dc312b4904891d52c81cf3a642395
[]
no_license
MUSKANJASSAL/drf
6194c5baa9002b168112a37e56c0878efbff47e2
9c5b8ee53780412a49559c60ff9180a7efc62f85
refs/heads/master
2023-04-05T11:22:03.176193
2021-04-10T04:42:17
2021-04-10T04:42:17
330,596,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,843
py
# from django.contrib.auth.models import User # Create your models here. # Build tables in database from django.conf import settings from django.db import models from django.urls import reverse class ProductManager(models.Manager): def get_queryset(self): return super(ProductManager, self).g...
[ "muskan124.jassal@gmail.com" ]
muskan124.jassal@gmail.com
9d3917531b8c8ec0f17ba1d7b8e711c1d9ddec5d
c61ffae44fa892107308680d68dbd74ebe084252
/TensorFlow2/config.py
1b665b98d795594866a0e139341ef9d8891d4d85
[ "MIT" ]
permissive
jalehman27/VRP_DRL_MHA
37236f2ff7043c7f8b57d3904ef7b48e43f5ff1d
ef59ecc091bab77e112534d3e3ae73bddeeeeadc
refs/heads/master
2023-03-23T06:24:44.464120
2021-01-12T02:14:48
2021-01-12T02:14:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,210
py
import pickle import os import argparse from datetime import datetime def arg_parser(): parser = argparse.ArgumentParser() parser.add_argument('-m', '--mode', metavar = 'M', type = str, default = 'train', choices = ['train', 'test'], help = 'train or test') parser.add_argument('--seed', metavar = 'SE', type = int, ...
[ "310rnomeado@gmail.com" ]
310rnomeado@gmail.com