blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
52b87492ba8f90766eeea4b0072e15fbc110602c
c4882f5d6ff1555cde7ed7fd3e173e80040f20ad
/yapo_valdivia.py
c4be28d1b5641a19d86388d5d54e76d8beecb9b0
[]
no_license
GMA950/CasoDeEstudioYapoBocca
990080b40a633d3133ba837fc70c35f218d876c9
a03f7d2a490493a8b22946f1483f735affc7be79
refs/heads/master
2022-12-04T06:45:40.287001
2020-08-30T05:51:48
2020-08-30T05:51:48
291,407,949
1
0
null
null
null
null
UTF-8
Python
false
false
4,276
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Aug 18 17:00:00 2018 """ from urllib.request import urlopen as uReq from bs4 import BeautifulSoup as soup import pandas as pd import xlsxwriter import urllib.request from selenium import webdriver import time profile = pd.DataFrame(columns=['Link', 'Ti...
[ "francobocca.97@gmail.com" ]
francobocca.97@gmail.com
8a16b83756f3b6f2cc7e3bf1f7c8a50c5bc43058
f171072a6390997ea4cf398f32ff3c7b7680af3a
/bumerang/apps/video/albums/migrations/0005_auto__add_field_videoalbum_created.py
598fadaa544415799e09f3de533bda105c00bcce
[]
no_license
onewaterdrop/bumerang
f1ab153d033072c49de2edb976fa761bd4293bba
0466c8b37ad1073d7ba4fc4dc00a5c6debb343a7
refs/heads/master
2021-01-15T23:41:23.379010
2014-06-23T07:57:48
2014-06-23T07:57:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,622
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'VideoAlbum.created' db.add_column('albums_videoalbum', 'created', self...
[ "va.bolshakov@gmail.com" ]
va.bolshakov@gmail.com
6ec673beb0c506a5c90bb8c68908c0c73c13587c
3a74ac2e7db63069945e5bc620342b4b89b8b201
/python/dgl/distributed/rpc_server.py
ad47de7104c4d92fc64b87b7cdc82f26fefd6a38
[ "Apache-2.0" ]
permissive
vishalbelsare/dgl
5d17ba82f720d742e1274c5d48dac64eca234504
512a80b00d2cd35607a542eb5544fa1f1c93a6f6
refs/heads/master
2023-08-17T15:09:55.082014
2022-01-22T04:25:14
2022-01-22T04:25:14
167,955,673
0
0
Apache-2.0
2022-01-23T13:57:57
2019-01-28T12:05:37
Python
UTF-8
Python
false
false
4,476
py
"""Functions used by server.""" import time from . import rpc from .constants import MAX_QUEUE_SIZE def start_server(server_id, ip_config, num_servers, num_clients, server_state, \ max_queue_size=MAX_QUEUE_SIZE, net_type='socket'): """Start DGL server, which will be shared with all the rpc services. This...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
e5c8432caea59848fec92f0f2a6de7d1d30703a9
11b58115f4ecd8e16e812da2c556ccb47a5cdd0c
/PYTHON/MRAC.py
f452a2c766cdf06fa0083725a6f6fdcdb1e5e802
[]
no_license
PrestonWang/AA203-Final-Project
45221c9d0789d1ac86f9ea02a7e08a1a3c19daf6
dc10740d8fdafe278d7fceb772e0482ddbcb3069
refs/heads/master
2022-10-20T10:08:24.577732
2020-06-12T06:44:47
2020-06-12T06:44:47
259,757,661
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
import boom import numpy as np boom = boom.boom(25,0.5, 0.1, .07) boom.eps = 1e-6 q0 = np.array([5.0, np.pi/2,0.0,0.0])# initial state params_estimate, P = boom.get_estimate(q0, np.array([10, 1.5/2, 0]))
[ "prestonwang95@gmail.com" ]
prestonwang95@gmail.com
9d6431f510ee39712539aa43d4d446d9be49cd10
50f85af9d7cb860b0b7d8cf3dd4fb3df9110b1b0
/paho_mqtt.py
52665ad63525f696cd58aab825b34226b18fcb34
[]
no_license
lijinxianglogo/python_multi
e63c39e3f90e404c2630460208acb4b65d1a428b
0d888d7cff85ffd3b1c612447a787bd1017a9b35
refs/heads/master
2021-06-07T17:48:58.644567
2021-06-04T03:28:05
2021-06-04T03:28:05
175,386,641
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# -*- coding: utf-8 -*- import paho.mqtt.client as mqtt # 定义一个mqtt客户端的类实体 client = mqtt.Client() # 通行账户和密码 client.username_pw_set('ehigh', 'Abc123') # 连接回调函数 def connect_callback(client, userdata, flags, rc): # print client, userdata, flags, rc client.subscribe('/EH100602/tx/#') def message_callback(client,...
[ "lijinxiang@everhigh.com.cn" ]
lijinxiang@everhigh.com.cn
41d74c532a58df6abc54c38bc1792a6a2b0a500b
51468f7f539ec6c0b421b62fd5ed2b99fb6aba6e
/DSblog/dsproject/__init__.py
a0c9978276e3489a038d55f3a22e019d740207d3
[]
no_license
Monsy-DS/blogDS
91740f554f2d4a7b8ff9c52b046430d4c34d4fb8
38d7261ae329cb251cbad730bdf1068348e5ffc0
refs/heads/main
2023-04-17T08:59:13.982493
2023-04-05T18:39:22
2023-04-05T18:39:22
331,106,923
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
from flask import Flask import os app = Flask(__name__) app.config['SECRET_KEY']='SECRET' app.static_folder = 'static' ##################################### ###### Blueprints registration ###### ##################################### #from slozka.podslozka.file import nazev_blueprint #app.register_blueprint(nazev_blue...
[ "noreply@github.com" ]
Monsy-DS.noreply@github.com
51d5cfa038f52b53a7268bc01fad5b2b06dbf3b3
5fc947320389121abe4e0052614b7a23e0cf8226
/pbcommand/schemas/__init__.py
5f238df1c931e425457d19691407723684f0979f
[]
no_license
tperelmuter/pbcommand
3e36c5d5a26bdb014e6986126148b946e8db9f3e
ebad4cf0504efa30fab64c4538022f77855d353d
refs/heads/master
2020-04-07T18:49:27.901173
2016-02-09T21:59:00
2016-02-09T21:59:00
51,413,965
0
0
null
2016-02-10T01:23:31
2016-02-10T01:23:31
null
UTF-8
Python
false
false
954
py
import os import functools import avro.schema from avro.io import validate SCHEMA_REGISTRY = {} __all__ = ['validate_pbreport', 'validate_tc', 'validate_rtc', 'SCHEMA_REGISTRY'] def _load_schema(idx, name): d = os.path.dirname(__file__) schema_path = os.path.join(d, name)...
[ "michael.kocher@me.com" ]
michael.kocher@me.com
a6b9dd390dc1e85b83a1d633966da434e5ea4071
d4072201c7820d9b18e86e77361a21bbc62deaea
/flowviz/migrations/0006_gislayer.py
201d135afbc5a21bcfa6a44878c6f417cbc3b130
[ "Apache-2.0" ]
permissive
eleanxr/watersharingdashboard
6741a056a9a6602a286671b44173b39fffd7f37e
d3e6bb2717e5e32a13dcf37f30271574a5d97666
refs/heads/master
2023-02-10T19:45:06.956049
2016-08-11T23:14:46
2016-08-11T23:14:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('flowviz', '0005_auto_20151207_1551'), ] operations = [ migrations.CreateModel( name='GISLayer', fiel...
[ "wdicharry@tnc.org" ]
wdicharry@tnc.org
13b72516be454ffcf0392b2cc7c088e9f1a73bd5
6854464ef0805c10ca73ba4c2220ce4f42ee4243
/auto_wjx_answer.py
d1717eddf9b28191f313084be037c26ec988952a
[]
no_license
tea321000/Auto-Wjx-Answer
dd9c64e612768236d69116d7bd06e5e8e082d9d7
cf2ec6a49cc87b94453ad0092d779bab911d62e3
refs/heads/master
2021-01-02T19:09:17.086168
2020-02-08T14:20:50
2020-02-08T14:20:50
239,758,674
1
0
null
null
null
null
UTF-8
Python
false
false
2,492
py
# coding: utf-8 # In[1]: # get_ipython().system('pip install selenium') # In[2]: import argparse from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import random import ...
[ "2633129202@qq.com" ]
2633129202@qq.com
528ec917b2ccb9f8c90d803158dacddb1211387a
8575cabe675076d8ab87d5470901878d5e8b2690
/app.py
cd3baa9647061914a303fb8246dafda0b100ef13
[]
no_license
haxmanster/Flask_admin_DevOps
00a5371297812636180721b495b8751472ffa130
da7e62319f3efb08c258937bd1a99c3f3938f9df
refs/heads/master
2020-03-27T18:05:15.167587
2018-08-31T13:42:04
2018-08-31T13:42:04
146,897,198
0
0
null
null
null
null
UTF-8
Python
false
false
6,652
py
import os import os.path as op from flask import Flask, url_for, redirect, render_template, request from flask_sqlalchemy import SQLAlchemy from wtforms import form, fields, validators import flask_admin as admin import flask_login as login from flask_admin.contrib import sqla from flask_admin import helpers, expose fr...
[ "thuy05061986@gmail.com" ]
thuy05061986@gmail.com
8f7d2e670202fe46834fd31c9e7eaf218bed9b04
ca3d6e6683f4736792fc93352424c6e6d216ab4d
/chapter9/chapter9_app_external_api_test.py
ccdbb3f2d629abb50083ae1be6495e4b66566be2
[ "MIT" ]
permissive
msg4rajesh/Building-Data-Science-Applications-with-FastAPI
11ac071583002b15bc955fc3bc72ab86d2800222
99b472d8295a57c5a74a63d8184ac053dc4012f2
refs/heads/main
2023-07-16T09:48:48.536002
2021-08-26T05:02:39
2021-08-26T05:02:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
import asyncio from typing import Any, Dict import httpx import pytest from asgi_lifespan import LifespanManager from fastapi import status from chapter9.chapter9_app_external_api import app, external_api class MockExternalAPI: mock_data = { "data": [ { "employee_age": 61, ...
[ "fvoron@gmail.com" ]
fvoron@gmail.com
7b0dbc63cff82f92ee55451cbdba8607fbeb356c
65a784ef70fce0502a5711201639be5e80908d5b
/exp/tester/run.py
fb0c9b03cf114398651c833a1ccecdfe38561fe7
[]
no_license
yunshengb/research
5a93d6b3bc9e60fec152d817a17e9d4864ffdbd5
83e726678acaaf7116af5573a8419dc91a843df0
refs/heads/master
2020-09-11T01:24:28.235871
2016-12-05T05:51:33
2016-12-05T05:51:33
67,900,433
3
0
null
null
null
null
UTF-8
Python
false
false
714
py
from config import * from os import system from glob import glob import pandas as pd cmd = '' if APP_TYPE == 'qa': data = pd.read_csv(FILE_PATH) for line in data[FIELD_NAME]: cmd += 'tq\n' cmd += line.replace('"', '').strip() cmd += '\n' elif APP_TYPE == 'asr': files = glob(DIR_PATH + '/*.wav') for...
[ "yba@umich.edu" ]
yba@umich.edu
9f7c8499aee2d5981eb0633c90622742aea200a1
4b62774fb7958d8917ff0eca29b105c160aa3408
/pi3ddemos/Jukebox.py
c978dd3b5bb72aa469313994743424357a5c8e92
[ "MIT" ]
permissive
talhaibnaziz/projects
1dd6e43c281d45ea29ee42ad93dd7faa9c845bbd
95a5a05a938bc06a65a74f7b7b75478694e175db
refs/heads/master
2022-01-21T08:00:37.636644
2021-12-30T01:58:34
2021-12-30T01:58:34
94,550,719
0
0
null
2021-12-26T02:01:24
2017-06-16T14:16:24
Java
UTF-8
Python
false
false
4,318
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function, unicode_literals """ Music and animation with changing images. Needs some mp3 files in the music subdirectory and mpg321 installed. You may need to do some tweaking with the alsa configuration. On jessie I had to edit a line in ...
[ "talhaibnaziz6343@gmail.com" ]
talhaibnaziz6343@gmail.com
3438306ad8e8827a648efd0fd5e6720bccebc58f
80eef13ae9bcf5116c0b40ff2c6eef5655b8ebd5
/sharingCode/metaclass/metaclass_login.py
ba778eaaafae527c22106108b5cb97242cdb5899
[]
no_license
shmily-xiao/python_study
8c53ff4c8f4bf7cd4990a7dc08a65adb300e7683
5bd1f7cf0e11345e18938b8c4439cca578e7d7d6
refs/heads/master
2021-01-24T07:55:03.872890
2019-03-20T13:04:38
2019-03-20T13:04:38
93,362,951
1
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from types import FunctionType # 登录装饰器 def login_required(func): print 'login check logic here' def wrapper(*args, **kwargs): print ("i get you", args, kwargs) # 拿到这些值之后就可以去处理了return func(*args, **kwargs) return func(*args, **kwargs) re...
[ "wangzaijun1234@126.com" ]
wangzaijun1234@126.com
ff7e5353de2674b363d6503c65205bd258975026
dfff7fef4d49266db475856d4c0afef8ca672e00
/tests/cantfit.py
54f692c8b57158768e4561a4098cae020b3eafbe
[ "MIT" ]
permissive
funilrys/black
70a5a251338ab67fed0771ab6ec97cca03aa378b
b4cee97c99d5513ef81fdf2bff1809721662f87d
refs/heads/master
2020-03-17T14:41:13.259870
2018-05-16T05:15:28
2018-05-16T05:15:28
133,682,656
1
0
null
2018-05-16T14:57:35
2018-05-16T14:57:35
null
UTF-8
Python
false
false
2,983
py
# long variable name this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = 0 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = 1 # with a comment this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = [ 1, 2, 3...
[ "lukasz@langa.pl" ]
lukasz@langa.pl
ff96d11ffbd2b28520d2005e0854bde218bbd134
2dc38cc5ebade80e3b59c4d802271c4edff114e2
/pyBattleship.py
7cee55623a5f32b72912eff42963feba1522d80a
[ "Apache-2.0" ]
permissive
awhittle3/pyBattleship
60db294e3ef807d2eaab6575f0e4bd43a12f9457
be3b779654e68d355344258a334fcd0bc303d223
refs/heads/master
2020-05-20T11:11:01.968796
2014-05-30T23:13:16
2014-05-30T23:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
import boards import enemyAI import playAnchors def main(): enemyDead = False playerDead = False targetingMode = False target = [99,99] #99, 99 is the null target value turn = 1 n = boards.selectRand() #Select two random boards enemyBoard = boards.makeEnemyBoard() enemyLocations...
[ "awhittle@ualberta.ca" ]
awhittle@ualberta.ca
368438d6bd6eb2e764a63f7c2983f6a8380944e8
80775c192c7084171a0371b0fe14330b8cd89f0f
/stickerizer/emojis.py
7070fbc525378011ade618d9b44d039bdcc88f9a
[ "MIT" ]
permissive
vanyakosmos/face2sticker
5435ddbbc123c782a6501a78f6142e1ce88f9bc7
7b82eb12dd3e4c54c5033caee77f57b751f637b8
refs/heads/master
2021-09-13T07:40:51.156215
2018-04-26T17:16:24
2018-04-26T17:16:24
105,321,918
3
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
import numpy as np from emotion_clf.emotion import load_clf, vectorize, emotions clf = load_clf('emotion_clf/clf2.pkl') def associate_emojis(face_landmarks): emotions_probs = predict_probabilities(face_landmarks) emoji = map_emoji(emotions_probs) return emoji def predict_probabilities(face_landmarks:...
[ "bachynin.i@gmail.com" ]
bachynin.i@gmail.com
a89b72dfd3f638a33e4b454b8f2ae58e5cd9155c
ae7b27c5bfabad681f8838b8268cdddb6048cd65
/Src/correct.py
5f71bca8b53882c53e93ee7feaf10ae8b48f566e
[]
no_license
Our-NLP/ChinesePronounse
f09fd4433a30662e14fedca8c8f6191b53384db5
7f513bdce47eff7a0e542d7dad030daf310d826e
refs/heads/master
2021-01-10T16:00:05.077703
2015-12-11T08:38:52
2015-12-11T08:38:52
43,517,881
4
0
null
null
null
null
UTF-8
Python
false
false
985
py
# -*- coding: utf-8 -*- import os class Correct: def __init__(self): self.data_dir=os.path.realpath(os.path.dirname(os.path.realpath("__file__"))+"/../Data") self.meta_dir=self.data_dir+"/MetaData/" self.output_dir=self.data_dir+"/new_Data/" self.postaged_dir=self.data_dir+"/postaged...
[ "ljfnwpusife@gmail.com" ]
ljfnwpusife@gmail.com
012c3371720c7a822dba4444f606fbcdffb1a5ce
560a56dcd1292ad1733ebd72d9cf1398ed13fa8c
/responses/models.py
6c83f40d0f5041ad934d2688d41e94348afa8e4d
[]
no_license
reactionpowerorg/utils
655e0f3be256f84f17253ebd8d81cf851cd7ca49
c9ad36bf79171dd89d91910d81538eb4f4f63515
refs/heads/main
2023-04-17T07:35:25.683528
2021-05-07T06:41:11
2021-05-07T06:41:11
365,138,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
from django.contrib.auth.models import User from django.db import models # Create your models here. from django.db.models.signals import post_save from django.dispatch import receiver class Responses(models.Model): CHOICES = [('1', 1), ('2', 2), ('3', 3), ('4', 4), ...
[ "77322089+Reactionpowerdev@users.noreply.github.com" ]
77322089+Reactionpowerdev@users.noreply.github.com
a602a6bd91d133db3c68be3c4b4d25e48dc8bb36
c02b68e0e1962cab85e9ab882080c68f594d764b
/src/unifide_backend/action/brand/__init__.py
382b99103ef9c0480ec78fe4dd017daeeb81b733
[]
no_license
nubela/unifide-backend
b892fab58193488560c852f784ee05f2b656df01
0be338be06380941b43601e29326b195e6bc8778
refs/heads/master
2021-01-10T20:23:00.291958
2013-10-16T15:56:06
2013-10-16T15:56:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
from unifide_backend.action.brand.action import *
[ "nubela@gmail.com" ]
nubela@gmail.com
6e8cba24b2548bcd9d286dde17fd656f2d2b9c88
a8b023b73a400e7a7c6bb0d156e011df87b0b0b4
/src/main/resources/ReadEDA.py
65a1142d3388b46e0824deb1a5113d676bc0e5e2
[]
no_license
makifcetinkaya/storm-simple
a5c998be004ea3ede2f05cd2f9b42a906d6f47e4
92f5098544a9de2365580cd9be0c98901289579a
refs/heads/master
2021-01-06T20:45:36.261344
2013-02-20T16:55:11
2013-02-20T16:55:11
6,944,128
0
1
null
null
null
null
UTF-8
Python
false
false
1,160
py
from edatoolkit import qLogFile import os, sys rpf = 5000 # read per file edafile = qLogFile(sys.argv[1]) eda = edafile.EDA() acc_x = edafile.ACC_X() acc_y = edafile.ACC_Y() acc_z = edafile.ACC_Z() temp = edafile.Temperature() # assume the lengths are the same num_reads = len(eda) num_files = num_reads/read_per_file...
[ "makif@mit.edu" ]
makif@mit.edu
73d632b8868d43e2ed4fc736ba9368f1e9914594
a16999aa79d39b1f6a1b9997cf7e2c8347a9b9e3
/module.py
84f6cd567fa0495a03905521f45c7454560f4392
[]
no_license
song-ll/snippet
fa1d1b0a59c3b14bd5e744a4431e86cc4f7c0bf3
b07a5fcdb00f15ac9fe345a548eaf7255c75a8df
refs/heads/master
2021-07-14T03:50:41.278098
2017-10-19T23:05:56
2017-10-19T23:05:56
107,595,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
# -*- coding: utf-8 -*- # @Author: Song # @Date: 2017-06-24 16:21:15 # @Last Modified by: Song # @Last Modified time: 2017-07-09 02:59:59 import os from datetime import datetime #print (dir(os)) print("current working directory:") print (os.getcwd()) print("changed working directory:") os.chdir ('C...
[ "noreply@github.com" ]
song-ll.noreply@github.com
ba555204a96171028853421c9e88db084f7bdb1e
cd5f75c051975e888cb86fea472b0108c747ba44
/singlepage2/singlepage2/settings.py
25c361d2e03441a6ebc0df3b84ef1423cb4f4499
[]
no_license
astafanous/User-Interfaces
68a53364c783f1a1d9e6a25a7d2c40b740f568f6
8ec84424394f14bf27228d02dda24944641557a4
refs/heads/master
2023-04-02T02:15:28.474982
2021-04-08T09:41:43
2021-04-08T09:41:43
348,271,531
0
0
null
null
null
null
UTF-8
Python
false
false
3,095
py
""" Django settings for singlepage2 project. Generated by 'django-admin startproject' using Django 3.1.7. 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/ """ from pat...
[ "astafanousf@yahoo.com" ]
astafanousf@yahoo.com
c44a67a3eaabc76d6e5635f62a79a69aa80faa77
e5a511e346f5be8a82fe9cb2edf457aa7e82859c
/PythonNEW/Practice/StringRemoveExistingIdentitaion.py
f66992651f064d1098bc0a3e95b04ea1ee0ff896
[]
no_license
nekapoor7/Python-and-Django
8397561c78e599abc8755887cbed39ebef8d27dc
8fa4d15f4fa964634ad6a89bd4d8588aa045e24f
refs/heads/master
2022-10-10T20:23:02.673600
2020-06-11T09:06:42
2020-06-11T09:06:42
257,163,996
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
""" Write a Python program to remove existing indentation from all of the lines in a given text.""" import textwrap sample_text = ''' Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Its design philosophy emphasizes code readability, and its syntax allows prog...
[ "neha.kapoor070789@gmail.com" ]
neha.kapoor070789@gmail.com
89e026a18c52f389d46597ba589fee07cc32a352
d44d33899aaab3d2a8b693b648701d49810aca12
/cip5-multiprofile-wave.py
e001a331576902efdc7df62b78d3e40a59f81237
[]
no_license
izham-sugita/CIP
208eee2e108a910abd3a137083638244b8f60303
a0cd77531a34ad32a0cebeb6069123e89aceb0b5
refs/heads/master
2021-06-27T14:51:45.696969
2021-01-07T11:44:04
2021-01-07T11:44:04
204,810,048
0
1
null
null
null
null
UTF-8
Python
false
false
5,796
py
import numpy as np import matplotlib.pyplot as plt #Changing the default size #fig_size = plt.rcParams["figure.figsize"] #fig_size[0] = 20 #fig_size[1] = 16 #plt.rcParams["figure.figsize"] = fig_size imax = 2001 imax = int( input("Enter imax ") ) length = 2.0 #-1<=x<=1 dx = length/(imax-1) u = np.ndarray((imax),dtype...
[ "sugita5019@gmail.com" ]
sugita5019@gmail.com
35514cba717b052fe2dd9fe516d0221dc51e4212
19422d728737921856cada03941a7b802569b9e0
/src/extract_ngrams.py
2147944240d15ccba23a0c7e581de6b6f5e45e07
[]
no_license
eneskeles/re-comma
1d63ecad274788c258fffc91febc43a6a4ffbf70
a5c42fd6ed53687ec5bce6a29877afa575db794a
refs/heads/master
2020-04-19T13:41:14.015342
2019-01-29T20:41:03
2019-01-29T20:41:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
from modify_ngrams import modify_ngrams from nltk.corpus import stopwords from nltk import ngrams import os,re import string def get_words(base_path, filename): #print("inside get_words") a = set(get_ngrams(base_path, filename, 1)) return list(a) def get_ngram_lists(base_path, modified_movies, modificati...
[ "noreply@github.com" ]
eneskeles.noreply@github.com
cc175ac74f032d57d8641a106ebead8e8f7f8a10
7c9707f0f1cb8e633ac605934f3dbd8036790868
/projet/rpi_manager/migrations/0002_ph.py
71da2a49b682367bb47761ea2e6341addf2a5fc5
[]
no_license
ometeore/hydropo
891e1abd4c1b8ccd0a3b27a043abf894b70ceb5b
324076d4b7ddbd14e718c424eb24d129c2a2243c
refs/heads/master
2023-06-14T08:35:55.838469
2021-07-04T16:28:09
2021-07-04T16:28:09
290,198,666
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
# Generated by Django 3.1 on 2020-08-25 13:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("rpi_manager", "0001_initial"), ] operations = [ migrations.CreateModel( name="Ph", fi...
[ "pilt64@hotmail.fr" ]
pilt64@hotmail.fr
00b59084a85b1d55078321d160edd0d1e0677e4f
0b7333006b9aa8ebf2497880baee5a333e8b9ef0
/cnn/fer2013_to_file.py
241b5fb5c2eff8c76e21b7d1bfed7afeb82ddf36
[]
no_license
punkrocker/Deeplearning
3c6066bc9e437aab0a0601b3ccc1069162803536
2d64eadce77aaac5664371593e44b73cee40bad8
refs/heads/master
2020-06-28T05:06:17.206052
2019-10-22T01:52:50
2019-10-22T01:52:50
200,148,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
# encoding:utf-8 import pandas as pd import numpy as np import scipy.misc as sm import os emotions = { '0': 'anger', # 生气 '1': 'disgust', # 厌恶 '2': 'fear', # 恐惧 '3': 'happy', # 开心 '4': 'sad', # 伤心 '5': 'surprised', # 惊讶 '6': 'normal', # 中性 } # 创建文件夹 def createDir(dir): if os.pa...
[ "punkrock_2000@163.com" ]
punkrock_2000@163.com
c041a21f8b5aebe604b582047f90566ced7c2fec
31b716176ccece1e0530ae1129c5b2a535741051
/label_test.py
7e2fa52c3bade7ed9375e31f77b06a543b6e303f
[]
no_license
NicolasAcci/Machine-Learning
1ad3d9c930c2895b20ab8b68ef8b5d9ab3e6eb86
b801aea5960893db29f1794286faa599987a4588
refs/heads/master
2020-06-29T10:55:33.905301
2020-06-11T03:15:03
2020-06-11T03:15:03
200,515,747
0
0
null
null
null
null
UTF-8
Python
false
false
5,029
py
import argparse import json import os import os.path as osp import warnings import copy import cv2 import numpy as np import PIL.Image from skimage import io import yaml from labelme import utils NAME_LABEL_MAP = { '_background_': 0, "road": 1, "grass": 2, "building": 3, "car": 4, "person": 5, ...
[ "noreply@github.com" ]
NicolasAcci.noreply@github.com
7ef51710bf0d1477fb373d524df4209cae76669a
38c5417c67c323de11feb03d5b90bdaa28012c87
/open_canvas.py
9173d87a5c52fbd35bc7c913c974310ebf9ace85
[]
no_license
wongu0905/Class
c06145068fcc3951d211635ac3d7a25b62b9b64c
93c25edd91ed6cfefedf974230deb78ba9e59f10
refs/heads/master
2022-12-16T20:17:07.110361
2020-09-22T14:45:16
2020-09-22T14:45:16
294,040,364
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
import pico2d pico2d.open_canvas()
[ "noreply@github.com" ]
wongu0905.noreply@github.com
9393d21961b0043d35b932fd166c21ca22c72e0c
e456cdf76c1419413931d218317d44ea4b7c3fb7
/demo/django/pokedex/admin.py
fd91861f03cd25790e7dec41cc349aba98f35f27
[ "MIT" ]
permissive
Nekmo/angular-django
cbbd8bb0c6baeea6e788c5623fb98102b443f1e9
0464747806ce4e79571d3a72db0f04e15f0c6e5e
refs/heads/master
2023-08-27T16:03:10.006482
2021-11-08T23:15:14
2021-11-08T23:15:14
298,419,330
14
6
null
null
null
null
UTF-8
Python
false
false
169
py
from django.contrib import admin # Register your models here. from pokedex.models import Specie @admin.register(Specie) class SpecieAdmin(admin.ModelAdmin): pass
[ "contacto@nekmo.com" ]
contacto@nekmo.com
898a057527760f01aeb95b618322cf09388c1f42
02e23da0431623db86c8138bda350a1d526d4185
/Archivos Python Documentos/Graficas/.history/TRABAJO_SPT_v3_20200224230649.py
0fe0123926d8f3bed47ddd88db91bc709c442b12
[]
no_license
Jaamunozr/Archivos-python
d9996d3d10ff8429cd1b4c2b396016a3a5482889
1f0af9ba08f12ac27e111fcceed49bbcf3b39657
refs/heads/master
2022-08-05T14:49:45.178561
2022-07-13T13:44:39
2022-07-13T13:44:39
244,073,267
0
0
null
null
null
null
UTF-8
Python
false
false
5,848
py
import os import pylab as pl from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import numpy as np #------------------------------------------------------------------------------ os.system("clear") fig = pl.f...
[ "jaamunozr@gmail.com" ]
jaamunozr@gmail.com
f5f92d828ee62431a444c5e91a5c8221d3cfc4ba
429c3b272030641fd62652d052e21e7814fbe17e
/setup.py
8429a728e869b979f6dd953863f4168141d861d0
[ "MIT" ]
permissive
williamd1618/ksql-python
774911ad913557e39cd8ebd04e1c17a0c86686d4
42b6f684597716cdaf69b42caa718e2a32b36603
refs/heads/master
2020-03-11T04:04:17.039767
2018-01-15T07:03:21
2018-01-15T07:03:21
129,767,462
0
0
null
2018-04-16T15:43:02
2018-04-16T15:43:02
null
UTF-8
Python
false
false
1,508
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Setup module """ import os import re from setuptools import setup from pip.req import parse_requirements # Get version from __init__.py file VERSION = "0.3.0.2.22" here = os.path.dirname(__file__) # Get long description README = open(os.path.join(os.path.dirname(__f...
[ "kenshin2004528@gmail.com" ]
kenshin2004528@gmail.com
889cc8fe5b495309708d35c56ef72d7f8db8646e
5045030c79a0956415bfe57a55e01593fc310214
/blogproject/accounts/views.py
837c84f28df473174da34f2a244c328386499e71
[]
no_license
Werfit/WDjangoReactBlog
92b49b9bb74005c63a66badd969bbff8b886a81f
6447a69edfb3c7afcf1d94b14226976091deb5fd
refs/heads/master
2023-03-07T10:23:25.949406
2021-02-20T10:54:52
2021-02-20T10:54:52
340,630,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
from rest_framework import generics, permissions, status from rest_framework.response import Response from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist from knox.models import AuthToken from .serializers import * from .models import Profile class RegisterAPI(generics....
[ "werfit@Slaviks-MacBook-Pro.local" ]
werfit@Slaviks-MacBook-Pro.local
ee1b03e83ea540328e12e93a69490d8e49e7779a
8b8ef5fba1dfba0b8bd9fb3d724e69048bbc0f13
/models/student.py
8458b4855f8adc10b1a60d043175ec77eb4e7319
[]
no_license
zbaylin/BookWorm
5e66331870cfaac541aa157a3568cb4b6bddc49a
6eda4d7e8c5c4aff779dcfcab2eee7126a9cad99
refs/heads/master
2020-04-05T10:26:32.318741
2019-02-13T01:17:22
2019-02-13T01:17:22
156,798,739
1
0
null
null
null
null
UTF-8
Python
false
false
809
py
import json import util.dict class Student(): def __init__( self, firstname, lastname, email, grade, ID=None, password=None, num_issuances=0, ): self.firstname = firstname self.lastname = lastname self.email = email self.grade = grade self.id = ID self.passw...
[ "zbaylin@gmail.com" ]
zbaylin@gmail.com
f2ed1999ab2fe5b10597c440649a3b93645b82d3
c1e305171afcd18fdd66a46cbcf81d8dbcc3fd0c
/PyTorch/Py09_dropout.py
447dd6e594089cf2812c287b60aa6a968b1ae24c
[]
no_license
ANRhine/PyTorch_Tutorial
2f0d9fcc94dfec37a352b5dcb37fc66738abc37d
378d03d2f2cfa08ff2040096218078a2e3cd659a
refs/heads/master
2021-04-07T06:24:28.608860
2018-03-16T14:43:03
2018-03-16T14:43:03
125,291,327
1
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
#! /usr/bin/env python # -*- coding:utf-8 -*- """ ------------------------------------- File name: Py09_dropout.py Author: Ruonan Yu Date: 18-1-30 ------------------------------------- """ import torch import matplotlib.pyplot as plt from torch.autograd import Variable import torch.nn as nn t...
[ "you@example.com" ]
you@example.com
2edcd56053e680eecd41a98f819562aeef6b12f5
2b238627de066356b54503bf762ec6dfd6d26e9a
/BinarySearchTrees/KthLargestValueBST.py
de73ae5a609b561064528d9f98de1cd8e2ef71b7
[]
no_license
LKhushlani/leetcode
601e1efa8ae6dbfdd4c3b49710f82cf68b9fa54a
0a4643ca38224bd4cb4a101a6be3161f35979911
refs/heads/master
2023-04-28T08:17:38.286004
2023-04-20T02:13:52
2023-04-20T02:13:52
237,696,293
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
# This is an input class. Do not edit. class BST: def __init__(self, value, left=None, right=None): self.value = value self.left = left self.right = right class TreeNode: def __init__(self, noOfVisitedNodes, latestVisitedNode): self.noOfVisitedNodes = noOfVisitedNodes self.lates...
[ "lavinakhushlani@gmail.com" ]
lavinakhushlani@gmail.com
b847d5a37a190f795512d1c3a3ab13e6d4fcebb6
1472b262cb8a3032abcfb51cf3f2a9e094cfee70
/FirstPage.py
a58769afbbfd4bf983dcdabd4bd53afc1d67e8fb
[]
no_license
kusmakharpathak/system_admin_group
5413c80a550a2da78a899f3c37a8ffa261ec86d3
725cdaea6847db0946c5d819a5090feacdbebee5
refs/heads/main
2023-03-11T13:12:12.458059
2021-02-25T19:40:12
2021-02-25T19:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,962
py
from tkinter import * from tkinter.ttk import Combobox w = Tk() w.geometry("900x700") w['background']='#6EB69E' f1 = Frame(w,width = 100,height = 100,background = '#E0F1F0',highlightthickness = 3) f1.grid(row=0,column=0,ipadx = 10,ipady=10,padx=1,pady=1) admin = Label(f1,text="Admin",fg="black",bg='#E0F1F0', font=("...
[ "noreply@github.com" ]
kusmakharpathak.noreply@github.com
142bd6e7f8a71debb064f1499a40085ef6517cf7
524cf264b53a353217a0dd7127889db0ec735bec
/pytest/pytest_simplesecclient.py
78a82dc0430d53e86c31288580f35cc44fea395e
[]
no_license
ChengHsu/NetworkSecurity
575b993bc11f0ec781a13ff4a1374d7203cb863c
a9ba3ca32794bd55bf1058593aea33d7850850ff
refs/heads/master
2020-03-28T02:22:46.080800
2018-12-30T05:20:48
2018-12-30T05:20:48
147,566,361
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
import asyncio import time import sys import os def findfile_num(start, name): c = 0 for relpath, dirs, files in os.walk(start): for file in files: if file.startswith(name): c += 1 return c + 1 async def tcp_echo_client(plaintxt, loop): reader, writer = await async...
[ "chenghsu0224@gmail.com" ]
chenghsu0224@gmail.com
32ccc301818cba58bc8652cc445d8944ea3d305b
968df4b59df49396714d46d438057460ea8fea8b
/homeassistant/components/bond/utils.py
48fbcd8021083d9beb0c69824137731e8342644d
[ "Apache-2.0" ]
permissive
dakesson/core
a71660e265d0742db0d0842f01ac4f3ddf3e074c
c9380d4972e4ec41991eca6e2bc0e4df99b763e7
refs/heads/master
2022-11-24T02:14:56.167005
2020-07-22T15:45:03
2020-07-22T15:45:03
282,056,305
0
0
Apache-2.0
2020-07-23T21:12:02
2020-07-23T21:12:02
null
UTF-8
Python
false
false
2,824
py
"""Reusable utilities for the Bond component.""" from typing import List, Optional from bond import Actions, Bond class BondDevice: """Helper device class to hold ID and attributes together.""" def __init__(self, device_id: str, attrs: dict, props: dict): """Create a helper device from ID and attri...
[ "noreply@github.com" ]
dakesson.noreply@github.com
fcea52caf6cd8c18bd6aa88e38b67ee777906660
dedf3082c0026d52200361a34262c752c05a193b
/Hackerrank-Solutions/Hackerrank-Python-Solutions/Regex and Parsing/Regex Substitution.py
65949f65eea2f201a40ee97f5307fb0b3baa06f4
[ "MIT" ]
permissive
HetDaftary/Competitive-Coding-Solutions
0d31568ab5be7292d28883704f15e62a2496f637
a683fa11895410c6eef07b1a68054f3e90aa596b
refs/heads/main
2023-04-02T11:58:00.731977
2021-03-31T14:23:39
2021-03-31T14:23:39
351,979,119
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
# Enter your code here. Read input from STDIN. Print output to STDOUT import re N = int(input()) for i in range(N): print(re.sub(r'(?<= )(&&|\|\|)(?= )', lambda x: 'and' if x.group() == '&&' else 'or', input()))
[ "hetdaftary@gmail.com" ]
hetdaftary@gmail.com
6a28e7551bac14d5e50e838a962b64b49a7008ae
057722b227e9f51c78bd77b622859674016f19dc
/homework4/code/p7/trysvm.py
8783e7fd91174a983250421516e6938b0597d778
[]
no_license
walkerning/Homework-pattern_recognition
56508bc66d0932ad8c9899658d8229169d800551
843a79d1f4cc278839ade27a593ae66e603ac4ba
refs/heads/master
2021-03-19T15:30:55.581932
2017-05-31T15:51:22
2017-05-31T15:51:22
84,166,823
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
# -*- coding: utf-8 -*- import numpy as np from sklearn import svm samples_w1 = np.array([[-3.0, 0.5, 2.9, -0.1, -4.0, -1.3, -3.4, -4.1, -5.1, 1.9], [-2.9, 8.7, 2.1, 5.2, 2.2, 3.7, 6.2, 3.4, 1.6, 5.1]]).T samples_w2 = np.array([[-2.0, -8.9, -4.2, -8.5, -6.7, -0.5, -5.3, -8.7, -7.1, -8.0], ...
[ "foxdoraame@gmail.com" ]
foxdoraame@gmail.com
22d1c6a2d75f0cc23740d21dd8851259c7042728
8f5eb43f1331d08ffd7ba7617313f9b3823ab36e
/Profiling/src/instrumentation.py
bb3454feaaa722b662eced4914135c98dd112e67
[]
no_license
felipebetancur/WCET-1
d68ebcd50388116d001b0ca5a495d8b7e838224d
e148e4d564c6df5488a390de888bfb1b5fedab61
refs/heads/master
2021-01-22T13:53:00.787666
2015-03-13T14:27:25
2015-03-13T14:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,656
py
import udraw import config import vertices import random def remove_vertices(enhanced_cfg, to_remove): for v in to_remove: enhanced_cfg.remove_vertex(v) def relink_vertex_predecessors_to_successors(enhanced_cfg, v): for predID in v.predecessors.keys(): for succID in v.successors.keys(): ...
[ "a.betts@imperial.ac.uk" ]
a.betts@imperial.ac.uk
423824d04b9ff1a989d3a18f132c057b03f82f22
4554f8d3ab1a6267b17dad2b4d2c47b0abe8d746
/benchmarking/remote/devices.py
c7cacd80d2eb8e3a4eb17eebb98a6ac45237cf32
[ "Apache-2.0" ]
permissive
jteller/FAI-PEP
44fead3ca26f4844067d455c86ac8c5bfaf79a14
73b8a08815675135e9da7d68375d1218cbd04eaa
refs/heads/master
2020-04-29T06:04:19.197966
2019-03-15T23:32:54
2019-03-15T23:32:54
175,904,011
0
0
Apache-2.0
2019-03-15T23:30:04
2019-03-15T23:30:04
null
UTF-8
Python
false
false
2,484
py
#!/usr/bin/env python ############################################################################## # Copyright 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. ################################...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a58d31267abb259207c5a6ac44d0e161b10ae7b2
37da840bfc8e8299e6415a4816d6d6b72e1e1807
/fizika.py
bbed51ce22cd4641ad3bd3edee3325def85c4f1f
[]
no_license
stasextaz/chikibambminecraft
523e06d139a63b0cd5a222f0ab8ff298b37d18ba
7c23be155797993a3a1e1015d13996082a3d7577
refs/heads/master
2020-09-22T08:39:32.317675
2019-12-24T15:12:02
2019-12-24T15:12:02
225,124,392
1
0
null
null
null
null
UTF-8
Python
false
false
538
py
fizika = [2,3,2,2,3,3,3] fizika.count(2) def fizika1(): for i in range(fizika.count(2)): fizika.remove(2) for j in range(fizika.count(3)): i = fizika.index(3) fizika.pop(i) fizika.insert(i,4) for p i...
[ "noreply@github.com" ]
stasextaz.noreply@github.com
12187cdb11c155892257555af0a9c93d9dc2d100
b4b1459ecb0d9190b11e530ffc374153af5c349e
/filters.py
c4c0b7f9216ed70b0c1d2b591f456e8d5ab9c01c
[]
no_license
perintyler/nfl_tracker
77aaa9a1d22a358e664da68890a134d8e8005b8b
eb7020c19b42b33c3cbad23af5e2823158cba569
refs/heads/master
2020-08-01T07:13:04.259355
2019-11-11T21:24:43
2019-11-11T21:24:43
210,909,089
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
def toBlackAndWhite(img): avg = np.mean(img, axis=2) bw = np.zeros(img.shape) bw[np.where(avg>150)] = [255,255,255] return bw def getGreenChannel(img): green = img.copy() green[:,:,0] = 0 green[:,:,2] = 0 return green def getBrightChannel(img): return
[ "perintyler@gmail.com" ]
perintyler@gmail.com
2b733cc49a3d904c59a1710110ebf794cacf8a94
17de3571cfbd99b7541d15c55231575eb635260b
/txt2rpy.py
a2bdb80db9e5c7a1a3b43929297c77e8262793ae
[ "BSD-2-Clause" ]
permissive
sinsong/literal-script-compiler
f56f64afd8806552f08da4d72bca9e1f1f6e3eff
bc16e66581336d7e448461532490876a6ff2a865
refs/heads/master
2020-06-02T10:49:40.086612
2019-06-10T09:39:40
2019-06-10T09:39:40
191,131,678
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
import sys import re from core.row_file import row_file_open from core.lparser import lparse from core.llparser import llparse from core.parser import parse from core.codegen import codegen from core.context import Context # raw_content -> raw_line # raw_line -> logic_lines # logic_lines -> ir # ir -> code_gen def...
[ "literalkernel@outlook.com" ]
literalkernel@outlook.com
38319b02bd4e57cd29c0ab49c5da043995369dde
1cee2094b52f23172f262d4290011840066fcfc1
/cw/cw_proj/model_hyperparameters.py
a4c6efaa929655998fa365b62d7ab3d9597918bc
[]
no_license
VariableDeclared/uop-computer-vision
3210db7fd8797e0a94b807ee4449b73351b1ef0e
59c07b9b25bd020409b28f88bb4aa7b9a1e543ca
refs/heads/master
2020-03-30T14:01:43.298122
2019-05-07T08:17:48
2019-05-07T08:17:48
151,297,837
0
0
null
null
null
null
UTF-8
Python
false
false
8,380
py
from tensorflow.keras.layers import Dense, LSTM, Dropout import tensorflow as tf import pprint import os import datetime import main import numpy as np import cv2 as cv def modelv1(num_frames): model = tf.keras.Sequential() model.add(LSTM(100, input_shape=(num_frames, 1000))) model.add(Dropout(0.5)) mo...
[ "petedes@live.com" ]
petedes@live.com
9378b8553218a33230ad97549dba2ea78a1f7bf6
b8e0147172dd54e5f9c6b7f6ebd55d93155e029b
/server.py
a712fb527014e321da17b178823a68af35bb90c1
[]
no_license
thaiantt/Gdelt
5d8491438a5f54600caf8085f44ced1b969cb0c8
776f0352a15887f51849fbef7ef4e522d17cc47a
refs/heads/master
2021-05-11T02:52:21.500185
2018-01-23T07:33:50
2018-01-23T07:33:50
117,896,772
2
0
null
null
null
null
UTF-8
Python
false
false
3,019
py
# coding: utf-8 from twisted.web.static import File from twisted.web.server import Site from autobahn.twisted.websocket import WebSocketServerProtocol import json from functions_api import * from pymongo import MongoClient # API api = {'getAllHumanitarianEventsByRegionByYear': getAllHumanitarianEventsByRegionByYear, ...
[ "thaian.tt@gmail.com" ]
thaian.tt@gmail.com
2f60880d4c4c0a1f5c94b43bdaba7a41cacd7635
08123bd466ec99bc91db6ebdf5023b31ffce0862
/etl/etl.py
48432eef0f5bd21dd6b7548a0ac3be140cecf7f6
[]
no_license
lbedner/rose-of-eternity-legacy-reviews-etl
3d1a06ff57f05486f3a10dfb7261edfca77c4f24
1dbbe150ec8ca1377e8e347354331ff0f638392e
refs/heads/master
2023-04-28T18:42:57.068118
2021-05-01T03:33:44
2021-05-01T03:33:44
360,008,809
0
0
null
2021-05-01T03:33:44
2021-04-21T02:26:21
Python
UTF-8
Python
false
false
5,880
py
"""ETL for legacy Rose of Eternity reviews archived on wayback machine.""" import csv import datetime from dateutil import parser import logging import os from typing import Optional from urllib.parse import ParseResult, urlparse from bs4 import BeautifulSoup import psycopg2 import psycopg2.extras import requests fr...
[ "LeonardBedner@iheartmedia.com" ]
LeonardBedner@iheartmedia.com
f2212a99bb2cf06fa216bca71f657bb19d3a6cd2
553f801bea01707f30b39846d008759237cb826e
/Scripts/rename.py
54d2af317072927846a6ca9b0f1dc4622d1b2777
[ "MIT" ]
permissive
ChristopherStavros/General
55241e5823df2fc763a3103c3c2ade2fa833301d
7701fee0a2db8a8f4b2cfe80e57eb10ed86a89a8
refs/heads/master
2020-03-26T01:02:59.572695
2019-05-12T21:37:17
2019-05-12T21:37:17
144,349,708
0
1
null
2019-01-02T18:36:46
2018-08-11T02:40:03
PowerShell
UTF-8
Python
false
false
403
py
import os, sys, shutil script_path = os.path.dirname(sys.argv[0]) if script_path[-1:]=='\\': script_path = script_path.strip('\\') for f in os.listdir(script_path): if 'notes_' in f: shutil.copy2('{}/{}'.format(script_path, f), '{}/{}'.format(script_path, f.replace('notes_', ''))) #os.rename('...
[ "christopher.kurkoski@gmail.com" ]
christopher.kurkoski@gmail.com
f6d6555a8ba6236ab372c46d3874d38c6e764625
db7660d3541c26b418ea84ca08fbf41f9ebd726b
/brax/jumpy.py
7486fd1ac0b8ac9b44e57f3f0ed88c4c3ca5f7a4
[ "Apache-2.0" ]
permissive
proceduralia/brax
8727ada08184fe9f60356d17a15ea671df0906d6
d54dc479a32e5e99641cde921c7988d69cd5bb7b
refs/heads/main
2023-08-27T15:39:44.618414
2021-11-08T21:35:42
2021-11-08T21:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,680
py
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "erikfrey@google.com" ]
erikfrey@google.com
d2f6e5faa8e1f124af00e0502dca3ad30670785e
b5fabc6c6de064690f8d4ee423001cf9365a3d9f
/flash/image/segmentation/model.py
9296db60cbcff1e6220d5aee051ddb36549a8b1f
[ "Apache-2.0" ]
permissive
dmarx/lightning-flash
021dfd76bde6e30309f14feb5853020b0babe90d
4cda031c1f9c8d8754fd36b5720d2a5a7d866765
refs/heads/master
2023-09-06T06:24:29.856354
2021-11-24T23:38:14
2021-11-24T23:38:14
422,352,910
0
1
null
null
null
null
UTF-8
Python
false
false
7,182
py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "noreply@github.com" ]
dmarx.noreply@github.com
0d112d9d22bf6d95c471ac0daf7bbcf566c2e834
1af288c99de84ca38b0df3469fa468b45473eb13
/src/globals/constants.py
7e84bee181145119688cf72d20eace0f6991bcbb
[]
no_license
bhavye9499/DIP-Project-MangaColorization
3aea11bef39d4f7b142c1929d929a337ccebd3d6
ae6b1f9f6c75f78c874414da5508be2dc4880198
refs/heads/main
2023-05-31T20:43:17.351616
2021-06-29T20:08:39
2021-06-29T20:08:39
317,637,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
import enum COMMON_COLORS = ( '--Select--', 'Black', 'Blue', 'Brown', 'Green', 'Hot-Pink', 'Mustard', 'Orange', 'Peach', 'Purple', 'Red', 'White', 'Yellow', ) COMMON_COLORS_HEX_CODES = { 'Black': '#000000', 'Blue': '#0000ff', 'Brown': '#964b00', 'Gre...
[ "bhavye17038@iiitd.ac.in" ]
bhavye17038@iiitd.ac.in
a914aec5310e3f105c8274a919bfec0b29a9cbea
68ec834c72d32f1c393235035a4bad13f5e7dc46
/test.py
b268c117867837083a4c96968d409b9ceb152310
[]
no_license
jordanwesthoff/scantron
da41bbb42d0c243ce3246f129ea1f195d3af3f5b
a06bd8cf256baffa1066966b046d03438510e772
refs/heads/master
2021-01-19T05:39:12.664486
2015-05-13T22:14:03
2015-05-13T22:14:03
34,220,779
1
0
null
null
null
null
UTF-8
Python
false
false
26
py
print 'This is a test.py'
[ "mkp9617@rit.edu" ]
mkp9617@rit.edu
431a60378e86b4b85d841143ab2f513bb7bbeeff
1b5cc8dc487da59455dfe6749796870d51d5ab87
/src/collective/iptvusp/tests/test_uspvideo.py
72b74796685ac00b3964064bc7a733813671c2c5
[]
no_license
simplesconsultoria/collective.iptvusp
eddcd726a800933127b04959bba90c63210049dc
89b14ee4a01e19ef5cd7198c5bdf808ef555f1f0
refs/heads/master
2021-01-01T18:29:41.272115
2013-03-12T19:01:25
2013-03-12T19:01:25
6,388,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
# -*- coding: utf-8 -*- import unittest2 as unittest from zope.component import createObject from zope.component import queryUtility from plone.app.testing import TEST_USER_ID from plone.app.testing import setRoles from plone.dexterity.interfaces import IDexterityFTI from plone.app.dexterity.behaviors.exclfromnav im...
[ "erico@simplesconsultoria.com.br" ]
erico@simplesconsultoria.com.br
bf2bb21fe32c046e31ac269a94e444f91dc0217b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03626/s873858203.py
5c64e4b78d0537220084f2cc138a77120c711579
[]
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
440
py
MOD = 1000000007 n = int(input()) s1 = input() s2 = input() if s1[0] == s2[0]: ans = 3 i = 1 prev = 1 else: ans = 6 i = 2 prev = 2 while i<n: if s1[i] == s2[i]: i += 1 if prev == 1: ans *= 2 else: prev = 1 else: i += 2 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c4255ced1b54803e492ceff98a8071bf9141f62f
51c1304e01aa5b83b8a0f98c1c182f47a2cca090
/scripts/sisi_angle_script.py
2006860e20887c466e1011cbe62ba4f4987c0649
[]
no_license
Schulmanlab/nanotube_image_analysis_scripts
5e9283f90f217093d7aa4b9186cfa14d8b25a3cd
078be9239ca19582ace6b2589f95ac6bdc94cc2c
refs/heads/master
2020-03-19T21:45:20.439149
2018-06-11T18:30:52
2018-06-11T18:30:52
136,949,013
1
0
null
null
null
null
UTF-8
Python
false
false
6,367
py
import numpy as np from skimage.transform import (hough_line, hough_line_peaks, probabilistic_hough_line) from skimage.feature import canny from skimage import data from skimage import io from skimage.morphology import closing, disk from skimage.morphology import skeletonize from skimag...
[ "mpacella88@gmail.com" ]
mpacella88@gmail.com
615158eadfcbf02124c5f25128a0cf68ffa28514
c2ef2deccd5319ad291317a16e8cb96fe1cf26dd
/Sizing_FrozenAug26/engine.py
7106895f1511c8ae22babd9e6c98760bff103be8
[ "MIT" ]
permissive
icl-rocketry/optimalSizing
9045aef128f7c3b339bd6ee251dd29f873d34cd5
c23f5a84bc9f46cf86977ec7da97dbf7126dcb1b
refs/heads/master
2020-07-02T13:53:59.344763
2019-11-06T00:54:31
2019-11-06T00:54:31
201,545,820
3
1
null
null
null
null
UTF-8
Python
false
false
9,064
py
import gpkit from gpkit import Model, Variable from gpkit.constraints.tight import Tight from gpkit.constraints.loose import Loose from gpkit.constraints.bounded import Bounded from gpkit import ureg class SimpleEngine(Model): def setup(self): constraints = [] components = [] ######## co...
[ "dra16@ic.ac.uk" ]
dra16@ic.ac.uk
971930662e9f48b55e5e7268f17b00a473b909c6
4fb5b869f6690b73e32a2d8624f5fc8954540b42
/pypiplot/examples.py
b73f61adfb29a23b32d768d116b50680a0502255
[ "MIT" ]
permissive
erdogant/pypiplot
cc8eb15f9b6855cba270256591ba8b1ec4ae41f6
2016cca3d0b4022cda1806c2c4b8c4eb2d31ee19
refs/heads/master
2023-04-16T03:26:26.935072
2023-02-21T23:46:01
2023-02-21T23:46:01
293,334,020
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
import pypiplot # print(pypiplot.__version__) # print(dir(Pypiplot)) from pypiplot import Pypiplot # %% Update all libraries to date. pp = Pypiplot(username='erdogant', repo_type=['owner', 'fork']) pp.update() results = pp.stats() pp.plot_year(vmin=700) pp.plot() pp.plot_year() # %% Top 10 best repos pp = Pypiplot...
[ "erdogant@gmail.com" ]
erdogant@gmail.com
4a5b7c6844ca194b50ed70323648cba57b6e0b8d
c6e5bbafd810d23e0ee46d69026cba35339d1dbd
/accounts/managers.py
42d3aae755fba1358031994ccd3a06d4ca8dcdd1
[]
no_license
mfonism/django-inqueerstigate
9c8b729848bf3df9fb9ec991ec47391b69ad7b66
af5420bf8adf6aa89533cd1462d9eeed6e8c88db
refs/heads/main
2023-05-26T12:59:55.774989
2021-06-07T11:46:48
2021-06-07T11:46:48
323,681,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
from django.contrib.auth.models import BaseUserManager class UserManager(BaseUserManager): use_in_migrations = True def _create_user(self, email, password, **extra_fields): if not email: raise ValueError("The given email must be set") email = self.normalize_email(email) us...
[ "mfonetimfon@gmail.com" ]
mfonetimfon@gmail.com
6a4e8cbc8eaf2827af140b194d0447517e825729
52147a1f41f813945ccde3cb726dc274a3868371
/MDjango/urls.py
5b5a85035fc5698239f8b764fac798fa328814c1
[]
no_license
ipnono/django--
2b31031700346c3b594731a27834eeb39cec8c2d
9fdfb86c29e1f2815bf8e9d157bf6a7009e890f9
refs/heads/master
2020-04-14T21:11:27.740478
2018-09-04T06:30:30
2018-09-04T06:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
"""MDjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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-based...
[ "842021219@qq.com" ]
842021219@qq.com
7becadaa213cd03cf79e3e0b8cb057367af3bfac
117078195d04c6b4a8919cb3d426f7434081c222
/polarmine/alternative/alternative_solver.py
6ca0dda71ea0acc77c69a5684bb42605ae60e574
[ "MIT" ]
permissive
morpheusthewhite/master-thesis
6825e15dd7a958306ebbff5b5037cfdeaa119c5e
2ab4c0509a119d7b5f332b842a4101470a884351
refs/heads/master
2023-07-11T07:11:20.353983
2021-08-10T13:01:42
2021-08-10T13:01:42
330,761,354
1
0
MIT
2021-03-16T15:57:16
2021-01-18T19:03:50
Python
UTF-8
Python
false
false
453
py
from typing import List from abc import ABC, abstractmethod from polarmine.graph import InteractionGraph class AlternativeSolver(ABC): """A solver for an alternative formulation of Echo Chamber Problem""" def __init__(self, *args, **kwargs): super(AlternativeSolver, self).__init__(*args, **kwargs) ...
[ "zffromGerace@hotmail.it" ]
zffromGerace@hotmail.it
deb150440060e0d6c968a2ccf2812970012b495a
27c4e774f053594473da202c1c45dcbf237465be
/Scorm.py
566403fdd0e407806057a4daa6e2727586ed572a
[]
no_license
Gamboua/zope-migration
34e6b27962859352fe08a4277a8215b36b01889c
7a83ed67c5ea561bfa8aa300728390b7220f3633
refs/heads/master
2020-12-25T14:49:22.173420
2017-10-19T20:47:50
2017-10-19T20:47:50
67,830,154
0
1
null
2016-10-20T21:42:09
2016-09-09T20:20:57
PHP
UTF-8
Python
false
false
1,910
py
import paramiko import os from scp import SCPClient from config import * from Command import Command import random, string class Scorm: def __init__(self, scorm, course): self.course = course self.scp = None self.type = 'scorm' self.section = 0 self.folder = self.get_if_...
[ "gabriel.bonfim@4linux.com.br" ]
gabriel.bonfim@4linux.com.br
ed470021c5d7320465b10f40070de60988c328b6
fd987458b3b294a7e757aaf1d80c5a9a6a3da53f
/DataModeling/backlog/FFMap.py
27b1ff41ab5df28777338c9baae8055c74af531a
[ "MIT", "Apache-2.0" ]
permissive
achyun/OpenVisuMap
77d487e4f434b30377dbba695870c13f8022ff52
d4f19b4c6ad12e25b407966571f830eb28e0b610
refs/heads/master
2023-09-04T07:30:12.421170
2021-11-01T22:48:34
2021-11-01T22:48:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,090
py
#========================================================================= # FFRegression.py #========================================================================= import sys, os, math, time, shutil, ModelLog os.environ['TF_CPP_MIN_LOG_LEVEL']='3' import tensorflow as tf import numpy as np from Util import MakePai...
[ "jamesxli@visumap.com" ]
jamesxli@visumap.com
7620f89c22df19a666234828f74b8c1e662b8d0f
fd0e3562df4c4aadac3717de5cabef499e209553
/battlefield.py
c22aeb83b800f249a39347fd5c0e15fc42bb9e18
[]
no_license
ImHucklle/Robots_vs_Dinos
9833a42bab08b9ae5e8296ac15093fb33d9c831f
3e50f98b6e7cc092d6711174765f4283ec95c795
refs/heads/main
2023-09-06T06:43:55.252832
2021-11-18T20:45:21
2021-11-18T20:45:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,258
py
from fleet import Fleet from herd import Herd class Battlefield: def __init__(self): self.fleet = Fleet() self.herd = Herd() def display_welcome(self): print ("Hello, welcome to the carnage!") def game_start(self): user = input("Ready to fight for survival? Enter y or...
[ "mylesnlister@Myless-MacBook-Pro.local" ]
mylesnlister@Myless-MacBook-Pro.local
6976c5d4d8149dc07efe4fe71690283a0ffcb22c
d1e6b312d8d4e4601213ad44f1b2ce90563118c9
/reviews/models.py
4b958f226dcbcf60b13e4c7250d0dfbce647021d
[]
no_license
seabass189/owhatacookie
8a1fb8b99d69b4b44d0ec981a0fe09c3de710ba2
96cb3d7c54d71c187f53cc37876fba171ea5bac9
refs/heads/master
2023-01-02T01:30:07.974163
2020-10-25T23:19:01
2020-10-25T23:19:01
294,293,474
0
0
null
2020-09-22T00:00:30
2020-09-10T03:33:00
Python
UTF-8
Python
false
false
563
py
from django.db import models from orders.models import Order # from customers.models import Customer class Review(models.Model): header = models.CharField(max_length=50) text = models.CharField(max_length=500, blank=True, null=True) stars = models.PositiveSmallIntegerField() customer = models.ForeignKe...
[ "33647914+seabass189@users.noreply.github.com" ]
33647914+seabass189@users.noreply.github.com
8da0b36863fe5720eff6f961ca1136f07cd253f3
648e0c3bcd4b26d72087c9a785fea85dbd5dce59
/chap05/chap05.py
ae3b450c6f4a0524790246da33fea6690a8e079f
[]
no_license
bryansis2010/machinelearninginaction
d31f6c10996155957593123297fcbd4c0d954a57
f21a2af2c306d5c53d56d5a7bcd8a5f2f07fea1b
refs/heads/master
2020-06-02T06:57:03.163294
2015-04-05T14:50:07
2015-04-05T14:50:07
31,070,163
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
#------------------------------------------------------------------------------- # Name: chap05 # # Author: bryansis2010 # # Created: 05/04/2015 #------------------------------------------------------------------------------- #imports relevant to the text from numpy import * import re #my own imports to...
[ "bryan.sis.2010@gmail.com" ]
bryan.sis.2010@gmail.com
847e83de22c9dbcb04f87362a0d956c786584799
caace044baf7a6f2b0bda65ae361eed06bddfc3c
/dailyQuestion/2020/2020-06/06-01/python/solution_items.py
1f7df5de69c465f7a57e918ca5eee350c02c2603
[ "Apache-2.0" ]
permissive
russellgao/algorithm
fd6126e89c40d7d351c53bbd5fde690c9be899ef
ad5e724d20a8492b8eba03fc0f24e4ff5964b3ea
refs/heads/master
2023-03-28T03:00:02.370660
2021-03-28T10:56:38
2021-03-28T10:56:38
259,038,372
3
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None # 迭代 def sortList(head: ListNode) -> ListNode: head_len = 0 invc = 1 h = head while h : head_len += 1 h = h.next result = ListNode(0) result.next = hea...
[ "gaoweizong@hd123.com" ]
gaoweizong@hd123.com
55d8310f311948081576b53b7f9881db250ab417
36121f94d6ffcc23e37e81920885fea7b8613bd4
/ColourUse/colourMap_crameri/ScientificColourMaps7/bamO/bamO.py
523c6446441659ebd362b742b541fbd3dca58a1f
[]
no_license
mickaellalande/MC-Toolkit
16079a58930293baa86a2be4e6c3e9755a74f861
c0c17c107881751b82c7d99c5c7f328ddbe1fada
refs/heads/master
2023-07-21T19:53:01.905408
2023-07-06T09:20:27
2023-07-06T09:20:27
233,410,384
11
6
null
2021-05-11T10:07:30
2020-01-12T15:04:06
Jupyter Notebook
UTF-8
Python
false
false
12,400
py
# # bamO # www.fabiocrameri.ch/colourmaps from matplotlib.colors import LinearSegmentedColormap cm_data = [[0.30946, 0.18635, 0.26374], [0.31419, 0.18609, 0.2688], [0.31943, 0.18615, 0.27428], [0.32515, 0.18655, 0.2802], ...
[ "jb.barre@gmail.com" ]
jb.barre@gmail.com
4e9e117b4208da744ba02a9299faa7b6caea4145
45d17ca56a111c550272214ee555e91f3cf8ea08
/ERROR404/QuestionDiagonosisTkinter.py
047c35e2258ad369b066d131e6b96af5a57995ec
[]
no_license
bipul2002star/HealthCare-Jarvis-bot
d0ad0dc4979a87bbde7b7090ce44781d43f35611
8e2c9fcce2173ab2ce9a68f86bc74aa1ed1b49fd
refs/heads/main
2023-04-12T08:45:42.956875
2021-04-25T12:29:02
2021-04-25T12:29:02
361,421,034
0
0
null
null
null
null
UTF-8
Python
false
false
16,582
py
from tkinter import * from tkinter import messagebox import os import webbrowser import numpy as np import pandas as pd class HyperlinkManager: def __init__(self, text): self.text = text self.text.tag_config("hyper", foreground="sienna...
[ "noreply@github.com" ]
bipul2002star.noreply@github.com
6799732e6efdadc03999d9a6551f7d070c25df4b
f5a002ae3b12a750fa3c777e8ce239677d0f8db5
/accounts_mode_voucher/model_purchase_account_signal.py
a6dbc629f75dc259c7f63f80103a13fc3d8d5143
[]
no_license
abhishek-ag2000/working123
f217911c6f54091b6412f1bf7e594998cab5cbda
e9e07d98011a4db812d06e50de4063e305dbc1d9
refs/heads/master
2022-12-14T03:54:54.064379
2019-09-14T14:10:58
2019-09-14T14:10:58
188,194,278
0
0
null
2022-12-08T05:21:08
2019-05-23T08:37:53
JavaScript
UTF-8
Python
false
false
6,078
py
""" Signals for Purchase """ from django.db.models import Value, Sum from django.db.models.signals import pre_save, post_save, pre_delete, post_delete from django.db.models.functions import Coalesce from django.dispatch import receiver from accounting_entry.models import JournalVoucher from accounting_entry.decorators ...
[ "ratanbiswas.it@gmail.com" ]
ratanbiswas.it@gmail.com
b79d517c91a75383143e6245ca26f5d5dc4c4e01
33ba0c08d8302eeede1cb3c8d9a3797a1a572ac5
/assignments/11-regex-dates/dates.py
e79758f77afb8ecd1792fdf0a34eca7954beb8b9
[ "MIT" ]
permissive
mattmiller899/biosys-analytics
a39db0f793b317c5de6c3a02b905536fdff66a71
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
refs/heads/master
2022-08-18T08:52:50.827883
2021-05-26T21:07:42
2021-05-26T21:07:42
166,158,190
0
0
MIT
2019-01-17T04:07:06
2019-01-17T04:07:05
null
UTF-8
Python
false
false
1,951
py
#!/usr/bin/env python3 """ Author : mattmiller899 Date : 2019-04-08 Purpose: Rock the Casbah """ import os import sys import re # -------------------------------------------------- def main(): args = sys.argv[1:] if len(args) != 1: print('Usage: {} DATE'.format(os.path.basename(sys.argv[0]))) ...
[ "mattmiller899@login3.cm.cluster" ]
mattmiller899@login3.cm.cluster
df13faf30c4a370935e8475eda2e144e87e571bb
a51380a47c97a0a7b5b9b517ad412334a299d956
/wordcount/views.py
d4229e37348d4a8d04622b77015c10706adbe074
[]
no_license
buhyunk3/topproject
8fdead719430c4f0f809ffcf3d338d7f0126010b
6934319f2de2291d8efa1a2ed8be6c49c228f792
refs/heads/master
2020-04-17T09:55:01.641594
2019-01-18T22:12:42
2019-01-18T22:12:42
166,479,547
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
from django.shortcuts import render # Create your views here. def home(request): return render(request, 'home.html') def about(request): return render(request, 'about.html') def result(request): text = request.GET['fulltext'] words = text.split() word_dictionary = {} for word in words: ...
[ "buhyunk3@likelion.org" ]
buhyunk3@likelion.org
8cdbe5d4f721be8e8da2b94aa2163e7bd13f4a7b
c700111e96595d2f0699d20c3260823bf5cf5124
/Release_01_20171106/src/ex9-integration.py
495a8bd27c4814191b650bf18fe3816834a70e5e
[]
no_license
jimmielin/HW-Numerical-Physics-201718
7de1068465951b48929616623ee0b36bca65f5b5
63b2fd59ba1448009124feabce2bb549009b673e
refs/heads/master
2021-09-03T21:38:53.909261
2018-01-12T06:59:15
2018-01-12T06:59:15
105,414,720
1
1
null
null
null
null
UTF-8
Python
false
false
1,517
py
# $ RELEASE $ # $ 201711060212Z $ rel01 # $ Signed-Off-By: Haipeng Lin <jimmie.lin@gmail.com> #################################################################### # Computational Physics, 2017-18 Sem1 # HW-1 Ex-9 # # (c) 2017 Haipeng Lin <linhaipeng@pku.edu.cn> # All Rights Reserved. # # This program is written as Home...
[ "jimmie.lin@gmail.com" ]
jimmie.lin@gmail.com
8f02e80998e754774675b8c69805f6d4c4c0b149
d97322b14525d7f03976ee220ad38a10419215f6
/Basic/depth_evaluate/run.py
854aaa0c91dc11daad9f44c85ee6718125f63a52
[]
no_license
zhoujuncug/Basic
f4281cf4b8d6dc16f3bd40bcd65ad9ad06878f88
63cb6d6d535cc207fb216ac12104f373d3bddd9a
refs/heads/master
2022-12-02T23:32:37.052574
2020-08-08T12:20:44
2020-08-08T12:20:44
286,036,275
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
import argparse import pprint import torch.optim as optim import visdom from lib.basic_tools.log import * from lib.basic_tools.device import * from lib.basic_tools.reproducibility import * from lib.dataset.data4depth import * from lib.models.depth_eval import * from lib.utils.train import * from lib.utils.test import ...
[ "noreply@github.com" ]
zhoujuncug.noreply@github.com
67297bf9c3b97968aa6fd2d91e6b6bc95004c561
80eff326f1d78c4dce8d15aa927b07e0b65af798
/third_party/mmpose_model/transforms.py
f03bd453db0410603facd9c6360d3708c83d5a40
[]
no_license
animalact/AAR_Net
4e228651a8a693cb8b91ae1c99f2af56f00dce8a
9f88a6678d3d6bfbba2dc654c1e0dcac43e6d6b7
refs/heads/master
2023-07-25T20:37:08.182423
2021-09-08T17:30:33
2021-09-08T17:30:33
384,944,081
1
5
null
2021-09-08T15:13:03
2021-07-11T12:36:51
Python
UTF-8
Python
false
false
8,407
py
import cv2 import numpy as np def transform_preds(coords, center, scale, output_size, use_udp=False): """Get final keypoint predictions from heatmaps and apply scaling and translation to map them back to the image. Note: num_keypoints: K Args: coords (np.ndarray[K, ndims]): ...
[ "songys96@naver.com" ]
songys96@naver.com
6567d0f8b19425ebfd1cd990c73c0e2498f971f2
41294ab88364fbb40ee67fcc643a91cc355c25d5
/solution/accounting.py
368251986f18af4b2806c42760073666909b3c70
[]
no_license
tessajules/underpaid-customers-HB-homework
96e542cc736d03b1476c88c43cd931081b03926d
ec3526debea68ecbf7aed25d041baf26110e40b2
refs/heads/master
2021-05-28T22:11:25.106565
2015-04-10T02:56:36
2015-04-10T02:56:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
MELON_COST = 1.00 def melon_payment_calculator(payment_data): """Calculate cost of melons and determine who has underpaid.""" payment_data = open(payment_data) for line in payment_data: order = line.split('|') customer_name = order[1] customer_first = customer_name.split(" ")[0]...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
db0454c4c301f4b509ebb198c08bac7e87c6a3bd
d19d16ddc922b0915aff982568c5c71ee58fb8b9
/dataset/utils.py
f13a627e795ae92c6dca77770e719e98d0542e2e
[]
no_license
zhaoyuzhi/HSGAN
036a6fec722d564f9b203f6032bf47039c1eadd4
f974761ec4a65ef58283ae4ccba618b97e79c4bc
refs/heads/main
2023-08-03T10:06:05.195187
2023-07-27T14:21:54
2023-07-27T14:21:54
337,642,689
6
0
null
null
null
null
UTF-8
Python
false
false
2,688
py
import os import numpy as np # ---------------------------------------- # PATH processing # ---------------------------------------- def check_path(path): if not os.path.exists(path): os.makedirs(path) def get_files(path): # read a folder, return the complete path ret = [] ...
[ "noreply@github.com" ]
zhaoyuzhi.noreply@github.com
bcec11864e5a79afc5b9dcfbadbcba43c0dff5e0
08c48f2627281810fe2a4a37bb1e9bc5c03eeb68
/Huan_link_all_script/All_result_ICGC/network/random_walk_restart/Walker/scripts/transform_matrix.py
d88430ba3123bda3df7da3bda747ef7d17166e4b
[]
no_license
Lhhuan/drug_repurposing
48e7ee9a10ef6735ffcdda88b0f2d73d54f3b36c
4dd42b35e47976cf1e82ba308b8c89fe78f2699f
refs/heads/master
2020-04-08T11:00:30.392445
2019-08-07T08:58:25
2019-08-07T08:58:25
159,290,095
6
1
null
null
null
null
UTF-8
Python
false
false
569
py
import sys import numpy as np def main(argv): matrix_file = argv[1] output_filename = argv[2] matrix = np.loadtxt(matrix_file) def f(x): return 1 / float(x) f = np.vectorize(f) matrix = f(matrix) transformed_matrix = [([0] * len(matrix[0])) for _ in xrange(len(matrix[0]))] for i, row i...
[ "lhhuan01@163.com" ]
lhhuan01@163.com
11bb47901662be6ed2b74c9e23f7bc18d66e6842
5d7256e74c692da0da5f5dea9d8cb5cd8e191654
/MostPopularSuperHero.py
62d9bedbd6911479cb0f49986a23aaecca143d4f
[]
no_license
rakeshadk7/Spark
ec2fc2ba7c16f9affa4cbc87e456eff452680bb0
a76af73c066b78eefcaeaf60f360f897e45da3dc
refs/heads/master
2021-05-03T23:51:27.651546
2016-10-27T19:35:46
2016-10-27T19:35:46
71,810,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
from pyspark import SparkConf, SparkContext import os conf = SparkConf().setMaster("local").setAppName("PopularHero") sc = SparkContext(conf = conf) def countCoOccurences(line): fields = line.split() return (int(fields[0]), len(fields) - 1) def parseNames(line): fields = line.split("\"") return (...
[ "rakesh.adk7@gmail.com" ]
rakesh.adk7@gmail.com
06c9466548a22b41756278bd448c149df64fd1c6
ace6e4dbf09fd26edeba28e9f91fa3e4d21a2f39
/test_sublime.py
f043587957644abe11af487923f0d5a1667b1574
[]
no_license
may5day/test
c8f7d01b6f928afce84e80601317f4e026348157
1d9eebe72d2a14a65f7328e3fbb2c0c38f054bf9
refs/heads/master
2020-04-26T04:02:34.437251
2019-03-05T09:09:22
2019-03-05T09:09:22
173,288,060
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
this is a test file! this is not the first line! hello world!
[ "2849905332@qq.com" ]
2849905332@qq.com
a60ce595e94bd01b6f46c0cb382957eebfd7ab07
576cc83449e10fd3f98281970c46016ea7a5aea2
/Tensorflow/CNN/莫烦python02.py
2e08d2c51048bcd31c14f4a4a131722ae38111f1
[]
no_license
HotView/PycharmProjects
215ab9edd341e3293daebcf86d97537f8cd28d75
61393fe5ba781a8c1216a5cbe7e0d06149a10190
refs/heads/master
2020-06-02T07:41:53.608742
2019-11-13T08:31:57
2019-11-13T08:31:57
191,085,178
3
2
null
null
null
null
UTF-8
Python
false
false
1,519
py
import tensorflow as tf import numpy as np import matplotlib.pyplot as plt from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("data",one_hot=True) def add_layer(inputs,in_size,out_size,activaion_function = None): Weights = tf.Variable(tf.random_normal([in_size,out_size])) ...
[ "864773190@qq.com" ]
864773190@qq.com
1944a86dacbfb1bc3786a49c8b508979384b9555
99b496588937e7a4269d7614f9d2c9df701602b6
/2017年04月14日_P14_recommendations.py
993fa90f3da40c5f8ef77bc303d8504281a8e98d
[]
no_license
kedup/2017-04-13-_CollectiveIntelligence
bedb909d0f8e2404c693aab587d1a44095ef7b38
3e95fea24d6f022ebab3ab52d6f27a4ce2b62d62
refs/heads/master
2021-06-16T07:51:25.770248
2017-05-11T12:10:50
2017-05-11T12:10:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,492
py
# A dictionary of movie critics and their ratings of a small # set of movies critics={'Lisa Rose': {'Lady in the Water': 2.5, 'Snakes on a Plane': 3.5, 'Just My Luck': 3.0, 'Superman Returns': 3.5, 'You, Me and Dupree': 2.5, 'The Night Listener': 3.0}, 'Gene Seymour': {'Lady in the Water': 3.0, 'Snakes on a Plane': 3...
[ "webkwd@qq.com" ]
webkwd@qq.com
7f86b7ad0d656cca5c68cfeed92a6778b9b6ca30
19380754401eebfb890da93ba5eb216cf776ba82
/fabrik/flowlabel.py
af7bbf8713288025ddd2e6c4104f5a2816a8b7c0
[ "Apache-2.0" ]
permissive
viccro/diarc
2693734fa92a7b4e98bc0d97ce6cbc85694a0476
5b8d18fe08ce175109e9c8e72a3d29c4078cd77a
refs/heads/master
2021-01-14T10:44:47.104726
2015-08-06T18:15:14
2015-08-06T18:15:14
38,066,704
0
0
null
2015-06-25T18:30:46
2015-06-25T18:30:46
null
UTF-8
Python
false
false
1,392
py
# Copyright 2014 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
[ "amber.crosson@nytimes.com" ]
amber.crosson@nytimes.com
ac6c3bdcd556fa864f83317da9c8ce709377b0a7
033489cc8c1c32c9d8cae695f2fe79643dbe852a
/scripts/count.py
9b77bc65e69888058aef1c0bd9719e336218b82d
[ "BSD-3-Clause" ]
permissive
ueshou/mypkg
46b6636c8caba78b6e9ccbf5162cf4f563ff1987
69d5f3b6c2949f9cf3b7f4914c8a5132aaaff66b
refs/heads/main
2023-02-17T22:56:49.338683
2021-01-22T05:48:57
2021-01-22T05:48:57
327,495,862
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python3 import rospy from std_msgs.msg import Int32 rospy.init_node('count') pub = rospy.Publisher('count_up' , Int32, queue_size=1) rate = rospy.Rate(10) n = 0 while not rospy.is_shutdown(): n += 1 pub.publish(n) rate.sleep()
[ "s19c1015uq@s.chibakouda.jp" ]
s19c1015uq@s.chibakouda.jp
acc4aef5d2a6eb365488380fe43780058d19a3d6
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1623+386/sdB_PG_1623+386_lc.py
79bf55d3e02753efc2d185b0d3025a46f7a7b55a
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[246.351292,38.505214], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_PG_1623+386 /sdB_PG_1623+386_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
6827cbf6518d397d25b1759ecbab6d3cf03cb7f1
f2b4be9a933aa024a7934ab9758a0b29816e74d3
/Interfaces/API/NewInterface/Tests/Test_DDSim.py
d81a22add8109fbab36d9483992e42f789235e2f
[]
no_license
hamzazafar/ILCDIRAC
84c24a4b65e75d7df55f91c3601867cc45990ee6
6fa2b7b130b6248afeb7ae77d42502f2f72908aa
refs/heads/master
2020-03-25T03:39:54.444975
2017-07-28T10:51:18
2017-11-23T14:02:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,345
py
#!/usr/local/env python """ Test DDSim module """ import inspect import unittest from mock import create_autospec, patch, MagicMock as Mock from DIRAC import gLogger, S_OK, S_ERROR from ILCDIRAC.Interfaces.API.NewInterface.Applications import DDSim from ILCDIRAC.Tests.Utilities.GeneralUtils import assertEqualsImprov...
[ "andre.philippe.sailer@cern.ch" ]
andre.philippe.sailer@cern.ch
88128fb4f2ef8cb1c5a3e6135fa51534bd1e2718
949a6268b7bbd2707ce21a4398a5eedd8c1509b4
/hw_1016/title_state.py
e912a5361ecc183c04eeb83d0ffc10c62e92ba79
[]
no_license
samang22/School-Project
a2bbeb75f39fcbbb2e8e5ae52bc0272178670e4d
9736ff9f456fdaea4c2b69ecd5887dd2562c3ba9
refs/heads/master
2020-03-28T11:11:53.791271
2018-12-14T04:03:16
2018-12-14T04:03:16
148,187,570
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
from pico2d import * import game_framework import boys_state def enter(): global bgImage bgImage = load_image('../res/title.png') def exit(): global bgImage del bgImage def draw(): clear_canvas() bgImage.draw(400, 300) update_canvas() def update(): delay(0.03) def handle_events(): events = get_events() f...
[ "samang22@naver.com" ]
samang22@naver.com
596c977a72f3fb8a47089d9ab9c5f443a05cdcdc
58c505e5883ce4975517eb00544c5871647b6f69
/blog/migrations/0001_initial.py
35a93a385d0ab7a9ce0027632d373f27e192d98d
[]
no_license
kalyanit17/my-first-blog
0ae6e078d87f64d475bd9e077ac53b4939cb1ddf
e372db9a5741902326b4a8fd2b7591cd2e21db54
refs/heads/master
2020-12-31T06:46:29.128949
2017-02-17T06:47:38
2017-02-17T06:47:38
80,627,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-01 13:01 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): ...
[ "kalyanit17@gmail.com" ]
kalyanit17@gmail.com
6b5ecf59aee91287debfc7a264002ca531ac0eb0
a657d3151ec97e2cbb184d967fd7bbc2d6167253
/Decision-Tree-with-Adaboost/MainCode/DecisionTreeFull.py
b064f071d27d83ad1664b989b1f3e09f683c804b
[]
no_license
hasin-abrar/Machine-Learning
98e370291f5fb073db77a2c4e3b5be0ce33fb8d2
72b5db6e7815aebe7e477c73d6765e34ad7a91b4
refs/heads/master
2022-12-23T21:02:03.049735
2020-10-06T14:42:46
2020-10-06T14:42:46
286,272,140
0
0
null
null
null
null
UTF-8
Python
false
false
19,422
py
# pre processing import math import random import datetime import numpy as np import pandas as pd class PreProcessing(object): def __init__(self, examples): self.examples = examples # takes a list as input and gives the mode. (1)[0][0] 1st appearance and more signifies def Most_Common(self, lst...
[ "1405048.mha@ugrad.cse.buet.ac.bd" ]
1405048.mha@ugrad.cse.buet.ac.bd
7c6c857ffe8c602712021be9078f9c31a1a5d128
97dc530ab8852f328fa1974710caabd3ffec32ac
/apps/cron_consume_apk/bak/cron_crawl_appinfo_v2.py
d8335f9e367f950efbaf9a7cbdc7b64d2b46cfa7
[]
no_license
danielzhu1201/getAppInfo
12df4c9f99a06556313c0e90ab672dbcda246725
7db1c991fa9e56c1760a50f275d35d63bd15988a
refs/heads/master
2020-03-20T00:31:59.403042
2018-06-14T06:09:40
2018-06-14T06:09:40
137,047,397
0
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # qw @ 2017-03-08 17:48:52 import sys import os import json from config import * import redis import multiprocessing import time import random import traceback import urllib import logging import datetime logging.basicConfig( level=logging.DEBUG, # format='%(asctime...
[ "zhuzhaosong@youmi.net" ]
zhuzhaosong@youmi.net
1c033942dc1bbb7c998f9e475650b707ae7e453d
06e6b257405a077b9cac1cd03373d2ded225634f
/manage.py
7f59ef13a4055f5d50601ed26fd3e2e3b511cf7e
[]
no_license
darrenwu1058/mystore
ae4bec6ef37976e69ee620974d28f4723788feff
158487a768ac80e0b632de5e60fcfde18e0e51f0
refs/heads/master
2020-05-20T22:44:57.255753
2019-03-08T16:16:47
2019-05-09T09:09:57
185,788,305
0
0
null
2019-05-09T11:45:12
2019-05-09T11:45:12
null
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mystore.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "github.tsod@tsod.idv.tw" ]
github.tsod@tsod.idv.tw
e54a3d7c4412e2993a3e50aea8f2ee52b2bc1a38
088e0c83bb0467f54ad6a481ce77e03bc9f32515
/venv/Scripts/pip3-script.py
106abf0b818cb42802790b83b774548aea6fd553
[]
no_license
Nicole-peng/gy-1908A
33bac0f7f5d3a2fddc2561807135d614e07c37a7
c376359ade7c1844410f4b712ba8fbefec8bc9c2
refs/heads/master
2022-02-27T03:22:59.922174
2019-09-09T02:54:19
2019-09-09T02:54:19
207,207,680
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
#!D:\softwareData\python\1908-A\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __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...
[ "pengyijieyiyi@foxmail.com" ]
pengyijieyiyi@foxmail.com
09d975c569575f2a776cc28ff00f7e2fc34a7637
7bb14c6587a73b28f8e99b8ba9d02a1aaa08fa27
/samfilterdg.py
84cecf9605f4a50ab58fd0557ab54268534ed4b8
[]
no_license
zhipenglu/duplex
95a570c89bdac9efcd03dcabcfc745d2aa46728d
62c845cad98fda8b9cfd45856e3f469a249b216f
refs/heads/master
2020-12-29T02:42:31.242209
2017-02-01T19:31:18
2017-02-01T19:31:18
52,380,558
2
3
null
null
null
null
UTF-8
Python
false
false
3,627
py
""" samfilterdg.py Zhipeng Lu, 2015-10-16 Read in sam file with DG (duplex group) and XG (chiastic) tags, filter out DGs with only 1 read and those with identical breaks, XG:i:2 """ import sys, re, time if len(sys.argv) < 3: print "samfilterdg.py" print "removes DGs with only single or duplicate reads and XG...
[ "zhipengluchina@gmail.com" ]
zhipengluchina@gmail.com
b1ba433d509d020677e93798474154d142ff323a
8588203926686503d233a7cf4128a9d179cb3e37
/proyectos/chapter4b/adapters/repository_order_line.py
f31c2b82a639073689c13106a61a74eccddc06ed
[]
no_license
jlbali/python_architecture
bc615dbe978c55a2c8a5929f004411a0a72d6243
e5a580e8a18fa2055d2f8a07bbaa3b98b06b83bb
refs/heads/master
2023-02-06T11:54:09.819914
2020-12-26T00:13:36
2020-12-26T00:13:36
324,174,194
0
0
null
null
null
null
UTF-8
Python
false
false
2,395
py
import abc from domain.order_line import OrderLine from typing import List, Optional class AbstractOrderLineRepository(abc.ABC): @abc.abstractmethod def add(self, item: OrderLine): raise NotImplementedError @abc.abstractmethod def get_by_ref(self, reference:str) -> OrderLine: raise No...
[ "juan.lucas.bali@gmail.com" ]
juan.lucas.bali@gmail.com
55bd1e9c03901d04fa75221fbb2e004339501afe
c3379fb707daf434fc731006e173da817b68ca75
/pydatview/fast/runner.py
f321a81d662cb9f3714995b306df20a08da376e1
[ "MIT" ]
permissive
dviewtest/pyDatView
43cb6d2bb76a78670ecd1083495024f935bc9e9b
3516ffaff601c122d62ffc94abd842958354ece8
refs/heads/master
2023-06-27T11:08:52.056689
2021-06-23T17:57:35
2021-06-23T17:57:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,304
py
# --- For cmd.py from __future__ import division, print_function import os import subprocess import multiprocessing import collections import glob import pandas as pd import numpy as np import shutil import stat import re # --- Fast libraries from weio.weio.fast_input_file import FASTInputFile from weio.weio.fast_ou...
[ "elmanuelito.github@gmail.com" ]
elmanuelito.github@gmail.com
3bee51e9e68133d4651c5816abba2c27197fc326
678c82b0436a707436f828532afdf0f6116190d5
/publication/models.py
55a36c5c5fb1750b6d880b41c7413cea8bf4926c
[]
no_license
fabioh80/play
2f7f000a55130b926d7d95fa18583c375dc83504
c6198b5de9d606f2e854cb3de6418f9ecc5d9e06
refs/heads/master
2021-01-12T14:41:06.683152
2016-10-27T17:25:04
2016-10-27T17:25:04
72,050,096
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
from django.db import models from datetime import datetime class Publication(models.Model): pub_date = models.DateTimeField(default=datetime.now(), blank=False) place = models.ForeignKey("Place", related_name='place') type_play = models.ForeignKey("Type_Play", related_name='play') cnt_player = models....
[ "fabioh80@gmail.com" ]
fabioh80@gmail.com
27d32813b7fee47a8f3898e5b10327bb6f1e91ce
25404f4cfb9be3e6f1b3fe31a1554459eb200813
/1_todo/string_io_and_json_example.py
5cb62ee749b5815bcf6dba5c20c390f1ac5608f1
[]
no_license
nightimero/annal_report_test
1c6eb4b71482f870c753f5084212afd071929f57
7bbc76ba703527ba8f4b84fbdb94fd57b37b9887
refs/heads/master
2021-09-06T21:18:59.534963
2018-02-11T15:31:21
2018-02-11T15:31:21
103,259,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
# -*- coding: utf-8 -*- from StringIO import StringIO import json io = StringIO() json.dump(['streaming API'], io) io.getvalue() # '["streaming API"]' # 2.use seperator, Compact encoding import json json.dumps([1, 2, 3, {'4': 5, '6': 7}], separators=(',', ':')) '[1,2,3,{"4":5,"6":7}]' # 3.Pretty printing: indent参...
[ "chenxiang@aiknown.com" ]
chenxiang@aiknown.com
4570a4f1135d69481df51ef52485f7fe43b9827d
430bd23decf16dc572a587b7af9f5c8e7dea5e6b
/clients/python/swagger_client/models/funding.py
ff0870b285368906885d8379191500364f1d06c3
[ "Apache-2.0" ]
permissive
jltrade/api-connectors
332d4df5e7e60bd27b6c5a43182df7d99a665972
fa2cf561b414e18e9d2e1b5d68e94cc710d315e5
refs/heads/master
2020-06-19T10:20:46.022967
2016-09-24T13:12:17
2016-09-24T13:12:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,097
py
# coding: utf-8 """ BitMEX API REST API for the BitMEX.com trading platform.<br><br><a href=\"/app/restAPI\">REST Documentation</a><br><a href=\"/app/wsAPI\">Websocket Documentation</a> OpenAPI spec version: 1.2.0 Contact: support@bitmex.com Generated by: https://github.com/swagger-api/swagger-co...
[ "samuel.trace.reed@gmail.com" ]
samuel.trace.reed@gmail.com