blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
c23c13e95c3c2c557b8e0d1f71a12f1bc67d525c
9ab9d9a3883471763edbceea59a0e83170581b5f
/lib/galaxy/tools/actions/index_genome.py
cb317a4cc1e1b252de24a9b3f705a6ce88349c1e
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
asmmhossain/phyG
24dc211dad5b3e89c87ff384e841f2e98bbd52db
023f505b705ab953f502cbc55e90612047867583
refs/heads/master
2022-11-21T12:43:46.172725
2014-02-14T12:33:08
2014-02-14T12:33:08
13,800,552
0
1
NOASSERTION
2020-07-25T21:05:41
2013-10-23T11:04:25
Python
UTF-8
Python
false
false
2,778
py
import tempfile from __init__ import ToolAction from galaxy.util.odict import odict from galaxy.tools.genome_index import * import logging log = logging.getLogger( __name__ ) class GenomeIndexToolAction( ToolAction ): """Tool action used for exporting a history to an archive. """ def execute( self, tool, tra...
[ "mukarram819@gmail.com" ]
mukarram819@gmail.com
322267d14ca91c5412a0e04a31f5069c8be6366f
a0241ddd6feb1236740c4b57f86b4e2b9c812ffe
/courses/models.py
80aaefa117ecfb8f63e994ea3fa20674ca27e9a7
[]
no_license
patta42/website
0a08d4b11c49020acefaf8f8cca30982ca2afa50
72d2e136272e0ed23f74080697d16eb9bc692ac3
refs/heads/master
2021-06-10T16:30:51.292679
2021-04-24T06:27:02
2021-04-24T06:27:02
151,085,343
0
0
null
null
null
null
UTF-8
Python
false
false
49,806
py
''' This set of models implements the courses organized by and held in RUBION. Furthermore, it contains models for different attendees. The latter is a bit complex since a lot of different attendees exist. Attendees are *not* implemented as Pages since they only show up in the admin. ''' from .attendees import reg...
[ "patrick.happel@rub.de" ]
patrick.happel@rub.de
6e7df9c9629b6fdc2728f621791c220287c4b1b2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_069/ch10_2019_08_19_18_58_32_579678.py
86cc110b21b7d7cf3b479df0fafae82ab251d8e6
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
def libras_para_kg (libras): kg = 22046*libras return kg
[ "you@example.com" ]
you@example.com
0ffbfc0d383176ce3f824bf9776ad8a1c7c3b9bb
638c3899363f282adaa3da0ea048bd0a9fd9abdb
/pastebin/main/migrations/0001_initial.py
dfe4d36c3e94357cc77682e53248d77099398262
[]
no_license
BuckyTheBoss/fakepastebin
282efd17182ebb55bfadeb32b1b9c9c3054ac917
8d54b7f7b8bc56fc8bd51c95bff26e850d77f447
refs/heads/master
2020-05-06T13:22:44.606893
2019-04-08T11:15:37
2019-04-08T11:15:37
180,132,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,789
py
# Generated by Django 2.2 on 2019-04-07 12:35 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_...
[ "buchman.avi@gmail.com" ]
buchman.avi@gmail.com
e0c383ef13004712a93e9d14c09050cd19e112e1
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/editing/simpleExcept.py
062b5359a44056a00530e1c4571d775ccc158c0c
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
28
py
try: pass except<caret>
[ "dmitry.cheryasov@jetbrains.com" ]
dmitry.cheryasov@jetbrains.com
92ff031d735dfdf4db7f646c64a4254b312dafd5
c47c254ca476c1f9969f8f3e89acb4d0618c14b6
/datasets/linux-4.11-rc3/scripts/gdb/linux/lists.py
2f335fbd86fd5b79d575f12f38319573e9bfb1f6
[ "Linux-syscall-note", "GPL-2.0-only", "BSD-2-Clause" ]
permissive
yijunyu/demo
5cf4e83f585254a28b31c4a050630b8f661a90c8
11c0c84081a3181494b9c469bda42a313c457ad2
refs/heads/master
2023-02-22T09:00:12.023083
2021-01-25T16:51:40
2021-01-25T16:51:40
175,939,000
3
6
BSD-2-Clause
2021-01-09T23:00:12
2019-03-16T07:13:00
C
UTF-8
Python
false
false
3,631
py
# # gdb helper commands and functions for Linux kernel debugging # # list tools # # Copyright (c) Thiebaud Weksteen, 2015 # # Authors: # Thiebaud Weksteen <thiebaud@weksteen.fr> # # This work is licensed under the terms of the GNU GPL version 2. # import gdb from linux import utils list_head = utils.CachedType("st...
[ "y.yu@open.ac.uk" ]
y.yu@open.ac.uk
f9200a4eec1c4b7920e5c77152601ab344368969
dfb53581b4e6dbdc8e3789ea2678de1e1c4b5962
/Process_thread/Day05/09_多线程多进程效率测试.py
e892af4d67631dd31d8e91a09d1189839264e500
[]
no_license
biabulinxi/Python-ML-DL
7eff6d6898d72f00575045c5aa2acac45b4b0b82
217d594a3c0cba1e52550f74d100cc5023fb415b
refs/heads/master
2020-06-01T09:13:17.314121
2019-06-08T03:59:36
2019-06-08T03:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
# @Project:AID1810 # @Author:biabu # @Date:18-12-25 下午3:51 # @File_name:09_多线程多进程效率测试.py # @IDE:PyCharm # CPU密集型 def CPU(x, y): z = 0 while z < 7000000: x += 1 y += 1 z += 1 # I/O密集型 def write(): with open('test.txt', 'a') as f: for i in range(1500000): f.writ...
[ "biabu1208@163.com" ]
biabu1208@163.com
774231e81d98deac3105906e8386e39b6733b5dc
0083e0bd887bc062a0b075bff7b7426b96048c95
/wx_site/movie_share/models.py
e4c270be0ace3a85f34b4836a289c946a802da18
[ "MIT" ]
permissive
China-00-com/wx-movie-share
a1873c640ae92fd8fa217b88ea00d18aa21dd450
f2a60a397d3a934126c5885f9e510840670c48f6
refs/heads/master
2021-06-15T02:03:43.475660
2017-03-02T07:40:56
2017-03-02T07:40:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
from __future__ import unicode_literals from django.db import models from django.utils import timezone # Create your models here. class Movie(models.Model): uploader = models.ForeignKey("auth.User") title = models.CharField(max_length=200) desc = models.TextField() pic_url = models.TextField() m...
[ "xinyong.wang@qq.com" ]
xinyong.wang@qq.com
6c3ae75aa9dcb60f5bdb65a5df413ea23433c08b
da4616b7d3b43571bf0b3e86c540441e8e9429cc
/tests/test_xls.py
82d29cc8b110565027d6befb1be0f3756e09ebc3
[ "MIT" ]
permissive
anderser/textract
c0c1518166e4ce3b211d8a80db84f38e8f46a1db
8f7b32cadabcd13ad1eab1a56b9aa151901d0453
refs/heads/master
2021-01-22T00:03:56.362873
2014-09-15T18:20:10
2014-09-15T18:20:10
24,066,450
2
0
null
null
null
null
UTF-8
Python
false
false
116
py
import unittest import base class XlsTestCase(base.BaseParserTestCase, unittest.TestCase): extension = 'xls'
[ "dean.malmgren@datascopeanalytics.com" ]
dean.malmgren@datascopeanalytics.com
1e9334746a6c4644f7aa372de040e0ff11efb150
b8eb666c8b6fe4610d87bff8048f4a95a1c5b549
/测试/UI自动化/Selenium/SeleniumPython - 副本/base/test.py
df9bef2fa60210c8b23e9bf5e26a844e0927996c
[]
no_license
cainiaosun/study
1e983e404005e537410b205634a27cee974faba0
91df9b63cda1839b7fc60de3b5f1eb19ccc33a1f
refs/heads/master
2020-05-30T09:59:19.749099
2019-11-22T10:39:12
2019-11-22T10:39:12
189,641,828
1
0
null
null
null
null
UTF-8
Python
false
false
752
py
from selenium import webdriver import time #高亮元素 # @outerentrace(False) def highlight(driver,id,str1): #高亮元素 element = driver.find_element(id,str1) for i in range(5): driver.execute_script("arguments[0].setAttribute('style',arguments[1]);", element, "background:withe;border:5px s...
[ "1551577567@qq.com" ]
1551577567@qq.com
b5419ae071a6cd1f49ff39bce060451972c88e72
3faf4b9fb76145b2326446bc6bc190a5712b3b62
/Algorithms/0582 Kill Process.py
7bde183c886d9f6592cde3faad5f6986657ba9a8
[]
no_license
cravo123/LeetCode
b93c18f3e4ca01ea55f4fdebceca76ccf664e55e
4c1288c99f78823c7c3bac0ceedd532e64af1258
refs/heads/master
2021-07-12T11:10:26.987657
2020-06-02T12:24:29
2020-06-02T12:24:29
152,670,206
6
1
null
null
null
null
UTF-8
Python
false
false
1,451
py
import collections # Solution 1, DFS # First build a tree(graph), then DFS traverse class Solution: def dfs(self, pid, d, res): res.append(pid) for node in d[pid]: self.dfs(node, d, res) def killProcess(self, pid: 'List[int]', ppid: 'List[int]', kill: 'int') -> 'Li...
[ "cc3630@columbia.edu" ]
cc3630@columbia.edu
b0457f04d29fa3c7c1da9d70caa089e77bfa7f4a
b4afb44b8f483c048716fe12d778186ce68ac846
/AutoFrameworkForAppiumPy/com/qa/automation/appium/pages/ios/ffan/square_food_category_page_configs.py
db8aa4cf780c28c8e68ed8b1bd73e1d93032fa98
[]
no_license
liu111xiao111/UItest
64309b2c85f6d2334d64bb0875ba9ced459ebb1e
67e2acc9a99da81022e286e8d8ec7ccb12636ff3
refs/heads/master
2021-09-01T18:30:28.044296
2017-12-28T04:36:46
2017-12-28T04:36:46
115,585,226
1
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
# -*- coding: utf-8 -*- class SquareFoodPageConfigs(): # 常量命名规则 resource_id指明资源类型是resource id;iv_center_tab view id name;iv指明view类型image view # 找餐厅 resource_id_ll_find_restaurant_id = u"找餐厅" xpath_find_restaurant = "//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[1]/UIAStaticText[1]" ...
[ "tl@neusoft.com" ]
tl@neusoft.com
3fffb64217c5738e327a3dca630b58ab465c2f3d
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-9144.py
38d3dac662714567a951403c220d621228b262ca
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,754
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
a4c8c84f0247330b4d98167a3165a75588e11586
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_003_20180618133519.py
d70b7f131018b366b507e05d6f7eeda8b805f1c7
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
4,811
py
from random import randint # Sudoku1 almost solved sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6,...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
13c7e0f8097905b86412ac8ac9a9093709fa3b7d
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merra882/76-tideGauge.py
08fbeef2f11c71c1d338dcd8ed2521600200b2b0
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,039
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a multiple linear regression model by using the KFOLD method @author: Michael Tadesse """ import os import numpy as np import pandas as pd from sklearn import metrics from scipy import stats from datetime import date...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
7c4550d2ebc19fe1b3515ebedc0117e8372a3dff
ce033039bce4c48e6ef204c22c8939fe4a3a5ad1
/Section1_Getting_started/Chapter10/10.1/10-2.py
2de5cebb098be64afce97888b993065036b1360e
[]
no_license
allisgao/pcc-study
08524be804e6ab4addd785ebe4db29658ea80d2f
5e6069f5cd5e7c8120c01a9592257b7f5f1d4840
refs/heads/master
2021-05-12T13:33:21.545429
2018-03-04T09:12:06
2018-03-04T09:12:06
116,934,794
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
#! python3 filename = 'learning_python.txt' with open(filename) as file_object: for line in file_object.readlines(): line = line.replace('Python', 'C') print(line.rstrip())
[ "gaojz017@163.com" ]
gaojz017@163.com
e5c8073f7f712134a0699b83be2820011b725c05
9c38f3a354844f5080632005630d249d6487ebb3
/python_compiler/lexer/submitted/test.54.py
b80c7be290d5949cc942c2eb1fba408873897385
[]
no_license
keithroe/keithscode
ee7247ad6bdd844279f29a56718992cb886f9215
470c6b833b9b8bc2c78d1b43aac896b0ce9c9a7c
refs/heads/master
2021-01-10T08:48:12.729594
2018-10-16T17:48:31
2018-10-16T17:48:31
51,531,627
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
"""long string" with quote char"""
[ "keithroe@cba41313-dcc7-113d-0d3d-2a2d30939b49" ]
keithroe@cba41313-dcc7-113d-0d3d-2a2d30939b49
d4097096edf8e8ffb453c8206e96db07a6142416
f6d60b3daa7721c46ec958b90314c168d5713e0f
/src/m2e_nested_loops_in_sequences.py
ae9bc2dd77fbd77af5e91826708ee80988a48edb
[ "MIT" ]
permissive
munnamn/17-LoopsWIthinLoops-201930
844bcb8b49250ad5502e21bbe4f49c509fefc572
c949fe36cbc73bf053fbc35b8f4190d29cb924ad
refs/heads/master
2020-05-18T15:33:05.616435
2019-05-11T15:32:29
2019-05-11T15:32:29
184,501,731
0
0
MIT
2019-05-02T00:55:00
2019-05-02T00:54:59
null
UTF-8
Python
false
false
4,423
py
""" This project demonstrates NESTED LOOPS (i.e., loops within loops) in the context of SEQUENCES OF SUB-SEQUENCES. Authors: David Mutchler, Vibha Alangar, Matt Boutell, Dave Fisher, Mark Hays, Amanda Stouder, Aaron Wilkin, and their colleagues. """ # ----------------------------------------------------------...
[ "mutchler@rose-hulman.edu" ]
mutchler@rose-hulman.edu
280b290471c6214a454b8bf26d420b35b9295bb7
1c2928364d8b5e4cf5a45eb88dbfbded16288c1f
/model/ResNet50.py
cbafd88b4e7ec793cfdfa296f8254422eb450dd0
[ "MIT" ]
permissive
alisure-fork/BASNet
7a3bc24f824c9f792359bb87c4d72037e0a39ff6
0cc349a3190d92a2fe991107f711abdcce3531ec
refs/heads/master
2021-01-02T17:06:27.089715
2020-08-25T15:26:27
2020-08-25T15:26:27
239,714,268
0
0
MIT
2020-02-11T08:40:45
2020-02-11T08:40:45
null
UTF-8
Python
false
false
4,225
py
import torch.nn as nn def conv3x3(in_planes, out_planes, stride=1): return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=1, bias=False) class BasicBlock(nn.Module): expansion = 1 def __init__(self, in_planes, planes, stride=1, down_sample=None): super(BasicBlock, self)...
[ "562282219@qq.com" ]
562282219@qq.com
0ccd654f7890e055cabc7a321ace9e4bae4b5974
d45b08745ab3f1e951485fa6b9f905be65f71da4
/Baekjoon/dfs_bfs06.py
f67b32b04b56a1b432d9b30c2c86b4f1a11914bd
[]
no_license
HYUNMIN-HWANG/Algorithm_practice
d0a82e73a735e22a70c98fd4882b66929061bd6c
96b70fbea42ca11881546531fa6a9486e9a5289f
refs/heads/main
2023-04-25T05:40:24.126757
2021-05-08T13:42:56
2021-05-08T13:42:56
324,109,498
0
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
# 토마토 https://www.acmicpc.net/problem/7576 """ 문제 철수의 토마토 농장에서는 토마토를 보관하는 큰 창고를 가지고 있다. 토마토는 아래의 그림과 같이 격자 모양 상자의 칸에 하나씩 넣어서 창고에 보관한다. 창고에 보관되는 토마토들 중에는 잘 익은 것도 있지만, 아직 익지 않은 토마토들도 있을 수 있다. 보관 후 하루가 지나면, 익은 토마토들의 인접한 곳에 있는 익지 않은 토마토들은 익은 토마토의 영향을 받아 익게 된다. 하나의 토마토의 인접한 곳은 왼쪽, 오른쪽, 앞, 뒤 네 방향에 있는 토마토를 의미한다. 대각선 방향에 ...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
62a2f8665e21dbddfec103fc2f8e148656aa3a53
6daaf3cecb19f95265188adc9afc97e640ede23c
/python_design/pythonprogram_design/Ch4/4-1-E28.py
6101571380d2151b3f0c78d48832320994e7ced7
[]
no_license
guoweifeng216/python
723f1b29610d9f536a061243a64cf68e28a249be
658de396ba13f80d7cb3ebd3785d32dabe4b611d
refs/heads/master
2021-01-20T13:11:47.393514
2019-12-04T02:23:36
2019-12-04T02:23:36
90,457,862
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
def main(): ## Calculate a factorial. n = getN() print(str(n) + '!', "is", fact(n)) def getN(): while True: n = eval(input("Enter a positive integer: ")) if isinstance(n, int) and (n > 0): return n else: print("The number you entered is not a positve inte...
[ "weifeng.guo@cnexlabs.com" ]
weifeng.guo@cnexlabs.com
f530b28a983739666f8386ed2c80d2fe7b9c8be2
78c4ccb183a99ebaabcdc3a3a69f029e4aee0f5c
/AlgorithmStudy/백준/19 해시맵/1764 듣보잡.py
857f7b576265738ecdf16b450ed0617a16b54d0a
[]
no_license
cladren123/study
ef2c45bc489fa658dbc9360fb0b0de53250500e5
241326e618f1f3bb1568d588bf6f53b78920587a
refs/heads/master
2023-09-02T02:21:24.560967
2021-11-05T12:20:06
2021-11-05T12:20:06
368,753,950
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
import sys input = sys.stdin.readline # n : 듣도 못한 사람 수, m : 보도 못한 사람 수 n, m = map(int, input().split()); ndict = dict(); for _ in range(n) : one = input().strip(); ndict[one] = 1; for _ in range(m) : one = input().strip(); if one in ndict : ndict[one] = ndict.get(one) + 1; else : ...
[ "48821942+cladren123@users.noreply.github.com" ]
48821942+cladren123@users.noreply.github.com
8fecb27db7c2f744bc6a3bd049f903e2a476c3d3
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pallets_click/click-master/click/_termui_impl.py
cebf3bbf5e67512ee900e86a614b54ae7f311f92
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
16,715
py
""" click._termui_impl ~~~~~~~~~~~~~~~~~~ This module contains implementations for the termui module. To keep the import time of Click down, some infrequently used functionality is placed in this module and only imported as needed. :copyright: (c) 2014 by Armin Ronacher. :license: BSD, se...
[ "659338505@qq.com" ]
659338505@qq.com
87f532ee167ae288928fb5cbc4054e0f5b4fc811
7159e9970ce2cc58482416392d1b489087b913c1
/tests/datetimes/tests.py
447cbef99af5680709b6cd59688ee5e3d469a4b3
[ "BSD-3-Clause" ]
permissive
ufgstores/django19
d4a53f12aa6d89405e2332d0c53a29447e6f8650
644716493ecac37271610de0e9cf97fc1fe46f10
refs/heads/master
2020-09-20T13:54:04.608149
2019-11-28T14:07:07
2019-11-28T14:29:02
224,502,004
0
0
BSD-3-Clause
2019-11-28T14:08:25
2019-11-27T19:23:16
Python
UTF-8
Python
false
false
5,922
py
from __future__ import unicode_literals import datetime from unittest import skipIf from django.test import TestCase, override_settings from django.utils import timezone from .models import Article, Category, Comment try: import pytz except ImportError: pytz = None class DateTimesTests(TestCase): def ...
[ "slenart@alefajnie.pl" ]
slenart@alefajnie.pl
4ab78ba81076217fe59d8d2f856e01ef6d6725f7
08dde0af4dce4dce83e7bbce65ae9ac9e9e218d4
/Lib/idmlcontext/objects/tags.py
9a66f8bfa81ec60fa74dfed5e88cb1eebdd5b536
[]
no_license
PageBot/IDMLContext
e619453efffcf77672968a5fc6afe8af5bc0ff9e
db994e02a147343c584ba8a26f077a8379753515
refs/heads/master
2020-06-18T15:27:38.929735
2020-03-05T10:47:20
2020-03-05T10:47:20
196,346,708
0
0
null
null
null
null
UTF-8
Python
false
false
31,288
py
# ----------------------------------------------------------------------------- # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # # P A G E B O T # # Licensed under MIT conditions # # ----------------------------------------------------------------------------- # from idmlco...
[ "buro@petr.com" ]
buro@petr.com
967e5b03d8890af5a7f60396b9baa364eb30a12a
5d32d0e65aa3bfa677fd1b8c92569e07e9b82af1
/Section 4 - Lists/Breakouts/Breakout 4.1 - Random sentence generator/Random sentence (partial solution).py
7f0250b038bb2c2ec6d8a85761e3e7c38e554dd6
[ "CC0-1.0" ]
permissive
pdst-lccs/lccs-python
b74ef2a02ac8ad2637f713fff5559f4e56c9827d
95cb7ece05716521e9951d7a40de8fb20a88021f
refs/heads/master
2023-05-28T00:46:57.313972
2023-05-22T10:16:43
2023-05-22T10:16:43
240,501,524
21
18
null
null
null
null
UTF-8
Python
false
false
965
py
# Event: LCCS Python Fundamental Skills Workshop # Date: May 2018 # Author: Joe English, PDST # eMail: computerscience@pdst.ie # Purpose: Partial solution to breakout 4.1 - random sentence generator # The full solution needs to be developed further .... import random # Initialise the lists of words article ...
[ "noreply@github.com" ]
pdst-lccs.noreply@github.com
c6183bf378552b3c1d78aadf50f2fe9993003378
ee8cb974f12977894f7f0fda5b8129570224618b
/gim/graphs/tasks.py
61160d26f05066e0a886c998caecf738777e236d
[]
no_license
derekey/github-issues-manager
996b3c7b9acd0362b7d99948d45a15ea05d58cc2
63a405b993e77f10b9c2b6d9790aae7576d9d84f
refs/heads/develop
2021-01-21T01:03:01.739800
2014-11-09T21:26:49
2014-11-09T21:26:49
42,234,954
1
0
null
2015-09-10T09:22:40
2015-09-10T09:22:39
null
UTF-8
Python
false
false
368
py
__all__ = [ 'UpdateGraphsData', ] from gim.core.tasks.repository import RepositoryJob class UpdateGraphsData(RepositoryJob): queue_name = 'update-graphs-data' def run(self, queue): from .limpyd_models import GraphData graph, _ = GraphData.get_or_connect(repository_id=self.identifier.hget...
[ "s.angel@twidi.com" ]
s.angel@twidi.com
b35d7725d035dc2620314a78a82959ae543973b8
e53cfac2eadeaf9727ec055b4cd524320cf8ded5
/17.06/Вариант 4/12-2133.py
23bbbb5e96aae7dd10523b6c7c8d52576df645b4
[]
no_license
NevssZeppeli/my_ege_solutions
55322d71dcc9980e2cf894ea2b88689dca807943
7a25c93b8a58b03d0450627f1217972fbf7d04f6
refs/heads/master
2023-06-17T19:58:28.388391
2021-07-03T16:03:36
2021-07-03T16:03:36
380,223,538
3
1
null
null
null
null
UTF-8
Python
false
false
122
py
x = '1'*2019 + '2'*2050 while '222' in x: x = x.replace('222', '1', 1) x = x.replace('111', '2', 1) print(x)
[ "root@NevssPC.localdomain" ]
root@NevssPC.localdomain
d7dc1c4102e2cd249c592ed6f5b1814f0c47d9ae
ecae7275fd43ec93ca5771083e05ae864685faf9
/III/zip.py
c731c5952b6dc2e47c6b61838647358a1b13cc5e
[]
no_license
shamoldas/pythonBasic
104ca8d50099c2f511802db1f161f6d050f879cc
3a7252a15f6d829f55700ec2ff7f7d153f3ec663
refs/heads/main
2023-01-09T06:38:55.357476
2020-11-11T12:27:31
2020-11-11T12:27:31
311,960,017
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
s=[1,2,3,4,5] r=[6,7,8,9,0] for (x,y)in zip(s,r): print(x,y,' = ',x+y)
[ "noreply@github.com" ]
shamoldas.noreply@github.com
cd206b278b87c5f9e3c5299c6ae7242d14b7af9b
d8859f10ea5d4eba76230036535cdb22fb6398ba
/wiz/SelfSimilar.py
4a77ca77cd40fd023da4c1959be2a956fda28922
[ "MIT" ]
permissive
ebranlard/wiz
322a83b0f97ad53c990cfaf26c182d02008f856a
6dfca8b2711b670229f5b2b3b3e0d7fe0bdea156
refs/heads/master
2021-06-09T17:26:48.478453
2021-06-04T16:29:53
2021-06-04T16:37:04
181,733,068
5
1
null
null
null
null
UTF-8
Python
false
false
2,049
py
""" References: [1] N. Troldborg, A.R. Meyer Fortsing, Wind Energy, 2016 """ import numpy as np import unittest def ss_u(Xcp, Ycp, Zcp, gamma_t, R=1, lambda_= 0.587, eta=1.32): """ Self similar approximation of the induced velocity field upstream of a rotor """ # --- Constants beta = np.s...
[ "elmanuelito.github@gmail.com" ]
elmanuelito.github@gmail.com
3cce8fd1c0ca45f78fa351ff8b38803687e7d35f
239caf6ce8ce06c0a3a8ca0fc98d0b9185144782
/zcls/model/act_helper.py
d09f30904f216621dfbedbbb9a79d8defb888503
[ "Apache-2.0" ]
permissive
mornydew/ZCls
7f126cc0aebf8378d0a85fdf8abed19be195cfd9
45f3893433ca170de51bea8affa457d9866fa233
refs/heads/master
2023-04-27T08:56:24.622964
2021-05-16T11:55:58
2021-05-16T11:55:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
# -*- coding: utf-8 -*- """ @date: 2020/12/4 下午4:11 @file: act_helper.py @author: zj @description: """ import torch.nn as nn from .layers.hard_swish_wrapper import HardswishWrapper def get_act(cfg): """ Args: cfg (CfgNode): model building configs, details are in the comments of the con...
[ "wy163zhuj@163.com" ]
wy163zhuj@163.com
3ea9062f2e608da7d57a4993db8149272c7f0da9
abf99fb881af7b7082fbcbffb468cc282df1127f
/xfail.py
6cf98b7c56d1e45682cece8955ae46dacc0b6f00
[ "MIT" ]
permissive
miyakogi/xfail.py
54b69cd692de13781396c01e0001ee39d0812136
4f2e7b958501ba4ec2e553c9d599085bb8d1fe44
refs/heads/master
2021-06-05T19:01:30.625046
2018-07-04T00:36:08
2018-07-04T00:37:20
56,575,509
1
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from functools import wraps import logging from typing import Callable, Any, Type # noqa: F401 import unittest logger = logging.getLogger(__name__) # type: logging.Logger class XPassFailure(AssertionError): pass def xfail(exceptions, strict=False): # type: ...
[ "miyako.dev@gmail.com" ]
miyako.dev@gmail.com
e6d810323b3e323390aa34e542e5a97c161cbb88
0d54e035e96f04abaa6393162745b5380df9ef50
/simple/src/main/python/Y14R5P1/amoebius/generated_py_0ebb2353a78540fab89266a3e11e7622.py
af6573dbc69ecbb95d329286b30f4fb252449575
[]
no_license
nischalshrestha/CodeSeer
a5adea2780449bb191c142ede8af6bd3b62176ee
0426fd324f850c1dad5faa97081cd23f34f91193
refs/heads/master
2020-07-30T23:15:37.499301
2019-09-17T16:02:24
2019-09-17T16:02:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
85,014
py
import sys sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python') from Y14R5P1.amoebius.A import * def func_bede9a6954a047ee86a680e57818652b(infile): N, p, q, r, s = get(infile) t = [((i * p + q) % r + s) for i in range(N)] return t def func_0298a342b71c4d5f99bcb4392d6521a...
[ "george.meg91@gmail.com" ]
george.meg91@gmail.com
533b5daf2bde2fa1131b69864674fe69b6a75d96
6cb54ddf7ca0261228c1e6730752f032151d1163
/pildoras/pygame/ball2.py
f91f9c79112f6cebf72c482d1fb8430035432eed
[]
no_license
joancarrillo/Python3JoseDom
38583ec7bd5b60b9c54ee64bd0a04b32373e3500
27d7358fdc9d3b6c60ca9177050b58bcefe25271
refs/heads/master
2023-08-24T14:48:02.382930
2020-01-13T17:18:06
2020-01-13T17:18:06
416,438,857
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
import sys, pygame # Incializamos pygame pygame.init() # Muestro una ventana de 800x600 size = 800, 600 screen = pygame.display.set_mode(size) # Cambio el título de la ventana pygame.display.set_caption("Juego BALL") # Inicializamos variables width, height = 800, 600 speed = [1, 1] white = 255, 255, 255 # Crea un objet...
[ "josedom24@gmail.com" ]
josedom24@gmail.com
97285b9d22ac9e53fd45e151304be164e7c64574
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/command_lib/composer/resource_args.py
e8f1ce70b63c12116a43dc38d8eb7bef09476716
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
6,117
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC. 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 requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
6836e45809d952e6bc53cfb227a594d3dddcb13c
8d126b95d03ce51724d0c202eacadf4710b65d7e
/Field.py
4dc80beed0e273d140418e68b4320807c9bccdf5
[]
no_license
rehab-saleh/AlogrithmsPr-project
f8447265a498786a14158817892e531fd5c41f5b
9cdc546207512c029fe371049c00ec3e6afec270
refs/heads/master
2023-07-27T12:56:21.488276
2021-09-08T09:23:43
2021-09-08T09:23:43
403,902,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
from abc import ABC class Field(ABC): field_type = None def __init__(self,max_length=255, unique=None): if unique is True: self.unique = 'UNIQUE' else: self.unique = '' if max_length: self.max_length = max_length def __ropr__(self): co...
[ "you@example.com" ]
you@example.com
3eb3b90ea94eac893153cee45a3dc4144663b973
3b2b0c6d20f64c0c15e1675a262f3b2e8a597b0e
/py/lvmsim/scripts/quickgen.py
b091ae77a8f2ba32e95758616f9b2903ee1057bf
[ "BSD-3-Clause" ]
permissive
sdss/lvmsim
8b7899373d1c0c6d95db5a6ae9114ad46e766260
66c59b7af2a3fcde107f06fdbd657bfc4364eb85
refs/heads/master
2021-01-23T07:44:01.984887
2019-11-25T16:55:55
2019-11-25T16:55:55
102,514,429
0
1
null
null
null
null
UTF-8
Python
false
false
42,607
py
""" lvmsim.scripts.quickgen ======================== Quickgen quickly simulates pipeline outputs if given input files. - must provide simspec and fibermap files via newexp script - Number of spectra to be simulated can be given as an argument for quickgen, but the number of spectra in the simspec file is take...
[ "havok2063@hotmail.com" ]
havok2063@hotmail.com
eb074f5565508d70710bd05257d9fdebbc4ffba1
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/DaVinciDev_v38r1p1/InstallArea/x86_64-slc6-gcc49-opt/python/StrippingArchive/Stripping18/Beauty2Charm_Utils.py
59565cebf433cea16bdbb146154562de815ee9dd
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
5,748
py
#\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# from Gaudi.Configuration import * from GaudiConfUtils.ConfigurableGenerators import FilterDesktop from GaudiConfUtils.ConfigurableGenerators import CombineParticles from PhysSelPython.Wrappers import DataOnDemand, Selection, MergedSelectio...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
f03d3cf605133beb261303fc625fe6261baabf16
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/QLGC-adapterInfo-MIB.py
b40085b00862b1328510d7ccb6c9507c18ad37e2
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
7,097
py
# # PySNMP MIB module QLGC-adapterInfo-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/QLGC-adapterInfo-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:35:13 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
b6d049db8ac9d1c37b204995ea02a2ec308f3de5
be507979078f0327e338f9e7e489f0e17b164549
/micro/dqn/sc2_dqn.py
a2424f9ecfd34c0c87affe705c73bac1bbb12099
[ "MIT" ]
permissive
vwxyzjn/SC2AI
ef1f4927d3c5d16f5b03ac08d5443199ff82f005
d56fc63e95f6675b643a506c818d42e396dbfda8
refs/heads/master
2021-04-26T07:23:56.392488
2019-10-26T21:01:28
2019-10-26T21:01:28
106,892,095
10
1
null
null
null
null
UTF-8
Python
false
false
3,336
py
# Copyright 2017 reinforce.io. 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...
[ "costa.huang@outlook.com" ]
costa.huang@outlook.com
2794d2dbc2aadc0fb5fc4a3f1107e91ab4e34b08
9ce86ea6ee82e0113ddf99e6843f054460e285cb
/libreco/data/data_info.py
07e8312d7b578c58f634f7060069c67eb836793f
[ "MIT" ]
permissive
Allensmile/LibRecommender
ac571226ef7f3fd42834b0628d24e463ef3a798a
3758c906ba6483019e31fbd4748020be75e6b43c
refs/heads/master
2023-01-25T05:07:07.958829
2020-12-07T06:32:07
2020-12-07T06:32:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,920
py
from array import array from collections import defaultdict, namedtuple import numpy as np Feature = namedtuple("Feature", ["name", "index"]) Empty_Feature = Feature(name=[], index=[]) class DataInfo(object): def __init__( self, col_name_mapping=None, interaction_data=None, ...
[ "wdmjjxg@163.com" ]
wdmjjxg@163.com
25b840df8f91dc2dbd42b5ae8388b04b8027a945
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/strings-44.py
9acf9c6d7bffe83f1cf410d81deffb3f051aba8a
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
x:str = "Hello" y:str = "World" z:str = "" z = x + y $Var = x[0] x = y = z
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
952b09924940713af2d8999c5e24a5b6b42874f1
c14d061d0e665b4923bc99e51d7335db9608a995
/store/migrations/0002_auto_20210103_0059.py
5433ed0e9efc17455a88dafe9ba7bf4acf1caa47
[]
no_license
nhrnhr0/haklatot
5f906b44f613c485680ef65247c2ea55148e514b
e737f4c3a1f89180ce0d690cf2a8c715b179161f
refs/heads/master
2023-02-27T06:58:24.792003
2021-02-04T15:47:48
2021-02-04T15:47:48
327,130,671
0
0
null
2021-01-22T09:33:51
2021-01-05T22:03:06
SCSS
UTF-8
Python
false
false
545
py
# Generated by Django 3.1.4 on 2021-01-02 22:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0001_initial'), ] operations = [ migrations.AlterField( model_name='product', name='circleImage', ...
[ "ronionsegal@gmail.com" ]
ronionsegal@gmail.com
1d0021aa5954b255da2e39f7ea6539cfce0808cb
e535afd3e5cdab2b9cde0f58e7a96f6270498b8b
/math/0x01-plotting/4-frequency.py
4434501db58e897386e161100519c7c1f07b532d
[]
no_license
mlgomez0/holbertonschool-machine_learning
c54445d550c80ab5341605816f5e93f674dda55d
492ffe5c334f57ea65ce2cc8fcdf9f14528653cc
refs/heads/master
2022-12-26T21:21:19.304858
2020-10-06T19:10:47
2020-10-06T19:10:47
279,394,186
0
1
null
null
null
null
UTF-8
Python
false
false
325
py
#!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt np.random.seed(5) student_grades = np.random.normal(68, 15, 50) plt.hist(student_grades, range=(0, 100), edgecolor='black') plt.xlim([0, 100]) plt.ylim([0, 30]) plt.title("Project A") plt.ylabel("Number of Students") plt.xlabel("Grades") plt.sh...
[ "mlgomez230@hotmail.com" ]
mlgomez230@hotmail.com
3dfc88c112806ce18c91542843472d7034a4fff2
4a0deefe72ebd4bb83986530c1a94f6c8ee4b94e
/plaso/formatters/winrestore_test.py
cd07da8fa4d2fa0579cf89856baa57e96e89b346
[ "Apache-2.0" ]
permissive
cnbird1999/plaso
fd8c9c0f85fc1d7583bbf6f2c7e59271a3830352
f525298bb1dd8f0fecd16d28acc443785ffe88c3
refs/heads/master
2021-01-24T15:53:31.000986
2015-04-27T04:27:57
2015-04-27T04:27:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the Windows Restore Point (rp.log) file event formatter.""" import unittest from plaso.formatters import test_lib from plaso.formatters import winrestore class RestorePointInfoFormatterTest(test_lib.EventFormatterTestCase): """Tests for the Windows Restore Po...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
bb6de843bc9d7b69102fb5efffb4b071c6ec3e4d
9fd57f6cdfbfc773dac40aa0ba6730ab6590db21
/readBusLine.py
209a61466fb60e0784899c13aad2ad843999c31c
[]
no_license
ppppdm/estation
301e6c9fac85a1ce28c01f6c817ee4ae79d878c5
b2e6caad3c37777ac2c8a37f5125288f3d3c27eb
refs/heads/master
2020-03-31T12:33:31.536218
2013-05-09T06:29:16
2013-05-09T06:29:16
null
0
0
null
null
null
null
GB18030
Python
false
false
1,273
py
# -*- coding: gbk -*- import os BUS_LINE_FLODER='E:\work\estation\lines\\' LINE_STOP_LIST=list() class lineBusStop: def __init__(self, name=None, line=None, stream=None, start=None, end=None): self.name=name self.line=line self.stream=stream ##由于线路文件的站点顺序并不是由起点到终点,因此无法从线路文件中获取线路起点终...
[ "ppppdm@gmail.com" ]
ppppdm@gmail.com
c9e0ca5668be079c48758d4d765dfe83e54128c8
f486cd48040e9fbde19b575b76286ad6e4d865ca
/WebApp/WebApp/PopulateData.py
bbaed8bb86c22c43321ba204cab6a45dbbe80e49
[]
no_license
deesaw/mlD01
21076bf1ce0d66f11c6d6828739d04ee87a9a3dc
c45f93cafd866b83adb3bda9e6e76a546767239f
refs/heads/master
2023-03-19T10:00:08.742962
2021-03-10T15:26:57
2021-03-10T15:26:57
346,400,470
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
'''import os # Configure settings for project # Need to run this before calling models from application! os.environ.setdefault('DJANGO_SETTINGS_MODULE','first_project.settings') import django # Import settings django.setup() import random from first_app.models import Topic,Webpage,AccessRecord from faker import Faker...
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
978fdde94d520ba966ff8386c4701ab86f0ecf75
db57094349de63766daf70a2e6bdb06bf3af09cf
/Cap02_Classes/birds.py
24ce55c2eb013f7d3347cb92e428766cf66cdcc9
[]
no_license
frclasso/turma1_Python_Modulo2_2019
2f9e9aebc48c1c0b92b684ad92958bc557866cde
0b7f0fac0a1de4a2dbe4ff4fb2985fbfee89ed33
refs/heads/master
2020-04-17T19:36:07.545787
2019-06-10T15:29:10
2019-06-10T15:29:10
166,871,517
1
2
null
null
null
null
UTF-8
Python
false
false
1,044
py
#!/usr/bin/env python3 # Classes e instancias # definindo uma classe class Birds: #atributos de classe species = 'bird' size = 'grande' # atributos de instancia def __init__(self, name, age): self.name = name self.age =age # métodos def sing(self, song): return "{...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
a0c1a43c3f7a71ef4530e8e988fc0cba58434797
6cb1bd6816af5964c82e127e9e28cd6d0fd5fd7d
/0205hw-5.py
0e99edcdb361bccdc794a190ca44e1b62eb6762d
[]
no_license
jinju-lee/Python-study
660f952b3c16d675147f870e1cab473177106636
c226bcb2c501c49ac157b6d3a3d18e515f3011f8
refs/heads/master
2021-05-08T21:15:32.782635
2018-02-11T14:32:26
2018-02-11T14:32:26
119,610,114
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
i=0 for i in range(1,10,2): print(' '*(9-i),end=' ') print('*'*i, end='\n')
[ "noreply@github.com" ]
jinju-lee.noreply@github.com
ecbd211f3b658520408222ccb043d518dd4878bf
3ec50b750e788d018ff0f6afd3528350a8956f6a
/ch_02/src/ecommerce/products.py
0031f04f75a141304c93027877d852466fab5e6f
[ "MIT" ]
permissive
jegarciaor/Python-Object-Oriented-Programming---4th-edition
45fb68f04c905a27865c40a48705da803fbdc27a
2f3d6b09326dab6a0488c72c96d7368bee28fef4
refs/heads/main
2023-06-05T05:02:54.428716
2021-06-26T15:23:11
2021-06-26T15:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
""" Python 3 Object-Oriented Programming 4th ed. Chapter 2, Objects in Python. """ import ecommerce.database as database from .database import Database from .database import Database as DB from .database import Database, Query from .contact.email import send_mail class Product: def __init__(self, name: str) ...
[ "slott56@gmail.com" ]
slott56@gmail.com
d7461dced82d9f0c3298974c67a3ab784242d802
e9689e5ba11f19acec215fcdd89a931e0a8a81d4
/erp/productlist/migrations/0010_auto_20170623_1534.py
9848ca50b4897c032ea9940b943aad1b74907bf9
[]
no_license
PythonAlan/foshan
75d670954b3f18d239dcbddd3ed47243778aaeb9
256cfddd1ec47d723dd10c1a0aff0cb82bfcef2c
refs/heads/master
2021-08-27T22:30:46.799845
2017-12-10T15:46:12
2017-12-10T15:46:12
113,762,115
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-06-23 07:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productlist', '0009_product_owner'), ] operations = [ migrations.AlterField...
[ "371725153@qq.com" ]
371725153@qq.com
63f1d0c1e042349190ecc885a10c22a9c9c3491c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2490/60617/272146.py
60bb7c64988f3cf700c093fe56d3fda0adcae9a6
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
457
py
def intersection(): arr1=eval(input()) arr2=eval(input()) res=[] arr1.sort arr2.sort if len(arr1)<=len(arr2): for num in arr1: if num in arr2: if not num in res: res.append(num) else: for num in arr2: if num in arr1...
[ "1069583789@qq.com" ]
1069583789@qq.com
44c9ece5169799b448ad1ba2fec4cfe00a61c6b2
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/tell_big_thing_by_day/work_life/problem/big_year.py
2cf8bfb8ebadc3d6b4a31c16cedb69883944d7e2
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
#! /usr/bin/env python def big_company(str_arg): fact(str_arg) print('seem_work') def fact(str_arg): print(str_arg) if __name__ == '__main__': big_company('seem_public_point')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
dc4bcea111ffd20169b0ed9c9c277dbb584a5d93
388219bd0cd85580cba19b7e4d47105c65587685
/exp_paper/head_data.R
2256681845b8ebec3a2bfc8d14bcd0ef85750a17
[]
no_license
yiyusheng/SMART
758a32c32688ac369214d7d8696e9dfa80c03a8b
af59b2bfa50333a6f7b4dfe6f447da023890ff29
refs/heads/master
2020-04-12T07:34:21.124629
2018-05-18T09:06:53
2018-05-18T09:06:53
57,004,114
0
0
null
null
null
null
UTF-8
Python
false
false
391
r
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # Filename: head_data.R # # Description: # # Copyright (c) 2016, Yusheng Yi <yiyusheng.hust@gmail.com> # # Version 1.0 # # Initial created: 2016-11-11 09:53:59 # # Last modified: 2016-11-11 09:55:00 # # # rm(list = ls()) source('../head.R') load(file.path(dir_data,'col....
[ "yiyusheng.hust@gmail.com" ]
yiyusheng.hust@gmail.com
3ec3810b8e667dfa352e73a347f6ea7e826500cc
2a1f4c4900693c093b2fcf4f84efa60650ef1424
/py/bundle_creator/connector/firestore_connector.py
d42e42de3f615966b0c1406a2b33c83598efbc33
[ "BSD-3-Clause" ]
permissive
bridder/factory
b925f494303728fa95017d1ba3ff40ac5cf6a2fd
a1b0fccd68987d8cd9c89710adc3c04b868347ec
refs/heads/master
2023-08-10T18:51:08.988858
2021-09-21T03:25:28
2021-09-21T03:25:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,789
py
# Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import datetime import logging # pylint: disable=no-name-in-module,import-error from google.cloud import firestore # pylint: enable=no-name-in-module,imp...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
3349e78f64f9d5c5d140bbbbb75de955ad9e1216
e6611443e946d1129985a95bc2dd2afc610f8292
/CMS/apps/events/migrations/0003_remove_event_hook.py
4ddcf89d25b772b63458366db3eeb9b73cee64bc
[]
no_license
Indus-Action/Campaign-Management-System
a761dd9bbc7967f8302bb3283230f87ccc2bd2a6
9c6f1193ff897b8cc53f2a1c3bca8d70a890e70f
refs/heads/master
2020-03-12T19:49:19.329764
2018-05-15T06:37:41
2018-05-15T06:37:41
130,792,314
1
1
null
null
null
null
UTF-8
Python
false
false
388
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-10-03 09:17 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('events', '0002_auto_20161001_0922'), ] operations = [ migrations.RemoveField( ...
[ "madhav.malhotra3089@gmail.com" ]
madhav.malhotra3089@gmail.com
45a7844c54b258a382fb814e675f36ce844b2dbd
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/2592.py
2bab7734864beeea83d8650d4bd827ac952fcf49
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
def flip(ch): return '+' if ch == '-' else '-' f = open('out.out','w') n = int(raw_input()) for cNum in xrange(1, n + 1): seq, k = raw_input().split(" ") seq = list(seq) k = int(k) times = 0 for i in range(len(seq)- k + 1): if seq[i] == '-': times += 1 for j in r...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
88e1beb7b2904a1a69ed37e1091c691fcdacdf03
f31cf1cf160798c3c8759f0b251367c19bd8e9c6
/webpage/urls.py
28cd84e869f5c76c2aeaa8965285749b1921042f
[]
no_license
atiger808/django_site
6994e17e3b40865f7c598bba2f20098367288afe
113505d880594ff40a5927279a65d01abe13c2a9
refs/heads/main
2022-12-28T20:38:13.280352
2020-10-14T10:15:27
2020-10-14T10:38:55
303,973,765
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
from django.conf.urls import url, include from webpage import views app_name = "webpage" urlpatterns = [ url(r'index/', views.index, name="index"), url(r'motor/', views.motor, name="motor"), url(r'servo/', views.servo, name="servo"), url(r'slide/', views.slide, name="slide"), ur...
[ "atiger0614@163.com" ]
atiger0614@163.com
286ccefca1fd2279143faec8ffbcc596a13a8c40
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Simulador_20200711161938.py
5c308ecae7cd8c80103c12b8a7f44b54010fd02c
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
14,169
py
import pandas as pd import numpy as np from Matriz_esferica import Matriz_esferica from Individuo import Individuo, Fabrica_individuo import random from itertools import permutations import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from scipy.sparse import csr_matrix, lil_matrix class S...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
134dabcf599193802e7f4074f78fe9e22571b0a0
37784d8df0a61e2066c79a796b6d1940be74cf10
/gnocchi/indexer/alembic/versions/aba5a217ca9b_merge_created_in_creator.py
72339057b00d3702f3ff1e86bb089ebfdb3f3f34
[ "Apache-2.0" ]
permissive
yasufum/gnocchi
8f91bf3b772024ce0d38c6b892d3b3e811561924
990baf7de743a8fe00c4826a278b46bb27472a28
refs/heads/master
2022-11-19T10:24:00.759255
2020-07-31T02:57:31
2020-07-31T02:57:31
283,926,694
0
0
Apache-2.0
2020-07-31T02:50:26
2020-07-31T02:50:25
null
UTF-8
Python
false
false
1,896
py
# Copyright 2016 OpenStack Foundation # # 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 ...
[ "julien@danjou.info" ]
julien@danjou.info
22909c665a9810855df79d20612173f9e3fa6c1b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2587/47937/248614.py
1b6d80b086a3be5ffc3d50310a849dac54b71aad
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
221
py
num=int(input()) i=0 x=[] while i<num: i=i+1 a=input() x.append(a) i=0 print(x[0][0]) length=0 while i<num: length=length+max(abs(x[i+1][0]-abs(x[i][0]),abs(x[i+1][1]-abs(x[i][1])) a=9
[ "1069583789@qq.com" ]
1069583789@qq.com
dae877f406e1c2b3682332ed919dd640a7675cb2
aba1fc68cef8d0c7ea5d680f0281b731f0075408
/branch/migrations/0001_initial.py
84589bb0d67dbef94f65b63fe15fbff2333fe5f5
[]
no_license
nitin1011/Branch-Detail
6e3c138a472e998216375d81c9434379d9ce4421
c2d60a882f87c9f4786acd0f7e79f9e8266004fb
refs/heads/master
2022-11-06T09:59:09.157101
2020-07-02T15:15:02
2020-07-02T15:15:02
276,677,401
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# Generated by Django 2.2 on 2020-07-02 03:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Branch', fields=[ ('id', models.AutoField(aut...
[ "nitinjethwani10@gmail.com" ]
nitinjethwani10@gmail.com
7a46bb9cda0893bed3c3287ed55d6126884ade9e
7f7f84f3cba5fade2e1d25c9a0c495da65151733
/LeetCode/字符串/3无重复字符的最长字串.py
66d5b8ec3f346467eb790ba51b23ac2872c5d440
[]
no_license
chenjb04/fucking-algorithm
accf43ee16ca246b90d4d0675a2281fb1ffcf895
0a54c61373920ff6bcbc099ef6e4a9e62a60b472
refs/heads/master
2023-01-03T14:00:02.270611
2020-11-04T09:22:56
2020-11-04T09:22:56
169,830,504
5
4
null
null
null
null
UTF-8
Python
false
false
1,690
py
""" 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 示例 2: 输入: "bbbbb" 输出: 1 解释: 因为无重复字符的最长子串是 "b",所以其长度为 1。 示例 3: 输入: "pwwkew" 输出: 3 解释: 因为无重复字符的最长子串是 "wke",所以其长度为 3。   请注意,你的答案必须是 子串 的长度,"pwke" 是一个子序列,不是子串。 Related Topics 哈希表 双指针 字符串 Sliding Window """ fr...
[ "chenjb04@163.com" ]
chenjb04@163.com
13c2f03253c49aa27243566ea704aea637ea3a0c
76de1163c087973c3738de70259dafd2e7bc4a97
/core/manager/roimanager.py
232759347ba6347fe3a788815b458c61e29ca27b
[ "BSD-2-Clause" ]
permissive
perterest/imagepy
94117be11e2cefc9a49ffa553f45f8cfbd2c2ed0
3a645968e342e9825caaef17d8be55550c255153
refs/heads/master
2021-01-20T07:23:09.504287
2017-04-19T06:53:54
2017-04-19T06:53:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 14 23:26:14 2017 @author: yxl """ class RoiManager: rois = {} @classmethod def add(cls, name, roi): cls.rois[name] = roi @classmethod def get(cls, name): if not cls.rois.has_key(name): return None return cl...
[ "498264240@qq.com" ]
498264240@qq.com
ffde45e694877cdbab2e6c949072412c76c1da0f
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/route_table_py3.py
328435156a1bc018a2b6a38e362dbccdc48d65bb
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,575
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
xiafu-msft.noreply@github.com
ba73c598578281f6f8c15ea37ad557b38cf26c5e
ed19867b41df7b3d9ecec7492b1ccdfde87fa3c2
/多线程,多进程/多进程.py
7636a8a5594c0fe0511701d5109536e67818657c
[]
no_license
248808194/python-study
bd3fe44ed9923570cd22365efef9b23e56b1bb56
a216afd97c49b12f08a623358941ebcc90cdcd78
refs/heads/master
2020-12-21T06:49:57.764838
2017-01-26T13:27:32
2017-01-26T13:27:32
55,950,712
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
class f1: def foo(self): print("f1_foo") class f2(f1): def bar(self): print("f2_bar") super(f2,self).foo() #直接在自己里面,执行父类的foo方法 #执行类中的某个方法 f2().bar()
[ "zhoutao@zhoutao.name" ]
zhoutao@zhoutao.name
65468986c61fe9c3e409787bffcbc54174ba42ee
d78989a8ce52a98f48d77228c4ea893f7aae31f7
/symbolic_expressions/sample20-virt-bogus-loop-iterations-2.py
5bb88e8039051b347e11f80093af1522b5a18135
[]
no_license
llyuer/Tigress_protection
78ead2cf9979a7b3287175cd812833167d520244
77c68c4c949340158b855561726071cfdd82545f
refs/heads/master
2020-06-17T11:16:40.078433
2019-04-16T09:27:29
2019-04-16T09:27:29
195,908,093
1
0
null
2019-07-09T01:14:06
2019-07-09T01:14:06
null
UTF-8
Python
false
false
11,824
py
#!/usr/bin/env python2 ## -*- coding: utf-8 -*- import sys def sx(bits, value): sign_bit = 1 << (bits - 1) return (value & (sign_bit - 1)) - (value & sign_bit) SymVar_0 = int(sys.argv[1]) ref_263 = SymVar_0 ref_278 = ref_263 # MOV operation ref_29586 = ref_278 # MOV operation ref_32890 = ref_29586 # MOV oper...
[ "jonathan.salwan@gmail.com" ]
jonathan.salwan@gmail.com
fbf05bc3e0663cc7e9fc281ce121992392eaf783
12bde85a67186e22d1d78f2a794c105c5c716aef
/이코테/기타그래프/크루스칼.py
34cc5651e36700352f0fca4f8dfc37ce4e7d0eb2
[]
no_license
chanjulee/Algorithm
3bf447eeee4e131efa3b5aab20477061fdaad061
8758c33148520cceb09189ab728a7da9ffd0c52d
refs/heads/master
2023-04-09T07:00:43.932074
2021-04-18T12:17:32
2021-04-18T12:17:32
297,069,710
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
''' 서로소 집합 자료구조: 합치지찾기(UnionFind) -합집합: 두개의 원소가 포함된 집합을 하나의 집합으로 합치는 연사 -찾기: 특정한 원소가 속한 집합이 어떤 집합인지 알려주는 연산 서로소 집합은 무방향 그래프 내에서의 사이클을 판별 1) 각 간선을 확인하며 두 노드의 루트노드를 확인 -루트노드가 서로 다르면 합집합 수행 -루트노드가 같다면 사이클이 발생한 것임 2) 모든 간선에 대해 1번 과정 반복 ''' #특정 원소가 속한 집합 찾기 def find_parent(parent, x): #루트노드를 찾을때까지 재귀적으로 호출 if paren...
[ "dlckswn52@gmail.com" ]
dlckswn52@gmail.com
50c174459a23133d8516cab6c5d8464bef53f31a
936f72b46215b89b277ffd57256e54f727ce1ac5
/spark-comp07/AST/__init__.py
195eed352eff7746831c1b69bd0886f23715de8b
[]
no_license
luizirber/dc-compilers
91dc99097d628339b53b20a0c0f2a6255a599b7a
4a47e786583c5f50cac2ac3a35de195f7be7a735
refs/heads/master
2016-09-06T11:27:51.815748
2012-07-03T01:28:26
2012-07-03T01:28:26
41,540
7
0
null
null
null
null
UTF-8
Python
false
false
335
py
from AST.ast import AST as ast from AST.compilerruntime import CompilerRuntime from AST.expr import Expr from AST.compositeexpr import CompositeExpr from AST.numberexpr import NumberExpr from AST.variable import Variable from AST.variableexpr import VariableExpr from AST.vardeclist import VarDecList from AST.program ...
[ "luiz.irber@gmail.com" ]
luiz.irber@gmail.com
3a7d9fb4e8794a4c74fc12f29928078988fa6a1b
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stdlib/imghdr.pyi
5f439779a69c60fa7e9fca7a21be10cc9ac24671
[ "Apache-2.0", "MIT" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
500
pyi
from _typeshed import StrPath from collections.abc import Callable from typing import Any, BinaryIO, Protocol, overload __all__ = ["what"] class _ReadableBinary(Protocol): def tell(self) -> int: ... def read(self, size: int) -> bytes: ... def seek(self, offset: int) -> Any: ... @overload def what(file: S...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
4552ef24d8725ed93f979222470d466b334a2996
e982c42888da91e957aef4a67e339135918d25ec
/app/MyModule/views.py
9e9f261e2b154ad7b309088755e30e2f47b860b4
[]
no_license
nikhil9856/kisan
c88f890d88e96dd718bd9cfaef41f3d40eb7b72d
556e57427a2b9a91fcc4a44ca25706c49e790d73
refs/heads/master
2020-03-15T01:59:09.825264
2018-05-03T18:08:02
2018-05-03T18:08:02
131,904,962
0
0
null
null
null
null
UTF-8
Python
false
false
17,374
py
from . import kisan from models import * from flask import jsonify, request @kisan.route('/',methods=['GET']) def basic(): return jsonify({"response" : "Welcome to Kisan"}) # --------------------------------------------------------- ADD API'S ---------------------------------------------------------------...
[ "kumar.nikhil110@gmail.com" ]
kumar.nikhil110@gmail.com
e77abbfde530d5cde7d80510228b4f7f724dc89b
d994cee3810de8f5fa895807f415d8051dfd1319
/HetMan/features/cohorts/utils.py
b4b1a6e60ce932872b5d286c3660096d0fdfd44f
[]
no_license
ohsu-comp-bio/bergamot
b4e162525d1cc66975d64866cc68004ee42828e2
37fd50fc1ce6da83049a0cbbad5038a055fd3544
refs/heads/master
2023-07-24T01:15:27.695906
2019-09-19T01:39:13
2019-09-19T01:39:13
89,973,424
1
2
null
2023-07-06T21:07:53
2017-05-02T00:03:26
Python
UTF-8
Python
false
false
782
py
import numpy as np def log_norm(data_mat): """Log-normalizes a dataset, usually RNA-seq expression. Puts a matrix of continuous values into log-space after adding a constant derived from the smallest non-zero value. Args: data_mat (:obj:`np.array` of :obj:`float`, shape = ...
[ "mgrzad@gmail.com" ]
mgrzad@gmail.com
7ec239b770841bf2f048337c7f7cb5e50511d90e
f9c4b10bd61afd9d980572bde19aa87f5f67635c
/logia 10/3/statki.py
1f8c1ec9e65dbb1709776c28f667a95dbb4be6c7
[]
no_license
patpij2/Logia-Competition-All-Solutions
56020d2aba3ebf7d3757ecf38ede61b2f3c787ac
463133eb224a428610b2b578d74f3beedae332af
refs/heads/master
2022-12-10T12:41:40.946186
2020-08-25T22:58:12
2020-08-25T22:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
from turtle import * from random import randint import numpy as np speed(0) tracer(0) def kwd(kolor): begin_fill() fillcolor(kolor) for i in range(4): fd(40); rt(90) end_fill() def losuj(n): tab = np.zeros((10,10)) if randint(0,1) == 0: wiersz = randint(-1,8) ...
[ "patryk.pijanowski@gdgpoland.org" ]
patryk.pijanowski@gdgpoland.org
ab1b86a0b425e3bfbe34ea8c098f06f8ddd65741
4578b30c433510cf370d51475ec11cac9c3de1cb
/serpent/sprite.py
27d46f5b18f9177cb64c12e9331eb6f74d141516
[ "MIT" ]
permissive
SerpentAI/SerpentAI
0a5b2d567b50388722c3a3c5152555ce94256c49
00a487dd088c6ca2528d025f3273c0a796efe210
refs/heads/dev
2023-03-08T14:14:07.171435
2020-05-22T22:34:09
2020-05-22T22:34:09
88,444,621
7,216
950
MIT
2020-07-15T00:41:35
2017-04-16T21:48:39
Python
UTF-8
Python
false
false
4,180
py
import numpy as np import random import uuid class SpriteError(BaseException): pass class Sprite: def __init__(self, name, image_data=None, signature_colors=None, constellation_of_pixels=None): if not isinstance(image_data, np.ndarray): raise SpriteError("'image_data' needs to be a 4D ...
[ "info@nicholasbrochu.com" ]
info@nicholasbrochu.com
46daf1fb76309a0f65f75b78758ccae99728bc4c
9b48403cbcdd67ca3f6cfd9b461c139191e80c86
/everest/resources/staging.py
49eea1972b5d80f1028fdaa8b7db161b5b9e04f1
[ "MIT" ]
permissive
fogathmann/everest-thelma
75656220a157628520379c944662c268fcb74b8a
e7514c9ed366267cb62e06fb0ef9749a7771535a
refs/heads/master
2021-01-16T20:57:03.725572
2014-03-17T13:54:58
2014-03-17T13:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,059
py
""" Support for staging transient entities. This file is part of the everest project. See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information. Created on Feb 27, 2013. """ from everest.constants import RELATION_OPERATIONS from everest.entities.base import Aggregate from everest.entities.base impor...
[ "fogathmann@gmail.com" ]
fogathmann@gmail.com
04f2277d5f33d2c27fa3e278cc40848f7ff4cf16
0163529138223cbeb45d4a0c8640ffff02ee2c59
/tools/SkimTreeMaker.py
6133f12b033058c7d0723222f0553da4cd409b2f
[]
no_license
VourMa/cmsdas
afd58a4535045c4305f0c4abec99faed56aab675
471cee280fc553d4943750b1c87bcf49cf1ae3c9
refs/heads/master
2020-03-29T05:18:39.557374
2018-09-14T20:52:04
2018-09-14T20:52:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,091
py
#! /usr/bin/env python # script to create trees with track variables # created May 3, 2017 -Sam Bein #python tools/SkimTreeMaker.py /nfs/dust/cms/user/beinsam/CommonNtuples/MC_BSM/LongLivedSMS/ntuple_sidecar/g1800_chi1400_27_200970_step4_30.root from ROOT import * from utils import * import os, sys from glob import ...
[ "samuel.bein@gmail.com" ]
samuel.bein@gmail.com
a90b34a83e129c265217a0ccee4d4da64f2cc8ea
d7ce6065478717839a8e7abc378727b9cafd57a3
/test/test_device.py
7c52c2d2b2e2b80b55afa98fa1c408f8be779219
[ "BSD-3-Clause" ]
permissive
thom-nic/pymodbus
e6285679770535947a6763cf786b276793c5285e
271fa15bfafb34084101915262c3f252a6ebdff7
refs/heads/master
2021-01-18T00:37:10.483861
2012-05-23T14:58:31
2012-05-23T14:58:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,977
py
#!/usr/bin/env python import unittest from pymodbus.device import * from pymodbus.exceptions import * from pymodbus.events import * from pymodbus.constants import DeviceInformation #---------------------------------------------------------------------------# # Fixture #-------------------------------------------------...
[ "bashwork@gmail.com" ]
bashwork@gmail.com
0c00a4f3d547f1a2a42ab3f39c4a93e32c52e204
45284836ae85685226b1f1e3b83e207e184aee0e
/02_DataAnalysis&Visualization/03_StorytellingThroughDataVisualization/03_VisualizingTheGenderGapInCollegeDegrees/05_AddingAHorizontalLine_Better.py
9d53add22a13dca774300889e2349c87dc652b2b
[]
no_license
gaurab123/DataQuest
5060efc3d3449e6e098cb77d7fed913516aabdbd
a9da9a90fab639d239340edfc7d0b2010edf2b35
refs/heads/master
2021-09-14T15:10:13.047034
2018-05-02T19:11:23
2018-05-02T19:11:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,886
py
import pandas as pd import matplotlib.pyplot as plt women_degrees = pd.read_csv('percent-bachelors-degrees-women-usa.csv') cb_dark_blue = (0/255, 107/255, 164/255) cb_orange = (255/255, 128/255, 14/255) stem_cats = ['Psychology', 'Biology', 'Math and Statistics', 'Physical Sciences', 'Computer Science', 'Eng...
[ "kenneth.kite@gmail.com" ]
kenneth.kite@gmail.com
752fefc3253371bb5f37a9d3be66e4b47647f325
26e705c0dad61c97570924319da4558d37c288dc
/app/main/controller/material_controller.py
bf09d4202527aab960ce0fb73f03db6aa4b658b5
[]
no_license
AntoineDao/ladybug-tools-api
b284081ea774572c24b457cdba577819bf88acff
f1b0cb0b136ff00c30757724dd1a1f8c21bd9d6b
refs/heads/master
2020-04-01T04:04:11.834172
2019-02-15T21:58:27
2019-02-15T21:58:27
152,848,868
0
0
null
2018-10-13T07:54:29
2018-10-13T07:54:29
null
UTF-8
Python
false
false
1,399
py
from flask import request from flask_restplus import Resource from ..util.dto import MaterialDto from ..service.material_service import save_new_material, get_all_materials, get_a_material from app.main.util.decorator import token_required from app.main.service.auth_helper import Auth api = MaterialDto.api _material ...
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
d61f339b7e5150d096ee79c2dc4b385cdd1208c3
fcb04d0a3deb909dae2113a3db2fb73f7d01f959
/GlyphProofer/dist/GlyphProofer.app/Contents/Resources/lib/python2.6/numpy/distutils/lib2def.py
583f244c0f8d704e303ae625439326876e250a03
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
houseind/robothon
9e90dc7353aea411f8b322c7fbdb4f8e456ca171
b483ca3f6c6c92366b383c9f0df89d1541697723
refs/heads/master
2021-03-12T19:38:29.897078
2012-11-01T11:10:41
2012-11-01T11:10:41
3,603,847
9
1
null
2012-11-01T11:10:42
2012-03-02T16:27:43
Python
UTF-8
Python
false
false
3,335
py
import re import sys import os __doc__ = """This module generates a DEF file from the symbols in an MSVC-compiled DLL import library. It correctly discriminates between data and functions. The data is collected from the output of the program nm(1). Usage: python lib2def.py [libname.lib] [output.def] or pyth...
[ "ben@benkiel.com" ]
ben@benkiel.com
6f4f6d462027e1526525c4e17040f32200c49bf3
ce0cbb318ef4f6e3c02f896389cb6b5d4750d48f
/polyaxon/experiments/admin.py
cff00efba323c8a8506ee4a3634825921f4ea8b5
[ "MIT" ]
permissive
xenonstack/polyaxon
6d19c1a47bd9caeea6cecd3d132e812c057c6772
3d12a322cfbc70d82a6a01b10cc1ee0cd46975bc
refs/heads/master
2020-03-18T03:38:32.112848
2018-05-21T09:35:19
2018-05-21T09:35:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
from django.contrib import admin from experiments.models import ( Experiment, ExperimentJob, ExperimentJobStatus, ExperimentMetric, ExperimentStatus ) from jobs.admin import JobStatusAdmin from libs.admin import DiffModelAdmin class ExperimentAdmin(DiffModelAdmin): readonly_fields = DiffModel...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
51df3be3fdc0758547a7f1f1a1f4b49fb9876911
41c605bf3a002a757cb2344cff526d7a7ae56ea9
/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/__init__.py
4eefcaaefb83f4dcc77323ca789d493a8071f37b
[ "MIT" ]
permissive
Jonathan-MW/plotly.py
9674b90b5de11fd9089e6afefd04b57bc4587829
7528c00772f44dee24c0df7e15d70a4852f171a8
refs/heads/master
2020-05-30T06:04:13.621478
2019-05-31T10:34:15
2019-05-31T10:34:15
189,571,988
2
0
MIT
2019-05-31T09:59:53
2019-05-31T09:59:53
null
UTF-8
Python
false
false
2,986
py
import _plotly_utils.basevalidators class ValueValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name='value', parent_name='scattercarpet.marker.colorbar.tickformatstop', **kwargs ): super(ValueValidator, self).__init__( ...
[ "noreply@github.com" ]
Jonathan-MW.noreply@github.com
0b602d178c5391d9ef9260dcc1d4e7c2b2c858dc
cc8ab28c8c771e95ce018bb743be334b5fe7fd3b
/totemlogs/logger.py
02953571bc35ca7d29fcbe214049be28f806b2c6
[ "MIT" ]
permissive
totem/totem-logs
42de5b8517d993470fab6328375d5b228d3d59e9
a969678d5565edb36e79eb837bae46d7f0730f16
refs/heads/master
2021-01-01T18:37:41.662871
2015-08-26T05:51:37
2015-08-26T05:51:37
38,733,020
1
0
null
2015-08-26T05:51:38
2015-07-08T05:05:29
Python
UTF-8
Python
false
false
981
py
from __future__ import absolute_import import logging from logging.handlers import SysLogHandler from conf.appconfig import LOG_FORMAT, LOG_DATE, LOG_ROOT_LEVEL, TOTEM_ENV, \ LOG_IDENTIFIER def init_logging(name=None): app_logger = logging.getLogger(name) app_logger.setLevel(LOG_ROOT_LEVEL) if TOTEM_...
[ "sukrit007@gmail.com" ]
sukrit007@gmail.com
15ddea11bcb771f99d1817905be180e56c7a568b
9beb8240bee0bdacfc5121392027eb47f41a1e47
/quantrocket/cli/subcommands/fundamental.py
80afb0c0d42e501cb5618a113b7ae3a150c42d16
[ "Apache-2.0" ]
permissive
peterfabakker/quantrocket-client
bd826b265dbfefae6044e8bafa05b2805b9c2b2d
35b6907518b37f1cc915f9616bf0a19532b62382
refs/heads/master
2020-03-12T13:58:48.809127
2018-04-06T12:51:00
2018-04-06T12:51:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,814
py
# Copyright 2017 QuantRocket - 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 ...
[ "brian@quantrocket.com" ]
brian@quantrocket.com
e48cc3ef336f731905f57291addb248b8d9d68c8
88300c9beec554ef78a9293df8f949f2e9558632
/example.py
bfb96ec9f5778c4dbd1593ba5397880728665c5f
[]
no_license
codesharedot/Matplotlib-no-178
1ece94204fdd2fd4639cdd7ebbc65cb0264170ba
e25139737e3d838d843080fa0f89b892b286f3d6
refs/heads/master
2021-03-24T07:02:22.568060
2020-03-15T18:41:21
2020-03-15T18:41:21
247,528,689
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
import numpy as np import matplotlib.pyplot as plt labels = ['A1', 'A2', 'A3', 'A4', 'A5'] m_means = [0,7,3,0,5] m_std = [2, 3, 4, 1, 2] width = 0.40 # the width of the bars fig, ax = plt.subplots() ax.bar(labels, m_means, width, yerr=m_std, label='Data') ax.set_ylabel('y label') ax.set_title('title') ax.legen...
[ "codeto@sent.com" ]
codeto@sent.com
05344134fc2a2a61cbdc7cf908fe2a026b305609
edfdc0d3a2fdeed95ba7aa3d0e198eb9dafe4064
/operator_api/contractor/decoders/nocust_contract_event_decoder.py
d512ec11c0c445fc58bf720c3687d445a348499e
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
xiaobai900/nocust-hub
880e72ba4e1d324ae36adea6c03c9761a7d91621
76f49f9b8a6c264fcbe9e0c110e98031d463c0a8
refs/heads/master
2023-05-28T08:18:17.402228
2020-11-01T19:48:17
2020-11-01T19:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
from contractor.abi import load_abi from contractor.decoders.ethereum_event_decoder import EthereumEventDecoder from operator_api.util import Singleton nocust_contract_abi = load_abi('NOCUSTCommitChain.json') class NOCUSTContractEventDecoder(EthereumEventDecoder, metaclass=Singleton): def __init__(self): ...
[ "guillaume@felley.io" ]
guillaume@felley.io
b8959eb379bb2b707ce1315426a58ab7587c62b4
0a148c2e5b26198559852861b5be0f388bd1ea02
/catalog/forms.py
8f7becb3e593a105201abbecea2d54aee02d5b87
[ "CC0-1.0" ]
permissive
michelcarvalho22/ecommerce_simples
ab885b879c344e8c6b7df1db8586c3506a4104bf
a2ba147cac5dab054b373c9ebbb752d8f1eb484a
refs/heads/master
2022-11-22T01:24:44.964282
2020-07-23T16:11:49
2020-07-23T16:11:49
281,991,251
1
0
null
null
null
null
UTF-8
Python
false
false
484
py
from django import forms class FormProduto(forms.Form): cor = forms.CharField(label='Cor',required=False) tamanho = forms.CharField(label='Tamanho',required=False) def __init__(self,*args,**kwargs): super(FormProduto,self).__init__(*args,**kwargs) class FormBuscaProduto(forms.Form): descr...
[ "michel.carvalho22@gmail.com" ]
michel.carvalho22@gmail.com
18e74cdf9953a724f6a98606fd02b4461b3ebcd4
b71c161af79b9a61ffea197b35e7265a95664e5e
/sorting/quick2.py
fe446a99d959c475107a55d710ac341b4b2a3f4f
[]
no_license
dmswl0311/Algorithm
c923e3c34e1df5debf93df12214f9f7d88b58f91
d94950d3543c6721025a9ea465abe8fdae7cd48c
refs/heads/master
2023-03-30T19:02:03.693366
2021-03-10T10:19:25
2021-03-10T10:19:25
329,830,547
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
import sys n = int(sys.stdin.readline()) array = [int(sys.stdin.readline()) for _ in range(n)] def quick_sort(array): if len(array) <= 1: return array pivot = array[0] tail = array[1:] left_side = [x for x in tail if x <= pivot] right_side = [x for x in tail if x > pivot...
[ "dmswl_0311@naver.com" ]
dmswl_0311@naver.com
a4e62f5351881fe1cd9ecffc04019b60f132b560
5c59bca8174b5430df28bff463c5c2e47b7af005
/main.py
56ab9f5ce46fa2335ba4c903036c3ced888f3c28
[ "MIT" ]
permissive
pdinkins/terminal-client
8796dcc69aa814d56e75cf018af31d3c5c6dcd5e
68d53d5b131e9e7f75cced2a593ebdc3fe7040f3
refs/heads/master
2020-04-19T06:35:54.300458
2019-01-29T02:44:45
2019-01-29T02:44:45
168,022,732
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
# terminal-client import platform import os import shutil import datetime class Interface: """ Terminal Interface """ def __init__(self, md): self.__menu_dict = md self.__operating_system = platform.system() # Horizontal Title Bar def __title_bar(self): print("=" *...
[ "parkerdinkins@gmail.com" ]
parkerdinkins@gmail.com
ef93784f76bdecc9755e12c89cebf4fde71b932e
3db1063777e6a0b2e7dba70fc507fe5e88b89fd9
/tests/test_algebra_custom_model.py
52357531368fe65b54732797e23836266f116826
[ "Apache-2.0" ]
permissive
Pandinosaurus/sklearn-onnx
6fe8266576a63dfc97782b001fd5a7b1a8c4c076
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
refs/heads/master
2022-03-15T12:33:57.138828
2022-02-25T14:31:04
2022-02-25T14:31:04
199,595,952
0
0
Apache-2.0
2022-02-25T20:54:57
2019-07-30T07:11:05
Python
UTF-8
Python
false
false
4,877
py
# SPDX-License-Identifier: Apache-2.0 """ Tests scikit-learn's binarizer converter. """ import unittest import numpy as np import onnx import onnx.checker from sklearn.base import BaseEstimator, TransformerMixin from sklearn.pipeline import make_pipeline from sklearn.preprocessing import StandardScaler from skl2onnx.a...
[ "noreply@github.com" ]
Pandinosaurus.noreply@github.com
d2991b0e7d51e823101c6d3c55b221921362268a
e4a2bbcae9a8ef78780b8bc2504434edb2990260
/DSA/十大排序/SelectionSort.py
71bf2c158a0f88894bbbdef2e8f7dbe8446ae952
[ "MIT" ]
permissive
lance-lh/Data-Structures-and-Algorithms
e21b4c36df9887ad2d638a00b65e1b7f0d9ee534
c432654edaeb752536e826e88bcce3ed2ab000fb
refs/heads/master
2020-04-28T03:10:20.303427
2019-09-13T14:16:16
2019-09-13T14:16:16
174,926,695
1
0
null
null
null
null
UTF-8
Python
false
false
869
py
# https://github.com/hustcc/JS-Sorting-Algorithm/blob/master/2.selectionSort.md # complexity: O(n^2) def selectionsort(arr): ''' :param arr: list :return: list ''' for i in range(len(arr) - 1): # 记录最小数的索引 # 每次先把外循环索引作为当轮最小索引 minIndex = i # 找到最小索引 for j in ran...
[ "imleehao@gmail.com" ]
imleehao@gmail.com
1eb89ec83fd4b3c6a53f960c050fccb45da1fabb
4600e12b2fac7cd385b064cb9cc5152e63a5b628
/mysite/polls/tests.py
41e77eb297b41c4add4950e0f0a0b67b020edb1d
[]
no_license
Otumian-empire/myfirstdjangoapp
d01a158fcfad4c759b14b6cf732c35bdd6844baa
a571285a9563e9eb73cd660b77be7381e4cbc935
refs/heads/master
2022-12-03T07:33:59.096998
2020-08-22T10:55:25
2020-08-22T10:55:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,549
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question class QuestionModelTest(TestCase): def test_was_published_recently_with_future_question(self): time = timezone.now() + datetime.timedelta(days=30) futu...
[ "popecan1000@gmail.com" ]
popecan1000@gmail.com
6f039458c6b7ad0ea4fd8ed1addc8198b3c5c744
926cf53bc4f2396cb6c122faaeb7679480f7cbb2
/docs/conf.py
c595ee48b05b8f3643556798ce2cc60cefcb868a
[ "MIT" ]
permissive
coleifer/irc
c77c2064baf57ed6fe3130b596b7a9cee7e84d6c
cd26ca95e21db78c1313dc49808b1a7bbefaf076
refs/heads/master
2023-07-07T06:36:59.037458
2023-06-13T18:31:19
2023-06-13T18:31:19
854,228
130
59
null
2016-08-31T17:01:54
2010-08-22T03:43:35
Python
UTF-8
Python
false
false
7,724
py
# -*- coding: utf-8 -*- # # irckit documentation build configuration file, created by # sphinx-quickstart on Sat Apr 21 10:39:40 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All ...
[ "coleifer@gmail.com" ]
coleifer@gmail.com
e5d79748aa256680744233873d46af5fd03b9eee
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03644/s296290886.py
ba4502f0c8b15db149712b7ec62ecccffe22431c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
N = int(input()) cnt = 0 while 2 ** cnt <= N: cnt+=1 cnt-=1 print(2**cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8a310e06e4223443227fcceabcdb0ac2df37b868
27691e5ef8e49fb29189b01dd76a1dc3720e7ae8
/AC/AGC/AGC027C.py
975fe25d091f6ca4686771c4e96fc7e50308a143
[]
no_license
oshou/procon
61e5f5bc819e0fe5ab29749fc2f894fe6f3b1d07
3d000c64b5917c65b51ed7da5b90cb79892d5909
refs/heads/master
2023-05-10T23:56:50.861468
2021-09-23T06:07:29
2021-09-23T06:07:29
116,886,484
1
0
null
2023-05-05T02:28:41
2018-01-10T00:21:38
Go
UTF-8
Python
false
false
605
py
N, M = map(int, input().split()) s = input() a = [] b = [] A_path = [] B_path = [] for i in range(M): tmpa, tmpb = map(int, input().split()) a.append(tmpa) b.append(tmpb) for i in range(M): if s[a[i]-1] == s[b[i]-1]: if s[a[i]-1] == "A": A_path.append([a[i], b[i]]) ...
[ "adf1985adf@gmail.com" ]
adf1985adf@gmail.com
f71696accda601396ba09e9c3a401d81b3cdcd7d
3bca61efd1645dd6224518c1930168de360c557a
/pyenergenie-master/src/energenie/OpenThings.py
eecf089dce4b52bcb096ca2c9989edf23a9500e0
[ "MIT" ]
permissive
Yobmod/dmlauto
26c0ffcad68127f7adb6a2deb3dd766f7a639687
3fec2f1ddfed1ecfaec316d6e4cebe787a4ee345
refs/heads/master
2023-01-08T05:08:17.933311
2021-02-19T16:51:11
2021-02-19T16:51:11
70,706,666
0
0
null
2022-12-26T20:50:09
2016-10-12T14:13:41
Python
UTF-8
Python
false
false
20,409
py
# OpenThings.py 27/09/2015 D.J.Whale # # Implement OpenThings message encoding and decoding import time try: import crypto # python 2 except ImportError: from . import crypto # python 3 class OpenThingsException(Exception): def __init__(self, value): self.value = value def __str__(self): return repr(self.v...
[ "yobmod@gmail.com" ]
yobmod@gmail.com
3d50d8d08142b4e5f37a347e03a7dab2b52cacec
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02833/s225197492.py
bc2975cbc35cd202cee9c7563115da0933bf4cd1
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
N = int(input()) if N % 2 == 1: print(0) else: i = 1 ans = 0 while 2*(5**i) <= N: div = 2 * (5 ** i) ans += int(N//div) i += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9655b592a3357f370fdbb2c53cb818ae2184f024
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/databoxedge/v20190801/order.py
453f7132f0a4047dcf6bb4e040d8693ae70945da
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,487
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
16180d459c349062ceda67a9b24f9aed4a7b0d84
d6ac41c1b17deb7d870a1658b0a613a7ee38e907
/ex01/4_2.py
54c36508aa24221d7214e1be9b546feba86a898e
[]
no_license
sarangkhim/sk_python
9e76a14ad6180420ecbe6f17009f7ac4450ef5b1
cc3d8f600e343d6f8d967c684cab04ad8e0011d1
refs/heads/master
2020-03-10T07:17:31.147720
2018-04-12T15:15:51
2018-04-12T15:15:51
129,259,793
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
my_str = 'coding' for letter in my_str: print('문자:', letter)
[ "sarang.khim@gmail.com" ]
sarang.khim@gmail.com
a65f22b7e3558f618f44bc443aad700bdc6b1394
a84538af8bf1f763a3d71d939744976425358b30
/test/functional/rpc_bind.py
63cf0953ed22ca225af55bb23477fec4e071eae5
[ "MIT" ]
permissive
YourLocalDundee/foxdcoin
8de421b280a812e390249f14ed0b5892c546ebf1
9db505f6f32bd3e51bd2b2da533744c98cee23af
refs/heads/master
2023-05-14T05:10:26.435417
2021-06-09T06:18:50
2021-06-09T06:18:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,071
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Copyright (c) 2017-2019 The Raven Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running foxdcoind with the -rpcbind and -rpca...
[ "foxrtb@gmail.com" ]
foxrtb@gmail.com