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
e31f0a49792da7480d81393072646541708a1514
c6b748b9a8536c3ed1dcbc87c9916d35272ffbe1
/ddf_quad/make_ddf_survey.py
856e80227c1e27411b06ad38d4e2fa19b744c65d
[]
no_license
lsst-sims/sims_featureScheduler_runs2.2
2a22b8a3e3de74a5680588c9335639d739ca7b71
535d0d431929e407fcbfc2f57b37cd17d20a3f5f
refs/heads/main
2023-04-19T03:53:18.091875
2023-01-15T01:07:43
2023-01-15T01:07:43
488,745,027
0
1
null
2022-10-06T17:37:46
2022-05-04T21:14:30
Jupyter Notebook
UTF-8
Python
false
false
10,047
py
import numpy as np import matplotlib.pylab as plt from rubin_sim.utils import calcSeason, ddf_locations from rubin_sim.scheduler.utils import scheduled_observation import os import argparse def match_cumulative(cumulative_desired, mask=None, no_duplicate=True): """Generate a schedule that tries to match the desir...
[ "yoachim@uw.edu" ]
yoachim@uw.edu
f2b0d4007c1e9e797a1a2821909bbe73d03c14c6
0eaf0d3f0e96a839f2ef37b92d4db5eddf4b5e02
/abc278/e.py
f377e4a86326c35c588c9ef95f8c59c8cc4ef3f8
[]
no_license
silphire/atcoder
b7b02798a87048757745d99e8564397d1ca20169
f214ef92f13bc5d6b290746d5a94e2faad20d8b0
refs/heads/master
2023-09-03T17:56:30.885166
2023-09-02T14:16:24
2023-09-02T14:16:24
245,110,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
from collections import defaultdict H, W, N, h, w = map(int, input().split()) aa = [ list(map(int, input().split())) for _ in range(H) ] ac = [ [None] * W for _ in range(H) ] for y in range(H): for x in range(W): if x == 0 and y == 0: c = defaultdict(int) elif y == 0: ...
[ "silphire@gmail.com" ]
silphire@gmail.com
e7ca32e325796cf03d15be3bd8a5f88fd41b0015
2b52e32f8ba65202078bde0173eb8e972434d3f8
/Coding_Test/pro_summer/1.py
b0173e76db515d7b87ed9fcfdc1f59aa7f2ad031
[]
no_license
HoeYeon/Algorithm
7167c463922227c0bc82e43940f7290fc1fa16af
0e5ce2a3347d733bbaa894391cbf344fcb5161d6
refs/heads/master
2020-09-08T17:27:56.654485
2020-08-02T08:23:46
2020-08-02T08:23:46
221,195,393
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from collections import Counter def solution(p): for i in range(p+1, 10001): if all([v == 1 for v in Counter(list(str(i))).values()]): return i
[ "shy9546@naver.com" ]
shy9546@naver.com
86e8d71513c67c53c0fd1f60055b32b1e2848705
a347c629adb9113395db13a0d674e4b5e6b9de24
/setup.py
64f6b8b3912fe33b17507a1ed3cb5e861ae4a14d
[ "MIT" ]
permissive
blueshed/liteblue
df543e0af924986742ea43a3a9a550b694e7835e
9c2fd09cc1449631c86cf6cdda745f884dc90dbd
refs/heads/master
2021-06-02T08:10:59.158232
2021-01-05T17:42:56
2021-01-05T17:42:56
254,319,106
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
""" Python install script """ from setuptools import setup, find_packages try: from wheel.bdist_wheel import bdist_wheel as _bdist_wheel class bdist_wheel(_bdist_wheel): def finalize_options(self): _bdist_wheel.finalize_options(self) self.root_is_pure = True except ImportErro...
[ "pete@blueshed.co.uk" ]
pete@blueshed.co.uk
73658190b1edfdacf228bf8e3bd834dfe8cb3ac8
dea035f6b7488568f453f9b2b994f74f689c0a04
/src/python/dxl/learn/graph/dataset_iterator.py
25553dfc6b175e4152323679024be8601480b415
[]
no_license
alex10151/dxlearn
0e5df8a79f21fa07979bb19bddc1bc3d6849a9b0
337146585f8a0be4b848581992e999790d8eaf4c
refs/heads/master
2020-03-26T10:46:07.554263
2018-07-06T08:49:19
2018-07-06T08:49:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
class DatasetIterator(Graph): def __init__(self, dataset, config): self.dataset = dataset def save(self): path = self.config('save')['path'] for _ in range(self.dataset.capacity()): s = ThisSession.run(self.dataset['x_l']) # save s to filesystem
[ "hx.hongxiang@gmail.com" ]
hx.hongxiang@gmail.com
5173257b5068119ab7fa8e05832eef6e80d9d582
987ead1eb0877b9bdea16f3ee50bf19d5fe204bd
/Python/字符串切片.py
2c37cd194d031c535eb3c1ccc07953750edd2931
[]
no_license
ZHX1996/project
da62151e32254848a02292a2f9bdb1db17850d67
5a57be55cf173dde7e5a135a9cf1cfbc9a63a158
refs/heads/master
2021-07-15T11:36:02.412231
2020-05-15T08:51:34
2020-05-15T08:51:34
94,512,901
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
def firstCharUpper(s): return s[0:1].upper()+s[1:] print firstCharUpper('hello') print firstCharUpper('sunday') print firstCharUpper('september')
[ "1365370292@qq.com" ]
1365370292@qq.com
2cf313021349f46dd6f64c340d22ab2e3120c200
1fc90bc175489700c176dcd3c2499118b98c3ede
/setup.py
204df9286e9f1adb07842ded2d99301132681279
[ "MIT" ]
permissive
ekurtglu/pytorch_geometric
1cc3f767276d0db7867cbc67d56be5721d5882a6
76d61eaa9fc8702aa25f29dfaa5134a169d0f1f6
refs/heads/master
2023-06-21T01:44:30.534260
2021-07-21T17:01:42
2021-07-21T17:01:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
from setuptools import setup, find_packages __version__ = '1.7.2' url = 'https://github.com/rusty1s/pytorch_geometric' install_requires = [ 'numpy', 'tqdm', 'scipy', 'networkx', 'python-louvain', 'scikit-learn', 'requests', 'pandas', 'rdflib', 'googledrivedownloader', 'jinj...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
a7de3fb6bddcd55e304a9f3e1973bfa3abfaab51
0337e02c15f18985537587f6c298391f9af077c5
/utilities/XLUties.py
6dba12280760806f5756b2ae0a127641da72309f
[]
no_license
khandepc/Guru99BankProject
9c48c181f720bbce08012ac72a47cbeec581e60b
55bfa560d7ca593cbfb84ede630a19b848f4426b
refs/heads/main
2023-02-06T03:31:13.205028
2020-12-16T06:45:24
2020-12-16T06:45:24
321,257,018
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import openpyxl def get_row_count(file,sheet_name): workbook=openpyxl.load_workbook(file) sheet=workbook[sheet_name] return (sheet.max_row) def get_column_count(file,sheet_name): workbook=openpyxl.load_workbook(file) sheet=workbook[sheet_name] return (sheet.max_column) def read_data(file,s...
[ "khandepc@gmail.com" ]
khandepc@gmail.com
822ee0570e0ae0517a81f6e827185a4eda31518f
56169cc42c21baeb0773a11f9dc2d14bc873e094
/konkursy/03_2004/03_1/kolorki.py
1a5562993848e6d9bc30b12fb439e81d86ba59c9
[]
no_license
PROGRAMMINinGPYTHON/minilogia
cc1842bb1e5a388c6d7c71bb7b8412776c1ed26b
346b97671a72046d45e1736b11ba360a92f32c6f
refs/heads/master
2021-07-09T00:47:11.406056
2021-03-28T11:19:13
2021-03-28T11:19:13
234,959,810
0
0
null
2020-03-21T19:07:48
2020-01-19T20:19:22
Python
UTF-8
Python
false
false
1,163
py
from turtle import* from random import * def KOLORKI(): for i in range(6): trojkat() lt(120) fd(25) rt(240) fd(100) rt(120) global a a = 100 def trojkat(): kolory = ["#111111", "#222222", "#34567a","#cdcdcd","#ab5555","#666666","#777777","#888888","brown","#aaaaa...
[ "59664343+PROGRAMMINinGPYTHON@users.noreply.github.com" ]
59664343+PROGRAMMINinGPYTHON@users.noreply.github.com
d94bac9cbcafc09165ca62283ff363e3b49b3d4f
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/test_hdfs2.py
7754f89e3c901ac14cb102881e8d338442038559
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
1,539
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
8be8bbc8611e450c6e5d5e39091e0bd8dfdcd002
9ee751382146d280c0105981e2e54fa900cb04de
/djblets/extensions/tests/test_base_registry_multi_item_hooks.py
484c713e62c6c5a18ed6a9eccc8ea0c578fe905f
[]
no_license
lmyfzx/djblets
25c3d3fb2478047eede05238b60b6d16598f9131
33b4475cfabe24644335093a028d7d2aabc4ab84
refs/heads/master
2023-02-03T18:20:46.873799
2020-12-22T10:58:35
2020-12-22T10:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,403
py
"""Unit tests for djblets.extensions.hooks.BaseRegistryMultiItemsHook.""" from __future__ import unicode_literals from django.utils import six from djblets.extensions.extension import Extension from djblets.extensions.hooks import (ExtensionHookPoint, BaseRegistryMultiItemHook) ...
[ "christian@beanbaginc.com" ]
christian@beanbaginc.com
8879f9cf58028c6383391835edbce08f1d447aca
83f443f454716d534eff57ef399f86aa9a267b20
/f3_feature/5_reduce_dimension/3D_PCA.py
fa8525eaa01e0859462022e6157fa8267a2b8c9b
[]
no_license
Gilbert-Gb-Li/Artificial-Intelligence
fef400c9e767ba7e348e1f135164da1e13c04592
28247627eab50613c1a5bf67f70e979a0a9eecb2
refs/heads/master
2021-04-23T19:46:19.556837
2020-04-09T08:47:42
2020-04-09T08:47:42
249,986,422
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from sklearn import datasets from sklearn.decomposition import PCA """ PCA 降维 """ print(__doc__) iris = datasets.load_iris() # X = iris.data[:, :2] # we only take the first two features. y = iris.target '''使用PCA降维''' X_reduced = PC...
[ "gb.l@foxmail.com" ]
gb.l@foxmail.com
b1f487e2c59701995e0fbc7b43d0976ae4221e72
201b316113ec23b67459ec881aefd05cbea11393
/bin/tfsammon
97dd34e8c7ada60611a5da691535231e208c6f07
[ "MIT" ]
permissive
vishalbelsare/TFNumPy
abb3ea6d692c09c13cdb176c8e5b4d96ebf7f2cf
577838cb6781207d561e389e9cd02aba02c25a1b
refs/heads/master
2021-06-13T13:03:13.733326
2020-01-16T23:02:49
2020-01-16T23:02:49
169,480,219
0
0
MIT
2021-04-04T18:12:47
2019-02-06T21:33:07
Python
UTF-8
Python
false
false
1,489
#!/usr/bin/env python import argparse def get_argparser(): parser = argparse.ArgumentParser(description='Sammon embedding') parser.add_argument('input_filename', help='input file for embedding') parser.add_argument('output_filename', help='output file') parser.add_argument('--plot_filename', default='...
[ "stephenhky@yahoo.com.hk" ]
stephenhky@yahoo.com.hk
075a5375576a2a308d68a9428e5bb1001a477b41
5c24dfc11c855fa0e4f196bc2e38661842761ab8
/backend/Resources/RulesDerivation/Popular_NonPopula_Classification/getmovielist.py
334d2a2455266206f1feff37ed8962726540028b
[]
no_license
CharlesRajendran/go-viral
2ad7bbdaf1b7d9dbfa0330012dba2740dbe10952
05ced94ac1b97df965232f3c44e341a980e58b3c
refs/heads/master
2020-03-20T01:58:58.616333
2018-06-12T17:32:05
2018-06-12T17:32:05
137,095,620
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
review_ids = [] #read_file('data/test/urls_neg.txt') def read_file(file): ids = [] file_handler = open(file,'r') document_lines = list(set(file_handler.readlines())) file_handler.close() for line in document_lines: ids.append(line.split('/')[4]) return ids def return_ids(): ...
[ "charlesrajendran44@gmail.com" ]
charlesrajendran44@gmail.com
328fb1f4b4f92e5b3b38754fd14c0d1d2e191d5b
611918a62e4864ba6e7382a8f0860dd5371596b3
/oop/inheritancel.py
dd01fb24f7332790da6511e0ee8465335dfcb7cf
[]
no_license
Manash-git/Python-Programming
051bacdd5f307f3fabeee1e0b025ad5e28a5b0f4
acf7aa3445cc6b2719d14480338e088e20059a49
refs/heads/master
2022-11-26T17:56:24.017647
2020-08-01T08:06:48
2020-08-01T08:06:48
275,854,271
2
0
null
null
null
null
UTF-8
Python
false
false
271
py
# inheritance class Animal: def whoAmI(self): print("I am Animal") class Dog(Animal): def bark(self): print("Barking") # method overriding def whoAmI(self): print("I am a dog") tom= Dog() tom.bark() tom.whoAmI()
[ "emailatmanash@gmail.com" ]
emailatmanash@gmail.com
6638a978979e4ea5bf2dabb49a15ef853f37f83a
1e4c3ea6fadfd2bcffe900a784009e59c9e33202
/_Serato/__init__.py
13dd8fecaeea3d91e88523da8eacfe24a43ef738
[]
no_license
mjimserra/AbletonLive9_RemoteScripts
e762e0c761f0af88fc1b9a8b42ef4dec2df02f72
d08eb29fbf1ac4d12f73841023375059de5ba29a
refs/heads/master
2021-05-27T21:34:04.962364
2014-08-03T22:49:15
2014-08-03T22:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
#Embedded file name: /Users/versonator/Jenkins/live/Binary/Core_Release_static/midi-remote-scripts/_Serato/__init__.py from Serato import Serato def create_instance(c_instance): """ Creates and returns the Serato script """ return Serato(c_instance)
[ "julien@julienbayle.net" ]
julien@julienbayle.net
5a00d42b11fa5646459af0a0c0ad768e5c712f94
36883f51a34616a994e4da3dd931d97c1664c2ae
/SAA2SOL.py
ffc8955a5c3bc314ccdc0329687783c66940a795
[]
no_license
SanjuktaBhatt/G11_C12
5eaad6c5edbadf4601b14438bcf9aabddb95a43b
1f50694d1fc54eb42a02f4e2d0051bca1d80a1e7
refs/heads/main
2023-07-16T23:32:31.661034
2021-08-26T01:24:39
2021-08-26T01:24:39
398,786,501
0
0
null
null
null
null
UTF-8
Python
false
false
3,672
py
import pygame import random #Import time module import time pygame.init() size = (350, 400) screen = pygame.display.set_mode(size) carx=60 cary=340 #Create variables car2x=130 car2y=200 threshold=0 roadx=-10 roady=0 threshold=0 #Create a counter variable counter=0 x_choice=[150,200] x=random.choice(x_choice) y=rando...
[ "noreply@github.com" ]
SanjuktaBhatt.noreply@github.com
c293e3aea55f7e65ac56c05e6afa488541ad9be5
3d8027f2ef3f723e13b31e056d0c03da4ed74aa8
/05-09-2020(Day12)/myProject/myApp/migrations/0002_library_book_image.py
467365b75b942eb5ea290e5b8b30e3caa25b9298
[]
no_license
satyavani462/Django-Batch5
2efbc99223008954896667dee46d2606b6559c82
1b975bc21e7fdeed11bef7505d22d4fed126656c
refs/heads/master
2022-12-08T19:57:33.996903
2020-09-10T14:23:15
2020-09-10T14:23:15
294,688,262
1
0
null
2020-09-11T12:22:16
2020-09-11T12:22:15
null
UTF-8
Python
false
false
397
py
# Generated by Django 3.0.8 on 2020-09-07 06:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myApp', '0001_initial'), ] operations = [ migrations.AddField( model_name='library', name='Book_Image', ...
[ "nivas0803@gmail.com" ]
nivas0803@gmail.com
0dc24278ad746d332dd7949408d4e2ca6a6d38d1
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/client/gui/scaleform/daapi/view/metaclanprofilesummaryviewmeta.py
ea71fb5feb7e960b413c18e4b6b3ed70488be536
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/ClanProfileSummaryViewMeta.py from gui.Scaleform.daapi.view.lobby.clans.profile.ClanProfileBaseView import ClanProfileBaseView class ClanProfileSummaryViewMeta(ClanProfileBaseView): """ DO NOT MODIFY! Generated with yaml. __author__ = '...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
427be73520bf1bdfba4fd92b3a6f48892c90ce8c
b3d1b2c2d6dd8b555c9d09fcffd81eb576ca8bef
/day21/part1.py
e952304813e3579aa779ab6acd4e6914e7d13a6d
[]
no_license
grey-area/advent-of-code-2018
f4936d390b748a7e74adafe5443ffb3245162eab
e66f3abfb8a594db5eb75a02a3952433b7085a4b
refs/heads/master
2020-04-09T03:53:26.263038
2018-12-29T23:26:01
2018-12-29T23:26:01
160,001,322
3
2
null
null
null
null
UTF-8
Python
false
false
157
py
from machine import Machine machine = Machine() while True: machine.step() if machine.ip == 28: print(machine.registers[2]) break
[ "andrew@awebb.info" ]
andrew@awebb.info
6028c3766a746f64324ecb3a83ca8d3fec0bfae4
bc3bd7601fa427d638f872b4ddfdebe4ce23a25c
/bitbucketopenapi/models/pipeline_step_state_in_progress.py
c817140dc867a60dfaab5e57fb0c183a042c68de
[]
no_license
magmax/bitbucket-openapi
59ef55ab3aa42940c8211d3ecd16ef7d6fc74c21
836ae762735ae5b1ececcee5287fa271d7d8de5b
refs/heads/master
2020-07-28T16:10:32.736169
2019-09-19T04:17:09
2019-09-19T04:17:09
209,460,884
3
0
null
null
null
null
UTF-8
Python
false
false
4,283
py
# coding: utf-8 """ Bitbucket API Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework. # noqa: E501 The version of the OpenAPI document: 2.0 Con...
[ "miguelangel.garcia@gmail.com" ]
miguelangel.garcia@gmail.com
6482f32861d45849647cf7618b4a546438e7d88b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04031/s507193047.py
8886f5f2317e131ad1f1ca516619e3f64648e36d
[]
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
201
py
num = int(input()) l = list(map(int,input().split())) min = 1000000 for n in range(-100,101): sum = 0 for i in l: if n !=i: sum += (i-n)*(i-n) if min > sum: min = sum print(min)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5aeb3cdb374b6043542626ac53ba7f20fa2e9b6a
840b98f14f181f7dbd693f2ee4b3c46e5be59305
/demos/demo_pycloudmessenger/POM5/preprocessing/pom5_natural_language_processing.py
954af1b79b3dea9c3091de0280908699c48d2504
[ "Apache-2.0" ]
permissive
Musketeer-H2020/MMLL-Robust
4ef6b2ff5dff18d4d2b2a403a89d9455ba861e2b
ccc0a7674a04ae0d00bedc38893b33184c5f68c6
refs/heads/main
2023-09-01T18:47:46.065297
2021-09-28T15:34:12
2021-09-28T15:34:12
386,264,004
0
0
null
null
null
null
UTF-8
Python
false
false
7,496
py
# -*- coding: utf-8 -*- ''' @author: Angel Navia Vázquez Dec. 2020 Demo on Natural Language Processing python3 pom5_natural_language_processing.py --dataset 20news_bow_bin --verbose 1 ''' import argparse import time import json import sys, os import numpy as np import codecs import random # Add highe...
[ "rober.diaz@gmail.com" ]
rober.diaz@gmail.com
ce96436f1f05a002dc2d4a5d9839db6ebe0a20a7
c3e2f56672e01590dc7dc7e184f30c2884ce5d3a
/Programs/MyPythonXII/Unit2/PyChap03/LabA_20.py
7b4d8bc682359772a4fb05db8c92251e4da97e43
[]
no_license
mridulrb/Basic-Python-Examples-for-Beginners
ef47e830f3cc21cee203de2a7720c7b34690e3e1
86b0c488de4b23b34f7424f25097afe1874222bd
refs/heads/main
2023-01-04T09:38:35.444130
2020-10-18T15:59:29
2020-10-18T15:59:29
305,129,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
# File name: ...\\MyPythonXII\Unit2\PyChap03\LabA_20.py # Person base class or super class class Person: def __init__(self, name, age, psex): self.pname = name self.paga = age self.psex = psex def Person_inputData(self): print ("Person's information....") print ("========...
[ "mridurb@gmail.com" ]
mridurb@gmail.com
4325141fd1c8dcf180b1f92764116f3c3a9761c3
7d52875ec71c75f285dc135142222701b19f852e
/CashCard/CashCard_user.py
a6e06ab8fe8462bbb085473f83d2d106921dee39
[]
no_license
SangsuBak/16PFBSangsuBak
684c812445d215b944d136109eb095d485d44eb0
fdf9b023d35b7abd4e2ef195662ae46251a94968
refs/heads/master
2021-01-18T21:51:24.999553
2016-06-04T03:59:14
2016-06-04T03:59:14
54,003,990
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
# -*- coding: utf8 -*- # 현금 카드 모듈을 불러 들임 import CashCard as CashCard_module def chk_bal(message, account): """ Print message and value :param message: :param account: :return: """ print("%s : %d" % (message, account.check_balance())) # 현금 카드 모듈의 잔액 확인 chk_bal("CashCard_module 잔액 확인", Ca...
[ "CAD Client" ]
CAD Client
5f73b08b55ef1a531b4ee4588326ad9bb7fe57d7
0a723a6655fb1bbf4510deb1c48c29ec813ba944
/app/user/fields.py
40b7c8e3a12762cf58c20f4baa69f0d6d9b8b628
[]
no_license
Miaoza/FlaskRestful-SqlAlchemy
fb467a102b355b643e5cc5311db0f2bacba34aca
9b78acbbd2a0a0f6e957cbd66c49048dd3cc8e86
refs/heads/master
2023-02-04T17:27:25.024489
2020-12-07T07:06:08
2020-12-07T07:06:08
124,174,418
0
0
null
2023-02-02T03:44:55
2018-03-07T03:36:57
Python
UTF-8
Python
false
false
1,578
py
# -*- coding: utf-8 -*- # @Author: Nianko <nianko> # @Date: 2018-03-15T12:14:06+08:00 # @Last modified by: nianko # @Last modified time: 2018-03-15T12:25:52+08:00 from flask_restful import fields,reqparse list_parser = reqparse.RequestParser() list_parser.add_argument('limit', type=unicode, required=True) list_p...
[ "you@example.com" ]
you@example.com
f4fdb4ea5b211d864150993f55a1fac94594a917
a0c00de0b858afec162817eb18644e15a43aa132
/phonological_bootstrapping/clustering/lda.py
94b4cce896ea6be0ad0d4a86fe2f011b13332061
[]
no_license
GiovanniCassani/discriminative_learning
2babb522e6ef1f8045cf4920f120841cc143eead
6336ae084317178c4552afedb6f2363fa464c3b2
refs/heads/master
2021-03-30T16:42:44.730328
2018-07-10T11:38:34
2018-07-10T11:38:34
117,959,145
0
0
null
null
null
null
UTF-8
Python
false
false
13,072
py
__author__ = 'GCassani' import operator import numpy as np from collections import Counter from matrix.matrix import group_outcomes import phonological_bootstrapping.clustering.similarities as sim from sklearn.discriminant_analysis import LinearDiscriminantAnalysis def _fit_k(matrix, targets, how_many=100): """...
[ "cassani.giovanni@gmail.com" ]
cassani.giovanni@gmail.com
735464306f6725213d831a4fb0585a42dd8a20cb
ed0dd577f03a804cdc274f6c7558fafaac574dff
/python/pyre/geometry/solids/Sphere.py
e34f12dddb635aeb3b5a5e7a14caa530cc0c9c23
[ "Apache-2.0" ]
permissive
leandromoreira/vmaf
fd26e2859136126ecc8e9feeebe38a51d14db3de
a4cf599444701ea168f966162194f608b4e68697
refs/heads/master
2021-01-19T03:43:15.677322
2016-10-08T18:02:22
2016-10-08T18:02:22
70,248,500
3
0
null
2016-10-07T13:21:28
2016-10-07T13:21:27
null
UTF-8
Python
false
false
835
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~...
[ "zli@netflix.com" ]
zli@netflix.com
a2549dc50a309f89d85425cc0961e6ee02eb5d3c
656def2ca5c0bd959b31b98cdbc53fea3420b2dc
/Python3.7-VideoComposition/src/tencentcloud/tdmq/v20200217/errorcodes.py
235395b9fb77fd530b037816f3e6f2b8fa640156
[]
no_license
tencentyun/serverless-demo
120271b96f8f960b6125c9d1481a5d8fe56165ae
4c324bb186c460fe78252f0ca5c28132a8bce6c9
refs/heads/master
2023-08-25T17:07:04.959745
2023-08-25T08:10:49
2023-08-25T08:10:49
281,120,881
94
119
null
2023-08-31T06:34:36
2020-07-20T13:15:46
null
UTF-8
Python
false
false
9,004
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
[ "colorguitar@hotmail.com" ]
colorguitar@hotmail.com
9e90e041a07fd7ea82952860f8d90e9cfa056966
017dcb646faec4674fb00e0fa1a160aade1da1dd
/hello_bot/tests/test_bots.py
808fa30747f9a4fa8788ee1ad1d56d349e152fd1
[]
no_license
acriptis/dj_bot
3acc1bd528e0cce1b94d36f740a4b5cb7345308b
7a0bc78ca03ee8ca1202e8ad2a6860444f0ce75d
refs/heads/master
2021-06-12T02:26:13.192423
2019-07-08T15:03:40
2019-07-08T15:03:40
154,290,739
3
0
null
2021-06-10T21:16:33
2018-10-23T08:24:41
Python
UTF-8
Python
false
false
11,049
py
# -*- coding: utf-8 -*- import unittest ################# Universal Import ################################################### import sys import os SELF_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(SELF_DIR) PREROOT_DIR = os.path.dirname(ROOT_DIR) print(ROOT_DIR) sys.path.append(ROOT_DIR)...
[ "acriptis@gmail.com" ]
acriptis@gmail.com
507db922cbc6ee2e1fb1ba6b2886bb0e6d5a793e
a7c79b5ae80abeac7396a9296b7a2ad13ee8de63
/057_BiSeNetV2/01_cityscapes/01_float32/10_tensorrt_inf_test.py
21f22cca876eb0b8d71fe963f1098b3dcb458c7a
[ "MIT" ]
permissive
ann2183/PINTO_model_zoo
d4849fadf82a311f4db29cd5511b459fab8e5b9b
8b13ec1b9811a887eff21d1815d984358bc657f0
refs/heads/main
2023-08-22T06:48:30.871026
2021-10-06T17:11:23
2021-10-06T17:11:23
415,259,192
1
0
MIT
2021-10-09T09:11:53
2021-10-09T09:11:52
null
UTF-8
Python
false
false
4,721
py
### tensorflow==2.3.0 ### https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/6.0/GA_6.0.1.5/local_repos/nv-tensorrt-repo-ubuntu1804-cuda10.1-trt6.0.1.5-ga-20190913_1-1_amd64.deb # os="ubuntu1804" # tag="cuda10.1-trt6.0.1.5-ga-20190913" # sudo dpkg -i nv-tensorrt-repo-${os}-${tag}_1-1_amd64.deb # su...
[ "rmsdh122@yahoo.co.jp" ]
rmsdh122@yahoo.co.jp
e183a82369551a7417d580fd1b6e1961a0d7b535
b33915245c5e70da69880eeddd121f6a51d8cb8a
/cattime/wsgi.py
3f6a673de9cd566e801165a28ed3527b6ae42b35
[]
no_license
wgoode3/django-demo
48406cf8c8bdc53490e1d8d2e0eeef26e30ff2a5
0e87a1e614a63375f6b84ca9bc5a2d9205574c94
refs/heads/master
2020-12-31T10:30:35.093859
2020-02-07T18:56:47
2020-02-07T18:56:47
239,001,557
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for cattime project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "wgoode3@gmail.com" ]
wgoode3@gmail.com
38becf7851c827b58c5471bcdc0de0388e52e597
0754e2e7aa1ffb90b54d563ce5a9317e41cfebf9
/keras/keras89_load_weight.py
2cecd3a7418a4eb9604b9f55b375724642a99e19
[]
no_license
ChaeMyungSeock/Study
62dcf4b13696b1f483c816af576ea8883c57e531
6f726a6ecb43387e4a3b9d068a9c491b115c74c0
refs/heads/master
2023-01-24T20:59:52.053394
2020-12-07T14:54:34
2020-12-07T14:54:34
263,255,793
2
3
null
null
null
null
UTF-8
Python
false
false
2,592
py
# keras85 복붙! import numpy as np import matplotlib.pyplot as plt from keras.utils import np_utils from keras.datasets import mnist (x_train, y_train), (x_test, y_test) = mnist.load_data() print(x_train.shape) # (60000, 28, 28) batch_size = 60000 28 * 28 이미지 print(x_test.shape) # (10000, 28, 28) b...
[ "noreply@github.com" ]
ChaeMyungSeock.noreply@github.com
36b0716222746105327bec27fe5e356740012798
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_213/42.py
02161d4cd8ea85f29a77dd84825b47063517da90
[]
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
1,213
py
from pprint import pprint for nb in range(int(input())): #n=int(input()) n,c,m=[int(i) for i in input().split()] #l=[int(i) for i in input().split()] data=[[int(i) for i in input().split()] for _ in range(m)] l=[p for p,i in data] l.sort() #pprint(l) min_coster=max((-(-(i+1)//l[i]))for...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
15b411640c0455644df18c6943633b9659c5514b
b411e1c8b7fbbb8f747c48093bee75f9c4abfe49
/lectures-11-19.py
28e9b4c0be46d2f02f73e81c6d895996f729629a
[]
no_license
ilmoi/cs61a
4903c80b11cf680c5d9b19e3889ae8ed81e15ac8
f79c80d812afb9828aca818873ba45e20252a276
refs/heads/master
2022-07-18T06:59:56.693231
2020-05-18T17:51:34
2020-05-18T17:51:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,576
py
import operator def factors(n): """Finds out the factors of n.""" i = 1 total = 0 while i <= n: if n % i == 0: total += 1 i += 1 return total print(factors(28)) def sqrt_factors(n): """Same as above but we're more efficient since we figured out that each factor ...
[ "iljamoisejevs@gmail.com" ]
iljamoisejevs@gmail.com
a90823ada36bd4211999dff1eeda1c42ad32350c
67553d46a257631810f394908013b82c337e0fbd
/goat/chapter19/19.4/pygal_line_test.py
81a86c6d037916442b285c9594bbd4954c7cbdc3
[]
no_license
bopopescu/goat-python
3f9d79eb1a9c2733345d699c98d82f91968ca5fa
c139488e2b5286033954df50ae1ca834144446f5
refs/heads/master
2022-11-21T11:25:27.921210
2020-03-06T01:02:57
2020-03-06T01:02:57
281,066,748
0
0
null
2020-07-20T09:00:08
2020-07-20T09:00:08
null
UTF-8
Python
false
false
791
py
# coding: utf-8 import pygal x_data = ['2011', '2012', '2013', '2014', '2015', '2016', '2017'] # 构造数据 y_data = [58000, 60200, 63000, 71000, 84000, 90500, 107000] y_data2 = [52000, 54200, 51500,58300, 56800, 59500, 62700] # 创建pygal.Line对象(折线图) line = pygal.Line() # 添加两组代表折线的数据 line.add('疯狂Java讲义', y_data) line.add('疯狂...
[ "34465021+jwfl724168@users.noreply.github.com" ]
34465021+jwfl724168@users.noreply.github.com
f1537a11bf1b8450003557de4e1fdb268a899c67
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03231/s837441693.py
ea45cd86bb0d0dd6d5417da539e8eddf8b512d1e
[]
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
907
py
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_uppercase...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2509aea138caf421a788d7247c0880712345b67a
fdb3932eeea1eb3105d119e1662ea04c16aed414
/tests/distributed/helpers.py
9f0600f8ea03494bc94173bb75d0d5cf3b7fc4b4
[ "Apache-2.0" ]
permissive
deepampatel/jina
ec042cde7a4898401ec3f3d1a996cdb5e8a4a1dd
97f9e97a4a678a28bdeacbc7346eaf7bbd2aeb89
refs/heads/master
2023-03-14T10:57:19.806891
2021-02-13T23:12:49
2021-02-13T23:12:49
321,354,722
2
0
Apache-2.0
2021-03-13T02:39:27
2020-12-14T13:23:10
Python
UTF-8
Python
false
false
3,727
py
from contextlib import ExitStack from pathlib import Path from typing import List, Optional, Dict import requests def assert_request(method: str, url: str, payload: Optional[Dict] = None, expect_rcode: int = 200): try: if payload: respo...
[ "noreply@github.com" ]
deepampatel.noreply@github.com
b9131e50ee1652cf47204d1b870d46eb536a811f
8fde0bf2aca1f0f9d5e2dfe134b65ccb182443a5
/ios/testcase/test_home.py
17ac1412f3864c5808a55a35f1b98af0b66e942a
[]
no_license
Hanlen520/app
bd230452021283d8875abb5e3920dfea1999e6ed
3692fd01c9aa4caddb5d67922016c37340bb7cff
refs/heads/master
2023-03-19T21:00:51.963664
2020-10-19T07:56:12
2020-10-19T07:56:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Author : xinxi @Time : 2018/12/5 18:34 @describe: 测试首页 """ import pytest,time,allure,sys reload(sys) sys.setdefaultencoding("utf-8") from tools.loggers import JFMlogging logger = JFMlogging().getloger() from config import * @allure.feature("测试首页") @pytest.mark.us...
[ "xinxi@luojilab.com" ]
xinxi@luojilab.com
d77801ae4df1f9f3e9d705ac8316b15a3b1dd42c
3e4809ea4dec500dc3fc3d72d24ab6f7a682532e
/branch/exceptions.py
da9e65bc0b1b9d0fa0cc76aa4b00f776c391e48e
[]
no_license
caioaraujo/bakery_payments
e4c86d8390b07427d0eba8e07f6ca7c7640baab5
d1c546ef4b0bd81b7028abac17e3dc2272e32939
refs/heads/master
2021-01-20T09:29:10.544244
2017-08-29T01:44:49
2017-08-29T01:44:49
101,596,092
3
0
null
null
null
null
UTF-8
Python
false
false
359
py
class LargeNameException(Exception): def __init__(self, message=None, errors=None): super(LargeNameException, self).__init__(message) self.errors = errors class RequiredValueException(Exception): def __init__(self, message=None, errors=None): super(RequiredValueException, self).__init_...
[ "c.felipe.araujo@gmail.com" ]
c.felipe.araujo@gmail.com
f14a1b985a131bcbec6a5fe0584024337f64b8ce
21db367ef6620cb73bc0b1e667debd6f92b557e5
/markov.py
c2b4736badbce98b9a95fbeda0bbf0fd32338544
[]
no_license
melissa3000/Markov-Chains_part2
9b5e4001c34ee8e11651994d09988852f2047cbe
fa93642b252f2f4a1a1d49decf72768c66453a6c
refs/heads/master
2021-01-12T00:14:41.953611
2017-01-12T00:03:25
2017-01-12T00:03:25
78,691,449
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
from random import choice from sys import argv def open_and_read_file(file_path): """Takes file path as string; returns text as string. Takes a string that is a file path, opens the file, and turns the file's contents as one string of text. """ full_text = open(file_path).read() #print full_...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
e1c85a6d79f93d98e90c19d3b6e95981c3c94391
2ae81f73ee0f8aa386759eabe3c3fbc82baa125d
/python3_programs/test_server.py
0579ab0d438f1257383d3500aca7a6d4a0ff4d0d
[]
no_license
daemonic-ctrl/misc
916415b886e34d2ffeb1cde6769e182623800418
383c595773a6a2637f2a59418b9c250c4d7d94af
refs/heads/master
2020-06-07T10:16:11.020171
2019-06-21T15:45:18
2019-06-21T15:45:18
192,996,998
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
import socket target_host = str(input('Enter Host: ')) target_port = int(input('Enter port: ')) client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect((target_host, target_port)) while True: info = input('Enter Message: ') infomo = info.encode() client.send(infomo) response = c...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8545752d590db27a8a01c740b76e5f88e6840ed1
6a9f6e6527afb38611a5c695e5845e492d7676ff
/100.same-tree.py
2ca58f3727a8ae20129dee440f2515bcc61cc02d
[]
no_license
Junyangz/leetcode
39913d48778d369f9f0a96070352d63b207e7df6
5de48fbdcb61ce8a437255a119a4a3ae242ede52
refs/heads/master
2020-06-09T08:57:26.361138
2019-11-14T08:38:07
2019-11-14T08:38:07
193,413,271
0
0
null
null
null
null
UTF-8
Python
false
false
1,457
py
# # @lc app=leetcode id=100 lang=python3 # # [100] Same Tree # # https://leetcode.com/problems/same-tree/description/ # # algorithms # Easy (50.49%) # Likes: 1302 # Dislikes: 43 # Total Accepted: 417.2K # Total Submissions: 822.3K # Testcase Example: '[1,2,3]\n[1,2,3]' # # Given two binary trees, write a functio...
[ "junyangz.iie@gmail.com" ]
junyangz.iie@gmail.com
66fafec08dcb3d5f13c264be24ce10425dc75f79
ef876c741c2f15aff920eabf753858c8428a1a30
/migrations/versions/b527827b7376_.py
9b3f9b0993c545e83d8e8a374a3985ca26c628f0
[ "MIT" ]
permissive
tomy0000000/Heartbeat
0e7786c248525f793de39e45081a68b8ade0f8bf
a88c52396a08adcf50b65c5d17dea552fae50dc4
refs/heads/master
2022-12-17T12:36:19.609945
2021-03-30T05:03:13
2021-03-30T05:03:13
207,475,680
2
0
MIT
2022-12-08T01:49:47
2019-09-10T05:51:06
Python
UTF-8
Python
false
false
1,438
py
"""empty message Revision ID: b527827b7376 Revises: Create Date: 2019-08-19 01:40:28.484492 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'b527827b7376' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "tomy0000000@gmail.com" ]
tomy0000000@gmail.com
bd2df9a28ff29bca4dd57f73551862aa9b8b5479
6e777040a37d2698f2fd0bf34168774ffd9f0569
/api/serializers.py
c449f88f9ff0ce0b08b3b9b5295163c9bd45b539
[]
permissive
informatorio2020com07/grupo3
557054bf2b517c19dab77c7cc81e233162097756
f3c11c39008cd35ab5004a5b7599cfdaadd2fd6b
refs/heads/master
2022-12-26T08:07:32.782672
2020-10-05T02:56:12
2020-10-05T02:56:12
292,655,897
1
2
MIT
2020-09-26T00:19:25
2020-09-03T19:00:21
CSS
UTF-8
Python
false
false
1,281
py
from rest_framework import serializers from myapps.cuentas.models import Pais, Provincia, Localidad # class DomicilioSerializer(serializers.HyperlinkedModelSerializer): # """ # Serialize the user data. # """ # # localidad = LocalidadSerializer(many=True) # # socials = MediasSerializer(many=True)...
[ "davidemanuelsandoval@gmail.com" ]
davidemanuelsandoval@gmail.com
2131f97f3e34204dc1adf0eee87a680ff90d627c
ce5d6959b57397b770c76bf55a903066176c9847
/mnogestvo.py
2b798fd3cf155302cf912f7fd83e2ceb05079929
[]
no_license
isakura313/third_project
ac1d6fa6b1d57ca80fb6179747c704a155ce3ee7
112332d3d0406ac9f80741e1085f8488f135bd93
refs/heads/master
2023-03-16T20:06:51.150483
2021-03-10T06:31:19
2021-03-10T06:31:19
346,256,126
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
mnog_ino = {'bmw', 'audi', 'citroen', 'logan'} mnog_otech = {'jigul', 'oka', 'granta', 'logan'} autopark = mnog_ino | mnog_otech print(autopark)
[ "isakura313@gmail.com" ]
isakura313@gmail.com
1ece96852634b5f1565233cc3b125ed1aa787d02
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_lyric.py
f9280457ceac26308f2717d29b48f90c69833315
[ "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
416
py
#calss header class _LYRIC(): def __init__(self,): self.name = "LYRIC" self.definitions = [u'the words of a song, especially a pop song: ', u'a short poem that expresses the personal thoughts and feelings of the person who wrote it'] self.parents = [] self.childen = [] self.properties = [] self.jsondat...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
35f981ea2aa8f41271f60cc8825d144c35f1b1e2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03206/s432597252.py
2694c4b51ecf3bcad0a96db1fa34f58669caba30
[]
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
158
py
def solve(): n = int(input()) s = ["Christmas Eve Eve Eve", "Christmas Eve Eve", "Christmas Eve", "Christmas"] m = n - 22 print(s[m]) solve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
79a29e0f1b8b2b3cba0f6162cacf2420a8fe746d
4137eafba7a1983d4bbeeeed6c7ac596f37948d1
/5p1s3e/bhb.py
e29af7b34b2e435d17fa1863fa335a671f1a8127
[]
no_license
andycasey/skymapper-bhb
3ba19a3d03c3cd032e4129c2418aa144f33c93c1
3ddd8f09b81cc50db160bf8399eb8a6d5f7a58cf
refs/heads/master
2020-05-25T10:48:48.665917
2015-06-13T08:20:58
2015-06-13T08:20:58
37,363,755
0
0
null
null
null
null
UTF-8
Python
false
false
21,660
py
import os, re import random as r from numpy import * import pyfits import datetime #from pylab import clf, plot, xlim, xlabel, ylabel, draw, savefig # This is a BHB simulation to get estimations of: # 1. How far out can we see BHB stars until we get more than sigmaBHB contamination? # 2. From galactic centre to that...
[ "andycasey@gmail.com" ]
andycasey@gmail.com
99b751f32ed22adbb2d72b38376b6e42592facb7
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_203/453.py
07f8fae68978d8ae76eefe1e282722f7131eb901
[]
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
1,424
py
t = int(input()) for i in range(1, t + 1): # read input r, c = [int(s) for s in input().split(" ")] cake = [["" for rcake in range(c)] for ccake in range(r)] blocks = [] blockchars = [[] for ri in range(r)] for ri in range(0, r): blockLine = False line = input() ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
811ee5f3d95798550819511c50bcecac8698aab2
38b6a57fee837e2e502c7d6bc2f708aa1cd772a8
/cart/migrations/0005_auto_20210422_0944.py
da86244e7c6cc54bf1c69a7793645de05851ce74
[]
no_license
ArtusU/ecf_store
54c5479efa5fe4c85ae3084b74ce7fcceaf94c89
c94edea13cf2515426890362df4937a1aebbaea9
refs/heads/master
2023-05-03T13:15:43.034031
2021-05-06T13:22:54
2021-05-06T13:22:54
354,247,685
0
0
null
2021-04-22T14:48:14
2021-04-03T09:14:04
CSS
UTF-8
Python
false
false
382
py
# Generated by Django 3.1.7 on 2021-04-22 08:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0004_stripepayment'), ] operations = [ migrations.AlterField( model_name='stripepayment', name='amount', ...
[ "artusrock@hotmail.com" ]
artusrock@hotmail.com
a362837915ca1121139d6a64ea842ce447c89ee3
e9b686645804daa7b64b2db71eedc99f9a98d4a3
/authors/models.py
c1f81d8e1546c45500eb4b819d570e4592e3a1e7
[]
no_license
phonxis/djangostars
4f571a13fde42342a5ff0ed55efc433b2f14cb36
847b01d5597336bb4904439ebf5a69913e5865bd
refs/heads/master
2020-03-28T19:33:37.919021
2018-09-17T06:13:42
2018-09-17T06:13:42
148,987,005
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from django.db import models from common.models import BaseDates class Author(BaseDates): first_name = models.CharField( "First name", max_length=128 ) last_name = models.CharField( "Last name", max_length=128 ) class Meta: verbose_name = "Author" ...
[ "phonxis@gmail.com" ]
phonxis@gmail.com
5f4ebfdf60dc6e625bd44c3638d6e70f5d639590
87a9706379670da62739b3c1fbbdd75edb5107b8
/YueerOnline_copy/users/migrations/0001_initial.py
daa5782e53a9c08387b292ef5f44ac1448c1ba97
[]
no_license
zxbzxb180/python_work
ba21ab74f842e0d560a8bb192bb8a874d356b9e1
6406024e011aa06d1bda78d97cfecc47f7f2058c
refs/heads/master
2022-12-12T23:53:36.887963
2020-03-04T07:20:29
2020-03-04T07:20:29
194,494,744
0
0
null
2022-11-22T03:54:47
2019-06-30T08:48:44
Python
UTF-8
Python
false
false
3,499
py
# Generated by Django 2.2.1 on 2019-11-12 08:49 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permission...
[ "616529325@qq.com" ]
616529325@qq.com
da47b67ac1a53b373d1561db67056cd86e79862d
88811bd7b6ac39538eb736f2678c056fbe04f8ea
/random_walk/rw_visual.py
5d2a8bc2ee9549c73e18d51a7d041e62f949cf4d
[]
no_license
irfan87/data_visualize_python
255a41ed35d191d6a23c816126ac07e7939efd29
f9535ed41a13fd23a2b2b73a62948bb084068904
refs/heads/master
2020-07-07T22:50:11.253231
2019-08-21T19:32:07
2019-08-21T19:32:07
203,497,599
0
0
null
2019-08-21T19:32:09
2019-08-21T03:18:28
HTML
UTF-8
Python
false
false
965
py
from matplotlib import pyplot as pyplot from random_walk import RandomWalk # keep making new values, as long as the program active while True: # make a random walk rw = RandomWalk(5000) rw.fill_walk() # plot the points in the walk pyplot.style.use('classic') fig, ax = pyplot.subplots(figsize=(...
[ "nerve2009@yahoo.com" ]
nerve2009@yahoo.com
aa671a132cfa36eb6d2ad937bc5ed760196f6e1c
3046dcd0e8c543f8ba150f04d56c8b7424fa2735
/conda-recipes/llvmdev_amdgcn/test_cfg_dot.py
af305f529e4a1eeaa4982b74c65134ab3b9c5db4
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
numba/roctools
f958db2d3d3bb2fe63b3591b2995d5843c570972
c5dfd710916b30b79b4da86f60fe49e704f47d29
refs/heads/master
2023-06-10T08:21:57.195059
2018-07-05T13:05:28
2018-07-05T13:05:28
135,454,978
8
4
BSD-2-Clause
2018-10-04T12:52:04
2018-05-30T14:29:49
C++
UTF-8
Python
false
false
118
py
with open("cfg.testme.dot") as fin: got = fin.read() assert '[label="W:1"]' in got assert '[label="W:9"]' in got
[ "stuart.archibald@googlemail.com" ]
stuart.archibald@googlemail.com
56672bff2ce7b25d6a736cd66f25bb329eea207c
2c6f14b4f4fd4a9bdb922ac82a330951aff8f757
/pws/pws/middlewares.py
eba383eee6699851034a32f70c97f5b2b821d897
[]
no_license
Rschanania/all-in-one
d6612a1a2ad9052f1c7b7778b8e509c98d2b854f
a03f9c30fe34f5f88df5b3dc9688188c260dc256
refs/heads/master
2020-12-28T17:27:48.506209
2020-02-05T10:19:42
2020-02-05T10:19:42
238,421,270
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
def login_register_middleware(get_response): def middleware(request): response =get_response(request) return response return middleware
[ "chananias1@gmail.com" ]
chananias1@gmail.com
b4563b52891483efc352f6ab91c7b38136a3b8be
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2308/59308/258385.py
3086f1d223888c6533c2f186b499cdcb9d8ad55c
[]
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
539
py
import re ord = list() def order_(root): if root == 0: return else: order_(res[root][0]) ord.append(root) order_(res[root][1]) pattern = re.compile('[0-9]+') a = pattern.findall(input()) n, root = int(a[0]), int(a[1]) res = [[0, 0] for _ in range(2*n+5)] for i in range(n): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
61bb7af46caf14d6b591ee9c8bbf4012d768a510
6079b240f3d6d80d7a55b92b0c77f71860740250
/test/jit/test_backend_nnapi.py
1ec77d2329bbf61cdf461de5ce5661620b9ebf59
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
Cuberick-Orion/pytorch
ea33008b5a03cee3e538d5f9af6176777d7a5c99
64283fe1462101c537d5844e4d2541ff5e142346
refs/heads/master
2023-06-25T14:21:36.236856
2021-07-27T05:03:47
2021-07-27T05:12:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,693
py
import os import sys import unittest import torch import torch._C from pathlib import Path from test_nnapi import TestNNAPI from torch.testing._internal.common_utils import TEST_WITH_ASAN # Make the helper files in test/ importable pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.pa...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ade57c35dab559d983091ef77fcc72f3a5867ed1
cb7ace0caaf37cfda514a2e4276b9f2d2b75b5e7
/WebScrapper_project/Parsing our soup.py
c582c96f3da973de982f95870523522cd23c0a10
[]
no_license
raj1rana/python-scripts
b53df51b7dd2ba84c0234fdf8008b7d79d79541c
274324a01d1f4e99b0c9a24b6f040378a49eb2f0
refs/heads/master
2020-04-21T21:04:21.029767
2019-04-14T09:57:28
2019-04-14T09:57:28
169,867,051
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
'''this is for getting a proper webpage from beautigul soup as well as here we are looking for only likns and text in our previous example we got the whole page herer the results and links variable are responsible to to get the order list and links from the webpage here the for statement and if statement is responsibl...
[ "admin@admins-MacBook-Pro.local" ]
admin@admins-MacBook-Pro.local
39575d43084834791c2cd941da4356d18ec37314
9e21b2e7d35dc38b65c6ceda23fae46464b02914
/city/aachen.py
5cee6db38ca3621cadcfeab66d126e34505960c7
[]
no_license
Mic92/ris-scraper
47c9c0fe1066860a9b4e4b1330ccdcb2ed92e044
801a6f2674a04b982199afe2d890b0477de22755
refs/heads/master
2021-01-20T07:02:37.906532
2014-04-28T18:58:35
2014-04-28T18:58:35
18,814,178
2
1
null
null
null
null
UTF-8
Python
false
false
1,107
py
# encoding: utf-8 RS = "053340002002" # Aachen # Stadtname für Logfile CITY = 'aachen' # Currently, only "mongodb" is supported DB_TYPE = 'mongodb' # Name of the MongoDB database DB_NAME = 'scrapearis' # Use "localhost" if MongoDB is running on the same machine DB_HOST = 'localhost' # MongoDB default port is 270...
[ "mail@ernestoruge.de" ]
mail@ernestoruge.de
5e6fede0a25e20f09f15b310eea841308ccd35cf
139af68b78734a6bc53bd942ffa05476baf3d71d
/PYTHON OOP/ATTRIBUTES_AND_METHODS/Exercises/movie world 2/project/customer.py
cdb56da9c61d571d69c32e1bc37bfed1790fb60d
[]
no_license
MiroVatov/Python-SoftUni
7fe3fc0a3928848c5317fb120f789c773bfc117e
0d0d6f116281b4de8c413d254386e27d992d047b
refs/heads/main
2023-08-24T09:44:31.261137
2021-10-18T14:04:03
2021-10-18T14:04:03
317,510,574
1
0
null
null
null
null
UTF-8
Python
false
false
449
py
class Customer: def __init__(self, name: str, age: int, id: int): self.name = name self.age = age self.id = id self.rented_dvds = [] def __repr__(self): dvd_names = [', '.join(dvd.name) for dvd in self.rented_dvds] if not dvd_names: dvd_na...
[ "noreply@github.com" ]
MiroVatov.noreply@github.com
78467330bab5bd392e75a16cc11c0797f7fbdcc0
14ddda0c376f984d2a3f7dcd0ca7aebb7c49648d
/bnn_mcmc_examples/examples/mlp/pima/setting1/datasets.py
1b8e1ff7c05e52022f662370c3170a81e3d9d764
[ "MIT" ]
permissive
papamarkou/bnn_mcmc_examples
62dcd9cc0cf57cda39aa46c2f2f237bbcd2d35bb
7bb4ecfb33db4c30a8e61e31f528bda0efb24e3d
refs/heads/main
2023-07-12T20:51:28.302981
2021-08-22T13:06:17
2021-08-22T13:06:17
316,554,634
1
1
null
null
null
null
UTF-8
Python
false
false
1,343
py
# %% Import packages import pandas as pd import torch from sklearn.model_selection import train_test_split from eeyore.constants import torch_to_np_types from eeyore.datasets import XYDataset from bnn_mcmc_examples.datasets.pima.data1.constants import data_path from bnn_mcmc_examples.examples.mlp.pima.setting1.cons...
[ "theodore.papamarkou@gmail.com" ]
theodore.papamarkou@gmail.com
2cb443fdf9bcd3d4c786ab94b464953ce8a18b1c
a27cd1b2c788c4bc9226ded906360232fd83e1ee
/tester/rt/tftp.py
af5029ac1c5ffc5c20a9e21ace327c8322eb0818
[]
no_license
pauloalmendra/rtems-tools
f3ee19a79f96216bad62ec2bae3653f6abe9fad9
7189172c1a81dd042696066246f77e59580852b2
refs/heads/master
2023-03-05T19:09:52.352981
2021-02-11T16:23:16
2021-02-16T05:10:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,104
py
# # RTEMS Tools Project (http://www.rtems.org/) # Copyright 2013, 2020 Chris Johns (chrisj@rtems.org) # All rights reserved. # # This file is part of the RTEMS Tools package in 'rtems-tools'. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following...
[ "chrisj@rtems.org" ]
chrisj@rtems.org
822eecb2ed3b591913ae23b53236241e6c6960ac
a24ab720f4d86aa964d8a18b41a15a14d6b0c3d7
/regex_08.py
95d67d94b612948351cc8bef38fe704372f4498e
[]
no_license
A-Alexander-code/Python-OneLiners--Soutions
26bc911a8d4864c086c9574ad8df2722f0c8cb7e
622ad5f88879176090806e0ab323026e952c8b29
refs/heads/master
2023-07-10T01:03:06.026564
2021-08-15T19:44:09
2021-08-15T19:44:09
396,471,685
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# Dependencies import re # Data text = """ It was a bright cold day in April, and the clocks were striking thirteen. Winston Smith, his chin nuzzled into his breast in an effort to escape the vile wind, slipped quickly through the glass doors of Victory Mansions, though not quickly enough to prevent a swirl of gritty ...
[ "b_alx_arboleda@outlook.com" ]
b_alx_arboleda@outlook.com
7569cdd1a68781232a781ca3c642da584d610029
ee179dd9e9b24046508b11a60612da3758c7e122
/lib/python2.7/site-packages/nltk/stem/isri.py
8ce4ee60ae391f38bd1037cfad6821bb95c20616
[]
no_license
buhtigexa/Nerit
fcd6cb08a0935e5b80392ae2acf68ba52ee8a899
d55629f6289c1fa6efe60802a78b79932ff248a2
refs/heads/master
2021-01-21T13:11:51.105930
2015-05-01T23:56:02
2015-05-01T23:56:02
34,728,820
4
2
null
null
null
null
UTF-8
Python
false
false
15,148
py
# -*- coding: utf-8 -*- # # Natural Language Toolkit: The ISRI Arabic Stemmer # # Copyright (C) 2001-2014 NLTK Proejct # Algorithm: Kazem Taghva, Rania Elkhoury, and Jeffrey Coombs (2005) # Author: Hosam Algasaier <hosam_hme@yahoo.com> # URL: <http://nltk.org/> # For license information, see LICENSE.TXT """ ISRI Arabi...
[ "mrodriguez@alumnos.exa.unicen.edu.ar" ]
mrodriguez@alumnos.exa.unicen.edu.ar
33c7118d15ad2f1b7f3a3c0bcac4dfef124f49c5
b33beb8b5e9bc7fb81b324028d532863109098e2
/DB/accounts/migrations/0046_auto_20210422_1707.py
77be97d59d27ab42e2f61ba491b8a3688ffddb7a
[]
no_license
forza111/DB
78da533a000111a16e651182856b3c0e6c52e2b0
102abd68e4a0d9589d5d9f0db62c05e345b51626
refs/heads/master
2023-06-02T21:27:33.088981
2021-06-25T09:05:44
2021-06-25T09:05:44
351,230,160
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
# Generated by Django 3.1.7 on 2021-04-22 14:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0045_creditinfo_debt'), ] operations = [ migrations.AlterField( model_name='creditinfo', name='paid', ...
[ "nikitos.ionkin@yandex.ru" ]
nikitos.ionkin@yandex.ru
c463466e63c06fc5e494b61f92b0832764ea6d43
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil574.py
81283a942866157f678883f1053e9231d76b1307
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
# qubit number=4 # total number=12 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(1) # number=2 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
7a77d8c16b7b845b009c4a734ed90054315002f6
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_RelativeDifference/trend_Lag1Trend/cycle_0/ar_/test_artificial_32_RelativeDifference_Lag1Trend_0__100.py
e8cccbccfa374da4bd80e3482039ed09a07d234e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
273
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 0, transform = "RelativeDifference", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
c4eeef64730bbfc3c1bda68f9af17458298faf88
835577cebfd648ea5c67aa4c7f837f70ac5b101a
/AnalysisTools/python/InputFileHelpers.py
f9b21f5d9186961517ffc52a8337f4fb1e8490e4
[]
no_license
weishi10141993/MuJetAnalysis
616cd5cacb39ca613f93c9cf6d61e2abf08bdc91
d0eec8e7a688d8999f91be16a7707da3af6bfaee
refs/heads/master
2021-06-16T14:15:12.954912
2019-02-19T23:36:00
2019-02-19T23:36:00
202,416,826
0
1
null
2020-11-10T01:22:14
2019-08-14T19:54:04
C
UTF-8
Python
false
false
1,053
py
import FWCore.ParameterSet.Config as cms import os ## helper function for pile-up def addPileUp(process, pu = 140, filelist = def_filelist): ff = open(filelist, "r") pu_files = ff.read().split('\n') ff.close() pu_files = filter(lambda x: x.endswith('.root'), pu_files) process.mix.input = cms....
[ "sven.dildick@cern.ch" ]
sven.dildick@cern.ch
8f2b1e52c2822c676a1cfa27cde9c5ac1934f230
7208db50a22368c335e7d7d8b37a3fedb09c60e5
/cairis/gui/CodeNotebook.py
772c8dec36e1648d73c9a51b9b345d4b9fe61fcb
[ "Apache-2.0" ]
permissive
nebloc/cairis
41c7f20af56c46bddcb3927dc4aa410f6477e6ed
1277a148a270d5471b59fc238aa6590bc1d3044e
refs/heads/master
2020-03-24T03:51:11.908096
2018-07-27T16:07:36
2018-07-27T16:07:36
142,434,768
0
0
Apache-2.0
2018-07-26T11:58:24
2018-07-26T11:58:24
null
UTF-8
Python
false
false
2,215
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
[ "shamal.faily@googlemail.com" ]
shamal.faily@googlemail.com
b639324e159be7de27073e8d8c48ef1339525d21
d8308c333db67e701c0aedf4876720e6cd1f9e79
/ci/test/test_fail.py
1bfcae4481211bf9892835177afaf46b063e648f
[]
no_license
liuq901/500-lines
f1e2dc52c0a8776798def7ed44f7a0759f9b6df8
9b780a81d273303dd0b4e5e8bb39f4bc7ba20a22
refs/heads/master
2023-08-18T13:42:52.257904
2021-10-29T08:08:25
2021-10-29T08:08:25
407,789,017
0
1
null
null
null
null
UTF-8
Python
false
false
114
py
import unittest class TestFileFail(unittest.TestCase): def test_fail(self): self.fail('I will fail')
[ "liuq901@163.com" ]
liuq901@163.com
f684d51b908c737d8b0a41cd1b30178d668a2072
4b6a5298beacf9761102112c6a81d0702ec4ebb1
/mpcontribs-api/gunicorn.conf.py
fc24a8c25eca8c91308c2b3508d340c0e9cb5955
[ "MIT" ]
permissive
materialsproject/MPContribs
ad6fb75578e3b80b959571d08fa8b35b535138bf
98652d4222f4fb08f6ba6ab6011aa86e2c563dfe
refs/heads/master
2023-09-05T11:32:49.568622
2023-09-04T17:13:29
2023-09-04T17:13:29
27,885,364
32
23
MIT
2023-09-13T22:27:54
2014-12-11T18:25:27
Python
UTF-8
Python
false
false
609
py
import os bind = "0.0.0.0:{}".format(os.getenv("API_PORT")) worker_class = "gevent" workers = os.getenv("NWORKERS") statsd_host = "{}:8125".format(os.getenv("DD_AGENT_HOST")) accesslog = "-" errorlog = "-" access_log_format = '{}/{}: %(h)s %(t)s %(m)s %(U)s?%(q)s %(H)s %(s)s %(b)s "%(f)s" "%(a)s" %(D)s %(p)s %({{x-con...
[ "phuck@lbl.gov" ]
phuck@lbl.gov
d2432a84dd6c2433856dc506d2aa5ad11242779b
63bacb52d016cf7a237dacd79ba2861842c49ca9
/test/test_post_credit_memo_email_request_type.py
9cd350db9afd892fbbe910392fbea02289f34fe0
[]
no_license
arundharumar-optimizely/zuora-client-python
ee9667956b32b64b456920ad6246e02528fe6645
a529a01364e41844c91f39df300c85c8d332912a
refs/heads/master
2020-07-05T23:09:20.081816
2019-07-30T21:46:47
2019-07-30T21:46:47
202,811,594
0
0
null
2019-08-16T23:26:52
2019-08-16T23:26:52
null
UTF-8
Python
false
false
40,380
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "brian.lucas@optimizely.com" ]
brian.lucas@optimizely.com
c89a0116b23de8becdd32e2ed3de06b9e8090b8d
c2341434525cda847cb97483144908e4dd7dc474
/src/mean_merger_bimbo.py
7f0a75c081401eca6f13e6bfff786719d150afd3
[ "MIT" ]
permissive
ternaus/submission_merger
f58e1b2baa196aba1e9ed467163aeca55ae719b8
8f74f869b316e17602409497caadb00f4dcf7f86
refs/heads/master
2020-12-25T15:29:09.231668
2016-11-16T23:12:08
2016-11-16T23:12:08
35,459,260
1
1
null
null
null
null
UTF-8
Python
false
false
718
py
from __future__ import division __author__ = 'Vladimir Iglovikov' ''' Merges prediction for https://www.kaggle.com/c/grupo-bimbo-inventory-demand competition Mean([x1, x2, x3...])) ''' import os import numpy as np import sys import pandas as pd import time files = sys.argv[1:] try: files.remove('mean_merger_bimbo...
[ "iglovikov@gmail.com" ]
iglovikov@gmail.com
9f27ba5a8ff52a708f76896ed9491ce939dd6e0d
a9f38bb28ff9bd04b151d86c653cde9f46768c7c
/easy/happyNumber.py
625bcdac4fb5cfa40d39822272d584f733c3dcbd
[]
no_license
Xynoclafe/leetcode
02388516b10b8ee6bec6ee1b91ab5681c3254d33
4a80f02683e7fc14cb49c07170651ea3eeb280ac
refs/heads/master
2020-12-01T21:05:44.656581
2020-02-02T09:05:32
2020-02-02T09:05:32
230,770,600
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
class Solution: def isHappy(self, n: int) -> bool: seen = [] num = n while True: newNum = 0 strNum = str(num) lenStrNum = len(strNum) for i in range(lenStrNum): newNum += int(strNum[i]) ** 2 if (newNum in seen): ...
[ "gokulprem.94@gmail.com" ]
gokulprem.94@gmail.com
ea63d9aace1bc0986e8f06b8947e6c3c25f862ef
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/hamming/e303a38ff1d34b3488549636fc04f390.py
86a860046febf51a542c313f332e3a8526ae018b
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
224
py
def hamming(dna1, dna2): hamming = abs(len(dna1)-len(dna2)) length = min(len(dna1), len(dna2)) for i in range(length): if dna1[i] != dna2[i]: hamming += 1 return hamming
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
7fe8fa1cec08837e5f262906f56fb665408981d1
bbf1ae079309eca11270422d3f0d259d1515d430
/numerical-tours/python/nt_solutions/denoisingwav_4_block/exo1.py
509ac311bbb04a9f97364cb60f962887b43506c9
[ "BSD-2-Clause" ]
permissive
ZichaoDi/Di_MATLABTool
5e6a67b613c4bcf4d904ddc47c2744b4bcea4885
c071291c63685c236f507b2cb893c0316ab6415c
refs/heads/master
2021-08-11T07:28:34.286526
2021-08-04T18:26:46
2021-08-04T18:26:46
149,222,333
9
5
null
null
null
null
UTF-8
Python
false
false
273
py
Tlist = np.linspace(.5, 2.5, 30)*sigma snr_stein = [snr(f0, ThreshWav(f, T)) for T in Tlist] plt.plot([T/sigma for T in Tlist], snr_stein, linewidth = 2) plt.xlabel('$T/\sigma$') plt.ylabel("SNR") plt.show() Tmax = np.max(snr_stein) fThresh = ThreshWav(f, T)
[ "wendydi@compute001.mcs.anl.gov" ]
wendydi@compute001.mcs.anl.gov
a02d5f230246e6337ea4c0f29a87cd73eba995c9
4bb1a23a62bf6dc83a107d4da8daefd9b383fc99
/contests/abc164/b.py
e5a213f4952f7079988222b580b0a7298ddc922c
[]
no_license
takushi-m/atcoder-work
0aeea397c85173318497e08cb849efd459a9f6b6
f6769f0be9c085bde88129a1e9205fb817bb556a
refs/heads/master
2021-09-24T16:52:58.752112
2021-09-11T14:17:10
2021-09-11T14:17:10
144,509,843
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
a,b,c,d = map(int, input().split()) i = 0 while a>0 and c>0: if i%2==0: c -= b else: a -= d i += 1 if c<=0: print("Yes") else: print("No")
[ "takushi-m@users.noreply.github.com" ]
takushi-m@users.noreply.github.com
62b9d6de30a6cad34eedbcc1bf0ad3d24bac2646
480e33f95eec2e471c563d4c0661784c92396368
/TopQuarkAnalysis/TopSkimming/test/ttDecayChannelFilters_cfg.py
67062394fa365239d3505add210d56d029b7a529
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
2,658
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") ## add message logger process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger.categories.append('ParticleListDrawer') process.MessageLogger.categories.append('TtDecayChannelSelector') process.MessageLogger.cerr.TtDecayChannelS...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
2fa1d50972f202391e5abccb68f32d5ba127e95f
e90bf4b372da78ceec15282d060b48d18ba8d4e9
/supervisor/dbus/network/setting/generate.py
1e6316ba65d94a876774da7e80ac24b4b6ee3b13
[ "Apache-2.0" ]
permissive
home-assistant/supervisor
67f2e1755ff5fbf7cf2084351e1c32c6995274e0
4838b280adafed0997f32e021274b531178386cd
refs/heads/main
2023-08-31T22:51:25.949277
2023-08-31T08:01:42
2023-08-31T08:01:42
84,926,758
928
477
Apache-2.0
2023-09-14T17:11:27
2017-03-14T08:54:15
Python
UTF-8
Python
false
false
5,145
py
"""Payload generators for DBUS communication.""" from __future__ import annotations import socket from typing import TYPE_CHECKING, Any from uuid import uuid4 from dbus_fast import Variant from . import ( ATTR_ASSIGNED_MAC, CONF_ATTR_802_ETHERNET, CONF_ATTR_802_WIRELESS, CONF_ATTR_802_WIRELESS_SECURI...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
b1dbdfc4ade5c4883bfb5aba4361f4a86a3c66de
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/virtual_machine_scale_set_identity.py
18f709698a794018f139016d2a4fbbb807a73cbc
[ "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,851
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
bc3725e9bc859b03913f46361ac3500a36a92314
b9b967c8154ffb3c3622c4b46065132a33e785f6
/server/migrations/versions/a0302c432c15_rebuild_test_indexes.py
23c08d137da8aa9d903085cd88bd0928fe7f34a4
[ "Apache-2.0" ]
permissive
SURFscz/SBS
5917561656caec042e5a6c966aeb54b82e96f51d
b159eeb7a5b8246aebd9849b4b3b61b9af1a8514
refs/heads/main
2023-08-31T12:42:52.473898
2023-08-31T11:58:51
2023-08-31T11:58:51
162,148,147
4
1
Apache-2.0
2023-09-12T12:07:41
2018-12-17T15:05:54
JavaScript
UTF-8
Python
false
false
1,062
py
"""rebuild-test-indexes Revision ID: a0302c432c15 Revises: fd15b0d2046a Create Date: 2019-05-08 13:54:33.777069 """ from alembic import op from sqlalchemy import text # revision identifiers, used by Alembic. revision = 'a0302c432c15' down_revision = 'fd15b0d2046a' branch_labels = None depends_on = None def upgrade...
[ "oharsta@zilverline.com" ]
oharsta@zilverline.com
e5df15539321caa37c76cb98d9535c70b0d0d096
77c37489ce1e36030f209a9d45cce9e7084bd6a6
/th_evernote/evernote_mgr.py
98bb0a458d8a912cd951664d2ff97ec5178d3901
[ "BSD-3-Clause", "MIT" ]
permissive
jakop345/django-th
ce333455944111e289ab0ef045b7ee811479e9d4
5da2d93c34b8e530104df654a59a9d29025d5bbc
refs/heads/master
2021-01-13T02:44:32.884257
2016-12-22T15:25:15
2016-12-22T15:25:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,100
py
# coding: utf-8 import evernote.edam.type.ttypes as Types from evernote.edam.error.ttypes import EDAMSystemException, EDAMUserException from evernote.edam.error.ttypes import EDAMErrorCode from evernote.edam.notestore import NoteStore from django.utils.translation import ugettext as _ from django.utils.log import getL...
[ "foxmaskhome@gmail.com" ]
foxmaskhome@gmail.com
baa8192e83d6bccd90e4dece58c31023c80fa763
4809471274d6e136ac66d1998de5acb185d1164e
/pypureclient/flasharray/FA_2_5/models/snmp_v2c.py
ff8ac13275b976f4784b731ee22397d71745972c
[ "BSD-2-Clause" ]
permissive
astrojuanlu/py-pure-client
053fef697ad03b37ba7ae21a0bbb466abf978827
6fa605079950765c316eb21c3924e8329d5e3e8a
refs/heads/master
2023-06-05T20:23:36.946023
2021-06-28T23:44:24
2021-06-28T23:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
[ "hubert.chan@purestorage.com" ]
hubert.chan@purestorage.com
6d19b5483820f2b401111c3af90364f98dd46f8b
fa2842b1a5332e247f7e1415b584342f5dc6b945
/ls336.py
5fc37fcca15c9cd2b8bf567e403a2f28f9b18906
[]
no_license
evizbiz/serial_bridge
b536ed7be97ab805b17cb8961d2f37205aac4c6b
16ff0f472f5cc1dc1be40852550cb7d4b700eb1e
refs/heads/master
2021-01-21T09:17:29.456748
2014-08-21T13:38:34
2014-08-21T13:38:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#!/usr/bin/env python # make sure bridge.py is on the python path import sys, os sys.path.insert(0, os.path.dirname(__file__)) from bridge import Connect # If the control computer is disconnected, then when it is # reconnected it will be expecting to send a command to # the bridge, not read a response. So set it up...
[ "pkienzle@nist.gov" ]
pkienzle@nist.gov
c8a2bfbdf79f781c4d032f973884f9327805d2d0
5dfb9ca5e0c8cb4cb7a7a92d6f6a34b34a841869
/LeetCodeSolutions/python/464_Can_I_Win.py
fd9b0c71fd50702b989fc3b129bf984a4aa0ff0b
[ "MIT" ]
permissive
ChuanleiGuo/AlgorithmsPlayground
2f71d29e697a656562e3d2a2de783d964dc6a325
90b6287b742c8bfd3797540c408d679be2821a40
refs/heads/master
2021-01-11T18:30:43.218959
2018-11-19T02:20:31
2018-11-19T02:20:31
79,550,052
1
0
null
null
null
null
UTF-8
Python
false
false
834
py
class Solution(object): def canIWin(self, maxChoosableInteger, desiredTotal): """ :type maxChoosableInteger: int :type desiredTotal: int :rtype: bool """ if (1 + maxChoosableInteger) * maxChoosableInteger / 2 < desiredTotal: return False self.memo ...
[ "chuanleiguo@gmail.com" ]
chuanleiguo@gmail.com
b3eea578fc984e41634e8e654a6a85311743d180
bd5995a1063ff552bb127e0344fd5e60612ed6ae
/spidermanC_1.1.py
606afd445049c0427db1f8eb400b8a8a77adfe61
[]
no_license
Utschie/pythonwork
f07f25d426875cae3d29865c3aa6c1ab5bddd355
b4014585c1f0dd7007b9c7f5368335daa059839f
refs/heads/master
2021-05-01T16:49:26.010743
2020-06-17T23:10:46
2020-06-17T23:10:46
121,054,629
2
1
null
null
null
null
UTF-8
Python
false
false
5,033
py
#此版本是spidermanC1.1版本 #由于该程序总共要提出近8000多万个请求,为越过对方网站的反爬机制,不再采用原来的简单单页面遍历方式 #取而代之的是将40万+个fid和437个cid随机组合成对,构成请求参数池 #然后在请求参数池中随机抽取一个提交请求写入数据库 #每写入一个数据就在请求参数池中去掉那个参数对,直到参数池用尽为止 #但是这个版本依然有缺陷,因为这个版本依然是在同一个页面请求许多php,只不过是随机的而已 #所以接下来的版本要改成在多个页面随机请求php from gevent import monkey; monkey.patch_all() import requests import...
[ "littlecat.j@hotmail.com" ]
littlecat.j@hotmail.com
0a94fcbda7a7b8c03b47187161256ca213c1d010
3917a6b68111ba1e5cf14fce59d5c5d2af9c8d76
/doc/Programs/PythonCodesVeff/single_particle_basis_creator.py
34715952b6453c8d31ee50f10d2388ef0003708b
[ "CC0-1.0" ]
permissive
NuclearTalent/NuclearStructure
e225eeb40db96fdd9d85979f516a4cdbbfe243aa
7d18ed926172abeea358e95f4e95415e7b0a3498
refs/heads/master
2021-06-11T05:45:29.832063
2021-02-18T07:47:49
2021-02-18T07:47:49
59,759,751
9
7
null
2017-08-25T11:43:50
2016-05-26T15:05:25
null
UTF-8
Python
false
false
1,300
py
from single_particle_state import SingleParticleState from single_particle_basis import SingleParticleBasis class SingleParticleBasisCreator(object): pshell_partial_waves = [ [ 0, 0, 1 ], [ 0, 1, 3 ], [ 0, 1, 1 ] ] sdshell_partial_waves = [ [ 0, 2, 5 ], [ 1, 0, 1 ], ...
[ "morten.hjorth-jensen@fys.uio.no" ]
morten.hjorth-jensen@fys.uio.no
3a7240ac9b2f0ee8b77d3680b556f190ac3bafdf
df1e54249446ba2327442e2dbb77df9931f4d039
/library/slinket/slinkPredicates.py
b9e221f8707faa95f6ca16f650143478523f972e
[ "Apache-2.0" ]
permissive
tarsqi/ttk
8c90ee840606fb4c59b9652bd87a0995286f1c3d
085007047ab591426d5c08b123906c070deb6627
refs/heads/master
2021-07-12T06:56:19.924195
2021-03-02T22:05:39
2021-03-02T22:05:39
35,170,093
26
12
Apache-2.0
2021-03-02T22:05:39
2015-05-06T16:24:38
Python
UTF-8
Python
false
false
200,886
py
"""slinkPredicates.py The nominal, adjectival and verbal predicates that can be the subordinating event in an SLINK. All entries are associated with one or more patterns from slinketPatters.py. This file is not used by the runtime system, but it is used by create_dicts.py when it pickles the dictionaries. Each entr...
[ "marc@cs.brandeis.edu" ]
marc@cs.brandeis.edu
ae926218e2e92b8ac43b1cfcfe6e1eb1cdd2ff07
b6ee3ca85e2ef799d2c51e14a52f6574ab34fa68
/q15.py
6f92526547598751719c9cb50474be9a7262bf17
[]
no_license
maples1993/Strike-to-Offer
b857f08acdd39697ee44ad28a6835352607d4582
b86f464026a222b1b9accccf0b123319e85f4390
refs/heads/master
2020-03-27T23:10:09.276866
2018-09-04T06:16:07
2018-09-04T06:16:07
147,297,160
1
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" Date: 2018/8/29 """ class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # 返回ListNode def ReverseList(self, pHead): # write code here head = ListNode('#') while pHead: tmp = pHead pHead = pHead.next ...
[ "panchao1993@126.com" ]
panchao1993@126.com
7f21882da9aeff87fcadb9082ced9608d1cecba2
efb7e2898a8d2f8957afaeaea9352876f877c52b
/brain/view/timeseries.py
9fce64a5bdf2df4a995db1a5b204a92e8590751d
[]
no_license
jeff1evesque/ist-736
70d68fd1e431c16f352808f58fcb9a8777b42d6a
58e1169a0c3d96da724db496d3adeb4f241b7752
refs/heads/master
2023-01-09T05:39:32.102524
2019-10-16T22:14:44
2019-10-16T22:14:44
180,248,887
1
0
null
2019-09-27T01:43:52
2019-04-08T23:37:26
Python
UTF-8
Python
false
false
767
py
#!/usr/bin/python import seaborn as sns sns.set(style='darkgrid') import matplotlib.pyplot as plt def plot_ts( data, xlab='dates', ylab='values', directory='viz', filename='ts', hue=None, style=None, rotation=0, show=False, xticks=True ): ''' plot confusion matrix. ...
[ "jeff1evesque@yahoo.com" ]
jeff1evesque@yahoo.com
157e90a6b97ebe2dd8fbc63cc32a2975338e4883
3fba147060deb5b10183ced1cf2887efb14e3f6b
/vnpy/app/market_radar/ui/widget.py
462d5bd0956cd526978ab7c4b281bde2aa7c1b30
[ "MIT" ]
permissive
tiankongzhige/vnpy
d545315889c26ce9db2906f8c6ea307ffa8adfe4
b9507a27949ea4012a718eadc401fae87358ea67
refs/heads/master
2023-08-10T18:12:09.575122
2021-10-03T06:58:50
2021-10-03T06:58:50
369,411,928
0
0
MIT
2021-10-01T07:30:16
2021-05-21T04:21:48
C++
UTF-8
Python
false
false
14,659
py
from functools import partial from typing import Dict from csv import DictReader from vnpy.event import Event, EventEngine from vnpy.trader.engine import MainEngine from vnpy.trader.ui import QtCore, QtWidgets, QtGui from ..engine import (APP_NAME, EVENT_RADAR_LOG, EVENT_RADAR_RULE, EVENT_RADAR_SIGNAL, ...
[ "xiaoyou.chen@foxmail.com" ]
xiaoyou.chen@foxmail.com
233922d76916a6c900990e2c57971b1e40d74355
e7a8aa46f9bee22eaf369a08646feda3541d66af
/BankAccount.py
d3d01d97f3426cba5e5c32341d79e00b7ed531de
[]
no_license
papasmf1/python2102
3519bc7925b7c85e4414c47ce47badca1fd51eed
a7b1bda2aca7d0b841ef2609fb2e74a8da7d2a48
refs/heads/master
2023-03-07T06:30:29.925943
2021-02-25T07:26:24
2021-02-25T07:26:24
341,073,030
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# BankAccount.py #은행의 계정을 표현한 클래스 class BankAccount: def __init__(self, id, name, balance): #외부에서 접근하기 힘들게 이름 변경 self.__id = id self.__name = name self.__balance = balance def deposit(self, amount): self.__balance += amount def withdraw(self, amount): sel...
[ "papasmf1@gmail.com" ]
papasmf1@gmail.com
f1d460b9f3e060bae50615a69541399efb55c371
604bd9370a5b4e61a5f9e533c6612bc94aef0c6c
/django/privat_gos_sait/cart/views.py
189da895806f3bdd458ec67120622f44375fb88c
[ "Apache-2.0", "MIT" ]
permissive
Netromnik/python
2ba2f15b56e635b53c12ef39ed776b9577c08dff
630a9df63b1cade9af38de07bb9cd0c3b8694c93
refs/heads/main
2023-06-16T04:58:35.634371
2021-07-18T16:20:13
2021-07-18T16:20:13
355,891,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
from django.shortcuts import render, redirect, get_object_or_404 from django.http import HttpResponse from django.views.decorators.http import require_POST from product_category.models import items_cat as Product from pattern_for.models import pattern_for as pattern_for from .cart import Cart from .forms import CartAdd...
[ "you@example.com" ]
you@example.com
2683f38204d067735f62ee144146353c4f29fc2a
a89062f6d7cb08299dfcf1204dc64f888634cf80
/Institute/migrations/0008_keyfeatures.py
09e183cf94380739082244b6e984c1b440e18266
[]
no_license
nisarggurjar/Sankalp-Project
73688c0f496b7c14dc779814f87e52fffd818f4d
7371cd1732ee2561b4a7d6794502b310164dc34e
refs/heads/master
2022-12-05T02:06:12.494047
2020-08-29T15:46:34
2020-08-29T15:46:34
291,300,412
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2019-01-06 07:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Institute', '0007_auto_20190105_1443'), ] operations = [ migrations.CreateMode...
[ "nisarggurjar16@gmail.com" ]
nisarggurjar16@gmail.com
78156037e4b9d1e2297a857d077b474dc1568e74
53fb917881da84bd52a470b1cc423ba4f7b89d10
/Bloggy/bloggy/home/migrations/0003_homepage_banner_title.py
6f86902dddd0e99b647b8b98bbc7a95188039fd5
[]
no_license
ahrav/wagtail-demo
2abfa32264aa48472b96635b08a8b88f1572cb88
328481b843276d3a1e15b3fe57cbf48625000787
refs/heads/master
2022-12-12T14:31:50.468441
2019-09-20T06:46:20
2019-09-20T06:46:20
205,472,476
0
0
null
2022-04-22T22:15:50
2019-08-31T00:03:21
JavaScript
UTF-8
Python
false
false
398
py
# Generated by Django 2.2.5 on 2019-09-19 03:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0002_create_homepage'), ] operations = [ migrations.AddField( model_name='homepage', name='banner_title', ...
[ "ahravdutta02@gmail.com" ]
ahravdutta02@gmail.com
96e73a2cbd9383a45593fb4a64fe077928a8a9fe
fd67592b2338105e0cd0b3503552d188b814ad95
/egoi_api/paths/trackengage_goals/get.py
35d381570b0bef1ba8c893ae337e554f23cff933
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
14,330
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from egoi_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F4...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
7c841fe38b204218f62c404891fbb037eaaac6b4
fc353b0433348ff58841cf32bf1f5e594e037513
/leetcode/26. Remove Duplicates from Sorted Array.py
8acc9cefdb442df1bb48f6afdb71cad8056c4b77
[]
no_license
TrellixVulnTeam/Demo_933I
ce759ec52dd191f99b998862f4aba7971878ba37
ab662060eb07a88a48c9832e09bf268517c1a3fa
refs/heads/master
2023-04-27T16:55:29.627491
2021-05-07T05:38:58
2021-05-07T05:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
# 26. Remove Duplicates from Sorted Array # 2020/7/5 def main(nums): """ from collections import Counter num = dict(Counter(nums)) for i in num: if num[i] > 1: for j in range(num[i]-1): nums.remove(i) return len(nums) """ n =...
[ "1149061045@qq.com" ]
1149061045@qq.com
e7b9fc5fed7758e40158bc26981ae2fdfeb755ab
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetcodePythonProject_with_solution/leetcode_0301_0350/LeetCode332_ReconstructItinerary.py
1e73e33ef23f560f5b16a165c0bfa9f0ef91f0f9
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,070
py
''' Created on Mar 19, 2017 @author: MT ''' _______ h__ c_ Solution(o.. ___ findItinerary_orig tickets __ n.. tickets: r.. # list hashmap # dict ___ t1, t2 __ tickets: __ t1 n.. __ hashmap: hashmap[t1] # list h__.heappush(hashm...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
9ce3b0cd178b9ff7fbc728fb6365c1626943be21
78148343f251c035d5ce1a6ae9055090176e6163
/shared_data_with_processes.py
1f9a2c22980c4fc78d856e6bbf9dacf918a6023c
[]
no_license
jackdbd/concurrent-programming-python
2c01e31c7da836cbe204ee12a9ea8c746bc26ccf
924260d3ee4d7d10431d0fa09666326081db37fc
refs/heads/master
2020-03-12T23:18:33.773371
2018-04-24T14:02:30
2018-04-24T14:02:30
130,863,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
"""Example of a shared variable between processes. Processes do not share the same memory space, so we need special techniques to define shared data and share state across processes. When doing concurrent programming it is usually best to avoid using shared state as far as possible. This is particularly true when usi...
[ "jackdebidda@gmail.com" ]
jackdebidda@gmail.com