blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
431b96040b15421c2067d65fcbc5cc24243089f3
3929d28489c8cf53b7d828998ba48e618ee08d08
/example_django_react_templatetags/runtests.py
89cce13f9e26c82c47c886b3fc007c977217adc1
[ "MIT" ]
permissive
EriSilver/django-react-templatetags
89e0c08ff54a1a4b5cf96e4848a44fd173172072
b11dd2f1802015589621c3c173850355969c88cf
refs/heads/main
2023-05-27T04:07:29.710783
2021-05-25T19:22:06
2021-05-25T19:22:06
386,394,693
1
0
MIT
2021-07-15T18:52:56
2021-07-15T18:52:55
null
UTF-8
Python
false
false
392
py
import os import sys import argparse from django.core.management import execute_from_command_line os.environ["DJANGO_SETTINGS_MODULE"] = "django_react_templatetags.tests.demosite.settings" def runtests(): args, rest = argparse.ArgumentParser().parse_known_args() argv = [sys.argv[0], "test"] + rest exec...
[ "martin@marteinn.se" ]
martin@marteinn.se
7093d968d9c6d31ca4896394e28feddfd8af82b8
f746f5687ef904c47dce0c245648bb02c086187c
/flask_rak/__init__.py
dcd3e9cbbe9535d3b1def7231d8cad5ffeb32d09
[ "Apache-2.0" ]
permissive
Huong-nt/flask-rak
658a8e803a08f394f4c64fa1ead67406e56f5548
e7182249a13b0147c648c445012d7257e5536bfc
refs/heads/master
2023-08-04T01:24:38.727904
2022-06-09T15:33:52
2022-06-09T15:33:52
137,741,832
3
1
Apache-2.0
2023-07-20T13:14:14
2018-06-18T11:08:21
Python
UTF-8
Python
false
false
300
py
import logging logger = logging.getLogger('flask_ask') logger.addHandler(logging.StreamHandler()) if logger.level == logging.NOTSET: logger.setLevel(logging.WARN) from .core import ( RAK, session, context ) from .models import ( audio, statement, question, dialog )
[ "nguyentienhuong93@gmail.com" ]
nguyentienhuong93@gmail.com
b7142c88313140b8e28b232b599a63ad00f37da9
a9943c862683fd5e67250c14723914c42eb98d1a
/products/migrations/0001_initial.py
a9b80134bf3e776c3c5799a0846e7dd8c487f4c6
[]
no_license
PeterLenting/e-commerce
8e0509c2b5f121cb356ea26c274522ee7b326b13
dd2ee9a6decbb1c659fbafd3159d0c184377f60b
refs/heads/master
2022-12-06T01:43:53.327596
2019-12-07T13:20:28
2019-12-07T13:20:28
225,182,704
0
0
null
2022-11-22T04:53:00
2019-12-01T15:22:00
Python
UTF-8
Python
false
false
764
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2019-12-03 12:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Produ...
[ "pplenting@gmail.com" ]
pplenting@gmail.com
c3510b8e32803abd9c8fb318b92fc3a4e94bc876
bfbc5d128904df01c24624087c25bfa8c1b83d5c
/predict
16e1a8db2699a9e758b230e72dc7d80a5ff18146
[ "MIT" ]
permissive
BeckResearchLab/detect_plasmid
2873cc9e71f1026ca426169d058671ac1dfe4ef9
82eb6c50d38d6ef3313c067c88a34b6c8d585990
refs/heads/master
2020-05-26T05:15:06.157152
2019-06-19T03:12:26
2019-06-19T03:12:26
188,118,605
0
0
null
null
null
null
UTF-8
Python
false
false
220
#!/usr/bin/env python from selene_sdk.utils import load_path from selene_sdk.utils import parse_configs_and_run import hdf5_sampler configs = load_path("predict.yml", instantiate=False) parse_configs_and_run(configs)
[ "dacb@uw.edu" ]
dacb@uw.edu
3228ec8b612fb5b3888a4537f30a36c4ee0e60c3
361b038a681e8235e74cb4fd73c471ea3d815b84
/lib/utilpath.py
3484a674fd1af99038c8e373c5022021d36465b5
[]
no_license
adityamandlekar/SpringBootMS-mvc-Customer
334d7403449821c35376003dd10aa251ea6e5e85
83f4b0877b5a982eccd1cd85fc9d45323d3484ab
refs/heads/master
2020-12-01T10:32:02.854479
2020-01-03T18:07:58
2020-01-03T18:07:58
230,607,855
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
from utils.ssh import _search_file from utils.version import get_version from VenueVariables import * class utilpath(): """A test library providing keywords for running, starting, starting CHE processes. """ ROBOT_LIBRARY_SCOPE = 'GLOBAL' ROBOT_LIBRARY_VERSION = get_version() COMMA...
[ "kim.tresner@thomsonreuters.com" ]
kim.tresner@thomsonreuters.com
14406fa396769941c35ccce3423f5848cfded786
8c5b0237239073623d34d186f18009581bcf2dd9
/Trainingporject/settings.py
91036b99dffe23de71829250d2f514366c7ee870
[]
no_license
nikesh65/Django_Final-Project
f7b4963b545ceee1dd6347e4938109510f47df2d
d5db28ddf3945a6f0c94abbbd903f65512b98d4c
refs/heads/master
2021-01-01T18:04:45.973131
2017-07-24T23:08:25
2017-07-24T23:08:25
98,238,725
0
0
null
null
null
null
UTF-8
Python
false
false
3,233
py
""" Django settings for Trainingporject project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import...
[ "nikeshvempati2@gmail.com" ]
nikeshvempati2@gmail.com
94b90aa5337726bd3bf5333e48be635a3f5f706e
2d0c367b56927e4c97116a2b26c2309a858e5c84
/code/B_visual_sign_intensity_estimation/EDA/check_train_distribution.py
1d4f7d42c870393e834b9e5be70f8edf4def0bd2
[]
no_license
alfonmedela/ASCORAD
2850f415c1c58784a6fb29accdab85dd3a090de8
95d6d33a7915f6f020703c174a74cdbff250d327
refs/heads/master
2023-06-24T14:59:34.694665
2021-07-23T23:11:31
2021-07-23T23:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,988
py
########################################### # Author: Alfonso Medela # # Contact alfonso@legit.health # # Copyright: Legit.Health # # Website: https://legit.health/ # ########################################### # Imports import json import os import numpy as np impo...
[ "alfonso@legit.health" ]
alfonso@legit.health
e51a10704b21eba948418b3b0608279531ad9304
820a8706cb535e3cf7a3117f71f3c7a134213db5
/ck/__init__.py
16628df672c2491c589570e9b1892ea41fdabf82
[ "MIT" ]
permissive
hczhcz/PyCK
f96138d20c3a864772ba565c0c0bb199bac5b462
7ed085fc6d85e2bfb5ca2258acc143b0bbfecff0
refs/heads/master
2022-05-22T23:41:41.214603
2022-03-25T16:55:18
2022-03-25T16:55:18
228,528,170
3
4
null
null
null
null
UTF-8
Python
false
false
225
py
from ck import query from ck import session sql_render = query.sql_render sql_template = query.sql_template LocalSession = session.LocalSession PassiveSession = session.PassiveSession RemoteSession = session.RemoteSession
[ "h.cz@qq.com" ]
h.cz@qq.com
e7df45b7ded4c930ed230c0ad000487f48fca1f9
ba892a138af61bfc14df4188ac39831a4e47b0e9
/sender.py
6e26e4241f9d79f05426188feb3f38cf184b046a
[]
no_license
evanslyke31/nvidiaScraper300
849b21d552a13f22fe84de0cd6df076895d7581a
a29f9b8adc462760fbc2372eec2916b065d5ab3f
refs/heads/main
2023-05-04T03:06:34.854808
2021-05-19T04:18:52
2021-05-19T04:18:52
368,741,909
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
import requests # api-endpoint URL = "http://localhost:10025" def post_url(p): try: r = requests.post(URL, p, timeout=1.5) print(r.text) except requests.Timeout: pass except requests.ConnectionError: pass
[ "erik@vslyke.com" ]
erik@vslyke.com
ccfd5b63b8247da67441654aac90f787e029ef46
a6a32f38e7d7eb7e73bbf99d5d116c76d07a363a
/vue_uikit/vues/apps.py
5e96791204f4bd6e6d4a54f01d103a866d8a38e7
[ "Unlicense" ]
permissive
Xpf123131123/django-web
d137746cf349fb2651f0ae67ee4e19b878fbe244
0ee018d6bd102378177f41b3cebca1f8c61a0b5c
refs/heads/master
2021-04-27T03:54:02.139929
2018-02-27T09:59:14
2018-02-27T09:59:14
122,721,435
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class VuesConfig(AppConfig): name = 'vues'
[ "pengfeixu@pengfeixudeMacBook-Pro.local" ]
pengfeixu@pengfeixudeMacBook-Pro.local
5eb8fe8ce341d9e6d317583c49a79f9eb878a0f2
4003025e83fba4b71b000a644b3d3b3ead356f6e
/hello.py
8b1ee50cfdb181aae85a77a9fabd175d1009e964
[]
no_license
DSR007/woc_assignments
679b76f0df678c42794749066902e15008d7b273
17de705fdb07ebf4bf34880596c8ea111d576535
refs/heads/master
2021-08-28T07:03:26.721725
2017-12-11T14:13:55
2017-12-11T14:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
print('Hello World') print('What is your name?') inName=input() print('Hello'+inName) print('Nice to meet you :)') print('How old are you?') inAge=input() print('Your age is '+str(int(inAge)))
[ "noreply@github.com" ]
DSR007.noreply@github.com
225db887957a51c3312d2e5222ce9fbdec03efcb
8f8b81e83fbab89b201134d2e6d9800dcaf65686
/hooks/filters.py
e4e72794252fe1e00ca25d24b5b633a98cafef84
[]
no_license
ivanprjcts/equinox-hooks
574f4505fffae217c75c2fa4389ac144e308d40e
feb7a5afec80e9838f772756dda91500d6d1500d
refs/heads/master
2021-01-12T14:17:24.806688
2016-10-25T09:11:52
2016-10-25T09:11:52
68,961,142
0
0
null
2016-09-23T02:19:48
2016-09-22T20:50:11
null
UTF-8
Python
false
false
174
py
from rest_framework import filters from hooks.models import Hook class HookFilter(filters.FilterSet): class Meta: model = Hook fields = ['application']
[ "ivan.martin@11paths.com" ]
ivan.martin@11paths.com
0e26073101df751e8d715c82ccaac37a322f3dc8
43ec1c06825a39c31b976906f7bded21c19b6019
/google/cloud/talent_v4beta1/services/company_service/transports/grpc_asyncio.py
32721d7b8b24d7c2b9346e0eda6240b2ea168341
[ "Apache-2.0" ]
permissive
renovate-bot/python-talent
b70b036c9d5a6b2887ef428fca853940df067c4b
0413f5114256b8a8c2c157b33aa0cbc1eb9feca5
refs/heads/master
2023-06-07T05:27:59.879356
2021-08-30T16:12:17
2021-08-30T16:12:17
238,039,237
0
0
Apache-2.0
2020-02-03T19:01:22
2020-02-03T19:01:22
null
UTF-8
Python
false
false
16,345
py
# -*- coding: utf-8 -*- # Copyright 2020 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
412354dd10998bf72bc427f1882857eed5d7345a
b4b95c1e3ab70b332596bda4f008cd077fda6b66
/week4/day4/hero_project/hero_project/settings.py
21c5ca234a53139ed25c0c958d84d8c99e7dc311
[]
no_license
johnjdailey/wf-2020-11-15
863952f0267a90191d0cf36869d870746530545f
2f4f6789914be8f5ae2e107c8b2d3762c8330b01
refs/heads/main
2023-03-20T19:14:31.403918
2021-02-24T08:08:10
2021-02-24T08:08:10
364,556,774
1
0
null
2021-05-05T11:40:07
2021-05-05T11:40:07
null
UTF-8
Python
false
false
3,123
py
""" Django settings for hero_project project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "CBaut@users.noreply.github.com" ]
CBaut@users.noreply.github.com
899e40f317b28fcd4497c5f7376c874b13e236ed
4e62baa76a467df274413b2cb71d11489827136b
/build/husky/husky_viz/catkin_generated/pkg.develspace.context.pc.py
6b9a45c727bef3b94cf22ef296e76353e42bc5cc
[]
no_license
JoaoBAlmeida/desafio_final
401d93c07781c98df69a1df497bcee4e569f663c
2446c1a0fac2b6f67bdc46f8bfa7e0191d038faf
refs/heads/master
2023-02-01T15:55:05.504061
2020-12-18T09:17:17
2020-12-18T09:17:17
322,544,531
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "husky_viz" PROJECT_SPACE_DIR = "/home...
[ "jpbarbosinha@gmail.com" ]
jpbarbosinha@gmail.com
896dfb5f50363046d705420cf1d4635764de6422
b1c271e8c69c5dad361ddf4b9415a0818db061ea
/Brain-Tumor-Segmentation-3D-UNet-CNN-master/create_predictions.py
7777d835a1742a3e1ce6a456d8f788c922f4ccab
[]
no_license
ssh6189/2020.05.12
105e9947d9a6f340120d90aae5edf7c90de44379
a12fab4c477c54ee11a1b58fa207b548ad5e310d
refs/heads/master
2022-07-23T13:07:18.240311
2020-05-14T12:34:19
2020-05-14T12:34:19
263,185,804
0
0
null
null
null
null
UTF-8
Python
false
false
8,663
py
import pickle import numpy as np import copy import nibabel as nib from tifffile import imsave from unet_utils import crop_img, weights_dir, data_dir, pred_dir, DataGenerator, create_model from keras.models import load_model from keras import backend as K from keras.engine import Model K.tensorflow_backend.set_image_di...
[ "ssh6189@naver.com" ]
ssh6189@naver.com
43d0eb0df43e30b3df136c5ae530f950599e059c
7d9b3acfaca7dae831451b314ec5bab785883920
/learning_about_articulation/tripodcontroller.py
94268a141a12641145bb198d021f23f960d4043f
[]
no_license
ripl/sofa_getting_started
4b8dd28f2f8ed449f219b46f1aabd26e48bffd0f
a53bab01358e270b784d60ae0dbb0419d4303c33
refs/heads/master
2023-01-29T15:38:48.816309
2020-12-03T18:48:09
2020-12-03T18:48:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,179
py
import Sofa from tutorial import * from splib.numerics import RigidDof from splib.animation import animate from splib.constants import Key from tripod import Tripod def setupanimation(actuators, step, angularstep, factor): """This function is called repeatidely in an animation. It moves the actuators by tra...
[ "amackeith@uchicago.edu" ]
amackeith@uchicago.edu
1a7a445a0183da5b57d25a858acc8af2e8320d0d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02833/s059211372.py
ed4bbbaccfabc03d67edc5bcf26aebe9e1659cf8
[]
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
316
py
n = input() m = len(n) n = int(n) if n%2==1: print(0) else: if m==1: print(0) else: ans = 0 i = 1 while True: ans_plus=n//(2*5**i) if ans_plus==0: break ans += ans_plus i += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3739f0b84f86b376235cade51f9071d7d62c8b18
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/eraBhwF8HkJDAa2pS_7.py
4d28a63e1772e975610e4ed6a58348f01d38c9a7
[]
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,759
py
""" A group of pirates each have a distribution of gold coins, which can be represented as a list: [3, 9, 4, 5, 5] # Pirate 1 has 3 gold, Pirate 2 has 9 gold, etc. The difference between each pirate's share of gold and that of the richest pirate is represented as: [6, 0, 5, 4, 4] # Since 6 = 9 - 3...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
9973ef4dd3e776c8b7798507c3dfbd1efd958796
847cd47774cf2e3335fb989662aba6748174b37a
/cellphy/tracking_analyzer_gui/utils.py
3190a020285e472d2190f96b57c4b3af6858c7d2
[]
no_license
zeroth/cellphy
cc39fa6807d8f46230089740c2543eaa7ee903bb
fb3d857cbaa0540e45427366668cf5fb5969c36f
refs/heads/master
2023-05-13T22:55:51.270050
2023-05-01T04:10:44
2023-05-01T04:10:44
151,184,057
4
0
null
null
null
null
UTF-8
Python
false
false
138
py
from PyQt5.QtCore import QFile OUTPUT_FILE = QFile # def print(self, *args, sep=' ', end='\n', file=None): # known special case of print
[ "abhishek.patil@student.unsw.edu.au" ]
abhishek.patil@student.unsw.edu.au
bfb3defb1bd2a98972ae6ccf5639f1562af73997
f8d8fd41d46cd27fae88f0b25b64de38912acf0b
/config.py
00f12c19a292be3bf00847f5e3bf07d3b8207bfa
[]
no_license
suyash1/notify
3e2d8476fa0a057e6967329b544532e384287e73
298a66a3973a20003706508e8dceb7adaa16e142
refs/heads/master
2021-06-22T17:01:14.491805
2019-08-21T07:14:11
2019-08-21T07:14:11
203,305,207
0
0
null
2021-03-20T01:33:56
2019-08-20T05:23:08
Python
UTF-8
Python
false
false
518
py
''' All the project configuration goes here @Author: Suyash ''' class BaseConfig(object): ''' base configuraion common to all ''' APP_NAME = 'Pre-Launch' APP_VERSION = '0.0.1' class DeveloperConfig(BaseConfig): ''' Developer config goes here specific to dev envt ''' pass clas...
[ "suyash.srivastava@icflix.com" ]
suyash.srivastava@icflix.com
8af671173d0dc4dd8dc6573304bd98d13fa81bc3
d792dae3e5f24af2b1cf65641cf0fe242028092f
/manage.py
6404850b3667f8dd963b758c1c917d72f640a8f9
[]
no_license
angwinner/robot-a-tron
ac79d975ee00dca4ee3089d58fde787915631489
d07bc3dd3b370cfff9b592308502683ffee5a290
refs/heads/master
2021-01-10T13:50:36.898572
2016-02-10T18:53:02
2016-02-10T18:53:02
51,461,243
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CF_Robot.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "awinner@comcast.net" ]
awinner@comcast.net
f76e2a9511e5d7f982695f3e4c56ae5960b336e7
771d7c30e9984eb07ba88f0feb2a52c0ee510549
/备份/1804爬虫/爬虫文件/第三天 (1)/mzcookie_opener.py
c7d9dc7b5c5721f122a7802a30b94c735c19698d
[]
no_license
1615961606/-test
5eae5cab4e82136ecf8f4cbdb9990c3bb9e4839f
81a822d303a07310dafe2af612f932d9f34503c3
refs/heads/master
2020-03-19T01:07:01.851584
2019-04-08T10:54:35
2019-04-08T10:54:35
135,523,902
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
#有时候我们需要将获取到的cookie保存在本地文件中, # 我们需要使用到MozillaCookieJar from http import cookiejar from urllib import request #1设置一个文件名,将cookie保存在这个文件下 filename = 'cookie.txt' #2.创建一个cookiejar对象,用来管理和存储cookie mz_cookiejar = cookiejar.MozillaCookieJar(filename) #3.创建一个HTTPCookieprocessor处理器对象,管理cookiejar handler = request.HTTPCookiePr...
[ "c1615961606@163.com" ]
c1615961606@163.com
19f978c7ec7833ea27b68bf101b917f2fbc6e14e
eac4c6efb63446193305bef5c86294daf2e51427
/bot/tasks.py
a7084b6eda1218861e9c5ededfba717de0a46d7a
[ "MIT" ]
permissive
smrf1093/boardroom-telegram-bot
5b8b355e277cc3e1a061202058d8d8b0f65a489d
1499287dd1a292fc4c7765d4d526f653d3c91a1d
refs/heads/main
2023-08-07T15:29:28.351726
2021-09-16T07:45:39
2021-09-16T07:45:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,370
py
from datetime import datetime from hashlib import sha256 import json from typing import Any from celery import task import redis import telegram from telegram import InlineKeyboardButton import yaml from bot.handlers.boardroom_api_client import BroadroomAPIClient from bot.handlers.bot import Bot from bot.handlers.but...
[ "hhio618@gmail.com" ]
hhio618@gmail.com
4ea705cf35d2c66e11c9dad7cbda764317f47d3c
9edc36b8650f4da8e94158b01e5cddb1508d0e1a
/Hangman/main.py
dd08a356a7da289d49af97516b78b7135e912e30
[]
no_license
Helabrak/Hangman
16408990abadc669ab1781d23953c03f8fcaa7b7
591c0a2eeb3315a01e21ec2f598667983868e540
refs/heads/main
2023-06-02T13:43:57.988189
2021-06-25T13:56:17
2021-06-25T13:56:17
375,385,801
0
1
null
2021-06-14T13:14:19
2021-06-09T14:33:21
Python
UTF-8
Python
false
false
629
py
from utils.game import Hangman # This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug your s...
[ "noreply@github.com" ]
Helabrak.noreply@github.com
30c21e876340341847ba611f6954e68f9b332293
b4ac14d7d64e4f7b54adebca47a27387fa58dfbd
/test_env/爬虫框架测试.py
14c15c1c879c73ca29cdb7a08031ab8ec56ac190
[]
no_license
7azumi/PythonWorkspace
7853372273641ac3ebe8125973590f06a28e4acd
5e8edb046be7186aef2511f5b0454bf089851c72
refs/heads/master
2020-03-20T10:38:03.999130
2019-05-12T13:47:15
2019-05-12T13:47:15
137,378,520
1
0
null
null
null
null
UTF-8
Python
false
false
86
py
# pyspider import pyspider # Scrapy import scrapy # scrapy-redis import scrapy_redis
[ "louis2387939301@gmail.com" ]
louis2387939301@gmail.com
fd8b5422d5e49efc63e6d6162b1ba642e6cc2260
9158645371be57fcab53d4f3ee5df0153a5c111e
/avdjango/avdjango/urls.py
2116cd37d7009d051a5981446344c2cf2673bc24
[]
no_license
rajatvijay/demo-django
51063246bdb2197d09bf5d181e28f7b204feede3
a3dad144c0888e4c08e91f4e759c6d6dbb838bc0
refs/heads/master
2021-01-02T09:39:20.676674
2017-08-04T06:21:01
2017-08-04T06:21:01
99,265,801
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
"""avdjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "rajatvijay5@gmail.com" ]
rajatvijay5@gmail.com
a8454ba423800670c11278f5cd42c1a5c4349738
75ab2f47f0a31e712f2168451414c03aa8b9e230
/store/migrations/0026_auto_20201024_2351.py
f0c6226c0f36f0e71b3d4c29676181c9e7bbadee
[]
no_license
imaxaliev/TechnoHub
b369c9decf7a740132b3878e7e675a311ad8521e
c49e1ee2c62e7389eeb1053123cceb7dab6d83ca
refs/heads/master
2023-01-27T13:52:53.356008
2020-12-13T13:30:06
2020-12-13T13:30:06
320,065,849
0
0
null
2020-12-13T13:30:08
2020-12-09T20:01:16
JavaScript
UTF-8
Python
false
false
1,497
py
# Generated by Django 3.0.8 on 2020-10-24 20:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0025_auto_20201007_2251'), ] operations = [ migrations.AlterField( model_name='order', name='creation_date'...
[ "anxious-mind" ]
anxious-mind
be1359b70184d1e64a11f018283a5e2a63db6e37
da08aecb8644b9c5807b4224c431978a4c3b22de
/EMSXFullSet_Python/EMSXSubscriptions.py
691e0a9bb58af06cb54fb68b14c7af087b19f3c5
[]
no_license
christianreimer/emsx_api_repository
9382f9d9ca3db9aee5c86fb8e69455167c06ddd2
a9682f0e372095501332c064ce0d3e67b86207b2
refs/heads/master
2021-01-18T03:13:02.045035
2017-03-21T01:04:42
2017-03-21T01:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,337
py
# EMSXSubscriptions.py import blpapi import sys ORDER_ROUTE_FIELDS = blpapi.Name("OrderRouteFields") SLOW_CONSUMER_WARNING = blpapi.Name("SlowConsumerWarning") SLOW_CONSUMER_WARNING_CLEARED = blpapi.Name("SlowConsumerWarningCleared") SESSION_STARTED = blpapi.Name...
[ "terrence.kim@gmail.com" ]
terrence.kim@gmail.com
47daba207724ebb21bf6d8b3e8804ae9c50685bf
11578eb1332c3835d2e87ea3f5a134bdcf878277
/blog/models.py
4f65f073589406303536cd1bf7700116f9ee7f5c
[]
no_license
xuefeng-huang/flask-app
3c1561e2f577a5d27f79feec36eb5a1be2f6e72c
733c94eb81ad363dffd7c0a1857f1413068203d3
refs/heads/master
2021-01-09T21:52:24.281304
2016-01-01T16:11:28
2016-01-01T16:11:28
48,087,854
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
from flask_init import db class Blog(db.Model): id = db.Column(db.Integer, primary_key = True) name = db.Column(db.String(80)) admin = db.Column(db.Integer, db.ForeignKey('author.id')) def __init__(self, name, admin): self.name = name self.admin = admin def __repr__(se...
[ "timhxf@gmail.com" ]
timhxf@gmail.com
f1b324998dca61f2cb5e62d2a7e709cd7ed942cc
eb7fd635c0e3df534864197f43da321fe5ae2037
/Laura/problem_formulation_V2_1.py
1e2ecab918982943e3442b1bc9ab62d6645d0af3
[]
no_license
lauracrowley97/sassy_lion
576be30e1d9f668fc86aedf796c8612a8a372dfa
ffa4abbf1aa6674ace0257fb291a7537fbce5711
refs/heads/master
2020-05-26T21:42:42.333447
2019-06-17T10:19:58
2019-06-17T10:19:58
188,384,003
0
1
null
null
null
null
UTF-8
Python
false
false
23,124
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 21 17:34:11 2018 @author: ciullo """ import numpy as np from operator import add from ema_workbench import (Model, CategoricalParameter, ScalarOutcome, TimeSeriesOutcome, IntegerParameter, RealParameter) from dike_model_function_V2_0 import (D...
[ "noreply@github.com" ]
lauracrowley97.noreply@github.com
1d615179de74153ade40cc98b022c227b1f39af6
be881603d2bfdfe9cd325f866f384f5d5e451a33
/werewolf/migrations/0005_auto_20170903_2253.py
ffdd88dd59fe91f9d785f9adf9a0f2dee13690c5
[]
no_license
tuchang/arcadia19th
c6308a45e4829bdbbc20d4122a2989efda6f79bb
89979b0d1a40cec28d76233e2fa6b7f853a13499
refs/heads/master
2020-11-30T17:33:08.163548
2018-09-01T08:26:04
2019-07-29T04:34:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-09-03 22:53 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('werewolf', '0004_auto_20170903_1946'), ] operations = ...
[ "st09d23@gm.ibaraki-ct.ac.jp" ]
st09d23@gm.ibaraki-ct.ac.jp
d76568dec057241b650414033a7585fd422344b3
549317bc0a7230ec163914c75f75dd008900c57b
/pyroomacoustics/tests/test_room_is_insided.py
3d49962456b8076f646ddc7bbaee2b7887245503
[ "MIT" ]
permissive
oucxlw/pyroomacoustics
0bb633427cd7ce3e93392cdc9d0bc3afc5f2dbf3
0adc91579c9c6daf1b73d2c4863a9fc66b308dbb
refs/heads/master
2023-06-17T17:43:49.743201
2021-07-21T05:36:46
2021-07-21T05:36:46
288,884,904
1
0
MIT
2021-07-21T05:36:47
2020-08-20T02:22:54
Python
UTF-8
Python
false
false
2,248
py
import numpy as np import pyroomacoustics as pra def test_room_is_inside(): # fix the seed for repeatable testing np.random.seed(0) # This was a problematic case # if the source is placed at the same height as one of the corners # the test would fail, even though the source is in the room fl...
[ "fakufaku@gmail.com" ]
fakufaku@gmail.com
a50c8907cabee913bacdeff6e3fb16fbd0d147ca
47b49ee4d14254cea00a839123fe5d68f0938959
/notifierlib/channels/jabber.py
109b7df750b2db4e45884d0d3509212e97fcd8d8
[ "MIT" ]
permissive
wefner/notifierlib
35d8b9c754803821462e647239bfd0be564c0a40
0eeec7aef278f66262b1dceab296b5f115e372c3
refs/heads/master
2021-06-30T22:27:06.147554
2017-09-19T13:14:37
2017-09-19T13:14:37
104,245,027
0
0
null
2017-09-20T17:12:26
2017-09-20T17:12:26
null
UTF-8
Python
false
false
6,372
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # File: jabber.py import sleekxmpp import logging from notifierlib.notifierlib import Channel __author__ = '''Costas Tyfoxylos <costas.tyf@gmail.com>, Argiris Gounaris <agounaris@gmail.com>''' __docformat__ = 'plaintext' __date__ = '''19-09-2017''' class XmppClient(slee...
[ "costas.tyf@gmail.com" ]
costas.tyf@gmail.com
0f59eea501a89a342623c0adbe5c7f7ceb9161bc
56128d83ba8f7b236f1196074eb9c4ea54bb865b
/DeepLearning/07-CNN&DNN/materials/submission_code.py
3ef787c820aff9d3c8c19f7e3571b7234db3b0d4
[]
no_license
mindis/PastProjects
f8bbc22bc0df44e7f68795e40eb730a39a693fc5
51b22e32310a852de70ef6403dade4de317738d6
refs/heads/master
2021-02-25T19:22:25.614937
2020-01-16T02:34:29
2020-01-16T02:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,305
py
import tensorflow as tf from sklearn.utils import shuffle from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score rng = np.random.RandomState(1234) random_state = 42 def tf_log(x): return tf.log(tf.clip_by_value(x, 1e-10, x)) ### ネットワーク ### tf.reset_default_graph() is_tra...
[ "noreply@github.com" ]
mindis.noreply@github.com
478663d8b84ec9fc2f4332bd2e172fd5c729194d
01786e5d2a46c0e5958d5caedaed780f04d2fc9d
/Main.py
674c8fd3530f1f310db07f6180f920106ccf9fa4
[ "MIT" ]
permissive
lockwoodgary/TopCoder_TokyoBusRoute
34787952981e7776cf43a6192eb2e78ace458049
3fd00200ad477ad5e1d568a9a26b6dfb2cd981e0
refs/heads/master
2022-03-12T03:58:33.228464
2019-10-03T01:21:11
2019-10-03T01:21:11
212,474,386
0
0
null
null
null
null
UTF-8
Python
false
false
6,998
py
import json import pip import sys import subprocess def install(package): subprocess.call([sys.executable, "-m", "pip", "install", package]) install('numpy') install('pandas') install('matplotlib') import numpy as np import pandas as pd from matplotlib import path as mplPath import matplotlib.py...
[ "noreply@github.com" ]
lockwoodgary.noreply@github.com
1c1bcf30733075771513d13705f0634f918e2b6a
d534c39e479e114b961af2d2741085d0777e4bd3
/python_prac_learning/tutorials/button.py
388576d33013448864939b6d9e913e4a4de74c3e
[]
no_license
sarfarazkhan007/github_sarfaraz
7a99dbbdc36b8830a5632b72e45f582857375ffa
ff2006cb01591f53dd7e8bb3e1ab1df1aaf83d17
refs/heads/master
2021-07-08T17:47:41.743330
2017-10-05T03:02:22
2017-10-05T03:02:22
105,843,612
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
import os import tkinter # clear the screen os.system("clear") #tkMessageBox.showinfo( "NTAL EXP 1", "Enter your choice from the menu: \n1) dig \n2) whois \n3) ping \n") inp = input("Enter your choice from the menu: \n1) dig \n2) whois \n3) ping \n") #if (inp == "3"): #target = raw_input("Enter the url or ip addre...
[ "sarfarazkhan00720@gmail.com" ]
sarfarazkhan00720@gmail.com
fe9b544861f2e8263b1dea8c2a129d52c24d23b5
eec6f1eb4c7cd775b974eb2186182240fe740e5f
/apps/funds/tests/test_api/__init__.py
466938249246032b11021c8b5e85bae36c5cc206
[ "MIT" ]
permissive
GiannisClipper/payments
3c73a53c15aab87f8be1dc6912c88ead6f8b315d
94e08144597b3f4cd0de8485edf3f5535aeb9da6
refs/heads/master
2020-08-04T06:54:43.687665
2019-11-16T10:00:01
2019-11-16T10:00:01
212,040,415
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
from django.urls import reverse from funds.tests import FundsTests from core.tests.test_api import APITests ROOT_URL = reverse('funds:root') BY_ID_1_URL = reverse('funds:by-id', kwargs={'id': 1}) BY_ID_2_URL = reverse('funds:by-id', kwargs={'id': 2}) BY_ID_0_URL = reverse('funds:by-id', kwargs={'id': 0}) LIST_URL = r...
[ "strunstrun@gmail.com" ]
strunstrun@gmail.com
88c81310c694092a2f288b858519b4dc9d54fdca
0b38b3d237044b605a519e1aadb298e254c96a6a
/app.py
98eaa7437e240c19d9f07fb20498e32121e58693
[]
no_license
imapex/boilerplate
100355bec3414bd0874fc47e5ff8cdad4464b054
810a2de2ceb6120dd57a64324c6b8581113d348f
refs/heads/master
2023-02-03T19:54:25.074233
2019-08-22T15:13:21
2019-08-22T15:13:21
64,156,013
2
4
null
2023-02-02T06:13:08
2016-07-25T17:53:14
HTML
UTF-8
Python
false
false
862
py
from flask import Flask, render_template, request from flask_restful import Api from views.topology import topology from views.dashboard import dashboard from views.device import device_list from views.patterns import patterns from api.device import Device from api.topology import Topology app = Flask(__name__) api = ...
[ "kecorbin@cisco.com" ]
kecorbin@cisco.com
6bc4ad6ab8e5bcc38ecc70274a150941384fc984
030693debf789e136db3f6813115d639c4776394
/Problems_on_DS_and_Algo/balanced_equation.py
1ab4bad3644299e65f43eea3c20ad1f344636eb1
[]
no_license
soumilk91/Algorithms-in-Python
713161aa7578b24102d2e870a88899f950f4cb80
bead95e7b1bd8b270562e72fc297a302f30e371c
refs/heads/master
2021-01-17T08:22:30.863858
2018-07-30T14:53:00
2018-07-30T14:53:00
83,884,613
0
0
null
null
null
null
UTF-8
Python
false
false
2,607
py
""" Author: Soumil Ramesh Kulkarni Question: Find if the given expression is balanced. eg: {(3+5)*[5-3]} == Balanced because every opening bracket has a corresponding closing bracket and their position is correct eg: {(3+5)[}] == Not Balanced because the position of opening and closing brackets is not corr...
[ "soumilk91@gmail.com" ]
soumilk91@gmail.com
5024a2a7f4957aa6ab3acd88d72c74a6ddfd05f5
6b215717c944aef71cd63bcb486dc9afda3e46ba
/25.06.21/Catalan Numbers and RNA Secondary Structures.py
9b12bed163b4abea54ba4cf673a7323e3f6b63f9
[]
no_license
nikita494/BioInf
61a5f3549f211e27950e0aa404f8ec2b8d7bc946
98dc020903edc0fdaa0cfef28accf437ba2c8020
refs/heads/master
2023-06-05T19:49:15.425638
2021-06-29T17:51:30
2021-06-29T17:51:30
381,425,191
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
#http://rosalind.info/problems/cat/ from Bio import SeqIO POSSIBLE_EDGES = {'A': 'U', 'U': 'A', 'C': 'G', 'G': 'C'} def cached(fun): def cached_fun(*args): if args not in cached_fun.cache: cached_fun.cache[args] = fun(*args) return cached_fun.cache[args] cached_fun.cache = dict() ...
[ "nn494@yandex.ru" ]
nn494@yandex.ru
6cde22ca76794bdc0861913673bb979d11961795
9dfa39949f320d415614496464d688e43515ba31
/post/migrations/0014_auto_20181229_0257.py
cd8036a49507a318de8a8f52da877ea0c4156c36
[]
no_license
mfurkanyuceal/Django-myBlog
4c35f6ee62f4797da3d4de03c4c8be9e774f5bf9
d5605c825b727bc4588d06be2eeffe65432f90e7
refs/heads/master
2020-04-29T07:28:12.584370
2019-03-16T10:09:22
2019-03-16T10:09:22
175,953,758
1
0
null
null
null
null
UTF-8
Python
false
false
450
py
# Generated by Django 2.1.4 on 2018-12-28 23:57 import ckeditor.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('post', '0013_auto_20181229_0056'), ] operations = [ migrations.AlterField( model_name='post', name='c...
[ "furkanyuceal58@gmail.com" ]
furkanyuceal58@gmail.com
7a931973374055e17434ab14e669de6c173dd22e
95be6dd58574688bc0725bca659d1872b0ee31ab
/main.py
17500e9f9b90392fba51c877dceb979b066651d2
[]
no_license
kfash/hero-might-and-magic-old
260c15006f402346614037d63bc1d76cdc070201
5490faa66b701ac32ca18927a5386daf4877737f
refs/heads/master
2020-09-29T15:51:22.061517
2019-12-10T08:39:10
2019-12-10T08:39:10
227,067,702
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
from Hero import* from magic import* from interface import* from unit import* import time def start(): global hero_1 global hero_2 global units_1 global units_2 global all_units hero_1 = hero() hero_2 = hero() units_1 = [] units_2 = [] for i in range (1, 7): un = melee...
[ "noreply@github.com" ]
kfash.noreply@github.com
f832f81e49e1c70f75a87ad822f0a71408bcd878
dc221edce0ad617aac3b9ad8f4f347ff84f56bf9
/.history/env/sim_20200805143251.py
242268c2da33aec8fc7e1b122fd06d49cdc6e028
[]
no_license
zlm05170/cacontroller
310014c83ecf130643230eba87990e635fe1575f
e76d2eb5d58d6adfe7823e0dcd0059027c52b6bc
refs/heads/master
2022-12-21T08:05:58.315017
2020-09-23T11:45:07
2020-09-23T11:45:07
284,527,141
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
class Sim(): def __init__(self): self.running = True self.actor_list = [] def isRunning(self): return self.running def update(self): for actor in self.actor_list: actor.update() def add_actor(self): print(0) sim = Sim() while sim.isRunning(): ...
[ "angelxx05170@gmail.com" ]
angelxx05170@gmail.com
22acebc9454b91d6e1d29c887db23097e628ea00
18c2f5aaf7ff820b48659ccbb0085f48d8266d2e
/lfp_atn_simuran/recording_mappings/CanCSRCa.py
726f96c4abaa983d3764206b17290bb1abbc9912
[ "MIT" ]
permissive
cafalchio/lfp_atn
4b156af0388da23bd73970a9fce1a3f63d87a477
ae2166f9d0356adc7f5eb3726b39af2a129c89f1
refs/heads/main
2023-06-05T01:40:12.263716
2021-06-28T16:51:30
2021-06-28T16:51:30
339,232,594
1
1
MIT
2021-06-28T16:51:31
2021-02-15T23:12:23
Jupyter Notebook
UTF-8
Python
false
false
2,521
py
""" The simuran_base_params is used to initialize the the simuran_params file in each recording data session that is a child directory of starting directory. This should contain information about the recording, such as the number electrodes in the recording. """ def setup_signals(): """Set up the signals (such a...
[ "seankieran.m@hotmail.com" ]
seankieran.m@hotmail.com
2f4e406f9f5837bc009df3d31a95a101765efba3
b8a2cb1d6996f46e541e9f3a387feb3e27e39fdf
/greedy/huffman_codings.py
7cd3fdc6a0d3b7602053f4da8f51b95140b9a9f5
[]
no_license
TDress/py-algorithms
489dba40442cd84e10d52d30a843bb660c4e522d
c851a79955130f7cc09943654efcc2ffe3ea69d6
refs/heads/master
2018-09-29T14:07:11.584501
2018-07-24T14:56:14
2018-07-24T14:56:14
113,503,052
0
0
null
null
null
null
UTF-8
Python
false
false
3,958
py
from lib import assertion from data_structures.HeapPriorityQueue import HeapPriorityQueue from data_structures.LinkedBinaryTree import LinkedBinaryTree # Value to use for internal nodes of the huffman tree (in place of a character). INTERNAL = 'INTERNAL' def frequencies(S): """Helper function for creating a frequ...
[ "Thomas.Dressler1@gmail.com" ]
Thomas.Dressler1@gmail.com
d5cef2e00f454fd9f411fdcf13e2d4e8683f9b11
d5b8de22c7098d8ecae20a4b1beb55feaee1816e
/src/tools/crowd/upper_bound_analysis.py
1cae9076aada34949e095cee166c45533469bf4b
[]
no_license
ywzcode/AML-Project
451ffe433a07690bc28d6465118f787c25e9398c
c9b019c42bf69a8887e49217eb5271dc0279c46e
refs/heads/master
2020-08-03T09:46:26.797954
2019-09-30T15:48:03
2019-09-30T15:48:03
211,707,083
7
0
null
null
null
null
UTF-8
Python
false
false
22,989
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import _init_paths import os import json import cv2 import numpy as np import time # from datasets.dataset_factory import dataset_factory from opts import opts from pycocotools.cocoeval imp...
[ "yinwen312@icloud.com" ]
yinwen312@icloud.com
84442f858cf23a277156002041062239855c2fd2
b8fe7c1769a274964d289d05c1594f2d9f702560
/devel/lib/python2.7/dist-packages/mavros_msgs/msg/_Param.py
f381bb69fd314372e108aa5a3242a0ff31759278
[]
no_license
amilearning/mavros_ws
f3f19c98562cb6fab00e3735b5798dc8fc65652f
b822676abb0a36fe34f7e4064a162db0ddd75fe5
refs/heads/master
2023-06-30T08:27:45.134723
2021-07-16T06:52:35
2021-07-16T06:52:35
386,538,954
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
/home/hojin/drone_ws/ethz_ws/mavros_ws/devel/.private/mavros_msgs/lib/python2.7/dist-packages/mavros_msgs/msg/_Param.py
[ "hojin.projects@gmail.com" ]
hojin.projects@gmail.com
d438f3168a5323bf67a09fe407b3545cf86b9c57
0c6f664ba0d45fb7a4fe8b90fe1d8e8140107caa
/toolkit/datasets/otb.py
16da34c8c4dedea8dfd7093c20d0b20fb95ad22e
[ "Apache-2.0" ]
permissive
ZZXin/ta-siamrpn
82caf688356e2f3112cb6ff32ba5d3ba545f1f44
89f79953225006ff15719ac0d4e35755505fd95b
refs/heads/master
2022-12-18T11:53:51.215373
2020-09-23T06:59:30
2020-09-23T06:59:30
297,878,828
0
0
null
null
null
null
UTF-8
Python
false
false
4,321
py
import json import os import numpy as np from PIL import Image from tqdm import tqdm from glob import glob from .dataset import Dataset from .video import Video class OTBVideo(Video): """ Args: name: video name root: dataset root video_dir: video directory init_rect: init rec...
[ "ZZXin00016@163.com" ]
ZZXin00016@163.com
d8458f6e25f605602bc2ada1071b2c5365b26943
54c08823016949aa23ff1d372cf70778e6f88758
/raylab/policy/model_based/sampling_mixin.py
bea9c129c44620da8d861320dda315db82a141cb
[ "MIT" ]
permissive
jCrompton/raylab
b4d41c446bc4d8d9ea42ebfdfad59c61956bfe98
9773d6fb942c06c65fe5297a8275f86649966abd
refs/heads/master
2022-11-05T21:59:06.704075
2020-06-08T15:36:20
2020-06-08T15:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,338
py
"""Environment model handling mixins for TorchPolicy.""" from dataclasses import dataclass from typing import List import numpy as np import torch from dataclasses_json import DataClassJsonMixin from numpy.random import Generator from ray.rllib import SampleBatch from torch.nn import Module @dataclass(frozen=True) c...
[ "angelolovatto@gmail.com" ]
angelolovatto@gmail.com
f5cae6c0fbd9b77938034ddb756e6d62c252712d
d9483c6e3b58e4b12865e4211eedd538d73563a8
/weather_deshboard/dashboard/views.py
e2124cb6c928b6d9bd6235d4b18205bd758a1d33
[]
no_license
mst101097/Weather_dashboard
48c025f3bb089f66da9449b49f9669fb0a49ba6a
f8ef58a2aed4a2caf6158f9e58b831903636324f
refs/heads/main
2023-02-05T15:40:15.669213
2020-12-28T09:25:11
2020-12-28T09:25:11
324,966,920
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
from django.shortcuts import render from django.http import HttpResponse from .forms import CityForm from .models import City from .helper import get_weather_data # Create your views here. def home(request): form = CityForm() if request.method == 'POST': form = CityForm(request.POST) if form.i...
[ "singh.1097.mohit@gmail.com" ]
singh.1097.mohit@gmail.com
3b41a58b2b71aad818e0551a1a63dd66bbc6e21b
87c5898d591ab6ef6701a763c2c79d028c335ee3
/src/scavenger/schedule/adaptiveprofilingscheduler.py
ba1707c2e0deb1046b329d7ab0290e11429d0c35
[]
no_license
madsdk/scavenger-library
b08b8daa3e2be6c002bff5a613a92356fc5cfa5a
02fa97950caa8df66f8de383348555a0e5e014ce
refs/heads/master
2020-06-08T20:23:26.838451
2010-12-09T14:08:01
2010-12-09T14:08:01
1,135,193
1
1
null
null
null
null
UTF-8
Python
false
false
8,682
py
""" This is the adaptive profiling scheduler that adapts its scheduling information to the user defined expression given in the decorator. The developer may thus designate that running time varies with the size or value of one or more inputs. """ from __future__ import with_statement from scheduler import Scheduler, S...
[ "madsdk@gmail.com" ]
madsdk@gmail.com
5894f692c5bb6e9cfcaf2b2d6ac89820ae3c166c
28fee073bb990ed67e023c87fafb8baf035f09eb
/02/d02.py
654c3d08970413a4eddd9f0bf217b86002e3a974
[]
no_license
Leftfish/Advent-of-Code-2019
26073a4907e2c741b63921fb03238ad41a831db1
5806589f9deba2b19a7bb5f8715874c37c3cce41
refs/heads/master
2020-09-25T02:20:54.032881
2020-01-01T20:01:06
2020-01-01T20:01:06
225,896,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
print("Day 2 of Advent of Code!") def is_opcode(code): return code == 1 or code == 2 or code == 99 def execute(commands, pos): code = commands[pos] if is_opcode(code): if code == 1: a, b, c = commands[pos+1], commands[pos+2], commands[pos+3] commands[c] = commands[a] + comm...
[ "bohdan@bohdanwidla.pl" ]
bohdan@bohdanwidla.pl
0c61bf946290c9f29985a24c5d3dfeb69ba61c5e
533aae7f57e0d4441dc194e17cba861ae844145f
/test/dlc_tests/ecs/mxnet/inference/test_ecs_mxnet_inference.py
83da18729a9c77d8d1be6e440322fa54a19fb16b
[ "Apache-2.0" ]
permissive
bfscapital/deep-learning-containers
b82b339c9db82f7b318a5b0b33486502b3719c90
8be8f1d77d1054141fc4504d41ad349b9a5bfc26
refs/heads/master
2022-11-23T17:48:07.243888
2020-07-24T20:43:25
2020-07-24T20:43:25
282,283,260
0
0
null
2020-07-24T17:50:26
2020-07-24T17:50:25
null
UTF-8
Python
false
false
4,429
py
import pytest import test.test_utils.ecs as ecs_utils import test.test_utils.ec2 as ec2_utils from test.test_utils import request_mxnet_inference_squeezenet, request_mxnet_inference_gluonnlp from test.test_utils import ECS_AML2_CPU_USWEST2, ECS_AML2_GPU_USWEST2 @pytest.mark.parametrize("ecs_instance_type", ["c5.18xl...
[ "noreply@github.com" ]
bfscapital.noreply@github.com
f97649e91f29132d6817af44d97041b4b29d7814
9692f529e44ecfaa7aff358048aa873a24e362ae
/web/post_taobao.py
28d695ddddf5f27320c5db37bd98e1e4f19c5094
[]
no_license
ytf513/python_code
2b8c86a23724fcd81b2dabe8d58238c7be0e59c5
94c56927f090f2b01814c56c6320fd0de02ec2a2
refs/heads/master
2021-01-10T21:55:40.663689
2017-12-15T09:17:18
2017-12-15T09:17:18
35,019,491
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
import urllib import urllib2 def get_taobao_api_data(app_para_dct): content = "" if app_para_dct: para_dct = {} para_dct['a'] = 'a' para_dct['b'] = 'b' url = """http://gw.api.taobao.com/router/rest""" para_data = urllib.urlencode(para_dct) f = urllib2.urlopen(url, para_data) c...
[ "ytf513@gmail.com" ]
ytf513@gmail.com
e35f76e578a9be895bc6fe5bd17d24525b6c2d83
5ae01ab82fcdedbdd70707b825313c40fb373fa3
/scripts/charonInterpreter/parsers/MaterialBlock/IncompleteIonizationDonor/charonLineParserIonizationEnergy.py
2ef6d351a57e960f50d56e19dfefba626502aca9
[]
no_license
worthenmanufacturing/tcad-charon
efc19f770252656ecf0850e7bc4e78fa4d62cf9e
37f103306952a08d0e769767fe9391716246a83d
refs/heads/main
2023-08-23T02:39:38.472864
2021-10-29T20:15:15
2021-10-29T20:15:15
488,068,897
0
0
null
2022-05-03T03:44:45
2022-05-03T03:44:45
null
UTF-8
Python
false
false
5,602
py
from __future__ import print_function import copy class charonLineParserIonizationEnergy: "IonizationEnergy parser" def __init__(self): # Register the parsing keys self.parserName = "IonizationEnergy" self.parsingKey = "ionization energy" self.parsingKeyOptional = [] ...
[ "juan@tcad.com" ]
juan@tcad.com
f775a3ddda1d9c0cd465722424efcb08afc3d637
7d30d729921f1deb3a407deb24ca23a98b161cad
/utils/tests_fetcher.py
cdc79f371163ca5c84fe907f441bb223b0ca5f5d
[ "Apache-2.0" ]
permissive
lockon-n/transformers
80933a4205d92d03c1d128bb64a1efd4781986c5
518dd1277efdf0c5561565cfcb08ef82c631cde2
refs/heads/main
2023-03-16T14:12:57.270878
2022-05-16T12:17:25
2022-05-16T12:17:25
238,400,408
0
0
Apache-2.0
2020-02-05T08:19:06
2020-02-05T08:19:05
null
UTF-8
Python
false
false
25,794
py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. # # 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...
[ "noreply@github.com" ]
lockon-n.noreply@github.com
ab4bf069e0ff12936faff9bab15b3ba3b8c52727
4f360520a5824e4d3236ec1cf35a97ecf366ccef
/python_write_excel_to_mysql.py
cee0e8bcbbde032a0d1e183a25dc9d5a4b29ba03
[]
no_license
danxinzhujian/python_excel_sql
04d9fdb971e0f0667765f22f7800960064d35ad2
c22204077447eee1917b5fb4a4a3d431c0a48c7a
refs/heads/master
2021-07-23T04:13:56.210763
2021-07-21T04:21:17
2021-07-21T04:21:17
237,753,297
0
0
null
null
null
null
UTF-8
Python
false
false
6,391
py
# -*- coding: utf-8 -*- import xlrd import pymysql import threading import datetime import os import re # 生成用于生成数据库表的sql def generate_create_table_sql(column_name_list): table_sql = 'create table table_all (' if len(column_name_list) > 0: table_sql = table_sql + column_name_list[0] + ' va...
[ "noreply@github.com" ]
danxinzhujian.noreply@github.com
ccc930872db9b84576dba7d79eab40da04985f9b
3b3da9d7d9022f9a91b7bd9b7ace8a7464664975
/aoc_21_1.py
12d32120fab97bbcd686a38701b266b6d0acef81
[]
no_license
Showherda/aoc2020
4623d53101befb282c126118e92aeb2cf3a149bf
e44d2f32bc5fdc261d9fd64660b94a3abc893562
refs/heads/main
2023-02-01T16:13:51.841184
2020-12-22T08:40:58
2020-12-22T08:40:58
319,851,463
1
0
null
null
null
null
UTF-8
Python
false
false
462
py
f=open('input.txt') alr={} evr=set() cnt={} for v in f: i=v.index('(contains ') tmp=v[i+10:].split(',') for c in v[:i].split(): evr.add(c) cnt[c]=cnt.get(c, 0)+1 for c in tmp: try: alr[c.strip(' ,)\n')].append(set(v[:i].split())) except: alr[c.strip(' ,)\n')]=[set(v[:i].split())] pss=set() for u in al...
[ "noreply@github.com" ]
Showherda.noreply@github.com
2bfb92e971e49dd8f9155f22e38bd47bb23d8394
44d1e6fdf130974f828981d815dc0f2ada1130db
/manage.py
f5508e0364502791092bc9eb2c685ccb0f116091
[]
no_license
liqd/django_zbp
d889e2822790965b40e97df1e34e8f53cbdcb25c
82c7f2fa2e688d2f4dbb65fadc32bb119f219e90
refs/heads/main
2023-08-31T05:19:18.401075
2023-06-14T16:42:28
2023-06-14T20:12:11
54,026,786
1
1
null
2023-09-14T16:56:36
2016-03-16T11:39:05
Python
UTF-8
Python
false
false
253
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_zbp.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "magdalenanoffke@puschel.speedport_w_921v_1_39_000" ]
magdalenanoffke@puschel.speedport_w_921v_1_39_000
7b467a5ce495f0c34fd90554a6137aa7533ec5b5
c7ee5fc80b586ca779c17bff472ce483ef49044a
/week10/Hackerrank/splitandjoin.py
e50dd4f144232bc0a53d3caf7bc41824b522d2a6
[]
no_license
sarsembin/webdev2019
3507ed52cef3a0d37e26c545b65b433e3f7f3e4d
faf1b4933b5527df4370adc5c7eecf8ca25c6e1c
refs/heads/master
2020-04-19T09:24:16.842015
2019-05-14T04:28:45
2019-05-14T04:28:45
168,109,312
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
def split_and_join(line): line =line.split(" ") line = "-".join(line) return line if __name__ == '__main__': line = input() result = split_and_join(line) print(result)
[ "daur2000@gmail.com" ]
daur2000@gmail.com
43d9551697d7f5025ec2a121e62191a4adb46c5e
1860748e28b292a32a194f3d1474b7c035cc77fe
/table_daily_quests.py
807e79664119ac7489855103eb562eac2d1f188c
[]
no_license
fancy-Fox/Disney_bot
c6482283d74714707e8cdc52340fe4359c7cc2ab
6f98e7f401fc2ddceb56263fa53cb49da131ca3a
refs/heads/master
2021-05-16T20:39:01.882699
2020-06-30T02:41:18
2020-06-30T02:41:18
250,460,976
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
import sqlite3 import time def get_all_daily_quest_info(db_name='disney_bot.db'): conn = sqlite3.connect(db_name) cursor = conn.cursor() try: return cursor.execute("""SELECT * FROM daily_quests""").fetchall() except Exception: return [] def get_daily_quest_with_type_and_vk_id(type, u...
[ "gulaya.01@mail.ru" ]
gulaya.01@mail.ru
8628a60c63271cc8c37d919d431b24d0afe95d45
d0389779076006aad5e5a35ba74cf58340c9c374
/MulseMedia/Olfaction_Haptic Detection/Testing.py
419c5e3b368d2eeb21b56f4691833f33d537f9c6
[]
no_license
sextonj5/Automatic-CNN-based-Enhancement-of-360-Video-Experience-with-Multisensorial-Effects
b627e9dced2bdf8bc55e1477e79430058cb84bea
df88bf29bb2696b6c1c5387b9f1e504908f4af27
refs/heads/main
2023-07-25T07:47:39.211504
2021-08-25T22:08:41
2021-08-25T22:08:41
399,589,258
0
0
null
null
null
null
UTF-8
Python
false
false
6,248
py
import torch from torch.autograd import Variable as V import torchvision.models as models from torchvision import transforms as trn from torch.nn import functional as F import os from PIL import Image import winsound correct = 0 incorrect = 0 total = 0 right = [243, 48, 342, 279, 319, 151, 112, 167, 19...
[ "noreply@github.com" ]
sextonj5.noreply@github.com
3b83fe21a415f165de630e3cc722bd0f13440d18
e7a880109066a74765c3a40cb5e12fb6b82713ce
/kew_editing/front/urls.py
2d3897290764f8627da39e83ace484d611880a79
[]
no_license
hybridsteve/kew_editing
5c1b533bfa457ffd53c5412ad78d28ff68394ef0
0ec55e8c73517290bc600a43b832942e9687cf5a
refs/heads/master
2020-04-19T21:37:23.669053
2013-08-19T06:48:36
2013-08-19T06:48:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('front.views', # Main site patterns: url(r'^$', 'home', name='kew_default_home'), url(r'^home', 'home', name='kew_target_home...
[ "stephen.wagner@hybrid-learning.com" ]
stephen.wagner@hybrid-learning.com
992b7069029519092d72456201574267601b14b1
6f6b74b1a33fdbd727c7a14592037dd6ee05e538
/app125.py
31c63fad2a6426e2dfeebbec99729c7bc3bdec42
[]
no_license
AayushiRockz/PRO-C125-MODEL-VIEW-CONTROLLER
13c15f7b8a82ba5ce8f11633e4be5c596dc526ec
466306ebe02683767bfbac21626abc76f7b48b2f
refs/heads/main
2023-06-26T13:52:59.519593
2021-07-16T04:36:08
2021-07-16T04:36:08
386,509,889
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from flask import Flask , jsonify ,request from PRO125_classifier import get_prediction app = Flask(__name__) @app.route("/pred-alphabet",methods=['POST']) def predict_data(): image = request.files.get("alphabet") prediction = get_prediction(image) return jsonify({ "prediction":predi...
[ "noreply@github.com" ]
AayushiRockz.noreply@github.com
cd06528d280db293ff86454a04722d9165ad5f64
108081171f5e9131f74c601ead7d55e48f7cbedd
/base/migrations/0003_product_image.py
17ebcfcbe2592d6b6988f241a71f6d2a64e0829d
[]
no_license
ian038/django-react-supplement-store
d1afdcfcada226b726150a859017ec56b8f2fb62
734ab137068e11e4524a3782e12bf17e4fa9e689
refs/heads/main
2023-08-07T08:13:09.376212
2021-10-05T03:55:52
2021-10-05T03:55:52
412,133,453
0
0
null
2021-10-04T18:35:27
2021-09-30T16:08:13
JavaScript
UTF-8
Python
false
false
424
py
# Generated by Django 3.2.7 on 2021-10-01 16:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0002_order_orderitem_review_shippingaddress'), ] operations = [ migrations.AddField( model_name='product', n...
[ "ianphua3@gmail.com" ]
ianphua3@gmail.com
0ff63352251fa125ff1dc108accc2e3a87a60abc
4230ef93b6345a0ff0aec59f7f80b7b5834f8f25
/enti/database.py
1e236ba2c101069231441f1a69234cc1722ed1b2
[]
no_license
jrgoulet/enti
259cac68b3c819de43c803cabb22a28484b3edc3
31f8c02f2f2f35956253e4935d9aae3e714697ee
refs/heads/master
2020-03-10T08:39:02.624207
2018-04-17T14:18:59
2018-04-17T14:18:59
129,289,949
0
0
null
null
null
null
UTF-8
Python
false
false
8,182
py
# -*- coding: utf-8 -*- import os from contextlib import contextmanager from time import sleep from celery import Task from sqlalchemy import create_engine from sqlalchemy import event from sqlalchemy import exc from sqlalchemy.orm import sessionmaker, scoped_session from enti.extensions import celery, log from enti...
[ "jrgoulet@gmail.com" ]
jrgoulet@gmail.com
1b2cdbc008eeca3c2ee2c654507b359c7b04f98b
20f69fe1bfab6784808bf3b06ab43c733a1b0b5d
/connector.py
d06990d484f317d8b0c5394f381051873b1ccf94
[]
no_license
artfadeev/aprilContest-localrunner
419a510c4046f3f7183e179a5a325b6982be92e7
04e62c8eb04c16b58a025459b38c3d3a112b36d5
refs/heads/master
2020-05-03T06:22:41.132441
2019-06-29T20:41:47
2019-06-29T20:41:47
178,471,393
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
from subprocess import PIPE, Popen class Connector(): def __init__(self, command): self.process = Popen(command, stdin=PIPE, stdout=PIPE) def write(self, message): try: message = '{}\n'.format(message).encode() self.process.stdin.write(message) self.process....
[ "noreply@github.com" ]
artfadeev.noreply@github.com
47396015b2690488e9061caecb1ed01578a5be1c
9a735a775a2243f8f1582f52e462bd1f211ef778
/fetch_qualtrics.py
433527262de01e390487c7d04b2d50732a011220
[]
no_license
aculich/qualtrics-scripts
a2e9fa82c5bd8d47c106461c5ea881859148bec6
ba7070cedca79c692840f88ec1f5723a6fedaa38
refs/heads/master
2020-09-26T08:14:20.047388
2019-12-07T00:39:31
2019-12-07T00:39:31
226,213,837
0
0
null
null
null
null
UTF-8
Python
false
false
7,727
py
#!/usr/bin/env python # configure saving to Google Drive ### We can auto upload the file to google drive #from google.colab import drive #drive.mount('/content/gdrive', force_remount=True) #root_dir = "/content/gdrive/My Drive/" # import requests import zipfile import json import io, os import sys import datetime fr...
[ "aculich@gmail.com" ]
aculich@gmail.com
95d1074bd31e768504afb22ad76d8b1591ba9d0e
36ec7aee200e3116b48b57779be79bf114d5de60
/catkin_ws_paulischmidt/build/bline_detection/catkin_generated/pkg.installspace.context.pc.py
357eb18570210434c55ae2f1b3665eef85ff0041
[]
no_license
MarcelSchmidt89/RobotikWS19
1742629595442968651fffa0f82977320fb2ae02
5c8263a8a7ee88e64eaf6c99d291a684db81ae69
refs/heads/master
2020-08-18T08:07:28.107706
2020-01-24T14:22:40
2020-01-24T14:22:40
215,767,534
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "bline_detection" PROJECT_SPACE_DIR = ...
[ "hiyop@live.de" ]
hiyop@live.de
7d41b30ed78b8b2b0274008e2dd827b812ad3c4b
69e6c93e5d9cc0ad3fcc8d595aff95c71609f13e
/tests/test_nh_32bit.py
2fe18a2a1d465780ee3c2bc08a8405deba44d4fa
[ "GPL-2.0-only", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
atsgen/tf-vrouter
2d27e233774bc5116e964c403f3332df7633afc7
c95daa24744bdeb4839f63ebd057552f18404171
refs/heads/master
2023-02-16T15:37:58.986288
2021-01-15T06:45:23
2021-01-15T06:45:23
290,211,517
0
0
BSD-2-Clause
2020-08-25T12:40:00
2020-08-25T12:39:59
null
UTF-8
Python
false
false
3,288
py
#!/usr/bin/python import os import sys sys.path.append(os.getcwd()) sys.path.append(os.getcwd() + '/lib/') from imports import * # noqa # anything with *test* will be assumed by pytest as a test class TestNh32(unittest.TestCase): @classmethod def setup_class(cls): ObjectBase.setUpClass() O...
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
fa3a1c7dc5841b9a1f6b5f0dc876c827ea15a115
9e84a433007ed4f6b2f9fc40f17a6fc5deb8603c
/frontbackend/Polaris/migrations_bak/0032_auto_20190514_1130.py
5143de7c52d0c09775f5fb48da2b2e4d6aa5af9b
[]
no_license
wellwang1993/glbs
8a654bcd2b5e06a823112b6f07f324753f8a1034
a96cd8a949bfae06026c2b9f9fa2ec0230997932
refs/heads/master
2020-05-16T04:56:07.019399
2019-07-26T11:22:21
2019-07-26T11:22:21
182,794,117
0
1
null
null
null
null
UTF-8
Python
false
false
425
py
# Generated by Django 2.1.2 on 2019-05-14 11:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Polaris', '0031_tb_fact_dnszone_info'), ] operations = [ migrations.RemoveField( model_name='tb_fact_view_info', name='view_...
[ "root@localhost" ]
root@localhost
2a98d0c0f56610225ef63b5e6d52e8c33a7a9ff0
9ccde1fd86b776c2cd2fb3eb7137469a1fa9612b
/classifiers.py
e52669df011f6c386f6168204a337f34dee2a605
[]
no_license
saumil2525/YelpReview-SentimentAnalysis
92170cc2b0bded7647a316d46a630dc7f8fd2750
ae0a9a60b9bb85ebcb1453b1a31a9e5648655f04
refs/heads/master
2023-01-23T18:51:47.005744
2020-12-03T09:07:14
2020-12-03T09:07:14
310,023,840
0
0
null
null
null
null
UTF-8
Python
false
false
8,261
py
from sklearn.tree import ExtraTreeClassifier from lightgbm import LGBMClassifier from xgboost import XGBClassifier from sklearn.neural_network import MLPClassifier from sklearn.gaussian_process import GaussianProcessClassifier from sklearn.preprocessing import StandardScaler, MaxAbsScaler, MinMaxScaler, RobustScaler fr...
[ "saumil2525@gmail.com" ]
saumil2525@gmail.com
c6aabf9bb04b6c5f151ac01e844bdefdc7b49cb2
6a2a4f97009e31e53340f1b4408e775f3051e498
/Iniciante/p2139.py
4fe3e0111f40176ba65920fe08df23ba24da9d0c
[]
no_license
rafacasa/OnlineJudgePythonCodes
34c31f325cccb325f074492b40591ad880175816
030c18f9020898fdc4f672f9cc17723236e1271d
refs/heads/master
2023-07-15T12:09:45.534873
2023-06-27T00:24:03
2023-06-27T00:24:03
250,595,994
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
from datetime import datetime while True: try: mes, dia = map(int, input().split()) data = datetime(day=dia, month=mes, year=2016) natal = datetime(day=25, month=12, year=2016) if data > natal: print('Ja passou!') continue if data == natal: ...
[ "rafaelluizcasa@gmail.com" ]
rafaelluizcasa@gmail.com
141cdf073eba87447e04afe683e7d304141d170d
10920b11a22a20f9a7f63157818327f3c4e41888
/Final_Project_BIR/Robot_arm/demo_002.py
1a17f31ef610acdfaaa212131cad6479e3b77a34
[]
no_license
dsall/computerv
e331b3d025c8cec0119b789107d1fef18d08f02a
40671d618c31ad9d9b20fc902a218a8e281098bc
refs/heads/master
2021-09-15T09:33:08.495580
2018-05-29T23:41:42
2018-05-29T23:41:42
135,363,332
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import numpy from arm import Arm from board import Board a = Arm.connect() b = Board.connect(verbose=True) while 1: pot = b.get_pot() pho = b.get_photo() fx = round(numpy.interp(pot, [0, 1], [190, 210])) fy = round(numpy.interp(pot, [0, 1], [-200, 200])) fz = round(numpy.interp(pot, [0, 0.5, 1], ...
[ "djiby45@outlook.com" ]
djiby45@outlook.com
37b53d420486df7030ee6727a9bb4e5d031b98de
d5463d1efdf17941ca3fd79ef106a3db9be48fbc
/booktest/admin.py
61b22a340409278043c70630021506ed840b0214
[]
no_license
holyzhang1314/test11
8d81a408f67bbd010c15429eecfe70ce82ab60c8
24f927a87d4e96a0a5632e73408c9c5abce5c8ab
refs/heads/master
2020-03-19T00:13:35.110758
2018-05-30T15:39:18
2018-05-30T15:39:18
135,464,185
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from django.contrib import admin from booktest.models import BookInfo,HeroInfo # Register your models here. class BookInfoAdmin(admin.ModelAdmin): list_display = ['id','btitle','bpub_date'] class HeroInfoAdmin(admin.ModelAdmin): list_display = ['id','hname','hgender','hcomment'] admin.site.register(Boo...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
046a5daacc1ebb555c681cadeea783f0a6718797
e9fd251edc0ecfb4ab93fc77d5e9dabb0f875e92
/foodproject/food/ecommerceproject/cart/models.py
3502ed1d41c71e9df5535990e25d3857af55b2ea
[]
no_license
sadheeda/avodhafoodhub
f329f5baf74692982b1ae830068c2c43bc3ed6d6
c8d7b44647b77ce750d9f03914ac8790b34ed12c
refs/heads/master
2023-06-25T22:04:34.736851
2021-07-25T14:32:21
2021-07-25T14:32:21
389,365,763
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
from django.db import models from flipcart.models import Product # Create your models here. class Cart(models.Model): cart_id=models.CharField(max_length=250,blank=True) date_added=models.DateField(auto_now_add=True) class Meta: db_table='Cart' ordering=['date_added'] def __str__(self): ...
[ "sadheedha5656@gmail.com" ]
sadheedha5656@gmail.com
c305757938c86864f34ea4f70d6278821b22f60d
2049758e02fa5d238f48a8a01720362f5afc0f1a
/docs/code/pyspark-rdd-broadcast.py
4b85538ad0f46612c1731242869171a5aec5b2e3
[]
no_license
arita37/spark
aaa1f7faf08d54582610cf7cd78e2c9063325952
30f81283d312e31a94cc79b0f4ce514597d0ed69
refs/heads/main
2023-01-04T18:11:39.741293
2020-11-03T02:14:18
2020-11-03T02:14:18
309,542,811
1
0
null
null
null
null
UTF-8
Python
false
false
722
py
# -*- coding: utf-8 -*- ''' Created on Sat Jan 11 19:38:27 2020 @author: sparkbyexamples.com ''' import pyspark from pyspark.sql import SparkSession spark = SparkSession.builder.appName('SparkByExamples.com').getOrCreate() states = {"NY":"New York", "CA":"California", "FL":"Florida"} broadcastStates = ...
[ "noreply@github.com" ]
arita37.noreply@github.com
8853940a473c8552086a38fd3b582f4af37095c7
7604c6e585983f50864abf41b4895dbc7f581814
/338-counting-bits.py
99c3bfe7f7a88efae99eb3b8196fb14b51babf2d
[]
no_license
Khranovskiy/leetcode-sln
defd0f24ade9978e42023763ede84b9853e0b424
f5d0a0b6198e4550ba264f487fb16fdebc4758c5
refs/heads/master
2021-09-25T04:42:54.383451
2021-09-19T00:44:36
2021-09-19T00:44:36
252,555,227
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
def countBits(self, n: int) -> List[int]: ans = [0] * (n+1) ans[0] = 0 for i in range(1, n + 1): ans[i] = ans[i >> 1] + i % 2 return ans
[ "xronosd@gmail.com" ]
xronosd@gmail.com
55cdab17ec901a8ffa6a81925a110187b10d8bae
43160e9b2210fb20e479c2e5e5d3fd2bf2257f06
/game/forms.py
172c1e6ddb338e158b5c8383cbb0f85ef9250eef
[]
no_license
divilian/ack-wire
60e7fdd9487502a9b497fc12150e7958e1b41640
ead03b1409103493c67e90538411ef18ac49ba5e
refs/heads/master
2023-05-26T14:57:08.649803
2020-04-03T13:41:08
2020-04-03T13:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.db import models from django.forms import ModelForm from .models import Game class GameForm(ModelForm): class Meta: model = Game fields = ['name', 'users']
[ "nathan@theselfs.org" ]
nathan@theselfs.org
4dbf33b66dd5c093f9d4fa6303a6ca3c82d06327
79e3e9a26fdf02b42f5c5b4fb5bbd15d5bf789ef
/meals/planner/migrations/0007_auto_20200426_1026.py
ad7c3d0d53d1f5653c9ef9089878b1ef2e0680c1
[]
no_license
njdelwiche/meal_planner
2d1676644ead0ab6188d1b286daf4d2dc9899c80
a60fba5a16c9e574350aa39a93bf31b0ee0f46d5
refs/heads/master
2022-12-07T04:24:24.865625
2020-09-09T23:25:29
2020-09-09T23:25:29
255,720,593
1
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# Generated by Django 3.0.3 on 2020-04-26 14:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('planner', '0006_report'), ] operations = [ migrations.CreateModel( name='Recipe', fields=[ ('id', mo...
[ "nodelwiche@gmail.com" ]
nodelwiche@gmail.com
91a65c63c15cb0bde63bf4673864e1a6d59e05f3
becf6ce3fbe62eb29b43eb624514d834a1c3a03b
/pi.py
0fff9b49c721af3e174b2dab1f49bcf163d34ed6
[]
no_license
jcueto1998/chem160module2
140c020dbcb15714b64b43c54233efed0e559146
a239e13756696d9c6da54ca70e54c0730b9d10a4
refs/heads/master
2022-12-09T23:42:27.605119
2020-09-06T21:09:46
2020-09-06T21:09:46
292,724,311
0
0
null
2020-09-04T02:02:42
2020-09-04T02:02:41
null
UTF-8
Python
false
false
242
py
import random, math inside = 0 ntrials = 100000 for i in range(ntrials): x=random.random() y=random.random() if (x*x+y*y)<1.0: inside+=1 pi=4.*inside/ntrials print("N=%d Error=%8.5f "%(ntrials, pi-math.pi))
[ "noreply@github.com" ]
jcueto1998.noreply@github.com
f9deb1dc5ce6c59443b706d26b0acf2b3b1c18bd
91f675664006f0208bc78af422c6c5904effabe5
/utils/textprocessor.py
b5b59ddd368f2aa1fe8de66a398424534029461e
[ "MIT" ]
permissive
rsolar/ftprop-nlp
1a562ba3d7d68843cb495464f9e845b4c920715c
d51cb355c764110979cda26ee9b06f9a95521987
refs/heads/master
2020-03-17T20:54:51.325294
2018-06-04T14:12:55
2018-06-04T14:12:55
133,934,720
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import re from string import punctuation from nltk.tokenize import casual_tokenize from nltk.tokenize.casual import URLS def clean_tweet(tweet): tweet = re.sub(r"https?://\S+", "", tweet) # tweet = re.sub(URLS, "", tweet) toks = casual_tokenize(tweet, preserve_case=False, reduce_len=True, strip_handles=T...
[ "hwrlwhyq@gmail.com" ]
hwrlwhyq@gmail.com
95de5df7a22b6a56135887f66ed343865118bf9f
ea2b40a2b2209db1c363833e33d77086e1a4b023
/tests/robust/test_min_param_perturbation.py
aeed86f73b1fcb5e15fcf33cf1dd469ca4ea4944
[ "BSD-3-Clause" ]
permissive
kopalgarg/captum
3ecb8de09c2a0e0efa487c67638abb0bb7870d1f
67a3ddcb627f008cf0c23df7b10bc50d75324efe
refs/heads/master
2023-06-15T18:00:54.449011
2021-07-04T21:45:58
2021-07-04T21:46:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,092
py
#!/usr/bin/env python3 from typing import List import torch from torch import Tensor from captum.robust import MinParamPerturbation from tests.helpers.basic import BaseTest, assertTensorAlmostEqual from tests.helpers.basic_models import BasicModel, BasicModel_MultiLayer def inp_subtract(inp: Tensor, ind: int = 0, a...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
3050b4d85af15ca45677912023d5350374ed9985
1e72a41284b6249f4ddd358ca5749946b508a1a2
/carpoolapp/carpool/settings.py
72d08776927b1a85b933d4b2a8e44a53a10b6975
[]
no_license
ffavero/travelplan
d67f830096df9afb9605ee744a9c4b6829c9f27d
f7ee832513e0f462672f59f2c323b49969180571
refs/heads/master
2020-04-10T20:33:44.876383
2011-05-08T00:08:22
2011-05-08T00:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,550
py
# Django settings for carpool project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. ...
[ "francesco@blackmac.(none)" ]
francesco@blackmac.(none)
a0a502804a0a586196a6908d5aaf11ca39db16b0
45d18bc33216ff712a08c17cf78a2bc5c8656c53
/Utilities/MS_UT_Stack2Dir.py
a6533118b46e76f56bec90a679a74b2a3469e5cd
[]
no_license
JaneliaSciComp/MetaSegmenter
5fe6329c4b52f8aaa5d62cf114b1a9b8206ce17a
6db3e8e26677b49be999773daee6ea475985df55
refs/heads/master
2021-08-11T13:04:54.513331
2017-11-13T18:50:20
2017-11-13T18:50:20
29,359,370
0
0
null
null
null
null
UTF-8
Python
false
false
2,728
py
#! /usr/local/python-2.7.6/bin/python # # Copyright (C) 2015 by Howard Hughes Medical Institute. # # Purpose: given a segmentation stack, # produce a directory of RGB files import os, sys, re, h5py import tifffile as tiff import numpy from skimage.morphology import label from scipy.ndimage import measurements from sk...
[ "denisovg@hhmi.org" ]
denisovg@hhmi.org
f85638ba486b3870c34ad06f582151b51107b7b2
56470dbd199578f73f9c5b676d19b4774960a68d
/src/CNVRepeat/main.py
af7442c4e6be8f0a2d80549918df51ca5b995614
[ "MIT" ]
permissive
bioCKO/CNVRepeat
a646fa729db6f2b8cca718b0a1dc78b5b848b149
e6b9b90599bf973f523a879ad66f836f82a45bf2
refs/heads/master
2021-03-12T01:26:51.315608
2017-09-15T22:56:20
2017-09-15T22:56:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,856
py
#the package use modules from grocsvs (https://github.com/grocsvs/grocsvs) as basis for designing the pipeline. from __future__ import print_function import argparse import collections import json import logging import sys import os from CNVRepeat import log from CNVRepeat import options as opts from CNVRepeat import...
[ "jinfeng7chen@gmail.com" ]
jinfeng7chen@gmail.com
6e76423c155ccab25bed5f4ffa05b8a19b6e7837
2951edcfb42fdb55ed24c43b646996be9b402405
/linear.py
2fad4ff072119e0bcdd4e53e279e62436678dbb2
[]
no_license
jknific123/Linear-regression
9ddcdf6c5a79b0dea0b0bbe009acf6882244aa7c
813ccf1a7770ac079860fd53bde14460e4e8cfbf
refs/heads/master
2023-08-12T16:12:20.500019
2021-09-30T02:07:15
2021-09-30T02:07:15
411,883,766
0
0
null
null
null
null
UTF-8
Python
false
false
4,119
py
from collections import defaultdict import numpy from scipy.optimize import fmin_l_bfgs_b import scipy import scipy.sparse import scipy.sparse as sp import numpy as np def append_ones(X): if sp.issparse(X): return sp.hstack((np.ones((X.shape[0], 1)), X)).tocsr() else: return np.hstack((np.one...
[ "jk2922@student.uni-lj.si" ]
jk2922@student.uni-lj.si
0a245b54458469b01243464d6f75b5d93d0ab07e
039640b3392e707c524cf77429ddeb8560313385
/country_code_checker.py
02799c93e2bb7030b4e00956caa97a2419ee7ac0
[]
no_license
Mohammad-420/User_Account
0c3f2a6cb075b8ece05b3ff23f3bae01d0808109
e17a4789057b55cec94927649fb06cbfb94b2309
refs/heads/main
2023-06-12T22:34:46.028272
2021-06-29T09:11:29
2021-06-29T09:11:29
380,084,592
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
def getCountryCode(country: str): if country.lower() == 'iran': return '+98' elif country.lower() == 'usa': return '+1' else: return None
[ "noreply@github.com" ]
Mohammad-420.noreply@github.com
93b3f58fa9d8f121e2b58236a53a8e500cb522fa
280c756726e13abeca4ee378ce5945c2239b596a
/algorithms/warmup/9-birthday-cake-candles.py
bf20a5c0dc5fe79360c84e6a45ad433068f7a776
[]
no_license
dgamidov/hackerrank
32a6ad6ead6695f0c72a38b6e0796994de4f9301
c805c45b3573216bf5608c27a8eeddedde5bed2c
refs/heads/master
2020-06-24T15:04:52.979312
2019-08-30T13:14:56
2019-08-30T13:14:56
198,995,416
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#!/usr/bin/env python3 def birthdayCakeCandles(ar): age = max(ar) count = 0 for item in ar: if item == age: count += 1 return count arr = [3, 2, 1, 3] birthdayCakeCandles(arr)
[ "dgamidov@gmail.com" ]
dgamidov@gmail.com
4517a2973ced5a7f7821ef8b9c39134321bf76b9
24e7e0dfaaeaca8f911b40fcc2937342a0f278fd
/venv/Lib/site-packages/pandas/tests/frame/methods/test_replace.py
83dfd42ae2a6ee2db8dd44070761be1616e746d0
[ "MIT" ]
permissive
BimiLevi/Covid19
90e234c639192d62bb87364ef96d6a46d8268fa0
5f07a9a4609383c02597373d76d6b6485d47936e
refs/heads/master
2023-08-04T13:13:44.480700
2023-08-01T08:36:36
2023-08-01T08:36:36
288,455,446
1
0
MIT
2021-01-22T19:36:26
2020-08-18T12:53:43
HTML
UTF-8
Python
false
false
58,773
py
from datetime import datetime from io import StringIO import re from typing import Dict, List, Union import numpy as np import pytest import pandas as pd from pandas import DataFrame, Index, Series, Timestamp, date_range import pandas._testing as tm @pytest.fixture def mix_ab() -> Dict[str, List[Union[int, str]]]: ...
[ "50989568+BimiLevi@users.noreply.github.com" ]
50989568+BimiLevi@users.noreply.github.com
f3c2cb662ed638d0c09895b30866e0288f8678a7
8dc1911b368a002c4ae208934f034fc223bf4eee
/TP_POLOTIC/urls.py
761e47990920ea9407f659cb86865d55b184cb6f
[]
no_license
Hernan-Monsalvo/POLOTIC-DJANGO-TPFINAL
484885ce23d1636bf840ad99acd3b65cbafb86c5
4fc2ed65d974ea9bb6e8281eebb3359ce941ca4b
refs/heads/master
2023-06-06T22:29:11.790471
2021-06-27T22:02:48
2021-06-27T22:02:48
379,059,253
0
1
null
2021-06-25T20:06:41
2021-06-21T20:49:04
HTML
UTF-8
Python
false
false
869
py
"""TP_POLOTIC URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "monsalvo.h@hotmail.com" ]
monsalvo.h@hotmail.com
277d57620d6cfdbe8c300d6504c4813820d3a9d5
220d1afe1b0c4a54003cb22fe27b96adcbd2b84e
/manage.py
7807b91202e69042ca509cb4a9ce9eebc53ef894
[]
no_license
kingkaki/Flask-blog
a46e36bcc921f0b882baabd2ac26e40ae3b22e19
eddd8046c217caea9755796aa16e822af6342eb8
refs/heads/master
2020-03-20T21:10:55.334205
2018-06-21T08:09:58
2018-06-21T08:09:58
137,727,486
4
0
null
null
null
null
UTF-8
Python
false
false
211
py
# -*- coding: utf-8 -*- # @Author: King kaki # @Date: 2018-06-15 09:52:52 # @Last Modified by: King kaki # @Last Modified time: 2018-06-15 15:34:43 from app import app if __name__ == '__main__': app.run()
[ "917536172@qq.com" ]
917536172@qq.com
5bb9b2610922b496f4a7db330206c0b9e5f9449c
3551a038d8d6fdb7ba3ec24b33ee86b709cac564
/QtProperty/qttreepropertybrowser.py
7c108173713aaebf39d58914aa7ba63299260a5a
[ "BSD-2-Clause" ]
permissive
theall/QtPropertyBrowserV2.6-for-pyqt5
814f231f05afea05763fe45e6eeac90f968ed775
99b80ff1106c6818529cff3677f12fc48f5eed88
refs/heads/master
2021-01-21T04:48:06.737673
2020-06-25T04:55:30
2020-06-25T04:55:30
53,728,283
22
11
null
null
null
null
UTF-8
Python
false
false
32,741
py
# -*- coding: utf-8 -*- ############################################################################# ## ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ## Contact: http:##www.qt-project.org/legal ## ## This file is part of the Qt Solutions component. ## ## $QT_BEGIN_LICENSE:BSD$ ## You may use this file...
[ "wazcd@163.com" ]
wazcd@163.com
b7ab6b965d93d7f35c0afff80685ffb4a1e42305
f115984d89ee91e1fefa7bd0546f60db251dfee6
/herg-real-data/fit-full2vclinleak.py
4acedcf938ceadc4884a65115c703c0a6b52626b
[ "BSD-3-Clause" ]
permissive
CardiacModelling/VoltageClampModel
f483fc3ad2129f75e377df210b9b91b1cdcb7565
f30271da75e3c70526e53fb51dc12b317ab3b714
refs/heads/master
2023-07-05T10:07:59.771334
2021-03-03T11:05:35
2021-03-03T11:05:35
227,666,074
3
0
BSD-3-Clause
2021-03-03T11:04:46
2019-12-12T17:58:13
Python
UTF-8
Python
false
false
8,270
py
#!/usr/bin/env python2 from __future__ import print_function import sys sys.path.append('../lib/') import os import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import pints import model as m from parameters import full2vc from parameters import full2vc_fix, full2vc_fix_typical_v...
[ "chonloklei@gmail.com" ]
chonloklei@gmail.com
a4cb35c944d195798b49faf28d70517f24032b39
257dca672ec6f57d63ab2f603c82b9e34c623ace
/experiment/fields.py
039d2d084534e3645ddd7d73004435e7510855c4
[]
no_license
keryil/leaparticulatorjs
df59f64789d382641a229f6a8d2556bfe5d61603
5d0630b272ce4ca489731256c61eecd4af7863ff
refs/heads/master
2021-01-01T05:14:27.547376
2016-05-20T22:29:30
2016-05-20T22:29:30
59,297,895
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from django.db import models from .widgets import FilePathFieldBrowser class UploadedMeaningField(models.ImageField): pass class FileWithPreviewField(models.FilePathField): def formfield(self, **kwargs): kwargs['widget'] = FilePathFieldBrowser return super(FileWithPreviewField, self).formfield...
[ "keryilmaz@gmail.com" ]
keryilmaz@gmail.com
151f7484ec7c130b4403dd08c90830b52368805d
4202a7c678e0ec25ab2065c4c2804b0296f94480
/MOMI_FCS2/momi_priorset_8_stoch_asym.py
9d14d73e818b29893f66b4c9d5195a512cecadac
[]
no_license
kaiyaprovost/whole_genome_pipeline
f1c479536560c5b8c68fe3a5ba0917140fbb0793
8e605d855c9f0cd6e11e1b73a97260e0d4aa3fae
refs/heads/master
2023-04-22T20:51:01.344297
2023-04-06T19:12:11
2023-04-06T19:12:11
237,044,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,387
py
import momi ## momi2 analysis import logging ## create log file import numpy as np import datetime print("-----\n-----\n-----") now = datetime.datetime.now() print("start logging\n") logging.basicConfig(level=logging.INFO, filename="momi_log_priorset_8_stoch_asym.txt") print("load s...
[ "17089935+kaiyaprovost@users.noreply.github.com" ]
17089935+kaiyaprovost@users.noreply.github.com
40b3e16e17c6ef5cae7ff9e8de412ed7a49088dc
6b070106e806cf5f5525e1276d5006762e90593f
/v2_linear_regression.py
07e452f1205828d1078b7f227634e4e96403773c
[]
no_license
Ayushi113/coursera-code
2dea6baca45df7ca115558c9fc22d45934d92d74
f5970c11436655574f21e3d4912a61dff4b7ba7f
refs/heads/master
2020-07-21T14:59:04.505043
2016-08-20T20:54:14
2016-08-20T20:54:14
66,167,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
#usr/bin/env/python import matplotlib.pyplot as plt import pylab import numpy import sympy from sympy import * regression_data=numpy.genfromtxt('data.txt', dtype=float) print regression_data col1=regression_data[:, 0] col2=regression_data[:, 1] pylab.xlim([10,20]) pylab.ylim([10,20]) #data_frame = [profits, population...
[ "noreply@github.com" ]
Ayushi113.noreply@github.com
17ab9fad59ece529f0f67bb4d297210e473db480
c2f92d75d235ff5ed7b213c02c4a0657545ba02f
/newchama_web/2/newchama/repository/migrations/0020_auto__add_field_keyword_is_delete.py
14c0317f746a4890034163cc993cdb2a38deb7d8
[]
no_license
cash2one/tstpthon
fab6112691eb15a8a26bd168af3f179913e0c4e0
fc5c42c024065c7b42bea2b9de1e3874a794a30d
refs/heads/master
2021-01-20T01:52:06.519021
2017-04-14T09:50:55
2017-04-14T09:50:55
89,338,193
0
1
null
2017-04-25T08:46:06
2017-04-25T08:46:06
null
UTF-8
Python
false
false
10,751
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 field 'Keyword.is_delete' db.add_column('repository_keyword', 'i...
[ "yxlz_0910@163.com" ]
yxlz_0910@163.com
baab9b279dd832e7b08c117e04977fc07ef18923
9d7b29f3898f74c9d28a182e190ededbc510f327
/build_lisa_records.py
c77cc26dfe1141ef2b64a1820c70fb580aece40c
[]
no_license
kapil-varshney/yolo
e95bdf83bf7a8a8632272778c0b08aa9d73b09e4
36697622fd6041e0b0b73b70778dce8930a1581b
refs/heads/master
2020-03-26T08:22:43.376797
2018-08-28T10:19:32
2018-08-28T10:19:32
144,698,932
2
0
null
null
null
null
UTF-8
Python
false
false
4,706
py
#import from config import lisa_config as config from sklearn.model_selection import train_test_split from PIL import Image import tensorflow as tf import os import cv2 def main(_): # initialize a data dictionary used to map each image filename to all # bounding boxes associated with the image, then load the ...
[ "kvarshney.14@gmail.com" ]
kvarshney.14@gmail.com