blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
4d10320d891c2f97f5555759930874aabd3c98d3
0c42cb64dfe3ec9a046fc95bd26543faa4e0aa6b
/users/forms.py
3785a73dcb9b70433314f4a6da334bb0885e8f3b
[]
no_license
shahjalalh/zed
38bf0e4ad2eea4b066b6be55e6a7f1aefffc00e5
7bc9dc5b5e1921204c2b7cf72afe43d798953599
refs/heads/master
2022-12-12T10:17:19.797791
2021-01-27T15:31:48
2021-01-27T15:31:48
171,094,577
0
0
null
2021-01-27T15:32:54
2019-02-17T07:35:58
CSS
UTF-8
Python
false
false
3,605
py
from django import forms from users.models import User from django.contrib.auth.forms import UserCreationForm from allauth.account.forms import LoginForm, SignupForm # login form class CustomLoginForm(LoginForm): def __init__(self, *args, **kwargs): super(CustomLoginForm, self).__init__(*args, **kwargs) ...
[ "shahjalal.tipu@gmail.com" ]
shahjalal.tipu@gmail.com
b3e47f429727fb61ea53bf808e9a2e028205e520
c0ad40f3f51688f12e077726ad1912820a322314
/reminder/migrations/0001_initial.py
c783054062621f9644f983381f9b5afb4ceedb6b
[]
no_license
apramz/project2
5c91896f66e66024f42804c4e60b22ea69e45d2d
f035bd96a0428518c0a6de9db5dfbae2abe9efe6
refs/heads/master
2021-01-15T22:34:53.241231
2017-08-25T04:28:35
2017-08-25T04:28:35
99,902,055
0
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-08-02 00:18 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import phonenumber_field.modelfields class Migration(migrations.Migrat...
[ "apramono@berkeley.edu" ]
apramono@berkeley.edu
7a43311a13fed52e7fa7d94a2b24660de0824582
36d73f6d206fba855c24e7de9e4585268d4fdbb7
/urls.py
03280e5bdeafc270e036a003014041f8e6a13d7c
[]
no_license
igrooves/releasourcer
129b76665416590a782d2676b136dc8705a9c6f4
bb50865c910269d764f86c1cef96faaf0adbebed
refs/heads/master
2021-01-17T06:31:01.770507
2011-06-12T12:44:19
2011-06-12T12:44:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'releasourcer.views.home', name='home'), # url(r'^releasourcer/', include('releasou...
[ "benmatselby@gmail.com" ]
benmatselby@gmail.com
240fb61b081a081b9f3c81c6e1a9ad742e59c0bf
1bfad01139237049eded6c42981ee9b4c09bb6de
/RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bgp/ipv4multicast.py
2baf3dbdd4ebc6ddbc3f29808a704fecd9fbf9e5
[ "MIT" ]
permissive
kakkotetsu/IxNetwork
3a395c2b4de1488994a0cfe51bca36d21e4368a5
f9fb614b51bb8988af035967991ad36702933274
refs/heads/master
2020-04-22T09:46:37.408010
2019-02-07T18:12:20
2019-02-07T18:12:20
170,284,084
0
0
MIT
2019-02-12T08:51:02
2019-02-12T08:51:01
null
UTF-8
Python
false
false
7,158
py
# Copyright 1997 - 2018 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, p...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
b4fae5ec2dfeb5c6c4e3038730c2990639d7f75e
d74c54c22c059223fbc95ea214def418f4a5e6b8
/search.py
d45c636812497a76b93167cac2c0af2ff3dd3754
[]
no_license
aryavatan/PacmanSearch
cbd23a0bede4c753b5453d23f794bb7380e07171
fec5d10eedf447ed438e74e0f0247adc267171e9
refs/heads/master
2023-01-02T17:22:07.446984
2020-10-19T13:11:04
2020-10-19T13:11:04
302,981,805
0
0
null
null
null
null
UTF-8
Python
false
false
5,683
py
# search.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # A...
[ "arya.vatanabadi@gmail.com" ]
arya.vatanabadi@gmail.com
8c6e52f21979f9c706821df3c1e10416bad935da
910d4dd8e56e9437cf09dd8b9c61167673140a1f
/0219 stack 2/부분집합.py
9cc5973c23a43a26be7da70e2af42e568605cd34
[]
no_license
nopasanadamindy/Algorithms
10825b212395680401b200a37ab4fde9085bc61f
44b82d2f129c4cc6e811b651c0202a18719689cb
refs/heads/master
2022-09-28T11:39:54.630487
2020-05-29T09:49:56
2020-05-29T09:49:56
237,923,602
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
# {1, 2, 3} 모든 부분집합 출력하기 N = 3 A = [0 for _ in range(N)] # 원소의 포함여부 저장(0,1) # print(A) data = [1, 2, 3] def printSet(n): for i in range(n): # 각 부분 배열의 원소 출력 if A[i] ==1: # A[i]가 1이면 포함된 것이므로 출력 print(data[i], end =" ") print() def powerset(n, k): # n : 원소의 갯수, k : 현재 depth if n == k:...
[ "iuui21@snu.ac.kr" ]
iuui21@snu.ac.kr
c00fd188b7a82678a3bc54928e908cf3ac38606d
0fa3ad9a3d14c4b7a6cb44833795449d761b3ffd
/day13_all/day13/exercise01.py
3be55a1b970b4e3020ba5ee3075394ff7c75dee3
[]
no_license
dalaAM/month-01
3426f08237a895bd9cfac029117c70b50ffcc013
e4b4575ab31c2a2962e7c476166b4c3fbf253eab
refs/heads/master
2022-11-22T23:49:43.037014
2020-07-24T07:37:35
2020-07-24T07:37:35
282,154,216
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
""" 重写下列类型的str方法,体会重写 """ class Employee: def __init__(self, eid, did, name, money): self.eid = eid self.did = did self.name = name self.money = money def __str__(self): return f"{self.name}的员工编号是{self.eid},部门编号是{self.did},月薪是{self.money}" class Department: d...
[ "1105504468@qq.com" ]
1105504468@qq.com
e407f8f543af99a1ae3b0f80214a619af432f588
8852413d3c1a7f8ee1456746abcaede2c8e4064a
/vgdl/hyperparameter_optimization.py
201a71035844222ba57997b0f7c42d7ad005686f
[]
no_license
kevinwu23/RC_RL
d8107f062e08aa0447f80d8fe3e588cd9f14b509
68eb92bce00a7303b42582a35812640eb8cdeaa0
refs/heads/master
2020-04-04T07:55:26.661348
2019-02-25T00:50:07
2019-02-25T00:50:07
155,765,510
0
1
null
2019-07-18T21:06:17
2018-11-01T19:29:40
Python
UTF-8
Python
false
false
3,300
py
from hyperopt import fmin, tpe, hp from pathos.multiprocessing import ProcessingPool from main_agent import Agent import time import dill # NOTE: fmin seems to fail with the hyperopt version installed by default # as of 01/2018: it is best to install directly from the github repo with # the command 'pip install git+h...
[ "kevinwu@rclogin05.rc.fas.harvard.edu" ]
kevinwu@rclogin05.rc.fas.harvard.edu
321f8fd39e415e88019ac78dc497ce6458b2ae21
e52ca5e3806755857f4c4412f2d47cfadfd10e46
/Kirk's Workspace/GithubCrawler/CodexMRS/vendor/LogWriter.py
6a26feec2a576fe37607db10b585ee919a012683
[]
no_license
clmorgan111/Final-Year-Project
0b96593d605bc1e3fd69e02e006cae271eed0f6b
dfdfb5755ef1da29c816c412e3f0d8a7a49f8b5d
refs/heads/master
2020-04-15T13:03:07.732902
2018-07-20T12:06:25
2018-07-20T12:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
''' @author: Star @time: 05-03-2018 ''' import logging import os class LogWriter: # Write error log into logs/error.log def write_error_log(self, content): if not os.path.exists("logs"): os.mkdir("logs") logging.basicConfig(format='%(asctime)s - %(levelname)s - %(message)s', file...
[ "soapke@outlook.com" ]
soapke@outlook.com
ecb1c92c6cb9c09b5bd1f743a447b6cca333fd5f
3c47fdc334c003a205a35eb9e1b39963e62c3161
/iotedgehubdev/composeproject.py
24873eabdbcdb968b9e45817b09996d7da378087
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/iotedgehubdev
9b67a5c1af43ba787025dfade2ecc655cfcd7d62
7eede7286a0603e565c8b183d090f2585521aae6
refs/heads/main
2023-09-04T02:54:46.212462
2022-11-04T00:37:49
2022-11-04T00:37:49
138,967,965
97
37
NOASSERTION
2022-11-04T00:37:50
2018-06-28T04:57:46
Python
UTF-8
Python
false
false
8,781
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import json import os import sys import yaml from collections import OrderedDict from io import StringIO from .compose_parser import CreateOptionParser from .output import Output COMPOSE_VERSION = 3.6 CREATE_OPTIONS_MAX_C...
[ "noreply@github.com" ]
noreply@github.com
8b0f47915f4e846a1fe087ded925577628ec8cea
93493ea15090f51eed85a15bd1d0dae9100aa8f7
/src/sample_opencv_pkg/scripts/Python Script/sortNonLarge.py
090daeaeb845f994103d4a2db761afaff2e1f28e
[]
no_license
Art233/ME780-W20-DA2-Team6
3c4a53eca91d36c7cebbfc7f30358e74b8f392f3
16995809205cdce341b0cc6a55cc0f8ccede6b6c
refs/heads/master
2022-04-12T00:31:04.971000
2020-04-08T00:18:23
2020-04-08T00:18:23
253,938,707
0
0
null
null
null
null
UTF-8
Python
false
false
3,868
py
#!/usr/bin/env python import rospy import sys import cv2 import serial from sensor_msgs.msg import Image, CameraInfo from cv_bridge import CvBridge, CvBridgeError from std_msgs.msg import String import numpy as np arduino_serial = serial.Serial('/dev/ttyACM0',9600) class cvBridgeDemo(): def __init__(self): s...
[ "jianan.lin233@gmail.com" ]
jianan.lin233@gmail.com
860481e131fd0dc2c26a1d2ead6ea3a7a31f40ac
e5cf5fd657b28d1c01d8fd954a911d72526e3112
/rflx/OLD/rflx_fun.py
6b410b651f85f51fbb1669486baa8c55b88da077
[]
no_license
parkermac/ptools
6b100f13a44ff595de03705a6ebf14a2fdf80291
a039261cd215fe13557baee322a5cae3e976c9fd
refs/heads/master
2023-01-09T11:04:16.998228
2023-01-02T19:09:18
2023-01-02T19:09:18
48,205,248
1
0
null
null
null
null
UTF-8
Python
false
false
3,582
py
""" Functions for the rflx code. """ import numpy as np # function to create Sin and Sout def get_Sio_chatwin(Qr, Socn, ds, nx): L0 = 50e3 # length of salt intrusion for Qr = Qr0 Qr0 = 1e3 # m3/s L= L0 * (Qr/Qr0)**(-1/3) # length of salt intrusion (m) a = Socn/(L**1.5) alpha = ds/L x = np.lins...
[ "p.maccready@gmail.com" ]
p.maccready@gmail.com
952105ec15e628f7cd738caad27b7ec938734af7
85bbc40c365d8e16f6d47ba18d63ca38349ad97c
/sitemap-posts-to-elasticsearch.py
ee76097ccde7a92a7dfb4210d6602bc232c4ff29
[]
no_license
pbindustries/Useful-Scripts
2b8401b6bb42a77364f985ba49adf57d35d36803
ea6e813ac60890aba18b000fb5c42a4a82ad973c
refs/heads/master
2020-04-05T13:45:52.899323
2018-11-21T17:36:29
2018-11-21T17:36:29
156,908,592
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import re import time import requests from bs4 import BeautifulSoup from elasticsearch import Elasticsearch es_client = Elasticsearch(['http://10.0.1.10:9200']) drop_index = es_client.indices.create(index='blog-sysadmins', ignore=400) create_index = es_client.indices.delete(index='blog-sysadmins', ignore=[400, 404]) ...
[ "noreply@github.com" ]
noreply@github.com
552385336a6eaaac22215c1ccc12198721e4f178
1482ff81c8449d854e11bd0fe909044690af3a24
/src/estimator.py
0b5c205263a717f4279d719fd7c76ce949259322
[]
no_license
euxhenh/phenotype-cover-experiments
eb5cb429fdc8fd8ef9aa2666622ad91cbe72c67c
b6e07d35d2044cb78aa5d1c7da51c237aae8b009
refs/heads/main
2023-04-16T16:23:10.901498
2022-11-11T18:14:57
2022-11-11T18:14:57
490,969,100
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
import abc class BaseEstimator: @abc.abstractmethod def __init__(self): self.__fitted__ = False @abc.abstractmethod def fit(self, **kwargs): self.__fitted__ = True
[ "ehasanaj@cs.cmu.edu" ]
ehasanaj@cs.cmu.edu
fac4b28d499e22ce687f715e8ecc4a4f5f132391
362224f8a23387e8b369b02a6ff8690c200a2bce
/django/django_orm/wall/login_app/migrations/0003_auto_20210511_1328.py
2728d4dbaa480b108c62108ed84f8255c853d617
[]
no_license
Helenyixuanwang/python_stack
ac94c7c532655bf47592a8453738daac10f220ad
97fbc77e3971b5df1fe3e79652b294facf8d6cee
refs/heads/main
2023-06-11T02:17:27.277551
2021-06-21T17:01:09
2021-06-21T17:01:09
364,336,066
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# Generated by Django 2.2 on 2021-05-11 20:28 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('login_app', '0002_comment_message'), ] operations = [ migrations.AddField( model_name='comment', ...
[ "wangyixuan@msn.com" ]
wangyixuan@msn.com
94a594126f361db8b6315465bb407b84d8168b1f
6de21a56c207612bc80c8a0eff142fe3f69e442d
/Estimation_tables_benchmark.py
223103c499e55c0bff1e0a47272fd0343989ab13
[]
no_license
MARQyie/PhD_project2_distance
b1992488d699dafd4d7cd4c68c1fdefabf062789
fd00afeae5ea691ca060c1e2b4fa9683a5c1f039
refs/heads/master
2021-11-15T20:10:31.366362
2021-08-30T06:52:45
2021-08-30T06:52:45
246,245,573
0
0
null
null
null
null
UTF-8
Python
false
false
9,047
py
# Make estimation table ''' This script uses the estimation results to make nice estimation tables. ''' #------------------------------------------------------------ # Import necessary packages #------------------------------------------------------------ import os os.chdir(r'D:/RUG/PhD/Materials_papers/2-Working_pa...
[ "50098649+MARQyie@users.noreply.github.com" ]
50098649+MARQyie@users.noreply.github.com
a8ac289204df9d5b118e6c74edb7a076e40909b4
d69c3a0ec6c945567ba19ac3ff8fb96bbfe92da5
/apps/customer/serializers.py
27fdb50cadc7f45815578370b3b3b0aa21853424
[]
no_license
schrodi/confdjango-backend
b5e111022b10e540d770eb73745360349522d7a8
d148372f8dd5304f22d828557af5161cb385ed78
refs/heads/master
2021-08-20T05:33:07.529507
2017-11-28T08:30:01
2017-11-28T08:30:01
112,307,361
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from rest_framework import serializers import apps.customer.models class CustomerSerializer(serializers.ModelSerializer): class Meta: model = apps.customer.models.Customer fields = '__all__'
[ "andre.schroth@gmail.com" ]
andre.schroth@gmail.com
26a2475c57f6455b4ca216d143c179e13aa6bdc0
2bc70bf81469e6a4eadabfb50a161fa165615ef4
/FoodZo/foodMin/tourism/admin.py
f4f7bdc9e477ab82892be256a0c5b99d52283a62
[]
no_license
rushabhkhara/FoodZo
3a3eb659ff0deea77a9fecd71881dede03f92eba
83848b9deaa879fb87ae96f7d88e2d467939729d
refs/heads/master
2022-09-16T01:31:44.587613
2020-05-31T08:12:26
2020-05-31T08:12:26
268,236,034
1
0
null
null
null
null
UTF-8
Python
false
false
237
py
from django.contrib import admin from tourism.models import fileData, Hotel , Restaurant,Cart # Register your models here. admin.site.register(fileData) admin.site.register(Hotel) admin.site.register(Restaurant) admin.site.register(Cart)
[ "rushabh.khara@spit.ac.in" ]
rushabh.khara@spit.ac.in
37b892c97c0820812ea19c836b634700c06f55cb
ff11c1a08d51e76f20b41b642b5151827bce1dab
/4_serverlog/apartado1.py
9012e13c3a5ce744cd71674ce369fcd38e95ecf0
[]
no_license
SGDI-ucm/Practica1
0362f7c4040da4733d06e6ca03d65ff837e897a7
1ef492be488eecef4088eb2d49e6a8622b13a86b
refs/heads/master
2021-01-12T11:13:13.801826
2016-11-09T18:15:29
2016-11-09T18:15:29
72,873,185
0
0
null
null
null
null
UTF-8
Python
false
false
1,951
py
# coding=utf-8 import re import sys import pyspark from pyspark import AccumulatorParam ''' Viktor Jacynycz García y Miguel del Andrés Herrero declaramos que esta solución es fruto exclusivamente de nuestro trabajo personal. No hemos sido ayudados por ninguna otra persona ni hemos obtenido la solución de fuentes ext...
[ "r31del@gmail.com" ]
r31del@gmail.com
5b1fa5cf06c354371704a96dc3592fd0d88d54c9
5debf5db5c596d19b789a8c417d83a79ce0c05c5
/scripts/geneticalgorithm/setup.py
90138825d07bf3ba48dc820e3a3f1d79496b2c0c
[]
no_license
Jensbeltman/masterRepo
0944358111957de8fde8f531648ba9b325d11622
765e2fe39525a90a7aada28417d8fdcf2fe23c9b
refs/heads/master
2023-06-04T03:38:12.371479
2021-06-24T07:02:03
2021-06-24T07:02:03
293,446,996
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
''' Copyright 2020 Ryan (Mohammad) Solgi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
[ "jens@beltman.dk" ]
jens@beltman.dk
737148ea7829692220c67ae1a0891bebe51dbb7c
be84cb7f6d239e72ffe0bd727124ced688560e83
/zhiyou/items.py
ee8914e431897f6604ba475639a0cd5daa8e2752
[]
no_license
liuyuqiong88/youji_spider
6fded24514256907e463377ecf0abb48bca2c71e
2c2ae28a4e3654d46c025b3d1e736d5db7ca8d2d
refs/heads/master
2020-03-17T12:51:22.029216
2018-05-16T03:34:21
2018-05-16T03:34:21
133,606,049
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class ZhiyouItem(scrapy.Item): # define the fields for your item here like: data_source = scrapy.Field() time_stamp = scrapy.Field() c...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
d107f8e0ed4cfc84619da79eb494a218196f83e4
868bf80c386e9afa439fbd5b20bb77203f803c83
/Lecture-4/Lecture-4-working/airline/flights/migrations/0003_passenger.py
721b5767e929d7a15fe209e1805ffcf547976857
[]
no_license
JohnK-Code/CS50-Web
521edc2105b72d4d338207bdc437b787738d64ff
4b3005df84b88f2344542834f80d665e5ce9bc8d
refs/heads/master
2023-03-10T07:35:33.408876
2021-02-18T18:44:39
2021-02-18T18:44:39
296,047,200
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# Generated by Django 3.1.1 on 2020-10-19 10:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('flights', '0002_auto_20201015_1457'), ] operations = [ migrations.CreateModel( name='Passenger', fields=[ ...
[ "19jk2009@gmail.com" ]
19jk2009@gmail.com
3173eb4004167ae8e687d0213944a6422ab9f310
f5f62ed1f738f1f7a863468c7d6c0cf20af490f3
/Uebungen/korregierte_rueckgabe/Blatt04.Lehmann.Music/Aufgabe1/Zahlenreihen/zahlenreihen.py
272aeae6faf07e496449e516bf610bbc7fff6cc5
[]
no_license
AndrejLehmann/my_pfn_2019
e0ceb7e0b999abb978c10bc15c7e05f31739b8ca
fe4d4ddb7192ecd2c0e0dbe043d72485c5ed9810
refs/heads/master
2020-08-31T01:53:37.486097
2020-04-20T20:48:08
2020-04-20T20:48:08
218,550,745
0
1
null
null
null
null
UTF-8
Python
false
false
2,768
py
#!/usr/bin/python3 # Lehmann.Music # bitte eure Bearbeitungszeit angeben, und vor Abgabe alle nicht notwendige # File oder Lösung von anderen löschen. -0.5 # bitte vor Abgabe überprüfen dass alle Zeile kürzer als 80 Zeichen sind. # Punkte: 4.5/5 # Korrektur: LZ import sys if len(sys.argv) != 2: sys.stderr.write(...
[ "noreply@github.com" ]
noreply@github.com
30651ba1a8f4ce79c71012e118c0a9a7428f5387
e951c686fc947efd10ff41069b43a7b875672c33
/server/network_monitor_web_server/db/mysql_relevant/sql_str/monitor_detail.py
92f774d13f2e381df4822faef8d8b106510b5dba
[]
no_license
JasonBourne-sxy/host-web
f48c794f2eb2ec7f8a5148620b6ca3f9b062b924
649d1a61ac15182b55c17e47c126d98d9b956b44
refs/heads/master
2022-12-20T09:21:57.947230
2019-10-28T07:23:41
2019-10-28T07:23:41
208,742,511
1
0
null
2022-12-11T06:57:55
2019-09-16T07:56:38
Python
UTF-8
Python
false
false
354
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: monitor_detail Description : Author : 'li' date: 2019/9/27 ------------------------------------------------- Change Activity: 2019/9/27: -----------------------------------------...
[ "marjey_lee@163.com" ]
marjey_lee@163.com
9e3a392c6349b84aba9f6ca914893cfcbd83c8b2
73f9ce203129a8a5b3742655ab36bb0014ebf30b
/example/test.py
32cb2da78bf4cec3f3e51de4b3b902d3b6be2bb3
[ "MIT" ]
permissive
masterliuf/akshare
bd20c6999253a8e4ccc7949a8d89c4fc5559b3bf
15907161341041dce0fd7a7bdcad7bda4b999187
refs/heads/master
2022-07-15T22:57:19.249644
2022-06-21T01:26:12
2022-06-21T01:26:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
import akshare import empyrical def test(): print('测试及功能展示: ') # ---------------------------------------------------------------------- print('\n' + '-' * 80 + '\n一个品种在时间轴上的展期收益率') df = akshare.get_roll_yield_bar(type_method='date', var='RB', start_day='20181206', end_day='20181210', plot=False) ...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
9c52abeff51c69c275327673b4db6e553c602913
d4257399c547a8b926acff519559215f8909f4a1
/Python字典提取.py
0cd6ccd008536b1773bcc16dda58f5559ad2c4a9
[]
no_license
1617193138/test
3d5766b1c88079b874d1af81959a59cb0918accb
874ac24315e5ab82ad7e95cb129f1a07b57792f4
refs/heads/master
2021-05-07T20:47:58.747265
2017-11-21T03:20:49
2017-11-21T03:20:49
108,935,861
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
dict = {'Name': 'Zara', 'Age': 7} print "Value : %s" % dict.keys() Value['Age', 'Name'] print "Key : %s" % dict.keys() Key['Age', 'Name'] for key in dick.keys(): print key for key in dict.keys(): print key for key in dict.keys(): print dict[key]
[ "813818992@qq.com" ]
813818992@qq.com
c3dbc57ec9981d4339528d7afa2d6770b6a73b09
17e4c35102c17557107dadd08be2ed8e53bb8923
/recipes/spectra-cluster-cli/spectra-cluster-cli.py
a571b453d642c74a001e4fbd2503c816d855606c
[]
permissive
messersc/bioconda-recipes
60d778e0cb39162529a641f4951bfc03c1e24af8
dfb14ef5efa30a411f84dd92b151695e4aef11c7
refs/heads/master
2021-01-13T10:22:43.927562
2018-11-14T20:50:20
2018-11-14T20:50:20
76,643,577
0
0
MIT
2018-11-15T08:44:12
2016-12-16T10:09:14
Shell
UTF-8
Python
false
false
2,622
py
#!/usr/bin/env python # # Wrapper script for Java Conda packages that ensures that the java runtime # is invoked with the right options. Adapted from the bash script (http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in/246128#246128). # # Program Parameters # import os import s...
[ "ypriverol@gmail.com" ]
ypriverol@gmail.com
50ccc355cf697cd8d4604d0d924eca8ad92874a7
7fdefb5a198e0bc686dd73d36071adb0ef568113
/config.py
cd4824d6c2c0ca34de850f930880b3196100dcf2
[]
no_license
PablinGR/musicalClothing
aae08954204f8fc124e24abbcd937e382320fb69
9af58df2880b888c6e60e5e19648cc499912dc6b
refs/heads/master
2021-01-21T16:54:36.485389
2017-08-03T23:55:56
2017-08-03T23:55:56
91,918,442
0
5
null
2017-07-24T00:39:03
2017-05-20T21:53:42
Python
UTF-8
Python
false
false
473
py
# config.py class Config(object): """ Common configurations """ # Put any configurations here that are common across all environments class DevelopmentConfig(Config): """ Development configurations """ DEBUG = True SQLALCHEMY_ECHO = True class ProductionConfig(Config): ...
[ "didacdedm@hotmail.com" ]
didacdedm@hotmail.com
97c98a9c0e2d029a2118bb74311038b0584d8087
404ef68924c7e17778d8b135092c0d64e129fc10
/Test/test_pytreearray.py
39bcd168b6afb7917b0d7cc1ceea8b19038d6545
[]
no_license
inailuig/pytreearray
bce0bce324458ab389298931896fd90f0b551e86
0a760effcc16f2c43f65565b8a509a2e1b2517b6
refs/heads/dev
2023-08-04T22:22:49.202749
2021-07-07T20:01:57
2021-07-07T20:05:12
371,046,061
7
1
null
2021-07-07T20:05:12
2021-05-26T13:35:21
Python
UTF-8
Python
false
false
3,945
py
import pytest import numpy as np import jax import jax.numpy as jnp import jax.flatten_util import pytreearray as pta from pytreearray._src.util import tree_allclose, tree_random_normal_like import pytreearray.multiply jax.config.update("jax_enable_x64", True) # noqa: E402 @pytest.fixture def vec(): seed = 123...
[ "clemens@inailuig.it" ]
clemens@inailuig.it
4599ca7b274fa00e7207901e0e96ac5c8d0b5438
f7db5b41172aa67bd5627840763df16f179997f4
/armstrong.py
24648adfea41f7960bc356d2e7738129eb704cb6
[]
no_license
Logesh4862/guvi
128ae8068d886ba8421c2361fedb10663142d542
a00b240454b47e29361a12a16245f472548a8ae9
refs/heads/master
2021-01-22T00:52:33.456670
2018-11-17T05:33:10
2018-11-17T05:33:10
102,197,894
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
n=int(input()) temp=n sum=0 while temp>0: sum=(int((temp%10))**3)+sum print(sum) temp=int(temp/10) #print(sum) if sum==n: print("Armstrong Number") else: print("Not Armstrong Number")
[ "noreply@github.com" ]
noreply@github.com
6be47ea1b25a7f616323e96ebf21cd91bbb04755
8e39a4f4ae1e8e88d3b2d731059689ad5b201a56
/media-libs/mesa/mesa-10.2.6.py
0a7a0fdb1972e3f63a51df926253636303e94fa2
[]
no_license
wdysln/new
d5f5193f81a1827769085932ab7327bb10ef648e
b643824b26148e71859a1afe4518fe05a79d333c
refs/heads/master
2020-05-31T00:12:05.114056
2016-01-04T11:38:40
2016-01-04T11:38:40
37,287,357
1
1
null
null
null
null
UTF-8
Python
false
false
2,869
py
metadata = """ summary @ Mesa 3-D graphics libraries and include files homepage @ http://mesa3d.sourceforge.net/ license @ custom src_url @ http://ftp.osuosl.org/pub/blfs/conglomeration/MesaLib/MesaLib-$version.tar.bz2 arch @ ~x86_64 """ depends = """ build @ x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes ...
[ "zirkovandersen@gmail.com" ]
zirkovandersen@gmail.com
50dd2e6d1a90d0e9d119e0bde834048d2c024925
7b8ca74a0c3876a1fbbfe7882df9147e3764fc70
/Altitude_Bot.py
6d03039714054beacf19069e8243e91dfce01ccd
[ "MIT" ]
permissive
Andre0512/Altitude_Bot
1609ceb0869dfc70d427bc3865c5c623eb5ac779
7461a4d5036650a4639d65c72a9e97a808372b79
refs/heads/master
2021-01-21T21:19:47.124326
2017-06-21T21:07:31
2017-06-21T21:07:31
94,821,341
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import logging import yaml from telegram import ReplyKeyboardMarkup, KeyboardButton, ParseMode from telegram.ext import Updater, CommandHandler, MessageHandler, Filters from googlemaps import elevation, Client logging.basicConfig(format='%(asctime)s - %(name)s -...
[ "andre.basche@gmail.com" ]
andre.basche@gmail.com
32acee63e203a3e699421809545e29cf1f32d172
6b608208a2fdbfcbb4eaf80686bd8b2013450f91
/src/4-4.py
c6ff08961046d06a16102d671f28aacf562298ee
[ "Apache-2.0" ]
permissive
Zepyhrus/tf2
6eb69a508383019be644d4cda5377ccadef793d6
807f93a5cc81dc424ef76be3103b68fb3d2dded9
refs/heads/main
2023-02-16T23:45:18.315359
2021-01-15T06:25:38
2021-01-15T06:25:38
327,514,432
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
import tensorflow as tf import tensorflow_datasets as tfds tf.compat.v1.disable_v2_behavior() def get_iris_data(): ds_train, *_ = tfds.load(name='iris', split=['train']) with open('iris.csv', 'w') as f: for i, ds in enumerate(ds_train): features = ds['features'].numpy() label = ds['label'].numpy...
[ "sherkfung@gmail.com" ]
sherkfung@gmail.com
c7e359ca46f0576f84ce0048129dba72ada9b51f
b3d5687a9d900cea4b03fb96364da5c418555338
/breast_cancer_classifier-master/src/heatmaps/run_producer_project.py
0b68bb6db8473dab757c7a2dfb987f97379ea13e
[]
no_license
medical-projects/DNN-for-Breast-Cancer-Detection
d55934dbaa113f3a28fe502df75147833e5ab768
f1ad1f4ee6482ddb989dc826445a121c3a74e4f3
refs/heads/master
2022-12-29T15:20:49.893351
2020-10-24T18:02:42
2020-10-24T18:02:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,947
py
# Copyright (C) 2019 Nan Wu, Jason Phang, Jungkyu Park, Yiqiu Shen, Zhe Huang, Masha Zorin, # Stanisław Jastrzębski, Thibault Févry, Joe Katsnelson, Eric Kim, Stacey Wolfson, Ujas Parikh, # Sushma Gaddam, Leng Leng Young Lin, Kara Ho, Joshua D. Weinstein, Beatriu Reig, Yiming Gao, # Hildegard Toth, Kristine Py...
[ "perededdu@gmail.com" ]
perededdu@gmail.com
c2055c8c7cd60a0a6b2c9f9c1bd26019bc78c7cf
991d16647fcc0f2d13462a4924258918f5de8441
/onnxmltools/convert/coreml/operator_converters/neural_network/Dot.py
da39309b9748ec70f7a109de6f2d33f59864426d
[ "MIT" ]
permissive
weikexin/onnxmltools
4e45b7c6f7dd5f92b3826540119b989a923142cd
b5ea8a43bb0abf5ca23f0913dc2d9ea11b9724b1
refs/heads/master
2020-03-16T18:39:18.779562
2018-05-11T01:08:18
2018-05-11T01:08:18
132,881,649
0
0
MIT
2018-05-10T09:54:31
2018-05-10T09:54:31
null
UTF-8
Python
false
false
2,685
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from .......
[ "shauheen@users.noreply.github.com" ]
shauheen@users.noreply.github.com
8e328cb75e1b12b43ebd6bb9b298638851c9d422
c4fe4c5a0670557135546a6fce77b31b28dad8b0
/paypy/serializers/authnet/aim.py
c48cff7fb4c3180de6529a04ef7aff73b2025f54
[]
no_license
ixmatus/paypy
6b1cf6e0095fa7d95be7544ab13f4863b36d0cee
262d2493a0245d23e08e525f9072010012f8b46f
refs/heads/master
2016-09-06T03:16:08.102671
2013-04-11T15:10:34
2013-04-11T15:10:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,107
py
import urllib from paypy.schemas.authnet.aim import SAim class SerializeException(Exception): """Serializer exception class.""" pass class Serialize(object): """Serializer for schema -> string.""" def __init__(self, schema): if not isinstance(schema, SAim): raise Ser...
[ "ixmatus@gmail.com" ]
ixmatus@gmail.com
3f4d879cbc7ca57d1d0226c1c066ddf0d4350344
e3f94fd8a7e62b98c739c4ebaffc3c8a32b3c041
/py/nqueens/nqueen.py
e0a7f45b36a0c08221f725387a4a905d39bdf5cc
[]
no_license
TheOneAC/ML
94f8fcc1b8fd3b8a032e7af288c11689c395f72f
d0d02deb0dd656a8074ac4ef26f53904e8088ead
refs/heads/master
2020-05-21T21:38:06.026611
2017-09-16T17:05:49
2017-09-16T17:05:49
84,650,560
0
0
null
2017-09-16T17:02:24
2017-03-11T13:07:11
Python
UTF-8
Python
false
false
673
py
#!/usr/bin/python import random def conflict(state,nextX): nextY = len(state) for i in range(nextY): if abs(state[i] - nextX) in (0, nextY -i): return True; return False def queens(num=8, state=()): for pos in range(num): if not conflict(state,pos): if len(state) == num-1: yield (pos,) else: ...
[ "scuhss@gmail.com" ]
scuhss@gmail.com
f5b582683a9ff2eb527d8b9eb52ab2071db25516
ff56fa387876e07d0d64114cfefec84c9437a6a1
/share/gcompris/python/braille_lotto.py
ab8dc9d1fb5f77414e66620527c873821cba88d8
[]
no_license
sugar-activities/4313-activity
8dc44f413b5657a807c77310a5d5ae67d201321b
7a82fcb52c5c6ea816950f7980e8da177041b479
refs/heads/master
2021-01-19T23:15:32.356071
2017-04-21T04:56:00
2017-04-21T04:56:00
88,937,425
0
0
null
null
null
null
UTF-8
Python
false
false
18,668
py
# gcompris - braille_lotto.py # # Copyright (C) 2011 Bruno Coudoin and Srishti Sethi # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your opt...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
67e7fa2072ca379da2b2785d764631b9a9e688bd
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scattergl/marker/colorbar/_tick0.py
6ae415fecf9370dbd6eba565777c31f610d94a67
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
498
py
import _plotly_utils.basevalidators class Tick0Validator(_plotly_utils.basevalidators.AnyValidator): def __init__( self, plotly_name="tick0", parent_name="scattergl.marker.colorbar", **kwargs ): super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=...
[ "noreply@github.com" ]
noreply@github.com
036c0f5b800f29a09f25b98caf464557827e3984
cfc02237a7c728eea8af81a876a8d7a726921d52
/mysite/settings.py
33aa7fbe0f2a6a7b3c1638050e521ef14c34a3e6
[]
no_license
asakenkyzy/my-first-blog
dfa199f3d578a6690b81d6cdea122dae3c1617d8
93a7375a8ee7534165e7706e2be02fedb30338c0
refs/heads/master
2023-01-02T13:49:10.606587
2020-11-04T18:58:27
2020-11-04T18:58:27
309,394,980
0
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os from...
[ "asselek0105@gmail.com" ]
asselek0105@gmail.com
9971c8b78a57215b996b334a79046ce2255c989c
1acafe9b0497db2a481828a0505ceb042a80e43b
/tree/stack.py
f0de889ef2a86a55f572bd1b888554abc397cca7
[]
no_license
weiweiECNU/pythonDataStructure
fbe6dc1579deb85483b805ff416a61a513e41dea
971a2f74423eec581bf6134c6aa21719209608ee
refs/heads/master
2020-06-13T21:36:37.844642
2019-08-07T10:55:01
2019-08-07T10:55:01
194,793,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
class Stack: def __init__(self): '''Stack()创建一个新的空栈。不需要参数,并返回一个空栈''' self.items = [] def push(self, item): '''Push(item)将新项添加到堆栈的顶部。它需要参数 item 并且没有返回值''' self.items.append(item) def pop(self): '''pop()从栈顶删除项目。它不需要参数,返回 item。栈被修改''' return self.items.po...
[ "weiweiwill995@gmail.com" ]
weiweiwill995@gmail.com
9b2bfa486ac82b6fa8e41a4c0e4db653b1b5dcdb
d1efdb7023bfb262fac886244eea3aec185c431c
/25_rest/app.py
6f994bf7bacaa79615d4f169fc91279a37834dc3
[]
no_license
DamianWasilewicz/MaWork-WasilewiczD
b19850fff6dde6ba80b16c19d90e9267489dfde7
ee9312ed5fc258c5d19a78b3324ba7c253a5c5d5
refs/heads/master
2020-03-28T14:39:56.168029
2018-12-21T17:27:41
2018-12-21T17:27:41
148,509,611
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
#Damian Wasilewicz #SoftDev1 pd6 #K #25: Getting More REST #2018-11-14 from flask import Flask, render_template import urllib.request, urllib.parse import json app = Flask(__name__) @app.route("/") def home(): ''' home route, jservice API ''' url = urllib.request.urlopen("http://jservice.io/api/random"...
[ "dwasilewicz@stuy.edu" ]
dwasilewicz@stuy.edu
9ac0958e818c6dabf9b0a18de61974bf0f19ea80
40d764f013ba2b11409ff3d55e1f9602ccae2fb7
/django/platzigram/users/migrations/0001_initial.py
3d909f3533b332e67dc7a9c0dc94a9aea28829e0
[]
no_license
carlos398/django_platzi_curse
30823378866e425db31cb5f659c8a8af45031353
2c18bcd7d9dfbc4cd1284f7331b646223348d256
refs/heads/master
2023-08-16T14:48:26.349346
2021-10-12T01:56:19
2021-10-12T01:56:19
403,106,338
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# Generated by Django 3.2.7 on 2021-09-16 02:17 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...
[ "carlosarp2000@gmail.com" ]
carlosarp2000@gmail.com
3f8f2c680226da3be8cdcd68f260b0f4ef051c6a
241fb140be30522b475eb69283571171e6d039bb
/main.py
7956f7d6da9a697326e9d2648eeca076b0235c06
[]
no_license
thousanda/gmocoin-buy
5bb48fecf94dd9bca0305c3ead98c2657b9457ca
2c64d626e7d9499dcabdc04f074125434ef259ba
refs/heads/main
2023-04-29T15:53:09.374363
2021-05-17T07:16:08
2021-05-17T07:16:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,564
py
import hashlib import hmac import json import math import os import requests import sys import time from datetime import datetime from decimal import Decimal, ROUND_HALF_UP # config # - setting ENDPOINT = 'https://example.com' VALID_SYMBOLS = set() MINIMUM_AMOUNT = {} # - order TARGETSYMBOL = '' BUDGET = 0 # enviro...
[ "k0k1senda@gmail.com" ]
k0k1senda@gmail.com
7ffb77a34e185f9ba53604d92640de7569962588
cacc517d4d31f188d6f12fb4b946195c92f32bea
/config.py
adb60230b45d1664c96d50565581710a5737ee10
[]
no_license
afcarl/caffe_luigi
c6905c263978668e9d73ea032999860d84a44d15
72d5dde55ab2e3f785ac1593923d73c87bdd75b1
refs/heads/master
2020-03-18T17:57:40.507089
2017-05-17T09:52:29
2017-05-17T09:52:29
135,062,896
1
0
null
null
null
null
UTF-8
Python
false
false
3,009
py
import waterz if waterz.__version__ == '0.6': scoring_function = { 'median_aff': 'OneMinus<QuantileAffinity<AffinitiesType, 50>>', 'median_aff_histograms': 'OneMinus<QuantileAffinity<AffinitiesType, 50, HistogramQuantileProviderSelect<256>::Value>>', '85_aff': 'OneMinus<Quantile...
[ "jfunke@iri.upc.edu" ]
jfunke@iri.upc.edu
b569e56efa217f91e5079dece67125c77351c913
eeadd6793e3e81f2ea0c7c8757201119e5c01711
/src/loftee_utils.py
039691e97ae3852261eac41e3b7779f88efa5d86
[ "Apache-2.0" ]
permissive
LiangMa2017/loftee
09fbad94a62f77d6ee9c65b23b416da1e273f080
8de80a4e3116bc4b73d3dabb456230e2a2851e95
refs/heads/master
2021-06-21T09:10:23.513425
2017-08-15T16:15:38
2017-08-15T16:15:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,959
py
__author__ = 'konradjk' from operator import itemgetter import re import sys # Note that this is the current as of v81 with some included for backwards compatibility (VEP <= 75) csq_order = ["transcript_ablation", "splice_acceptor_variant", "splice_donor_variant", "stop_gained", "frameshift_variant", "stop_lost", "sta...
[ "konradjkarczewski@gmail.com" ]
konradjkarczewski@gmail.com
ca9ee0aeb3fe91290386f914bd55d6183841b146
7534b59f15a94df6f889a115f8f12dd575aa695a
/cnn_sp/cnn_sp/middlewares.py
0a82f8e9bfc11e75437aba1d0d3d05ae9424548a
[]
no_license
she-dares/Web-Scraping
4d973d8d54bf83f701b7c711779465ed1ec59d01
dd9067099ad29bd0d1c4057d009b646f299fef2a
refs/heads/master
2021-05-01T21:16:32.929351
2018-02-27T20:59:21
2018-02-27T20:59:21
120,975,433
0
1
null
null
null
null
UTF-8
Python
false
false
1,903
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class CnnSpSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy act...
[ "mdsheetal@gmail.com" ]
mdsheetal@gmail.com
43f2e883bd9960d28fdac9e6a86dfc1ba1cfbc68
a497d182c6bae092f4e009e7291955e46e83843c
/page/migrations/0002_auto_20170111_2250.py
0d324a7fa0ea26a74d5b8d7ec1db0af047f35f7e
[]
no_license
abhinavp99/compia
81421cd11f7a4d688faa75d4127400cce8e61668
ac1f169cf2925eb08a26bce8156721d97437eee1
refs/heads/master
2020-03-25T19:45:00.888355
2018-08-09T04:25:57
2018-08-09T04:25:57
144,098,534
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-11 17:20 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('page', '0001_initial'), ] operations = [ migrations.AlterModelOptions...
[ "noreply@github.com" ]
noreply@github.com
6da3e73ebe2fbd6518ce11d3d90494c14ee8e3e8
5cdee4f5f033d0f0705f15c75ec4ff79d64556dc
/config_init.py
b287c4ad1441b25dbd2979d64c6ed8c138eb7b6e
[]
no_license
despair1/libreoffice_eve_api
eb4e06b05ac0ad36f010cd3eb2e11b127558e37e
ac57f7d7f26660ca45af8821c00654598d620b69
refs/heads/master
2021-05-04T04:21:31.208924
2018-02-26T17:50:52
2018-02-26T17:50:52
120,327,463
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
''' Created on 01.10.2011 @author: mayor ''' class _config_init: def __init__(self): self._conf={} f = open('config.txt', 'r') for line in f: line=line.strip(' \n') a=line.split('=',1) if len(a)>1 and a[1]: self._conf[a[0]]=a[1] ...
[ "eveguide0@gmail.com" ]
eveguide0@gmail.com
1ddee11adc4da0a3e5190d3f1b0b506cdf8af9fa
7287571509ad2ba5f5147df3729ad929d5ba1649
/bit_cloth/schema.py
7d94e6be303e90745577fbde9049aff9d5dd626b
[]
no_license
firasKhemiri/BitCloth-Backend
44f2848576b38fc8ba9c11fb0d181daf267d29c5
e21d66b917ee0474f459d585ccca8872a316fb58
refs/heads/main
2023-03-25T15:26:07.645024
2021-03-24T13:36:21
2021-03-24T13:36:21
351,092,662
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
import graphene from post.schema import ( Mutation as PostMutation, Query as PostQuery ) from account.schema import ( Mutation as AccountMutation, Query as AccountQuery ) class Query( PostQuery, AccountQuery, ): pass class Mutation( PostMutation, AccountMutation ): pass s...
[ "36472204+firasKhemiri@users.noreply.github.com" ]
36472204+firasKhemiri@users.noreply.github.com
e23c805d69adf59b52f2661003db0f5bf1754f1c
202357fbe7041ad60ee27b989b4a1a55b242a9b6
/test.py
bd1aef9e0dd6f75de91758258d2978b7fd9dc7ad
[]
no_license
yutingkevinlai/pytorch-generative-model-collections
c5d462fb501e9936c26663c516555aad25096597
b7d7a6427900fa53e9360e35674ebd60e5ece042
refs/heads/master
2021-07-03T10:10:19.863298
2017-09-23T07:30:05
2017-09-23T07:30:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
import utils, torch, time, os, pickle, cv2 import numpy as np import torch.nn as nn import torch.optim as optim from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import datasets, transforms transform = transforms.Compose([transforms.ToTensor(),transforms.Normalize((0.5,0.5,0....
[ "kevin83825@gmail.com" ]
kevin83825@gmail.com
b1bd525ac8b1c32076ede25f874aa48f13209f3b
521cd8a07e6cf824d0b22cb63c40424108c4559e
/intro.py
3b6be8dc34ab4977a5bad5f17a5e8fc30514a8ce
[]
no_license
pathardepavan/mypythoncode
50c8db78274bb679355c4d1501a9b6968da9edac
dca561064a9affd01e305bddb140a9a027a6e3ad
refs/heads/master
2021-08-23T01:38:12.369872
2017-12-02T06:30:13
2017-12-02T06:30:13
112,818,560
1
1
null
null
null
null
UTF-8
Python
false
false
32
py
balance = 10000 print(balance)
[ "ppatharde@vmware.com" ]
ppatharde@vmware.com
1b19580af5d2b0ef9577cf9325f36c314a089ca3
c7862bb6db5b6c2bebe9d522a8966464ca98758b
/run.py
4e4b187b13d724f7df15bb4ff642ccc847b5ed5d
[]
no_license
Zichis/loanapp
48bac87ac1d8681ce54516d773d209cfe70e961b
940c3416d746f81f4538dc248e8aa692adad64a4
refs/heads/master
2020-04-19T10:00:54.275455
2019-02-08T06:54:42
2019-02-08T06:54:42
163,696,662
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
from loan import app if __name__ == '__main__': app.run(debug=True)
[ "tripleee@yahoo.co.uk" ]
tripleee@yahoo.co.uk
acec79c34ebb77c5e377488c618e678a391cc5e2
905d65ebaf05225fba0911ed24df5ab1875f713f
/demo.py
311b92f554847de7994cfd0594d92482149743a2
[]
no_license
lemonchann/python123
6f302fa4720a76436709f3ef5af8e5ffeafd83f9
76d0ade166cebc016abf5b572c8a265b6483777d
refs/heads/master
2020-03-09T01:39:53.704506
2019-01-19T10:52:08
2019-01-19T10:52:08
128,520,723
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
def fun(): print('it is demo')
[ "llong87@163.com" ]
llong87@163.com
361ade3439b599c88e104ae6719cb7392ff0faa3
660e2cbe23dd4753c633e79588413a8d2e8fb3aa
/deepAPI/pytorch/train.py
fd82e7a217e502b36f1701004782bcc628f7e24a
[ "MIT" ]
permissive
Aster1995/awesome-python3-webapp-1
b387e6e791f8064c2443d792e1f8db17aca25420
1104a86e6462c5e33a36691f78755383586d0854
refs/heads/master
2020-03-22T17:54:22.287043
2019-11-21T02:25:40
2019-11-21T02:25:40
140,423,322
0
0
null
null
null
null
UTF-8
Python
false
false
8,659
py
import argparse import time from datetime import datetime import numpy as np import random import json import logging import torch import os, sys parentPath = os.path.abspath("..") sys.path.insert(0, parentPath)# add parent folder to path so as to import common modules from helper import timeSince, sent2indexes, indexe...
[ "shiyanzhaoming@163.com" ]
shiyanzhaoming@163.com
9cf5b65f60eebae66537830916a502043fbbc1cf
a27cde0fa2415f2cb296369dd9bfab65f655164c
/5/5-11.py
43e4de162f8e7246940f7518e5bd2bcb8b928de6
[]
no_license
paalso/hse_python_course
c47ea010ba4173fefbcbb6b97fc3c74a84a9fd12
9e9d2001143afbd873152833dafb9682b5bae824
refs/heads/master
2021-06-25T05:12:37.368806
2020-12-21T09:48:37
2020-12-21T09:48:37
187,812,620
1
0
null
null
null
null
UTF-8
Python
false
false
891
py
# https://www.coursera.org/learn/python-osnovy-programmirovaniya/programming/NY8PQ/diofantovo-uravnieniie-2/submission # Потерянная карточка # Для настольной игры используются карточки с номерами от 1 до N.Одна карточка # потерялась. Найдите ее, зная номера оставшихся карточек. # # Формат ввода / вывода # # ...
[ "40a.pvl@gmail.com" ]
40a.pvl@gmail.com
be7c85afdf4978c5cd357cf9bb480220459fb65d
85aa513a3806ad6b2441e2c3b71ae32fd1ea8e31
/main.py
aaee9a496e17c6b775386c0e01b3e7821d294345
[]
no_license
Thom711/betsy_webshop
087c4262cd95b5042e999d299dcd57e1408fab09
1442bfe084ff85a9aa4025238f44b569cdee5807
refs/heads/master
2023-04-25T07:52:53.176520
2021-05-15T15:54:10
2021-05-15T15:54:10
367,671,765
0
0
null
null
null
null
UTF-8
Python
false
false
3,974
py
__winc_id__ = "d7b474e9b3a54d23bca54879a4f1855b" __human_name__ = "Betsy Webshop" from datetime import datetime import models def search(term=str): term = term.lower() query = models.Product.select().where(models.Product.name.contains(term) | models.Product.description.contains(term)) if query: p...
[ "tvdveldt@hotmail.com" ]
tvdveldt@hotmail.com
1bcc519516fa6dbfbf1a8185f6f28f31d4543447
5230baa0203673fe521e0810d2b851d2120910bc
/Tree/max_depth_iterative.py
48c54a76249c3444a5bc135174f5e3e55d14cb08
[]
no_license
owaiskazi19/Practice-Problems
6eee5c42ac915031115af14f727482d32e9da30f
ce0e10d740d1c4451556db3f37d1a4f6ee107cbd
refs/heads/master
2021-07-09T19:26:39.572008
2020-10-30T00:52:00
2020-10-30T00:52:00
208,736,848
0
0
null
2020-07-19T22:53:41
2019-09-16T07:27:32
Python
UTF-8
Python
false
false
764
py
class Solution(object): def maxDepth(self, root): """ :type root: TreeNode :rtype: int """ if root is None: return 0 queue = [] ans = [] count = 0 queue.append(root) while queue: nodeCount = len(queue) ...
[ "owais@Owaiss-MacBook-Pro.local" ]
owais@Owaiss-MacBook-Pro.local
199ed7dd994895469f013c681d33faa81833782d
a4aea6ad32c1abca0f974376c19622fe6c9334ad
/venv/bin/pip3
1bd5a01c8e657181d14b027270f77d518f83dfa8
[ "MIT" ]
permissive
project-fencegate/Fencegate-Website
fe6db25b95efcbc81d0426da37b224a1b4650c6e
3824ddeb38c6bc88fcfb8fa33e040cea55caa597
refs/heads/master
2020-04-19T02:17:42.900057
2019-04-10T13:32:33
2019-04-10T13:32:33
167,897,622
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/Users/berry/PycharmProjects/Fencegate-Website/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "spamnut@yeah.net" ]
spamnut@yeah.net
96f1f30ba83ef728d6fe64ece1020fa3d2638fdc
517685be3bf8c224c326b23fee37f20ca737dbc1
/app.py
02634c6cd56ca3061306942353979e96494b6011
[]
no_license
DeepTrial/ArxivPaperSearch
f76bf152bafc32c2602abac7ef1117700a4dbe19
3adf38684c97efc21fb08e4407e8ff82a48b448b
refs/heads/master
2020-03-20T01:16:53.195092
2019-05-22T08:41:45
2019-05-22T08:41:45
137,071,230
4
1
null
2019-05-22T08:41:46
2018-06-12T12:52:05
Python
UTF-8
Python
false
false
1,088
py
from Scanner.scanner import search as arxsearch from flask import Flask, redirect, url_for, request, render_template,Response,json from werkzeug.utils import secure_filename from datetime import timedelta # Define a flask app app = Flask(__name__) app.config['DEBUG']=False app.config['SEND_FILE_MAX_AGE_DEFAULT']=tim...
[ "resnick.xing@aol.com" ]
resnick.xing@aol.com
4ee09073c1397674c79ea83ada31f69acb132fe6
57827069af3409722e640ca0278a6a9f2be2e15b
/python/older_versions/v1.7.py
f6ea8fc1a48d257f05d5146eb029300e8ca6805f
[]
no_license
aSempruch/React-ZedderWebInterface
f163698acee70bab1157aa21d26fb882d4617440
7d117e1c9d54f3987adc4cb2e6996ff039f16f8e
refs/heads/master
2021-09-15T12:35:17.185156
2018-06-01T12:46:46
2018-06-01T12:46:46
135,421,130
0
0
null
null
null
null
UTF-8
Python
false
false
6,436
py
import random import time import sys import datetime import sys skip_delay = 0 if 1 < len(sys.argv): if sys.argv[1] == '-nd': skip_delay = 1 if skip_delay == 0: if random.randint(1,10) == 1: print "Random Chance Exit at : " + str(datetime.datetime.now().time())[:8] sys.exit(0) def time_in_range(start, end, ...
[ "alan.sempruch.rhs@gmail.com" ]
alan.sempruch.rhs@gmail.com
a378ca25ff41ae997cff492bb1e2b971b1f461bd
58de6fcc92384be5042f2e829abd3d39b7e5f92c
/tests/test_01_config.py
2d03f65ddf4354c4ce89e6f72c87cb1042c03539
[ "Apache-2.0" ]
permissive
solcaj/python-icat
4a186396602bfae6f6794121a0fc6f4042b5487d
6e6d63e5ddf52880b8ef482704459831a9a967d7
refs/heads/master
2021-01-22T13:51:46.607811
2016-07-22T15:02:37
2016-07-22T15:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,731
py
"""Test module icat.config """ import os.path import getpass import pytest import icat.config import icat.exception # ============================= helper ============================= # Deliberately not using the 'tmpdir' fixture provided by pytest, # because it seem to use a predictable directory name in /tmp wic...
[ "rolf.krahl@helmholtz-berlin.de" ]
rolf.krahl@helmholtz-berlin.de
af871096692370c4d417859373e78de50c6f10f6
e58cce0215b6643f7bb7cf2c6e8cfb8efa0a770e
/BlackScholes.py
78e70e5b2d4fe6ef1f57a3005245b1836ff3b4f8
[]
no_license
alejandrobetancourt/BlackScholes
fa88f46c6e1f864e091990e5025de155fac10d7b
5ea126981d3d267cfead119f8cbb804bab4e1107
refs/heads/main
2023-09-03T20:20:45.913160
2021-10-22T00:43:48
2021-10-22T00:43:48
414,782,564
0
0
null
null
null
null
UTF-8
Python
false
false
14,583
py
import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm #We define some functions that we will be using repeatedly #We use the norm package from scipy to import the density and distribution functions of a Gaussian def GeomBrown(S0, mu, vol, T, n=1): '''Gives a lognormal random variable at ...
[ "betan@ciencias.unam.mx" ]
betan@ciencias.unam.mx
d66fdc22c353025dc9e44e879eaae86f2b4a39de
1279b9c94f3f993e97656eca9bbd3da160e48170
/sms_sender/sms_panel/urls.py
eded3dd710c22970dcc32f3cd636924078380ce3
[]
no_license
mohamadhosseintahan/sms-sender
6c12d8f6170b1fc05b21b10b1ff4139f02873b72
0d91e0ebf8b58e996871e538196321a9f6f9c5a4
refs/heads/main
2023-02-19T07:31:50.649208
2021-01-21T15:16:46
2021-01-21T15:16:46
330,768,019
2
0
null
null
null
null
UTF-8
Python
false
false
111
py
from django.urls import path from .views import tester urlpatterns = [ path('',tester , name = 'tester') ]
[ "mohamadhosseintahan@yahoo.com" ]
mohamadhosseintahan@yahoo.com
97fbfcb2881b5f3663fae1b99173fae2a50d54bb
085406a6754c33957ca694878db9bbe37f84b970
/Django_02/Django_02/wsgi.py
30b5f8d71d360b56789738de45e22ceadcedb05e
[]
no_license
dewlytg/Python-example
82157958da198ce42014e678dfe507c72ed67ef0
1e179e4037eccd9fefabefd252b060564a2eafce
refs/heads/master
2021-01-01T18:36:08.868861
2019-01-18T10:39:08
2019-01-18T10:39:08
98,375,528
3
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for Django_02 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "gang.tang@cutt.com" ]
gang.tang@cutt.com
9703bc9d35531437a484a615653587eca9a9b406
62553a9743257f06dc4a77d57c85aa99bfd51c0f
/FN/nn_tutorial/explanation_tf.py
3e07932c7f5ba130571686a91d88f60905167d10
[ "Apache-2.0" ]
permissive
tetsuoh0103/baby-steps-of-rl-ja
21a855e0f0e38ba48de5c6d13522372fd4de0d24
6e0f44b0906cb28ac883546d3d8a30d21d5895b5
refs/heads/master
2020-11-23T22:42:02.127637
2020-01-03T03:16:46
2020-01-03T03:16:46
227,851,226
0
0
Apache-2.0
2019-12-13T13:55:09
2019-12-13T13:55:08
null
UTF-8
Python
false
false
611
py
import numpy as np import tensorflow as tf # Weight (row=4 x col=2). a = tf.Variable(np.random.rand(4, 2)) # Bias (row=4 x col=1). b = tf.Variable(np.random.rand(4, 1)) # Input(x) (row=2 x col=1). x = tf.compat.v1.placeholder(tf.float64, shape=(2, 1)) # Output(y) (row=4 x col=1). y = tf.matmul(a, x) + b with tf.S...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
2cb2a4f90ff833b760a7ea7cbf7ab0deaa497b81
c33eac0f8e74a162be63b9b940b4251d2a9b7408
/celeba_generate.py
4dced9164873aef5580e0623d51be885f25f0ea3
[]
no_license
davefiorino/InfoGAN-PyTorch
f45bb7fe3fdb6de8215d894cbd8464ecc83bc692
12add3c5d598d91625860003b7e0917fa91c0827
refs/heads/master
2023-03-14T23:35:02.446914
2021-03-19T17:39:50
2021-03-19T17:39:50
262,097,537
0
0
null
2020-05-07T16:07:45
2020-05-07T16:07:44
null
UTF-8
Python
false
false
1,870
py
import argparse import torch import torchvision.utils as vutils import numpy as np import matplotlib.pyplot as plt from models.celeba_model import Generator from config import params from os import makedirs, path parser = argparse.ArgumentParser() parser.add_argument('-load_path', required=True, help='Checkpoint to lo...
[ "davidefiorino@MacBook-Pro-di-Davide.local" ]
davidefiorino@MacBook-Pro-di-Davide.local
40506802f1d81f962ae288ee2d21490180aad61c
9fe65faced0555d02114f1f54fc008c7e1da21a4
/simulation/fp_boot_hypo.py
6a07d7ef132bcc2559e39340bde539c51a711ecc
[]
no_license
yuan9/Boostrap-TVLA
97baa115dd82d3b49b7c145edbaa23cdf8e06e86
ef40ac2551bc0a2effc6b097997b2bb15f64178a
refs/heads/master
2023-03-16T04:49:16.074787
2020-04-16T07:05:03
2020-04-16T07:05:03
215,585,612
0
0
null
null
null
null
UTF-8
Python
false
false
5,857
py
import numpy as np from scipy.stats import distributions import matplotlib.pyplot as plt import matplotlib.ticker as tkr from scipy import stats from scipy.stats import chi2 import random import array import os import time import sys import decimal target_snr_db = 1 _snr = target_snr_db trace_num = 1000...
[ "yuan9@vt.edu" ]
yuan9@vt.edu
8576588a3bb786516abac88293bdd8a02844dff0
3bf81bfb776e5ce26a74f8a082e23f64ec13dec0
/client_data/migrations/0031_auto_20171002_1429.py
e6b89f143f1a17de1387e179c93f1b737d58aa0e
[]
no_license
DanCocking1/MWDTC
e8579a7640362b10009d509b944f060cacb5cf1d
31ad654d49cdda30d1568af86c8bd9a950df69e9
refs/heads/master
2022-12-23T00:39:28.330236
2017-10-18T22:52:58
2017-10-18T22:52:58
107,171,975
0
0
null
2021-10-21T17:51:34
2017-10-16T19:13:03
JavaScript
UTF-8
Python
false
false
1,142
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-02 19:29 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "Dan.Cocking@gmail.com" ]
Dan.Cocking@gmail.com
a91bfe7e1f20e9b957296cb8f1a23459f5b562aa
536656cd89e4fa3a92b5dcab28657d60d1d244bd
/build/android/gyp/extract_unwind_tables.py
ea13c6a3e79e3886b9c00b55ffb98fce742d6739
[ "BSD-3-Clause" ]
permissive
ECS-251-W2020/chromium
79caebf50443f297557d9510620bf8d44a68399a
ac814e85cb870a6b569e184c7a60a70ff3cb19f9
refs/heads/master
2022-08-19T17:42:46.887573
2020-03-18T06:08:44
2020-03-18T06:08:44
248,141,336
7
8
BSD-3-Clause
2022-07-06T20:32:48
2020-03-18T04:52:18
null
UTF-8
Python
false
false
10,416
py
#!/usr/bin/env python # Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Extracts the unwind tables in from breakpad symbol files Runs dump_syms on the given binary file and extracts the CFI data into the...
[ "pcding@ucdavis.edu" ]
pcding@ucdavis.edu
c7e9613d1af0ec7359dc8a175bbd99059b05c66b
88f0a255d2181143c82033afe4a0c8fdfa3faac6
/conditional statements/calculator.py
4bcca9858edfee9d6b8b84437c8b0f73fd52184a
[]
no_license
iomkarsurve/basicpython
01c023c739cc32916de1b47b1461a1530c213f81
e5dcbc785303120aa0e11a9fa71306b22e8b7312
refs/heads/master
2020-06-16T00:05:45.436607
2019-07-06T13:39:14
2019-07-06T13:39:14
195,428,137
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
num1 = int(input("Enter the first number")) num2 = int(input("Enter the second number")) op = input("Enter operator") if(op=="+"): print(num1+num2) elif(op=="-"): print(num1-num2) elif(op=="*"): print(num1*num2) elif(op=="/"): print(num1/num2) else: print("invalid operator")
[ "noreply@github.com" ]
noreply@github.com
4a6549833c01ad90da9274daf545ea78c32d5a65
ee73c654b1a65fe365fb3aaa9fc47b63012bd78b
/TensorFlowTutorials/tensorflow/bin/saved_model_cli
682532ba559cfee7c3491ae73c9c09315d5d155d
[]
no_license
mpereira30/PiNets
3695210aebe2c13f1de68bd808a6c2aec3c3b028
a8d885ab910c3c91f763de44c0b2e5a25408dd9c
refs/heads/master
2021-01-16T18:34:27.504721
2017-08-12T05:13:50
2017-08-12T05:13:50
100,092,783
0
0
null
null
null
null
UTF-8
Python
false
false
305
#!/home/marcus/Desktop/Research/PiNets/TensorFlowTutorials/tensorflow/bin/python2 # -*- coding: utf-8 -*- import re import sys from tensorflow.python.tools.saved_model_cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "markper4190@gmail.com" ]
markper4190@gmail.com
f62d32cab57121080472d1c404f2aba1560f7da1
9d3f23529648e43169082186e65838cf6ff103cd
/ItemPage_ReviewLoadMoreTest.py
19d28c0a278229c3e8093f5684815596a6e3b3de
[]
no_license
TripathyElima/AutomationTests
fa920564e58afa50e7ee41f76d2ab963d866b186
2bf33f16d670a5b9a9655c3fdfaca4c607d70b7c
refs/heads/master
2020-03-22T14:56:47.813133
2018-07-09T02:01:05
2018-07-09T02:01:05
140,216,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
''' Test case verifies that with loading more review page rendering doesn't break Test Case runs fine and verified ''' from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.keys import Keys PRODUCT_CODE = '6000195521502' WALMART_URL = 'https://www....
[ "etripathy@kobo.com" ]
etripathy@kobo.com
75adbf34ca5974ba02ba2fee9a3b4c0e7f750464
5d7eeb62a836519e25296220ad3e12eb520936cb
/day5.py
2aa808819f3f0d7dcfe88d4349f21554855a37f5
[]
no_license
jacksonal/adventofcode.2020
b2ed43d8b083a3d806f68db8da5a8cebb750332c
73e6e067294039643485481d85f1e0272b02a4a0
refs/heads/master
2023-02-01T00:11:55.713485
2020-12-15T14:01:54
2020-12-15T14:01:54
317,551,301
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
from util import getLinesFromFile def binaryTraverse(instruction, segment): if len(instruction) == 0: return segment[0] nextInstruction = instruction[1:] if instruction[0] == 'F' or instruction[0] == 'L': return binaryTraverse(nextInstruction, segment[:len(segment)//2]) else: r...
[ "alex.lee.jackson@gmail.com" ]
alex.lee.jackson@gmail.com
07a96c972f722c090d0379879a87e26635e8403c
5537eec7f43098d216d2b550678c8d10b2a26f09
/venv/tower/lib/python2.7/site-packages/azure/mgmt/compute/models/os_disk_image.py
465c5d3ec4e5434147ab908f71e2b2aba896e679
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
1,154
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # C...
[ "admin@example.com" ]
admin@example.com
8550417b7422369930a90a9291698978faa2d2eb
d1d633abb313c235b4c178ccf2939537bd4232b0
/team_app/tests/test_team.py
92afcfe0235389acab16d1b0b7799c2fa986da3a
[ "MIT" ]
permissive
dcopm999/initpy
ee82229bf5ac311d83297d484012a7048c015a02
26aa6bda25947f67ab842d298ce2f121b89616bf
refs/heads/master
2022-12-01T23:45:35.446225
2022-06-09T04:58:26
2022-06-09T04:58:26
195,928,228
0
1
MIT
2019-07-15T04:13:26
2019-07-09T03:47:10
JavaScript
UTF-8
Python
false
false
1,710
py
from django.contrib.auth.models import User from django.test import TestCase from team_app import models # Create your tests here. class TeamTestCase(TestCase): fixtures = ['auth.json', 'team.json'] def test_team_str(self): team = models.TeamModel.objects.get(id=1) self.assertEqual(team.__st...
[ "dcopm999@gmail.com" ]
dcopm999@gmail.com
d68c5d52273c100d5cf88c590229d5e956a4b6ba
7de919cf9031d46df68942c13e23c652edb5efe8
/pyspider/processor/project_module.py
47a6e10d0daa5136146b36355954e5243eef8496
[ "Apache-2.0" ]
permissive
cash2one/pyspider_note
5ea12cc26d49cae3bcf8323dbad6c74bb1623e68
c5e590982beceb56d40c7c4fe1b610a99767cadc
refs/heads/master
2021-01-01T17:12:03.783973
2017-02-27T05:43:08
2017-02-27T05:43:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,751
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8: # Author: Binux<i@binux.me> # http://binux.me # Created on 2014-02-16 22:24:20 import os import six import sys import imp import time import weakref import logging import inspect import traceback import linecache f...
[ "wax8280@163.com" ]
wax8280@163.com
22faa88b4a9057ee307392033ca80bfec97779d6
3ef9ebb26d1d86f224c6bda5bb9a2b3451e1c03c
/authentia/api/serializers/user_documents.py
e775e09f65d61769bc35f03794bdc060fee7cbf0
[]
no_license
authentia/authentia-api
7742e01dda609f6e534702fb7eb370bff1f98e3b
bc43ccbdbdb89a823c8ceb5b8cd68f7c49f59e5b
refs/heads/master
2022-12-10T05:01:42.921793
2018-04-30T21:19:38
2018-04-30T21:19:38
131,390,647
0
0
null
2022-12-08T02:04:03
2018-04-28T08:35:53
JavaScript
UTF-8
Python
false
false
399
py
from rest_framework import serializers from users.models import UserDocument class UserDocumentSerializer(serializers.ModelSerializer): class Meta: model = UserDocument fields = '__all__' def create(self, validated_data): user = self.context.get('request').user document = Us...
[ "svmalvaez@gmail.com" ]
svmalvaez@gmail.com
84f74a10e97e580da732bba4740702085ad04cb3
31101dbce90b0c5d2074be6706f0539495a2649f
/app/checker/mono.py
cbeb25c4accd2c51cb735a415572cf023999ec45
[]
no_license
Quadprox/zen-checkers-king
43d17d076b5297896c7b84ab34cf504c6ac19d6a
4a1f09550eafb0d64da6b359a8b15999ea8e9f84
refs/heads/version-1.0.0
2020-05-30T16:50:55.518449
2019-06-23T18:03:13
2019-06-23T18:03:13
186,455,331
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
from app.board import convert from app.checker import surface, behavior from tools import console class Checker: ID = 0 @classmethod def __update_id(cls): cls.ID += 1 def __init__(self, init_position: list, init_color: str, init_type_queen: bool = False): # Public attributes: ...
[ "41553031+Quadprox@users.noreply.github.com" ]
41553031+Quadprox@users.noreply.github.com
8671b282d1ffb42ccd2456b8ed270d28e1bf4610
8534971d6c697e9260a2e75bdfd4ad141f227792
/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
48a82e6dc0c164905d70ceca731d06f0163d76c0
[ "NCSA" ]
permissive
prograholic/lldb
d3fba5c87658d0cf13d61d5c982ebfd9469429ef
7ca3404d7dafe254b61d82ba2f84a82df755e82d
refs/heads/master
2021-01-18T12:29:14.675896
2015-03-21T11:11:07
2015-03-21T11:11:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,800
py
""" Test that the Python operating system plugin works correctly """ import os, time import re import unittest2 import lldb from lldbtest import * import lldbutil class PluginPythonOSPlugin(TestBase): mydir = TestBase.compute_mydir(__file__) @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires...
[ "gclayton@apple.com" ]
gclayton@apple.com
8f547fe88e5062d34b9703c96f93278eafd45b36
f39d2fd89fc5d91266f3e67145158077da499f14
/Workshop7_CP1404/guitar.py
c18d356776043257ef2726889a6f143dd411644b
[]
no_license
dirajrk/PythonWorkshops
2ef07cfd5078695d7873657f20b9505d3422ece2
20504bf3d6b19bad3e2f8e8da5b21d68c1aabf65
refs/heads/master
2021-06-01T01:16:17.520862
2016-05-24T04:17:49
2016-05-24T04:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
class Guitar: def __init__(self, name="", year=0, cost=0): self.name = name self.year = year self.cost = cost def __str__(self): return "{} ({}) : ${:.2f}".format(self.name, self.year, float(self.cost)) def get_age(self): age = 2016 - self.year return age ...
[ "dirajravikumar@my.jcu.edu.au" ]
dirajravikumar@my.jcu.edu.au
3714f102b76eac934d7ddcbf0d858391d590e0ff
6b61b43fe5c57d32ee053be3c1e0304b6a414dbd
/glo.py
67cb7c4af0fb463c430c90cbaee11c140dc0ba03
[ "BSD-3-Clause" ]
permissive
kassellevi1/DeepProject
4d1392087c37e5013ea1b245c7ab7d9d6396f88a
69cc166d471b1e1812ddeae2c921745c884f1029
refs/heads/master
2022-12-11T22:40:05.769071
2020-03-12T16:18:13
2020-03-12T16:18:13
234,952,499
1
0
BSD-3-Clause
2022-12-08T05:26:52
2020-01-19T19:21:39
Python
UTF-8
Python
false
false
5,580
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys import shutil import os import numpy as np import torch import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data impor...
[ "" ]
999664ee9f32896f3b0d3260623259b784d7764a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/1065.py
7fe863e98eee741f39826ab2ec8ae886728b8035
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
inputFile = open("B-large.in") line = inputFile.readline()[:-1] number = int(line) def validCut(mow, lawn): for i in range(len(lawn)): theseCuts = [] for cutLength in lawn[i]: if cutLength not in theseCuts: theseCuts.append(cutLength) theseCuts.sort() fo...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
341333740509c486def6c606e86184f76da82b95
b3b066a566618f49ae83c81e963543a9b956a00a
/Unsupervised Learning in Python/03_Decorrelating your data and dimension reduction/01_Correlated data in nature.py
47f750e21c91db0e713455c2d355c1df22d6f1fb
[]
no_license
ahmed-gharib89/DataCamp_Data_Scientist_with_Python_2020
666c4129c3f0b5d759b511529a365dfd36c12f1a
f3d20b788c8ef766e7c86c817e6c2ef7b69520b8
refs/heads/master
2022-12-22T21:09:13.955273
2020-09-30T01:16:05
2020-09-30T01:16:05
289,991,534
2
0
null
2020-08-24T17:15:43
2020-08-24T17:15:42
null
UTF-8
Python
false
false
1,366
py
''' Correlated data in nature You are given an array grains giving the width and length of samples of grain. You suspect that width and length will be correlated. To confirm this, make a scatter plot of width vs length and measure their Pearson correlation. INSTRUCTIONS 100XP Import: matplotlib.pyplot as plt. pearson...
[ "Your-Email" ]
Your-Email
6a0267787149c68f656669cea31c2d05131e5910
db80b81829c5838a8fbdf8b0ff6890508b5c3761
/subarray-product-less-than-k.py
35b874db9e51e74f7ca161ab766b02bca201ba64
[]
no_license
liooil/leetcode
12ed76449e7c91e51045012a3be8b7e7faeefd9e
8173a78a2ea1769ed4a718df3ab716d51dc2ec46
refs/heads/master
2020-04-22T03:26:33.301769
2019-09-26T09:01:07
2019-09-26T09:01:07
170,086,871
1
0
null
null
null
null
UTF-8
Python
false
false
424
py
class Solution: def numSubarrayProductLessThanK(self, nums: 'List[int]', k: 'int') -> 'int': s = 1 left = 0 ans = 0 for right, n in enumerate(nums): s *= n while s >= k: if left == len(nums): break s /= nums[...
[ "xitliu@amd.com" ]
xitliu@amd.com
aa8ec54addf353cb8769a32c41380ff4fca437bc
bf0f49e97776e4a31eb291ba20f72e983d4a642e
/2020/2020W20/PreppindataW20.py
2c4670df52d2f9fa1d192c3008e6825ad0ebde7c
[]
no_license
ArseneXie/Preppindata
589ae38b02d8aa3cafee2008c415604de6761e5c
287915d82ee79d85c17d742a004e3508bd9f2a3b
refs/heads/master
2023-06-09T18:29:30.934360
2023-06-01T03:28:40
2023-06-01T03:28:40
189,980,128
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
import pandas as pd xlsx = pd.ExcelFile("E:/2020W20 Input.xlsx") decoder = pd.read_excel(xlsx,'Cipher').set_index('Cipher').T.to_dict('records')[0] #encoder = pd.read_excel(xlsx,'Cipher').set_index('Alphabet').T.to_dict('records')[0] cipher_text = pd.read_excel(xlsx,'Encrypted Message')['Encrypted Message'][0] plain_...
[ "ArseneXie@users.noreply.github.com" ]
ArseneXie@users.noreply.github.com
cc9a52d43431bde370d86d8e2da78dd4bbab9adb
b22525ec160a803e8c3489615ec1d24b0f00a0fe
/venv/bin/pip
62227a8ebe42e69444a395e45d3522b5acd089e7
[]
no_license
shahid37/Django_Framework_practices
fc967b250e13adb130ebfff3682df7dd4cdc05b8
1c928ba62ca5c7d88633a58ea8e6730402fad52e
refs/heads/master
2020-05-25T22:54:18.221108
2019-05-23T08:15:45
2019-05-23T08:15:45
188,023,263
0
0
null
null
null
null
UTF-8
Python
false
false
403
#!/home/shahid/PycharmProjects/textutils/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) s...
[ "happyshahid37@gmail.com" ]
happyshahid37@gmail.com
ccd7c4f396eb5237713d32115a7392f6aad5ee27
c29779aa67e9d08155fc6100dd423fedd2161410
/facilities/tests/commands/test_createdummyadmin.py
eac10f463175d88e1b74894bab4787aa15eefcbc
[]
no_license
Pitt-Pauly/Astrosat_test
c78941666b38bd23f8a5732e098823f5151067c9
b122e866d583308f0e8b738996bfd20c1cd80cd6
refs/heads/master
2020-03-17T01:28:35.170819
2018-05-14T15:11:03
2018-05-14T15:11:03
133,154,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
import os from io import StringIO from django.contrib.auth import get_user_model from django.db.models.base import ObjectDoesNotExist from django.core.management import call_command from django.test import TestCase from django.conf import settings from facilities.models import Facility User = get_user_model() class ...
[ "pitt.pauly@gmail.com" ]
pitt.pauly@gmail.com
7e965c6befe89808f85b17231ef92a35388e8769
95470352af10ea2ecf7f254d29af39ce6f5cb1ab
/combine.py
14ece9e207b87556a2f810045b7404d5874bfe3a
[]
no_license
kennethtxytqw/Wharf-Experiments
e4e13e266fac79b58104e5eeb4342f184e67e3e3
e042825a07c73a6574dec0e118c79f9ca60cf5d2
refs/heads/master
2021-06-21T20:26:10.221164
2019-03-05T07:28:54
2019-03-05T07:28:54
170,141,170
0
0
null
2021-02-02T21:54:49
2019-02-11T14:19:35
Jupyter Notebook
UTF-8
Python
false
false
6,332
py
#!/usr/bin/env python3 import glob import pandas as pd import numpy as np from tqdm import tqdm from fastdtw import dtw import re import sys import os FILENAME_REGEX = r"WHARF Data Set/Data/.+/Accelerometer-(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})-(?P<HH>\d{2})-(?P<MM>\d{2})-(?P<SS>\d{2})-(?P<activity>[^-]+)-(...
[ "kennethtxytqw@gmail.com" ]
kennethtxytqw@gmail.com
547c1858171199a41905fdf7d59f35e3f69512d1
41336c9b9df4eac682a4780f5393c68440813d1c
/backend/app/app/backend_pre_start.py
a75b80cb548d1ebcc966541214e901dc73550046
[]
no_license
SirNicolas/billing
c1286612b487151c4f9a31e780ab41698732dbcf
f576fe5ceae935de1c854810a361169ae38a81e7
refs/heads/master
2023-03-05T17:16:30.534514
2021-02-19T22:09:11
2021-02-19T22:09:11
340,500,796
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
import logging from tenacity import after_log, before_log, retry, stop_after_attempt, wait_fixed from app.db.session import SessionLocal logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) max_tries = 60 * 5 # 5 minutes wait_seconds = 1 @retry( stop=stop_after_attempt(max_tries), ...
[ "nkurochkin@consultant.ffn.com" ]
nkurochkin@consultant.ffn.com
81b4b87bad12384a7baf4cb6c743426e8c881ed7
08e039046e2b3c526b5fd2169e02d5c5bbe253c5
/0x03-python-data_structures/5-no_c.py
0e51fd28731f21eb9788cffa39f09fc7c0575fa4
[]
no_license
VinneyJ/alx-higher_level_programming
22a976a22583334aff1f0c4120fb81117905e35b
0ea8719ec5f28c76faf06bb5e67c14abb71fa3d0
refs/heads/main
2023-07-31T15:44:30.390103
2021-10-01T21:27:31
2021-10-01T21:27:31
361,816,988
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
#!/usr/bin/python3 def no_c(my_string): letter = "" for x in range(0, len(my_string)): if my_string[x] != 'C' and my_string[x] != 'c': letter = letter + my_string[x] return letter
[ "vincentjayden49@gmail.com" ]
vincentjayden49@gmail.com
b5c238f845835a1c1fd3a4d93f541b78a398f7e2
abf0c4d86b5d0516dd72aa82a5cbe3b1914aac51
/wavenet.py
e0d88ff4071d75291e4a3e9b38eb438e7461931f
[]
no_license
ali123/stagecast-predictor
34dc076962856d6dfb5f8b0616d4516bd566bead
816d2e19ef010e46761e5584273e8ca436803f34
refs/heads/main
2023-08-19T10:50:34.561523
2021-07-10T20:22:26
2021-07-10T20:22:26
378,014,158
0
0
null
null
null
null
UTF-8
Python
false
false
6,466
py
import os #os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import json import argparse import numpy as np import tensorflow as tf import tensorflow_io as tfio from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Conv1D, Dense, Activation, Dropout, Lambda, Multiply, Add, Concatenate from tenso...
[ "ali.sharafat@gmail.com" ]
ali.sharafat@gmail.com
b61d8f5f603b8aac3ea37cff0056028ea1510bf1
c70580862f346dc0ae8a45b6dd201cbb03e717f2
/Project/Handlers/user_handler.py
d69c4356eed60105e4e83569f7d7d47e4471726b
[]
no_license
zhoudiqiu/syllubusCalendar
d3c5d8ca03d045f3fac692f0be981fb1b0b2679a
eeb76c16e60f252d86fa5891a813a9765478de29
refs/heads/master
2021-01-11T22:04:04.540548
2017-01-14T03:32:10
2017-01-14T03:32:10
78,908,876
0
0
null
null
null
null
UTF-8
Python
false
false
5,354
py
import tornado import json from tornado import gen from .User import * from .base_handler import * import time import re from .config import * import hashlib from .helper import * from boto.dynamodb2.table import Table class UserHandler(BaseHandler): @property def user_table(self): r...
[ "zhoudiqiu@zhoudiqius-MacBook-Pro.local" ]
zhoudiqiu@zhoudiqius-MacBook-Pro.local
bd7c0ea00c7e320489970317d4b2b18ad917c2f4
fdf2fbf182d332562d580ef7f5a727f72ccef995
/1.4.7/masks.py
04a982b5d809f93d19935dbc8624061797b6ae84
[]
no_license
ConnorPark/csp_python_2018-2019
3099cd234ee1908e04f58ef2195be2f3e353ffa2
a411f525a4a5952fa49cef9b5dc494b5e8236210
refs/heads/master
2020-05-29T10:36:38.145908
2019-05-28T20:30:09
2019-05-28T20:30:09
189,097,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
from __future__ import print_function import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import os.path import numpy as np import PIL import PIL.ImageDraw def make_mask(rows, columns, stripe_width): '''An example mask generator Makes slanted stripes of width stripe_width image r...
[ "connoriscomming@gmail.com" ]
connoriscomming@gmail.com
cac2178c7625f9b888472fb6e480f7e4a6602d24
a38e2ef10cce63ef7ed98ebf51e86e006ce8b78f
/deep_sentence/summarizer/models/abstractive/make_dictionary.py
ed93476f85d1435ba1c1ccbf155a2128fb2183f2
[]
no_license
danhper/deepsentence
98a49af521b4e726d5a32f153825b389ee92bd2d
3378e123bcc5994f3354e079fa8c593a68af7993
refs/heads/master
2021-07-16T18:28:39.798957
2017-10-23T09:01:39
2017-10-23T09:01:39
73,053,682
1
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
# -*- coding: utf-8 -*- import argparse import glob import pickle import MeCab import gensim import numpy as np import pandas as pd import reuters import from_db MIN_FREQUENCY = 5 def tokenize(sentence): mt = MeCab.Tagger('-Owakati') parse = mt.parse(sentence) return parse.split() def save(df_all, ...
[ "daniel@claudetech.com" ]
daniel@claudetech.com
c83b9b05ea3394c8d408353555f98b20d69ba9e7
6a1390ec579dc16ef20255517a2fe566c0e514d5
/try_conv3d.py
551a298994cdbc8366961880b2c6a9abc931fe74
[ "BSD-3-Clause" ]
permissive
imandr/cconv
71f6b24502ba9249de08ed9618951d8363bf8b43
45e1e404b11070fd823bf5345875f447d9574c2f
refs/heads/master
2021-08-01T07:59:42.878692
2021-07-27T22:49:02
2021-07-27T22:49:02
186,833,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
import numpy as np from cconv import convolve_3d def convolve_xw(inp, w, mode): # inp: (nb, nx, ny, nc_in) # w: (nx, ny, nc_in, nc_out) # returns (nb, x, y, nc_out) mode = 0 if mode == 'valid' else 1 inp = inp.transpose((0,4,1,2,3)) # -> [mb, ic, x, y, z] w = w.transpose((4,3,0,1,2...
[ "igorvm@gmail.com" ]
igorvm@gmail.com
f268dd933cd218e12a64595b1355f3d0575fd7f4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/stmt_if-5.py
d295903a8ceb0fbaadc06acb64c9b79824817385
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
if $Literal: pass elif True: if 1 == 1: pass else: pass
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
3a5ee0324acd6551d3e97da7afb3a5ce96a2dbe2
6237c00889206793923e84b600f9cc003df2a7a2
/main.py
38bb62b340d9c18039a3b54c00e39f1a7f0fbf68
[]
no_license
Aurore-p/test-git-command
e89ad002f5434dfefd40be183cb9485dde74602d
181e4ef224cd756b8a5a36adcab70c839f8e6e89
refs/heads/master
2023-06-13T02:28:05.461042
2021-07-02T10:36:00
2021-07-02T10:36:15
382,252,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# This is a sample Python script. # Press Maj+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 script. print(f'Hi, {name}') # Press Ct...
[ "aurore.pittet@master.hes-so.ch" ]
aurore.pittet@master.hes-so.ch
949d8f4e86259f5bd011ce3bea383b82aac5c388
35f4fae4041f85afccb4c92fe5fd87712ceec6c1
/test.py
93a893292f54c1c4eb7379fb1c853ffb7f350dc7
[]
no_license
plsang/depnet.pytorch
585c58f01973d6fb3fe43e11f24756ac514d36f7
c48dbcaa4b3355e7f50192ff68400098127d2513
refs/heads/master
2020-03-09T16:50:13.679835
2017-09-20T10:57:58
2017-09-20T10:57:58
128,895,236
0
0
null
null
null
null
UTF-8
Python
false
false
3,205
py
import argparse import torch import torch.nn as nn import numpy as np import os import sys import time import math import json from datetime import datetime from model import DepNet from dataloader import get_data_loader from utils import test import logging logger = logging.getLogger(__name__) def main(opt): l...
[ "plsang@nii.ac.jp" ]
plsang@nii.ac.jp
1815c42832ef4a39ff6f300503a7313e3b5fcaa0
5486041fd82951f648dc4384b29803fb0c55dd07
/api_4/common/get_data.py
fad8d2b98a9dc8624c46260abd5e523e651cc948
[]
no_license
pyumao/python_test
cacb94186b0c28a37548d469548497f764fa7df1
c4504df89d2785e4599d8e336008da682ee1f294
refs/heads/master
2022-12-10T14:47:59.551475
2019-04-24T11:59:16
2019-04-24T11:59:16
183,187,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# -*- codiing: utf-8 -*- # @time : 2019/4/19 0019 下午 7:48 # @Author : yu # @Email : # @File : get_data.py class GetData: '''可以动态的获取 更改 删除类的属性值''' cookies=None loan_id=None if __name__ == '__main__': # #类属性 # print(GetData.cookies) # print(GetData().cookies) # # #类的反...
[ "798882031@qq.com" ]
798882031@qq.com