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
2a94c9c911380d96ff0b6c8f83da11df42787538
9b20161b91400238b0c6e6ee3282a328d42935e2
/tensorflow_datasets/graphs/ogbg_molpcba/dummy_data_generation.py
b2e476fa159fc3c13d7002a8ecb118da8cfe6922
[ "Apache-2.0" ]
permissive
okyanusoz/datasets
61c0ced07c420d7e900080e851890def74a37d94
8997c4140cd4fc145f0693787b1da78691930459
refs/heads/master
2023-05-31T23:19:30.153499
2021-05-06T19:56:49
2021-05-06T19:58:56
365,308,067
1
1
Apache-2.0
2021-07-04T11:15:13
2021-05-07T17:32:53
null
UTF-8
Python
false
false
5,857
py
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets 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 appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
b291b6821ed4551d1fdcf02916e9f06ea557911d
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/rstodomdef.py
36654a8825237533c59331f4ce19893f2fd4223e
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
7,315
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
650eca46e8488b3b1be6c2c3634562bac8f11ebd
dea6afdaf80acd721de10fa04d95eebd6a31dd92
/project/catvsdog/manage.py
0b765b97f06a4477e7c5c4585963d560d85c9fd8
[ "MIT" ]
permissive
NivaasSudhan/ImageClassifier
2a5c315cb2617bdf5e9a5ae9b5d5f9686175c8d9
2530f2d2bcc4fa80eb3bd72401be2093975cb7c5
refs/heads/master
2020-06-04T08:20:29.864016
2019-05-02T16:15:19
2019-05-02T16:15:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "catvsdog.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "sivakumar.sk11865.sk@gmail.com" ]
sivakumar.sk11865.sk@gmail.com
869e5e6d1ba1d032a90336d9750a171884ebe9bb
544cfadc742536618168fc80a5bd81a35a5f2c99
/test/vts-testcase/performance/fmq_benchmark/FmqPerformanceTest.py
9c86942206858bd8ab1af2c305aac3c3b0861e82
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,166
py
#!/usr/bin/env python # # Copyright (C) 2017 The Android Open Source Project # # 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 req...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
90dd4b65298b8d470047e7e458050de4efc5b91d
224832fed9b1cac2f7f2deac01ece91dcb61daca
/basistoknowofpython/utils.py
6c45f4613869a16d20108eec30e186fdabc51a96
[]
no_license
existenceE/into
aff0584c1e0b69df91292e4d2eb0dba83f373e3a
6e24bb7d49219a75799a42bcb09475d16fc36781
refs/heads/master
2020-03-12T23:18:34.357303
2019-04-08T01:50:16
2019-04-08T01:50:16
130,863,399
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
import requests from requests.exceptions import ConnectionError base_headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'Accept-Encoding': 'gzip, deflate, sdch', 'Accept-Language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=...
[ "mxn2013@gmail.com" ]
mxn2013@gmail.com
90b6358c72d334fbb7bf9e198741474cf275ee78
95863ef4e8dfcce24dc7e565950728ba4e95d702
/1864_문어숫자.py
5339e01164491f65f464dc43e8063596f4310f15
[]
no_license
choijaehyeokk/BAEKJOON
ee007cd1f06724872fb2359930b26f32a0d646da
1fa57407a2d981ddd851c135e81c9861afa2dd81
refs/heads/master
2023-05-18T01:59:00.753233
2021-06-12T15:50:12
2021-06-12T15:50:12
329,467,059
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
import sys octo = {'-':0, "\\":1, '(': 2, '@': 3, '?': 4, '>': 5, '&': 6, '%': 7, '/': -1} while True: number = sys.stdin.readline().rstrip() if number == '#' : break result : int = 0 squared = len(number) - 1 for i in range(len(number...
[ "enlqn1010@gmail.com" ]
enlqn1010@gmail.com
762b6bf6059f6a95ca732ba73720f6429b48e536
73726c3bd3db0bd4f2be54cde663887ccf36ffc9
/release/nrc/nrc.str.sencoten/extras/fix-wordlist.py
db4352ef358b297871e0894d64b8201d408e4f54
[ "MIT" ]
permissive
keymanapp/lexical-models
d04f88346595cd84b275304ee5875b58fc3728e2
7baa65560e31dee4e7426c0746db04de8fdb7465
refs/heads/master
2023-08-18T09:32:36.559842
2023-07-29T16:08:06
2023-07-29T16:08:06
167,696,050
10
36
MIT
2023-08-14T20:59:18
2019-01-26T14:10:41
HTML
UTF-8
Python
false
false
3,572
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ Takes Timothy Montler's original word list and cleans up some punctuation and other oddities. Requires Python 3.6! Maintainer: Eddie Antonio Santos <easantos@ualberta.ca> """ import re import sys from collections import Counter from unicodedata import normalize d...
[ "easantos@ualberta.ca" ]
easantos@ualberta.ca
13124f48308920f476e22586a8d783cf1f7bf1f4
c91d029b59f4e6090a523bf571b3094e09852258
/src/manutencao/migrations/0028_maquina_subtipo_maquina.py
c8d0013825ed4525ce4be0b5724f2b8e68475a39
[ "MIT" ]
permissive
anselmobd/fo2
d51b63ebae2541b00af79448ede76b02638c41f0
8e7f8f3d9a296c7da39d0faf38a266e9c6c162ab
refs/heads/master
2023-08-31T19:59:33.964813
2023-08-31T19:50:53
2023-08-31T19:50:53
92,856,677
1
0
MIT
2023-04-21T21:50:46
2017-05-30T17:04:27
Python
UTF-8
Python
false
false
549
py
# Generated by Django 3.2.16 on 2023-06-27 16:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('manutencao', '0027_subtipomaquina'), ] operations = [ migrations.AddField( model_name='maquina...
[ "anselmo.blanco.dominguez+github@gmail.com" ]
anselmo.blanco.dominguez+github@gmail.com
ae460c16a50e8396f68096535c766dea31045947
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Jjbbjqm3JuA6WnPYH_4.py
72cd5b4d03c993c4557441c097814b88f36022bb
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
""" Python offers some bit operations but not bit rotation. To complete that, create a function that takes three parameters: 1. `n`: Integer, which in binary representaion should be rotated. 2. `m`: Number of rotation steps that should be performed. 3. `d`: Boolean value; `True` = rotation right, `False` = ro...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d1f09137e6a93edbecd6292c9cda9aed0455787c
fc212767c6c838360b62a3dcd8030a1dfcbf62fc
/muddery/typeclasses/quest.py
f00baece53f9076addff4858a268c8c354b474d9
[ "BSD-3-Clause" ]
permissive
caibingcheng/muddery
24d6eba76358621736e6a3d66333361239c35472
dcbf55f4e1c18a2c69576fd0edcec4699c1519b9
refs/heads/master
2021-05-19T09:49:19.319735
2020-03-29T03:55:51
2020-03-29T03:55:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,743
py
""" Quests The quest class represents the character's quest. Each quest is a quest object stored in the character. It controls quest's objectives. """ from muddery.utils import defines from muddery.statements.statement_handler import STATEMENT_HANDLER from muddery.utils.dialogue_handler import DIALOGUE_HANDLER from ...
[ "luyijun999@gmail.com" ]
luyijun999@gmail.com
0059eb91d0521fd8b7bfae22cc1ed87e05b83d06
bbe7d6d59ef6d7364ff06377df9658367a19c425
/toon/LaffRestockGlobals.py
2f406c03038ccdf7e4c9db48a19782c5998df4c7
[ "Apache-2.0" ]
permissive
DedMemez/ODS-August-2017
1b45c912ad52ba81419c1596644d8db2a879bd9b
5d6214732e3245f63bfa250e3e9c881cc2dc28ad
refs/heads/master
2021-01-22T18:37:51.626942
2017-08-19T02:04:51
2017-08-19T02:04:51
100,762,513
0
8
null
null
null
null
UTF-8
Python
false
false
506
py
# Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.toon.LaffRestockGlobals from toontown.toonbase import TTLocalizer TIMER_SECONDS = 30 TIMER_END = 0 USER_CANCEL = 1 RESTOCK = 2 FULL_LAFF = 0 LESS_LAFF = 1 NOT_ENOUGH_MONEY = 2 RESTOCK_SUCCESSFUL = 3 RestockMessages = {FULL_LAFF: TTLocalizer.R...
[ "noreply@github.com" ]
DedMemez.noreply@github.com
d8ff95b4940030090f7512307fd1d8e564b433d9
bf426f52cf7462ba4b8b583f0fbd3f5585a73491
/System/Processes/pipe1.py
c9d12aeef4ed4ef4b79e8d897cd62ba46e3f716b
[]
no_license
CodedQuen/Programming-Python-by-Mark-Lutz
337b309f8ba98be3ac7585d0de0fc8d7ee4697f5
0397b29973ab24d476308b1f4f3c9befb3169a25
refs/heads/master
2022-06-09T21:19:01.891651
2020-05-01T01:57:13
2020-05-01T01:57:13
260,358,442
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import os, time def child(pipeout): zzz = 0 while True: time.sleep(zzz) # make parent wait msg = ('Spam %03d' % zzz).encode() # pipes are binary bytes os.write(pipeout, msg) # send to parent zzz = (zzz+1) % 5 # goto 0 a...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
750da96c70978fbfc860cf6ee91e3c4b53244b47
3cedb583e9f3dfcdf16aeba56a0b3ff7c6213e99
/python-codes/m2_curso_em_video_estruturas_de_controle/ex053.0.py
c98efcbece9d367788656fce4ebb4c1b8a29e3a5
[ "MIT" ]
permissive
lucasportella/learning-python
0f39ae2389db6d07b5b8c14ebe0c24f1e93c77c5
a9449dffd489e7e1f1619e3acef86bc2c64f0f14
refs/heads/master
2022-12-26T15:04:12.806300
2020-10-14T23:17:47
2020-10-14T23:17:47
260,685,503
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
frase = str(input('Digite uma frase: ')).lower() frase = ''.join(frase.split()) ordem = (frase[0:]) invert = (frase[::-1]) print('O inverso de {} é {}.'.format(ordem,invert)) if ordem == invert: print('A frase é um palíndromo!') else: print('A frase não é um palíndromo.')
[ "lucasportellaagu@gmail.com" ]
lucasportellaagu@gmail.com
6df7fc71c14848e919b9e1e58aa9fe61ac2eb521
be51250bcf59e1b47ed417c45e203c50aa233aae
/dojo-python-django/belt_review/belt_review/settings.py
90119b53b43cdd608621236219114343809c4347
[]
no_license
shoredata/dojo-python
4f064c76632bf94a385bb9f552562eb5640398b2
e7b7a542fa086088252ce92257f37c4b5eedd0c4
refs/heads/master
2020-05-02T22:07:31.547469
2019-03-28T17:44:06
2019-03-28T17:44:06
178,242,426
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
""" Django settings for belt_review project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "31630233+shoredata@users.noreply.github.com" ]
31630233+shoredata@users.noreply.github.com
80aa94307c14661cbd24724212a679915c2cfa12
ff4e8dce711aa148517fa84f63a1f724366a171b
/flask_unchained/di.py
740c00daf2670a286661d259f1762e71f44d552c
[ "MIT" ]
permissive
zilleanai/flask-unchained
2701810e35b0fae7845f51b92729dd1eac48ffab
5214ffd2194b7a4a85ed0d4f0993325ce0ea9e7c
refs/heads/master
2020-05-05T10:02:28.682842
2019-04-24T15:36:35
2019-04-24T15:36:35
179,927,601
0
0
null
2019-04-07T06:40:51
2019-04-07T06:40:51
null
UTF-8
Python
false
false
5,401
py
import functools import inspect from py_meta_utils import (AbstractMetaOption, McsArgs, MetaOptionsFactory, process_factory_meta_options, deep_getattr) from types import FunctionType from typing import * from .constants import _DI_AUTOMATICALLY_HANDLED, _INJECT_CLS_ATTRS from .string_utils ...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
555ce1a6f3d1c6afb1f01cf6d88d1772c027f3ae
eb051df6f1d1cf44631e1f195e27f6dfea823afb
/exploit_win/ms08-067.py
b14f9e27d71a6aec750450e3229ebc1ba23dcb56
[]
no_license
peterpt/pentest
033cd218e13b828d23d40829329d36ca1aad08a3
984f86991770f5831f359709b1ad5146d7c7fca2
refs/heads/master
2021-01-01T17:41:16.094526
2017-07-21T08:00:30
2017-07-21T08:00:30
98,135,385
3
1
null
2017-07-24T00:59:42
2017-07-24T00:59:42
null
UTF-8
Python
false
false
9,321
py
#!/usr/bin/env python import struct import time import sys from threading import Thread # Thread is imported incase you would like to modify try: from impacket import smb from impacket import uuid #from impacket.dcerpc import dcerpc from impacket.dcerpc.v5 import transport except ImportError, _: ...
[ "ekoz@protonmail.com" ]
ekoz@protonmail.com
25a75bb72329609f30bd9a1fbfd20d868d9f34e3
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_26598.py
2eb9bbfa891af4b9ab49277606a8566eeeb058b9
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
# what is the valid format for a tiff image in python img = Image() # any editing of 'img' img.save( 'mytiff.tif' )
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
56a06003a7d4e13a0a1df5911ed144ece2a5e24d
2e556e4955c978d3c6a7d8bed7f2820cdb5b79c9
/Registration-master/Registration-master/djangoProject/settings.py
25538c617e6b28adbd2b7e529e3240a753ee9ac1
[]
no_license
pankajmandrai/dj
53bd048418e72e04115e60608b00b4dcf011e74c
704a2db3725a924f067becf102314dbda5fe6fc9
refs/heads/master
2021-07-05T16:09:34.789693
2020-08-26T12:35:02
2020-08-26T12:35:02
159,200,628
0
0
null
null
null
null
UTF-8
Python
false
false
3,756
py
""" Django settings for djangoProject project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import...
[ "44706073+pankajmandrai@users.noreply.github.com" ]
44706073+pankajmandrai@users.noreply.github.com
56f6b1b823d407b6906ef58ed4253d6644c797de
f769e0a8e80f604502a63ae0073b8e95c771bad8
/blog_app/migrations/0001_initial.py
23fcf666b73af8227c423089468763eaac6d7552
[]
no_license
Justprince234/blog
6c318f005346086b2df28741e689a032646d1c9f
25004f3731045384dd423f8e6375a5e609fd5548
refs/heads/master
2023-01-23T14:07:36.119180
2020-08-06T00:57:07
2020-08-06T00:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
# Generated by Django 3.0.4 on 2020-08-06 00:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "princewilljackson@ymail.com" ]
princewilljackson@ymail.com
adb2a481442158dfde619b81bc1b8c682b60867c
894c973735c5ca727cab30c1b8df261c7e2ace0d
/Algorithms/binary_search.com/height.py
0943867ca0db2f1874e575d237e63be179763331
[]
no_license
Alferdize/Data-Structure-and-Algorithms
a587ae5851aee531deaf84f9ec65a7c55787dd55
5cbb1d3232acff55ac3f7508b5ace0785be540ac
refs/heads/master
2020-12-08T22:10:38.100156
2020-06-02T07:58:27
2020-06-02T07:58:27
233,109,088
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
def solve(self, root): # Write your code here def trv(node): # return height of a node if node is None: return [0, True] else: lh = trv(node.left) rh = trv(node.right) return [max(lh[0], rh[0])+1, abs(lh[0]-rh[0]) <= 1 and lh[1] and rh[1]] ...
[ "simonandrew132@gmail.com" ]
simonandrew132@gmail.com
2eaa9587ea6a782533000c3f004a04ad9eca294d
28dbe47aba287ed94ef7bba734203736bcc06249
/.history/dmac_20200624215944.py
1ab57704557de53e135d6e7caf6794d0e696efde
[]
no_license
ntung88/Trading_Algorithms
242fd816b19df95e02e9fcd8c5c91c862d2ede40
d96488b1754e3751f739d9c3f094a8f8dc54a0a9
refs/heads/master
2022-11-19T16:04:07.800344
2020-07-17T21:14:10
2020-07-17T21:14:10
276,239,640
1
0
null
null
null
null
UTF-8
Python
false
false
3,570
py
import yfinance as yf import numpy as np from scipy.stats import norm import pandas as pd from pandasgui import show from scipy.optimize import minimize, LinearConstraint import matplotlib.pyplot as plt def clean_data(data): incomplete_idxs = False for col in data.columns: incomplete_idxs |= np.isnan(d...
[ "nathantung@Nathans-MacBook-Pro.local" ]
nathantung@Nathans-MacBook-Pro.local
cb3cd54e149dd42a82b2dad5aeec501c5a656562
15a2a8c612545e61dab18a5d0673b1cef95a9638
/PublicReference/__init__.py
82941e8c99ef79b640ad36b6d713476bff476370
[]
no_license
YICHENG-LAI/DNFCalculating
6fa10b692580dad119446307508a3bf32ff46d1a
426375e4e0034e435a8f38974ce81323c8ea7f9c
refs/heads/master
2022-11-17T00:18:06.650791
2020-07-05T07:28:50
2020-07-05T07:28:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ------------------------------- # File : logging # DateTime : 2020/6/10 0010 17:21 # Author : Chen Ji # Email : fzls.zju@gmail.com # ------------------------------- import logging import pathlib import sys from datetime import datetime from .common import * ...
[ "wxh_email@yeah.net" ]
wxh_email@yeah.net
9aa2e753fb59ecffdf95d717a05dd89e187bb7ee
097e773da316eed83308ab51b055fa65965f44a4
/dos_sale/__init__.py
f997986fc97afc89d7c97e3b6e697e7626f2be8e
[]
no_license
AizenL/saas-persameds2
2ac5c65712f8cfce679d76874206dca61641571f
5c0352935606a8466de076df16842b137c2a9354
refs/heads/master
2021-05-05T11:09:40.847868
2016-11-25T06:45:54
2016-11-25T06:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
import company import sale import wizard import report import sale_terms import res_config import res_users
[ "budiiskandar11@gmail.com" ]
budiiskandar11@gmail.com
b87ec34ebc5eb20d3326b6375217e6a4fbef28da
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03993/s174234018.py
efbbb06f8b748863f15245d4f47834bb2258ed0e
[]
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
431
py
import collections import sys import numpy as np sys.setrecursionlimit(1000000000) from heapq import heapify,heappop,heappush,heappushpop MOD = 10**9+7 import itertools import math n = int(input()) a = list(map(int,input().split())) pair = [] for i in range(len(a)): koho = [i,a[i]-1] koho.sort() pair.appen...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
097177e4ebdbc50b8187568932b6ecfba043c174
f29f09f7edfa5f23eef77f25c251033fd9acd524
/exyr/__init__.py
b5762130c23db386613c47e9dd1fac76d2da2f4b
[ "BSD-3-Clause" ]
permissive
padenot/exyr.org
9d6a6ad11e2434b7ec34bcbb1fa19ce3551ecf99
47147f66f9804965625b75589e0af1e171ff111d
refs/heads/master
2021-01-21T15:38:26.408020
2015-03-09T10:26:22
2015-03-09T10:27:24
33,189,403
0
0
null
2015-03-31T14:15:42
2015-03-31T14:15:42
null
UTF-8
Python
false
false
4,772
py
import os import io import re import datetime import itertools import markdown as markdown_module import pygments.formatters import yaml import jinja2 import werkzeug from flask import Flask, render_template, send_from_directory, abort, url_for app = Flask(__name__) app.jinja_env.undefined = jinja2.StrictUndefined a...
[ "simon.sapin@exyr.org" ]
simon.sapin@exyr.org
bde2bc9a47e1e4e7654b19b19f84e0c4bacafc8f
2af9121ebeb04d684f10e00f95417e2e4bc8e42e
/src/customers/migrations/0006_auto_20200403_1626.py
771029c6ef063ac94c4516cf9606d6d13ae5286c
[]
no_license
ionescuig/freelance-manager
b323b3e37b2c0b948c911a5703dc028516a1aa5a
fefa91156269bc3cf5a5b0ff07e4f7c32097636a
refs/heads/master
2022-02-06T04:02:12.168861
2021-04-06T19:47:10
2021-04-06T19:47:10
233,611,952
0
0
null
2022-01-06T22:41:48
2020-01-13T14:16:35
HTML
UTF-8
Python
false
false
540
py
# Generated by Django 2.2.9 on 2020-04-03 15:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('customers', '0005_auto_20200403_1623'), ] operations = [ migrations.AlterF...
[ "ionescuig@yahoo.com" ]
ionescuig@yahoo.com
6136bb1259f043c17ccfaa5f9e1a527ca82fc2a5
0b134572e3ac3903ebb44df6d4138cbab9d3327c
/app/grandchallenge/algorithms/migrations/0003_algorithm_organizations.py
f56fa623e61d47e6365b66fdf191434d6a4aba50
[ "Apache-2.0" ]
permissive
comic/grand-challenge.org
660de3bafaf8f4560317f1dfd9ae9585ec272896
dac25f93b395974b32ba2a8a5f9e19b84b49e09d
refs/heads/main
2023-09-01T15:57:14.790244
2023-08-31T14:23:04
2023-08-31T14:23:04
4,557,968
135
53
Apache-2.0
2023-09-14T13:41:03
2012-06-05T09:26:39
Python
UTF-8
Python
false
false
643
py
# Generated by Django 3.1.1 on 2020-12-17 06:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("organizations", "0001_initial"), ("algorithms", "0002_auto_20201214_0939"), ] operations = [ migrations.AddField( model_...
[ "noreply@github.com" ]
comic.noreply@github.com
0d969a054e54ed20c523f3d9760a6e8b41c05955
7357d367b0af4650ccc5b783b7a59090fdde47bb
/basic_ML/regression/linear_regression_GD.py
d143b2502a79c99363e1bdfa20fad2b8b9e554de
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
""" linear_regression_GD.py (author: Anson Wong / git: ankonzoid) """ class LinearRegressorGD: def __init__(self): pass def fit(self, X, y): print("Fitting...") N, d = X.shape a_fit = np.random.normal(size=d + 1) loss_tolerance = 1e-2 fit_tolerance = 1e-4 eta = 1e-6 converge = False loss = 9e99 ...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
e0d5b3565126a2f451ea598240d070ee8af91585
c6554c9a24e267be33c4710257cfcdd1a99e0bfa
/trello_background_watchdog/users/apps.py
972269cc447d7e885bcdeef8a582a4029100913c
[ "MIT" ]
permissive
KNI-Genbit/trello-background-watchdog
10a1e4c56645c2270039ac60523632b9c991ec37
8c92ca02f7dfb8ab4d099f7d68105c57a5f269ca
refs/heads/master
2020-12-24T11:37:26.729809
2016-11-07T01:44:58
2016-11-07T01:44:58
73,024,143
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
from django.apps import AppConfig class UsersConfig(AppConfig): name = 'trello_background_watchdog.users' verbose_name = "Users" def ready(self): """Override this to put in: Users system checks Users signal registration """ pass
[ "naczelnik@jawnosc.tk" ]
naczelnik@jawnosc.tk
8a066663a7769306300c458b541d69434eeb3dd2
c91775afdc25f8897c6839cf8294869f3e928083
/PythonFiles/snowmass_cfg_Bj_14TEV_300_600_Conf3_29.py
f93e23db56aad5e026c4d96c89e1d3ab10246306
[]
no_license
Saptaparna/Miscellaneous
7e6df9cdfd10d4861e2e382b1837dbd4c26fb249
b954189d85e56a02fe257b5f5cbd779365719c00
refs/heads/master
2021-01-23T13:29:30.283308
2017-12-20T08:26:37
2017-12-20T08:26:37
42,525,018
0
0
null
null
null
null
UTF-8
Python
false
false
9,277
py
import FWCore.ParameterSet.Config as cms import FWCore.PythonUtilities.LumiList as LumiList import FWCore.ParameterSet.Types as CfgTypes # # Parameters that can be set via command line # when submitting Condor jobs # isMc_settable = True isSignalMc_settable = False def FindFile(name): fname = 'file.tx...
[ "saptaparna@gmail.com" ]
saptaparna@gmail.com
5cd48183cee6306905d2a31f466f14ab53553def
3c472baebce7f000051a06994fec905af6f3011e
/pytorch3d/vis/plotly_vis.py
20468767ce8f28ebeea6d98ae8a654eaee66e540
[ "BSD-3-Clause" ]
permissive
fdarmon/pytorch3d
06deddd8be533b07c21d8f6185b2f6930650fe08
a5cbb624c1b74ea319bcd9d40697d9bf9a6c0bcd
refs/heads/main
2023-08-16T10:51:33.003856
2021-09-30T12:09:12
2021-09-30T12:10:18
392,967,343
1
0
NOASSERTION
2021-08-05T08:36:53
2021-08-05T08:36:52
null
UTF-8
Python
false
false
37,567
py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import warnings from typing import Dict, List, NamedTuple, Optional, Tuple, Union import numpy as np import plot...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
d9990486c131d6860b3534c706736c4dbca3122d
be1c645dea7f35dea75a63d4984fdfdd31c15f3f
/tasking/projects/migrations/0003_initial.py
addf0ee2004edd7c6c72e5eec26244d05547ba9c
[ "MIT" ]
permissive
cmanallen/tasking
e46b2c5ec818d320fb59484751a2892e46e47489
0a613357148afdb4b55078c58429ec45bb60a436
refs/heads/master
2021-01-10T19:38:17.958677
2015-01-09T18:58:57
2015-01-09T18:58:57
22,313,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Project' db.create_table('projects_project', ( ...
[ "cmanallen90@gmail.com" ]
cmanallen90@gmail.com
c8df0ed0347cb08e59a10ee94aad147ddee9dd13
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/rotavirus_h.py
8472583417f88df4bf62726ade8d114f660668f9
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
"""Dataset with 'Rotavirus H' sequences. A dataset with 62 'Rotavirus H' sequences. The virus is segmented and has 11 segments. Based on their strain and/or isolate, these sequences were able to be grouped into 46 genomes. Many genomes may have fewer than 11 segments. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROG...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
e3a11ec0e82fb4e42dd5e2c5659ad9348ca7570d
068082a2946d0579f2cbe7ecaf4cf7eb3b1d2440
/blog/utils/ssh_utils.py
80f2f0a3b9e3e822ac63d266cab5cfd222ec441e
[]
no_license
StephenTao/blog
5fab2ff5d6566cff7599dfb1962dfcdd7e115d3a
a542dbca7c3effeb3834ff97ab002d70c561b2db
refs/heads/master
2021-01-10T15:46:40.733217
2016-02-25T07:27:31
2016-02-25T07:27:31
52,505,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,056
py
# -*- coding: utf-8 -*- # # Copyright 2014 - 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 requir...
[ "stephenhuang@augmentum.com.cn" ]
stephenhuang@augmentum.com.cn
bace035a5499c7b4d0426c9f4ebd72cbc008beda
0c8a267966edd260177106beb04daad8622ba07f
/enron_dataset_project/utils/data_loader.py
edfadc020bb3d3c6474c2b10bc2236100e8f748d
[]
no_license
BrianSipple/Machine_Learning
9665cec5ba9cc94e0dc06db346ddf18cff19d6a6
f0848183dba64000ff26a32ec45e97531d2bc758
refs/heads/master
2021-01-19T00:44:21.123062
2015-02-09T04:17:40
2015-02-09T04:17:40
29,520,532
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
#!/usr/bin/python """ Starting point for exploring the Enron dataset (emails + finances) loads up the dataset (pickled dict of dicts) the dataset has the form enron_data["LASTNAME FIRSTNAME MIDDLEINITIAL"] = { features_dict } {features_dict} is a dictionary of features associated with that person...
[ "Bsipple57@gmail.com" ]
Bsipple57@gmail.com
00727b41da3afe4197ea45fcf8a204ba6ab203bf
d17a8870ff8ac77b82d0d37e20c85b23aa29ca74
/lite/tools/search_support_ops.py
43c3c0704d72c6dc984c0e1e08a45c756ceb2e36
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle-Lite
4ab49144073451d38da6f085a8c56822caecd5b2
e241420f813bd91f5164f0d9ee0bc44166c0a172
refs/heads/develop
2023-09-02T05:28:14.017104
2023-09-01T10:32:39
2023-09-01T10:32:39
104,208,128
2,545
1,041
Apache-2.0
2023-09-12T06:46:10
2017-09-20T11:41:42
C++
UTF-8
Python
false
false
1,832
py
# -*- coding: utf-8 -*- import os import re def merge_sort_two_list(la, lb): la.extend(lb) la = list(set(la)) la.sort() return la ops_file = "../api/paddle_use_ops.h" kernels_file = "../api/paddle_use_kernels.h" result_file = "./support_ops_list.md" # search ops if os.path.exists(ops_file): pa...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
13f647498d3538ee8126e231a8e9d0709f98aea0
904f80808061d498e9c8aeaccee5de172b5e97e6
/pycharm/ch01/simple.py
85b20cb625347df3eab4d407216bcfe9d11a0cc5
[]
no_license
Orderlee/tjoeun
ad48691f439f47b5518f374ca3089c9d5f2e845e
e494b39ee4574076b52ab1cc2b93443ee0572bae
refs/heads/master
2022-12-23T07:35:07.481383
2020-09-27T14:20:30
2020-09-27T14:20:30
298,336,476
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
#리스트 languages = ['python', 'perl', 'c', 'java'] for lang in languages: if lang in ['python','perl']: print("%6s need interpreter" % lang) elif lang in ['c','java']: print("%6s need complier" % lang) else: print("should not reach here")
[ "61268230+Orderlee@users.noreply.github.com" ]
61268230+Orderlee@users.noreply.github.com
d7f76db6213139d3c1be81f8a41aa7059db3884f
015eb3f0b9a2da9f29c0d352515269bcce2fe6c1
/ftests/test_adapter_doctest.py
552b124d68915d2b9f66ac9481f8eff47332d64f
[]
no_license
aclark4life/worldcookery
4dcfe85263aa5072c280291a56c9256eda9af311
783fa5c87b3134cffb598cf001f878198d7a02e8
refs/heads/master
2021-01-21T11:39:53.507380
2015-07-14T00:55:50
2015-07-14T00:55:50
39,041,481
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
import unittest from zope.app.testing.functional import FunctionalDocFileSuite def test_suite(): return FunctionalDocFileSuite('adapter.txt', package='worldcookery.browser') if __name__ == '__main__': unittest.main(defaultTest='test_suite')
[ "aclark@aclark.net" ]
aclark@aclark.net
971b75c99c9fb21901ea2dbcf759a13fcf752243
cb6482b61e94355b9a86aec3361d00da6986a57e
/cme/protocols/ssh/database.py
101bfa1ad1fb8bc88bc910e793daf08a1db76567
[ "BSD-2-Clause" ]
permissive
fengjixuchui/CrackMapExec
27e0e8f3f36f743faee36d804d7fa2b448c2dc1d
5c19ba561bb965c742da3f25e78da38cb9c98297
refs/heads/master
2021-07-09T07:48:39.157251
2020-11-07T03:28:40
2020-11-07T03:28:40
211,487,169
1
1
BSD-2-Clause
2020-11-07T03:28:41
2019-09-28T11:03:15
Python
UTF-8
Python
false
false
532
py
class database: def __init__(self, conn): self.conn = conn @staticmethod def db_schema(db_conn): db_conn.execute('''CREATE TABLE "credentials" ( "id" integer PRIMARY KEY, "username" text, "password" text, "pkey" text )''') ...
[ "byt3bl33d3r@gmail.com" ]
byt3bl33d3r@gmail.com
d9c8c8f91715fa0ac2f064855581012efef25e66
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17s_1_02/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/neighbor/af_ipv4_neighbor_peergroup_holder/af_ipv4_neighbor_peergroup/af_neighbor_capability/__init__.py
2ab6524ab9068cc3e8af1638cec9ffd3ca147050
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,106
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
17d9b2ab5a5d863d58f1087b0dfa5cbb19b93bdb
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/sum-of-multiples/92415244c41c478682154c27e02bf76f.py
bb2e07edfffcb821967c2fa160abbf1d1282758c
[]
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
152
py
def sum_of_multiples(n, a = [3, 5]): if a[0] == 0: a = a[1:] x = [z for z in xrange(n) if any(z % i == 0 for i in a)] return sum(x)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1104c4bc6ece95e0b0911433e5adf740fc99583c
2a1b8a671aceda6bc446f8ce26400aa84fa444a6
/Packs/HealthCheck/Scripts/HealthCheckInstalledPacks/HealthCheckInstalledPacks.py
8ecc50700fb5b427672126d78e5821d2dbf71c44
[ "MIT" ]
permissive
demisto/content
6d4722d46f0ff0beea2748e9f7de585bf91a78b4
890def5a0e0ae8d6eaa538148249ddbc851dbb6b
refs/heads/master
2023-09-04T00:02:25.618032
2023-09-03T21:56:22
2023-09-03T21:56:22
60,525,392
1,023
1,921
MIT
2023-09-14T20:55:24
2016-06-06T12:17:02
Python
UTF-8
Python
false
false
1,701
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 packs = [] need_update = 0 incident = demisto.incidents()[0] accountName = incident.get('account') accountName = f"acc_{accountName}/" if accountName != "" else "" config_json = demisto.executeCommand("demisto-api-get", ...
[ "noreply@github.com" ]
demisto.noreply@github.com
8f5199759a9c531ba893da5defad1b9306f9b20b
377601f7a4e2895cb9326fadcd16e4e2d9809163
/rl_agents/agents/tree_search/olop.py
f437c120b74b1d71534fab15c1452b480982a620
[ "MIT" ]
permissive
itismouad/rl-agents
b5c5d4ae0f6f95eb116889feae235c99183f72ed
21424afbd2352e85b16321ca450f1dd21804881e
refs/heads/master
2020-04-05T00:34:04.732778
2018-11-05T16:14:15
2018-11-05T16:14:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,713
py
from gym import logger import numpy as np from rl_agents.agents.common import safe_deepcopy_env from rl_agents.agents.tree_search.abstract import Node, AbstractTreeSearchAgent, AbstractPlanner from rl_agents.agents.utils import bernoulli_kullback_leibler, hoeffding_upper_bound, kl_upper_bound class OLOPAgent(Abstrac...
[ "eleurent@gmail.com" ]
eleurent@gmail.com
b71259cb67ed7cd2d883d5d2c439e7d7fe573bb9
7b02411227428bb746e7622736dc006ee24ca925
/fhirclient/models/schedule_tests.py
c80ba9153e8e3a04811e656d7929e14d2c1f8756
[]
no_license
NCATS-Tangerine/CPKG
81c74abaec8de75ad769724e84d893dec117cf97
92b6079d61bdb975a0a4bc08879f56b686ff08ef
refs/heads/master
2022-12-10T17:55:52.586808
2019-08-20T20:19:56
2019-08-20T20:19:56
202,387,355
0
0
null
2022-12-08T06:01:57
2019-08-14T16:29:04
Python
UTF-8
Python
false
false
6,515
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.1.0-0931132380 on 2019-08-06. # 2019, SMART Health IT. import os import io import unittest import json from . import schedule from .fhirdate import FHIRDate class ScheduleTests(unittest.TestCase): def instantiate_from(self, filename): ...
[ "solbrig@jhu.edu" ]
solbrig@jhu.edu
67b00941e36b683f5df29fbf6fbb36619e1d5e5c
814568751dccd74638cee34a371bef0ccf739e72
/tfcc_code_generator/frontend/onnx/converter/random/randomuniformlike.py
097f1aaaa8ea17d04f6b326f86c7c1b9e0a3f680
[]
no_license
zjjnevergg/WeChat-TFCC
03010e67b4d8427e0b5174b06e8f198e1e515e27
fe76438cb9a632e65e999680f19443bfcf27957e
refs/heads/master
2023-06-07T02:16:49.703797
2021-07-06T23:05:38
2021-07-06T23:10:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,010
py
# Copyright 2021 Wechat Group, Tencent # # 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...
[ "yonderxiao@tencent.com" ]
yonderxiao@tencent.com
3bcca9730d2365475b7576a71cad7a213526426f
c180333a152eb3efd39ec1a6f92965c2124d41fd
/Dojo/Python_Stack/Django/019beltreview/main/apps/beltreview/views.py
00932d3e5ad1fc7105a4b527807487fc1f48fe7c
[]
no_license
AlexFloresGreer/Branching_and_Merging
3399a91dfb9f23e6d3ec163d40d004d27bc330ab
3d53fb814345d075a79a6078a63c9ef7ccfa09bc
refs/heads/master
2021-01-15T09:15:27.153736
2016-08-24T18:02:58
2016-08-24T18:02:58
64,349,980
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
from django.shortcuts import render, redirect, HttpResponseRedirect, HttpResponse from django.contrib import messages from .models import User, validationManager, Book, Author, Reviews import bcrypt import datetime # from datetime import datetime #CONTROLLER #Create your views here. def index(request): return rend...
[ "floresalexx@gmail.com" ]
floresalexx@gmail.com
ef7182c89a96a99b8b0d1d65b108fa9e69706f76
6b2a8b2f1517f79c15b9311c9513910020f09e85
/Python/module_test/a.py
d7a8d3fbb8341700f6aff2587888f6fc1f55903e
[]
no_license
mjjin1214/TIL
c465fc030e421c7e4bc1c77b32b2f739e39ece60
558aa3ff7991260ecf980ccdd6580b5a49c3f736
refs/heads/master
2020-04-12T07:12:28.696138
2019-05-17T02:12:37
2019-05-17T02:12:37
162,360,281
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
if __name__ == '__main__': print('a.py를 직접 실행') else: print('a.py가 import 되어 실행')
[ "moc0etan@gmail.com" ]
moc0etan@gmail.com
04b6738c1f8d3133e041129ed7c343eed119a818
82f5c7cfd8cb6fd45413a2b6b1a9964f44ef4280
/app/celery/process_sns_receipts_tasks.py
e0059311ef8c8a16cd5f4b83ca9944da532220e6
[ "MIT" ]
permissive
isabella232/notification-api
3fcb36ce980e55b9dd29f402b6b3b98affad78fe
d33727f06da5470ef1e93d49596f3c8a9d82e46c
refs/heads/master
2023-02-26T01:49:02.820339
2021-02-03T17:57:08
2021-02-03T17:57:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
from datetime import datetime, timedelta import iso8601 from celery.exceptions import Retry from flask import current_app, json from notifications_utils.statsd_decorators import statsd from sqlalchemy.orm.exc import NoResultFound from app import notify_celery, statsd_client from app.config import QueueNames from app.d...
[ "noreply@github.com" ]
isabella232.noreply@github.com
4fa4681bee9fc85c13957de195ed73f7792c1767
a438748ac89d53b19e7f4130529906896f059b25
/screenshot.py
a1e08857c7a7e48b8386fce11dd5587e18823e7d
[]
no_license
Alexfordrop/Basics
90ead9294727a823eb044e5f2f69d8f29133d150
eda400424b2c72bd5e01a6c7cb14ad7ae29477d4
refs/heads/master
2023-06-08T16:42:26.704163
2021-06-27T20:46:27
2021-06-27T20:46:27
329,421,907
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import pyscreenshot # Делаем скриншот image = pyscreenshot.grab() # Открываем его image.show() # Сохраняем результат image.save('screenshot.png')
[ "mishechkin.aleksei@mail.ru" ]
mishechkin.aleksei@mail.ru
2fa8dfb3baf192e4791ea320d829bb77cf81c25d
6a68b230964540bc3f7eb19a9a5adc9b218370c7
/pythondork.py
4c75f909e5e379bc800f2fd0b16fedc48abae9dd
[]
no_license
chuxuantinh/hack-tools
7705e485959d1612fee1786a80d98a3fe5500e20
c2203e8fa5c42b26e23b9c3db5e88ec7d11ea120
refs/heads/master
2023-01-09T03:13:40.074380
2020-10-31T19:17:37
2020-10-31T19:17:37
308,955,506
7
1
null
null
null
null
UTF-8
Python
false
false
28,565
py
#!/usr/bin/python # This was written for educational purpose and pentest only. Use it at your own risk. # Author will be not responsible for any damage! # !!! Special greetz for my friend sinner_01 !!! # Toolname : darkd0rk3r.py # Coder : baltazar a.k.a b4ltazar < b4ltazar@gmail.com> # Version ...
[ "50776038+chuxuantinh@users.noreply.github.com" ]
50776038+chuxuantinh@users.noreply.github.com
0d00dfcbbc4686aa4bd7b597411bc34b5ecd9a85
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v2/services/group_placement_view_service_client.py
3df846ef32e490f9be192d7c6c4eac504c240138
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
false
26,238
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
4122029051e78585fb8c490b0a580ada294ea359
dd3b8bd6c9f6f1d9f207678b101eff93b032b0f0
/basis/AbletonLive10.1_MIDIRemoteScripts/Launchpad_MK2/Launchpad_MK2.py
19500ec9e7c5b5afb5dfb901ce4e5aa6b4006b8f
[]
no_license
jhlax/les
62955f57c33299ebfc4fca8d0482b30ee97adfe7
d865478bf02778e509e61370174a450104d20a28
refs/heads/master
2023-08-17T17:24:44.297302
2019-12-15T08:13:29
2019-12-15T08:13:29
228,120,861
3
0
null
2023-08-03T16:40:44
2019-12-15T03:02:27
Python
UTF-8
Python
false
false
15,139
py
# uncompyle6 version 3.4.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) # [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Launchpad_MK...
[ "jharrington@transcendbg.com" ]
jharrington@transcendbg.com
2bd5ef21f938955203896fa257141bd71ad7227a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nngioga.py
a1c83974751233c981509bbf3014397a46d70f5e
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('KembFJ1.py', 1), ('CoolWHM3.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
64651ae9bb04c29c431e9db07206587412040f00
3960122369ba7d800c67b67b80eb1bf6e45991d2
/src/db.py
8b722155000d859f817a7bdd72f5f9f2e991fe52
[ "MIT" ]
permissive
sasano8/fastapi_docker_template
be5be17795889aad119e7bae64e9f96c8f05d11d
9f53ba7473da02f5fe9725c753a4ab491e42c855
refs/heads/main
2023-02-09T01:26:19.191254
2021-01-05T17:28:30
2021-01-05T17:28:30
327,011,895
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
from typing import Iterable from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import Session, sessionmaker from src.config import Env env = Env() engine = create_engine( env.connection_string, connect_args={"options": "-c timezone=utc"} ) SessionLo...
[ "y-sasahara@ys-method.com" ]
y-sasahara@ys-method.com
a7af41c66604f0976f9e794c90c374d94b7c6d57
73a0f661f1423d63e86489d4b2673f0103698aab
/python/oneflow/test/modules/test_lerp.py
b7e24ef94239c6cbf12d0894935451d28cf0932c
[ "Apache-2.0" ]
permissive
Oneflow-Inc/oneflow
4fc3e081e45db0242a465c4330d8bcc8b21ee924
0aab78ea24d4b1c784c30c57d33ec69fe5605e4a
refs/heads/master
2023-08-25T16:58:30.576596
2023-08-22T14:15:46
2023-08-22T14:15:46
81,634,683
5,495
786
Apache-2.0
2023-09-14T09:44:31
2017-02-11T06:09:53
C++
UTF-8
Python
false
false
2,747
py
""" Copyright 2020 The OneFlow 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 applicable law or agr...
[ "noreply@github.com" ]
Oneflow-Inc.noreply@github.com
794fac9144de51a57307ce51ed24e5f00f730c8b
b4ca99fdb2e7f5da8eb559adf647a0bc69e2d7c5
/StandardSpider/SpiderRulesMap/Kionix/CCT2016111700000001.py
074d306f1912b247908437c27da4f603b98efadd
[]
no_license
RoyalClown/MyPython
4f6b68e0f5f883c187cf8253df0c5feeab3de8fd
baf13612d8d36e519ce54825c4b664597789128a
refs/heads/master
2021-01-11T13:29:30.332280
2017-05-31T02:56:07
2017-05-31T02:56:07
81,513,648
1
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
""" @description: 来源:kionix 商城品牌:Kionix 目标类目:加速度计 商城类目:加速计/加速度传感器 来源网址:http://zh-cn.kionix.com/parametric/Accelerometers @author: RoyalClown @date: 2016/11/17 """ from DataAnalyse.dbDataGet.CCT2016111700000001_...
[ "421581115@qq.com" ]
421581115@qq.com
11290a88e0574d7b9ee83f07046678951fbd02e0
c577f5380b4799b4db54722749cc33f9346eacc1
/BugSwarm/scikit-learn-scikit-learn-408031993/buggy_files/sklearn/ensemble/gradient_boosting.py
c76a5722c521a4a81fe2401662130ca039576445
[]
no_license
tdurieux/BugSwarm-dissection
55db683fd95f071ff818f9ca5c7e79013744b27b
ee6b57cfef2119523a083e82d902a6024e0d995a
refs/heads/master
2020-04-30T17:11:52.050337
2019-05-09T13:42:03
2019-05-09T13:42:03
176,972,414
1
0
null
null
null
null
UTF-8
Python
false
false
92,121
py
"""Gradient Boosted Regression Trees This module contains methods for fitting gradient boosted regression trees for both classification and regression. The module structure is the following: - The ``BaseGradientBoosting`` base class implements a common ``fit`` method for all the estimators in the module. Regressio...
[ "durieuxthomas@hotmail.com" ]
durieuxthomas@hotmail.com
ffa3e6cfb7618f12eed9533793780495590dc085
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/Wellfleet-PPP-MIB.py
73e73a159a36592088506a180aac7e4d8e68b296
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
69,764
py
# # PySNMP MIB module Wellfleet-PPP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-PPP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:34:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
10fbe1a432cda8561005f8b40f857b44ebb11a2c
3312b5066954cbf96c79ef3e1f3d582b31ebc5ae
/colegend/welcome/migrations/0004_auto_20170612_1813.py
9576a7c2bacad72998d7e81b016770c35cbab74c
[]
no_license
Eraldo/colegend
d3f3c2c37f3bade7a3a1e10d307d49db225fe7f5
2e7b9d27887d7663b8d0d1930c2397c98e9fa1fc
refs/heads/master
2021-01-16T23:32:09.245967
2020-10-07T12:12:14
2020-10-07T12:12:14
21,119,074
4
2
null
null
null
null
UTF-8
Python
false
false
409
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-06-12 16:13 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('welcome', '0003_auto_20170612_1811'), ] operations = [ migrations.RenameModel( ...
[ "eraldo@eraldo.org" ]
eraldo@eraldo.org
8fbcd2cf853bd59d691c083c49f00413ee0611ba
fc889019a53a771d22f7c4c1f2aded028f2c19d3
/projects/10/analyzer/tokenizer.py
61642462a8df44d50e900922406c354818466b0e
[]
no_license
MattSegal/nand2tetris
ad077e9d70e1b68ad30b8ba2941afc0020ebbc4e
19fc14c97bdaddcf92cd4d7a750788fb44ece76e
refs/heads/master
2021-07-23T19:05:15.858335
2017-11-04T03:49:18
2017-11-04T03:49:18
105,969,609
1
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
""" Use tokenize() to convert a string into a list of tokens """ import re from constants import KEYWORDS, SYMBOLS MULTILINE_COMMENT_REGEX = r'\/\*[\s\S]*?\*\/' COMMENT_REGEX = r'\/\/[\s\S]*' IDENTIFIER_REGEX = r'([A-Z|a-z|_]){1}([A-Z|a-z|0-9|_])*' WHITESPACE = (' ', '\t', '\n', '\r') def tokenize(text): tokens ...
[ "mattdsegal@gmail.com" ]
mattdsegal@gmail.com
edcabe53d45c2d378cce2baf7bfdbcddfd9d9df5
bfd68f439aff62ccba40c1d4e57f2e7a9f99c523
/rbf/interpolate.py
91d3040b5d32d4bdb1356e2e4f832a8c63200060
[ "MIT" ]
permissive
ivan-pi/RBF
6225c7ea267929f4866e62b227495985a6d62828
675f841bc325848f019276a980773145783d7ca4
refs/heads/master
2020-06-20T15:20:58.519211
2019-09-09T01:42:06
2019-09-09T01:42:06
197,162,365
1
1
MIT
2019-07-16T09:22:50
2019-07-16T09:22:50
null
UTF-8
Python
false
false
8,875
py
''' This module provides a class for RBF interpolation, `RBFInterpolant`. This function has numerous features that are lacking in `scipy.interpolate.rbf`. They include: * variable weights on the data (when creating a smoothed interpolant) * more choices of basis functions (you can also easily make your own) * analy...
[ "treverhines@gmail.com" ]
treverhines@gmail.com
b67092e49892c7d5343b8d8f98fdf79fa8b54b27
867846ed1df7f560ccc473413a70020155f66ad4
/generatePermutedPWOptCorners.py
08289c0cb16d8075f38a44af6751f31eb82e1877
[]
no_license
abhineet123/PTF
84297bf5aa95320dbc2d34f422f2dd563ff65a58
0c63f7f8251af0d70c329b2cef53694db76c1656
refs/heads/master
2023-08-18T18:34:40.513936
2023-08-09T17:28:51
2023-08-09T17:28:51
157,794,848
5
1
null
2021-05-16T18:48:32
2018-11-16T01:24:05
MATLAB
UTF-8
Python
false
false
23,579
py
from distanceGrid import * import time import os from Misc import * import itertools if __name__ == '__main__': db_root_dir = '../Datasets' track_root_dir = '../Tracking Data' img_root_dir = '../Image Data' dist_root_dir = '../Distance Data' track_img_root_dir = '../Tracked Images' params_dic...
[ "asingh1@ualberta.ca" ]
asingh1@ualberta.ca
54e9efa8d836012a74c95dc1cf0e05f3a7f3f5df
e9539de5b8832e2a09365917fe201a945bf5d99b
/leetcode208.py
3e237ded4dc2dc59a6010c25b63a700d4033bc33
[]
no_license
JoshuaW1990/leetcode-session1
56d57df30b21ccade3fe54e3fd56a2b3383bd793
6fc170c04fadec6966fb7938a07474d4ee107b61
refs/heads/master
2021-09-20T16:18:15.640839
2018-08-12T09:40:51
2018-08-12T09:40:51
76,912,955
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
class Node(object): def __init__(self): """ Initialize the Node """ self.children = dict() self.end_flag = False class Trie(object): def __init__(self): """ Initialize your data structure here. """ self.root = Node() def insert(self...
[ "Jun.Wang@tufts.edu" ]
Jun.Wang@tufts.edu
cc147c8e7208c46d21c7655a01af06db30b3d062
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/vcFgGJHxhTwRiLK5d_20.py
31f38be12a5eac92044e973c9346dc08a109c802
[]
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
252
py
def smallest(n): l = [i for i in range(2, n+1)] for i in range(len(l) - 1): for j in range(i + 1, len(l)): if l[j] % l[i] == 0: l[j] = int(l[j] / l[i]) p = 1 for i in l: p *= i return p
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
79dbeaa1fe6409f1252a5cbba100fd25f03d97f8
d6a2704c52a76f26a0a8a2d6353049eefc8de2ae
/surveil/api/handlers/config/contact_handler.py
de580befaa000758f48e82fb69f0b2d63cd2527b
[ "Apache-2.0" ]
permissive
mtamilselvan/surveil
3e20cf7993f92b5a1f439b47b6744bc4ce76b032
81f8950e07817aa92fc8fc6aa8362f296bb1d236
refs/heads/master
2021-01-22T16:10:41.703003
2015-08-19T18:57:25
2015-08-25T19:05:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
# Copyright 2014 - Savoir-Faire Linux 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 ...
[ "alexandre.viau@savoirfairelinux.com" ]
alexandre.viau@savoirfairelinux.com
65047277eb0dced317298e81428c59f6bbd7e779
eb9c2f83a918c6d1511f211a1ca8154eca0d67d6
/buttontest.py
d47af37e4792158dd59ed4ed3f38c8490d81ece5
[ "MIT" ]
permissive
winxin/micropython-tft-gui-
34a65ae7312b837727581dd11af3aed936fc3212
59b812b81be70e25d2ffd816ce9b544ea561e691
refs/heads/master
2021-01-11T00:02:38.129826
2016-10-12T15:25:53
2016-10-12T15:25:53
70,766,239
0
0
null
null
null
null
UTF-8
Python
false
false
6,565
py
# buttontest.py Test/demo of pushbutton classes for Pybboard TFT GUI # The MIT License (MIT) # # Copyright (c) 2016 Peter Hinch # # 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 rest...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
06e3793237cc1a2fc25d0272fd547f6b179590c1
3755ad6796e382a2d0e86ddcf550e064ce64bd90
/Models/User/Cart.py
e7615df28873e32e143d45ff651abe773e53b6fc
[]
no_license
elaineo/lemmiwink
95c2c06ec08ea7b5bc33ea9da921ad88f48d74ec
3686601bdd88f9e3f56921c04577843fc09b1d9d
refs/heads/master
2016-09-12T16:53:57.328381
2015-03-09T05:20:37
2015-03-09T05:20:37
59,610,505
1
1
null
null
null
null
UTF-8
Python
false
false
1,997
py
from google.appengine.ext import ndb from Utils.data.defs import default_shipping import logging import json # Shopping Cart # ########## class CartItem(ndb.Model): item = ndb.KeyProperty() quantity = ndb.IntegerProperty() class Cart(ndb.Model): cart_item = ndb.StructuredProperty(CartItem, repeated=True...
[ "elaine.ou@gmail.com" ]
elaine.ou@gmail.com
95dac62e17b1a6a34ca3905f90d8e6ce647a29bd
a69564378f1a3764e4f5ba8a6e377d8200dd65be
/Antitheft-Client/controllers/servomotor/runservo.py
a7ee3444b5fc4290f5429372ec9b6147a0d47377
[]
no_license
rjpaje/Antitheft-Pro
023c61936f883d3c81b9ecff4c89c0b5a1b0b3ef
88f2d3eaf92674b9d0e2223f868ff8817cfa9ec1
refs/heads/master
2023-03-16T21:23:51.420840
2018-12-09T10:22:57
2018-12-09T10:22:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from Tkinter import * import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.OUT) pwm = GPIO.PWM(18, 100) pwm.start(0) pwm.ChangeDutyCycle(float(500) / 10.0 +2.5)
[ "prateekagrawal89760@gmail.com" ]
prateekagrawal89760@gmail.com
c4f06bd9e8bbdbc93653f7dbb88fae4f51d4da96
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/224/usersdata/268/108761/submittedfiles/gravitacional.py
d324f826a148322ebb4a53c42c6b4108f1ebc766
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
# -*- coding: utf-8 -*- import numpy as np import funcoes #ENTRADA dimensao = input('Digite a dimensao das matrizes: ') matrizA = input('Digite a Matriz A como uma única linha entre aspas: ') matrizD = input('Digite a Matriz D como uma única linha entre aspas: ') alfa = input('Digite o valor de alfa: ') #PREPARANDO A...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
dfbcba3dddb7c4b3c181d9ae6d094a3a964289b1
abcc3c93b9273d16918d87efe4e4cd9ddf5df375
/tests/test_blockchain.py
fb1939c98c90ebb0566b8ec4c5b503ebbe26512c
[]
no_license
davebryson/py-evm
87a3f724a865492a0d5a285068b7f515a3292082
21e2c5787487f9518a52ed1cb300fa0d582ef49f
refs/heads/master
2021-01-22T20:18:08.279983
2017-05-01T15:56:42
2017-05-01T15:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,012
py
import pytest import json import os from trie.db.memory import ( MemoryDB, ) from eth_utils import ( keccak, ) from evm.exceptions import ( InvalidTransaction, ) from evm.vm.evm import ( MetaEVM, ) from evm.vm.flavors import ( MainnetEVM, ) from evm.vm.flavors.mainnet import ( FRONTIER_BLOC...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
3a49df6254c54bf8eb19cec5a0974ed4da12d331
91c1032d85b6cefcc7f527e0f44ec87d3984c86d
/clodius/tiles/bigwig.py
2ea011f76c9f1793c0adcaa55e614cd616d4de9f
[ "MIT" ]
permissive
mildewey/clodius
e6bf1e6b71056ad2919d53078f1897914a935e4d
a2f78ebc0c61c49ea1565ad2815a071f8a636821
refs/heads/master
2020-04-14T14:10:49.117527
2018-12-10T04:17:38
2018-12-10T04:17:38
163,888,739
0
0
MIT
2019-01-02T20:57:21
2019-01-02T20:57:21
null
UTF-8
Python
false
false
8,742
py
import bbi import clodius.tiles.format as hgfo import cooler import functools as ft import logging import numpy as np import pandas as pd import re import time from concurrent.futures import ThreadPoolExecutor MAX_THREADS = 4 TILE_SIZE = 1024 logger = logging.getLogger(__name__) def get_quadtree_depth(chromsizes): ...
[ "pkerpedjiev@gmail.com" ]
pkerpedjiev@gmail.com
63c1c0c395d54df439e4bf1913f47bc7853818cb
a667d52d9be08aab9f101952dfede0e29a43b012
/src/apps/escuela/serializers.py
4c313394bd349305f85355edee4ee1ce501593a6
[]
no_license
Epatzan/app-suni
50b04bbf58417e8cfba77a5e00c2d6a5a6537c16
b7f9eaf62942797cd4f222ea2fb82348304aeaf4
refs/heads/master
2023-08-21T13:15:44.826842
2018-03-15T14:00:30
2018-03-15T14:00:30
123,631,541
0
0
null
2018-03-02T21:13:55
2018-03-02T21:13:55
null
UTF-8
Python
false
false
365
py
from rest_framework import serializers from apps.main.serializers import DynamicFieldsModelSerializer from apps.cyd import models class EscuelaSerializer(DynamicFieldsModelSerializer, serializers.ModelSerializer): url = serializers.URLField(source='get_absolute_url', read_only=True) class Meta: model...
[ "jinchuika@gmail.com" ]
jinchuika@gmail.com
f1e41e4180ace34969719ce4a0979ed69c849bf0
c6b9b9f2fbc6c62e7a86b02718954661af3c564f
/configs/liteflownet2/liteflownet2_pre_M6S6_8x1_flyingchairs_320x448.py
dfc4b9fd44226831466bee6f86226065d2f410c2
[ "Apache-2.0" ]
permissive
open-mmlab/mmflow
a90ff072805ac79cbc0b277baded1e74d25cccf0
9fb1d2f1bb3de641ddcba0dd355064b6ed9419f4
refs/heads/master
2023-05-22T05:19:48.986601
2023-01-10T16:05:18
2023-01-10T16:05:18
428,493,460
808
110
Apache-2.0
2023-09-05T13:19:38
2021-11-16T02:42:41
Python
UTF-8
Python
false
false
575
py
_base_ = [ '../_base_/models/liteflownet2/liteflownet2_pre_M6S6.py', '../_base_/datasets/flyingchairs_320x448.py', '../_base_/default_runtime.py' ] optimizer = dict(type='Adam', lr=1e-4, weight_decay=0.0004, betas=(0.9, 0.999)) optimizer_config = dict(grad_clip=None) # learning policy lr_config = dict( ...
[ "meowzheng@outlook.com" ]
meowzheng@outlook.com
4376b7c1700cdf0430a7a502555ef384c8170cdc
26f6313772161851b3b28b32a4f8d255499b3974
/Python/ImplementRand10()UsingRand7().py
90120c8e16207a9b88bfef021752cce9828fa789
[]
no_license
here0009/LeetCode
693e634a3096d929e5c842c5c5b989fa388e0fcd
f96a2273c6831a8035e1adacfa452f73c599ae16
refs/heads/master
2023-06-30T19:07:23.645941
2021-07-31T03:38:51
2021-07-31T03:38:51
266,287,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
""" Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer in the range 1 to 10. Do NOT use system's Math.random(). Example 1: Input: 1 Output: [7] Example 2: Input: 2 Output: [8,4] Example 3: Input: 3 Output: [8,1,10...
[ "here0009@163.com" ]
here0009@163.com
7d9d346efce5723b35a6dbd41459ff6cb08f6ab4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/CK6mdHahiJBjuiDBi_1.py
6eedc7e7417a55b5459ae8bddb7f4d073c58e9f9
[]
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
1,275
py
def can_fit(weights, bags): class Bag: ​ def __init__(self, maxweight, ident, inventory = []): self.i = inventory self.w = 0 self.id = ident ​ for item in inventory: self.w += item.w self.mw = maxweight self.available = self.mw - self.w ​ def add(self, item)...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
8fa845bf5ce0f4a3b269d6f584180218db85e0de
3034063bd441fe95e63c91cdcf7c72d338a9d31a
/Car.py
8a88806a628336b9034572650a2abae20af933c7
[]
no_license
Nick-FF/Python-Basics
3cbb9f3b1eea9d658da85980e46108167774667e
62331595feac71d9281185854c371a60c2052410
refs/heads/main
2023-02-15T08:14:12.941817
2020-12-26T08:37:39
2020-12-26T08:37:39
318,616,397
0
0
null
2021-01-02T16:49:55
2020-12-04T19:30:01
Python
UTF-8
Python
false
false
1,369
py
class Car: speed = 60 color = "red" name = "DeLorean" is_police = False def go(self): print("Машина поехала") def stop(self): print("Машина остановилась") def turn(self, d): if d: print("Поворот направо") else: print("Поворот налево"...
[ "johndoe@example.com" ]
johndoe@example.com
d4858215cb9b05a9022c4ddd6844d18004f1b2bf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02582/s819540528.py
2bc57e189ac1bdc807d36421436649959d404d11
[]
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
122
py
s = input() t = s.count('R') if t == 2: if s[1] == 'R': print(2) else: print(1) else: print(t)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
36b5df914898f36d533fc5f2dcfc681116286cb4
ac81f7f0160571a7e601d9808d424d2c407573b6
/0412-Fizz-Buzz.py
7d40aaf4c82886d07ef3ecdc6df728e7cad20b62
[]
no_license
nirmalnishant645/LeetCode
61d74c152deb0e7fb991065ee91f6f7102d7bbc6
8bdb4583187ee181ca626063d7684dcc64c80be3
refs/heads/master
2022-08-14T04:10:23.110116
2022-07-13T06:27:18
2022-07-13T06:27:18
227,960,574
53
19
null
2021-01-16T17:26:30
2019-12-14T03:31:54
Python
UTF-8
Python
false
false
906
py
''' https://leetcode.com/problems/fizz-buzz/ Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz”. For numbers which are multiples of both three and five output “FizzBuzz”. E...
[ "nirmalnishant645@gmail.com" ]
nirmalnishant645@gmail.com
1832cca41291549f38e2daaaa33acf94949f366b
090b8ab6d3e6c4b48bd697520e6538f22e3c3791
/saleor/graphql/product/utils.py
8d196734f3d095e086772aed403548f955fa043d
[ "BSD-3-Clause" ]
permissive
pilotbe2man/saleor
4e887f7bde83e4f1cddf93d3b6c52736a07e2164
c14de2dbe00b4df90c6385feb75d0a4c862e2b0d
refs/heads/master
2022-12-24T14:55:31.031047
2018-09-30T15:05:46
2018-09-30T15:05:46
150,977,187
2
2
BSD-3-Clause
2022-12-08T02:51:42
2018-09-30T15:01:59
Python
UTF-8
Python
false
false
2,304
py
from django.utils.text import slugify from ...product.models import Attribute, AttributeValue, ProductVariant from ...product.utils.attributes import get_name_from_attributes def attributes_to_hstore(attribute_value_input, attributes_queryset): """Transform attributes to the HStore representation. Attribute...
[ "be2man@hotmail.com" ]
be2man@hotmail.com
e06893e53e298539dab6cf5265a2ab60cde60436
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/settings/view.py
22997cab3ca8f61263507658a33886b6a02040e9
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
1,656
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """View for Settings.""" import logging from django.utils.decorators import method_decorator from django.utils.translation import ugettext as _ from django.views.decorators.cache import never_cache from rest_framework.response import Response from...
[ "noreply@github.com" ]
luisfdez.noreply@github.com
d3a17a6e79a74eebc26cb4885b5ad298a3029e70
3a9793b9def9f8e092d803b86f207fc05e0b2501
/tests/parsers/test_detectors.py
7cecbc31449d729007ad26ba5e611948163b4014
[ "MIT" ]
permissive
i6ww/doc2dash
b53fa367115567ddef100046932bc442027285de
b44ce7e6889c61c61b1d8a34e05739eb09d08c26
refs/heads/master
2020-03-24T21:31:28.258014
2018-07-28T15:55:07
2018-07-28T15:55:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
from __future__ import absolute_import, division, print_function import os import pytest from mock import MagicMock import doc2dash from doc2dash.parsers import DOCTYPES def test_get_doctype(monkeypatch): monkeypatch.setattr(doc2dash.parsers, "DOCTYPES", []) assert doc2dash.parsers.get_doctype("foo") is ...
[ "hs@ox.cx" ]
hs@ox.cx
af77b39aa2feb4a05412770ae9a4224fd692484e
d225ec04301d8abd681d68ad8d7316befc404bc1
/ZShape/EffAcc/python/scans/EB_mean_Apr111042_cfg.py
bc73b06dbcde01002f1d133ed6ee7201a1cdbc89
[]
no_license
UMN-CMS/ZShape_Analysis
372ea0083d6c0bda2dbba30322ef01269501afa8
83bff158b21210b048afbcff0af1e803780ad4bd
refs/heads/master
2020-06-07T10:34:40.227684
2013-12-11T16:59:25
2013-12-11T16:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Zefficiency") process.TimerService = cms.Service("TimerService") process.load('FWCore.MessageService.MessageLogger_cfi') process.MessageLogger.cerr.FwkReport.reportEvery = 1000 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(Tr...
[ "klapoetke@physics.umn.edu" ]
klapoetke@physics.umn.edu
1803e46654cf81ce4a77f0197e7dd5dd24f0c2a9
38dc0477ba472146f4fabe109826198705144d03
/fastai/models/convert_torch.py
f3568545aeca3f11277ddcf449da83904281f13c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
dana-kelley/DeOldify
ad54a3a44e4a8d90f00ef3d7ee20e56b14683f47
fa186f251b8a7dbc120d8a5901fdd0d065c60eec
refs/heads/master
2020-05-17T04:52:54.795176
2019-12-11T05:53:01
2019-12-11T05:53:01
183,519,547
68
10
MIT
2020-02-18T15:44:14
2019-04-25T22:41:00
Python
UTF-8
Python
false
false
11,822
py
from __future__ import print_function import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.autograd import Variable from torch.utils.serialization import load_lua import numpy as np import os import math from functools import reduce class LambdaBase...
[ "jsa169@gmail.com" ]
jsa169@gmail.com
6ad11f003a295e084f16f9a887e678e895d55862
99df40595f37a65fa5c062af6e29050b44c387fa
/ukpsummarizer-be/cplex/python/docplex/docplex/mp/mfactory.py
80c39908c23371fa9e3cac0519ebb0cb03a48207
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
AIPHES/vldb2018-sherlock
fba7c9554761989a1e0fe7b5347c817ea239de16
3746efa35c4c1769cc4aaeb15aeb9453564e1226
refs/heads/master
2020-04-05T00:48:22.951462
2018-11-16T16:34:03
2018-11-16T16:34:03
156,411,181
1
0
Apache-2.0
2018-11-16T16:34:05
2018-11-06T16:12:55
Python
UTF-8
Python
false
false
36,120
py
# -------------------------------------------------------------------------- # Source file provided under Apache License, Version 2.0, January 2004, # http://www.apache.org/licenses/ # (c) Copyright IBM Corp. 2015, 2016 # -------------------------------------------------------------------------- # gendoc: ignore...
[ "avinesh@aiphes.tu-darmstadt.de" ]
avinesh@aiphes.tu-darmstadt.de
806b7a153f75832be42ea6603d218462d6b52e7a
6a01efb7f00ee2f066fb34e0107a95fa90ed6daa
/venv/bin/pyrsa-verify
0b0149f6317ce764fded4be72348a767451b5eb2
[]
no_license
a-soliman/OAuth2.0
186c489d8ffc7af670c7e579eed7a930fc801117
35004492f50e423d5327fd875b380bf40bf22e5d
refs/heads/master
2020-03-18T06:58:16.437945
2018-05-23T17:52:32
2018-05-23T17:52:32
134,424,155
0
0
null
2018-05-22T14:04:03
2018-05-22T14:04:03
null
UTF-8
Python
false
false
285
#!/Users/ahmed/Documents/ahmed/Nano-degree/python/udacity/python/oauth/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from rsa.cli import verify if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(verify())
[ "ahmed.soliman@programmer.net" ]
ahmed.soliman@programmer.net
63d5b4a3831d979aaa367af861d0a8adfdc863f5
522d963777ed65590c5c79a60c2ae76a973eefcb
/localization/InsKalmanTutorials-master/6-3D-cur-att,ab,gb-pos,speed/ins_ekf.py
1d01311f4908a36ddeecad1b4e648f2b47c0bd73
[]
no_license
ndkjing/utils
a0818a8464330f69be37b05c3e08b3d35635e8e3
0d6f2ae4e416740e08686d05615acf9bb946b52c
refs/heads/master
2023-08-14T17:00:23.595306
2021-10-09T00:33:42
2021-10-09T00:33:42
321,284,097
0
0
null
null
null
null
UTF-8
Python
false
false
18,525
py
import numpy as np import utils import math # State prediction function def exec_f_func( x_vect, u_vect, period ): # Old state data pos_gx = x_vect.item( ( 0, 0 ) ) pos_gy = x_vect.item( ( 1, 0 ) ) pos_gz = x_vect.item( ( 2, 0 ) ) speed_gx = x_vect.item( ( 3, 0 ) ) speed_gy = x_vect.item( ( 4, 0 )...
[ "ndkjing1@gmail.com" ]
ndkjing1@gmail.com
9bcfdb32832995054074ac4475d1d5131b98e968
dbc3e853a1aa22db5d8a58c8dab04108fd82d38f
/core/data_migration/2_product.py
c9de4ee5be45980bfd521a978cd3659ab3ecd5d2
[]
no_license
izonenav/subul
a6f1baeccec936f91a27ce0ddbb098e13c385b9a
8128666d4e14878cfb04e7a35eb7e1178c61756e
refs/heads/master
2022-11-13T04:47:40.943093
2020-07-14T02:29:09
2020-07-14T02:29:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,087
py
import os from decimal import Decimal import cx_Oracle import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "subul.settings") django.setup() # cx_Oracle 한글처리 시작 from core.models import Location from product.models import ProductCode, ProductMaster, ProductEgg, Product, ProductAdmin os.environ["NLS_LANG"] = ...
[ "sugohaseyo93@gmail.com" ]
sugohaseyo93@gmail.com
24f5e0b0371e465500e8a5e374f5db1356e3c25b
f8aec64ddb57bdef499d2cc34808da893a50347b
/test/slack/event_handlers/test_action_menu.py
c6cf814214328058eb7b49f859d3ecb46549def0
[]
no_license
AllenAnthes/pyback-rewrite
ba6060427a81aa01b986a9974a384bdbb635df7c
d944e43cbca4d9970b3f769d014e4a36d8c1840f
refs/heads/master
2020-03-26T06:58:43.482204
2018-08-25T23:09:51
2018-08-25T23:09:51
144,630,841
1
0
null
null
null
null
UTF-8
Python
false
false
826
py
import pytest from pyback.slack import event_handlers from pyback.slack.event_handlers import action_menu @pytest.fixture def slack_client(mocker): return mocker.patch.object(event_handlers, slack_client.__name__) @pytest.fixture def args(): return { 'actions': [ {'name': 'slack'} ...
[ "abanthes@gmail.com" ]
abanthes@gmail.com
63ed6cfaf01c4f14a4bf704392d66a10d99ccaaf
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/intentions/convertImport/absoluteToRelativeInInitFile/pkg/__init__.after.py
c692121197ae1b614458b3a9ce0bbb91482a71c8
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
20
py
from .lib import foo
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
77f528ef69cbcf76bb471409b44bba15655678c5
e3a584642c5442b27e928bbeafe8fcdbed7a14f1
/evidently/tabs/classification_performance_tab.py
878dbc47f9651bc8a79b07f7ede2e60f1400c7c2
[ "Apache-2.0" ]
permissive
Ben-Epstein/evidently
9c7bed144944dce13ac6be15c963c852887c05f4
b84c3d9f5710500e68aaf0439fb6e6b438277600
refs/heads/main
2023-03-06T18:35:44.184598
2021-02-22T18:44:21
2021-02-22T18:44:21
341,299,737
0
0
Apache-2.0
2021-02-22T18:36:51
2021-02-22T18:36:50
null
UTF-8
Python
false
false
1,981
py
#!/usr/bin/env python # coding: utf-8 from typing import List from evidently.tabs.base_tab import Tab from evidently.widgets.class_target_name_widget import ClassTargetNameWidget from evidently.widgets.class_ref_quality_metrics_widget import ClassRefQualityMetricsWidget from evidently.widgets.class_prod_quality_metri...
[ "emeli.dral@gmail.com" ]
emeli.dral@gmail.com
0ded39e25dfee766d2ecc7075bb956341b0d9802
73ab7da4f79d5d0ed6ce4b9fa1240b1dd7e0a2e5
/operators/apis/hyper_kernel.py
6f5b452f12b916c1d3c170711d49853360d67c8a
[]
no_license
winkywow/tframe
e5acc73304419fde3981824e9e1a6ae6dbba5bae
bd0cfa699b937577eb05bde5639879582a5e0c3f
refs/heads/master
2023-03-19T23:01:27.108323
2021-03-22T03:10:19
2021-03-22T03:10:19
283,223,603
0
0
null
2021-03-22T03:15:04
2020-07-28T13:40:11
Python
UTF-8
Python
false
false
9,586
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf from tframe import hub from .neurobase import RNeuroBase class HyperKernel(RNeuroBase): """Provide kernels for hyper RNNs""" def _get_hyper_kernel(self, kerne...
[ "willi4m@zju.edu.cn" ]
willi4m@zju.edu.cn
107ecaccefeefdcd0ccf4e47ffb2d7beeef582d5
06836fd97c9d8ce941b24980a48a574aa93873fe
/phoenix/solrsearch/views/solrsearch.py
ae556b3b06f7d829f60bd4777c583e279aab9392
[ "Apache-2.0" ]
permissive
xhqiao89/pyramid-phoenix
3c469848e9b3ff2283d124826bd42a7c02dfa3d6
4ecd1f34547c0c314d0aea5d54431f6f0ffbab53
refs/heads/master
2020-12-30T16:40:05.888064
2017-05-09T16:26:33
2017-05-09T16:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from pyramid.view import view_config, view_defaults from phoenix.views import MyView import logging logger = logging.getLogger(__name__) @view_defaults(permission='view', layout='default') class SolrSearch(MyView): def __init__(self, request): super(SolrSearch, self).__init__(request, name='solrsearch'...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
ba5a54bff8f7b3851ffe797fcb59a3383618ad64
29e91d422f0fcad92f0e25b3dbb9efd39dc01162
/old-library/fix-the-generator.py
0b0d38ccd51a13c9604c798ac87f911770bc5d21
[]
no_license
cielavenir/checkio
c206410b7d8d368e80ad0f66f6314097bd900bcd
e2dfcdef75cd68ca3cced159225b5433570bd85b
refs/heads/master
2021-01-22T20:34:29.899146
2018-02-22T15:16:21
2018-02-22T15:16:21
85,328,995
0
1
null
null
null
null
UTF-8
Python
false
false
279
py
from itertools import combinations checkio=lambda data: sum(e[0]>e[1]+e[2] for e in combinations(reversed(sorted(data)),3)) if __name__ == '__main__': assert checkio([4, 2, 10]) == 1, "First" assert checkio([1, 2, 3]) == 0, "Second" assert checkio([5, 2, 9, 6]) == 2, "Third"
[ "cielartisan@gmail.com" ]
cielartisan@gmail.com
a9a35ce81c63e7753b8d02150f8fdeb91b2e7d95
b4c8a9e51f2922311c1b0352c28b1dcb95e275aa
/ml-dl/dl4all/01_least_square_method_실습.py
7998aa9b9f9ce4dbd179b2d48140b72100dc936a
[]
no_license
Esantomi/ygl
85aad7e0f8516ad66151b85600e54dd757cc3ed2
3b488125d4baaeb0c3e9a0bd0c9c31a65f613b71
refs/heads/main
2023-07-28T01:12:25.023612
2021-09-18T15:01:26
2021-09-18T15:01:26
395,146,970
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
# -*- coding: utf-8 -*- """01_Least_Square_Method_실습.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/125lwFbircs190eHYHVdXPGRl8o5MnDIm """ # -*- coding: utf-8 -*- import numpy as np # x 값과 y값 x=[2, 4, 6, 8] y=[81, 93, 91, 97] mx = np.mean(x) my...
[ "pilinnasa@gmail.com" ]
pilinnasa@gmail.com
75ec37c427874bd9be2906f36862f294274af581
5b2c9386534dab0afc006ae44f3f19b527c3dae5
/source/experiment.py
391ffdbdb84bf79079ec5007815365dd2a19ef5c
[]
no_license
saurabhc123/unsupervised
d1cd2820fa7ee6269acb6d176e99799475337947
6a36fcfacea9d788e5274b4cde763104d2231789
refs/heads/master
2020-03-18T15:38:53.519559
2018-07-30T02:16:47
2018-07-30T02:16:47
134,920,402
1
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
from abc import ABC, abstractmethod import json import os from pprint import pprint from os import path from data_processors.tweet_dataset import TweetDataSet from torch.utils.data import Dataset from torch.utils.data import DataLoader from entities.tweet import Tweet from embeddings import word2vec from clustering im...
[ "saurabc@yahoo.com" ]
saurabc@yahoo.com
edc3c9f439c5ddb4d761c6310c65be0875c7cc9c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Bunnies and Badgers/cfg.py
56c20f78cb1e0b85bcb56630180692f6c460320d
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:4d9f355e521995613da6155712b03f355e70a6994f9f6d0a85d4e84316c6cfc8 size 1278
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
5eadee501a7f7d615c72e07d46a19d228d06d708
7b102f9c8f2e3f9240090d1d67af50333a2ba98d
/gbd_2019/nonfatal_code/cancer/c_models/e_nonfatal/adjust_and_finalize.py
408c81e6619255f59df52515f50d761751d5d388
[]
no_license
Nermin-Ghith/ihme-modeling
9c8ec56b249cb0c417361102724fef1e6e0bcebd
746ea5fb76a9c049c37a8c15aa089c041a90a6d5
refs/heads/main
2023-04-13T00:26:55.363986
2020-10-28T19:51:51
2020-10-28T19:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,927
py
''' Description: Prepares data for upload by applying proportions to prevent double-counting of sequelae Notes: Special adjustments are made to prevent double-counting of cancer sequelae. A select number of tumorectomy procedures, those managed by this script, are specific to a cancer (are ...
[ "cheth@uw.edu" ]
cheth@uw.edu
caf8d69c3da0e4601b314dc754d345264e09da79
826bffcd468f0979d05251e6578de13fff1029d4
/tests/train/test_monitor.py
5a100578a81ce5c1ebbd4874fbf687fa006d89ed
[ "MIT" ]
permissive
korepwx/madoka
58b9b65cb1e3edf476d741ee1b5ffc67a9793a48
56675bd8220935c6a9c1571a886a84bed235fd3b
refs/heads/master
2021-01-12T03:18:46.261909
2017-01-06T06:36:21
2017-01-06T06:36:21
78,190,020
0
0
null
null
null
null
UTF-8
Python
false
false
4,722
py
# -*- coding: utf-8 -*- import unittest import numpy as np import tensorflow as tf from madoka.dataflow import DataFlow from madoka.train import CheckpointMonitor, ValidationMonitor, FixedMaxSteps from madoka.utils import TemporaryDirectory, tfhelper from madoka.utils.tfcompat import global_variables, global_variable...
[ "public@korepwx.com" ]
public@korepwx.com
d36353adcc0dd5b2de30b7fc100ea695380a3699
37cb6852a45dbbf2f7c3eee9b11048f74b295e2f
/hack_travel_labs/backend/hack_travel_labs/contrib/sites/migrations/0003_set_site_domain_and_name.py
de51a34cedd163a4fd2dbf302c0840aa69fd4856
[]
no_license
skarzi/hack_travel_labs
66fd0b45fb7a9bf20bad74bd89eef8b8ac37208c
7e2cae4e02b12d3947760b9fd0f9fe7585e1a6aa
refs/heads/master
2020-03-17T01:07:13.754961
2018-05-13T13:33:30
2018-05-13T13:33:30
133,140,517
1
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
""" To understand why this file is here, please read: http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ from django.conf import settings from django.db import migrations def update_site_forward(apps, schema_editor): """Set site d...
[ "skarzynski_lukasz@protonmail.com" ]
skarzynski_lukasz@protonmail.com
797335e5c7dea9ed5aa3a2f36f3ea127f275ac1f
c47c254ca476c1f9969f8f3e89acb4d0618c14b6
/datasets/tensorflow-1.0.1/tensorflow/contrib/distributions/python/kernel_tests/normal_test.py
5c491bfa8840f2fb2ae55ea711a8198696c03700
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
yijunyu/demo
5cf4e83f585254a28b31c4a050630b8f661a90c8
11c0c84081a3181494b9c469bda42a313c457ad2
refs/heads/master
2023-02-22T09:00:12.023083
2021-01-25T16:51:40
2021-01-25T16:51:40
175,939,000
3
6
BSD-2-Clause
2021-01-09T23:00:12
2019-03-16T07:13:00
C
UTF-8
Python
false
false
17,539
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "y.yu@open.ac.uk" ]
y.yu@open.ac.uk