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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b06eb71cc9b0e6f69810dbb952c651d089030934
0983849ea9c59263bdf500764473f766bdafd5e4
/auxiliary_functions.py
0778df0b613f9e33df055cbaa6d7d4652762e0e6
[]
no_license
YuenyongPhookrongnak/01_TradingSeries
34e61c0aab368c35d1a0b383ec8a397bd9c29acd
a29d01b30e5906ff40cea0036bb34ea11d56128f
refs/heads/main
2023-09-03T18:19:44.198538
2021-11-08T05:48:12
2021-11-08T05:48:12
428,158,778
1
0
null
2021-11-15T07:11:34
2021-11-15T07:11:34
null
UTF-8
Python
false
false
3,313
py
import pandas as pd from binance.client import Client from binance_keys import api_key, secret_key from datetime import datetime, timedelta import time import math from binance.exceptions import * client = Client(api_key, secret_key,tld='us') def truncate(number, decimals=0): """ Returns a value truncated to ...
[ "leeschmalz@gmail.com" ]
leeschmalz@gmail.com
27889d659fe45c001298a48e6f24daf50af2c223
66871d8baaabcb3bebbf32f5c4207e6eadef9d81
/instance/config.py
dfb67f53cb5ae44213709b851a2d9b257b29363c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Roney-juma/News_app
2f19c1b5458de703bf1ca2cbd4b0bf2656fac8e5
5d0e1a6de2d1cb50759b4ab2f51a397e640a9b35
refs/heads/master
2023-05-29T15:56:26.165348
2021-06-09T11:52:47
2021-06-09T11:52:47
374,165,923
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
NEWS_API_KEY = '384e999ffb31459da519c72d9c8f6ba2' SECRET_KEY = '384e999ffb31459da519c72d9c8f6ba2'
[ "ochirone10@gmail.com" ]
ochirone10@gmail.com
db3a22f33075fc3cfdd60234dff8c37f23410c54
6026aa86f6854f8ed1c81687408a78a07279b696
/script/PCA.py
16cf373a3208780d25cf81a3a1a6701346d0605c
[]
no_license
Zchristian955/Telecommunication_Challenge
db3adeeb1404963fd50c3f0b24ad9c3de856dd35
5e99188e53d1e1e6faccebdff8657c122ca500a3
refs/heads/main
2023-08-16T10:39:04.293660
2021-09-16T23:19:52
2021-09-16T23:19:52
386,347,978
0
0
null
2021-09-16T21:44:02
2021-07-15T15:59:55
Jupyter Notebook
UTF-8
Python
false
false
1,759
py
import numpy as np import pandas as pd import warnings warnings.filterwarnings('ignore') pd.set_option('max_column', None) df = pd.read_csv("df", na_values=['?', None]) from sklearn.preprocessing import scale #data scaling x = scale(df) #PCA from sklearn import decomposition #PCA pca= decomposition.PCA(n_compone...
[ "zchristian955@gmail.com" ]
zchristian955@gmail.com
109e032b250691b3bf5f5ea34a9982e509cbd868
3d9825900eb1546de8ad5d13cae893eb0d6a9b14
/AutoWorkup/SEMTools/setup.py
94c4428d8e6622b3e676c76f782d87775210107d
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
rtkarcher/BRAINSTools
20d69f96e6d5ca92adaeb06aa4fe6556b5e7b268
961135366450400409cece431423ed480855d34c
refs/heads/master
2021-01-15T08:53:48.961607
2013-06-26T19:09:34
2013-06-26T19:09:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: def configuration(parent_package='', top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('SEMTools', parent_package, top_path) config.add_data_dir('dif...
[ "hans-johnson@uiowa.edu" ]
hans-johnson@uiowa.edu
b1b669b81b3b3af232520b452ae2ec8d589ea9bc
2104153bfc138b7e677aba0da9da376c38b7dcd0
/apps/extensions/db.py
cfe285977011e170da1d102d9769b0ee4dfad351
[]
no_license
lucassimon/flask-api-users
992c75491cf577f74649097e49a04fbc74ea50e1
510443d481486f09a09398a5225ace82320477f3
refs/heads/master
2023-06-09T16:17:39.873516
2023-06-05T04:24:56
2023-06-05T04:24:56
137,128,845
22
16
null
2018-11-20T18:00:53
2018-06-12T21:18:41
Python
UTF-8
Python
false
false
71
py
# Third from flask_mongoengine import MongoEngine db = MongoEngine()
[ "lucassrod@gmail.com" ]
lucassrod@gmail.com
9a6cfcf00b74e17e98d8ab6cc2bd547aeb55651e
73d67a4fa7991ba429506c2da9e5712e1bc80963
/Curso-em-video-Python3-mundo3/ex095.py
2f40d7f2efe3244df50bd1c52d9cfdd58e7c4c18
[ "MIT" ]
permissive
bernardombraga/Solucoes-exercicios-cursos-gratuitos
454f9926c42989b2f513f877b1454b38fe621faf
0347a8325443fce84e0a753c96f523a22858537b
refs/heads/main
2023-01-19T07:23:10.258846
2020-12-01T01:13:27
2020-12-01T01:13:27
308,421,247
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
time = [] jogador = {} while True: jogador['nome'] = str(input('Nome: ')).strip().capitalize() nPartidas = int(input(f'Quantas partidas {jogador["nome"]} jogou? ')) jogador['gols'] = [] for i in range(0, nPartidas): nGols = int(input(f' Quantos gols na partida {i+1}? ')) jogador['gols'...
[ "73315353+bernardombraga@users.noreply.github.com" ]
73315353+bernardombraga@users.noreply.github.com
4cecb1fdea73ca9f39f2bdf440f6840a5f57c2f2
7aebfaec6957ad67523f1d8851856af88fb997a6
/catkin_ws/build/robotiq/robotiq_3f_gripper_control/catkin_generated/pkg.develspace.context.pc.py
472d6f1b90073d4764f3841493bb27694a2f8bfa
[]
no_license
k-makihara/ROS
918e79e521999085ab628b6bf27ec28a51a8ab87
45b60e0488a5ff1e3d8f1ca09bfd191dbf8c0508
refs/heads/master
2023-01-28T06:00:55.943392
2020-11-26T05:27:16
2020-11-26T05:27:16
316,127,707
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/mslab/catkin_ws/devel/include".split(';') if "/home/mslab/catkin_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "controller_manager;diagnostic_updater;dynamic_reconfigure;hardware_inter...
[ "makihara@ms.esys.tsukuba.ac.jp" ]
makihara@ms.esys.tsukuba.ac.jp
7c12f5d4d292eebf97006f379c6face0c50cdb10
6bf00ba9925e4c846f4f3bdb1bd39f02461d4bcc
/SISR_bachelor_project/SRCNN/test.py
fc4e756f4b11d2d9ce0214a6044c47fa495d7fb5
[]
no_license
teouw/SISR_bachelor_project
b898172683db706dcf9d139ebe7d1e3ab7e43cb1
47aed6300d4c52b0574c552b21f0efcfd29d6f2c
refs/heads/master
2023-07-12T12:43:48.530067
2021-08-27T18:06:16
2021-08-27T18:06:16
398,080,148
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
import os from model import SRCNN from lib import * import cv2 import numpy as np import matplotlib.pyplot as plt import time scale = 3 c_dim = 3 dirname = './output/' image_size = None if __name__ == '__main__': #create the srcnn model srcnn = SRCNN( image_size=image_size, c_dim=c_dim, ...
[ "teo.kaltrachian@etu.hesge.ch" ]
teo.kaltrachian@etu.hesge.ch
766788054d2e78f8f56b6d0304c365f753c5d19a
1dc93ee1beead5930e8c857fc9edede92854e589
/pa6/ga.py
1864dec99ac615ee02d2bfc75eebc76d890b3d3b
[]
no_license
hanette/CMPM-146
fd78674efdb59207fe46fdef83cf76f7cb2a13c2
c972c0e330d3776c46c428ceb665cfebdccddcfe
refs/heads/main
2022-12-21T01:21:26.438757
2020-10-07T05:53:34
2020-10-07T05:53:34
301,936,834
0
0
null
null
null
null
UTF-8
Python
false
false
26,331
py
import copy import heapq import metrics import multiprocessing.pool as mpool import os import random import shutil import time import math width = 200 height = 16 options = [ "-", # an empty space "X", # a solid wall "?", # a question mark block with a coin "M", # a question mark block with a mush...
[ "noreply@github.com" ]
hanette.noreply@github.com
2b9cbaa72278d4ee2b17c60d3fc5d1436d85591a
5df21c11a43f0ecf4347ff880742a2135ad48e53
/scripts/dataslicer/Slicer.py
14787afcb2d2af8c65daec11730a9d682535815d
[]
no_license
DrGilion/DataVisualization
2c372b7b213e35a0b06b23d2158b0393c91fadba
0d0ce8c9956f89585e22d225af1247f404a9f857
refs/heads/master
2020-03-11T02:44:32.150980
2018-06-11T11:16:36
2018-06-11T11:16:36
129,727,441
0
0
null
null
null
null
UTF-8
Python
false
false
6,331
py
import json, collections, csv, os class Slicer: def __init__(self, dump_file, output_dir='data/'): self.dump_file = dump_file self.output_dir = output_dir self.data = None def init(self): if not self.data: if not os.path.exists(self.output_dir): os...
[ "philip.matesanz@driggle.com" ]
philip.matesanz@driggle.com
9a5f5a9b2ceb8570c4c33c2875e302fa1ed9964d
f9a45d303cbf490aa3a0d6f846ef230280104184
/AeModel.py
2200f4bbeae7a84c1a5d0d2af093ece83f859de9
[ "MIT" ]
permissive
LilMarc0/DL_Colorisation
fc23aaaa0ce7922a80b6631aad448c85a1f21f66
c8ef878020cc2654d3c023e4542ff64e90c8b498
refs/heads/master
2022-12-09T18:13:40.732782
2020-09-17T14:23:12
2020-09-17T14:23:12
296,348,818
0
0
null
null
null
null
UTF-8
Python
false
false
4,158
py
import tensorflow as tf import tensorflow.keras.layers as layers from tensorflow.keras.models import load_model import os # import SGD and Adam optimizers from keras.optimizers import Adam from DataSet import * import numpy as np import cv2 as cv from keras.callbacks import ReduceLROnPlateau from ResNext import * from ...
[ "Trypodificaton@gmail.com" ]
Trypodificaton@gmail.com
b836ab3184c86a5580190a268a1f5b5241677048
ef54d37f8a3303013ca7469871a320d303957ed7
/robo4.2/fusion/tests/wpst_crm/feature_tests/TBIRD/F110_Port_Monitoring/port_monitor_support_module.py
a6deffdae867986fcbebc06b5c2da63aca16ddb9
[]
no_license
richa92/Jenkin_Regression_Testing
d18badfcf16bda682dfe7bcbbd66f54a9a27a58d
24a74926170cbdfafa47e972644e2fe5b627d8ff
refs/heads/master
2020-07-12T10:01:59.099137
2019-08-27T12:14:53
2019-08-27T12:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
''' This module is used to include some helper function for Port Monitoring ''' def set_networkuri_lig(data_variable, get_output): ''' Build the network URI's from the network Name and form the LIG body ''' temp = data_variable for i in range(len(temp['uplinkSets'])): for j in range(len(temp['uplinkSets'][...
[ "akul@SAC0MKUVCQ.asiapacific.hpqcorp.net" ]
akul@SAC0MKUVCQ.asiapacific.hpqcorp.net
d24bb4698a8a5f9fed82640a66867981f43abc05
037b8c568181045fc33ba0922d2b3831ed5736d5
/scripts/rdf/github.py
db2c1f842a000c66976098132037e48ba507d3e4
[ "Apache-2.0" ]
permissive
avullo/ensembl-production
b20aaec17f66e997f37500062021a0be46448bc0
4c1b898ecdb7803916a5b79a406c3707669f3400
refs/heads/master
2020-04-05T00:11:45.591933
2018-11-01T10:56:53
2018-11-01T10:56:53
156,387,224
0
3
Apache-2.0
2018-12-24T14:04:02
2018-11-06T13:23:41
Perl
UTF-8
Python
false
false
2,304
py
#!/usr/bin/env python """Module providing a function which allows to push a project (i.e. Ensembl, EnsemblGenomes) VOID file to the respective branch in the EBI SPOT GitHub repository.""" import requests import base64 import json import datetime def push_to_repo_branch(gitHubFileName, fileName, branch, user, token): ...
[ "avullo@ebi.ac.uk" ]
avullo@ebi.ac.uk
ebe07b6c084e6824573cbad59b09aeeccd77287e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03130/s063741533.py
8e8ac571e89e7cbb1f076333c2fcb83f461a3bff
[]
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
1,190
py
def examA(): N, K = LI() if (N+1)//2>=K: print("YES") else: print("NO") return def examB(): d = [0]*4 for _ in range(3): a, b = LI() a -=1; b -=1 d[a] +=1 d[b] +=1 for i in d: if i>=3 or i==0: print("NO") return...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
df173b09e52bcebac847d81f36209822a42c1363
ee84ead460e1af5711114ea07ad6cbe70a8107e2
/project/project/urls.py
ef57ff8a25b379a2839b4b0e6cc5a12f1ea6e1dd
[]
no_license
TrellixVulnTeam/senproj_93I4
a576d08572561e980ec96091a39c21b33eb95ad3
4c1102461d8d2c67abfdc7a80ba3eb6ff9048d8c
refs/heads/master
2023-03-16T14:35:24.657546
2018-05-01T19:31:46
2018-05-01T19:31:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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-bas...
[ "hk@LAPTOP-ERRNQLE4.localdomain" ]
hk@LAPTOP-ERRNQLE4.localdomain
0b132d3ff7fa0c5fde1128588d8259239264b31d
50575fd3465ac749d520036cdfecf1cebdfcd414
/metaflow/metaflow/plugins/conda/__init__.py
2535ea25ad99d2c8fa6605f679a5425d04f97807
[ "Apache-2.0" ]
permissive
UesleiJf/Netflix-Metaflow
5fb442ed2645ee626bd4c27a320587fac8ab31e7
2c164afbf875b5d63c030f6d4cab15c54bcf646b
refs/heads/master
2023-01-04T16:58:09.372588
2020-01-19T19:16:51
2020-01-19T19:16:51
227,640,463
2
1
Apache-2.0
2022-12-21T02:41:29
2019-12-12T15:42:04
Python
UTF-8
Python
false
false
1,210
py
import errno import os import json import fcntl CONDA_MAGIC_FILE = 'conda.dependencies' def get_conda_manifest_path(ds_root, flow_name): return os.path.join(ds_root, flow_name, CONDA_MAGIC_FILE) def read_conda_manifest(ds_root, flow_name): path = get_conda_manifest_path(ds_root, flow_name) if os.path.e...
[ "uesleijf@gmail.com" ]
uesleijf@gmail.com
30bcffde3d4ff50bd5b5f4ea7c1cec217c2fc340
7b73c2ea792f4b00add3391040cd67cd4a11cc4c
/admin_lalo/clients/forms.py
e1ab8ae6e34eddb3463b2969c128d99a10435ac6
[]
no_license
LaloAR/Administrador-con-DJANGO
bffd18d77875c7d378bac7bf074c571148f2018d
3940d232b5aaf3f523338ed47677606acf9f54c2
refs/heads/master
2020-03-19T23:38:29.866643
2018-06-11T16:20:20
2018-06-11T16:20:20
136,948,910
0
0
null
null
null
null
UTF-8
Python
false
false
3,940
py
# -*- coding: utf-8 -*- from django import forms from django.contrib.auth.models import User from .models import Client from .models import SocialNetwork ''' Constants ''' ERROR_MESSAGE_USER = {'required' : 'El username es requerido', 'unique' : 'El username ya se encuentra registrado', 'invalid' : 'Ingresa un usern...
[ "eduardo.alcantara.rios@outlook.com" ]
eduardo.alcantara.rios@outlook.com
2b2602042f1ed0d95c722a129a06ec21856cab22
cc90d98a64693ca4542c999b5d2241b60eb33aac
/Problem62-3.py
e12955f5179fe407cd38b8141c64e187aee5cac8
[]
no_license
Nan-Do/eulerproject
1f63b23a4d4e344c8525238b2333920e733b03c9
d33033d6af10d1aca8f7db9bcf187ef8f6005040
refs/heads/master
2021-01-10T15:51:39.594159
2016-04-14T05:41:16
2016-04-14T05:41:16
48,170,330
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from itertools import count, permutations from math import ceil def gen_cubes(): for n in count(start=1): yield n ** 3 def is_cube(n): v = ceil(pow(n, (1/3.))) return (v ** 3) == n def check_cube(number, limit): n_str = str(number) count = 0 repeated = set() for n in set(permutati...
[ "icemanf@gmail.com" ]
icemanf@gmail.com
a38b2d22735f142d5aef497ce84ffd8739a0983a
b887177e3adb181fd1bc3b83c75814e9e3e4f535
/env/bin/qr
920b4680a1c4625ff8e74475601cd3bd9fcab659
[]
no_license
vinitparak/QRCode_userdata
748a0a02368a2e827a05ec6efa2a33d76c60b954
340bc28519cb496656340094160a2dcfcb3469e2
refs/heads/master
2020-09-08T17:48:24.985555
2019-11-12T11:19:37
2019-11-12T11:19:37
221,200,103
1
0
null
null
null
null
UTF-8
Python
false
false
391
#!/home/vinit/Documents/qrcode/env/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'qrcode==5.1','console_scripts','qr' __requires__ = 'qrcode==5.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]) sys.exit( ...
[ "vinitparakh12@gmail.com" ]
vinitparakh12@gmail.com
145f60532ab8170abd0c6a4876d81608c2693f9c
fa1b4f613f0cd08d839510b906b4bd18293a0e46
/model/locations.py
532e35a690150e3a26ef39862afc6966f5694b2f
[]
no_license
JoseRoberts87/python-webapp-template
041f9eb8771e4166909744d6510172381bc560b4
a1e27cb9886899c3e90ef8191f621412640d4315
refs/heads/master
2020-03-27T05:02:32.319095
2018-08-24T12:45:30
2018-08-24T12:45:30
145,990,175
1
0
null
null
null
null
UTF-8
Python
false
false
510
py
from app import db, ma from common import utils class Locations(db.Model): __tablename__ = 'locations' location_id = db.Column(db.String(45), primary_key=True) name = db.Column(db.String(45)) type = db.Column(db.String(45)) level = db.Column(db.Integer) status = db.Column(db.String(45)) cla...
[ "robenjos@amazon.com" ]
robenjos@amazon.com
5b22e465d6bfea324c4799ed5375f66ac7654f7f
4283c553bea803fc9ca7544ee43654c180e4bfe1
/app.py
3797b799b9c27726443620e95a099aa873cdf9db
[]
no_license
Sarellerchy/wuhan2020_coronavirus_NCP_dashboard
8b0f84d1e556bce4b268c4cb2d74aa92cba3f756
8f4aad774349ca235c6b879a68d087f1f003791a
refs/heads/master
2021-01-01T11:15:20.379390
2020-02-15T10:32:21
2020-02-15T10:32:21
239,254,628
1
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
from flask import Flask,render_template from spider import data_total,news_data import json app = Flask(__name__) @app.route('/') def hello_world(): return render_template("index.html",confirmtotal = '{:,}'.format(data_total.gntotal),suspecttotal = '{:,}'.format(data_total.sustotal), h...
[ "mandybear319@163.com" ]
mandybear319@163.com
18122f8ba0ea425a2f59eac84a1b4f2b379a77d3
5204b7b60f1780e2af1bd785beed4145f8d38d83
/python/Gohan/core/__init__.py
123b3426cb27438160bffca3d7edf46567d62acd
[]
no_license
sdss/mangadesign
e5001c30db25e6efe9a439359e0e67fd9b5266e4
6852432aeb682b19d46eff22f8cf57bbac272b7e
refs/heads/master
2021-06-08T16:42:33.819938
2020-08-24T14:58:13
2020-08-24T14:58:13
89,097,774
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
from .configuration import get_config
[ "gallegoj@uw.edu" ]
gallegoj@uw.edu
ced2d21a6a7709401c7081f172dd9ad5055230a8
aa18020074665dd2b70e2e09df49eed9d453cfe2
/server.py
4ba46b7886c01b5d3d191c4e6d5b957cfe057fe5
[]
no_license
alfredgg/personal-webpage
95f1d928f41437a81f61155602efe9bfee77d53d
c6ebc530684478d25b7feed368d71d14c696b3da
refs/heads/master
2020-12-29T02:21:44.940667
2017-03-20T11:48:02
2017-03-20T11:48:02
39,331,366
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from webpage import app from flask_debugtoolbar import DebugToolbarExtension if __name__ == '__main__': app.debug = True app.config['SECRET_KEY'] = 'dt' # DebugToolbarExtension(app) app.run()
[ "alfredgg@yahoo.es" ]
alfredgg@yahoo.es
1ea84b735f256c9f7ba20bcbe7400cfcd0602006
7a7f71b81b610744122b241bfd2ea6560fb9b64d
/sgd.py
8c945ccfa418c3858e16e1d286ef0dfb8324561f
[]
no_license
rhhc/compress-modern-CNNs
cc408cee97816d30c32fedd0bf64ea7757e08c81
8ec767042419fdd92a185aae31a9150745ed97c6
refs/heads/master
2022-04-25T11:28:52.961941
2020-04-27T13:20:10
2020-04-27T13:20:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,098
py
import torch import torch.optim as optim import math class SGD(optim.SGD): def step(self, closure=None): loss = None if closure is not None: loss = closure() for group in self.param_groups: weight_decay = group['weight_decay'] momentum = group['moment...
[ "noreply@github.com" ]
rhhc.noreply@github.com
ba6d0088df5d4e1c6183d23d78a84e55493c3225
79acb3dc0d4cbb8fb61c5b0955c596fdf3509570
/make_random_metadata.py
b48553959a1093cb40f2d8f2c80adb366b40ca91
[]
no_license
Atehortuajf/DCS-1020-Final-Project
44053a0ecbe1079117ba399e7888f2f5e2156010
2a62a08228f7eb991bd2701fc728d6b5efd3c852
refs/heads/main
2023-02-01T03:07:56.397073
2020-12-20T22:47:01
2020-12-20T22:47:01
322,955,996
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
import csv, random sourcefolder = '/Users/tunder/Dropbox/fiction/meta/scifimeta.csv' allrows = list() with open(sourcefolder, encoding = 'utf-8') as f: reader = csv.DictReader(f) fieldnames = reader.fieldnames for row in reader: tagtoadd = random.choice(['teamred', 'teamblue']) row['genre...
[ "67188088+Atehortuajf@users.noreply.github.com" ]
67188088+Atehortuajf@users.noreply.github.com
d86001addfb479c6d7b2af5d233c1d029b88d3ee
78f33b74e5794362b3beed16887d27afc7f37b3d
/app/auth/views.py
74f54ded9071e47ad791f47939366c6bea6671a1
[ "MIT" ]
permissive
JamesMusyoka/minutepitch
1e68bac76ccfa161efb3b7ff6a856e54baf103ac
60b0a47a97cfe7a3e7d48917243cca48cbd63f05
refs/heads/master
2020-04-21T23:19:20.080383
2018-09-14T18:58:10
2018-09-14T18:58:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,472
py
from flask import render_template,request,flash,redirect,url_for from flask_login import current_user, login_user, logout_user, login_required from app.models import User from werkzeug.urls import url_parse from . import auth from .forms import LoginForm,EditProfileForm, RegistrationForm,ResetPasswordRequestForm from a...
[ "kibetedgar@gmail.com" ]
kibetedgar@gmail.com
ef7f5dea2b7f0cf33e446cecaaa9707330e93d6b
e3365cc72f7bfbc7d95066a1b84e332544f41803
/Http_network_crawling.py
4c50279a5ae078c3d3a4119a86b0fd11b2333834
[]
no_license
webshell520/My_Python_Tools
b419a11bff15f965a6b99b165ee5bbdce0c18e40
1a04a6f1e4181f2cc588c8745b69c09620fd24c3
refs/heads/master
2020-03-14T06:36:12.842354
2017-10-20T09:04:01
2017-10-20T09:04:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,582
py
#!/usr/bin/env python #-*-coding=utf-8-*- import sys reload(sys) sys.setdefaultencoding('utf-8') import re import sys import Queue import threading import argparse import requests from IPy import IP printLock = threading.Semaphore(1) #lock Screen print TimeOut = 5 #request timeout #User-Agent heade...
[ "noreply@github.com" ]
webshell520.noreply@github.com
3260cc71bf51ca6c5472658a1ca8bdfa0d073a18
7ae00ae1659ae99e4fc91e3fea2a253db01abceb
/venv/lib/python3.7/site-packages/werkzeug/__init__.py
02ba61089f1afec895c949e50b76b8f2c4186dd4
[]
no_license
fredpan/PiPiXia-Server-intro-cloud-computing
9d6e6db0ba4571c72d595a127137dac97fa3ec4c
91bec4d18bd23177b5144845c938672f60f49c08
refs/heads/master
2020-08-07T13:28:26.244172
2019-10-10T05:50:31
2019-10-10T05:50:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,080
py
""" werkzeug ~~~~~~~~ Werkzeug is the Swiss Army knife of Python web development. It provides useful classes and functions for any WSGI application to make the life of a Python web developer much easier. All of the provided classes are independent from each other so you can mix it with any other library. :copyright:...
[ "fredpan0821@gmaill.com" ]
fredpan0821@gmaill.com
8ecc7ec6faf9146994bb71be5fc8aaf8d245c4bc
0b7309cc322def6bac3abb76ec1db25a0a7bee98
/jd_qjd.py
57e6d938295d582509a024a573939082c6c69ba8
[]
no_license
yaotootmd/linmudaye
50f372db9ec6087e4961ac9f68d24df329adfbe6
724b4a463a510b4b6fd3c33e0b5ec726e39aca99
refs/heads/main
2023-07-02T07:15:21.134247
2021-08-05T01:49:15
2021-08-05T01:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,040
py
#!/usr/bin/env python3 # -*- coding: utf-8 -* # cron 5 0,8 * * * jd_qjd.py #ๅ…จๆฐ‘ๆŠขไบฌ่ฑ†๏ผˆ7.22-7.31) ''' ้กน็›ฎๅ็งฐ: JD-Script / jd_qjd Author: Curtin ๅŠŸ่ƒฝ๏ผšๅ…จๆฐ‘ๆŠขไบฌ่ฑ†๏ผˆ7.22-7.31๏ผ‰๏ผšhttps://h5.m.jd.com/rn/3MQXMdRUTeat9xqBSZDSCCAE9Eqz/index.html?has_native=0 ๆปก160่ฑ†้œ€่ฆ20ไบบๅŠฉๅŠ›๏ผŒๆฏไธช็”จๆˆท็›ฎๅ‰ๅช่ƒฝๅŠฉๅŠ›2ๆฌกไธๅŒ็š„็”จๆˆทใ€‚ Date: 2021/7/3 ไธŠๅˆ10:02 TGไบคๆต https://t.me/topstyle99...
[ "noreply@github.com" ]
yaotootmd.noreply@github.com
175cd537ba734aea16b54646d227d7f043eae53f
3027a838581e2b0778bd6ae40f9a6c72017b3b0d
/loss.py
84c014beac4352f30db99c0f34f0a9b4f0f3262b
[]
no_license
arthur-qiu/robust
2617adf3be8ea24592990e66b35123d02b0db045
3f40b45a740a1d3f2ba81a18e2cb510fe613d616
refs/heads/master
2020-12-04T12:08:52.665675
2020-02-26T10:37:34
2020-02-26T10:37:34
231,758,355
0
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
import numpy as np import torch import torch.nn as nn import math import torch.nn.functional as F def Entropy(input_): bs = input_.size(0) epsilon = 1e-5 entropy = -input_ * torch.log(input_ + epsilon) entropy = torch.sum(entropy, dim=1) return entropy def grl_hook(coeff): def fun1(grad): ...
[ "Arthur" ]
Arthur
a9c80f162f30fa9a320e3d70485ed145f2167f0e
64505998dead5afec41bf3f5e7b8ee0990056878
/teamlib/version.py
f77ea9f249daf2b00651ccb9c05f8c5efcd687d4
[ "MIT" ]
permissive
malenkiki/team
8f0e57ac4fdeef98f9dd0c3d35ba2cd4c8972c20
11b17066b72988bdf222174cae01a56f750962b0
refs/heads/master
2016-09-07T02:04:55.445385
2014-02-02T21:50:03
2014-02-02T21:50:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
# -*- encoding: utf-8 -*- APP_NAME = "team" APP_VERSION = '0.1'
[ "petit.michel@gmail.com" ]
petit.michel@gmail.com
f562201b3685766803426c0adbb30f5e6e1eb296
12e6ce3fb8628230a3b4bed6f4a41a0449f04135
/assignment2/cs231n/layers.py
2060da31b0b0be241b02f22b46082d7bf87738cf
[]
no_license
axydes/cs231n
bb833bab6dfe49a8e784d1cf5cea3e7d48978bb8
c7016368b4f4235a652afb0539d18a759841739e
refs/heads/main
2021-07-12T23:51:48.234182
2021-03-21T22:29:29
2021-03-21T22:29:29
45,052,817
0
0
null
2021-03-21T22:29:30
2015-10-27T16:06:21
Jupyter Notebook
UTF-8
Python
false
false
11,424
py
import numpy as np from scipy import ndimage from cs231n.im2col import * def affine_forward(x, w, b): """ Computes the forward pass for an affine (fully-connected) layer. The input x has shape (N, d_1, ..., d_k) where x[i] is the ith input. We multiply this against a weight matrix of shape (D, M) where D = ...
[ "alexander.xydes@navy.mil" ]
alexander.xydes@navy.mil
36656772b5db15a7080ef5290f4c8710dfa7092e
9b3fe56255fec1766990ae310883ad44b1505520
/Week 10/hw10_2.gyp
165df3dbff3ca1eb31a24e0a2e103327edf8c7d6
[]
no_license
0zancan/AlgorithmBasics
b45fb2c579c81e6969d7ff4e58205700f323252b
8a7336a1b7092e31cf54e3fe4ebe6135337a12f7
refs/heads/master
2022-04-27T12:37:24.762389
2020-05-03T20:45:08
2020-05-03T20:45:08
261,009,815
0
0
null
null
null
null
UTF-8
Python
false
false
454
gyp
# Dizinin ortalamasฤฑna en yakฤฑn dizi elemanฤฑnฤฑ # bulan program a = [4, 8, -4, 18, 9, 21, 20, 5, -17,-1] #ย a = [4, 8, -4, 18, 9, 21, -200, 5,5,10,23,95,63,-86 -17,-1] n = len(a) sum = 0 for i in range(n): sum += a[i] #63 average = sum / n #6.3 print(sum) print(average) temp = 1000000000 for i in range(n): d...
[ "ozancan@OCB-Mac.local" ]
ozancan@OCB-Mac.local
d7feedf3e0f9eec8c5f371d5bd23732533460493
5babecf71b6b3c3295219b59bd96e348e1cfaf80
/singleylinkedlist.py
c5bb94f61e1e34fc34faa6ab4bc6d013e5858183
[]
no_license
jefinagilbert/dataStructures
46697a8c1ec5cdb943a1e95e887f6343a85f648b
04773fc0dff7d18078f3960b0993ce8ab7918a19
refs/heads/main
2023-06-12T02:06:24.345124
2021-07-10T18:05:44
2021-07-10T18:05:44
384,760,735
0
0
null
null
null
null
UTF-8
Python
false
false
3,771
py
class node: def __init__(self,data): self.data = data self.next = None class linkedlist: def __init__(self): self.head = None def printlinkedlist(self): temp = self.head print (temp) while (temp): print (temp.data,end=" -> ")...
[ "noreply@github.com" ]
jefinagilbert.noreply@github.com
271813ce9df854023fe3b6d50c40601bd44a2d32
b80059648afab4474e567ec1035d63d060d9b3a6
/src/analyze.py
e18911d2f1160107000f7ce93c5532bf18c7c900
[ "MIT" ]
permissive
SteemData/classify.steemdata.com
8b34d7ae9e666b9dfe9930c82dc347650356fb94
507d2d537a502701dd6e28c9581c132942084b7a
refs/heads/master
2021-03-19T05:57:34.360839
2017-11-09T22:30:59
2017-11-09T22:30:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
import boto3 from easydict import EasyDict as ed config = ed( region_name = 'us-west-2', s3_bucket_name = 'steem-hackaton-input' ) rkg = boto3.client('rekognition', region_name=config.region_name) def nsfw(img: bytes): response = rkg.detect_moderation_labels( Image={'Bytes': img}, ) retu...
[ "_@furion.me" ]
_@furion.me
bfa64414e10648e405e89258f858138cfe2bcc91
f4e21b9a042577400689e83a7ae11c0eee13cecf
/gneiss/regression/tests/test_transformer.py
3f7aa1cd6eebc62d528cecdf3407afee1faff1f6
[]
no_license
ebolyen/gneiss
8facaaffe9904c8641f418fdd1461c1ae447e593
bb47be8805bf887afcc40b72365b062aa74ff823
refs/heads/master
2022-12-21T21:08:09.162341
2017-04-21T01:30:10
2017-04-21T01:30:10
88,930,099
0
0
null
2017-04-21T02:20:16
2017-04-21T02:20:16
null
UTF-8
Python
false
false
2,346
py
# ---------------------------------------------------------------------------- # Copyright (c) 2016--, gneiss development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # ------------------------------------------------...
[ "jamietmorton@gmail.com" ]
jamietmorton@gmail.com
c7d84d8e4ce7c1640e416676ff78f03d60b5cb43
4597d219ad8849b4e80cfbda6e75600449db2de9
/pythonProject/window8.py
d83b7d589dcdc65988563de0a6f6e39f958992d1
[]
no_license
pass0585/Python
660b88375bf2a50f19520ba3460542bcd4af7f29
917e5c1b1050a97a24069a1157489618aa45c6e1
refs/heads/main
2023-06-24T01:45:25.225249
2021-07-28T07:35:05
2021-07-28T07:35:05
382,979,157
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
from tkinter import * from time import * ##์ „์—ญ ๋ณ€์ˆ˜ btnList = [None]*9 fnameList = ["jeju1.gif", "jeju2.gif","jeju3.gif","jeju4.gif", "jeju5.gif","jeju6.gif","jeju7.gif","jeju8.gif","jeju9.gif"] photoList = [None]*9 num = 0 #ํ•จ์ˆ˜ def clickNext(): global num num+=1 if num>8: num=0 photo...
[ "pass0585@gmail.com" ]
pass0585@gmail.com
0d37df26911f7aa45fd992907792f711b760b1d3
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/timm/models/layers/involution.py
97e83500b1f997b67fbd369776d069d277ac3bdb
[ "Apache-2.0", "MIT", "CC-BY-NC-4.0", "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,501
py
# Copyright [yyyy] [name of copyright owner] # Copyright 2021 Huawei Technologies Co., Ltd # # 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.or...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
35bb8f52dd1d329bd18ccf91dc8b94a834d6c0e9
58110bd765daad7ad8d41175da001000e63d7256
/baselines/scripts_python/python_packages/pwNBCBk/citmi_simple.py
558ac5b782473964acd246c5aa6398071bfd9f98
[]
no_license
mivanovitch/causal_discovery_for_time_series
c7c9c9081167bd7b53eadc6bffa2f39b84ec084b
970c4d00c3f8f52923802ed030d4014e24723187
refs/heads/master
2023-08-30T20:46:50.498706
2021-11-04T16:35:46
2021-11-04T16:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
173,762
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Discovery of summary causal graphs for time series: script implementing the PCTMI and FCITMI methods. Parallelization is done across variables for the skeleton construction step and for the rule origin of causality. Date: Dec 2019 Author: Karim Assaad, karimassaad3@gma...
[ "karim.assaad@univ-grenoble-alpes.fr" ]
karim.assaad@univ-grenoble-alpes.fr
3f3d24122a5ecb807bc70e05d545127bfeb290d9
5bf6ab98cc26a6f04389b11bb87a6e90385f50c2
/app/user/test/test_user_api.py
fc57fd3fb7a2f3ec480b7879d61b62248cdc5869
[ "MIT" ]
permissive
Rahatcseru2014/recipe-app-api
04874ab93777001bcab164d4e7184893b0a0dfca
e4ab491361273025c9d4be6d5b753b4ff7ce66e6
refs/heads/master
2022-06-28T15:20:56.783604
2020-05-14T17:13:40
2020-05-14T17:13:40
256,877,983
0
0
null
null
null
null
UTF-8
Python
false
false
5,337
py
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse('user:create') TOKEN_URL = reverse('user:token') ME_URL = reverse('user:me') def create_user(**params...
[ "rahat.javafx@gmail.com" ]
rahat.javafx@gmail.com
cd2a46af326af67c393d564938c53923c702d089
a36ed24b899f002946a4ef9c401872ef452711b1
/mundo-01/ex026.py
f9b4474d9528e52ee8a12e3c55fb6dcf9f5b7bfe
[]
no_license
erickgust/python-exercises
91d2176b140909c49b66a328d13c10470746db87
2cdd3cfaba7ef0124fcb198a17368e7704764ad5
refs/heads/main
2023-06-20T13:45:27.847192
2021-07-01T17:12:10
2021-07-01T17:12:10
382,102,558
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
frase = input('Digite uma frase qualquer: ').upper() fraseL = frase.split() print('A letra "A" aparece {} vezes!'.format(' '.join(fraseL).count('A'))) print('Ela aparece pela primeira vez na posiรงรฃo {}'.format(' '.join(fraseL).find('A')+1)) print('Ela aparece pela รบltima vez na posiรงรฃo {}'.format(' '.join(fraseL).rfind...
[ "erick.stazs@gmail.com" ]
erick.stazs@gmail.com
92b30df416917ad8948f5c9e2c0d9b33201ab768
a99dabb67ca2a6a95f13820cd708595bef88a88a
/tests/test_temporal_k_max_pooling.py
3eca31e3ea4d9bd66a54774e6ccc977cd4985d0f
[]
no_license
svoss/vdcnn-chainer
2c93aad28324de1f894637ed295e3cfba9de8806
47fdf434d9773d5d27fce5492d0c0efbf64aeac3
refs/heads/master
2021-05-15T12:03:22.981262
2017-12-03T12:45:51
2017-12-03T12:45:51
108,402,829
1
0
null
null
null
null
UTF-8
Python
false
false
3,714
py
import unittest import sys import numpy as np sys.path.append(".") from chainer import testing from chainer import gradient_check from vdccnn.temporal_k_max_pooling import TemporalKMaxPooling, temporal_k_max_pooling import chainer from chainer import cuda from six.moves import xrange from chainer.testing import attr @...
[ "svoss@i-sti.nl" ]
svoss@i-sti.nl
61f3f8be12d8ae177af4e7bd99f32c9284f701fc
b6f7203ff761362c5c992ed137f2b60873624193
/tests/test_trained_embeddings.py
766666d4e06e389fefb9c2143f9213cc6aa95ee1
[ "Apache-2.0" ]
permissive
thaingo/adaptnlp
98b2ac5f4a0d5ce41d37a6d674b7cc39d5e2a876
784ecabd2505acb8c595b6089841772a6f9b8bb5
refs/heads/master
2023-03-07T06:54:34.673649
2021-02-16T04:00:03
2021-02-16T04:00:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from adaptnlp import EasyWordEmbeddings, EasyStackedEmbeddings, EasyDocumentEmbeddings def test_easy_word_embeddings(): embeddings = EasyWordEmbeddings() embeddings.embed_text(text="Test", model_name_or_path="bert-base-cased") def test_easy_stacked_embeddings(): embeddings = EasyStackedEmbeddings("bert-...
[ "aychang995@gmail.com" ]
aychang995@gmail.com
16d7ca675bcd4ddd0c915762b8825ad9ea47b65e
bdb44645b8be29657682d5cf9dd7e47d1d8e8d92
/08(8lab)/Diana_8lab_STP.py
72cd3a74e1ce99718d514ea362061a9968c97d4c
[]
no_license
bluriiiface/Python
19ef10480cf8148f79b8ce4a04d7680b59db7c44
cdefbf4c1448896e4010263e25771be634d909b9
refs/heads/main
2023-05-14T04:34:01.532960
2021-05-31T20:25:58
2021-05-31T20:25:58
353,459,624
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
from math import sqrt print('-----------ะŸั€ะพะณั€ะฐะผะผะฐ โ„–8(8)-----------') while 1: print('ะ’ะฒะตะดะธั‚ะต 2 ั‡ะธัะปะฐ ะธ ะทะฝะฐะบ ั‡ะตั€ะตะท ะฟั€ะพะฑะตะป') a, f, b = input().split(' ') a = float(a) b = float(b) if f == '/': a = a / b print('ะžั‚ะฒะตั‚: ', a) break elif f == '*': a = a ...
[ "noreply@github.com" ]
bluriiiface.noreply@github.com
a5ae575a5d08b866c988d7daff8b8357e695454b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03148/s977826358.py
4dcf39217ab9acca14bc5415bf0a46880be55e2c
[]
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
3,165
py
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) import heapq class PriorityQueue: class Reverse: def __init__(self, val): self.val = val def __lt__(self, other): return self.val > other.val def __repr_...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
376f35618f0977feb1eee220ccd2117317c0936f
ade41423a943e1fcb8fef7b869af1f0e81bdfa3d
/call_stack.py
7e3e192fd58afe19067e268d0603aec2e6003e9a
[]
no_license
aheinous/waffle-compiler
955d411db46435f94bd8b5d606250ca75f29e481
d5e5816a4d4d8ea38f0d2a3623694a2bb66c2b96
refs/heads/master
2023-07-08T05:34:57.104140
2021-08-09T03:08:23
2021-08-09T03:08:23
394,131,506
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
class _FuncPush: def __init__(self, call_stack): self._call_stack = call_stack def __enter__(self): pass def __exit__(self, exc_type, exc_val, exc_tb): self._call_stack._pop() class CallStack: def __init__(self): self._stack = [] def push(self, func): self._stack.append(func) return _FuncPush(self) ...
[ "aheinous@gmail.com" ]
aheinous@gmail.com
6849d2ec9790e047a0e8c225fd2ba62a5fdcdd56
3dcfa2980db0770af9b4355b0d5a5e5ef2313c50
/corpus/exceptions.py
173d06acf3cf5bd7493cf25b0c6f41cbc47cf052
[ "CC-BY-NC-2.0", "CC-BY-NC-4.0", "Apache-2.0" ]
permissive
looselycoupled/partisan-discourse
5f4638d984fb54a5add870d4cb59445811c412a1
8579924094c92e25e21ce59a26232269cf6b34bc
refs/heads/master
2020-03-27T06:35:49.627350
2018-08-25T18:05:44
2018-08-25T18:05:44
146,118,079
0
0
Apache-2.0
2018-08-25T18:02:38
2018-08-25T18:02:38
null
UTF-8
Python
false
false
977
py
# corpus.exceptions # Custom exceptions for corpus handling. # # Author: Benjamin Bengfort <bbengfort@districtdatalabs.com> # Created: Mon Jul 18 09:57:26 2016 -0400 # # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # # ID: exceptions.py [63935bc] benjamin@bengfort.com $ """ Custo...
[ "benjamin@bengfort.com" ]
benjamin@bengfort.com
e6abd68ee8891fd33558e2c79ba7b61eeb2bd4b5
b35aea9f4411f5dc7942392d78dc31bb76c7ec73
/djangoProject/services/migrations/0004_alter_sub_head.py
142021ffe6400739d7b16a3cef8ad1787f49ebfd
[]
no_license
ashkanusefi/rondshow
1079b81704fff55a1d54fa8dee2712ab61e92f4a
7e5a80fcc6e326b8b1737a54fb53becc4195e475
refs/heads/master
2023-09-01T18:45:33.170465
2021-09-18T11:24:52
2021-09-18T11:24:52
407,820,565
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# Generated by Django 3.2.5 on 2021-07-13 10:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('services', '0003_alter_sub_head'), ] operations = [ migrations.AlterField( model_name='sub', ...
[ "yousefi.ashkan96@gmail.com" ]
yousefi.ashkan96@gmail.com
bf88e5c883b3f3d08cb7ed1988fbaa74e23cf3f7
b5e10ed8500a39f999b7a664915ceb1dc7f371bd
/py_services/populateMed1000.py
f5b20654e59ff15a68701e594654b228b31c97b1
[]
no_license
juanpablocontreras/storage-experiment
bb42b4e5ca44774c1ac31ffc464f5ef3d674d3d8
1c59f55373144b976a7a2fe789b81721d9543950
refs/heads/master
2022-11-29T18:33:30.674944
2020-07-30T00:02:14
2020-07-30T00:02:14
278,735,605
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
#populates the medium size items database import mysql.connector cnx_orig = mysql.connector.connect( user='juan', password='LapinCoquin13', host='127.0.0.1', database='EXP_ORIG') orig_cursor = cnx_orig.cursor() item = "a" for s in range(999): item =...
[ "juanpablocontreras@cmail.carleton.ca" ]
juanpablocontreras@cmail.carleton.ca
ad2cf41e2835382146d98e659562119b73b04000
10425fd2f058afb9dd823929314bfede0a4eb513
/flaskaiohttp_websocket/app.py
67a5c4b45adbbf95106696a4225673ec018d7153
[]
no_license
gaozhidf/flask_websocket
60883571a469a7c283e3da9a8fbf81d752f82f71
41653f71b7fd6d07d3592a22a11f29e795ba45d8
refs/heads/master
2022-11-29T04:31:08.953294
2017-08-12T08:53:24
2017-08-12T08:53:24
49,828,952
0
2
null
null
null
null
UTF-8
Python
false
false
2,060
py
import json import asyncio import aiohttp from flask import Flask, current_app from flask_aiohttp import AioHTTP from flask_aiohttp.helper import async, websocket app = Flask(__name__) aio = AioHTTP(app) @app.route('/echo') @websocket def echo(): while True: msg = yield from aio.ws.receive_msg() ...
[ "gaozhidf@gmail.com" ]
gaozhidf@gmail.com
5e56cc78a121e1d1b486e6bc4a3fc7a7cd46762b
2b54b1fb1540ab73d6c83cae3acd5fdd58bdead5
/Platinum_clusters_Project/final_images/Pt13_O2_DFTsorted/Pt7_3O2_TiO2_101surface_zorderimageplotbasedondepth1.py
4f1b59995eb2ca8b9bc48aa8fecadced15bc2251
[]
no_license
sivachiriki/GOFEE_Pt_V_supported
5787d44294262870075f35f2d31c096021b7ce20
6bd700dac1f3e7c58394b758d75246ac6e07eade
refs/heads/master
2022-04-08T11:38:13.038455
2020-03-09T10:48:31
2020-03-09T10:48:31
226,359,812
0
0
null
null
null
null
UTF-8
Python
false
false
3,837
py
from __future__ import division import matplotlib #matplotlib.use('Agg') # Can also use 'tkagg' or 'webagg' #from plot_neb_tio2 import * from matplotlib.offsetbox import TextArea, VPacker, AnnotationBbox import matplotlib.patches as patches import matplotlib.pyplot as plt from ase.io import read, write from ase.visua...
[ "sivachiriki@phys.au.dk" ]
sivachiriki@phys.au.dk
3dc1ada00afa0327b9f7befb7328a8b103da9b07
d7719b7b537a1484228d377d265ebeea8f76748a
/Robot Operating System (ROS)/ROS/Starter Code and Resources/ROS_Minimal_Projects/rospy_minimal_packages/modular_pub_sub/setup.py
f8270eaaf22d1aa84841ec98b72a858c7271b601
[ "BSD-2-Clause" ]
permissive
OpenSUTD/coding-notes
9724ac9d35f585ff3140a43c8a10fcdcbaedfc79
f9b8c778f8494d0bf47bd816cfd77b88e78a5a1f
refs/heads/master
2022-07-16T22:17:21.930385
2019-07-03T10:11:30
2019-07-03T10:11:30
166,292,417
7
5
BSD-2-Clause
2019-07-03T11:20:16
2019-01-17T20:30:47
C++
UTF-8
Python
false
false
275
py
#!/usr/bin/env python from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup setup_args = generate_distutils_setup( packages = ['modular_pub_sub'], package_dir = {'': 'src'}, install_requires = [''] ) setup(**setup_args)
[ "methylDragon@gmail.com" ]
methylDragon@gmail.com
64c8644b126a25c7e0bc1a294f63066cde7a5f27
1f6b2c9978b1bfaed48560db811075025f93261f
/jobsAdmin/urls.py
75f62f9b25edb8563025713c5695e6a80ab84150
[ "MIT" ]
permissive
JaviMiot/Job_manager_backend
b999cb23cb7dd875ec7dd8403471c44ccee49034
da91e1e2f64c1d6f1fd04fa262239abd0accece2
refs/heads/master
2023-08-17T18:39:55.851883
2021-10-11T20:39:49
2021-10-11T20:39:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
"""jobsAdmin 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-bas...
[ "51manobandajavier@gmail.com" ]
51manobandajavier@gmail.com
7c8d333ddbf6eb99adc0a90adae46b0f37287b85
d6c07c3128ebf5586e6640b72fc065d8bc54ad03
/rose/bin/python-config
fe0e5df737913facfbebf0383dcbc7aed853aa8c
[]
no_license
newserg/my-first-blog
f647ea12f9cd0a7c77945c2bb660acbb81116ba1
9565c9951f97d9de8a79987f881a569ea28385d9
refs/heads/master
2021-01-09T09:38:19.376567
2017-02-08T11:43:55
2017-02-08T11:43:55
81,197,089
0
0
null
null
null
null
UTF-8
Python
false
false
2,345
#!/home/serg/newproject1/rose/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.version_info >...
[ "morrcv@ukr.net" ]
morrcv@ukr.net
8cd569f757c981fe1f87ca5c21072e8f3c7c65ec
e2ef942079699b5642eefd0ec9bab5c62db322cd
/Python/51.py
500aba8759ffb3d0b2b380b1e38e1accf639f21d
[]
no_license
ShiinaMashiro1314/Project-Euler
b016e54b065efec1227da8d8272bd00a202d7124
7ff16a0fe86b77360e3e0f830f9390700e6876dc
refs/heads/master
2020-04-02T08:06:18.040557
2016-07-12T18:16:52
2016-07-12T18:16:52
63,181,905
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
i = 100000 def same(a,b): d = {} e = {} while (a>0): if(a%10 in d): d[a%10] += 1 else: d[a%10] = 1 a /= 10 while (b>0): if(b%10 in e): e[b%10] += 1 else: e[b%10] = 1 b /= 10 return d == e def test(i): for j in xrange(2,7): if(not same(i,i*j)): return False return True while(not te...
[ "thomaspanzhao@gmail.com" ]
thomaspanzhao@gmail.com
c1f7a9a1be4dab922be13ef7a1acc032b4a8ac3b
c53adaefd26bda80cd7ce22ea0cae877e364c2c5
/lib/network.py
52ca885512d164a52547c7b33578191591958ef4
[ "MIT" ]
permissive
Morningstarpayments/electrum
a59ac886b23ef5abcc940a5d51ea1ebef78908b7
a035bac8577d53a805dc111eb3ba89f48e96fe34
refs/heads/master
2021-07-06T08:59:44.926421
2017-10-03T00:21:10
2017-10-03T00:21:10
105,598,670
0
0
null
2017-10-03T00:19:17
2017-10-03T00:19:17
null
UTF-8
Python
false
false
33,849
py
# Electrum - Lightweight Bitcoin Client # Copyright (c) 2011-2016 Thomas Voegtlin # # 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 rig...
[ "you@example.com" ]
you@example.com
47a76feedcb553cbdfed82f9a1800c56ebd293fe
a79519c0032ce5630710bef726886e226369ad1a
/bikeshed/refs/__init__.py
23d416226c7293aba42df293012d75de99a3883b
[ "CC0-1.0" ]
permissive
ylafon/bikeshed
9598aee18ac5a9f5fc3094bc847f30f768d4ee07
5471ba1f1c21f5b90546909fa30891f0148a750c
refs/heads/main
2022-07-31T23:42:22.592066
2022-07-27T09:17:23
2022-07-27T09:17:28
311,297,114
0
0
CC0-1.0
2020-11-09T10:08:03
2020-11-09T10:08:02
null
UTF-8
Python
false
false
100
py
from .manager import ReferenceManager from .source import RefSource from .wrapper import RefWrapper
[ "jackalmage@gmail.com" ]
jackalmage@gmail.com
74dea5ec4fa37052d4958c0450ee7c5508e1b29a
bb6bc84759af0961b283c79590dfcac1ddc15178
/study/skitLearnTest.py
50438b2f8a6f48e96345d965f0395e5e6c8594c9
[]
no_license
AnnieGaoXiaoQing/machine
cef9607cb9f78e0cdbd06331ca5d2827c927e80f
8bdb83091195c99bacf716d8153e24822393624c
refs/heads/master
2021-10-10T01:49:12.798767
2019-01-06T02:25:40
2019-01-06T02:25:40
115,302,735
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
#encoding=utf-8 import os; def main(): #ๆ•ฐๆฎ้ข„ๅค„็† from sklearn.datasets import load_iris iris = load_iris(); print(iris) print(len(iris["data"])) from sklearn.model_selection import train_test_split #ๅผ•ๅ…ฅไบคๅ‰้ชŒ่ฏ # ้ชŒ่ฏ้›†ๅ 20%,random_state==1ๅณ้šๆœบ้€‰ๆ‹ฉ30ไธชๆ•ฐๆฎ้›† train_data,test_data,train_target,test_target...
[ "gxq741718618@163.com" ]
gxq741718618@163.com
4f86503e9967ceaa9cb417c55dc2f4ceb6706b4e
a8595670862f9475050abf73399afe34faaa083b
/wb_api/urls.py
f2d8bb64d1f13e51f8b884542b8f6d173580934d
[]
no_license
skiboorg/wb_api
14392df2da8569212c0ba05e527b46fcd9c30338
c45d8c340a45958bc6d380c2a431d13d0f1ebf37
refs/heads/master
2022-12-06T03:52:58.621255
2020-08-26T19:25:24
2020-08-26T19:25:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from django.contrib import admin from django.urls import path,include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('api-auth/', include('rest_framework.urls')), path('api/v1/', include('api.urls')), path('ckeditor/', ...
[ "11@11.11" ]
11@11.11
b24b1a2dfa931fcb6ad5d2d59be1cf6b6ea70c87
e8bab29369a41ec180e4ea60821f6ac970e57ddb
/V.py
dfce98404d1a166a0514c5fe44ab73de09b233d6
[]
no_license
ParthJindal32/Alphabets-Patterns
9cec7444cd0be8543ef97430907370126c32e5b0
ceba69d26df1a821e3205047102a80e46b2e4bf7
refs/heads/master
2022-11-19T03:40:23.150170
2019-08-10T10:48:38
2019-08-10T10:48:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
for row in range(7): for col in range(5): if ((col==0 or col==4) and row!=5 and row!=6) or (row==5 and col==1) or (row==5 and col==3) or (row==6 and col==2): print("*",end=" ") else: print(end=" ") print()
[ "noreply@github.com" ]
ParthJindal32.noreply@github.com
17461c469a3504f56403dc6907b5fbb8c118437e
75b2c2d56597ad7a96a7be761acdd0beb41324e9
/api/models/product.py
05e451685f7d920056fa163f8a52c8c1e6431bfa
[]
no_license
mauodias/bahzar
46e94ceb313c8b3681bedf7e4783fb1702d8403a
4edfc69f688bee4400581777abefe3cbc9003f24
refs/heads/master
2020-04-26T07:19:37.441730
2019-04-26T23:14:19
2019-04-26T23:14:19
173,390,908
1
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
from .db import get_connection from .model import Model from bson import ObjectId class Product(Model): collection = get_connection()['products'] def __init__(self, owner, name, price, tags, description, available=True, images=[]): self.owner = owner self.name = name self.price = price self.tags...
[ "mau.dias@gmail.com" ]
mau.dias@gmail.com
3d6b7fb65d3fd36dfe2b7e314f717ceb5d5edcc7
9f0aea4ee3f6516dbc7112fc20c4498196c5721a
/RL/main.py
0e2d8d5a0468d348f65e84ca6d4a26a9f24b7b8f
[]
no_license
gobind452/Miscellaneous-Projects
1286d7d6dcb822eb0ca9f40ac284caa0f273dd3d
d9035fcc5951537ddf2fe065438ff5eb74e1a4dc
refs/heads/master
2020-08-07T16:34:48.970562
2019-12-09T13:49:20
2019-12-09T13:49:20
213,526,431
0
0
null
null
null
null
UTF-8
Python
false
false
13,164
py
import os import sys import pygame import random from pygame import * pygame.init() scr_size = (width,height) = (600,300) # Screen Size FPS = 60 # Frames Per Second gravity = 0.6 # Gravity for jumps black = (0,0,0) white = (255,255,255) background_col = (235,235,235) # Colours high_score = 0 # Initial High Score ...
[ "noreply@github.com" ]
gobind452.noreply@github.com
0c088c841c94aab3aea8a44a61b33cfa24ea29bc
963097c2b25b5db8428000c1ab5d9e1a31f856fe
/24.py
4befeb7960ea49b7830e4f4fab55edd0ec89bacf
[]
no_license
AkkarinForest/ProjectEuler
a9dd02015b1423e4760590c87885a8a7866add2e
0489be7803578debcd69bd2a65a395157ffb9222
refs/heads/master
2021-05-12T07:18:03.609878
2018-01-24T19:02:40
2018-01-24T19:02:40
117,238,475
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from itertools import permutations as perm print(list(perm(range(10)))[999999])
[ "akkarinforest@gmail.com" ]
akkarinforest@gmail.com
48217e37537211a9bfd2b671886a356efa6a7a8d
b047a32da65cc0fafe249160f57765ddbe80176e
/apps/support/templatetags/forum.py
20f193d4a3ba8af04bb65ae72f774e72f6431c3b
[ "MIT" ]
permissive
fengjinqi/website
0568c679e7964bdbb637831a4f1dec7c5e8d767c
340eecec49ce0d66cd6a491d0ae9ad23ec9f841b
refs/heads/master
2023-02-18T10:12:52.158471
2023-02-16T08:40:13
2023-02-16T08:40:13
160,755,540
367
114
MIT
2022-12-08T01:42:40
2018-12-07T01:44:34
Python
UTF-8
Python
false
false
1,226
py
from datetime import datetime from django.contrib.sessions.models import Session from django.core.cache import cache #from apps.forum.views import get_online_count from apps.support.models import QQ from apps.forum.models import Forum from django import template from django.utils.timezone import now, timedelta from a...
[ "tarena_feng@126.com" ]
tarena_feng@126.com
2d746288f264a39910102e51657a5ada3af029f0
78d15452bb580a8146610ff182947cdaeb717219
/credentials/g_translate.py
1aa3ab7a7aa5c7ade9592de9d62eef0b0bacd86c
[]
no_license
jowrjowr/tri_common
2d62ec393ad39b931265a78c3052abc3f33e45ed
d78eedb6a351df79f7db2134f9bf6ea06bad1b2f
refs/heads/master
2020-04-04T13:08:39.750280
2019-01-14T20:25:10
2019-01-14T20:25:10
155,950,504
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
translate_api_key = 'AIzaSyBnWXRMQjbsJafFLpMcgFKqXYR-40yj_Jw'
[ "jowr.pi@gmail.com" ]
jowr.pi@gmail.com
b3cc9b33bc9311bcaa289ae601c3203b02d393e9
66edaf6303b9a66f23f96d1b05ba21efe07279ef
/extractIdioms.py
2d7c7c1c8f162c15f8e22fc60c809cd2d5e1bbae
[]
no_license
agoconcept/shertonenglish
b10504100eec0030443a3100bff9c26a0795861d
e35c439e0015e27a7cfaf0091d61f6a3dc5f3ed8
refs/heads/master
2016-09-06T14:22:51.716405
2014-03-02T12:24:45
2014-03-02T12:24:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
#!/usr/bin/env python import argparse import mechanize import lxml.html def process_table(table_elem): rows = table_elem.getchildren() for row in rows: line = row.text_content().split('\n') print "%s - %s" % (line[1].strip(), line[2].strip()) def main(): # Handle argument parser...
[ "santi@spotify.com" ]
santi@spotify.com
a817a1eca57d1473579117860e8367eba37af7f3
a98ff9449ed38f7d5b265f14793a28b8139d3112
/src/network.py
2fdaa5568d6cb86355153be94fbbf4c570c5cc8b
[]
no_license
ducbm95/Neural-Network
38f0a2babb6803e6eeb447c9239b7852c3d5234a
337c9463cf17b26ee8c8ebaae1e9a636d1cd13f0
refs/heads/master
2020-06-11T09:38:13.763989
2016-12-22T13:13:58
2016-12-22T13:13:58
75,690,372
0
0
null
null
null
null
UTF-8
Python
false
false
6,336
py
""" network.py ~~~~~~~~~~ A module to implement the stochastic gradient descent learning algorithm for a feedforward neural network. Gradients are calculated using backpropagation. Note that I have focused on making the code simple, easily readable, and easily modifiable. It is not optimized, and omits many desira...
[ "ishy159@gmail.com" ]
ishy159@gmail.com
4a98ed5c35bc602fa3cf5522d5f85ab078bbcb92
009f9761767f93a2986f8b5a2ba61bac6f33dc59
/examples/intro/8/example.py
0fc03bff85a41b5054ceffe6fd6a14aa7ee9e136
[ "MIT" ]
permissive
crasiak/ginkgo
8798d28d16732cc1c5b18f8e5df0d17f8866f999
2592de2c8acfe6e62f33e7ac1f79cc5613567908
refs/heads/master
2021-01-16T20:07:45.269511
2012-04-06T07:26:46
2012-04-06T07:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
import gevent from gevent.pywsgi import WSGIServer from gevent.server import StreamServer from gevent.socket import create_connection from ginkgo.core import Service class TcpClient(Service): def __init__(self, address, handler): self.address = address self.handler = handler def do_st...
[ "progrium@gmail.com" ]
progrium@gmail.com
df8f34cabb73d62adf171eeae4b7788cbdfdf467
6db8aba817161dc573f16cde185f4a1c02c753e0
/XOR.py
0c07e2db55b43284b1baa73054a707acc0f131b8
[]
no_license
Prakashchater/Leetcode-array-easy-questions
456153a13397c895acae6550dad8f1b1851ff854
7c5d40f9d68dbf61f4a61a33d9b54f769473b057
refs/heads/main
2023-06-19T14:01:52.483440
2021-07-22T19:44:40
2021-07-22T19:44:40
354,926,404
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
xor = 0 out = [] arr = [10,11,1,2,3] n = arr[len(arr)-1] for i in range(len(arr)-1): out.append(arr[i]^arr[i+1]) out.append(arr[len(arr)-1]) print(out)
[ "prakashchater@gmail.com" ]
prakashchater@gmail.com
ac7f9a29b1083ff198275d312b01fecad5ed4fc3
039446516b188899e2fd21a41087ad20f06d666b
/src/server_code/game_logic.py
9934157d88fc8ff515d2b4ff8f39a8e5a2c028ab
[]
no_license
Tyorat/TicTacToe
62ebbeee168568a0c590a5923127a3ac529ba134
0281f3c7b293256e2c73ac1530786308cea385af
refs/heads/main
2023-06-24T22:37:18.744669
2021-07-12T23:11:30
2021-07-12T23:11:30
377,521,858
0
0
null
2021-07-12T23:11:31
2021-06-16T14:20:21
Python
UTF-8
Python
false
false
2,001
py
import secrets WIN_COMBO = ((1, 2, 3), (4, 5, 6), (7, 8, 9), (1, 4, 7), (2, 5, 8), (3, 6, 9), (1, 5, 9), (7, 5, 3) ) SWITCH_TURN = {"x": "o", "o": "x"} class WrongMove(Exception): pass class Game: def __ini...
[ "you@example.com" ]
you@example.com
f13e72e03cd34502c6484c674639f20496aad914
c5702c50820680fee40bd156b0cb401733abada3
/e4/average_ratings.py
18ccaa523cdec3710cb9d023eac920463274c566
[]
no_license
erwinbai/Data-Science-353
d03f868de2b1ddc16b91dbf3c8a14a667f6fae58
ac0e9be50ecc179a846517c1e9a7aebedbd59002
refs/heads/master
2021-03-19T23:27:09.883455
2020-03-13T20:26:18
2020-03-13T20:26:18
247,153,190
0
1
null
null
null
null
UTF-8
Python
false
false
1,722
py
#!/usr/bin/env python # coding: utf-8 # In[12]: import numpy as np import pandas as pd import sys import difflib # In[13]: def remove(element): #rstrip() idea is from https://www.programiz.com/python-programming/methods/string/rstrip return element.rstrip() #helps with removing '|n' behind moive title v...
[ "noreply@github.com" ]
erwinbai.noreply@github.com
c8df91551a44a334be5a4cd94d26220e4cc54a07
84e661d5d293ec0c544fedab7727767f01e7ddcf
/target/migrations/0011_auto_20201101_1147.py
9ca50acaa24915c420cbf92d31354e33dd6cdc7f
[ "BSD-3-Clause" ]
permissive
groundupnews/gu
ea6734fcb9509efc407061e35724dfe8ba056044
4c036e79fd735dcb1e5a4f15322cdf87dc015a42
refs/heads/master
2023-08-31T13:13:47.178119
2023-08-18T11:42:58
2023-08-18T11:42:58
48,944,009
21
23
BSD-3-Clause
2023-09-14T13:06:42
2016-01-03T11:56:48
JavaScript
UTF-8
Python
false
false
882
py
# Generated by Django 3.0.10 on 2020-11-01 09:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('target', '0010_auto_20201101_1127'), ] operations = [ migrations.AddField( model_name='target', name='tweet_notifie...
[ "nathangeffen@gmail.com" ]
nathangeffen@gmail.com
4f91db0c179ce5761c01cb598130a254ba26e16f
1e8d9a251b36f2e80a851d541321522ce4e812fa
/igmspec/scripts/plot_igmspec.py
c3e68e4c64d8f0b820e6ba8daf9c1882d20f2c30
[]
no_license
Waelthus/igmspec
c81f31360e9528bd150a991ad96b8b4ca94962d0
8fdbb622360ca5263711f75d0f7571ed955f6e28
refs/heads/master
2020-12-25T21:55:50.001007
2016-07-17T21:17:08
2016-07-17T21:17:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,154
py
#!/usr/bin/env python """ Loads and plots a requested spectrum """ import pdb def parser(options=None): import argparse parser = argparse.ArgumentParser(description='plot_igmspec script v0.2') parser.add_argument("coord", type=str, help="Coordinates, e.g. J081240+320808") parser.add_argument("--tol...
[ "xavier@ucolick.org" ]
xavier@ucolick.org
cefb14c0b85be76145a015d5a4ae758860595ddc
21da8e3490769f0062fad806abc119ed0334b7cc
/CodeChef/MAY17/CHEFROUT.py
90b2672f87242f8bdddc4bdedfbcdcb58dc1aa7f
[]
no_license
nikhilhassija/CompetitiveProgramming
d2e0606c1badd3209452d670a99234a3ef0d5d6c
794deb2ef26d03471e78c6fb77f3a72d810d19f1
refs/heads/master
2020-04-05T23:06:20.363385
2017-12-22T21:19:16
2017-12-22T21:19:16
42,791,366
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
t = int(input()) for _ in range(t): A = input() if(A == ''.join(sorted(A))): print("yes") else: print("no")
[ "nikhil.hassija@gmail.com" ]
nikhil.hassija@gmail.com
c37ee59446bb0ce436a571312628fce8121b88a8
1905e5cece92e6cdc68dac3ebb0ee1d05bef35c8
/fuzzinator/tracker/base.py
84de8815bb65c1977f3e473d326d6eed14335b6c
[ "BSD-3-Clause" ]
permissive
darrynza/fuzzinator
e876131d18c5f0a17ae8bdc2fb10f18d8b0084fb
e1642f75ba8c1b555f7e2557b52f43df4d17b89f
refs/heads/master
2020-04-29T04:39:36.453300
2018-12-06T17:15:35
2019-01-08T23:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Copyright (c) 2016-2018 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. class BaseTracker(object): @property def logged_in(self)...
[ "reni@inf.u-szeged.hu" ]
reni@inf.u-szeged.hu
96b3c170c94a416fb457bfeb482e5368eab6df09
9f7c59e822c3b54dfd413b1f30a0a36693fdd1d7
/BlogStan/post/models.py
f2702b6a7bfafb31c13446da90a77283cdea5188
[]
no_license
kunalp-gohire/django-social-media-blog-app
8f3d4733258a872d46398dfed581e470f9d9fe90
1fa8c3b97db1584b483d7066939cca73057bfeaf
refs/heads/master
2022-11-22T23:57:27.561992
2020-07-23T05:32:43
2020-07-23T05:32:43
281,737,540
1
0
null
null
null
null
UTF-8
Python
false
false
1,804
py
from django.db import models from django.conf import settings from django.urls import reverse import misaka from django.contrib.auth import get_user_model User = get_user_model() # Create your models here. class Post(models.Model): user = models.ForeignKey( User, related_name='posts', on_...
[ "kunalp.gohire@gmail.com" ]
kunalp.gohire@gmail.com
e8bb5f9bf30cda2cbd8824240840e0681ff4e02d
db68b542951ec427378f86d9616d68d7f51a1447
/CJComparison/tests.py
d9e50ec81b870877be3f9ea091fb6c1fdaebcfb8
[]
no_license
alittleTom/treeshow
8a4debaf27d8d4528ecebaa38096e621a78a27ec
3941e5b9080d29da2f45aad1cef01ac174b20e55
refs/heads/master
2020-06-14T17:45:54.658954
2016-12-02T01:42:38
2016-12-02T01:42:38
75,349,328
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.test import TestCase from CJComparison import views # Create your tests here. class T(TestCase): def testname(self): print("test") views.executeSql()
[ "2659221136@qq.com" ]
2659221136@qq.com
78ed13b0780bb2c0014ed4438af5a92688327eef
920a89c94cb5a133c37d45688e182f009699da1f
/QRes/main/continuous_time_inference (Burgers)/Burgers.py
dd004bd46a2446515fd5527da9804da3495184bf
[ "MIT" ]
permissive
udemirezen/qres
d8a9d764d9b6ccde923be287044398db4bfd2d32
eeb9b0a449b6ac8cd55f4bb2d11ce1d3071d975d
refs/heads/master
2023-03-06T09:37:12.852005
2021-02-17T19:45:40
2021-02-17T19:45:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,368
py
""" @author: Maziar Raissi """ import sys sys.path.insert(0, '../../Utilities/') import tensorflow as tf import numpy as np import matplotlib.pyplot as plt import scipy.io from scipy.interpolate import griddata from pyDOE import lhs from plotting import newfig, savefig from mpl_toolkits.mplot3d import Axes3D import t...
[ "noreply@github.com" ]
udemirezen.noreply@github.com
ac6a434988cb3b6fd6ab6b0f68895d30c101c406
d9f14357a7f09dcb09c6a24a9e9cdb45254ecfe7
/friskby/__init__.py
a0b3a233e4b5716532c4a2c2091d7a249c10c586
[]
no_license
pgdr/python-friskby
727213a8163b4405724d9b2c183c5ed31f76f950
33962db0ad8336baa71e24dbff7da748dd5d9f10
refs/heads/master
2021-01-23T03:43:35.588479
2017-04-21T22:15:31
2017-04-21T22:15:31
86,116,215
0
0
null
2017-03-24T22:40:47
2017-03-24T22:40:46
null
UTF-8
Python
false
false
2,553
py
"""The friskby module. The _friskby_ module is a Python module for reading from external sensors (currently, only the `SDS011` sensor is supported), store measurements to a temporary database and post the measurements to a webserver. In the future we will add other sensors for temperature, relative humidity, barometr...
[ "PGDR@statoil.com" ]
PGDR@statoil.com
404653f6a2fb686bb9b4064178804bae80845a0b
d201c70e0b094ee9e1c035b089f6d2f4cc003f4b
/algorithm_simulation/01-plot-length-optimal-bit.py
966f027d3980f2b5e26741a3a94f7b935ea12e79
[]
no_license
dangsj123456/simulations
f40cacd355ad13668b276861fbd7927be8d015de
f071fe399a269c17aee28c1d68e736466863f374
refs/heads/master
2022-04-03T11:48:41.220431
2020-02-12T14:41:44
2020-02-12T14:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,292
py
# Copyright (c) 2015, Malte Schwarzkopf # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and...
[ "haorany@kth.se" ]
haorany@kth.se
2adc3290b0636bfc307eb640585ba7eb808a7f36
05d076fb95e048082732e0b16b2047ae1b394e6a
/church/migrations/0006_comment_responses.py
4b718c4daa122321e80255309c1bf47a7d200dff
[]
no_license
wanderemah/lizzy
86f46080847042dcdb0069eff195c63f85a30bd6
f40f3213e902aea2dd3376e8e1a0cb64ed16662d
refs/heads/master
2020-04-09T05:25:02.856731
2018-12-02T16:51:57
2018-12-02T16:51:57
160,063,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# Generated by Django 2.1 on 2018-08-11 04:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('church', '0005_video'), ] operations = [ migrations.CreateModel( name='Comment', fiel...
[ "wanderemah@gmail.com" ]
wanderemah@gmail.com
141d834f0dac790c181757c76b4db31a2ce4202e
f063768db23504e214eb0fdc73156f24d2b7abc4
/sorting/count-sort/count_sort.py
9c16de551f15378a850be48f5fc66b1472679781
[]
no_license
raghavsaboo/algorithms
616b8074ffe5ad00a3e2f06e9e666e517bf16184
5e9a5010c52d8c0c94ac9b6e06e9ab8a41a8e84a
refs/heads/master
2023-02-21T15:48:11.619848
2021-01-20T10:49:36
2021-01-20T10:49:36
274,221,509
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
def count_sort(arr): k = max(arr) output = [0 for _ in range(0,len(arr))] count_array = [0 for _ in range(0,k+1)] for i in range(0, len(arr)): count_array[arr[i]] += 1 for i in range(1, k + 1): count_array[i] += count_array[i-1] for i in reversed(range(0, len(arr))): o...
[ "saboo.raghav@gmail.com" ]
saboo.raghav@gmail.com
007ee5b8228f8de322122564f9f44722684aa6cf
87a9706379670da62739b3c1fbbdd75edb5107b8
/Django/django_celery_test/django_celery_test/celeryconfig.py
cda60c880a754a04fa66f089f2be5f3d6b7e1eed
[]
no_license
zxbzxb180/python_work
ba21ab74f842e0d560a8bb192bb8a874d356b9e1
6406024e011aa06d1bda78d97cfecc47f7f2058c
refs/heads/master
2022-12-12T23:53:36.887963
2020-03-04T07:20:29
2020-03-04T07:20:29
194,494,744
0
0
null
2022-11-22T03:54:47
2019-06-30T08:48:44
Python
UTF-8
Python
false
false
854
py
import djcelery djcelery.setup_loader() BROKER_BACKEND = 'redis' BROKER_URL = 'redis://:6222580@localhost:6379/1' CELERY_RESULT_BACKEND = 'redis://:6222580@localhost:6379/2' CELERY_QUEUES = { 'beat_tasks': { 'exchange': 'beat_tasks', 'exchange_type': 'direct', 'binding_key': 'beat_tasks' ...
[ "616529325@qq.com" ]
616529325@qq.com
9d7583c7323addf3ab2d996bdee7b43f98b3cd44
5206c5cb92493524bb961f74cf8c4ed9f175256c
/excel/book.py
ee85b6c767b2b5051baa3b53dc3067ba025d3e2e
[ "MIT" ]
permissive
cicicici/hopper
269dea6f5770faf4bb4d63171e50b5d0d8bd3547
d0ed0307c50ab56631960b4488c43a2d098d6bb4
refs/heads/master
2021-06-26T23:33:15.819383
2020-05-30T22:04:15
2020-11-15T04:27:29
181,275,748
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import datetime from copy import copy, deepcopy from openpyxl import load_workbook from ..util.opt import Opt from ..util.fs import file_exist from ..debug import log, dump from .sheet i...
[ "cicicici@gmail.com" ]
cicicici@gmail.com
f5baeac0738dfa8508464ce5bcfa5f41ca97435b
4d343b7e92a44b8c8eb3e3afeeeb0e1a7a699869
/ch4-practice/books/models.py
feed0423f49f8baba32c13a55d88e9fa25a7ef57
[]
no_license
dev-iwin/book4-Django-redbook
dfca5395ae68df7536a9e7b64b73b582608b6eaa
64e0b260b50bae8bd35b918eb341725c3c3373b4
refs/heads/master
2023-03-07T05:12:26.990807
2021-02-20T21:15:12
2021-02-20T21:15:12
335,654,957
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from django.db import models # ์˜ˆ์ œ 4-26์„ ์œ„ํ•œ ๋ชจ๋ธ (ํ˜ผ์ž ๋งŒ๋“ค์–ด ๋ด„) ========================== class Book(models.Model): book_name = models.CharField(max_length=300) pub_date = models.DateTimeField('publication_date') def __str__(self): return self.book_name # ===============================================...
[ "iwinoriwin@gmail.com" ]
iwinoriwin@gmail.com
1cdbe0eee6a24955bbe72e9528b58437571dd39b
af0b56556b747233d9085eb51991806017e2a5eb
/cardpay/model/payment_response_customer.py
ba914e59a971e9191cee9c6f161144ad9508c0f5
[ "MIT" ]
permissive
whereisthebabki/python-sdk-v3
ab39809f911e80873550c44156882c8680cb6e96
b756cd0761fc23cb095db4801baee53c00de9241
refs/heads/master
2020-06-22T01:02:44.377584
2019-07-18T13:30:26
2019-07-18T13:30:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,414
py
# coding: utf-8 """ CardPay REST API Welcome to the CardPay REST API. The CardPay API uses HTTP verbs and a REST resources endpoint structure (see more info about REST). Request and response payloads are formatted as JSON. Merchant uses API to create payments, refunds, payouts or recurrings, check or update t...
[ "rnd@cardpay.com" ]
rnd@cardpay.com
4f21b4b3a8ca36eeeaf81c234a6043a8e8b14977
f833f28c013e05ddf0266ee295d765f7f8013cb5
/features/bert_similarity_between_engaged_tweet_and_engaging_surfacing_tweet_vectors_feature.py
485dec2aba582071ab4b778532b7dd6dc617e9ff
[ "Apache-2.0" ]
permissive
yifanzhu314/recsys2020-challenge
e94aa68e44d1b4f01a9bce748f991b8aae4ed7f3
d9967860cc4767380d28d2ed7af00d467cc6941a
refs/heads/master
2022-12-27T04:37:13.424485
2020-06-23T01:05:00
2020-06-23T01:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
74,601
py
from typing import List, Tuple from google.cloud import bigquery, bigquery_storage_v1beta1 import pandas as pd from base import BaseFeature, reduce_mem_usage class BertSimilarityBetweenTweetAndEngagingSurfacingTweetVectorsFeature(BaseFeature): # ไฝฟใ‚ใชใ„ def import_columns(self) -> List[str]: ... de...
[ "agatan039@gmail.com" ]
agatan039@gmail.com
76410cb5b1f1e1be3f5cc6c8e1e19127295abdaa
e5f9471907c45c17ae8dd785daed328984683a63
/SecureVision_LPR/lpr_backend/lpr_backend/asgi.py
1366431453f851eff42cd4357ae8feb498e0f51d
[]
no_license
aleclawlor/SecureVision
c74d4850dc6655bde193529f035ec8282fb74bac
8b9cda9152f540d037380b47d0dfe9da737e77c0
refs/heads/master
2022-12-01T13:59:11.987216
2020-08-23T23:53:14
2020-08-23T23:53:14
288,057,614
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for lpr_backend project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "lawlorab@bc.edu" ]
lawlorab@bc.edu
c67e108295a0391eecf4709031367b101c0ffd35
416b166fefb63ca50f1895cfb0abac3b773727f9
/scripts/discharge
a8fc249fbbfaa615d8c64e7b5c9a5a8fd78a43b5
[ "BSD-2-Clause" ]
permissive
RichardOfWard/discharge
8f88ea847e437d8b5f244c4e1b00018988e248e4
5e3e541a6afcee51e32e3bc39176ca08d6d3b25c
refs/heads/master
2021-01-01T05:47:54.145334
2013-11-26T00:04:13
2013-11-26T00:04:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
#!/usr/bin/env python from discharge.cmd import do_cmd if __name__ == '__main__': do_cmd()
[ "richard@richard.ward.name" ]
richard@richard.ward.name
be1ff21d8d3789702fd02aa6333e49ef6cfe5047
cddfa750235344aa5e04244ce5c36871d3c6465b
/mayan/apps/document_states/links.py
f2d41f7e5898b86968e418d4195fb20c1560a36b
[ "Apache-2.0" ]
permissive
Lomascolo/mayan-edms
76e0fdcad98605838df6737d109c95d67d9ebba5
f7f0d27a059b1e010b9bbcdf371b9867f6fcfa45
refs/heads/master
2021-01-24T08:30:07.480929
2017-05-30T06:01:31
2017-05-30T06:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,176
py
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Link from .permissions import ( permission_workflow_create, permission_workflow_delete, permission_workflow_edit, permission_workflow_tools, permission_workflow_view, ) link_document_wo...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
3e5a3a1740c2c325383ba062154ff72b2ae80803
c64f42286006cb0990cf002b07170b7b34773d6b
/ProTow/ProTow/settings.py
42b6b83f3988641676084abcfa4f687b7de7d899
[]
no_license
tlawren3/djangoclass
5c489d0240021e22f2545ee85a374f82d818e657
65df31ccbc6e17ca14eb2697bda573c17aeaaac8
refs/heads/master
2020-04-08T21:13:21.087924
2018-11-29T22:26:34
2018-11-29T22:26:34
159,735,266
0
0
null
null
null
null
UTF-8
Python
false
false
3,101
py
""" Django settings for ProTow project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
[ "tlawren3@icloud.com" ]
tlawren3@icloud.com
50d70002d14f44ce996fd1dec2943ab53285f034
b028f2e9c8dcb5de62fa2c8e9dc3f3f534da3a85
/player.py
500a40e397907bee1632db737958868936e1c682
[]
no_license
iantype/espn-api-v3
afde0c0ea25126796fafb796e35d5e0abb1c45f4
ab1137a66c3de201d283e2f4ce28923ab2c717eb
refs/heads/master
2020-07-29T17:41:06.510089
2019-09-20T03:22:24
2019-09-20T03:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
class Player(): """ playerData = matchupData['schedule'][matchupNum]['home' or 'away']['rosterForCurrentScoringPeriod']['entries'][playerIndex] """ def __init__(self, playerData): self.id = playerData['playerId'] self.positionId = playerData['lineupSlotId'] self.acq...
[ "44902815+DesiPilla@users.noreply.github.com" ]
44902815+DesiPilla@users.noreply.github.com
735034f13fef965422c11192f4e7e6f58e6ca739
d11d1dcf1e70e816edecac6745f5563e2cea8cfd
/mysite/venv/Scripts/pip-script.py
0cf0153d6237ab15a1a2c03dc8c1bac6bd2b90a2
[]
no_license
Saipraneeth1001/mydjango
8372fdc18748d6191a3d661d0bb77ee049e4e7c6
5fd7ff3bcc2229f816befc9cf29dcfa320098ff8
refs/heads/master
2020-03-20T08:32:17.231440
2018-06-21T07:12:39
2018-06-21T07:12:39
137,311,529
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
#!C:\Users\saipr\Desktop\mysite\venv\Scripts\python.exe # 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]) sy...
[ "saipraneeth0448@gmail.com" ]
saipraneeth0448@gmail.com
a6066f6913650d57e3ddb4301debeef629944d3d
e97fb7903336837edb6bb3db16ea48512128076e
/22. Database/2. Parameterized/24. RetrieveMultipleRowWhereClauseUserInputDict.py
c2ab4af145f726d2a9c6710e5f457dcc12b68740
[]
no_license
satyambhatt5/Advance_Python_code
4081bdb1e80f05161c07f416ebade3907e83f0fd
58746540285f253699b73aeebd3975911a310deb
refs/heads/master
2023-05-22T20:10:54.271672
2021-06-16T08:55:16
2021-06-16T08:55:16
377,386,448
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# Retrieve Multiple Rows WHERE clause - User Input - Dict import mysql.connector try: conn= mysql.connector.connect( user='root', password='geek', host='localhost', database='pdb', port=3306 ) if (conn.is_connected()): print('Connected') except: print('Unable to Connect') sql = 'SELECT * FROM stude...
[ "bhattsatyam793@gmail.com" ]
bhattsatyam793@gmail.com
cf199d07482ca7cf6bc69826181f3bf06463faca
915ec21b9edc7fb860e4c5251daa844e3f17ba29
/blog/migrations/0001_initial.py
42a56d9cd2bdd1638b2a3a2148203f71c7b3e6a9
[]
no_license
ip0000h/django_blog_test
3b389d8caa13ef64f9b27d9f32d17cea8c9f3ea0
9e801f04fbf0374c337bf4f0a8e5d8e0355a556f
refs/heads/master
2020-05-09T11:21:14.445402
2019-04-15T08:55:53
2019-04-15T08:55:53
181,076,666
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
# Generated by Django 2.2 on 2019-04-13 19:07 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), ] opera...
[ "ip0000h@gmail.com" ]
ip0000h@gmail.com
8944bf53f63bed3d9af9f46ea6448ceb52c8803e
2c359d4e3a387040116cb983950605b4ee22d1f7
/program/minh.py
ec4db9a48f4e8900b0c94f5acc171b07b34e69e2
[]
no_license
VenkatProjects/Python
cd25adcadfcb2a3d3cd0263a68e7d9489c630741
652fd8f48c4ab5b494694c16e037daf4aa05d99b
refs/heads/master
2023-02-03T22:40:25.915725
2023-01-27T06:37:50
2023-01-27T06:37:50
281,453,077
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
class Person: def __init__(self, name): self.name = name def sayName(self): print("My name is : {}".format(self.name)) class Engineer(Person): def __init__(self, name): super().__init__(name) self.profession = "Engineer" def sayProfession(self): print(self....
[ "esan1610@gmail.com" ]
esan1610@gmail.com
18afaf532409eba6920a708a12e22b280b6724d2
8ccc597e43ef943a8557ab76128832d01a7fcdfa
/data_fetcher/manager_operation.py
ced834e2bfac1faa3112fb6d5f0ce204f035006f
[ "MIT" ]
permissive
stevensshi/smart-realestate
bd6d43a47e0a22f7d271f655d473c949f285ab15
f00671a5ec9590b9f5b74595c3599317a722370e
refs/heads/master
2021-05-01T08:02:51.027912
2016-12-31T07:36:06
2016-12-31T07:36:08
73,804,999
4
1
null
2016-12-19T10:52:25
2016-11-15T10:57:32
CSS
UTF-8
Python
false
false
157
py
import logging import threading logging.basicConfig(level=logging.DEBUG,format='(%(threadName)-10s) % (message)s') for t in threading.enumerate():
[ "steven_s_shi@hotmail.com" ]
steven_s_shi@hotmail.com
f1cea55677410e3239fb9b79ba0d8b8c3a11d14c
190bd588ba4a5c69db4cb10382553e4ba013b301
/ncl/causalconnector.py
46e160ccde0311e545657ef0f59693833e4f8954
[ "MIT" ]
permissive
MichaelBittencourt/NCL-Generator-API
56bf7a480c4466b9e764bfe887ee196054c281eb
8eecf2ea4948354fae9f64b68da2f24ad0663d60
refs/heads/master
2020-12-04T16:56:42.201088
2020-01-25T03:45:00
2020-01-25T02:06:06
231,844,836
1
1
MIT
2020-01-25T02:06:08
2020-01-04T23:54:08
Python
UTF-8
Python
false
false
1,287
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright ยฉ 2019 Michael Bittencourt <mchl.bittencourt@gmail.com> # # Distributed under terms of the MIT license. """ """ from ncl.abstractelement import AbstractElement from ncl.condition import Condition from ncl.action import Action from ncl.conne...
[ "mchl.bittencourt@gmail.com" ]
mchl.bittencourt@gmail.com
8ea574857fbefb741c89a4bd87a9dd7d8dca56e0
0ff6198179fda1763acba69ff414c32e0f537233
/papers/admin.py
a402aa0c0c52c85351602ea2b3aef87fbfe288fe
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jc11am/Lab-Website
2a4d03f98f0502a2f77dacbbcd6db6714823cdab
111e837c957e5c73022de366985aaa6e3b3d014c
refs/heads/master
2021-05-16T22:54:04.790528
2016-09-10T19:28:37
2016-09-10T19:28:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
'''This package sets up the admin interface for the :mod:`papers` app.''' from django.contrib import admin from papers.models import Publication, AuthorDetails, AuthorContributions class PublicationAdmin(admin.ModelAdmin): '''The :class:`~papers.models.Publication` model admin is the default.''' pass admin.s...
[ "dave.bridges@gmail.com" ]
dave.bridges@gmail.com
75553f4f93558a9c446c561ab0cac78bb68102c8
b232ab24686a197a88973f26478157d05c71a930
/03. ํŒŒ์ด์ฌ ๋ฌธ์ž์—ด/049.py
a0ff28c7508d71fb92da6f742be5fdf32d09267d
[]
no_license
areum0505/python300
09a3ea858bb728b6e2f699a57f013457680ab1d8
e3b56bd653390172410b86e15c40f34ef3125787
refs/heads/master
2023-01-06T04:53:44.937116
2020-10-22T23:44:36
2020-10-22T23:44:36
288,321,068
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋‚ ์งœ๋ฅผ ํ‘œํ˜„ํ•˜๋Š” ๋ฌธ์ž์—ด์ด ์žˆ์„ ๋•Œ ์—ฐ๋„, ์›”, ์ผ๋กœ ๋‚˜๋ˆ ๋ณด์„ธ์š”. date = "2020-05-01" date.split("-")
[ "noreply@github.com" ]
areum0505.noreply@github.com