blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
24cdcbecc7eafa54f83bb32c05eaadece9ae923c
24caa6710105a060fab2e17147e6d56609939011
/05-Importing_Data_in_Python_(Part_1)/03-Working_with_relational_databases_in_Python/09-Pandas_for_more_complex_querying.py
c6ed202627f94fe3a86b7922d627daf248673cce
[]
no_license
inverseundefined/DataCamp
99607022ad3f899d7681ad1f70fcedab290e269a
7226b6b6f41888c3610a884db9a226e013d37e56
refs/heads/master
2022-01-10T00:53:21.714908
2019-07-24T13:27:49
2019-07-24T13:27:49
198,280,648
1
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
''' Pandas for more complex querying Here, you'll become more familiar with the pandas function read_sql_query() by using it to execute a more complex query: a SELECT statement followed by both a WHERE clause AND an ORDER BY clause. You'll build a DataFrame that contains the rows of the Employee table for which th...
[ "inversedrivenundefined@gmail.com" ]
inversedrivenundefined@gmail.com
0f9bf124f49507e8e88f9c99a67d39996068f0e1
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/scripts_201410/simpleMeasurements/FFT/micromotioncompensate.py
61e0fc2a67cd09a122b42c0821e42d4d1b12e7ff
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
683
py
from FFT import measureFFT import numpy as np import labrad import time cxn = labrad.connect() dv = cxn.data_vault recordTime = 0.5 #seconds average = 4 freqSpan = 50.0 #Hz freqOffset = -889 #Hz, the offset between the counter clock and the rf synthesizer clock #setting up FFT fft = measureFFT(cxn, recordTime, avera...
[ "soenkeamoeller@gmail.com" ]
soenkeamoeller@gmail.com
df7b27de7032e41159d2757d07e22dd5bf52718c
cad91ae76d2746a6c28ddda0f33a58f9d461378f
/TensorFlow2/LanguageModeling/BERT/dllogger_class.py
be211785d770825978dc9b4cb32631e11f2435bc
[]
no_license
NVIDIA/DeepLearningExamples
fe677521e7e2a16e3cb0b77e358f9aab72f8c11a
a5388a45f71a949639b35cc5b990bd130d2d8164
refs/heads/master
2023-08-31T20:57:08.798455
2023-08-23T10:09:12
2023-08-23T10:09:12
131,881,622
11,838
3,124
null
2023-08-28T16:57:33
2018-05-02T17:04:05
Jupyter Notebook
UTF-8
Python
false
false
2,852
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2021, NVIDIA CORPORATION. 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/lic...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
6bec030a51b5bb4b0f123d9777dc394b085cf5e0
9eaa2c64a777bd24a3cccd0230da5f81231ef612
/study/1905/month01/code/Stage5/day16/demo06_canny.py
8cecd5c5324a39778bbcead274373be63fe735f3
[ "MIT" ]
permissive
Dython-sky/AID1908
4528932f2ca66b844d8a3fcab5ed8bf84d20eb0c
46cd54a7b36b5f009974f2bbb7005a4ad440ca1a
refs/heads/master
2022-04-14T12:23:30.426270
2020-04-01T18:05:19
2020-04-01T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
""" demo06_canny.py 边缘识别 """ import cv2 as cv original = cv.imread('../ml_data/chair.jpg',cv.IMREAD_GRAYSCALE) print(original) cv.imshow('original',original) # 索贝尔边缘识别 sobel = cv.Sobel(original,cv.CV_64F,0,1,ksize=5) cv.imshow('sobel',sobel) # 拉普斯边缘识别 laplacian = cv.Laplacian(original,cv.CV_64F) cv.imshow('laplacia...
[ "dong_1998_dream@163.com" ]
dong_1998_dream@163.com
81eb6216326223d83778b2d3bd64fbec29228251
73758dde83d1a1823c103e1a4ba71e7c95168f71
/nsd2002/py02/day03/game_role.py
65eea729683ff4a6c379867472ab679b07dec8fa
[]
no_license
tonggh220/md_5_nsd_notes
07ffdee7c23963a7a461f2a2340143b0e97bd9e1
a58a021ad4c7fbdf7df327424dc518f4044c5116
refs/heads/master
2023-07-02T01:34:38.798929
2021-05-12T08:48:40
2021-05-12T08:48:40
393,885,415
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
class Role: def __init__(self, name, weapon): # 构造器方法,实例化时自动调用,注意,self不是关键字,可以是任何自定义的变量 # 绑定在实例身上的属性,在类中任意位置可见可用 self.name = name self.weapon = weapon def show_me(self): # 绑定在实例身上的属性,在类中任意位置可见可用 print('我是%s,我擅用%s' % (self.name, self.weapon)) def speak(self, ...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
3d87924ec7d7fd9fcc0bcf9142588b70d3044ea6
04e2a63c2a393ec3782a482b1734b6462c885d5d
/univelcity/open_file.py
a5d41c60faaaf3883d1b9e76f60d5a9ad4ae687c
[]
no_license
AzeezBello/_python
c1d671efbca2ed2ca7d65513efd2c55b496ddad7
266bc5aed9bfb93ea93b07712b48406331a9a327
refs/heads/master
2020-05-17T18:09:49.133120
2019-05-16T07:08:50
2019-05-16T07:08:50
183,876,279
0
0
null
null
null
null
UTF-8
Python
false
false
3,299
py
# file = open("death_causes.csv", "r") # index = 0 # for line in file: # index += 1 # print(line.split(",")) # if index == 3: # break # # Year,Cause Name,Cause Name,State,Deaths,Age-adjusted Death Rate # file = open("death_causes.csv", "r") # deaths = 0 # count = 0 #...
[ "azeez@scholarx.co" ]
azeez@scholarx.co
0332c4d5e620cd87f9b70d77e4f57a67c07e72a3
3b89c0a97ac6b58b6923a213bc8471e11ad4fe69
/python/CodingExercises/MoveSpacesFrontString.py
af9641cf57932b4daa0e84d62d196bc3aa65de22
[]
no_license
ksayee/programming_assignments
b187adca502ecf7ff7b51dc849d5d79ceb90d4a6
13bc1c44e1eef17fc36724f20b060c3339c280ea
refs/heads/master
2021-06-30T07:19:34.192277
2021-06-23T05:11:32
2021-06-23T05:11:32
50,700,556
1
3
null
null
null
null
UTF-8
Python
false
false
1,116
py
''' Move spaces to front of string in single traversal Given a string that has set of words and spaces, write a program to move all spaces to front of string, by traversing the string only once. Examples: Input : str = "geeks for geeks" Output : ste = " geeksforgeeks" Input : str = "move these spaces to beginning...
[ "kartiksayee@gmail.com" ]
kartiksayee@gmail.com
b7aade2484b165d22de966e987fd39bcf4cf37f0
286df6528096b6393b61d3ecb3b7002cb9a7b983
/python/ql/test/library-tests/frameworks/aiohttp/response_test.py
1988f4435604cade3227c27d40ba902f6661df59
[ "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0", "MIT" ]
permissive
Inncee81/codeql
ed620df0ae7b706943eccd92af37e037f540f6a4
38a38fd2c145628472d14c9e9d6ca812fd525793
refs/heads/main
2023-06-13T01:23:30.086459
2021-06-22T10:59:44
2021-06-22T10:59:44
379,254,229
1
0
MIT
2021-06-22T12:02:02
2021-06-22T12:02:01
null
UTF-8
Python
false
false
3,173
py
from aiohttp import web routes = web.RouteTableDef() @routes.get("/raw_text") # $ routeSetup="/raw_text" async def raw_text(request): # $ requestHandler return web.Response(text="foo") # $ HttpResponse mimetype=text/plain responseBody="foo" @routes.get("/raw_body") # $ routeSetup="/raw_body" async def raw_bod...
[ "rasmuswl@github.com" ]
rasmuswl@github.com
8400f0f8f16237cd362e0cc37f3436e13b3d755f
82f6a6c50a1fef2d7522a43cc4f60e5ff80b37a8
/solutions/Longest Word in Dictionary through Deleting/solution.py
267c70a98bb61b70fe13d5f17a5e27cb662c0fae
[ "MIT" ]
permissive
nilax97/leetcode-solutions
ca0f9545ce70975617738f053e0935fac00b04d4
d3c12f2b289662d199510e0431e177bbf3cda121
refs/heads/master
2023-05-14T02:21:48.893716
2021-06-08T13:16:53
2021-06-08T13:16:53
374,466,870
3
0
null
null
null
null
UTF-8
Python
false
false
617
py
class Solution: def findLongestWord(self, s: str, d: List[str]) -> str: s = '_' + s n, nxt = len(s), [{} for _ in s] for i, c in enumerate(s): for j in range(i-1, -1, -1): nxt[j][c] = i if s[j] == c: break def find(word): i = 0...
[ "agarwal.nilaksh@gmail.com" ]
agarwal.nilaksh@gmail.com
e9a1fed6a23067a05df9d37a4204e81098c48194
b9bf3b34b59ec8e566b7ad6e58b7d0429370d6bd
/gunicorn_conf.py
3b6bec2f43185136d7017ecf5ea3fe59f9f34931
[]
no_license
dutradda/chunli
7eea614b6c6c3c0738bec2f15d8224430e450a82
54e4385a34f805a2c13acdf85aec98d63c4eaff7
refs/heads/master
2021-08-16T09:22:45.388575
2020-09-03T12:55:33
2020-09-03T12:55:33
217,397,141
3
0
null
null
null
null
UTF-8
Python
false
false
327
py
import os import redis def worker_exit(server, worker): r = redis.Redis.from_url(os.environ.get('REDIS_TARGET', 'redis://')) r.publish('chunli:distributed', 'stop') def child_exit(server, worker): r = redis.Redis.from_url(os.environ.get('REDIS_TARGET', 'redis://')) r.publish('chunli:distributed', '...
[ "diogo.albuquerque@luizalabs.com" ]
diogo.albuquerque@luizalabs.com
8fe248d9822eea62924d8b53b9b960bb32bfe359
6541487fb7df24610e5c61aa30d4a39b9117b427
/tests/test_math_helpers.py
6cf87e9dc244968d69684b98f2d4a3ab0f4b7c6f
[ "MIT" ]
permissive
theY4Kman/birdfeeder
0e1f90a96b1607c0675ea3ab70a00fc99b97e7ac
25503a138fe01589fb28317ae0f3e281d6ce1961
refs/heads/master
2023-04-21T11:23:07.699322
2021-03-24T08:36:13
2021-03-24T08:37:40
368,974,412
0
0
MIT
2021-05-19T19:03:43
2021-05-19T19:03:43
null
UTF-8
Python
false
false
510
py
from decimal import Decimal from birdfeeder.math_helpers import safe_div, safe_mean def test_safe_div_basic(): assert safe_div(10, 2) == 5.0 def test_safe_div_basic_decimal(): assert safe_div(Decimal(10), Decimal(2)) == Decimal(5) def test_safe_div_zero_div(): assert safe_div(10, 0) == 0.0 def test...
[ "vvk@vvk.pp.ru" ]
vvk@vvk.pp.ru
b9b8b6190fea295a20706bf72e02f8bd6b16d816
0a15660807aee7d2fccbef1a3e633cabd1deb972
/subway/models.py
6dd5ae55f71cff97c7052df438f87e6a8c662e4e
[]
no_license
chirs/hs
7860e77230cd2577cac79539039f0e2a7590ef35
f1985e11a73b29fa8bf4fd1725c529ec8e61cb5b
refs/heads/master
2021-01-21T10:42:15.789926
2017-02-28T20:12:31
2017-02-28T20:12:31
83,474,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
from sqlalchemy import Table, Column, Integer, String, Boolean, DateTime, MetaData, ForeignKey, Text, Float from sqlalchemy.orm import mapper from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base engine = create_engine('sqlite:///:memory:', echo=True) Base = declarative_base() ...
[ "chrisedgemon@gmail.com" ]
chrisedgemon@gmail.com
dc105c937af95e74bf4880b57361a7470c141909
fb8cbebdf034b2f478943752d5443afc82c6eef5
/tuirer/venv/lib/python3.6/site-packages/jedi/evaluate/dynamic.py
fe9d28e5d70906257d64b55fcc219bbc2f5d3c6a
[]
no_license
fariasjr/CitiTuirer
f64e0ec93ef088f8140bb0961d2ad4ed3b59448a
deb3f7a9c2d45b8a7f54639037f097b99abdac11
refs/heads/master
2020-03-24T05:10:36.261050
2018-08-01T20:24:30
2018-08-01T20:24:30
142,477,521
0
0
null
null
null
null
UTF-8
Python
false
false
8,165
py
""" One of the really important features of |jedi| is to have an option to understand code like this:: def foo(bar): bar. # completion here foo(1) There's no doubt wheter bar is an ``int`` or not, but if there's also a call like ``foo('str')``, what would happen? Well, we'll just show both. Because th...
[ "jornadaciti@ug4c08.windows.cin.ufpe.br" ]
jornadaciti@ug4c08.windows.cin.ufpe.br
b0da7bdba534730f35505b2301bd30a30bf8b8a2
26192962dc2627e7ca5f0e3b249c3fabcf52442c
/Python/AD-HOC/1196 - WERTYU.py
f1d867b9f14a29527c0d7a750ed75bcb36716f79
[]
no_license
PierreVieira/URI
77278ccb1724ca206ab2c12afbea1e51fa08ff73
c1eb211c788d26b5cb9bedf5dda4147a2961fa19
refs/heads/master
2023-04-10T07:03:13.954639
2023-03-22T00:18:28
2023-03-22T00:18:28
189,321,748
2
1
null
null
null
null
UTF-8
Python
false
false
380
py
""" Autor: Pierre Vieira Data da submissão: 02/02/2020 16:48:12 """ linha = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,.'" while True: s = '' try: frase = input() except EOFError: break else: for c in frase: if c == ' ': s += c else: ...
[ "pierrevieiraggg@gmail.com" ]
pierrevieiraggg@gmail.com
734bba3ac3df513251e2431b420b08c3a0bb20f7
c2643fdff3185b659c2c7fa807d8b8d345a90343
/tests/test_basic.py
4bea68de088fd5206824e30ac834120108554bc5
[ "BSD-2-Clause" ]
permissive
auxten/fhost
b39ae209a056b301e737d176f8f12dcafd82cfa2
6536c4955e13fd67c939a6fc6cc687d29e976d15
refs/heads/master
2021-01-16T00:35:43.304418
2012-06-25T10:17:52
2012-06-25T10:17:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
# ## BEGIN LICENSE BLOCK # # Copyright (c) <2012>, Raul Perez <repejota@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copy...
[ "repejota@gmail.com" ]
repejota@gmail.com
3ce934caaa6e0a49902a84d3e6ce84ac3d1aac37
5cb8df4d10cd1a1d77f227ea8e1b311744750d5b
/generate.py
b4ba55cf4e1d1accfe70b88346848e422bbf65cf
[ "CC0-1.0" ]
permissive
YoonGenwu/hearthstonejson
388d46c5c082cde8389bef1011dded7d46fea7dc
3d6709f99dc7d0c0b75ccf441cfebec00f48a184
refs/heads/master
2021-01-15T11:42:57.006639
2016-02-17T01:12:14
2016-02-17T01:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,707
py
#!/usr/bin/env python import os import json import sys from argparse import ArgumentParser from enum import IntEnum from hearthstone.dbf import Dbf from hearthstone.cardxml import load from hearthstone.enums import CardType, Faction, GameTag, Locale, LOCALIZED_TAGS MECHANICS_TAGS = [ GameTag.ADJACENT_BUFF, GameTag....
[ "jerome@leclan.ch" ]
jerome@leclan.ch
1e1c3159a79488453e4810b9362f7850f72e9c90
f68eda51246c95597def569224f3b56d4c3700e7
/top/api/rest/SellercenterUserPermissionsGetRequest.py
a3f561db414e9ebc103b8c2d04ac8c7b445babb9
[ "MIT", "BSD-3-Clause" ]
permissive
stoensin/taobao-openapi
47de8fb29ae2d8ce47d4fce07c0ccaeaee1ef91f
202a9df2085229838541713bd24433a90d07c7fc
refs/heads/main
2023-07-17T02:17:51.527455
2021-08-25T15:08:49
2021-08-25T15:08:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
''' Created by auto_sdk on 2018.07.25 ''' from top.api.base import RestApi class SellercenterUserPermissionsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.nick = None def getapiname(self): return 'taobao.sellercenter.user.permissio...
[ "samzong.lu@gmail.com" ]
samzong.lu@gmail.com
1daefdaaf3cdc9dbbd4d888acd5c05d94d6285dd
85c337f0364f1452c068b7e93421b3e24af85358
/MzManage/manage.py
362fb7bb3d7af3d8d0dfab2d09b3c4fb6b0b78a7
[]
no_license
hornLK/AuthSystemWeb
9518f23453f910e17c516db26ea3a00fe0d0c806
c2c03ff2133151889a2ecc205a753a0eb2bbfd91
refs/heads/master
2022-12-14T19:18:00.560077
2018-04-19T12:39:14
2018-04-19T12:39:14
130,317,561
0
0
null
2022-12-08T00:59:04
2018-04-20T06:17:08
JavaScript
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MzManage.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "bjlkq546449541@gmail.com" ]
bjlkq546449541@gmail.com
347502a5063ca3f7fdbb96e81aadf62f71a48dae
97e534b26a76bf0d954e166841179979748bcfa2
/objects/migrations/0046_auto_20180625_0823.py
d6855e81eb891d0362368b4d406690be5fbde2c7
[]
no_license
mehdi1361/http_server
3a8bd73ce44307ee2b7761d1211671ca8cb0f3ba
d8a962c55165ef0237bfb26d27d9cfa11a415a5d
refs/heads/develop
2022-12-11T00:44:11.089407
2019-01-20T12:02:48
2019-01-20T12:02:48
166,656,299
0
0
null
2022-12-07T23:53:22
2019-01-20T12:02:05
HTML
UTF-8
Python
false
false
958
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-25 08:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('objects', '0045_auto_20180625_0724'), ] operations = [ migrations.AddField( ...
[ "mhd.mosavi@gmail.com" ]
mhd.mosavi@gmail.com
914e5a276b7849b267a4458ca7c0afd16ec3f18e
3f73ce74b6fdfb7966abb71a98f4986edd727c5f
/lib/config.py
9d9e5784d61265a408685b6fae7a08e8e51d01e0
[ "MIT" ]
permissive
yuta-komura/amateras
9c2efd310b18f159b1354864d65f9894ab93737f
cf8cc8fe0b5d8c382090fd1784a3ce96e6953157
refs/heads/master
2023-01-21T19:57:18.763894
2020-11-25T04:02:28
2020-11-25T04:02:28
297,432,974
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from enum import Enum PROJECT_DIR = __file__.replace("/lib/config.py", "") class HistoricalPrice(Enum): TIME_FRAME = 60 # minutes CHANNEL_WIDTH = 67 class DATABASE(Enum): class TRADINGBOT(Enum): HOST = "*********" USER = "*********" PASSWORD = "*********" DATABASE = "**...
[ "you@example.com" ]
you@example.com
75434b093211de8bd09ddd5d42a9bf15f06d16c6
77116b044adb3f28c5ea53d17fc69c29fd9bee55
/modules/influxdb_wrapper.py
683fcb41dd50d91836b1b24a3421205c11cc4a99
[ "MIT" ]
permissive
manav1403/stopstalk-deployment
63a5c22f20cf1dbe81024ba63b33c1c986ae8ada
667f6d89b24ce04595e2c70e02aa44aa3d836c42
refs/heads/master
2023-03-22T18:39:37.371341
2021-03-20T15:40:20
2021-03-20T15:40:20
290,265,152
0
0
MIT
2020-08-25T16:22:59
2020-08-25T16:22:58
null
UTF-8
Python
false
false
2,960
py
""" Copyright (c) 2015-2020 Raj Patel(raj454raj@gmail.com), StopStalk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights ...
[ "raj454raj@gmail.com" ]
raj454raj@gmail.com
5901e5381b54af17773dc3e7c1520e28cf0de3f4
2cb507ecd6629b9ff457a36e462f987913d94c1a
/webspider/3.数据提取/3.3bs4模块/07-bs4案例.py
e0ba2dc15a95fa18c7b4907a3e13a505e0e05098
[ "Apache-2.0" ]
permissive
youaresherlock/PythonPractice
6869e0a5949675198826e5a07552237a636d6f5b
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
refs/heads/master
2021-08-16T03:09:44.203035
2021-08-02T07:40:00
2021-08-02T07:40:00
146,625,560
0
1
null
null
null
null
UTF-8
Python
false
false
804
py
#!usr/bin/python # -*- coding:utf8 -*- """ https://mil.news.sina.com.cn/roll/index.d.html """ import json import requests from bs4 import BeautifulSoup url = 'https://mil.news.sina.com.cn/roll/index.d.html' headers = {"User-Agent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"} response = request...
[ "2263194561@qq.com" ]
2263194561@qq.com
3f9c5087daf02fa4d3f63eed410bf3cac7690a7a
5936b0f025944d265cc64d31ef93bc578d5ae6a2
/home/migrations/0002_load_initial_data.py
aa10fce4bdfc1b079fe4363502f83665c2758cfe
[]
no_license
crowdbotics-apps/smiley-18358
b4e91ddeaf525aedf990ec1df65d65fb583f4b7c
7935dd2fad196a7b573c1126905af5fcf93110b0
refs/heads/master
2022-11-06T07:02:33.512245
2020-06-23T20:08:09
2020-06-23T20:08:09
274,497,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "smiley" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ho...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6d3e6d6192178fdbd567a66120eb0aeb0b1077a1
a281d09ed91914b134028c3a9f11f0beb69a9089
/contrib/great_expectations_semantic_types_expectations/great_expectations_semantic_types_expectations/expectations/expect_column_values_to_be_valid_stellar_address.py
e90bce385fe104a9ad05fb1b06683e925a02a2db
[ "Apache-2.0" ]
permissive
CarstenFrommhold/great_expectations
4e67bbf43d21bc414f56d576704259a4eca283a5
23d61c5ed26689d6ff9cec647cc35712ad744559
refs/heads/develop
2023-01-08T10:01:12.074165
2022-11-29T18:50:18
2022-11-29T18:50:18
311,708,429
0
0
Apache-2.0
2020-11-10T15:52:05
2020-11-10T15:52:04
null
UTF-8
Python
false
false
6,125
py
""" This is a template for creating custom ColumnMapExpectations. For detailed instructions on how to use it, please see: https://docs.greatexpectations.io/docs/guides/expectations/creating_custom_expectations/how_to_create_custom_column_map_expectations """ import json from typing import Optional import coinaddrv...
[ "noreply@github.com" ]
CarstenFrommhold.noreply@github.com
0a84c7d2819c6909abef3aa8cf9c8e577efad451
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/nn_ns/parsing/IterParser/ParseResultAST.py
205e7e97ea49432cf019048a7b1198e730ce036c
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
346
py
from sand.types.NonMathTree import NonMathTree, LeafNode, OrientedNode, UnorientedNode class ParseResultAST(NonMathTree): class __UnboxedTypeID__:pass class ConRuleNode(OrientedNode, ParseResultAST):pass class AltRuleNode(UnorientedNode, ParseResultAST):pass class TerminalNode(LeafNode, ParseResultAS...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
5793547e4f2688f451442dce1b433dfd365ef5a8
9715a7d27f9b146632f964b643ee7243a7e9a38c
/match-sift.py
b7275f8f1c0e357c2af2b24419bc14fbb03ef725
[]
no_license
uakfdotb/skyquery
3eb9b2265992127a3c5b3b3612c32ddea0f39195
dc67b98ee8034711c274408640e3582d20482673
refs/heads/master
2020-07-07T03:49:57.856424
2019-08-21T19:13:18
2019-08-21T19:13:18
203,237,682
2
0
null
null
null
null
UTF-8
Python
false
false
6,632
py
from discoverlib import geom, grid_index import get_db import cv2 import json import math import multiprocessing import numpy import os from PIL import Image import scipy.ndimage import sys video_id = int(sys.argv[1]) db = get_db.get_db() BASE_PATH = 'ortho-masked.jpg' FRAME_PATH = 'frames/{}/'.format(video_id) LK_P...
[ "fbastani@perennate.com" ]
fbastani@perennate.com
f5557d5ff6492966343a1b46c76dde955a03f5a7
b15a9d9c7374c4a1fa5ec3ef63603a8c57e8681f
/Design-Patterns-Python/memento/caretaker.py
6a143d567f4390a284f8bff63c8f3a579f175f00
[]
no_license
gohils/zemr_notebook
3f7490ef7a2559655746c3e2e0dbfb835a83891e
00d53cea9970df44160c51e6ad2bdeadfae2c91f
refs/heads/master
2023-08-04T14:32:35.428016
2023-07-20T11:51:08
2023-07-20T11:51:08
222,027,451
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
"The Save/Restore Game functionality" class CareTaker(): "Guardian. Provides a narrow interface to the mementos" def __init__(self, originator): self._originator = originator self._mementos = [] def save(self): "Store a new Memento of the Characters current state" ...
[ "noreply@github.com" ]
gohils.noreply@github.com
4b94ea0efb14d60e69e0110fd84977c9ba7a7611
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_scale_set_public_ip_address_configuration_py3.py
76a82b78db8773b9a74688ddbdadeac51ed6ec07
[ "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,197
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
4673777d1c1a994069de18c0acda79831f581168
611055f18da392e5a63b2d80ce102701201981eb
/src/apps/comentarios/admin.py
52f74fce4df52fd09dd0fe7013e06fc2089b1463
[]
no_license
danielhuamani/django-backbone
facf6f2ced78991577957bd2f8bb8c42255cd795
6523e19d8599753ccf28b6a2d4f511ec0fe0f1c7
refs/heads/master
2021-01-10T12:47:26.514543
2015-11-18T17:12:02
2015-11-18T17:12:02
45,657,924
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django.contrib import admin from .models import Comentario # Register your models here. # admin.site.register(Comentario)
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
56f8397cd80c31bf0258a6c8726c43dfa3581ba0
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5688567749672960_1/Python/Jakube/A.py
4b619d8aaec440fa7678ace44a08aae319de1d8e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,162
py
def splitter(number): s = str(number) return int(s[:len(s)//2] or "0"), int(s[len(s)//2:]), len(s[len(s)//2:]) def compute(number): steps = 0 while number: # get second part of the number half1, half2, l = splitter(number) if half2 == 0: steps += 1 ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
76347a0bc807d2e3b00e30fef2748954370b3171
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/dn5 - tviti/M-17135-2263.py
9deedfe8d85e527c7a5c6e89ba8391269f3c8492
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
7,569
py
def unikati(s): sez = [] for x in s: if x not in sez: sez.append(x) return sez def avtor(tvit): a = "" for x in range(len(tvit)): if tvit[x] == ":": break else: a += tvit[x] return a def izloci_besedo(beseda): beseda_1 = "" for ...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
d0ac595a122ecd472ef080d0b8bd510635b637ea
6fab6422c26e00cde21f51f8f10eb88ff5c458af
/api/serializers.py
51f7198a3741d3245a04b600aeef1d4bc543c61a
[]
no_license
nicksonlangat/alzy-api
ffa3f43198fa0a6e8f58b88ae3f206e4c69f6cfb
d4a95da469d0895eb0c8a2897f3927e61da89aa9
refs/heads/master
2023-02-28T08:36:15.600769
2021-02-09T22:37:03
2021-02-09T22:37:03
337,120,025
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
from django.contrib.auth.models import User from rest_framework import serializers from .models import * class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ('id', 'username', 'email', 'password') extra_kwargs = {'password' : {'write_only': True, ...
[ "nicksonlangat95@gmail.com" ]
nicksonlangat95@gmail.com
ee5d9088a648e83c220c2dc7e4f83db84f9ab93e
f02e654d5590a861804e3220ed76ba2192e1699b
/aslam/deprecated/ASLAM/deprecated/old2/test.py
bdc9562460aa075503b52776c3db9d3ae345080c
[ "MIT", "BSD-3-Clause" ]
permissive
AmarNathH/software
73e2afd3affaf2c1595b406480edac8b8fb2fcac
e225810c7501250f48add43349a64f49450cc79f
refs/heads/master
2020-12-02T20:50:18.439874
2017-07-03T16:51:07
2017-07-03T16:51:07
96,219,939
1
0
null
null
null
null
UTF-8
Python
false
false
636
py
#!/usr/bin/env python2.7 from classes import * import numpy as n S = State(5, 1, 5, 1) for x in range(5): S.objects[str(x)] = Object() S.update() S.hObs('0', 45, 5) S.dObs('0', 10**(1./2), 0.5) S.update() import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = fig.add_subpl...
[ "software@cuauv.org" ]
software@cuauv.org
1197d22b4092f0070ba99d63e0074573c7e860f4
6045f8519065f17b9d832a8e051723a520b58e3c
/ex Basic Sytax/2. Drink Something.py
bc6082c6982ee35b8a65971bc335d24452e1b965
[]
no_license
a-angeliev/Python-Fundamentals-SoftUni
a308a6c94eb705a3319f6e081543c1cad0b1b37d
a9a5eba0376ebc7395daeda527408d1e59d58316
refs/heads/master
2023-07-19T05:55:28.104160
2021-09-11T18:25:58
2021-09-11T18:25:58
399,575,767
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
n = int(input()) if n<=14: print("drink toddy") elif n<=18: print("drink coke") elif n<=21: print("drink beer") else: print("drink whisky")
[ "nachko01@gmail.com" ]
nachko01@gmail.com
f3c46d47d4582718dfb6dd5b01fc9693777fc6bd
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/network/azure-mgmt-dns/azure/mgmt/dns/v2023_07_01_preview/aio/_dns_management_client.py
27d21876b1846ae591194de288047cefd6a1b680
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
5,306
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 may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
e8bad14d95e08fc8e990e74f3bdf81de17ebc718
23b7fa714698be444d82ac649314616495c66235
/petl/transform/__init__.py
5dac1f6cd765844d320a78b291999fef24a54ef6
[ "MIT" ]
permissive
mbelmadani/petl
a38ed1e595157fb556fe86ae32e796f6eff60a7a
b6867f056bf44d699f8f7b8432769e4b5127e937
refs/heads/master
2021-04-03T09:04:56.785188
2019-08-06T15:09:40
2019-08-06T15:09:40
124,597,339
0
0
MIT
2018-03-09T21:53:44
2018-03-09T21:53:44
null
UTF-8
Python
false
false
2,444
py
from __future__ import absolute_import, print_function, division from petl.transform.basics import cut, cutout, movefield, cat, annex, \ addfield, addfieldusingcontext, addrownumbers, addcolumn, rowslice, head, \ tail, skipcomments, stack from petl.transform.headers import rename, setheader, extendheader, \ ...
[ "alimanfoo@googlemail.com" ]
alimanfoo@googlemail.com
a39a00acac47914e717411524682266198077482
7fb51ae4163aeea47d0fb434f28666ea99b104af
/app.py
2cb0275c32bef3070e1b21c6218a864f8431cfd1
[]
no_license
knowsuchagency/cdk-hello-apigw-asgi
153eaae8d01a14e5886315122613c462ea90de70
a47cdc58ddd9bb070419d4fbcfa1cf07fb3873f9
refs/heads/master
2022-12-28T15:44:05.585842
2020-10-18T18:17:15
2020-10-18T18:17:15
301,259,143
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
#!/usr/bin/env python3 from aws_cdk import core from hello_apig_wsgi.hello_apig_wsgi_stack import HelloApigWsgiStack from hello_apig_wsgi.pipeline_stack import PipelineStack from pydantic import BaseSettings class Config(BaseSettings): """https://pydantic-docs.helpmanual.io/usage/settings/""" account: str =...
[ "knowsuchagency@gmail.com" ]
knowsuchagency@gmail.com
31c03c46273a3ec99f7d4ec05e1b47a219fe961a
291c08a11a29ce995099f775ac0ef79cd69dd1fc
/file_app/migrations/0001_initial.py
3918065b948c8b8a81a7a5331b098db45406b028
[ "MIT" ]
permissive
Amirsorouri00/neolej
1e278a2216a961b8abedc32b30d4fccf5c431d0b
8fa18f2c1a38b0a59ed7eeeed7ed37ef7b9dad97
refs/heads/master
2020-04-20T15:36:24.669991
2019-03-17T07:20:02
2019-03-17T07:20:02
168,935,557
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
# Generated by Django 2.1.3 on 2019-02-16 15:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='File', fields=[ ('id', models.AutoField(aut...
[ "amirsorouri26@gmail.com" ]
amirsorouri26@gmail.com
95ee6d9028cb4c1c7c5a614b96db2580eee8344c
e859d4604615e4ff3c6730554b12ae7b09e86286
/django-stubs/db/models/fields/files.pyi
bb53d5944104eade0990047b3af0abafb3dbaff7
[ "BSD-3-Clause" ]
permissive
microblag/django-stubs
d91655c346279424cf5e57b80a0b104dceb86ddc
d0eb05832551d344f06ec3e83cb850866a4d37c2
refs/heads/master
2020-04-18T05:18:24.887114
2019-02-06T04:02:28
2019-02-06T04:02:28
167,273,694
0
0
null
2019-01-24T00:12:42
2019-01-24T00:12:42
null
UTF-8
Python
false
false
2,954
pyi
from typing import Any, Callable, List, Optional, Type, Union from django.core.checks.messages import Error from django.core.files.base import File from django.core.files.images import ImageFile from django.core.files.storage import FileSystemStorage, Storage from django.db.models.base import Model from django.db.mod...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
93445be0fe7f2304b57849fd393fb87152e4fed1
95230c76a9e09d518c125ea8105002a7af6d1afc
/05_qstyle_sheets/style_sheets_example.py
48aab6b37dbed01f2b7497c75912ca16b2631c56
[]
no_license
amkartheek/nuke_python
d5f86f5ccb9742cd65acaf571fd4f5c7ca4032ff
67ed5e25796506c9321f487f576bc142842e0041
refs/heads/master
2020-05-31T19:04:19.463232
2018-03-09T19:17:19
2018-03-09T19:17:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,088
py
from PySide.QtGui import * from PySide.QtCore import * import sys class MyLineEdit(QLineEdit): def __init__(self): super(MyLineEdit, self).__init__() class Panel(QWidget): def __init__(self): super(Panel, self).__init__() first_name_label = QLabel("First Name:") self.first_na...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
bc72cc0f0343ca37bc40790a466c5e2c0b09be43
2f46c6463d4f871a72d4296c3dae00f029e892f1
/src/cogent3/maths/stats/jackknife.py
33192edc584ffa4dc6506935473a1e778893a7bd
[ "BSD-3-Clause" ]
permissive
BrendanBeaton/cogent3
a09376c55f24da837690219157770ad94e917579
e10f4f933921d52b000096b7c016190a1602add6
refs/heads/master
2022-12-02T07:59:11.112306
2020-06-30T05:40:33
2020-06-30T05:40:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,782
py
import numpy as np from cogent3.util.table import Table __author__ = "Anuj Pahwa, Gavin Huttley" __copyright__ = "Copyright 2007-2020, The Cogent Project" __credits__ = ["Anuj Pahwa", "Gavin Huttley"] __license__ = "BSD-3" __version__ = "2020.6.30a" __maintainer__ = "Gavin Huttley" __email__ = "Gavin.Huttley@anu.edu...
[ "Gavin.Huttley@anu.edu.au" ]
Gavin.Huttley@anu.edu.au
f15ea5350f91db08607111b1b3da17afdb7e9df0
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/compositional_rl/gwob/examples/web_environment_example.py
db65accda519a7ce01ec591613e7c7d0385b57be
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
6,400
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
3523fe1ae052b3f169f7bc74db4e83be9b2377c2
40afc1f3790099d2d5270503d101f30c71a89f07
/usersys/views/user.py
d4c9af3172aaa675d041cfa02bcb920867dd7649
[]
no_license
fhydralisk/reviewing
a3d31af1e8fe8caf2e831b35816d638ac0cadcce
7a27f278f85f9fdbcc805b0290f6bbdbb7147609
refs/heads/master
2020-05-14T23:27:37.229343
2019-05-07T12:28:21
2019-05-07T12:28:21
181,997,119
0
2
null
2019-05-07T07:38:14
2019-04-18T01:49:53
Python
UTF-8
Python
false
false
431
py
from base.views import WLAPIGenericView from ..serializers import user as user_serializers from ..funcs import user as user_funcs class UserView(WLAPIGenericView): http_method_names = ['get', 'patch', 'options'] API_SERIALIZER = { 'patch': user_serializers.UserPartialUpdateSerializer } RESULT_...
[ "fhy14@mails.tsinghua.edu.cn" ]
fhy14@mails.tsinghua.edu.cn
62ab32f13bfb48de1118f28c062ed0d2f5702325
6e5c83baa19e09bcc59300d764ce936f8cbe6b5b
/pybtex/style/names/plain.py
62c0c2ca311b0e086a1a078c4410d14d84d02f38
[ "MIT" ]
permissive
rybesh/pybtex
84e10b12f6c9ade0de2af638bfc23945109eff6d
18e0b5336f07ebc5dc97aa899362fb292ea7bb5a
refs/heads/master
2016-08-07T20:15:26.865726
2011-03-18T18:03:48
2011-03-18T18:03:48
1,246,178
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
# Copyright (c) 2010, 2011 Andrey Golovizin # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, pub...
[ "ryanshaw@ischool.berkeley.edu" ]
ryanshaw@ischool.berkeley.edu
712c8911fb30a81f68341c8d02607fc01373169c
bc2effb57e82128b81371fb03547689255d5ef15
/백준/그래프/13549(숨바꼭질 3).py
3e27f94ac43b4efa403bf096775a59d3e8e538cd
[]
no_license
CharmingCheol/python-algorithm
393fa3a8921f76d25e0d3f02402eae529cc283ad
61c8cddb72ab3b1fba84171e03f3a36f8c672648
refs/heads/master
2023-03-01T11:00:52.801945
2021-01-31T13:38:29
2021-01-31T13:38:29
229,561,513
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
import sys from collections import deque MAX_SIZE = 100001 start, end = map(int, sys.stdin.readline().split()) board = [float("inf")] * MAX_SIZE board[start] = 0 queue = deque() queue.append((start, 0)) while queue: now, value = queue.popleft() if now == end: print(board[now]) break if val...
[ "54410332+chamincheol@users.noreply.github.com" ]
54410332+chamincheol@users.noreply.github.com
86e497f7d8b7f8e601d5bdf3d3d634b51fbc04bf
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/hair_tool/curves_resample.py
bbf794543f831be09e4c96a6a4ed9485f74a8093
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,061
py
# This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful,...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
7e33879f634aa7e8d75988cebf28a1a0a95922cf
9918208c80a3c396d8a1e13783d501d60dbc2050
/digitalearthau/index.py
184f71b63443c944423a74ab43f21a32af6c40c5
[]
no_license
benjimin/digitalearthau
2d3010be76fad0d0b6b4854dbbad07e98254b239
5098bf3c88627cad78a8caa5ab703c586c17a6f7
refs/heads/develop
2022-02-27T07:36:16.009689
2017-09-14T05:51:27
2017-09-14T05:51:27
103,460,937
0
0
null
2017-09-13T23:10:15
2017-09-13T23:10:15
null
UTF-8
Python
false
false
7,353
py
import collections import uuid from datetime import datetime from typing import Iterable, Optional, Mapping, List from datacube.index import index_connect from datacube.index._api import Index from datacube.model import Dataset from datacube.scripts import dataset as dataset_script from datacube.utils import uri_to_lo...
[ "jez@stulk.com" ]
jez@stulk.com
15b6ae2d70b9799cb8748159e727ba2aff01ca67
a7b4bd1db26f71ab941076691d894583e167a3fd
/tools/cli_auto_doc.py
3fa4e46f23cc9b1663fdece8826ea5510b80263b
[ "Apache-2.0" ]
permissive
Mirantis/stackalytics
c422ccb27baa3f1fd7e68b9732ba0203144a3657
96ec7c6c630a9f2532b808069e045d434bbac200
refs/heads/master
2021-01-18T21:58:38.904481
2017-01-25T11:14:12
2017-01-25T11:14:12
10,863,780
3
4
Apache-2.0
2020-02-26T11:45:53
2013-06-22T11:17:28
Python
UTF-8
Python
false
false
1,806
py
# Copyright (c) 2015 Mirantis 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 writi...
[ "ishakhat@mirantis.com" ]
ishakhat@mirantis.com
58893a54c197fb68eeb0d035302bf64d8d6e53e9
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/gD3.py
aa7152104068969fce4fab0f59d40adbf339df10
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
1a8b3763c8a94e48cf8da659c686babc72716600
80abe7427ca501da06a9507cefa52d5c290f2833
/Chapter04/topic_modeling.py
841891d56168915143ec57282aeab11713c75372
[]
no_license
CodedQuen/Raspberry-Pi-3-Cookbook-for-Python-Programmers
7910c9cf9ebaf6f42510bd531bf965fd03e6efe8
4a77452c4510fd9c7da62099a93fdbc95a86245a
refs/heads/master
2022-06-10T04:36:59.316284
2020-05-05T10:18:33
2020-05-05T10:18:33
261,421,883
0
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
from nltk.tokenize import RegexpTokenizer from nltk.stem.snowball import SnowballStemmer from gensim import models, corpora from nltk.corpus import stopwords # Load input words def load_words(in_file): element = [] with open(in_file, 'r') as f: for line in f.readlines(): elem...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
25b980a0be5f061c6bdc488b9c6e51969e8a81c7
ceb5b7c3882b2bf3f53219356e914462c680f059
/azure-mgmt-compute/azure/mgmt/compute/containerservice/v2017_01_31/models/container_service_client_enums.py
279f5dcb9d3ff37bd26b6e9a9c88b555f28c3dff
[ "MIT" ]
permissive
codalab/azure-sdk-for-python
b712da2a377cfa526e0ffa4fa40408e6a81e48e3
f4c92d02d46fcdee9da430a18a394b108a2f8920
refs/heads/master
2021-01-19T14:40:23.567035
2017-04-11T22:49:13
2017-04-11T22:49:13
88,180,409
1
0
null
2017-04-13T15:36:45
2017-04-13T15:36:44
null
UTF-8
Python
false
false
2,291
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
985dad9eac8bbe27fa5b3adfb04734809e871ce4
ae16f9dd815605e5f52f27dda77bd735abafb587
/parser/councilors/elections_config.py
1bf0e2a7db9c45f4024b1026e1cd6c38e1f368c0
[ "CC0-1.0" ]
permissive
travishen/councilor-voter-guide
aa4a1aa3b86db9ca40b291baf461ff0330a369c0
09d9365676335854b2d4d0981f5cb925adf4c958
refs/heads/master
2020-04-13T10:09:07.688276
2018-11-28T14:51:05
2018-11-28T14:51:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,827
py
#! /usr/bin/env python # -*- coding: utf-8 -*- import sys sys.path.append('../') import re import json import psycopg2 import ast from sys import argv import gspread from oauth2client.service_account import ServiceAccountCredentials import db_settings conn = db_settings.con() c = conn.cursor() election_year = ast.li...
[ "twly.tw@gmail.com" ]
twly.tw@gmail.com
88842d784deeecde1c87e82ab837462e8ead03f9
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/ZZsnGAjYLyosG9zmH_12.py
aa9e707c08223592b4481ac84b90ac438ecda630
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
def flash(fc): var1, oper, var2 = fc return var1 + var2 if oper == '+' else var1 - var2 if oper == '-' else var1 * var2 if oper == 'x' else round(var1 / var2, 2) if oper == '/' and var2 else None
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3f37df8301b6e1dbb044c648cb837c0f03ffdbc6
a1582cec6239f627c6740b391d751f429675ee39
/test_todo.py
039a3c22c18438751c553f7c5c877b02e940182e
[]
no_license
SolbiatiAlessandro/todos
7cabfd35d6c7d3cdd3232051be4a96c667d55f21
b85e74c4fc220dccc5a0a05a288465b2da98f6d0
refs/heads/master
2020-03-28T18:56:09.847298
2018-10-15T15:07:01
2018-10-15T15:07:01
148,928,531
1
0
null
null
null
null
UTF-8
Python
false
false
638
py
import unittest import todo from os import path dir_path = path.dirname(path.realpath(__file__)) class testTODO( unittest.TestCase ): def test_readElems( self ): self.assertIsNotNone( todo.readElems() ) def test_todoDone( self ): with open(dir_path+'/todos','a') as f: f.write('"[...
[ "alexsolbiati@hotmail.it" ]
alexsolbiati@hotmail.it
bec5d5fbb09b6260d514209bc438f344d215832b
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=30/sched.py
a85202e958d39e172c17afa700742b708255c6d6
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
-S 0 -X RUN -Q 0 -L 2 84 250 -S 1 -X RUN -Q 0 -L 2 80 250 -S 0 -X RUN -Q 0 -L 2 74 250 -S 0 -X RUN -Q 0 -L 2 59 250 -S 2 -X RUN -Q 1 -L 1 57 200 -S 2 -X RUN -Q 1 -L 1 48 175 -S 2 -X RUN -Q 1 -L 1 40 125 -S 2 -X RUN -Q 1 -L 1 33 300 -S 3 -X RUN -Q 2 -L 1 29 100 -S 3 -X RUN -Q 2 -L 1...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
c2abb820a33634fbd4d2baa8cc40894fd5ffc9db
afea9757be324c8def68955a12be11d71ce6ad35
/willyanealves/customer_service/migrations/0018_remove_customerservice_serviceitem.py
5389c0887e5e5598bfdb43884190c5126c6d8681
[]
no_license
bergpb/willyane-alves
c713cac3ec3a68005f3b8145985693d2477ba706
8b2b9922ba35bf2043f2345228f03d80dbd01098
refs/heads/master
2023-02-10T19:57:50.893172
2021-01-11T16:17:14
2021-01-11T16:17:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# Generated by Django 3.1.2 on 2020-11-16 14:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('customer_service', '0017_auto_20201116_1115'), ] operations = [ migrations.RemoveField( model_name='customerservice', ...
[ "jocsadm@gmail.com" ]
jocsadm@gmail.com
c5764734108e5118eb033f9417b70073be8ac9a0
28541d61368a14a0d5003db4cc07fed21b40c41f
/Chapter-4/maze3.py
2a2bcf9a00c029002b258874bd88cd10f9fc123a
[]
no_license
eizin6389/python_algorithm
390861f9342ce907f2cda0b45b84d364bcba7541
abf3588ed97a343b6559eb5d69156708d42bc243
refs/heads/master
2022-12-06T20:48:49.470312
2020-08-14T13:29:26
2020-08-14T13:29:26
282,905,077
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
maze = [ [9,9,9,9,9,9,9,9,9,9,9,9], [9,0,0,0,9,0,0,0,0,0,0,9], [9,0,9,0,0,0,9,9,0,9,9,9], [9,0,9,9,0,9,0,0,0,9,0,9], [9,0,0,0,9,0,0,9,9,0,9,9], [9,9,9,0,0,9,0,9,0,0,0,9], [9,0,0,0,9,0,9,0,0,9,1,9], [9,0,9,0,0,0,0,9,0,0,9,9], [9,0,0,9,0,9,0,0,9,0,0,9], [9,0,9,0,9,0,9,0,0,9,0,9], [9,0,0,0,0,0,0,9,0,0,0,9], [9,9,9,9,9,9,9...
[ "hide@matsumotohideto-no-MacBook-Pro.local" ]
hide@matsumotohideto-no-MacBook-Pro.local
3eaa1551407f554655a52f1b22c4d721669fa579
3e6e18edfe81bb19e298ae4e1831cb76c2c6069d
/src/lpcshop/models/bottles.py
a4dba719454dd661eebe4d48daada55e5b64e9f8
[]
no_license
libertalia/lpc
2e72de7eee36cd92d62e4d250186bda2353c179a
972343abdcffffc2bec0cac4e2057c91edfa1716
refs/heads/master
2023-01-07T08:13:02.708844
2016-05-13T01:34:57
2016-05-13T01:34:57
58,680,165
0
1
null
2022-12-26T19:59:29
2016-05-12T22:02:24
JavaScript
UTF-8
Python
false
false
2,117
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.utils.translation import ugettext_lazy as _ from django.utils.six.moves.urllib.parse import urljoin from django.utils.encoding import python_2_unicode_compatible from djangocms_text_ckeditor.fields import HTMLField...
[ "jamespic@gmail.com" ]
jamespic@gmail.com
07030cbb64db6488b93f8e7f03c975d1d39c099d
df5cd640098a10e754a9552187fc5ad8c50df90c
/colour/examples/algebra/examples_interpolation.py
4acf509db6a9fd00459d7e4bce455a3a20c6b8ca
[ "BSD-3-Clause" ]
permissive
ofek/colour
d4963c9b77b0d119cf3ef3296dbf5369167472df
04f4863ef49093a93244c1fedafd1d5e2b1b76da
refs/heads/develop
2021-07-08T05:33:14.220392
2017-09-29T22:34:14
2017-09-29T22:34:14
105,406,461
0
0
null
2017-09-30T23:06:18
2017-09-30T23:06:18
null
UTF-8
Python
false
false
3,265
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Showcases interpolation computations. """ import pylab import colour from colour.plotting import * # noqa from colour.utilities.verbose import message_box message_box('Interpolation Computations') message_box(('Comparing "Sprague (1880)" and "Cubic Spline" recommen...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
467775b4bd0bdc529f7af369a772db9776c3f4d4
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/atcoder/corp/dwacon6_a.py
0f60c706492fb0f7e55329255dd53fcbe06cb6d9
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
225
py
N = int(input()) titles, times = [], [] for _ in range(N): s, t = input().split() titles.append(s) times.append(int(t)) idx = titles.index(input()) ans = 0 for i in range(idx+1, N): ans += times[i] print(ans)
[ "premier3next@gmail.com" ]
premier3next@gmail.com
396451adf046ae9a1e9a93d08c731002c02b4a78
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AntMerchantExpandIndirectOnlineModifyResponse.py
deb575d50e426359ce6993ae14225946249fa464
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
805
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AntMerchantExpandIndirectOnlineModifyResponse(AlipayResponse): def __init__(self): super(AntMerchantExpandIndirectOnlineModifyResponse, self).__init__() self._sub_mer...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
4b664002f3b91925204f95cf5afde92db89ca9f4
154e563104144721865a90987db0332bef08a4c3
/rh_aligner/plotting/__init__.py
8187d6023c6db7b60a29f9fbf00456387099c256
[ "MIT" ]
permissive
Rhoana/rh_aligner
565572d645769053c74a36ddf0f53ecc20d997fe
baab698f6520b9b999bccf423dc510b0c8f4b9bb
refs/heads/master
2021-01-01T05:29:25.406459
2016-05-09T15:34:58
2016-05-09T15:34:58
56,165,015
3
3
null
2016-05-05T20:00:26
2016-04-13T15:43:33
Python
UTF-8
Python
false
false
281
py
""" Plotting of the stitching and alignment steps library - to deubg the steps """ from .view_pre_pmcc_mfov import view_pre_pmcc_mfov from .view_post_pmcc_mfov import view_post_pmcc_mfov __all__ = [ 'view_pre_pmcc_mfov', 'view_post_pmcc_mfov' ]
[ "adisuis@seas.harvard.edu" ]
adisuis@seas.harvard.edu
25824908e100267109197ad1c04cca8d349a6f10
8cf0cf9b71b7c5fbaa150e9893bf461ef661045e
/ownblock/ownblock/apps/parking/models.py
84c75498d4e8e94365b81a282ee43d877a925a7d
[ "MIT" ]
permissive
danjac/ownblock
676b27a5aa0d4ce2ac2cd924a632489cd6fc21ee
ac662fb7efb2f04567e2f85638c1250286452611
refs/heads/master
2016-08-02T21:51:56.055598
2015-05-02T12:54:47
2015-05-02T12:54:47
34,940,828
3
0
null
null
null
null
UTF-8
Python
false
false
875
py
from django.conf import settings from django.db import models from django_countries.fields import CountryField class Vehicle(models.Model): description = models.CharField(max_length=100) registration_number = models.CharField(max_length=12) country = CountryField(default="FI") resident = models.Fore...
[ "danjac354@gmail.com" ]
danjac354@gmail.com
fd6eb4ffc23f7389f26fd2d60442434609b29286
5f814192b19721dc9c06e0e9595738b0f8561233
/OCR/east_text_detection.py
f8bee5a5e3d5d1b813617866d1b192837295a2ef
[]
no_license
irischo/civil_translation
7b3c5c58e201f74547d5ae21123fdfd9d4bc5e64
240638a434957ea25cfac262da93fc23e292f6f2
refs/heads/master
2022-11-23T15:32:50.503095
2020-07-29T00:40:06
2020-07-29T00:40:06
283,387,321
0
0
null
2020-07-29T03:21:50
2020-07-29T03:21:49
null
UTF-8
Python
false
false
2,829
py
from imutils.object_detection import non_max_suppression import numpy as np import argparse import time import cv2 # argument parse ap = argparse.ArgumentParser() ap.add_argument('-i', '--image', type=str, help='path to input image') ap.add_argument('-east', '--east', type=str, help='path to input EAST text detector')...
[ "korea7030@naver.com" ]
korea7030@naver.com
564f224574f406c1a966ab5582a316627e5a9ae1
2cfa657fd119a23de2a5c2ae6d55e6d2516bae2d
/test/functional/wallet_keypool_topup.py
1c1aa4fe3a776fdc70d840768a3b9deacdbccf53
[ "MIT" ]
permissive
vivuscoin/vivuscoin
640b10ae3a72c03b501e03b07caae09ce6c87c81
ba0db89712234bf68b2d6b63ef2c420d65c7c25d
refs/heads/master
2023-05-07T06:26:26.241247
2021-05-25T03:54:32
2021-05-25T03:54:32
362,198,076
0
0
null
null
null
null
UTF-8
Python
false
false
3,779
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Copyright (c) 2021 The Vivuscoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test HD Wallet keypool restore function. Two nodes....
[ "support@vivuscoin.com" ]
support@vivuscoin.com
12554a6f358810f3d7bcf732d99807639d1b65bf
22ebdd6881730a9474ede8e8167c615990c4e275
/prob17a.py
e5cae5301008b8a21864cb95ac76154a72222942
[]
no_license
MMohan1/eueler
a96a465b265334b03645f2e2bb66c85395c54e75
05a88f1c9b41fbc3d6bcd95b38b83a6510b3b50a
refs/heads/master
2021-01-18T15:14:35.320214
2015-02-02T11:02:06
2015-02-02T11:02:06
15,935,991
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
def prob17(): list1=[] total_char=0 dict1={0:'',1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine',10:'ten'} dict2={11:'eleven',12:'twelve',13:'thirteen',14:'fourteen',15:'fifteen',16:'sixteen',17:'seventeen',18:'eighteen',19:'nineteen'} dict3={0:'',1:'ten',2:'twenty',3:'thirty',4:'fo...
[ "manmohansharma987@gmail.com" ]
manmohansharma987@gmail.com
dada702324b30a4d4a00d067c7b3c97d8b05129b
b8ef1a5cd3856a8e9134c3313a4e23522f199df7
/Baekjoon/1966_프린터 큐/1966_프린터 큐.py
73d38dbd9d6bdf4902738765108954a7e7151128
[]
no_license
scl2589/Algorithm_problem_solving
910623d9675ae0219320abfd1fefc7d576027544
80db697cdd0180a7d4dbcfae4944d4a54191bddf
refs/heads/master
2023-07-29T10:56:38.225206
2021-09-11T13:50:46
2021-09-11T13:50:46
235,363,353
0
0
null
2021-03-04T15:39:41
2020-01-21T14:36:41
Python
UTF-8
Python
false
false
548
py
from collections import deque tc = int(input()) for _ in range(tc): N, M = map(int, input().split()) impt = list(map(int, input().split())) q = deque() for idx, value in enumerate(impt): q.append([idx, value]) count = 0 while True: max_num = sorted(q, key = lambda x: x[1], ...
[ "chaelinshin96@gmail.com" ]
chaelinshin96@gmail.com
4e6dc77e570b5419eef0fc74fd16710afdfd3235
190d03cf370844548b9e8c89952dfbaec4d0c5c8
/p103.py
467aee99fa0ff340b0a00d481a047ab36a7d0d52
[]
no_license
alainlou/leetcode
446d101a9fd2f9eaa2229252e5909e7df36b4a74
fe500bcb067be59aa048259e3860e9da6f98344d
refs/heads/master
2022-10-16T12:20:44.726963
2022-09-18T15:29:05
2022-09-18T15:29:05
178,775,702
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from DS.TreeNode import TreeNode class Solution: def zigzagLevelOrder(self, root: TreeNode) -> List[List[int]]: if root is None: return [] ans = [] q = [(root, 0)] while len(q) > 0: curr = q.pop(0) if len(ans) <= curr[1]: ans.appen...
[ "az2lou@uwaterloo.ca" ]
az2lou@uwaterloo.ca
5df906375ee0c7d24ede8dd570122ce0cbdd1251
9bdc5bd0b6195761fbceed17c0725bc48a5941a1
/testing/keras_taylor_1D.py
f24a460e11be29c65a55abbe497af20fe014f122
[]
no_license
lapsintra/htt-ml
bc6bbb12eda4a3f0abbc5c0db13940a31b667a08
ce07cad6fcc8625b1595157de6486759b74f6d62
refs/heads/master
2020-04-05T16:29:29.858916
2018-12-04T19:32:10
2018-12-04T19:32:10
157,015,043
0
0
null
2018-11-10T19:38:56
2018-11-10T19:38:56
null
UTF-8
Python
false
false
7,871
py
#!/usr/bin/env python import ROOT ROOT.PyConfig.IgnoreCommandLineOptions = True # disable ROOT internal argument parser import argparse from array import array import yaml import pickle import numpy as np import os import sys import matplotlib as mpl mpl.use('Agg') mpl.rcParams['font.size'] = 16 import matplotlib.p...
[ "stefan.wunsch@student.kit.edu" ]
stefan.wunsch@student.kit.edu
fc07829f755d7e6cdcfbb45f1595dfd39618bdaa
6d69b249a81e076d79787dd08eb8957908052052
/libs/parse/sections/grouper_mixins/blocks.py
154423ab5e2c3ebe6544db079d4af4ebccbedda5
[]
no_license
2vitalik/wiktionary
02ee1f1327c3b82fc7b4d7da12083b1431b1eb8b
8edae2f7dcf9089084c5ce7033c4fb0b454f4dfa
refs/heads/master
2023-02-06T11:28:41.554604
2023-02-05T22:49:01
2023-02-05T22:49:01
121,025,447
7
2
null
2021-10-13T17:36:32
2018-02-10T15:06:24
Lua
UTF-8
Python
false
false
486
py
from libs.parse.groupers.sections.blocks.any_blocks import AnyBlocksGrouper from libs.parse.groupers.sections.blocks.blocks import BlocksGrouper from libs.parse.sections.grouper_mixins.sub_blocks import SubBlocksGroupersMixin from libs.parse.utils.decorators import parsed class BlocksGroupersMixin(SubBlocksGroupersMi...
[ "vitaliy.lyapota@anvileight.com" ]
vitaliy.lyapota@anvileight.com
2e6669b326e3edda7be0bf7c377f290405bcf0c3
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2671/60590/241334.py
25e5fee553d7db62878bfa4165d65ebdfde7331c
[]
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
314
py
def cal(w): if w==1: return 2 if w==2: return 3 elif w==3: return 5 else: w2=2 w3=3 for i in range(w-2): temp=w2+w3 w2=w3 w3=temp return temp t = int(input()) for i in range(t): w=int(input()) print(2**w-cal(w))
[ "1069583789@qq.com" ]
1069583789@qq.com
e1267a54f015e66aaf57df060a0ebb302d36b67e
8d4f26bccc3b016cf45e8270df617cea73d1a741
/utils/transforms.py
4a3b38f5fe3802f8719e83a981a8f9c1740e3a2c
[]
no_license
krylatov-pavel/aibolit-ECG
3b6e4fc8d87ada6a615038c7fb94048570af2d43
27bad875981547ea93ac0088518eb29149078988
refs/heads/master
2022-12-26T05:49:30.827061
2019-08-19T10:47:20
2019-08-19T10:47:20
191,343,111
1
0
null
2022-12-08T05:56:08
2019-06-11T09:53:21
Python
UTF-8
Python
false
false
631
py
import torch from torchvision import transforms def squeeze(x): return torch.squeeze(x, dim=0) def clip_fn(min, max): def clip(x): x = torch.clamp(x, min, max) return x return clip def scale_fn(min, max, a, b): def scale(x): x = ((b - a) * (x - min) / (max - min)) + a ...
[ "krylatov.pavel@gmail.com" ]
krylatov.pavel@gmail.com
8abbdd180f33166add8aa0e2afc8656a3e61eb68
198dd2fd5b2aa27b950bd5844c97a1ebdbd3af17
/dephell/repositories/_local.py
90ceb7d1f9c1045a3bc1c9a026ebe0a9eea2cb71
[ "MIT" ]
permissive
espdev/dephell
68411b20c1830836dcea0eec96a8bd15e95171d5
17d5604e7b443b4d58bffc635a139adb49431efc
refs/heads/master
2020-11-26T01:05:07.580285
2019-12-20T14:29:07
2019-12-20T14:29:07
228,915,765
0
0
MIT
2019-12-18T20:24:21
2019-12-18T20:24:20
null
UTF-8
Python
false
false
4,172
py
# built-in from datetime import datetime from pathlib import Path from typing import Optional, Tuple, Union # app from ..cache import RequirementsCache from ..config import Config from ..constants import FILES from ..models.release import Release from ._warehouse import WarehouseLocalRepo from .base import Interface ...
[ "master_fess@mail.ru" ]
master_fess@mail.ru
635ba9cef3c47552319481c624406b556a3d4b17
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp-obt/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=0/params.py
aff20aa8732740d3ec888ec12ac9538f67a70364
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
{'cpus': 4, 'duration': 30, 'final_util': '3.570619', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'RUN', 'trial': 0, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
81ead41af15f2e458481b49604b4fc00b30f8ecc
9cbd22ce203ab7f40d6e02a7ee2b565461369b45
/bagbankde/items.py
768a82202c55a20a6a785aed852583aebad99500
[]
no_license
hristo-grudev/bagbankde
a506ed6af28db7ad4c609d7fbd922d5a699b64d6
1afcb0454b9e498c4b4eccb233b7d2aa15823513
refs/heads/main
2023-03-26T14:09:08.641400
2021-03-18T14:16:31
2021-03-18T14:16:31
349,100,217
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import scrapy class BagbankdeItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
7d42995cc032265dc1da6c26ba81455cc32bcebd
c60c199410289c1d7ec4aea00833b461e1f08f88
/.history/older-than/older/source-example/day2/user-list.py
a923e529b041db39bfa93f7bc43cb926236f86e4
[]
no_license
ver007/pythonjumpstart
66fb111e6af197fad3e853b2c2d712a1b57a7d59
5b1f52479abd07456e2da494149e491d398f3b7d
refs/heads/master
2021-01-21T01:34:35.501870
2015-05-13T14:10:13
2015-05-13T14:10:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
#!/usr/bin/env python users = [ line.split(':')[0] for line in open('/etc/passwd') if '#' not in line and '!' in line ] users.sort() for (i, n) in enumerate(users): print i, ":", n
[ "ravi@rootcap.in" ]
ravi@rootcap.in
0933da67fd790e5811ce8b580f16a0ab1a3f6a75
32bbbd6dbd100bbb9a2282f69ac3b7b34516347f
/Study/keras/keras44_cifar100_2_cnn.py
88e3f8742ac013b4f6a6c64966e550971666ddae
[]
no_license
kimjh1753/AIA_Academy_Study
2162d4d4f1a6b8ca1870f86d540df45a8742f359
6022718ae7f9e5170a19c4786d096c8042894ead
refs/heads/master
2023-05-07T12:29:12.920693
2021-06-05T01:09:33
2021-06-05T01:09:33
324,136,796
0
0
null
null
null
null
UTF-8
Python
false
false
1,971
py
# 1. 데이터 from tensorflow.keras.datasets import cifar100 (x_train, y_train), (x_test, y_test) = cifar100.load_data() print(x_train.shape, y_train.shape) # (50000, 32, 32, 3) (50000, 1) print(x_test.shape, y_test.shape) # (10000, 32, 32, 3) (10000, 1) x_train = x_train.reshape(x_train.shape[0], x_train.shape[1], x_t...
[ "kimjh1753@naver.com" ]
kimjh1753@naver.com
6c043811b2da3f373efa06bc8156705996b15ee9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adverbs/_never.py
d9002c9003bf7b8c0007df237bda667fddc3bf4d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
#calss header class _NEVER(): def __init__(self,): self.name = "NEVER" self.definitions = [u'not at any time or not on any occasion: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adverbs' def run(self, obj1, obj2): self.jsondata[obj2] = {} self...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6a1e6c2874181f6c5859c830e394359834617163
747f759311d404af31c0f80029e88098193f6269
/extra-addons/training_doc/__init__.py
4cb47ad014a13cc816addb240e952f246358cbea
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
1,097
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. # Jesús Martín <jmartin@zikzakmedia.com> # $Id$ # # ...
[ "geerish@omerp.net" ]
geerish@omerp.net
239de711038d222c388248ee584d39770975bd23
d53bc632503254ca0d5099fe457c02c07212a131
/middleware1/testApp/middleware.py
acbf1c0c7c41b9e5d9f591e64615887737e2f158
[]
no_license
srikar1993/django
ba8428f6e1162cc40f2d034126e7baf29eb62edc
2199d5d94accc7bce5b3fac4a4b7b1444e39b35f
refs/heads/master
2023-07-14T21:10:52.654992
2021-08-26T06:37:04
2021-08-26T06:37:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,950
py
from django.http import HttpResponse class ExecutionFlowMiddleware(object): def __init__(self, get_response): self.get_response = get_response def __call__(self, request): # Pre processing of request print('This line is printed at pre-processing of request...') # Forwarding...
[ "32321399+srikar.madhavapeddy@users.noreply.github.com" ]
32321399+srikar.madhavapeddy@users.noreply.github.com
6d13ea298a8c4814de41ef50e5ca2ebf16d19711
c9b5a2cd00764ee4a0b889b5b602eb28fd08e989
/python/238-Product of Array Except Self.py
600d5102cd52a0453255a55f78ed445ca39932d5
[]
no_license
cwza/leetcode
39799a6730185fa06913e3beebebd3e7b2e5d31a
72136e3487d239f5b37e2d6393e034262a6bf599
refs/heads/master
2023-04-05T16:19:08.243139
2021-04-22T04:46:45
2021-04-22T04:46:45
344,026,209
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
from typing import List class Solution: # def productExceptSelf(self, nums: List[int]) -> List[int]: # "Precompute L, R product, Time: O(n), Space: O(n)" # n = len(nums) # # L[i]: product of nums[0, i-1] # L = [1]*n # for i in range(1, n): # L[i] = L[i-1] * nums[...
[ "cwz0205a@gmail.com" ]
cwz0205a@gmail.com
4c6c5d18a00823a83ef35c263e076351815ec55a
98591a80b7881385dc15a7aee3298aed68efbc32
/MODEL1302010025/model.py
7776531980fb768cf4985182c7a6bdc908a3c3e7
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
biomodels/MODEL1302010025
9f49612839a3c29dd8034bf17a58a6caa3e1a8eb
852113c7356661180c266a701e56dc8bc789a898
refs/heads/master
2020-12-24T14:44:47.764710
2014-10-16T05:57:03
2014-10-16T05:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import os path = os.path.dirname(os.path.realpath(__file__)) sbmlFilePath = os.path.join(path, 'MODEL1302010025.xml') with open(sbmlFilePath,'r') as f: sbmlString = f.read() def module_exists(module_name): try: __import__(module_name) except ImportError: return False else: ret...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
9f281fc9d686425e97b54cdc34eb570c1fe19b42
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02709/s208022099.py
7c3413420f8ed9fc0b8a40a4b007da745e363f1f
[]
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
681
py
from sys import stdin def main(): n = int(stdin.readline()) a = list(map(int, stdin.readline().split())) a2 = [[a[i], i] for i in range(n)] a2.sort(reverse=True) dp = [[0 for _ in range(n + 1)] for _ in range(n + 1)] ans = 0 for i in range(n + 1): for j in range(n + 1 - i): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
40125cfd752c5de08af72a21e324f89b505db21d
2603f28e3dc17ae2409554ee6e1cbd315a28b732
/ABC38/prob_c.py
f33438f7f66d9238ccdeb20f211ec805df4b4225
[]
no_license
steinstadt/AtCoder
69f172280e89f4249e673cae9beab9428e2a4369
cd6c7f577fcf0cb4c57ff184afdc163f7501acf5
refs/heads/master
2020-12-23T12:03:29.124134
2020-11-22T10:47:40
2020-11-22T10:47:40
237,144,420
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
# Problem C - 単調増加 # input N = int(input()) a_list = list(map(int, input().split())) # initialization ans = 0 # shakutori count right = 0 for left in range(N): while (right<N and a_list[right-1]<a_list[right]) or left==right: right += 1 ans += right - left if left==right: right += 1 # ...
[ "steinstadt@keio.jp" ]
steinstadt@keio.jp
12d4e303ec37dc162f5cd4b655c882bf2ae8429b
0b77f11bfb68d465e99fdfcea8bef63013409df8
/reports/views.py
e7046593d76822fccfcdfe0b0bab740325b0bb42
[]
no_license
dbsiavichay/furb
dea1de7d3085bd41a668a6581a4997ff50a58afe
36dea81c23d614bceaf35b38a5861a2ca095ea98
refs/heads/master
2020-06-28T06:05:42.313533
2019-03-14T15:37:20
2019-03-14T15:37:20
74,506,200
0
0
null
null
null
null
UTF-8
Python
false
false
7,486
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.shortcuts import render from django.http import HttpResponse from django.views.generic import ListView, TemplateView from wildlife.models import Animal, Kind from location.models import Parish from django.conf import settings from os.path import isfile, join f...
[ "dbsiavichay@gmail.com" ]
dbsiavichay@gmail.com
53ef131a0b9babc5af8fa15c91c4fca6cc7de93c
69c882c678103b182988fb60d3e898d569980f1c
/Day 4/day4prog4.py
5f6224da0ba42f841f9b5541f0a3d0a63e87733b
[]
no_license
gittygupta/stcet-python
44be9d91cdd6215879d9f04497214819228821be
e77456172746ee76b6e2a901ddb0c3dbe457f82a
refs/heads/master
2022-03-05T11:37:08.720226
2019-12-01T00:56:03
2019-12-01T00:56:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
n=2 while n<1000: flag=1 for i in range (2,n): if n%i==0: flag=0 if flag==1: print(n) n+=1
[ "noreply@github.com" ]
gittygupta.noreply@github.com
3457d5a9fc1cb829b5810e28cb19b670b4a2c408
79f42fd0de70f0fea931af610faeca3205fd54d4
/base_lib/ChartDirector/pythondemo_cgi/finance2.py
d21cccb185021c83f32e480286c061357e3302a6
[ "IJG" ]
permissive
fanwen390922198/ceph_pressure_test
a900a6dc20473ae3ff1241188ed012d22de2eace
b6a5b6d324e935915090e791d9722d921f659b26
refs/heads/main
2021-08-27T16:26:57.500359
2021-06-02T05:18:39
2021-06-02T05:18:39
115,672,998
0
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
#!/usr/bin/python from FinanceChart import * # Create a finance chart demo containing 100 days of data noOfDays = 100 # To compute moving averages starting from the first day, we need to get extra data points before # the first day extraDays = 30 # In this exammple, we use a random number generator utility to simula...
[ "fanwen@sscc.com" ]
fanwen@sscc.com
49982cbda6186d5804468863bfc7a8d00d46ef96
cac155c4a39b902213fe9efe39dbe761afb00a40
/回溯法/leetcode/排列问题/leetcode_46_permute.py
068c120de650f947bde4374dd12e8327b69c7a1c
[]
no_license
songyingxin/python-algorithm
51c8d2fc785ba5bc5c3c98a17dce33cbced8cb99
4b1bebb7d8eb22516119acc921dfc69a72420722
refs/heads/master
2022-06-29T05:04:14.300542
2022-05-22T10:11:34
2022-05-22T10:11:34
164,998,626
331
72
null
null
null
null
UTF-8
Python
false
false
696
py
# permute(nums[0...n-1]) = (取出一个数字) + permute(nums[0...n-1] - 这个数字) class Solution: def permute(self, nums: List[int]) -> List[List[int]]: def backtracking(nums, item): if not nums: result.append(item) return for index...
[ "18310523922@163.com" ]
18310523922@163.com
6f83f7dc50cbc2028bf2c6b1e578b94c2a593cb0
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Quantization/trend_Lag1Trend/cycle_12/ar_/test_artificial_1024_Quantization_Lag1Trend_12__100.py
009dead988ececca3e907ac0f1dc2250b82392ff
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
275
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 12, transform = "Quantization", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
91435fe0101353d14673c598094ce8d75d7b6780
26c019f7dadceaf773cd292d7364582bc2a278d2
/user_app/tests/interactors/raw_inputs.py
0b9d1fcc1eb22362432905c8446daa399ba983be
[]
no_license
DilLip-Chowdary-Codes/Backend_Mini_Projects
289d5213a1c62d5b2ab26397e0d684632b139ad1
f69dc6e9de4d621b782b703f2aa41cd126d8a58b
refs/heads/master
2022-11-12T02:09:36.600636
2020-07-09T15:05:21
2020-07-09T15:05:21
272,417,611
0
0
null
null
null
null
UTF-8
Python
false
false
4,638
py
from user_app.dtos\ import TaskDetailsDto, ProjectDto,\ StateDto, UserDto, ProjectDetailsDto,\ TaskDto, TransitionDetailsDto, ChecklistDetailsDto,\ UpdateTransitionInputDto, ChecklistStatusDto project_data = { "name": "projectManagement", "description": "it's a blaw blaw blaw blaw blaw b...
[ "CoderDil.DilLip@gmail.com" ]
CoderDil.DilLip@gmail.com
8bde39144d8acee2bd36c7ff65890ffec18fda58
f5f781ef988d4fa2868c923597a132018eb14041
/build/ROBOTIS-OP3-msgs/op3_offset_tuner_msgs/cmake/op3_offset_tuner_msgs-genmsg-context.py
9e14c02a4f494952599bc5018c54c563cbb5ddc4
[]
no_license
greenechang/christmann_ws_2019fira
701374a30059ee63faf62cfc8dae8ea783f6c078
a1ba2846fe1326e54366627d8812fa1bf90c70e1
refs/heads/master
2022-11-15T20:55:15.891128
2020-07-15T09:52:17
2020-07-15T09:52:17
279,816,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/robotis/christmann_ws/src/ROBOTIS-OP3-msgs/op3_offset_tuner_msgs/msg/JointOffsetData.msg;/home/robotis/christmann_ws/src/ROBOTIS-OP3-msgs/op3_offset_tuner_msgs/msg/JointOffsetPositionData.msg;/home/robotis/christmann_ws/src/ROBOTIS-OP3-msgs/op3_...
[ "60875012h@ntnu.edu.tw" ]
60875012h@ntnu.edu.tw
92476a49a95a1903850e0fff124bebc181d4136e
32f61223ae8818f64922d69dc8d279428cd568e3
/AlphaTwirl/AlphaTwirl/Loop/NullCollector.py
212e63c87a8b257d129830e32131f74f42176eca
[ "BSD-3-Clause" ]
permissive
eshwen/cutflowirl
959fdead7cc1f58e77e68074a9ee491c3259c6d6
e20372dc3ce276c1db4e684b8e9f1e719b9e8e7d
refs/heads/master
2020-04-05T11:20:49.000726
2017-11-23T16:15:10
2017-11-23T16:15:10
81,349,000
0
0
null
2017-11-23T16:15:11
2017-02-08T16:15:59
Python
UTF-8
Python
false
false
382
py
# Tai Sakuma <tai.sakuma@cern.ch> ##__________________________________________________________________|| class NullCollector(object): def __repr__(self): return '{}()'.format(self.__class__.__name__) def addReader(self, datasetName, reader): pass def collect(self): pass ##_______...
[ "eshwen.bhal@bristol.ac.uk" ]
eshwen.bhal@bristol.ac.uk
ddb052d3917074619f88e5c250e223b616556c1b
906c6abf6721303449a86c842a97193e86f1e88a
/sm/backup/NTCIR-Evaluation/src/GenerateXml.py
30fa4354df107cf7417f11691a505ef644d9dd60
[]
no_license
luochengleo/thuirwork
a5b5bedaa59dd94fde6c58d6c2ddba75fb99d374
2bf230949757401c15dee50249a0fa8aded595ad
refs/heads/master
2020-04-13T12:49:03.752647
2014-08-31T08:37:52
2014-08-31T08:37:52
22,720,301
1
0
null
null
null
null
UTF-8
Python
false
false
2,545
py
#coding=utf8 import xml.etree.ElementTree as ET from xml.etree.ElementTree import Element from collections import defaultdict import sys,csv import codecs from bs4 import BeautifulSoup reload(sys) sys.setdefaultencoding("utf8") def loadcsv(filename): return csv.reader(open(filename)) id2topic = dict() for l in ...
[ "luochengleo@gmail.com" ]
luochengleo@gmail.com
2a8a2fea5ef6b27e5ad95edd93fb19dddb4b601a
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part005222.py
554f9ec93f4279524a546fb6081ae0f1d20c7b74
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
4,004
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
e13db41af418a2896e05121c9e2d591d24eaa882
9b6b3f4b30e9bd8a821d8df16bd71e62b9c6eb98
/day2/data_structs/conversion_4.py
eedfdf0af2d6d721cb076e44d17b34e8eb93b27a
[]
no_license
shobhit-nigam/snape_mar
b7f2155cfcd83482230c339fe45f9ea851061318
b7b33a767cc00d35a22e40c940b4331e4898c8d5
refs/heads/main
2023-03-25T05:44:21.244078
2021-03-26T05:27:28
2021-03-26T05:27:28
350,555,721
1
1
null
null
null
null
UTF-8
Python
false
false
330
py
# sorted avengers = {'captain':'shield', 'ironman':'suit', 'hulk':['smash', 'science'], 'black widow':'energy'} xmen = ['mystique', 'magneto', 'wolverine'] dc = ('wonder woman', 'batman', 'flash') stra = "hello" print(list(stra)) print(sorted(stra)) print(sorted(dc)) print(sorted(xmen)) print(sorted(av...
[ "noreply@github.com" ]
shobhit-nigam.noreply@github.com
f20916f8c9c13c2a31dbcb18a07523b3185ae3d5
aca8fc8c2a2de84e94f120e9ca8b12d152bc7cfa
/tests/test_fields_email.py
b9787d20611a2eea1172b40efdcc788bb790da58
[]
no_license
habibutsu/yadm
de30b364edd40917b2b25457f76cec908f2ffd3d
b3b9f2fdd5987c718b9db600fd7881630bfef944
refs/heads/master
2022-12-14T22:14:57.190430
2019-03-20T15:52:13
2019-04-04T15:52:29
296,621,139
0
0
null
2020-09-18T12:55:49
2020-09-18T12:55:48
null
UTF-8
Python
false
false
417
py
import pytest from yadm.documents import Document from yadm.fields.email import EmailField, InvalidEmail class Doc(Document): e = EmailField() def test_ok(): doc = Doc() doc.e = 'E@mA.iL' assert doc.e == 'e@ma.il' @pytest.mark.parametrize('bad_email', ['EmA.iL', 'E@mA@iL', 'EmAiL@']) def test_er...
[ "zzz.sochi@gmail.com" ]
zzz.sochi@gmail.com
c8e26e30e21138ec04c30db6579b6bd98a620898
55de20ff6a7b3e07cffae42d2d9b24178f65daf3
/dockerhub_show_tags.py
8c0568a7f12d0b05a91faf4c381b10a296ff8bb3
[]
no_license
srjayep/pytools
35f803f1adcc1e93f489475ee12c72ec10161649
c96b752c7d8679e7dde1657914fa56bd9b4f2cfd
refs/heads/master
2020-05-29T08:51:34.003012
2016-10-05T15:09:05
2016-10-05T15:09:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,117
py
#!/usr/bin/env python # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2016-05-10 11:26:49 +0100 (Tue, 10 May 2016) # # https://github.com/harisekhon/pytools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn # and optionally s...
[ "harisekhon@gmail.com" ]
harisekhon@gmail.com
779e7b1fc2bfe837f10a8070b3600f71ae8cdf3a
ece7ba486d29d4bc3e87c2046db2c31140e2d86a
/suitcase/mongo_normalized/tests/tests.py
75f4046965a77899a78b88195844aeadf0dfc188
[]
no_license
ke-zhang-rd/suitcase-mongo
31b97bb13b9e6089248f888a6c33824b835de141
c938bae589ab2fba301814c846c5d5339eb90fb8
refs/heads/master
2020-05-31T10:29:15.458932
2019-10-18T17:33:03
2019-10-18T17:33:03
190,241,607
0
0
null
2019-06-04T16:38:12
2019-06-04T16:38:11
null
UTF-8
Python
false
false
451
py
# Tests should generate (and then clean up) any files they need for testing. No # binary files should be included in the repository. from suitcase.mongo_normalized import Serializer def test_export(db_factory, example_data): documents = example_data() metadatastore_db = db_factory() asset_registry_db = ...
[ "dallan@bnl.gov" ]
dallan@bnl.gov
39ac82b5900d8bff567825bc91b455a0be5074b1
4a7804ee05485c345b4e3c39a0c96ed4012542ac
/system/base/less/actions.py
fd506df396c789af3c5b6f73302212caf721a16d
[]
no_license
Erick-Pardus/Pardus
1fef143c117c62a40e3779c3d09f5fd49b5a6f5c
2693e89d53304a216a8822978e13f646dce9b1d3
refs/heads/master
2020-12-31T02:49:33.189799
2013-03-17T06:29:33
2013-03-17T06:29:33
17,247,989
2
0
null
null
null
null
UTF-8
Python
false
false
741
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005-2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get de...
[ "namso-01@hotmail.it" ]
namso-01@hotmail.it
eda2d7a7d548e568bc5fb77caddeb16bfc3b87a0
861c248aab85784542fab84eeccedda6c90682d9
/msgtracker/apps/collector.py
57d9013ce26b082eb333ef71a105496cc2632ede
[ "MIT" ]
permissive
daleysoftware/msg-tracker
c91cd67e7466c04574c2ed5256a2a0f931dd8647
16edb9d555795d0eec625dd954e14f914cbbbe2b
refs/heads/master
2022-05-16T02:58:44.083469
2017-03-01T23:43:24
2017-03-01T23:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
import sched import time import sys import logging import msgtracker import datetime import signal scheduler = sched.scheduler(time.time, time.sleep) def _collect_and_log_forever(slack_client): """ Collect data from slack API and log in redis. Backend handles logging format. Run forever. """ wait_mi...
[ "matt@aerofs.com" ]
matt@aerofs.com