blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
ae2b5badd77fad9407ce1c07606e609826621d63
375f9728b3ddc3f810de597926d7d4142e38e33e
/network/petition_centralities_signatures_pic_list2_int.py
49db540d48df93f644b02e61a1131828dad6ec0d
[ "MIT" ]
permissive
yukimasano/pet_forecast
614c38fc0a1bfe2fdf84bcf0ba9fac7f443bca57
57547fee4c222313e9c958536f60da4f43e23c8c
refs/heads/master
2021-09-07T13:15:40.063282
2018-02-23T10:48:01
2018-02-23T10:48:01
111,246,587
0
0
null
null
null
null
UTF-8
Python
false
false
4,729
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 26 21:28:06 2016 @author: YPC """ import numpy as np import networkx as nx import matplotlib.pyplot as plt if False: uu=np.load('mentions.npy') G_dir = nx.from_edgelist(uu,create_using=nx.DiGraph()) G = nx.from_edgelist(uu) G_dir.remove_edges_...
[ "yuki.m.asano@gmail.com" ]
yuki.m.asano@gmail.com
cd1f939ff3dcebcaf7e0de99d733bd8ea807a195
f5fd578fbd9693cfe2146c3606a2d9c02c69245f
/memory.py
4ca78b520de06075384f96c4153d7baee8c03f17
[]
no_license
ShivanshuPurohit/Soccer-using-colaboraton-competition
166005d67a55199d8a50555f3536322ec4b24335
7cc1e8853386d7b687e5c1ea9ca98057252b1b97
refs/heads/master
2022-07-09T12:17:37.004303
2020-05-15T11:33:46
2020-05-15T11:33:46
264,175,382
1
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
import numpy as np from collections import namedtuple import random class Memory: def __init__(self): self.memory = [] self.experience = namedtuple('Experience', field_names=['actor_state', 'critic_state', 'action', 'log_prob', 'reward']) def add(s...
[ "noreply@github.com" ]
noreply@github.com
a5427a4f0624f0bb4bd5eda86c7a9e1f9396c37c
049d6ad6f49aff27ac35fb329675d3ebb4efdb49
/api/routers/dashboard.py
7cdcd3e9c2d7e86acfb845c8d72f0dc9c0f23f7d
[ "MIT" ]
permissive
xming521/coco_API
7be34d6d5cf797d7677b09d2a9f027e479d347b3
51d7ac3141e58f1d6a5438af135fba3ea101bd53
refs/heads/master
2023-07-15T14:03:27.358265
2021-09-04T08:33:14
2021-09-04T08:33:14
337,937,979
0
0
null
2021-09-04T08:33:15
2021-02-11T05:25:08
Python
UTF-8
Python
false
false
2,364
py
import time import psutil import pymysql from fastapi import APIRouter from api.utils import response_code router = APIRouter() @router.get('/dashboard/getinfo') def getinfo(): from init_global import g res = {} db = g.db_pool.connection() cur = db.cursor() cur.execute(f'select count(app_name) ...
[ "1223398803@qq.com" ]
1223398803@qq.com
a4e11a89ccc2959787b334639f4f2662aa95dfda
f308e4d68bd356615eb805c363b7814797dd2869
/venv/bin/pip
872204bb96205da0368975161740cc2fc3cb0716
[]
no_license
rinagalperin/convolution_neural_networks_optimization_EA
cf9708cf387604cf8f1625a252564a6685d2e741
36c343b3c0ff31554d6662e2b51da603868a6134
refs/heads/master
2020-05-03T11:53:21.286476
2019-03-30T21:02:45
2019-03-30T21:02:45
178,611,106
0
0
null
null
null
null
UTF-8
Python
false
false
436
#!/Users/rina/PycharmProjects/convolution_neural_networks_optimization_EA/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|...
[ "rinag@post.bgu.ac.il" ]
rinag@post.bgu.ac.il
44dadbea994a5d273026036fca182ea229fd6eae
d7d6f612badd6c96bbc8b90fff6663da47af0b03
/variational/variational_strategy.py
c0e8f211bc2db1667993299a533800cdfb113b88
[]
no_license
hiteshsapkota/DRO-Deep-Kernel-Multiple-Instance-Learning
b8d69adba08b40722f19e151e06ffe57a3cee1f4
4e23236f50f75dc95ce0f7ab2358528bddcc5310
refs/heads/main
2023-01-02T07:24:38.105342
2020-10-26T00:07:21
2020-10-26T00:07:21
304,165,187
3
0
null
null
null
null
UTF-8
Python
false
false
8,152
py
#!/usr/bin/env python3 import warnings import torch from distributions import MultivariateNormal from lazy import DiagLazyTensor, MatmulLazyTensor, RootLazyTensor, SumLazyTensor, delazify from settings import trace_mode from utils.cholesky import psd_safe_cholesky from utils.memoize import cached from utils.warnings...
[ "hiteshsapkota@gmail.com" ]
hiteshsapkota@gmail.com
3fa376f3ef087cee256d7492675fdc21898a7b95
92c724afcc40c9e4d86af24b1b493e10fc8a994d
/src/figures/exploratory/exploratory_plots.py
f99cbafd230e2935a17d634a4cf0fd989b289b41
[ "MIT" ]
permissive
willgdjones/GTEx
48d7551c765700d0db34bb8f6e01f7f2a55bec6c
c56a5d548978545ab8a98e74236d52343113e9e6
refs/heads/master
2021-09-13T13:21:12.928226
2018-02-06T16:42:41
2018-02-06T16:42:41
90,028,785
2
0
null
null
null
null
UTF-8
Python
false
false
3,241
py
import pickle import numpy as np import matplotlib.pyplot as plt import seaborn import h5py GTEx_directory = '/hps/nobackup/research/stegle/users/willj/GTEx' retrained_mean_features = {} with h5py.File(GTEx_directory + '/small_data/new_retrained_inceptionet_aggregations.hdf5','r') as f: expression = f['lung']['...
[ "williamgdjones@gmail.com" ]
williamgdjones@gmail.com
2e6d525f0693ba26ecf20429238d8ba878370522
bc441bb06b8948288f110af63feda4e798f30225
/resource_package_tools_sdk/model/container/ingress_rule_pb2.py
e7533ea4ef040c1f29394bd3dd0d9f6cdf9fbc34
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
4,319
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ingress_rule.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
[ "service@easyops.cn" ]
service@easyops.cn
bdae7154b5cea8e1017b5d3792285a3bbd6fc65a
e44e34bd7da991886fe72ca72376fc0e23d626c8
/src/visualization/melbourne_risk_map.py
354bcf394eb0480233fc3da00cb0ddf1693a0861
[ "MIT" ]
permissive
delewis13/MelbourneCrashModel
dfe76e8b58ac4a6f3c3eed32bcdbf03b7aa1f02c
82a01e5d33b4127e812f9a8ff374ac3d3ec88bd4
refs/heads/master
2020-04-28T14:16:30.301872
2019-03-13T03:40:33
2019-03-13T03:40:33
175,333,442
0
1
null
null
null
null
UTF-8
Python
false
false
4,776
py
""" Title: risk_map.py Author: @bpben, @alicefeng This script generates a map of the "risk estimates" from model predictions. Usage: --modelname: name of the models these will be used as the name of the layers in the map so they must be unique --filename: filename of predictions pre...
[ "daniel.elliott.lewis@gmail.com" ]
daniel.elliott.lewis@gmail.com
e9cd8a69e1305b9f4611f65499b9ed391fe008cc
f9869c7df81c12bd9c06fe7541c08875cea4b561
/modelo2/doctor.py
1a1941ee37f5eeda4856973c17f9f3074944c2a2
[]
no_license
JoeSantamariaParedes/Trabajo-4---Modelamiento-UML-
5230e4372826e4413f9c9232ccec6dcddc4e3776
e1bc8be0a0fa7cf83a963b62eaf8ee107d01e830
refs/heads/master
2020-11-26T17:03:45.722533
2019-12-19T22:54:03
2019-12-19T22:54:03
229,149,829
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
class Doctor(): def __init__(self,nombre,bata,sexo,servicio,sueldo): self.nombre=nombre self.bata=bata self.sexo=sexo self.servicio=servicio self.sueldo=sueldo def curar(self): return "el doctor "+self.nombre+" lleva una bata de talla "+self.bata.getTalla() de...
[ "jsantamariap@unprg.edu.pe" ]
jsantamariap@unprg.edu.pe
ba6f02e70e1a01a7f356e9a3c185e2cf3e8c12db
fa92171d92256022887c3460ed12b6124b42e21c
/doc/sphinxext/google_analytics.py
219831dae12922be2ce0c549122b50445697b790
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
SimonBussy/tick
667e5fe2fa8c9e4abfad69446591ba624a1589f1
ea27359ed16f434adbc5a27549901c43953c4f7b
refs/heads/master
2022-01-23T03:13:01.686981
2019-06-04T12:45:51
2019-06-04T12:45:51
108,631,034
0
0
BSD-3-Clause
2019-04-08T12:32:36
2017-10-28T08:02:11
Python
UTF-8
Python
false
false
1,523
py
"""Add google analytics to sphinx documentation imported from sphinxcontrib google analytics package https://bitbucket.org/birkenfeld/sphinx-contrib/src/e758073384efd1ed5ed1e6286301b7bef71b27cf/googleanalytics/ """ from sphinx.application import ExtensionError def add_ga_javascript(app, pagename, templatename, cont...
[ "mbompr@gmail.com" ]
mbompr@gmail.com
19f990b8c95333d54d23e25a16d628b058b36667
853fc7cfb1d41d2f494e6bafd551ccc62e070c1f
/writelog_ora.py
03b5a7e60805fad2ba98e70a1752a48be71eb7f6
[]
no_license
AlbertoFro/mongodb
923a62e4255163a8ff22fcffe42f44e74dfe93a5
d72aaa8c3c33592515f49008d0448468363a61ee
refs/heads/master
2021-01-02T22:51:54.267084
2015-12-09T15:07:44
2015-12-09T15:07:44
28,186,696
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
''' #------------------------------------------------------------------------------- # Name: writelog mongodb # Purpose: # # Author: alberto.frosi # # Created: 16/12/2014 # Copyright: (c) alberto.frosi 2014 # Licence: Use of this source code is governed by a BSD-style #-----------------------------...
[ "alberto.frosi@gmail.com" ]
alberto.frosi@gmail.com
73a79c0a0c1c5e9d6c2fee8835e043ee5cd436e9
c534ad195ac97575b84945e5cecd1835f869b7fb
/graph.py
60642a6dc93bc4eca45dc37c1d61f685726c4b3f
[]
no_license
GilTeixeira/del
a8174253a54fc2f8fd558096f9cbf50dbbef69d8
987f8a7888e7cdc588533f95a029cd9656333472
refs/heads/master
2022-10-10T23:58:22.132595
2020-06-07T15:36:14
2020-06-07T15:36:14
266,888,847
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
def fibonacci(n): a = 0 b = 1 if n < 0: print("Invalid Input") elif n == 0: return a elif n == 1: return b else: for i in range(2,n): c = a + b a = b b = c return b
[ "noreply@github.com" ]
noreply@github.com
239e3bfb27478f5c1eba4bf0fee205ff315931a8
d17c3478940c0fbb4d670a87a6b8725314529a63
/대화상자2.py
68ba35d981f3be6579b79c7cc02c6011365db815
[]
no_license
whchoi78/python
60e9b347bab81b7c8fd8e1328443bd6fd3653b29
d12929bfb2d55cd85c2fea55c2d64f9374839107
refs/heads/master
2023-04-06T12:52:08.814720
2021-03-29T23:38:24
2021-03-29T23:38:24
329,628,448
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from tkinter import* from tkinter.filedialog import * window = Tk() window.geometry("700x500") window.title("대화상자 테스트") label = Label(window, text="test") label.pack() save = asksaveasfile(parent=window, mode="w", defaultextension=".jpg", filetype=(("GIF파일", "*.gif"), ("모든파일","*.*"))) label.configure(text=save) sav...
[ "caliper78@naver.com" ]
caliper78@naver.com
7c36ac1c024cf960649d2e0a49ddbbd0087fdc2f
a849caca4cc7b66bb3ca93552da873c1415f435d
/Lab Exercise 1.6.2020/fermi.py
0fb3f6a5b5b8d5291e9c7c3a08e24662cec98290
[]
no_license
nmessa/Python
5215b957dc73ece422a0f4cc65752c387a437d34
1a32ca1f59aa5a3f89453b6e42d4336e6e8fb961
refs/heads/master
2021-07-11T04:45:08.222102
2020-09-17T17:32:07
2020-09-17T17:32:07
199,273,131
0
1
null
null
null
null
UTF-8
Python
false
false
2,182
py
## Game of Fermi Version 0.5 ## Author: ## Date: 1/6/2020 ## The goal of the game is for the player to guess the digits in ## the three positions in the least number of tries. For each guess, ## the player provides three digits for position 1, 2, and 3. ## The program replies with a hint consisting of Fermi, Pi...
[ "noreply@github.com" ]
noreply@github.com
e64dc1af108b5ff6281dda5da8187a24124564d2
2ca6b3a82d30d67d609091e723dcf031f9fb7907
/rents/models.py
2ea787d96dd5f23ffd826f836f54b01565260a8a
[]
no_license
EKCodeDevAcc/finalproject
81822ba531937a0cefe79d4d138bc4ddaa07f1e4
8314bb1485e3b3643025c15885b1ae9b8c0ffeff
refs/heads/master
2020-03-25T05:14:30.343941
2018-08-09T20:37:36
2018-08-09T20:37:36
143,436,321
0
0
null
null
null
null
UTF-8
Python
false
false
2,821
py
from django.db import models from django.conf import settings # Create your models here. class Location(models.Model): location_name = models.CharField(max_length=64) location_address = models.CharField(max_length=64) def __str__(self): return f"{self.location_name} {self.location_address}" clas...
[ "edkang59@gmail.com" ]
edkang59@gmail.com
59823f407dda26caab3487a38fd09aa7ffb051bb
69aae40fbe697dc010b57f9ddcea300da3509824
/lab2_7.py
7a84737bc452cfa97485468a3c94f3d1a4e8cd3c
[]
no_license
eunseo5355/python_school
ad34336d37490169c4ff2a760f88e01697c9f083
695e070e915f4b312691cfb4ec12c26531b0b2ce
refs/heads/master
2022-03-24T00:28:58.069406
2019-11-27T15:55:09
2019-11-27T15:55:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
# 이율, 기간, 원금을 입력받아서, 원리금 합계를 출력하라. a = float(input("연이율:")) b = int(input("기간(년):")) c = int(input("원금(원):")) print("원리금:", c*(1+a)**b)
[ "55755686+eunseo5355@users.noreply.github.com" ]
55755686+eunseo5355@users.noreply.github.com
7b9e3549a6ea1e1d8e6f67ce84745f3d7cd3ee9d
28026dec7c84107d04a275ba8a4ef161d70fbd70
/lightweighttranscribe.py
d256c074739e8434ec7faccc01159175b226844b
[]
no_license
krypted/lightweighttranscription
7345386b2e2e60d7c41b38bf4790b38dbc5ace8d
f404cce6ae4f3c6244e539ba4c02dd2659d20fb0
refs/heads/master
2022-11-28T00:27:19.599481
2020-07-28T15:17:17
2020-07-28T15:17:17
283,249,724
5
0
null
null
null
null
UTF-8
Python
false
false
2,478
py
import sys import ast import uuid import time import boto3 import textwrap import logging from tqdm import tqdm logging.getLogger().setLevel(logging.INFO) output_file_name = str(sys.argv[-1]) input_file_name = sys.argv[1] bucket_name = input('Enter the name of s3 bucket:') or 'krypted' s3 = boto3.resource('s3') cli...
[ "noreply@github.com" ]
noreply@github.com
21fcabff5a0b2ddbb8b5f1f51c925095120b9ba9
bc4c6c63b7c4b652c102d9729b897e64fbddc826
/setup.py
e085f7737ee0fbbc52dd9cf33e9420065627f549
[ "MIT" ]
permissive
jgoodell/messenger
442b3cbf26c43ec1b0fee19cdfb1d00dc44a4c6b
e2789121b0ee42629de2ec0630b0eb7cc826804b
refs/heads/master
2021-01-22T02:52:50.994108
2014-09-11T19:21:38
2014-09-11T19:21:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
import os import shutil from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # Move the files to a location where setuptools is not confused try: os.mkdir('package') except OSError: os.remove('package/models.py') os.remove('pack...
[ "jason.goodell@harrison.edu" ]
jason.goodell@harrison.edu
80d5b183ea338606cf31e81d66bb09688ab48bc1
868dc7389792d77824a9bbe32afcee2a7188d8bf
/SportcenterApp/migrations/0006_auto_20180723_1411.py
dae16038e590c43e582dca297c3ee4b82ba81e9f
[]
no_license
Mobencl/Internship
cc00fc9e29b311de70299a9063cdd309a88c5f3c
f7e40c3784a0e2b0a52031ac320cef0324ba8e20
refs/heads/master
2020-03-23T22:58:37.720558
2018-07-24T20:58:59
2018-07-24T20:58:59
142,076,289
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-07-23 18:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('SportcenterApp', '0005_remove_terrain_totalterrains'), ] operations =...
[ "noreply@github.com" ]
noreply@github.com
f35949841d7f53542b0440e85b402c3e15a4c2c8
1a1d872fd04050587a28f4da6b0062640afd99a4
/aladin/url.py
8b056d009b530bab15d9f20cdec22103fb231629
[]
no_license
kashvats/ecom
d8f0fe1ff6ffc38e300db3ab8b66bcde010a3269
a92d7f4d1c410e5313ba11f4c3736460b4cdb91f
refs/heads/master
2023-08-24T17:31:45.414888
2021-10-05T18:16:25
2021-10-05T18:16:25
413,929,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
from . import views from django.urls import path urlpatterns = [ # path('curt', views.curtaclan,name='curta'), path('login/', views.log_in,name='login'), path('logout/', views.log_out,name='logout'), path('register/', views.register,name='register'), path('category', views.categoryview,name='catego...
[ "vatsakash168@gmail.com" ]
vatsakash168@gmail.com
4b8151db96044034be066029bc33c2d661687670
87cabec126acb99572ed4832f6c9a7c55309417a
/simple/wishful_simple_controller
bf82b7707bee137b9f9add8fa6dee5457b2ae7c3
[]
no_license
ECOAP/examples
a996a9762ffe429b1f7faba3ac0adfb0e93bac97
8f67b9334c7c21f7cd1443afd54c4c12ee260be5
refs/heads/master
2021-05-02T11:23:54.175327
2018-05-23T15:53:04
2018-05-23T15:53:04
120,776,617
0
1
null
2018-03-07T12:05:07
2018-02-08T15:06:32
Python
UTF-8
Python
false
false
4,683
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ wishful_controller_simple.py: First implementation of WiSHFUL controller Usage: wishful_controller_simple.py [options] [-q | -v] Options: --logfile name Name of the logfile --config configFile Config file path Example: ./wishful_simple_local_contro...
[ "gawlowicz@tu-berlin.de" ]
gawlowicz@tu-berlin.de
ef31a019c6a45e981d10734a870eb4e44043c0d3
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/bokeh-0.11.1-py27_0/lib/python2.7/site-packages/bokeh/command/subcommands/tests/test_info.py
42f6e6e775b0cc0b11df05470c21ff00bfa6d4cd
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
1,238
py
from __future__ import absolute_import import bokeh.command.subcommands.info as scinfo from bokeh.command.bootstrap import main def test_create(): import argparse from bokeh.command.subcommand import Subcommand obj = scinfo.Info(parser=argparse.ArgumentParser()) assert isinstance(obj, Subcommand) de...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
41f649e92b5eca74f9ec9f8b7e3b850ee74739a1
6703ccb01ec7ac9d3a1e8528d1a66f12ffb2a180
/KennywoodEnv/bin/sqlformat
ccc94c4728753b77ba5b619e8ce13c3d3559a593
[]
no_license
mister-michael/kennywoodapi
a36c4b7a811eb4fad857cc0d01fa5df5eef98c0b
c442411dc9da5a95eaf59ec1a687dff4358d3016
refs/heads/master
2023-08-23T15:22:58.728621
2020-05-19T20:33:00
2020-05-19T20:33:00
265,338,133
0
0
null
2021-09-22T19:03:19
2020-05-19T19:02:25
Python
UTF-8
Python
false
false
278
#!/Users/d.a.n.k.e./workspace/backEnd/book4/kennywood/KennywoodEnv/bin/python # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "michaelclarknashville@protonmail.com" ]
michaelclarknashville@protonmail.com
7769a729fa30e2520aea537678665b9927d2a569
130321044c6a0633dafdd8af0dce04df4c261bb0
/get_data/split_json_list.py
1dc2e16893c9e4db66ed89253aa6bc5e32d3341a
[]
no_license
etdej/twitter_ideal_point_estimation
d4fcf18d40ec67121b55ca5f0bcaa36c5e54bb59
72558a50a80d389e1a77da2525ce055acc941c3e
refs/heads/master
2021-08-30T05:18:10.092049
2017-12-16T05:14:43
2017-12-16T05:14:43
105,032,317
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
import math import utils import random # number of splits N = 10 #file to split fin = 'fr_elites_handles.json' twitters = utils.json_load(fin) random.shuffle(twitters) M = len(twitters) k = math.ceil(M/N) separated = [twitters[i:i+k] for i in range(0, M, k)] fname, extension = fin.split('.') for i, accnts in enumera...
[ "d.mesquita285@gmail.com" ]
d.mesquita285@gmail.com
4dab070f449410287de403e2ad634405becb5e22
f6d52b8c660756e07763ffa88e07e6c02423c10f
/Python/interview/structure/stack.py
136d905b5b9b5f893bb8332475ebdb27b744d770
[ "MIT" ]
permissive
lxy1992/LeetCode
4cf12eed77baed4b04755389fdb5e1133d994a07
9486d8611b169bca0cadc6cd83bbc12b0fa4f669
refs/heads/master
2021-01-13T17:25:08.145893
2017-06-06T09:45:09
2017-06-06T09:45:09
81,793,899
0
0
null
2017-02-13T06:47:56
2017-02-13T06:47:56
null
UTF-8
Python
false
false
1,321
py
"""所有操作均为O(1)""" import Empty class ArrayStack: """LIFO Stack implementation using a Python list as underlying storage.""" def __init__(self): """Create an empty stack.""" self._data = [] # nonpublic list instance def __len__(self): """Return the number of elements in the stack."...
[ "lxy@lvxinyandeMacBook-Pro.local" ]
lxy@lvxinyandeMacBook-Pro.local
ca4b7e3b02e3f9d8bd800d4002d8a1a7aaa44271
0b7add5d8583ba3bb02faf4fd5c356fd578f2fcc
/compileProtobuf/dstPb/RightInputProto_pb2.py
6c7f725c3da07982fafe4f3b3735e4d2df9ca053
[]
no_license
cappuccino213/IMCIS2Performance
281f052f1a5dddb4956b3e7127781d2395c07e04
74528e0606f78459f6f3bfcf38d4fdf176a36f90
refs/heads/master
2023-03-27T20:44:57.266345
2021-03-29T07:56:56
2021-03-29T07:56:56
352,560,398
1
0
null
null
null
null
UTF-8
Python
false
true
3,095
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: RightInputProto.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google...
[ "yeahcheung213@163.com" ]
yeahcheung213@163.com
af2e54884f3e5f2acd073a099712200b9e6d0ae3
47d1d1b09594d1d22137fe188825a7bee58eae77
/MasterEquipment/TradeGoods.py
01c2c947af72e268b6b630833440fe53a9072441
[]
no_license
CattMoker/Discord-Diamond-Dog
554feb7072991779db337e6d366dd1f8635b3085
45b6a01f49acb2b19171ddddf8425c8928979332
refs/heads/master
2020-03-30T03:01:20.478250
2018-05-07T21:54:27
2018-05-07T21:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
from MasterEquipment.Equipment import Equipment as Equipment class TradeGoods(Equipment): goods = "" def __init__(self, inCategory, inCost, inWeight, inGoods): super().__init__(inCategory, inCost, inWeight) self.goods = inGoods def getGoods(self): return self.goods def setG...
[ "alcoholicorn@gmail.com" ]
alcoholicorn@gmail.com
5268c2e9a82702cd0d3934e974fa03bb8519fc99
2c599a057c064f6e2b6e3b6795551dc3c6e931df
/main.py
4f040bb5669bd42e086e8a602f1c8b9a7f7fa0ca
[]
no_license
SomeJavaGuy/mintworthy.art
8bd58776b38c8b66e8d68c66919cdd40d06ba0a0
c5293a798946383fce428aab201f4d33d5ae0573
refs/heads/main
2023-03-24T04:21:29.802308
2021-03-21T22:05:25
2021-03-21T22:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,460
py
from PIL import Image from PIL import ImageDraw from PIL import ImageFont from random import randint from glitch_this import ImageGlitcher import utils import os import uuid from web3.auto.infura import w3 glitcher = ImageGlitcher() assets_dir = "assets/" extension = ".png" # construct_path constructs the path for ...
[ "ktmfuji@gmail.com" ]
ktmfuji@gmail.com
ef7250bd0abdff76776b5c47208d55fca1b57e6b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/farm.py
230a7720738a0d70a94d4b11e691cbfc733a27b7
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,923
py
ii = [('EmerRN.py', 4), ('CookGHP3.py', 2), ('LyelCPG2.py', 1), ('MarrFDI.py', 4), ('GodwWSL2.py', 1), ('SadlMLP.py', 1), ('WilbRLW4.py', 1), ('RennJIT.py', 2), ('AubePRP2.py', 6), ('CookGHP.py', 3), ('MartHSI2.py', 22), ('LeakWTI2.py', 6), ('KembFJ1.py', 4), ('WilkJMC3.py', 5), ('WilbRLW5.py', 2), ('LeakWTI3.py', 16),...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
048c074ff0fd7901b63ef7e725035b3503c24214
136b315c9573cbbd6d613e45c34c6e79e98c8b25
/corehq/apps/case_search/xpath_functions/comparison.py
64a4f5850102399d6adbc5b5364445e3bd35c904
[ "BSD-3-Clause" ]
permissive
soitun/commcare-hq
088074835dd9cb1507a3d57523e5065ae4533fd8
5ee0ecadc08ecd1691ee0a26f8907ae0728af28e
refs/heads/master
2023-08-23T08:06:09.694400
2023-05-12T10:18:24
2023-05-12T10:18:24
124,774,234
0
0
BSD-3-Clause
2023-05-15T22:20:21
2018-03-11T16:08:49
Python
UTF-8
Python
false
false
1,432
py
from django.utils.translation import gettext from eulxml.xpath import serialize from eulxml.xpath.ast import Step from corehq.apps.case_search.dsl_utils import unwrap_value from corehq.apps.case_search.exceptions import CaseFilterError from corehq.apps.case_search.const import RANGE_OP_MAPPING, EQ, NEQ from corehq.app...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
c989ba0f008495f905558182fddc35d7568485b4
3d1ec51718c98505c41a94dc26c0cd35f46482ec
/3-5-2_英翻中字典.py
10e9e5eaa04d518cd7a09d5001dbbf5f5d4cc59e
[]
no_license
a235689741023/python-learning
0c772ef79f29ed53def858e253625a1230cccd59
badb3bfa66348934cd63eee1eff7d4c7a0f02422
refs/heads/master
2022-01-13T20:04:19.989119
2019-08-01T01:32:55
2019-08-01T01:32:55
198,148,161
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
字典 = {'dog':'狗', 'fish':'魚', 'cat':'貓', 'pig':'豬'} print('可檢索單字:', 字典.keys()) print('字典全部內容:', 字典) 單字 = input('請輸入要找的英文單字:') print(字典.get(單字, '找不到該單字'))
[ "helenhan25@gmail.com" ]
helenhan25@gmail.com
d30e940f0c1fa6242abd3278f9b7bf1d9ec24ff8
b677b5319f76466601521d47ed91b177f4bbaffb
/dittybox/vm_param_generator.py
468dc35c78b68cbe512fd05224dcedd776b1ef1d
[]
no_license
matelakat/ditty-box
b74e7b823cf8a75fde14e71dcc852a0d2fd401ab
64a274feefa2d319c6ef70c78cc6acd30b27ccbc
refs/heads/master
2021-01-01T05:38:51.916016
2014-07-20T20:30:29
2014-07-20T20:31:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
class NoMoreResources(Exception): pass class NameGenerator(object): def __init__(self, prefix, first_id, last_id): self.prefix = prefix self.first_id = first_id self.last_id = last_id def new_name(self, vm_names): for counter in range(self.first_id, self.last_id + 1): ...
[ "mlakat@mlakat.hu" ]
mlakat@mlakat.hu
0cce2b2191fd7796e4fecb0a131df5fc58e86448
0a2cb84edea4df799ae3abd016a81ffe7bb22e45
/caesar.py
ef65abeb3df94ba7f0aa691cbb78f50ee1698100
[]
no_license
suhachakka/web-caesar
4c7221e69bd1ccc4ab485a83c669f1006d699973
ec6c80a5e59eb1bbe1782b98ec1b202e80b803b8
refs/heads/master
2020-03-29T01:28:17.545134
2018-09-22T04:34:09
2018-09-22T04:34:09
149,391,122
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
def alphabet_position(character): alphabet = 'abcdefghijklmnopqrstuvwxyz' lower = character.lower() return alphabet.index(lower) def rotate_string_13(text): rotated = '' alphabet = 'abcdefghijklmnopqrstuvwxyz' for char in text: rotated_idx = (alphabet_position(char) + 13) %...
[ "suhasinichakka@gmail.com" ]
suhasinichakka@gmail.com
38a80c15f2ce13d2c78e5913a3b1aadf4fc2e70a
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/sieve-457.py
99bc8c55e3be4471951f624dbaca0a87b6c3a62a
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,586
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
9ffcf463440da067d9865ec658dd284d73cce73f
fac69bc589361d0f1a8470a0f6070d15b9577b30
/hostmonitor/management/commands/pinghosts.py
5bbde81eda5559f042745776df2983086b8df138
[ "MIT" ]
permissive
pombredanne/vahti
ec2d4595b1e1349cb2cef69ac47ec260f590f4e9
f6e130d08b959e96cae537b85871e3c3795cb4a0
refs/heads/master
2020-12-31T03:56:34.885272
2012-05-28T17:03:51
2012-05-28T17:03:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,462
py
from datetime import datetime from subprocess import Popen, PIPE from time import sleep from optparse import make_option import socket from django.core.management.base import BaseCommand, CommandError from hostmonitor.models import Host FPING = 'fping' def ping_hosts(hosts): args = [FPING] + hosts p = Popen...
[ "joneskoo@kapsi.fi" ]
joneskoo@kapsi.fi
9e3333b2f64dc19a208bd5f1e9d3f314db688059
22744511e8a5683fb3c1f7ae32ceff72ae6052af
/DepthSynthesis/models/sync_batchnorm/batchnorm_reimpl.py
d0b6b6c085239ca83e9047d8d4033a5de771da5e
[ "MIT", "BSD-2-Clause" ]
permissive
YanchaoYang/DCL-DepthSynthesis
a655db76eb4c70305ce566f37d6279aec1c4309e
daca03cad66836aae65ac4d73f25b02a06c98595
refs/heads/main
2023-06-26T00:52:34.981130
2021-07-26T08:16:26
2021-07-26T08:16:26
451,676,814
1
0
NOASSERTION
2022-01-25T00:07:46
2022-01-25T00:07:45
null
UTF-8
Python
false
false
2,382
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : batchnorm_reimpl.py # Author : acgtyrant # Date : 11/01/2018 # # This file is part of Synchronized-BatchNorm-PyTorch. # https://github.com/vacancy/Synchronized-BatchNorm-PyTorch # Distributed under MIT License. import torch import torch.nn as nn import torch...
[ "jhonve@zju.edu.cn" ]
jhonve@zju.edu.cn
1e75dd937e7a1e842472c37a23b9269408e82317
c0340c511cff5b40b4681c4d3238d807624c0323
/results/correlations/plot_byLanguage/plotByLanguage_Combined.py
9578733a8e10cb798dc13acd08a5f49b86cbdb51
[]
no_license
m-hahn/grammar-optim
5fa7ade47d2ad91f517c887ee2c65af24059069d
07a1a80692a504bcafc8120a21c4dc9066b495ee
refs/heads/master
2022-08-30T06:54:42.749264
2022-08-05T12:09:28
2022-08-05T12:09:28
156,456,167
13
2
null
null
null
null
UTF-8
Python
false
false
8,378
py
source("./readGrammarsPerLanguage_Combined.py") D$LanguageNumeric = as.numeric(D$Language_Ordered) D$FamilyPrint = as.character(D$Family) D = D %>% mutate(FamilyPrint = ifelse(FamilyPrint == "Malayo-Sumbawan", "Mal.-Sum.", as.character(FamilyPrint))) D = D %>% mutate(FamilyPrint = ifelse(FamilyPrint == "Sino-Tibeta...
[ "mhahn29@gmail.com" ]
mhahn29@gmail.com
a1ca652bbcbc6fe3ceebec0c3c56a8205ba2449f
3597ecf8a014dbd6f7d998ab59919a94aff8011d
/front-web/src/www/application/modules/treatment/block/actions.py
18cc3477c9e71c71e2a949ed2b6fbd5799dbce77
[]
no_license
duytran92-cse/nas-genomebrowser
f42b8ccbb7c5245bde4e52a0feed393f4b5f6bf1
d0240ad5edc9cfa8e7f89db52090d7d733d2bb8a
refs/heads/master
2022-10-24T05:26:01.760241
2020-06-14T19:01:35
2020-06-14T19:01:35
272,264,694
0
0
null
null
null
null
UTF-8
Python
false
false
4,214
py
from django.http import HttpResponse, HttpResponseRedirect, JsonResponse from django.conf import settings from notasquare.urad_web import actions, page_contexts, widgets from notasquare.urad_web_material import renderers from application.modules.common import page_contexts, actions as common_actions, components as comm...
[ "thanh.tran@etudiant.univ-lr.fr" ]
thanh.tran@etudiant.univ-lr.fr
ad4ea41c0d680a2d8809ce479448e93a9cd7d4a6
69e035ffa4e668e34ee4bb4f390d12a05ab8de51
/stats.py
f16a23ab096a555fabfbf66fa2f47f87636bc12c
[]
no_license
bhavyakarki/useful-scripts
e2f5e7fa7ea2e8bd70b69ed3cbc81b77b1e92b21
e61557283ed903bdfee8b79b85190ff1fe4d8b2a
refs/heads/master
2021-04-27T10:00:33.756630
2018-04-25T19:59:40
2018-04-25T19:59:40
122,526,392
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
import os import pandas as pd file_path = './segmented_file/WL1_combined.csv' # change this df = pd.read_table(file_path, sep = ',') (log_num, feature_numbers) = df.shape dbnode = df['dbNode'].unique() subdf = {} for node in dbnode: subdf[node] = df[df['dbNode'] == node] stats = {} for d in subdf: stats[d] = su...
[ "noreply@github.com" ]
noreply@github.com
69e0a9dba8e04c37c15b79176b50c4f4a85b68b6
114c853cc80877b542bb6d4cc3eabf09452f02a2
/blockchain.py
09b20846aa25ccca9e99c357a687337e099100f6
[]
no_license
ashishbaghudana/blockchain
e5b3d8e6c7a5ddefabcff066c15c6b20ceb7d039
0e8dcd2b403f2024a48ad882e30fd4556fbd91d2
refs/heads/master
2022-12-10T17:54:01.079638
2018-11-15T17:34:33
2018-11-15T17:34:33
155,915,415
0
1
null
2022-12-08T01:17:54
2018-11-02T19:58:23
Python
UTF-8
Python
false
false
4,844
py
import hashlib import json from urllib.parse import urlparse import requests from block import Block from transactions import Transaction class Blockchain(object): def __init__(self): self.chain = [] self.current_transactions = [] self.last_consensus = 0 self.nodes = set() ...
[ "ashish.baghudana26@gmail.com" ]
ashish.baghudana26@gmail.com
2acbb3b79b0a4861189cb1c43f2d7fd5049f0132
fc2447b91cbee82e74e939092ec1903678f3217a
/PythonPractice/hm_py/hm_oop/oop_single.py
4b09ef3d411106af86bc146dc8c60d1ee2a315ee
[]
no_license
yglj/learngit
0eac654e7c49f2ede064b720e6ee621a702193b4
74fb4b93d5726c735b64829cafc99878d8082121
refs/heads/master
2022-12-24T10:01:56.705046
2019-05-27T21:04:08
2019-05-27T21:04:08
146,157,116
0
1
null
2022-12-12T07:01:25
2018-08-26T06:28:20
HTML
UTF-8
Python
false
false
924
py
# 单例设计模式 # 类只有创建唯一个对象实例 # 应用场景: 打印机,回收站,音乐播放对象 # __new__() object提供的内置静态方法,作用:为对象分配空间,返回对象引用 class MusicPlayer: __init_flag = False instance = None def __new__(cls, *args): if cls.instance is None: # 利用__new__只分配一次对象空间,来实现单例 print('创建对象时,自动分配空间') cls.instance = super().__...
[ "2365952530@qq.com" ]
2365952530@qq.com
e0f35f41455126b5d8fad7e0a5ea444fa821a098
ae73157165bce648fce14bb77df19c20f3cd1027
/setup.py
f25ea985f92182701b2134e62e7bc69eca2cfc7a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
honzamach/pyzenkit
870ab1ff7b2dca8b13af57cc44bc3ac17a2d8ce9
ef344bee2f4df6c08595b98b7f830852cca63bed
refs/heads/master
2022-01-26T02:23:07.924087
2022-01-20T08:51:16
2022-01-20T08:51:16
84,448,268
0
2
NOASSERTION
2021-01-10T19:36:05
2017-03-09T14:00:44
Python
UTF-8
Python
false
false
2,180
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- #------------------------------------------------------------------------------- # This file is part of PyZenKit package. # # Copyright (C) since 2016 CESNET, z.s.p.o (http://www.ces.net/) # Copyright (C) since 2015 Honza Mach <honza.mach.ml@gmail.com> # Use of this package is...
[ "honza.mach.ml@gmail.com" ]
honza.mach.ml@gmail.com
ea8bcdc0b183def68c8745950edbbf13533c588d
65b708f0646ea090a4e9bc615cd37fd799bd9bce
/venv/Scripts/pip3-script.py
307f938a7427296d42bf18912a97aeee71dc9f96
[]
no_license
chrisna2/python-web-scrapping
af803079586c7b798365d23f5667a24d0c6633e8
92e74b4985006246f543de87ff26673b94e8c0a8
refs/heads/master
2020-07-08T14:40:32.959560
2019-08-23T03:19:47
2019-08-23T03:19:47
203,703,270
1
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!D:\tyn_dev\workspace_pycham\web-scrapping\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "chrisna2@hanmail.net" ]
chrisna2@hanmail.net
2c4770fe31758b3032479cc4fd7393a4fa97b0d9
89012c1f0873f787e2cdb2306216508f759ed153
/python/python-request/pyreq/lib/python3.7/codecs.py
3e7810769ba9d240fcc55119421e3a7cbd4bf541
[]
no_license
mazharul-miraz/summer-mid-night-019
4727aa7ec70fc22f8870b1ce63cdd19637c0f6aa
ba73ab575fd24a6307d5a0421b514600c2d1e93f
refs/heads/master
2020-05-26T23:20:08.874374
2019-06-13T07:36:09
2019-06-13T07:36:09
188,410,243
1
0
null
null
null
null
UTF-8
Python
false
false
46
py
/home/miraz/miniconda3/lib/python3.7/codecs.py
[ "mazharul.miraz@outlook.com" ]
mazharul.miraz@outlook.com
33098e32a62e5b220295bdfe9ae5aa02f0f87789
39abd398b6198cfff0744e535eb1491a8bb15e01
/geektext/shoppingcart/migrations/0001_initial.py
8c824b532f342b6b36b68d4475da33168be6bab6
[]
no_license
Dhern251/GeekText
62f067aac41473b1ec9b3913ad4fbcd8dee5cbf6
3b4ea603e5407d8c61af22ac2adbae90ef5be286
refs/heads/master
2020-05-07T19:53:50.419075
2019-04-12T18:43:51
2019-04-12T18:43:51
180,834,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,585
py
# Generated by Django 2.1.5 on 2019-04-05 19:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cart', fie...
[ "noreply@github.com" ]
noreply@github.com
589d99eaa85b21d2d2cd4f07fe756024239ee12f
e3b2c43265611599389ea0a97ab50a8b7d7d7657
/firstproject/firstapp/urls.py
92ba5fccb5923e724108c5c0e349ee5bac0283d0
[]
no_license
HosneMubarak/prectice-rest-framework-version-1
979d1faf1d09c4e070ce8b638bc1261afb630c52
01291c85c947e77d90b61af8a83251e2002245f0
refs/heads/master
2023-07-09T22:55:24.883705
2021-08-24T19:55:39
2021-08-24T19:55:39
399,588,086
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from django.urls import path from firstapp import views urlpatterns = [ path('employees', views.employeeview), ]
[ "h.m.tasmir@gmail.com" ]
h.m.tasmir@gmail.com
a86a0154482e16cf8c3571c48245f99aa3682c3a
3929bd90b9c82108b064e8b63494f6959cc7c4e1
/ke/images/python/replication_controller.py
75ed95f1209707eb848207d9d93a500d12008d77
[ "Apache-2.0" ]
permissive
justasabc/kubernetes-ubuntu
32ab2b84dbedd9950ae1f992b1edce1437d86d41
afc670297a5becb2fcb4404c3ee1e02c99b5eaf4
refs/heads/master
2016-09-11T10:57:51.936077
2015-05-31T14:42:33
2015-05-31T14:42:33
31,883,281
1
0
null
null
null
null
UTF-8
Python
false
false
2,280
py
""" Class Hierarchy G{classtree: BaseController} Package tree G{packagetree: controller} Import Graph G{importgraph: controller} """ from cluster_tool import KubernetesTool from controller_param import ControllerParam class BaseController: def __init__(self,controller_id,config_path): self.controller_id = ...
[ "zunlin1234@gmail.com" ]
zunlin1234@gmail.com
88d7f07934a63b614d966b992377ec9e7127692d
08bad9043ac209a954b4f014d578001ea2cb2330
/boards/tests/test_view_topic_posts.py
ac02a80bb210afec3c8c4ada1954eb2efce1f2c2
[]
no_license
vathsanvk/mydjangoproject
dddb1456b0a0edb92f754781227fe25b06edeca4
35d96413384f7bdd5915dabf2ccf42a130b62051
refs/heads/master
2021-05-09T05:48:01.402210
2018-02-12T00:22:48
2018-02-12T00:22:48
119,319,599
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
from django.contrib.auth.models import User from django.test import TestCase from django.urls import resolve, reverse from ..models import Board, Post, Topic from ..views import topic_posts class TopicPostsTests(TestCase): def setUp(self): board = Board.objects.create(name='Django', description='Django b...
[ "vathsan.vk@gmail.com" ]
vathsan.vk@gmail.com
398f050c5dd184fd74799218637e14792cb91eac
c166ede88bb38447b661bc3f30bcd4a1a68c0637
/post/models.py
ae8b72c77afcdc1489137504533aadf88c344af7
[]
no_license
Sherlock527/blog-
f432604af3d68ac43c8f30d9d0f35336f53564fc
f6c9872fd6c409460f7cf89ef3bfedde31d2377d
refs/heads/master
2020-05-04T00:33:14.442394
2020-02-12T05:00:20
2020-02-12T05:00:20
178,886,977
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
from django.db import models # Create your models here. from user.models import User class Post(models.Model): class Meta: db_table='post' id=models.AutoField(primary_key=True) title=models.CharField(max_length=256,null=False) postdate=models.DateTimeField(null=False) # 指定外键,migrate会生成a...
[ "1971474563@qq.com" ]
1971474563@qq.com
557dd823f5842595cf89e5913043fe2de6b19efb
96d56ea8559a82b7709f108751d234611abfd346
/Guess_number.py
f02d75052846b07e4578221891421a9dff7d33c7
[]
no_license
vishwasbeede/Python3-Programs-examples
10b9800232a1dcdebb119fc69be918ab0b1298a5
6c9f54cf5dda8bae8abdf981737ddfa6705ab298
refs/heads/master
2023-05-14T12:30:17.716385
2023-05-08T06:36:33
2023-05-08T06:36:33
221,274,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
#Used random module to select a number from your input and this will match to yours input import random list_int = [] char_sep='-' for i in range(0,6): list_int.append(i) print ("{:<30} {} ".format(" ",(char_sep*100))) print ("\n\n{:<30} Enter charecters for input to stop execution\n\n".format(" ")) print (...
[ "noreply@github.com" ]
noreply@github.com
e6cc8b2f9f4f193759e2a16a4b7d84f28a162423
d87483a2c0b50ed97c1515d49d62c6e9feaddbe0
/.history/get_positions_20210205021452.py
db0322e005440ad0d993a22856f8587be75cdf25
[ "MIT" ]
permissive
HopperKremer/hoptrader
0d36b6e33922414003cf689fb81f924da076a54b
406793c10bc888648290fd15c7c2af62cf8c6c67
refs/heads/main
2023-06-12T15:51:00.910310
2021-07-06T16:15:41
2021-07-06T16:15:41
334,754,936
0
2
null
null
null
null
UTF-8
Python
false
false
1,840
py
# Buy top tickers from Financhill import requests from tda import auth, client from tda.orders.equities import equity_buy_market, equity_buy_limit from tda.orders.common import Duration, Session import os, sys import time from selenium import webdriver import json currentdir = os.path.dirname(os.path.realpath(__file__...
[ "hopperkremer@gmail.com" ]
hopperkremer@gmail.com
a10fce460d77a793e1bf0d8880ecf7cde15f4dbf
222fdb05a31160b3039a8c3d192bedf5fd4fb122
/Exercise_07:Chapter3 problem 3.12 实验报告.py
8a80bcf5e99c4206081d9fb8113156aca1e2efcc
[]
no_license
XiaoxiaTao/compuational_physics_N2015301020157
0e0431ca981aef7261a8e8e858499a8867b7f68f
d30e9d5925e873f792d6adf7d38fb6dbe939efed
refs/heads/master
2021-09-02T09:32:20.832192
2018-01-01T13:15:21
2018-01-01T13:15:21
103,544,045
0
0
null
null
null
null
UTF-8
Python
false
false
2,010
py
from pylab import * import numpy as np l=9.8 g=9.8 dt=0.04 q=0.5 F=1.2 D=2.0/3.0 class pendulum: def __init__(self,w,x,t): self.w=[w] self.x=[x] self.t=[t] def update(self): global g,dt,l current_w=self.w[-1] current_x=self.x[-1] current_t=self.t[-1] self.next_w=current_w-(g/l*np.sin(current_x)+q*cu...
[ "noreply@github.com" ]
noreply@github.com
e5fe6c7970e5ab3c1ec59d4823406e86e6ad60d6
b192fa5cca5faaace36b3cac52d67bd4b50d881c
/libs/myflick/routes.py
06f6d1e655e7141283fcb14fb1c63707776faa59
[]
no_license
mitemitreski/myflicks
f9ae3501607e3d321f7812731766c73f6fa6df3e
c95addd564d71c2267fbf029060d14848c225c7e
refs/heads/master
2021-01-18T02:11:51.298371
2013-11-09T16:35:20
2013-11-09T16:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,757
py
from werkzeug.routing import Map, Rule, EndpointPrefix routes = [ EndpointPrefix('index|', [ Rule('/', endpoint='index')]), EndpointPrefix('login|', [ Rule('/login/g', defaults = {'original_url': ''}, endpoint = 'g_request', methods = ['GET']), Rule('/login/g/<path:original_url>', endpo...
[ "b.petrushev@gmail.com" ]
b.petrushev@gmail.com
7a3f9d1a7437cf258fd93efcfdfa3f3a3316d099
45ca434bdb9e48fdbb2cda0e7fdd9a76474117b0
/aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20141111/SetFileCacheExpiredConfigRequest.py
55bd0c22970cd64217840720fb797559c0c97d7f
[ "Apache-2.0" ]
permissive
wanyanzhenjiang/aliyun-openapi-python-sdk
e41e9937ad3f851e5a58f6bea95663e88f7fee13
4a5bf1b35f2395d047ead4444ea46721976bdd24
refs/heads/master
2020-12-30T10:37:55.789911
2017-07-27T06:55:15
2017-07-27T06:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may ...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
a1e3abb3deba3ff508edaacfaadc44769ef7c1c3
3fd5a7b768be44f45fa535c124ab35df064e5eba
/python/template/thread_list.py
00b9e7383aa15d8225234a70ee18640424004f04
[]
no_license
thermitegod/shell-scripts
c5898ad2a877d4d007c33e645fd45528a1a35daf
1fa14cd2c742097e95e3b44bfda445c4dbf5c136
refs/heads/master
2023-07-23T10:36:21.479669
2023-07-06T01:02:52
2023-07-06T01:03:44
152,808,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
# -*- coding: utf-8 -*- # Copyright (C) 2018-2022 Brandon Zorn <brandonzorn@cock.li> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any...
[ "thermitethegod@gmail.com" ]
thermitethegod@gmail.com
b06a84b8b264cc5bc663484e33e4776b9343a656
d1d02da85c052f4dd6909b51936b49d277bd564b
/backend/celery.py
5fcb32598d860a6991b39a9d059fb2692fb19638
[]
no_license
Inbaroth/AssistanceProgramsWatcher
24c406fd04e050a8781dd9d658b3f5d3464ba9c1
99b62c025b1d6a97345c1f2c2a3180dc3d6f2fc3
refs/heads/master
2023-06-29T13:32:39.989496
2021-08-08T14:23:44
2021-08-08T14:23:44
382,018,118
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings') app = Celery('backend') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks()
[ "inbaroth1993@gmail.com" ]
inbaroth1993@gmail.com
10b53f27063148b525f2477dbcd38b2f9b3b7bd4
c97a15335e80e402b8b12f4ce24376ee5bb76e75
/htu21d.py
8a40b4842d116e79b593b8f49be279448d8481bb
[ "MIT" ]
permissive
kevinkk525/htu21d-esp8266
cced054d6efdd83372f52c9781213339eaf19122
04563a1c9aff3f6dbad6665024cdac881eaa332f
refs/heads/master
2021-09-16T22:04:35.820414
2018-06-25T11:48:44
2018-06-25T11:48:44
108,892,044
0
0
null
2017-10-30T18:31:49
2017-10-30T18:31:49
null
UTF-8
Python
false
false
2,104
py
from machine import I2C, Pin import time class HTU21D(object): ADDRESS = 0x40 ISSUE_TEMP_ADDRESS = 0xE3 ISSUE_HU_ADDRESS = 0xE5 def __init__(self, scl=None, sda=None, i2c=None): """Initiate the HUT21D Args: scl (int): Pin id where the sdl pin is connected to ...
[ "noreply@github.com" ]
noreply@github.com
2cd2ec93edcfebd515d0dd45bdf1acdd8df14937
69b238a8a332033e9a595cb684ef46fc57fb33c2
/home/migrations/0001_initial.py
df58552bb438ce1841d15acbf361e7f5f04c7e01
[]
no_license
sebastianbila/electronic_museum
0688cd76f51a123a5592c73d3093d815b888d829
118ba7fb5a6657e52d5af6790f28a4fcb644ca16
refs/heads/master
2022-11-15T22:59:53.544338
2020-07-14T06:37:42
2020-07-14T06:37:42
279,503,142
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# Generated by Django 3.0.5 on 2020-05-03 16:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Feedback', fields=[ ('id', models.AutoField...
[ "sebii_sw@Sebastians-MacBook-Pro.local" ]
sebii_sw@Sebastians-MacBook-Pro.local
fb7d5bf4a453cf483c36820ec233a56926f63930
c7e765a9bed33d3bfb21774e3995bf4a09e04add
/adminmgr/media/code/A2/python/task/BD_1117_1375_1419_1525.py
ea86b27f17cbd91f3957294e879438d4f68c005f
[ "Apache-2.0" ]
permissive
IamMayankThakur/test-bigdata
13dd2ac7fb76c9baed6c3a0aa943057a22e2d237
7f507918c7bec31c92eedcd94491a83486623049
refs/heads/master
2022-05-03T00:59:44.127494
2022-02-10T19:50:16
2022-02-10T19:50:16
201,585,028
10
4
Apache-2.0
2022-04-22T23:39:45
2019-08-10T05:34:09
Python
UTF-8
Python
false
false
2,562
py
from __future__ import print_function import re import sys from operator import add from pyspark.sql import * def calcRank(BatBowl, rank): n = len(BatBowl) for i in BatBowl: yield (i, float(rank)/float(n)) checking = 1 def batbowlKeyValue(x): lol = x.split(',') return lol[0],lol[1] d...
[ "ubuntu@ip-172-31-18-251.ap-south-1.compute.internal" ]
ubuntu@ip-172-31-18-251.ap-south-1.compute.internal
a05dd3fb251fe56180bf527dd125d49e78ed2f08
9fba88f0f177ec82e8ad2a37fbbd3a73ce761bd5
/llord_core_app/urls.py
226236ad8921a0eedb8ea54588ada5088c4584ed
[]
no_license
dasysad/llord
fc5d36077eb781e964871898b472a66790981260
c421ededfa7dee2caa6da9ad9b17503280cb20c3
refs/heads/master
2021-01-18T14:28:41.535329
2014-09-26T08:56:21
2014-09-26T08:56:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# llord_core_app.urls from django.conf.urls import patterns, url from llord_core_app import views urlpatterns = patterns('', # ex: / url(r'^$', views.index, name='index'), # ex: /username/ url(r'^user/(?P<username>\w+)/$', views.user, name='user'), # ex: /property/832NorthWoodstockStreet/ url(r'^property/(?P<pr...
[ "jkdevops@gmail.com" ]
jkdevops@gmail.com
de584c4eb19bb366f817c87559e42f7c262ffe1d
64a2e19c11929e9077a8c99e8d388de279e512e9
/testRunner/runner.py
0278655d701a52dba205cd68ffe58b706039b381
[]
no_license
wallaceok/appiumn_auto
60f8a2b152a27c39cabf12529345909979527115
e543a662897c0eedfafdea64297947aa6de45539
refs/heads/master
2020-12-24T06:00:26.338592
2016-11-08T10:04:04
2016-11-08T10:04:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,471
py
__author__ = 'Administrator' # -*- coding: utf-8 -*- import sys sys.path.append("..") import datetime import xlsxwriter import time import unittest from common import reportPhone from testRunner.runnerBase import TestInterfaceCase, ga from testCase.Home import testHome from testCase.work import testContact from testCas...
[ "284772894@qq.com" ]
284772894@qq.com
70a52ddad8d7f3c331c89b56dda190218f419e88
befe40af7fcd3fc56f794357ab5cb75fc96fe3db
/blog/forms.py
7e1fa1aaf84ccaf5cb0518e601ccd92f475db77d
[]
no_license
cacheson/my-first-blog
63d11daaeb5d4f34740a72d50adeabf109e61fd0
7a0f5da3d65f9afe6ae4a81582b9ae681cb225ea
refs/heads/master
2020-04-21T14:32:04.615646
2019-02-13T18:04:23
2019-02-13T18:04:23
169,638,314
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from django import forms from .models import Post class PostForm(forms.ModelForm): class Meta: model = Post fields = ('title', 'text')
[ "colin@nullptr.com" ]
colin@nullptr.com
990f33373020f071da1a6715454e1c6db5635576
96c259497ca0430893782f5a735b86aec2b4858b
/linkedlist/single-linkedlist/delet-oparation2/delete_any_node.py
9d8fdf48a89d3366cd99db17c4d2dc4a19411bf9
[]
no_license
Dhavade/Data-structure
08415d4b432d15ddbdd5ed5dd2f8fcb87cc4555a
176f13804bb7bb66794137858878213543a3441b
refs/heads/main
2023-07-12T23:22:34.864789
2021-08-15T11:02:50
2021-08-15T11:02:50
396,316,674
0
0
null
null
null
null
UTF-8
Python
false
false
1,936
py
class Node: def __init__(self,data): self.data=data self.ref=None class linkedlist: def __init__(self): self.head=None def print_ll(self): if self.head is None: print("linked list is empty !") else: n=self.head while...
[ "noreply@github.com" ]
noreply@github.com
dc816389c06442347a202791e2f3ecfc4e43a317
2cd06e44dd79b45708ddf010c31289458d850b94
/test/functional/feature_maxuploadtarget.py
b5a44cbc6b5cb6b89aca3c4c47d2ce7ef4634a00
[ "MIT" ]
permissive
adymoloca/flocoin
bc66233e5b3b1af294ca6719b4a26f8829d682e4
d9244577577dede975c852f6fcfe1afba4d71a57
refs/heads/master
2023-08-21T23:51:28.266695
2021-10-06T01:40:10
2021-10-06T01:40:10
408,609,250
0
0
MIT
2021-09-30T10:11:53
2021-09-20T21:45:28
C++
UTF-8
Python
false
false
6,653
py
#!/usr/bin/env python3 # Copyright (c) 2015-2020 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test behavior of -maxuploadtarget. * Verify that getdata requests for old blocks (>1week) are dropped ...
[ "adymoloca91@gmail.com" ]
adymoloca91@gmail.com
7af5ac811bb16f3ee4877eb9643bb8ebc1f166c1
2b2d3b1fccccab25e381f142f74a933bb188a3a6
/messages_generator.py
0f918a3c5489fda2f0534ef1ab97472e80222380
[ "MIT" ]
permissive
gilwo/rabbitmq_messaging_using_kombu
b3d45456b9ebee17ce1e0d1dec29c605dd95098f
82f48a66c62b2fedef1c384777db5690be454ef9
refs/heads/master
2021-01-10T11:23:02.575937
2016-01-23T17:30:30
2016-01-23T17:30:30
48,984,229
1
0
null
null
null
null
UTF-8
Python
false
false
577
py
from enum import Enum import time class lvl(Enum): log_error = 1 log_warning = 2 log_info = 3 log_debug = 4 log_trace = 5 event_alert = 6 event_activity = 7 event_trace = 8 #lvl_list = [(x.name, x.value) for x in lvl] lvl_list = [x.name for x in lvl] count = 0 while True: print(...
[ "gilwo@users.noreply.github.com" ]
gilwo@users.noreply.github.com
fc1b4270b320bbc07d5577cbc2b0f37f06a14176
8e56e6b926db7e3465b9887a399db9b378fa08a6
/tests/run_flake8/oneline.py
2ba224328019a70169f9405f8eb9f2d38f093a4f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
keisheiled/flake8-no-implicit-concat
308573f918e9932ec8d8c282adc881b58fc25692
b565e990eed61b6918f910e96167d2c844e5d03a
refs/heads/master
2022-12-07T11:11:38.243270
2020-08-18T20:19:38
2020-08-18T20:19:38
290,342,412
0
0
null
2020-08-25T23:04:08
2020-08-25T23:04:07
null
UTF-8
Python
false
false
16
py
a = "aaa" "bbb"
[ "8.slashes@gmail.com" ]
8.slashes@gmail.com
81c62b50755df3ada006f5fa494ea575c97bbf2d
c199c5954092cb714b7e1e780d6b3d9d246034fd
/2019141470414雒彬赫/代码部分/text(gui).py
7cac60151a371bf1fa9d947ce339ed9cbd17e781
[]
no_license
guan-yunxiao/Homework01
62c14f94d2d005c00a508b7030cf686f15e72d92
2aaa899b58b84cccc0f514b6e913bdb5147a1e83
refs/heads/main
2023-06-17T18:02:00.782859
2021-07-07T04:07:39
2021-07-07T04:07:39
380,497,605
0
0
null
2021-06-27T07:18:44
2021-06-26T12:33:51
null
UTF-8
Python
false
false
2,689
py
#!/usr/bin/env python3 #coding: utf-8 import smtplib from tkinter import * from email.mime.text import MIMEText from email.header import Header mail_host = "smtp.163.com" # 设置服务器 mail_user = "luobinhe_vip.com" # 用户名 mail_pass = "OTJZCUFHJIEZNWVH" # 授权码 me = "luobinhe_vip" + "<" + "luobinhe_vip...
[ "noreply@github.com" ]
noreply@github.com
4e1103b9de170a9e585a6f4fad3737a42afb29b4
4712c51f51fa6a6d6afad4fb0fcfceaecbedac64
/main.py
5c218d1fadd527d43e57caebaa51f297930ce2e4
[]
no_license
kitowskiv/build-a-blog
e19de8b6ff99129d3e9a5f51ef501cae62581ab5
895d7a59a4832c9826ac6fa00d485d8a9b443a5f
refs/heads/master
2020-03-10T03:29:15.921559
2018-04-15T21:22:22
2018-04-15T21:22:22
129,166,155
0
0
null
null
null
null
UTF-8
Python
false
false
2,265
py
from flask import Flask, request, redirect, render_template, session, flash from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['DEBUG'] = True app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://build-a-blog:build-a-blog@localhost:8889/build-a-blog' app.config['SQLALCHEMY_ECHO'] = True db ...
[ "vincent.kitowski@gmail.com" ]
vincent.kitowski@gmail.com
2883cab45c71d7b3cbcdf254f7b13f0a93302c69
4e7d38e15be88396b8e581ba07b9b006af93b92c
/Python3/Studying/Lesson_1/alphabet_and_numbers.py
d01ebce2466d7feea65fe59f004ab889288b6402
[]
no_license
KathrynMorgan/sort
f24287d3cdf5508b42728696e97a19c50b236296
0d25b65a88e3df3af57a6c29ae6ede26e049f380
refs/heads/master
2020-04-04T17:10:52.579786
2019-01-03T07:24:05
2019-01-03T07:24:05
156,110,489
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
#!/usr/bin/env python3 # Make a variable into a multi line string; where does this variable get used? first = ''' Tell me the alphabet! Please please please? What are the first 4? ''' second = ''' But wait, that looks funny!\n\ Can we put them in order?\n\ ''' # We are going to count and play with the alphabet! p...
[ "kathryn.morgan@braincraft.io" ]
kathryn.morgan@braincraft.io
af55d7f605f4b9d9e2e61aa0dd31a3b47dce5974
20be530509901864ff0b26185ad761b34fb074ee
/untitled/Helloworldmethods.py
c1682db4a07bb394e434514e7ff684dd50347b5e
[]
no_license
Shehab-Magdy/PycharmProjects
cd3f6fe5969dbc76fddaf05cacbec237633a4ec7
531e5f4e6c070c8b67eb57e357c075d4258b880f
refs/heads/master
2020-07-08T12:27:18.191190
2019-09-04T21:15:43
2019-09-04T21:15:43
203,671,875
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
def addnum(x, y): return x + y def subnum(x, y): return x - y def mulnum(x, y): return x * y def divnum(x, y): if y == 0: print('You can not dived by zero') else: return x / y
[ "cegres1@hotmail.com" ]
cegres1@hotmail.com
79ea1a80639a702a5cfc9746da6bbb6585267637
f3b32b7bffa362cfac1d5bdba213f72b6818ef75
/ruby.py
2a4a87fbca2a291e18f35e94819614c5456528bd
[ "MIT" ]
permissive
pombredanne/rubypython-1
ec3c635e5e07eaf74d2b8f0e3c304ce0b7daccb3
c7252fbd188253d6ca92616d72914a21550a97cb
refs/heads/master
2020-12-30T15:41:25.624816
2009-06-13T17:22:58
2009-06-13T17:22:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 1.3.31 # # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _ruby import new new_instancemethod = new.instancemethod try: _swig_property = property ex...
[ "valentin.mihov@gmail.com" ]
valentin.mihov@gmail.com
dc4e498d5e94244fea4ccc62a2671836d7858c62
438f8490be1fa3818daad38254a77bb11ba367b3
/project/settings.py
6b500d837b395a5d1f67ad16fa8a0d8088cd6b65
[]
no_license
n7ey233/maximanat
2ea0b3c80729dd10e6023b053523ebe7e6ba22d8
812d7396fe64af85f86e2dd5e257935bde8719e2
refs/heads/master
2020-04-13T10:13:01.382912
2018-12-28T06:31:19
2018-12-28T06:31:19
163,133,576
0
0
null
null
null
null
UTF-8
Python
false
false
3,284
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 2.1.3. 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 #...
[ "you@example.com" ]
you@example.com
e599701513fbd7c6bddc7060f99be29af6a44ae9
2dc9fe3283b8da25ae76dfd05f971f47b6b8061f
/univariate/univar1a_LearnApply_rt/levels12.py
be4d123d518699b3cc9af6aa38ec1a940190f6ff
[ "MIT" ]
permissive
dpaniukov/RulesFPC
bf773c76463b701f09a03714dcf7a91021e6f4d3
3de3fcfd899ac45fe399a805942e17784d99515b
refs/heads/master
2021-01-11T14:13:37.320455
2017-12-01T18:51:42
2017-12-01T18:51:42
81,146,712
0
0
null
null
null
null
UTF-8
Python
false
false
23,713
py
#!/usr/bin/env python import os, sys # system functions import nipype.interfaces.io as nio # Data i/o from nipype.interfaces.io import DataSink import nipype.interfaces.fsl as fsl # fsl import nipype.interfaces.ants as ants import nipype.pipeline.engine as pe # pypeline engine import nipype.interfaces.utility as u...
[ "dpanyukov@gmail.com" ]
dpanyukov@gmail.com
2084462af2fa1dad98ccd92d6717403220a68ca4
216111be5a87140b04af1166bc3e50494f15a1c6
/BDA/bda_algorithm.py
f3b3e485dfe392ed0ae37af6736588b3d65433d2
[]
no_license
onelieV/pyREE
bcda31dd172dc2ee3cc85c3c604304677a3403c4
a16f0b8b65152f62a24f52dadba69c28b945329c
refs/heads/master
2023-07-12T12:36:15.789971
2021-08-14T14:49:05
2021-08-14T14:49:05
396,035,581
2
0
null
null
null
null
UTF-8
Python
false
false
3,314
py
# -*- coding: utf-8 -*- """ Created by: Veloci Created on: 2021/3/11 """ import numpy as np from copy import deepcopy from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import StratifiedKFold from Handler.evaluation import Evaluator from Handler.loadDS import load_ds_name import warnings ...
[ "veileno@163.com" ]
veileno@163.com
5b161e0a9d07b0bddab72ace77e7c27caff8d41a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/89/usersdata/202/62093/submittedfiles/matriz1.py
f2273f8e67d6acee35c26497ab06b264203a4c29
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# -*- coding: utf-8 -*- import numpy as np def cortel1(a): for i in range(0,a.shape[0],1): for i in range (0,a.shape[1],1): if a[i,j]==1: return i def cortel2(a): for j in range(0,a.shape[1],1): for i in range (0,a.shape[0],1): if a[i,j]==1: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
baf30ad7daf3aed7b41444d3901edb49ed8366f9
c5e96f413274d91c948e034d1638f1ff05a53df2
/tests_static.py
e8884b934d79a7b3756b034618b19856b3a69745
[]
no_license
TransHealthInformationOttawa/backend
e85ac27531d6381e28c15fd83848d464ec88cd19
7315f0ed139d80efb742aab060861aaef4274a82
refs/heads/master
2021-07-12T02:33:52.345921
2017-10-15T16:09:01
2017-10-15T16:09:01
106,946,535
0
0
null
null
null
null
UTF-8
Python
false
false
2,792
py
from send_message import upcomingMessages adrian = { "id" : "22313131", "name" : "Adrian", "lastMessageSent" : "3", "enabled" : "true" , "phone" : "+12267482821", "schedules" : [{ "id" : "1", "dayOfWeek": 1, # Monday "hour": 12, "minute": 30 }, { "id" : "2", "dayOfWeek": 2, # ...
[ "rhartviksen@industrialagency.ca" ]
rhartviksen@industrialagency.ca
02dc84b6704747ecf7200f764a9e9413a4ba1696
1118fb238b9e933c16ffd41d95e04443d4cc037d
/codechef/python/appyandchef.py
630cb83b43bd7315b9574f766227a308ba378404
[]
no_license
Poojavpatel/PythonCodes
8a38d02594be1dd9ef618cdb796041e693c0f00a
b4c4c7e700d0aaae750120c612b908360037748f
refs/heads/master
2020-03-28T11:21:53.874927
2019-02-28T16:20:54
2019-02-28T16:20:54
148,205,576
1
0
null
null
null
null
UTF-8
Python
false
false
306
py
# import sys # t= int(sys.stdin.readline()) t=int(input()) # print(t) while(t): n, a, b, k= map(int, input().split()) c=0 # print(n,a,b,k) for i in range(1,n+1): if((i%a==0 and i%b!=0) or (i%b==0 and i%a!=0)): c=c+1 print("Win") if(c>=k) else print("Lose") t=t-1
[ "poojavpatel71@gmail.com" ]
poojavpatel71@gmail.com
a69cb72e82394c61b79df9557717090f8713f8ba
bc20757d76e5550575417b4fa0d0afeafd4f074f
/lab3_2020/venv/bin/easy_install
f29852d6d878d1f1b6982f5ae7befb35933f9d62
[ "MIT" ]
permissive
mihaimusat/ASC-labs-2020
9d4aa08d83bed55d20bfc3d8b22ca8c09b8bbf23
b6a2b9c4238bb5f81fdedbc078d4ae3d5b3ddc41
refs/heads/master
2022-05-30T23:13:15.035950
2020-05-05T06:58:10
2020-05-05T06:58:10
256,525,648
0
0
null
null
null
null
UTF-8
Python
false
false
438
#!/home/mihaimusat/Desktop/lab3_2020/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "mihai_robert.musat@stud.acs.upb.ro" ]
mihai_robert.musat@stud.acs.upb.ro
81677e2a018f5302ece7a50d88dc468123fed354
6204f7d3b98631c13b1312fdde2d858a09830bde
/run_console.py
301d549c0ba8e207657105baf6eddc4c89a02ae2
[ "BSD-3-Clause" ]
permissive
php-technolog/flask-uniteller
dc35423988e3d5dced2107798c2d70cbf5566c88
8a3d7b6bc2693582292058e0d7a0aca27f3f34d8
refs/heads/master
2020-12-31T05:56:15.320180
2013-08-24T12:46:25
2013-08-24T12:46:25
18,766,046
2
1
null
null
null
null
UTF-8
Python
false
false
407
py
# -*- coding: utf-8 -*- """ Входной скрипт для запуска консольных приложений :copyright: (c) 2013 by Pavel Lyashkov. :license: BSD, see LICENSE for more details. """ from flask.ext.script import Manager from console import app from console.view.test import TestCommand manager = Manager(app) manager.add_c...
[ "bilbo.kem@gmail.com" ]
bilbo.kem@gmail.com
0e4d4b52b7acc97954100fb225045d2d21940425
a59fb5691d03114b5c18e8293353e49d467a992d
/pyscript/ping.py
8c385831d12df1218305e249fc28ba0b5ae46f38
[]
no_license
conechan/TTMS
a1f9988699177c047c564d2d205d3ca1a4186147
6d53693860e65a173e2cccc5514b3ce51c6b2d1b
refs/heads/master
2020-08-08T20:18:32.853831
2014-05-08T16:40:21
2014-05-08T16:40:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
#!/usr/bin/env python import pxssh import sys try: s = pxssh.pxssh() hostname = sys.argv[1] username = 'root' password = '' s.login (hostname, username, password, login_timeout = 10) s.logout() print "1" except: print "0"
[ "conechan@gmail.com" ]
conechan@gmail.com
28aab459e7d05dd69f3d821f9390bf83c4fd6dc7
88e1ae575f7bdf4c569de217306a379906deb5fe
/src/pt.py
aa51c6ea2369a8e7d70ed68e2dc4ce3a1065f28b
[]
no_license
Yuting-Gao/DSM-decoupling-scene-motion
884637413642d8c7929c0602e50683f1f22f98c8
e97976505bd04db1a823c192eeb21fb4b4c24c80
refs/heads/main
2023-01-24T01:21:19.504260
2020-12-06T04:11:53
2020-12-06T04:11:53
319,202,713
1
0
null
2020-12-07T04:22:55
2020-12-07T04:22:55
null
UTF-8
Python
false
false
14,582
py
from __future__ import print_function import sys import time import torch import torch.backends.cudnn as cudnn from utils.utils import AverageMeter from data.config import pt_data_config, pt_augmentation_config from data.dataloader import pt_data_loader_init import torch.nn as nn from augment.gen_positive import GenPo...
[ "awiny@macdeMac-mini.local" ]
awiny@macdeMac-mini.local
27848bac64853c24e8728415a18bda9f7d36536d
42cee88f0d7ed6c9ffcece4409406cde35a4d0d3
/src/stations/stations.py
4b0c4ac2628312a900556495612a4970998d9e6e
[ "MIT" ]
permissive
ganemone/SublimeBart
36cfb923228fe24246f7a1cee9d1d31430a2b3e5
1fcd72062914891cffac840d814eb129ebd43edf
refs/heads/master
2021-01-18T19:27:24.659351
2015-03-06T19:18:49
2015-03-06T19:18:49
31,030,064
6
1
null
null
null
null
UTF-8
Python
false
false
1,032
py
stations = [ '12th St. Oakland City Center', '16th St. Mission (SF)', '19th St. Oakland', '24th St. Mission (SF)', 'Ashby (Berkeley)', 'Balboa Park (SF)', 'Bay Fair (San Leandro)', 'Castro Valley', 'Civic Center (SF)', 'Coliseum/Oakland Airport', 'Colma', 'Concord', '...
[ "ganemone@gmail.com" ]
ganemone@gmail.com
9a4bb9e6199c5e9910b99b9c6280d592ddcbbdc5
131957d80f1b0ede2259ae699723f789362c4b3c
/rules.py
a3fad2f10db669d6c2fd418cd3a9a579132caef3
[]
no_license
Harkphoenix/python------1
0e6861bb5a49af1a1e73bde225019df43dcc0c49
667151730767fb0fe2cce6792b841802829968da
refs/heads/master
2020-05-29T16:06:48.671945
2014-06-05T13:44:22
2014-06-05T13:44:22
20,526,534
1
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
#coding=utf-8 class Rule: """ 所有规则的父类,因为所有的规则类都有action方法,且调用形式几乎一样,所以 在父类中设置一个action函数即可.condition函数用来判断是不是符合该规则,然后通过type和父类中的action函数,调用相应 的处理函数 """ def action(self, block, handler): handler.start(self.type) handler.feed(block) handler.end(self.type) return True class HeadingRule(Rule): type = 'head...
[ "296597641@qq.com" ]
296597641@qq.com
943046ca83cc744a00369e1e7ddfec263a7dc795
ad23b164febd12d5c6d97cfbcd91cf70e2914ab3
/webtestdata/wsgi.py
882a4bbee8f33c55053afc3819608ab439306db9
[]
no_license
wawj901124/webtestdata
9eedf9a01dec2c157725299bda9a42e8d357ef0b
54f6412566fce07ece912760c5caea73ede819cb
refs/heads/master
2022-12-09T14:18:38.125191
2021-04-25T07:54:07
2021-04-25T07:54:07
175,773,318
1
1
null
2022-12-08T02:39:15
2019-03-15T07:49:16
Python
UTF-8
Python
false
false
399
py
""" WSGI config for webtestdata project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "410287958@qq.com" ]
410287958@qq.com
28771bd59d9da4ee947ab6016c1d38117cd78f90
715a96cc7977b818471770d66f2ef4723bd31723
/anonim1.py
a826bf328a2232674dace11f3108a82f325ce148
[]
no_license
karimmkamal/autobotupgrade
565692b2d784589b808ad926547a28d1feef760d
f6251be79580103c7d897b619c34b237f5abfadf
refs/heads/main
2023-04-04T08:36:12.360405
2021-04-04T19:25:19
2021-04-04T19:25:19
354,543,402
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
from telethon import TelegramClient, events import os import json import telethon api_id = 3388504 api_hash = 'fcb26adccf95496b5b258a3f51f6ab59' client = TelegramClient('unfban', api_id, api_hash) # crypto winner - crypto auto signals source_target = { # this is not you...
[ "noreply@github.com" ]
noreply@github.com
dcb9a544cce84c43cf9b3d7b349db60e8139ccde
9ce822c07edef943dc519a7ab3916f5a667e114a
/location_and_settings/location_and_settings/doctype/location_list/test_location_list.py
28da20eda77448d48672ee27fa1509ed7b30bbe6
[ "MIT" ]
permissive
hrgadeha/location_and_setting
250fec37c2e63ce7c31b41ac52e50bea1e333392
770a7a719ce66bfe699dc805839a972063ff8ab6
refs/heads/master
2020-04-25T03:43:09.423485
2019-02-28T12:09:31
2019-02-28T12:09:31
172,486,490
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, Hardik Gadesha and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestLocationList(unittest.TestCase): pass
[ "you@example.com" ]
you@example.com
1dfdb0663b213da63d247a05390a8588915edb6d
6156d7b73431af55e7163d0259aae928707d8b74
/code/pyscraper/scrape_opensecret_company.py
4467d95a8c37b40b9428c5b7ac5653c94177aae2
[]
no_license
surajsakaram/Quartz_Database_Project
7a01d00da37f14fe5459a262ce27ea432ec74943
589f9ef11a2d0fd1acd6057018c89c7f3477e3f8
refs/heads/master
2020-05-04T13:34:54.362288
2019-04-26T05:57:11
2019-04-26T05:57:11
179,165,326
0
0
null
null
null
null
UTF-8
Python
false
false
2,719
py
from bs4 import BeautifulSoup as bs import urllib3 as ul import sys, csv, os import re base_url = "https://www.opensecrets.org/orgs/recips.php?id=" cycle_arr = [cycle for cycle in range(1998, 2020, 2)] org_data_header = ["Recipient", "Office", "Contributions(Total)", "Cycle"] # supress urllib3 warning ul.disable_w...
[ "clarencecc88@gmail.com" ]
clarencecc88@gmail.com
899be08fcd62614210b61f051519e01e1e445197
fb7a7a85e52748458be58e7a73c42477822cfbd9
/HotelModel/Input_variable_specialday.py
7f2eb2a80ebde3007d85abdb6806e0006f53ee5d
[]
no_license
gbarrios318/Hotel
6991d36531aad28562b232e56872ac9e9461c0d9
44f95038cc7735631852032673355420f64875ce
refs/heads/master
2021-01-01T17:48:22.303564
2015-03-19T14:46:17
2015-03-19T14:46:17
22,519,583
0
0
null
2014-10-05T21:37:55
2014-08-01T17:12:02
Java
UTF-8
Python
false
false
1,330
py
from buildingspy.io.outputfile import Reader import matplotlib.pyplot as plt from pylab import * import numpy as np rcParams['legend.loc'] = 'best' r=Reader('HotelModel_annual.mat','dymola') (t1,y1)=r.values('Loa.Loa') (t2,y2)=r.values('GueRooDomWatDem.y[1]') (t3,y3)=r.values('KitHotWatDem.y[1]') y1=y1/1000 t1d=[] t2d...
[ "jhy1987@gmail.com" ]
jhy1987@gmail.com
f20db49417e89075fd79a012fb21dcd8d1588862
97f7f4a1e46887d4c8ce2b525b3725bcf04d034f
/vote/models.py
692bdb230a6ccce49401603b5cc3ed7ae5cee07c
[]
no_license
gusibi/Django-Vote
a11b2c01d8120ab13ab6ad7b3994a058d9a34994
54b024500ddcaf020ed83624ef69a5ffef9b5547
refs/heads/master
2020-04-15T13:42:49.271375
2012-09-15T11:39:10
2012-09-15T11:39:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
#!/usr/bin/python # -*- coding: utf-8 -*- from django.db import models from django_openid_auth.models import User class New(models.Model): title = models.CharField(max_length=20) pubtime = models.DateTimeField(auto_now_add=True) ups = models.IntegerField(default=0) downs = models.IntegerField(default...
[ "czongxiao@gmail.com" ]
czongxiao@gmail.com
a8f2b0a915a0ce17516075ff24af8ae63282afac
b143b5e49d0fc05e2677312ee495810ac2ba8ecb
/lsnc_website/lsnc_website/wsgi.py
011b5d582071d87efcd88b81a4c011ed34da7e14
[]
no_license
suse-grit/shopping_mall
d5c8d7748f124c51004489b9434c1c7aef64c8c0
0b363fcd472d182711dc0027a0bafd0d48a92e8b
refs/heads/master
2022-12-01T19:14:13.345617
2020-08-07T03:34:03
2020-08-07T03:34:03
285,711,701
1
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for lsnc_website project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "1129212285@qq.com" ]
1129212285@qq.com
500a055718ce7e47f17d04abf91b4efc3b508abf
d251e0e4ee63f7d45e22899c190741b359014074
/day_06/apps/user/model.py
dc52ca29e7d6dfee74bc03e59ddf056191d84178
[]
no_license
forwardhuan/flask_learning
e3c3acf66bae3a3ca912f02345f2813d556830cc
ad461f90036c8fe8a64393c7fbc111951302659e
refs/heads/master
2023-01-20T04:36:57.856849
2020-10-30T09:33:10
2020-10-30T09:33:10
307,320,511
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- from datetime import datetime from exts import db class User(db.Model): id = db.Column(db.Integer, primary_key=True, autoincrement=True) username = db.Column(db.String(15), nullable=False) password = db.Column(db.String(64), nullable=False) phone = db.Col...
[ "forward_m@126.com" ]
forward_m@126.com
6d304899c960e6aba1fd14191bad52280778cb3b
f3d3ab1fd1fc4551b9b123e6c3da81e4e59eb4b1
/4.图像像素读写.py
4a1414cd03952496eba80f70af4d8c3ff3cce2e1
[]
no_license
Aismarter/OpencvExample
95aa1447cb96f5121feb27dbc122590e63c1f7ff
504e1f29d7df29f8feb3f85aaf4317738581f5fd
refs/heads/master
2021-03-10T15:02:48.595695
2020-03-09T15:03:28
2020-03-09T15:03:28
246,463,021
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
import cv2 as cv src = cv.imread("./pictures/factory.jpg") cv.namedWindow("input", cv.WINDOW_AUTOSIZE) cv.imshow("input", src) h, w, ch = src.shape # shape 返回数组的函数与列数 print("h, w, ch", h, w, ch) for row in range(h): for col in range(w): b, g, r = src[row, col] b = 255 - b g = 255 - g ...
[ "zhangzhiyong@cmsr.chinamobile.com" ]
zhangzhiyong@cmsr.chinamobile.com
4acbd6f8080c6891ed31cd0f7d753359cf7cc165
ca4a5bbbd1b26d529a8a59ad1f6408a711433396
/GenerateInputsElec.py
1932061f0beb6971fd4e3aef4d39cdb97cb24856
[]
no_license
twood1/LongTermForecasting
9196bcfd7e7c65a0f63305cd794ea09745d16c00
3bf5c56214e2d0ed2bcfefdd0eb1eb625581f89b
refs/heads/master
2021-09-05T16:31:13.500396
2018-01-29T16:33:26
2018-01-29T16:33:26
117,894,543
0
0
null
null
null
null
UTF-8
Python
false
false
2,707
py
import numpy as np def getZeroIndex(array): i = 0 while i < len(array): if array[i] == 0: return i i += 1 return i def getNums(): print("opening file") myfile = open('./Data/TrainingElectrictyDS.csv', 'r') lines = [] i = 0 for line in myfile: if i ==...
[ "goeagles4life5@gmail.com" ]
goeagles4life5@gmail.com
ab6ff50c83eec5211789c2aff0d895d1483a143c
01f157e11ed5c4a5d520d9c57d63f94b51bf9e20
/resnet_caffe.py
13d198fb93d9b8c31808eaae35474fb4f6cca615
[ "MIT" ]
permissive
noobgrow/pointing_game
0461bfc8d251734577cec3045273edd4cb235520
a167f9ab358413d6503753dd91eacec7fdfa0794
refs/heads/master
2022-04-10T02:56:49.055617
2019-06-11T18:10:37
2019-06-11T18:10:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,075
py
import copy from collections import OrderedDict import torch import torch.nn as nn from torch.nn.parameter import Parameter from torchvision import models class ResNetCaffe(models.resnet.ResNet): def __init__(self, block, layers, num_classes=1000): super(ResNetCaffe, self).__init__(block, layers, num_c...
[ "ruthcfong@gmail.com" ]
ruthcfong@gmail.com
07ccbaa13946f30e8d2d81bdcc3c948f8adb3036
5eff9df4d276e83c68ce843d58868499858f701a
/Interview/Trees/binary_tree_traversal.py
e5a7ce276633e535f5c96cfc7a75b9b0cfffea65
[]
no_license
arunraman/Code-Katas
b6723deb00caed58f0c9a1cafdbe807e39e96961
7fe3582fa6acf59a2620fe73e1e14bd8635bbee8
refs/heads/master
2023-03-04T17:27:44.037145
2023-03-02T21:09:53
2023-03-02T21:09:53
25,232,784
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
from binarytree import Node as Treenode class Solution(): def preOrder(self, root): if root == None: return print root.value, self.preOrder(root.left) self.preOrder(root.right) def inOrder(self, root): if root == None: return self.inOrder...
[ "arunraman.19@gmail.com" ]
arunraman.19@gmail.com
297c24423544d24e0d62626c1e8c9d65622d9986
9c5083a7d1d95a80917d6a30d501e67a1dc01aaf
/Lesson2/problem1/problem1.py
09993693ad77e1763d34cb9c67b6b55b08ac56ff
[]
no_license
emilieaviles/otherlesson
3e9d93f732bd3a12f1a7580199fb8ec87e4f57f1
abd90e8982d4dd364c6bae6e35ad4f72e7a23361
refs/heads/master
2020-04-19T19:24:31.559183
2019-01-30T17:46:42
2019-01-30T17:46:42
168,387,338
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
classes = ["english","math","history","science","gym","health","advisory","production"] for thing in classes: print("You have been enrolled in " + thing + ".") print()
[ "noreply@github.com" ]
noreply@github.com
345e69a557ad41d9aae7895d883495769eee2017
41b4702e359e3352116eeecf2bdf59cb13c71cf2
/full_model_walker_param/utils/env_utils.py
110ef30017c069549d041f0bfb487b464dfec838
[]
no_license
CaralHsi/Multi-Task-Batch-RL
b0aad53291c1713fd2d89fa4fff4a85c98427d4d
69d29164ab7d82ec5e06a929ed3b96462db21853
refs/heads/master
2022-12-22T19:23:45.341092
2020-10-01T00:05:36
2020-10-01T00:05:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,899
py
import os from gym import Env from gym.spaces import Box, Discrete, Tuple import numpy as np from env.hopper import HopperVelEnv from env.half_cheetah import HalfCheetahVelEnv from env.ant_goal import AntGoalEnv from env.ant_dir import AntDirEnv from env.humanoid_dir import HumanoidDirEnv from env.humanoid_dir_openai...
[ "jil021@eng.ucsd.edu" ]
jil021@eng.ucsd.edu
3973203794a335401a2e5cfa6e3206483a4d7116
d26b3bbf0192cc334e5ac431c753ebcbf2baeb1a
/l10n_cn_hr_payroll/__init__.py
6adc439b170cc365b31453ea0481a8ba0709b7a9
[]
no_license
davgit/Xero-2
1d566357174d15d4f3b15cc849ce9f32f0c9ef3a
6477d844fde3f3b8f91d21b15ee7f8986a505de5
refs/heads/master
2021-01-21T20:49:47.585328
2013-02-16T08:13:22
2013-02-16T08:13:22
22,778,180
1
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2011 OpenERP SA (<http://openerp.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the G...
[ "wangsong1233276@sina.com" ]
wangsong1233276@sina.com
12df22b99d69a82d6d320852bbfe46620ef47780
8e552c996efc06db8cf243066d96f9c8f88e76f3
/modules/profile/files/hcloud/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/hetzner.py
1eba5e08c58fb2f18726a1528a82de8129c4bbd9
[]
no_license
elconas/hetznercloud-control
66575d9aee131913ff26e2685d7648349649a18e
193a297cd49e20b005897ad86fc4800644d8a2cc
refs/heads/master
2021-04-03T09:33:38.092523
2018-03-20T07:04:31
2018-03-20T07:04:31
124,956,819
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
# Author: Jonas Keidel <jonas.keidel@hetzner.de> # # This file is part of cloud-init. See LICENSE file for license information. import json import random from cloudinit import log as logging from cloudinit import net as cloudnet from cloudinit import url_helper from cloudinit import util LOG = logging.getLogger(__na...
[ "reg@elconas.de" ]
reg@elconas.de
d8886e88937323eb625f4951e4a73b8b82235212
8a42be3f930d8a215394a96ad2e91c95c3b7ff86
/Build/Instalation/GeneralDb/Marathon/MarathonTests_1.1/LargeFile_Edit/TestCases/V65_Changes/Diff_TwoLayouts1.py
f446d02edef1afedb4cb381315227b3bf6fde9a1
[]
no_license
java-tools/jrec
742e741418c987baa4350390d126d74c0d7c4689
9ece143cdd52832804eca6f3fb4a1490e2a6f891
refs/heads/master
2021-09-27T19:24:11.979955
2017-11-18T06:35:31
2017-11-18T06:35:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,811
py
useFixture(default) def test(): from Modules import commonBits java_recorded_version = '1.6.0_03' if window('Record Editor'): commonBits.selectOldFilemenu(select_menu, 'Utilities', 'Compare Menu') click('*2') click('Choose File') if window('Open'): select(commonBits.selectPane(), 'Ams_LocDownload_20041...
[ "bruce_a_martin@b856f413-25aa-4700-8b60-b3441822b2ec" ]
bruce_a_martin@b856f413-25aa-4700-8b60-b3441822b2ec