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
909b30bb2930b9cb2a1dc1880cd4b41358bb8757
65bdb78953d12ef94951f9006b9aa94779827f17
/challenge10d.py
b4e5e590f1abab93f7a457fce9971ca5839d218c
[]
no_license
GM3D/POH1
bf66385b7993d6255736a1cef83da466bf1fa8c0
0d1ed9b76f01e328c434ccb48cea971c90ea7acb
refs/heads/master
2021-01-13T12:55:54.934919
2013-12-22T18:14:18
2013-12-22T18:14:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
#challenge10c.py # count_and_offset is list # with prescan. from datetime import datetime, timedelta from sys import stderr num_marks = 10 def report_time(): for i in xrange(num_marks - 1): if t[i+1] > t[i]: stderr.write("t[%d] - t[%d] = %d us.\n" % (i + 1, i, (t[...
[ "gmomma940@gmail.com" ]
gmomma940@gmail.com
dbee5a27c760a92bb50d8294c6b8352a22ea276f
346090f528bc8a8c415b4f0253b29dac9c1a97a1
/takenotex/manage.py
9480f8a9fc125a3877549005240aac46f01394e4
[]
no_license
raveenb/TakeNote
10e01769b342d99a4efe0f0369edbe436a52354d
0d043debb540d5118264f8f64252db1b499e6c3b
refs/heads/master
2021-01-23T16:28:11.629683
2013-03-25T18:13:56
2013-03-25T18:13:56
7,698,881
1
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "takenotex.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "raveen.b@gmail.com" ]
raveen.b@gmail.com
f8446039964cea805bcbfbf0a9c49bc5f3b15ee8
8ab6ee616e14619338d74751947d6446ac4a38bd
/ur5_test/scripts/main.py
0ebeaf5a27bd031172d021e58089c4260207dfda
[ "BSD-2-Clause" ]
permissive
wkqun555/OCRTOC_GINS_Simulation-Part
1fcecfefba0c2afbf1721d147726cdab602af97e
642bb479c97a5e3a4c1be44ac10fa2b09f6b8a24
refs/heads/master
2023-01-09T03:09:18.680931
2020-10-05T07:26:59
2020-10-05T07:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
#!/usr/bin/env python import rospy from std_msgs.msg import Header from trajectory_msgs.msg import JointTrajectory from trajectory_msgs.msg import JointTrajectoryPoint waypoints = [[1.5621, -2.12, 1.72, -1.1455, -1.57, 3.14],[0,0,0,0,0,0]] def main(): rospy.init_node('send_joints') pub = rospy.Publisher('/arm_c...
[ "1206413225@qq.com" ]
1206413225@qq.com
9344bb527e6bd01be344424a5716b7c6d61d62a3
4a23bef7eae8206345a02824b377a61ac2b588ce
/DirectRanker.py
e17c7e62241f319a4927fe8b3e459434595234a7
[]
no_license
cjholl211/Learning-to-rank-for-patient-prioritisation
575cac61a873b9204485425085165ed14c4aa9c9
477941b90453eed54d2fd8c9e2fd33662ad7a759
refs/heads/master
2022-11-16T01:43:05.958814
2020-07-18T10:51:45
2020-07-18T10:51:45
263,937,405
0
0
null
null
null
null
UTF-8
Python
false
false
32,950
py
import numpy as np import tensorflow as tf import pickle from sklearn.base import BaseEstimator from sklearn.model_selection import train_test_split from dr_helpers import nDCG_cls import time def default_weight_function(w1, w2): return w1 * w2 class directRanker(BaseEstimator): """ Constructor :par...
[ "noreply@github.com" ]
noreply@github.com
3370e689410d396a827a715f14aedb1803000b7e
f048f66977ebcfd3973f5cb41911e5de8b1bf7f5
/pullenti/ner/NumberSpellingType.py
72db57f98484782ba6c07c2f861ed30185173d7c
[]
no_license
AAA1911/PullentiPython
e01223d2d8656a8fbcc0873446a12d7e5c913f4a
f25b228c8eef9b70acb1285f405c976542342319
refs/heads/master
2020-12-22T12:56:21.701229
2019-12-11T08:34:43
2019-12-11T08:34:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# Copyright (c) 2013, Pullenti. All rights reserved. Non-Commercial Freeware. # This class is generated using the converter UniSharping (www.unisharping.ru) from Pullenti C#.NET project (www.pullenti.ru). # See www.pullenti.ru/downloadpage.aspx. from enum import IntEnum class NumberSpellingType(IntEnum): ...
[ "alex@alexkuk.ru" ]
alex@alexkuk.ru
d793f87b0bef4eaaef51634ad0c4592d4a02d5ee
dd573ed68682fd07da08143dd09f6d2324f51345
/daily_study/ProblemSolving/5430_AC.py
ee3166173aa8bebbfdd26b513e4d008af4aec83f
[]
no_license
chelseashin/My-Algorithm
0f9fb37ea5c6475e8ff6943a5fdaa46f0cd8be61
db692e158ebed2d607855c8e554fd291c18acb42
refs/heads/master
2021-08-06T12:05:23.155679
2021-07-04T05:07:43
2021-07-04T05:07:43
204,362,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
from sys import stdin input = stdin.readline def solve(numbers): print("초기상태", numbers, len(numbers)) rcnt, dcnt = 0, 0 for cmd in p: if cmd == "R": rcnt += 1 elif cmd == "D": try: if rcnt % 2 == 0: dcnt += 1 # 나중에 빼줄 때 사용 ...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
6ba1c5ad8455cb166c23400b1eaadef2c3fbd71a
207b1a92f81074d646ea40201f20aadb4f04a7b9
/virtual/bin/sqlformat
26f5fa7b6770340ebcd6b5d485c38b431f8ea587
[ "MIT" ]
permissive
Benardakaka/Water-Travelles
7bb00ad6a0d3f174a28b90c1c839fb3bd8bcc7a9
f074cd38bc7aefb12f024e8d9ba34b8bd5ab2776
refs/heads/master
2023-02-24T13:52:06.612692
2021-02-04T09:35:05
2021-02-04T09:35:05
335,035,601
0
0
null
null
null
null
UTF-8
Python
false
false
260
#!/home/moringa/Documents/Marine-Travellers/virtual/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())
[ "benardakaka484@gmail.com" ]
benardakaka484@gmail.com
e2ff23792a6b36940e6dfd522da58a99e0a959da
d3f44206d35c8c8976f10492de3c77b57082ad11
/client.py
d4482dc9f9d577b753a36b01ed9e758c9a6893a9
[]
no_license
s19-nets/udp-file-transfer-xquipster
e80cc7cba17507a942baff674e06aebb15d06b70
5882c49b4f6b29383ab28578d15b61f0537cceac
refs/heads/master
2020-04-23T23:14:40.843065
2019-03-06T17:31:27
2019-03-06T17:31:27
171,529,372
0
0
null
null
null
null
UTF-8
Python
false
false
3,388
py
from socket import * import sys class Client: def __init__(self, af, socktype, file_name, choice, numClients): self.numClients = numClients self.sAddr = sAddr = ("127.0.0.1", 50000) #set address and reserve port self.file_name, self.choice = file_name, choice self.cli...
[ "ejhardin@miners.utep.edu" ]
ejhardin@miners.utep.edu
0db7f68eab74751e0b8f455e123cefcc363b17d2
470eb6b6af669ae037d1aaaf28c7169d906ca25e
/src/split_read_matrices_by_plate.py
8292d94d002a13ad6308b38113fa0d8197f0494f
[]
no_license
wxgao33/CSI-Microbes-analysis
5bddd6cc4ffb7ec2dca833231a4e966b92f348a1
273b41a20c4c13af0efe2a888821b0cfc5e0c189
refs/heads/master
2023-04-12T00:59:02.423797
2021-05-18T15:03:11
2021-05-18T15:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
import pandas as pd read_df = pd.read_csv(snakemake.input[0], sep="\t", index_col=0) metadata_df = pd.read_csv(snakemake.input[1], sep="\t") metadata_df = metadata_df.loc[metadata_df["plate"].astype("str") == snakemake.wildcards["plate"]] read_df = read_df[metadata_df["cell"]] read_df.to_csv(snakemake.output[0], sep="...
[ "wir963@gmail.com" ]
wir963@gmail.com
bbb44545c91f38f60b5e2dd68e784a2dd5585d07
5f0aa278f1bce85b852d4cb57b5d1314b577635f
/anagram.py
d9ed06d79ee8e8fb1ad202f9006e8070ad81565e
[]
no_license
osvaldohg/algorithms
56eb12975468871a11c7598b291780ce662b80cd
99bcc57440e1fc7ac077112a9f65377554cb3a4c
refs/heads/master
2021-10-08T04:28:24.106489
2018-12-07T17:08:03
2018-12-07T17:08:03
71,183,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
print "decoding" #poultry outwits ants PHRASE="poultryoutwitsants" #pastils turnout towy #poultryoutwitsants #ailnooprssttttuuwy source_list=[] source_dict={} filter_words=[] def load_dict_source(inputFile): source=open(inputFile,"r") for line in source: source_list.append(line.strip()) d...
[ "noreply@github.com" ]
noreply@github.com
f0e3aff03c48d717cce727030dcf7d1bc41cccc4
4384308f49712034322404f65bedd47878c3c288
/server/dataAccess.py
7a81622218d0aae8a62e77e31ec7be6004b7874e
[]
no_license
weiwang-goed/warehouse
f4fea4b8205149bb18213e58f6f191fa36df4610
650330d7875c7094c4c53495855ae71663b733f4
refs/heads/master
2023-07-13T16:37:01.059098
2021-09-12T14:11:09
2021-09-12T14:11:09
405,655,258
0
0
null
null
null
null
UTF-8
Python
false
false
4,493
py
import pandas as pd import os import json import pathlib import time from serverConfig import * class dataAccessJs(): ''' Funtions to access database (in this case, js files) ''' def __init__(self, inventoryJs, productJs): self.inventory, self.products = {}, {} self.inventoryJs, self.productJs ...
[ "ec2-user@ip-172-31-38-196.us-east-2.compute.internal" ]
ec2-user@ip-172-31-38-196.us-east-2.compute.internal
0e82ee79e918a29ba71b84fda1e05d64b7d61662
88509a8ce62a22acc0639c683900d5d0cb8d69e7
/Day22/orm/app/views.py
034ffce2d9c3976faf3424c9b86052e00b42b8fe
[]
no_license
pytutorial/py2104
8b0238ab6f6d2f5395aee5fbe1f4aff03b819cd3
48b36d6b1f40730ef2747c310e70fb6997eda388
refs/heads/main
2023-09-03T16:55:02.285158
2021-10-20T05:24:31
2021-10-20T05:24:31
391,613,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
from django.shortcuts import HttpResponse from .models import * import json # Create your views here. def get_product_by_code(request, code): product = Product.objects.get(code=code) data = { 'id': product.id, 'name': product.name, 'code': product.code, 'description': product.de...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
0e61787e7e39045dbbff613b13f6d1a6a51f3570
29e4cfd21734307a438ce4620c11e0c99204b05d
/crawler/items/new.py
f7638a6a8cdd2c3a22ad45ef9e743cae108afd14
[ "MIT" ]
permissive
LProDreamAll/douban_movie_database
b8be820c5c71c0263475ec6c3260da34c0bcbae7
c4891fa078dbaffe251d135e5b49fafdb92e2b2a
refs/heads/master
2020-09-23T05:48:52.387022
2019-12-01T12:16:40
2019-12-01T12:16:40
225,420,261
2
0
MIT
2019-12-02T16:30:07
2019-12-02T16:30:06
null
UTF-8
Python
false
false
192
py
# !/usr/bin/env python # -*- coding: utf-8 -*- # author: humingk # ---------------------- import scrapy class MovieDouban(scrapy.Item): id = scrapy.Field() name_zh = scrapy.Field()
[ "humingk@qq.com" ]
humingk@qq.com
fc1266738f799c65b9d4f71e6846f6b72d00fc74
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/recoveryservices/get_replication_migration_item.py
d1e403b2a6e74c291c8bcdb23200e48a30cd7dcb
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
4,452
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
noreply@github.com
2a469acf940d000a63a2e38071d9e6e0c3be30a0
48b8afa97581b618fc5a378b566db95d486bb6b5
/6kyu/AreTheyTheSame_6kyu.py
04523bdd29f97c4c415faac92383a12cbfc391bf
[]
no_license
AthaG/Kata-Tasks
1a3449a641b8bb10739195fd9291e91b990f0076
ec01f86bd7e508552e00a285116d442c999070b2
refs/heads/master
2023-06-10T02:51:57.445083
2021-06-20T08:13:57
2021-06-20T08:13:57
323,949,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
'''Given two arrays a and b write a function comp(a, b) (orcompSame(a, b)) that checks whether the two arrays have the "same" elements, with the same multiplicities. "Same" means, here, that the elements in b are the elements in a squared, regardless of the order. Examples: Valid arrays a = [121, 144, 19, 161, 1...
[ "52504599+AthaG@users.noreply.github.com" ]
52504599+AthaG@users.noreply.github.com
17345d8b511ebbe958917dea63d04e077d72fb03
fe3adecf5d7f65b14b5b6faf4a9f34b00b481a75
/corpus_formats/formater.py
4cd9a15ba3937fd87c0d33da28add8690e6c1893
[]
no_license
kendalvictor/harmonizing-tibidabo
d8dfcd2d3533439362278703796edff100aa7725
e808d682431db525ae4eb7945bf9baeff9a67ca6
refs/heads/master
2021-01-19T20:43:25.391859
2015-11-02T11:35:35
2015-11-02T11:35:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
# -*- coding: utf-8 -*- # /usr/bin/python # Transforms the conll format of the tibidabo corpus to the conll format of freeling. import sys if __name__ == "__main__": if len(sys.argv) is not 1 + 3: print "Usage: ./formater.py <tibidabo input> <freeling format> <conll format>" exit(1) flout = ...
[ "mlloberes@bitbucket.org" ]
mlloberes@bitbucket.org
9b2e42ad3619a8aa8d9e99c6a2b3c8045609e66e
475d1b83b77e2730b53722f0d8d11b070f97018a
/travelapp/migrations/backup/0013_auto_20210221_1309.py
6de634dbf85cd70b3b448828cfa895fc3a0f6706
[ "MIT" ]
permissive
Gwellir/my-region
b651284ee4d4ec7ec892bb78a7ce3444c833d035
baacb7f54a19c55854fd068d6e38b3048a03d13d
refs/heads/main
2023-04-20T17:31:33.040419
2021-05-17T13:35:38
2021-05-17T13:35:38
336,533,029
0
1
MIT
2021-05-17T13:35:39
2021-02-06T12:31:08
Python
UTF-8
Python
false
false
1,558
py
# Generated by Django 3.1.6 on 2021-02-21 10:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('travelapp', '0012_trip_subbed'), ] operations = [ migrations.RemoveField( model_name='route', name='base_price_curre...
[ "gwellir@gmail.com" ]
gwellir@gmail.com
0e54f592add357a09ba8655d612cbf44e75aacd4
e694891ff8c9d06df7b7b5def7ba71c1dba03aa8
/redis_queue/db.py
730396f0069a2660ad5e33e14ba3afafc373801f
[]
no_license
wangyu190810/python-skill
78f9abb39ebfa01b92ffb2ec96c7ef57c490d68d
719d082d47a5a82ce4a15c57dd481932a9d8f1ba
refs/heads/master
2020-04-05T17:43:48.005145
2019-02-01T01:45:49
2019-02-01T01:45:49
41,524,479
0
1
null
null
null
null
UTF-8
Python
false
false
630
py
# -*-coding:utf-8-*- # email:190810401@qq.com __author__ = 'wangyu' from sqlalchemy.orm import sessionmaker from sqlalchemy import create_engine,text from config import Config def connection(database): engine = create_engine(database) Session = sessionmaker(engine) session = Session() return sessio...
[ "190810401@qq.com" ]
190810401@qq.com
46928e043be6e75bc252aa673845202699199897
34d52e534dbd866e43091fb61249c171e7f6506b
/main/tokenizeDB.py
0c116d7e2a6c11e918a3cff26934b7665f166b3b
[]
no_license
wickz80/askreddit-informatics
e739fccebd910b99d743468f7515cfb4fd0433be
dd1510fd7b875fca23e48aec7518ecd387004664
refs/heads/master
2021-10-27T15:22:08.828069
2019-04-17T22:54:35
2019-04-17T22:54:35
115,559,434
2
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
import praw import sqlite3 import time from itertools import islice import re import csv from multiprocessing import Pool as ThreadPool def fetchAllPostText(amount): if amount == 0: cur.execute("SELECT title FROM posts WHERE score >= 1") else: cur.execute("SELECT title FROM posts WHERE score >= 1 LIMIT {}".forma...
[ "32722332+wickz80@users.noreply.github.com" ]
32722332+wickz80@users.noreply.github.com
34bf0ddf4c836f00f7809ad719bf5652f662b7e8
373035950bdc8956cc0b74675aea2d1857263129
/spar_python/report_generation/ta1/ta1_section_overview_p2.py
8c710d1d99d7cf13febced25219e657a0bc71447
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
limkokholefork/SPARTA
5d122cd2e920775d61a5404688aabbafa164f22e
6eeb28b2dd147088b6e851876b36eeba3e700f16
refs/heads/master
2021-11-11T21:09:38.366985
2017-06-02T16:21:48
2017-06-02T16:21:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,053
py
# ***************************************************************** # Copyright 2013 MIT Lincoln Laboratory # Project: SPAR # Authors: SY # Description: Section class # # # Modifications: # Date Name Modification # ---- ---- ...
[ "mitchelljd@ll.mit.edu" ]
mitchelljd@ll.mit.edu
f051187cc8b8ebd6a86176547ea86dfea08a8b02
235f47ff67783b80f5b57692d01905ea8a7e171f
/RQ1_RQ2/Thermostat_case_study/EVALUATION/Pymoo_GA/ImageBuilder.py
263ef27cf31f913a1a914e634a9c4248ba52602c
[ "MIT" ]
permissive
dgumenyuk/Environment_generation
5293789b89818d961d93facad1f9604470efe55d
092fbecdc208f84aa58f2ccd3522262984e79cda
refs/heads/main
2023-07-01T06:26:30.972835
2021-08-02T19:30:28
2021-08-02T19:30:28
383,611,138
0
0
null
null
null
null
UTF-8
Python
false
false
2,672
py
''' Module to illustrate the created scenarios ''' import numpy as np import matplotlib.pyplot as plt import time class ImageBuilder: def __init__(self, folder, duration, smpl_rate): self.folder = folder self.duration = duration self.smpl_rate = smpl_rate def build_image( se...
[ "noreply@github.com" ]
noreply@github.com
e04500146c2905788b8bb45ffa56d3c234a09b81
3120d8b22cc0b6755da6341434165baf0a855e9d
/Day 5 - Assignments/qn3.py
1fe82263a2e7c8a2213031cae4cee04e2a0a3ef9
[]
no_license
karthika-onebill/python_basics_assignments
6033c8f442d452b463e81ba8bc70a6d1ed87b14f
793bd0205d2f3eab47bf939aa0c0e002728805dd
refs/heads/master
2023-05-24T14:18:46.603229
2021-06-20T02:17:02
2021-06-20T02:17:02
376,065,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
#for loop def forLoop(list_var,type_var=0) : if(type_var==1) : sum=0 for i in Num : sum+=int(i) print("The sum from for loop:",sum) else : for i in list_var : print(i) print() #while loop def whileLoop(list_var,type_var=0) : if(type_va...
[ "karthikavel2000@gmail.com" ]
karthikavel2000@gmail.com
ca92dcd2a70ec4049ddc36eda9fdde994a6d6d20
5592b2cb7120a59a246a184e72177f9312bbc277
/trunk/src/py/clTest.py
5090d9d7bca9c97fdc73712d9fb66bf283933307
[]
no_license
bjohan/Corbomite
2d5bd75706af37450ad2f99cdce14b6c2e969d4f
15908269c9bc433784a8d15c2feb3287ffa216d7
refs/heads/master
2022-05-27T11:57:31.155808
2022-05-14T18:29:10
2022-05-14T18:29:10
28,397,950
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
import common.tcpCommunication cl = common.tcpCommunication.TcpClient() cl.write("#info\r\n") print cl.read() cl.write("#tja\r\n") print cl.read()
[ "sa6bxq@gmail.com" ]
sa6bxq@gmail.com
4fb689d7ee6a7dff3dde5f365c246c20d0d8dbde
b317bcf748825f0bcea361bbee0b02907a21aa39
/Code/CNN/load_data.py
c0cb9d028bb1d264c0e39c6a6b2ff098eac702a9
[]
no_license
singhalarchit/Abstract-Summarization
f0ef3b8591ab6f0273dc57ed7add4a3d4d1cdf60
fa654984426a1ba1f128a22941307c5864904463
refs/heads/master
2021-05-07T06:23:05.432213
2017-12-14T11:25:59
2017-12-14T11:25:59
111,747,123
0
2
null
null
null
null
UTF-8
Python
false
false
4,321
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 18 19:56:24 2017 @author: Archit """ import pickle import nltk import numpy as np import re import unicodedata from io import open full_data_filename = "../Processed Data/fulldata.pkl" full_data_idx_filename = "../../Processed Data/fulldataidx.pkl" full_data2_idx_filena...
[ "singhalarchit1@gmail.com" ]
singhalarchit1@gmail.com
1994c2b87b2984da6665c4ad9634a631dc9266a0
6f0d5ec56efc0c2933013867cd6b9529ca5ac1ac
/SolarSystemdMag/keithlyCompExampleDmagvsScurve.py
1064970ae35faafefca4cf71c67d0a252f68e6c8
[]
no_license
deanthedream/PrototypePlottingUtilsEXOSIMS
1e3b1a004e21a3d06cc47f557dec7ce0e1a576fe
3f17eb42f62e3d9a7dbffa7990317f928d8ec9da
refs/heads/master
2023-08-27T23:47:34.465078
2023-08-24T11:58:54
2023-08-24T11:58:54
138,237,474
0
0
null
null
null
null
UTF-8
Python
false
false
37,053
py
#### Keithly Completeness Example Dmags vs S curve plot import os from projectedEllipse import * import EXOSIMS.MissionSim import matplotlib.pyplot as plt from matplotlib import colors from mpl_toolkits.mplot3d import Axes3D import numpy.random as random import time from astropy import constants as const import astropy...
[ "drk94@cornell.edu" ]
drk94@cornell.edu
59850fd2e1725ec52509b49798ea40b17538a168
3c85959670855891a4db4c2cb901cbab1cd4dbc4
/crop.py
ba246987d996ee60ada74797125ca71f36af3dc3
[]
no_license
pkmurphy85/Self-Driving-Car-NanoDegree-Term1-Behavioral-Cloning
6d13abf3b562b33c99028c6011ffe872b3676fff
973f3fd59a7e6a6583fa44a4527fecea8d76a902
refs/heads/master
2020-03-11T00:21:59.766873
2018-04-29T00:43:27
2018-04-29T00:43:27
129,662,033
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import cv2 img = cv2.imread("./Images/center_2018_04_15_17_34_49_863.jpg") crop_img = img[75:75+65,0:320] cv2.imshow("cropped", crop_img) cv2.imwrite("cropped.png", crop_img)
[ "pkmurphy85@gmail.com" ]
pkmurphy85@gmail.com
7d1565ba786aff297e23e5f3ce7456cf1f7fcdc7
f3ee9772e2a1599dd29705022e820ee48683562b
/script.py
d0319806c11bdb4528ee63f72f59824a6a397367
[]
no_license
isalevine/file-renamer
5434c739eb26ca53963a5cd707cd43063e7dcbb3
9e4bd0eaab3cb1b6733f6d1e9736c0622f5722cd
refs/heads/master
2020-06-09T12:47:35.983012
2020-05-13T07:49:53
2020-05-13T07:49:53
193,440,265
6
1
null
null
null
null
UTF-8
Python
false
false
5,678
py
# per: https://stackabuse.com/python-list-files-in-a-directory/ import pathlib # per: https://stackoverflow.com/questions/54152653/renaming-file-extension-using-pathlib-python-3 import os path = os.path.realpath('./drum-samples') # set default path here current_directory = pathlib.Path(path) def print_menu(): g...
[ "isa.loves.coding@gmail.com" ]
isa.loves.coding@gmail.com
d1637ba38880e1918ef3ef2ff63a4a45df0985d1
73e277935ef28fd05935c93a3f155c9cc6dc6de7
/ctf/crypto/rsa/pq_common_pollard_rho.py
b3132f1b7d7879f7cddc3228571c37da556ae317
[]
no_license
ohmygodlin/snippet
5ffe6b8fec99abd67dd5d7f819520e28112eae4b
21d02015492fb441b2ad93b4a455dc4a145f9913
refs/heads/master
2023-01-08T14:59:38.618791
2022-12-28T11:23:23
2022-12-28T11:23:23
190,989,347
1
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
#Easy_Rsa, yangcheng-2021, https://lazzzaro.github.io/2021/09/12/match-2021%E7%BE%8A%E5%9F%8E%E6%9D%AF%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8%E5%A4%A7%E8%B5%9B/, https://xz.aliyun.com/t/6703 from Crypto.Util.number import * import gmpy2 n = 84236796025318186855187782611491334781897277899439717384242559751095347166978304...
[ "laitaizong@gmail.com" ]
laitaizong@gmail.com
a9ad1e1edb10e8fc1e8a7133be180469d8058dfe
d0ff7de56025a341c8740cc8eb95171f9f789b4f
/project1.py
0591582690edc39044fbf7ad796f44975ed69670
[]
no_license
glitchwizard/OpenCVTutorialFromMurtazasWorkshop
018fed1333fa6dbf8f2aba42d030bf062df83285
dfa42842fbe00ac2ef95092559000551d9b146e8
refs/heads/master
2023-02-10T09:42:41.280427
2021-01-05T00:33:25
2021-01-05T00:33:25
324,441,959
1
0
null
null
null
null
UTF-8
Python
false
false
2,433
py
import cv2 import numpy as np #Project #Screen painting by color #it will take individual colors and allow you to paint with them on a screen cap = cv2.VideoCapture(0) cap.set(3, 640) cap.set(4, 480) myColors = [ [5, 107, 0, 19, 255, 255, "Orange"], #orange [133, 56, 0, 159, 156, 255,...
[ "charley.mcgowan@outlook.com" ]
charley.mcgowan@outlook.com
bacf2279a6f0a45ea3f2fcfbac61d84042b305c0
f5706f4e9ab0e82c3b4f32f2a51cf1add12f4b8d
/graph-project/client.py
a6a220b9b55ef3c1507234ee8c982d2f52d441fd
[]
no_license
brunodantas/sd
35a01e00a6e993f2c5a2f5082ab86a42dab051b7
c0c416205ba5c47011fd321058c4a94c68ebe58a
refs/heads/master
2021-01-19T09:18:52.572582
2017-08-03T00:10:52
2017-08-03T00:10:52
53,506,497
0
0
null
null
null
null
UTF-8
Python
false
false
2,418
py
#!/usr/bin/python3 # -*- coding: UTF-8 -*- import sys import glob from inspect import signature sys.path.append('gen-py') sys.path.insert(0, glob.glob('./lib*')[0]) from graph import Graph from graph.ttypes import NotFound from thrift import Thrift from thrift.transport import TSocket from thrift.transport import TT...
[ "dantas@esolvere.com.br" ]
dantas@esolvere.com.br
9135fcf5f8c811e586c97a191119fd9d46c83c74
6352a8f4726d4d9c1970576e7b10a1394ce987cc
/config/taiga-back/local.py
8364302d82641dd2918b3294090976761061d191
[]
no_license
rimms/taiga-docker
d3eec16d36f83a4c74a64b0a08992083a8984779
2e23ff15bcab219b8fa25372b6d2111ce3899f9d
refs/heads/master
2021-04-30T08:24:05.782331
2018-02-13T11:42:30
2018-02-13T11:42:30
121,373,534
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
from .common import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'taiga', 'USER': 'taiga', 'PASSWORD': 'password', 'HOST': 'taiga-db', 'PORT': '5432', } } MEDIA_URL = "http://localhost/media/" STATIC_URL = "http://localhost/sta...
[ "imms.ryohei@gmail.com" ]
imms.ryohei@gmail.com
3eea5540d632b5f817bbd40bce3131d0ad1f8263
101f124e47b71134a25ed664998ec244a6e4ab55
/cluster_CESM-PIC.py
dd1ec609a7c12a5c19979391be26a9d92b4aa8bf
[]
no_license
cxzhangqi/cluster_ssh
31e3777c141b09a08fd6ddfb221397b856b4d3ac
4ca640d5ed0188e7b9ea25e688d077a19fbd6ab3
refs/heads/main
2023-06-05T18:00:59.583829
2021-06-28T23:51:19
2021-06-28T23:51:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,116
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Perform Clustering Analysis on CESM Data (Pre-Industrial Control) Created on Wed Mar 10 10:10:37 2021 @author: gliu """ from sklearn.metrics.pairwise import haversine_distances from sklearn.metrics import silhouette_score,silhouette_samples import matplotlib.pyplot...
[ "glenn.y.liu@gmail.com" ]
glenn.y.liu@gmail.com
a4057c1687bbd2a89ca72fd789f29938de7b0a68
c2842053268c1a065f8cbbac476713904da5e12c
/python/PyImporterExample.py
8242672bd6ad1aeac4a57944a480d2c73176146e
[]
no_license
xiewendan/HelloWorld
0741776218f44d92e54ca0bfe676401fd3c165cf
eeb11d0a0c3f584d2168d9c459fc54ddca83f654
refs/heads/master
2023-02-24T14:43:33.497926
2023-02-07T09:29:24
2023-02-07T09:29:24
82,867,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
import sys from importlib.abc import FileLoader from importlib.machinery import FileFinder, PathFinder from os import getcwd from os.path import basename from sibilant.module import prep_module, exec_module SOURCE_SUFFIXES = [".lspy", ".sibilant"] _path_importer_cache = {} _path_hooks = [] class SibilantPathFin...
[ "jinchunxie@126.com" ]
jinchunxie@126.com
2a46943042d1f292a584285a1d041fb2aecb17d8
b1a85a746ab50c9de17a8e2072ee319ad39f7e3e
/Task_2/Solution/Components/Data_Augmentation.py
8a9781d5e59cf44898a30bd533ea172f4f64f33e
[]
no_license
LukeAndrewSmith/AML
4087e28ce165bd316d97197f36bb6c12d5e2d791
1f30700bf825d88248ed7a38761438f094189539
refs/heads/master
2023-02-02T16:37:27.801817
2020-12-20T12:13:05
2020-12-20T12:13:05
298,624,715
0
0
null
2020-12-19T17:55:37
2020-09-25T16:27:03
Jupyter Notebook
UTF-8
Python
false
false
181
py
import imblearn from imblearn.over_sampling import SMOTE def smote_resampling(X,y): sm = SMOTE(random_state=0) X_res, y_res = sm.fit_resample(X,y) return X_res, y_res
[ "boeselfrederic@gmail.com" ]
boeselfrederic@gmail.com
5389f0f4eeec31e9af90b7b7de046de7ff9bc43a
9221667562d5d6a88eaf83df683ecc25eb9aac89
/account/views.py
436717b358c6808c19b8a86931d60c3802ddf7b1
[]
no_license
RaihanDewonEman/Online-Exam
84c5e1969afdb631affe8ffb943945fd70d56ec3
5608cff22e67125f2dc805ff266865e027fe7859
refs/heads/master
2023-08-26T17:53:44.758653
2021-11-12T05:12:07
2021-11-12T05:12:07
298,227,432
1
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
from django.shortcuts import render, redirect from django.contrib.auth.models import User from django.contrib import auth from django.core.exceptions import ObjectDoesNotExist # Create your views here. def Home(request): return render(request, 'account/home.html',{'name': 'Home page'}) def Signup(request): ...
[ "raihan11011997@gmail.com" ]
raihan11011997@gmail.com
8a6670b49666ee77f08d7a315a5866b81dbe64f2
4edbab938229e911599706974b5ea00b593a4594
/le_sheets_essentials.py
742c5290653bd06c234d7caddbd241885a2cefcf
[]
no_license
there-is-no-sp00n/Google_APIs
2283004bc734f7f00165c36a17fbd285e24c5b43
c260d02b086fcf9e2d29d5b296881de341039995
refs/heads/main
2023-06-25T03:38:14.187776
2021-07-21T10:56:40
2021-07-21T10:56:40
381,122,091
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
''' Copyright 2021, Aninda Zaman, All rights reserved. ''' #this will only work with Oshud Delivery import os import gspread from oauth2client.service_account import ServiceAccountCredentials import pprint from send_order_info import send_order_info # tells the program what scopes to look into s...
[ "noreply@github.com" ]
noreply@github.com
63f87d61e8c964d81e856f1e6f01cd937940a20b
6b8bf10a57e1a85d2281579da9511310e39b9125
/Exercise5/list_module.py
653fd5fdce78508a87f475cb1e928e78a0de0a2d
[]
no_license
Hadirback/python
9c0c5b622b18da50379d4c17df8ba68b67d452c9
88e03c34edb1c2f60a1624ee04b5bd975967e8ad
refs/heads/master
2020-07-20T12:47:48.224472
2019-10-11T20:39:12
2019-10-11T20:39:12
206,643,640
0
1
null
2019-09-05T19:48:10
2019-09-05T19:38:58
null
UTF-8
Python
false
false
629
py
# Lesson 5 Exercise 2 import random def get_random_elem(list): if not list: return None return random.choice(list) def fill_list(): my_list = [] while True: elem = input('Введите элемент списка или Enter чтобы закончить ввод: ') if not elem: return my_list ...
[ "mail.evgeny.filippov@gmail.com" ]
mail.evgeny.filippov@gmail.com
812927956fda4aaf42b40e6e663b051499964fbb
cc423a599fae5bdc319b1ede586e97289308ae07
/libsongtext/lyricwiki.py
bf1d70c41d9c4dff44edaa05bbe89905922b6133
[ "BSD-2-Clause" ]
permissive
ysim/songtext
778cc74967029760994f5b6143e6f4a175f3b5db
1806c18ea9b77dc3f065e19aa0fb88ee533d835c
refs/heads/master
2022-12-18T12:09:46.381777
2019-06-21T20:28:34
2019-06-21T20:28:34
16,112,047
14
3
BSD-2-Clause
2022-12-08T05:46:12
2014-01-21T17:51:54
Python
UTF-8
Python
false
false
2,377
py
from lxml import html, etree from lxml.html.clean import clean_html import requests from libsongtext.errors import ArgumentError, SearchError from libsongtext.utils import format_song_info, output_song API_URL = 'http://lyrics.wikia.com/api.php' SEARCH_PARAMETERS = { 'artist': 'artist', 'title': 'song', } ...
[ "opensource@yiqingsim.net" ]
opensource@yiqingsim.net
f89be28b2adee79ecf8dd448dea45f1e162d5230
fd1f351d6a768cdfccc5e863951f104b0461201c
/hamcwebc/settings.py
503e0be296e6535cb18a59c8af34321b34c28d94
[]
no_license
gurkslask/hamcwebc
b599f0a7796370c4180d0040a887399bdc37313e
8abbe47cdd58972072d6088b63e1c368a63bb4af
refs/heads/master
2021-01-10T22:35:52.527879
2017-06-01T09:26:22
2017-06-01T09:26:22
70,381,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
# -*- coding: utf-8 -*- """Application configuration.""" import os from datetime import timedelta class Config(object): """Base configuration.""" SECRET_KEY = os.environ.get('HAMCWEBC_SECRET', 'secret-key') # TODO: Change me APP_DIR = os.path.abspath(os.path.dirname(__file__)) # This directory PROJ...
[ "gurkslask@gmail.com" ]
gurkslask@gmail.com
8350f11980db9cb44191f5846907f76bee29c0a3
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/vse-naloge-brez-testov/DN13-M-065.py
d4f9aec2e9e2b28eadb12b6390cf9ff7b76a6e9f
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
from math import fabs class Minobot: def __init__(self): self.x = 0 self.y = 0 self.direction = 0 self.x_direction_coefficient = [1, 0, -1, 0] self.y_direction_coefficient = [0, -1, 0, 1] self.states = [] def get_current_state(self): ...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
ee2adfc989da6719ce249ae302c01aec142a648f
1dfc1b538bd5c22468d9cbeaba5e16b9d6985518
/ws-img/app/views/image_view.py
6c031e954b03dcfc9e198c593255bbf3b94b0eb2
[]
no_license
Deyveson/Project-Article
a0dce5a50e42f2ba8b5df74b82eab3b57044f43e
6324f56985dad63b6b5939599f1a1740b2bd80f3
refs/heads/master
2022-11-22T21:10:24.333988
2020-06-25T17:09:50
2020-06-25T17:09:50
216,874,662
1
0
null
2022-11-22T04:59:32
2019-10-22T17:44:04
Python
UTF-8
Python
false
false
978
py
from flask import send_file from flask_restplus import Resource from app.py_image import app, ns, api from app.services import imageService @ns.route('/version') class Version(Resource): def get(self): """ Version project. """ return api.version @ns.route('/get_image/<id>') ...
[ "deyvesonn@outlook.com" ]
deyvesonn@outlook.com
3d70438dff4ccacb8dc111623cddb2e69d1930fc
3405ec23e8e1b7fbeffcef144b8994da4dd5b227
/src/gui.py
314e67a64fb7b02a216dbfc0896f5edc6920e9e5
[]
no_license
Trekki03/Titration-Analyzer
684fd582cd40315a3a892f133a7d3b5b927be6bf
5542ae1a9b910cc4446e87efd024a341554b650a
refs/heads/main
2023-08-11T04:17:43.448960
2021-10-11T07:47:21
2021-10-11T07:47:21
415,121,770
0
0
null
null
null
null
UTF-8
Python
false
false
5,674
py
# -*- coding: utf-8 -*- """ First created on 10/10/2021 @author: github.com/Trekki03 """ import tkinter as tk import matplotlib as plt from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg import plotter import analyzer import fileHandler import linearFunction class Window: """ class containing all func...
[ "33525119+Trekki03@users.noreply.github.com" ]
33525119+Trekki03@users.noreply.github.com
6047a87b91eac506db9f9f35c3187806f051ffc0
d5a1d87ce0162f0767f557c15a8081473d7e167a
/tools/SGD.py
f648b97e33a0fbfdc080ae269f2dcd5970e756a8
[ "MIT" ]
permissive
Yonghongwei/reid-strong-baseline
bda4a7a6901e7320b4271e6a5a1dd6edd43c33b1
64d8f8c1b8d988a598071bb5ed15fd3fcc200dfb
refs/heads/master
2022-06-19T10:40:53.092057
2020-05-07T08:30:31
2020-05-07T08:30:31
255,493,153
0
0
null
2020-04-14T02:43:17
2020-04-14T02:43:16
null
UTF-8
Python
false
false
13,636
py
import torch from torch.optim.optimizer import Optimizer, required class SGD_GCC(Optimizer): def __init__(self, params, lr=required, momentum=0, dampening=0, weight_decay=0, nesterov=False): if lr is not required and lr < 0.0: raise ValueError("Invalid learning rate: {}".for...
[ "noreply@github.com" ]
noreply@github.com
1cf60a4eca3f70277691e357f9944a1180adcaf2
6e5a095b273497368cc63a8a38ca31324b990555
/test.py
0e9ddc06d21f650c472cb71f1f912b924b0f306c
[]
no_license
kalanod/bot
ca94b2651ec9e87fd57481f0f241c781b7c05988
4ef398b2c15b997b0f8f6f4530d153bd12b7de68
refs/heads/master
2023-04-10T16:01:15.763758
2021-05-01T17:20:20
2021-05-01T17:20:20
360,224,726
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
import itertools from random import randint key1 = itertools.permutations('QFS01LVmOPZ4G', 5) rand = randint(1, 154440) a = [i for i in key1] key1 = "".join(a[rand])
[ "336633563aA" ]
336633563aA
5789a966ed6ae948e41d390b54e40df3e87ec159
86e292a80731c6824fa410df41761db6a07939ca
/prodscripts/QuantStudio_hamilton.py
095084284e732e78af7f0a2611b6bd4994035796
[ "MIT" ]
permissive
EdinburghGenomics/clarity_scripts
447b38ed4c4ff62abb65e421cbfbd43c0286035d
bc9c0ab400d4c47d2c2e43519dfe50360cf88dd4
refs/heads/master
2022-12-07T06:29:23.073447
2022-03-30T16:30:17
2022-03-30T16:30:17
50,435,598
2
0
MIT
2022-11-22T10:25:22
2016-01-26T14:54:00
Python
UTF-8
Python
false
false
3,265
py
#!/usr/bin/env python __author__ = 'dcrawford' from EPPs import glsapiutil from xml.dom.minidom import parseString from optparse import OptionParser api = None def limslogic(): def writecsv(): content = ['Input Plate, Input Well, Output Plate, Output Well'] for art in sortedArtifacts: ...
[ "timothee.cezard@ed.ac.uk" ]
timothee.cezard@ed.ac.uk
b8317e4db558cc1098bd224c458d1d8f2c3b1ddf
b22de9d0ca277bf9d12cb8bc847cd3964618746c
/get_movie_board.py
758a94bd773fffde200e1e07953d42a670c3626c
[]
no_license
Proudgeorge/Web-Crawler
e32ea7327449d6598c13264192eb6933891e234f
5d515511fead4035a8c727a679eaaeebf403cade
refs/heads/master
2020-03-31T15:38:11.068390
2018-10-10T01:56:47
2018-10-10T01:56:47
152,344,827
0
0
null
null
null
null
UTF-8
Python
false
false
2,399
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'CZH' import requests import re import pprint import json import time from requests.exceptions import RequestException ''' 作者:陈自豪 功能:抓取猫眼上评分前100的电影名称、时间、评分、图片等信息 版本:1.0 日期:09/10/2018 ''' def get_one_page(url): ''' 抓取一页的信息...
[ "noreply@github.com" ]
noreply@github.com
93b8938a179dfae461fe0665037e5001a40af79d
db9a37dd50b90eb1c910ddf4f9cf97baa2cdb1b8
/old/vis_html/vis.py
d6e738426b1a2a31dc8d874e30b49e5cbd0b2ce4
[]
no_license
turbinenreiter/edurocket
f245767645d8187d8a8a1ea2864138affa925278
b5088ff9a1835f9960ee8869193898322f7ebc21
refs/heads/master
2021-01-19T06:35:45.973124
2018-06-10T14:12:09
2018-06-10T14:12:09
25,205,361
0
0
null
null
null
null
UTF-8
Python
false
false
4,681
py
import matplotlib as mpl #mpl.use('Agg') #'WebAgg' mpl.rcParams.update({'font.size': 12}) import numpy as np import matplotlib.pyplot as plt import mpld3 import sys def main(filename): # read file data = np.genfromtxt(filename,delimiter=';',names=True) t = data['t_start']-data['t_start'][0] uax, ua...
[ "oepse@gmail.com" ]
oepse@gmail.com
ec349dee68d4714e67b1fc1faef499204a9b868f
481f4d9c2265360fff330716ef6f2c0daed86740
/couleur_aleatoire.py
b2d2e65649dabb2e1f8eb6a48849b0347fbc6f68
[]
no_license
lucas-thong/NSI-project-1
d1513b7ade96b2085d88a188234927d7e1537b72
80089c6cab4e47ef1a7eb7df90bd0029008210ad
refs/heads/main
2022-12-25T14:52:49.670581
2020-10-12T16:31:01
2020-10-12T16:31:01
303,449,956
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
import turtle from random import randint def couleur_aleatoire(): ''' renvoie un triplet de 3 nombres entier compris entre 0 et 255 Ce triplet correspond à une couleur codée en RVB ''' pass
[ "noreply@github.com" ]
noreply@github.com
72e1e11b35929352a9b8fb4845e93cb148b0df76
d7d7108dc922c927650b68a65c857d64911c9882
/eclipse_workspace/DownLoad/src/default/postform.py
4c6a59eb291e00a0ca600b9fb00a21b288c397dd
[]
no_license
yzqcode/MyWorkSpace
adf310b3d367892e2ec2793abe07948e8ada2129
40d659e8e1549fbad8e84497b30f9894d298fc2d
refs/heads/master
2021-01-18T20:56:10.721277
2016-10-14T01:21:10
2016-10-14T01:21:10
69,458,965
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
# -*- coding: utf-8 -*- ''' Created on 2016-09-27 @author: 鄢真强 ''' import urllib.request from bs4 import BeautifulSoup import re import math import os counter = 1 url = "http://disclosure.szse.cn/m/search0425.jsp" def down(link): global counter url = 'http://disclosure.szse.cn/' url = url + link ...
[ "鄢真强" ]
鄢真强
1e0b321bd32462e3429bc13aa5cf1eaa4183b6d8
05d7ffbde61f195e9ac73f3a73d880891a01bda6
/shop_config.py
83c7ab2c706f468639800cd2d495eec949b8fb85
[]
no_license
m0n1ter/wxxq
6d09d11022e3fc486e4193a6c6130a513db15e39
d3fa3362cdbb48e59ff9a866158e108d3c6f1895
refs/heads/master
2020-04-07T03:26:56.463869
2018-03-14T13:54:23
2018-03-14T13:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
shop_list = [13069819, 13077683, 13079433, 13082387, 14065620, 14830235, 16438854, 18339733, 1865890, 1917598, 19281319, 19419483, 1999657, 2050147, 2245387, 2471101, 2716252, 3024541, 44397898, 44783109, 45075662, 5144657, 59061381, 9495359, 9873641, 9877320] new_shop_list = []
[ "chey" ]
chey
7d26e894c9f765bef6b532e768050fc4c9df08c5
a73ac0f5ae1f0ac543f0ffe9facd6861a435dc67
/ex38.py
db5382f446dbcefdfb3d4cbea255f5f3e1843e97
[]
no_license
suboqi/-python
438e87bd440cc5b05cf7f884d6f08a46a2b346af
f8844c9dd81e0b9788089d420858891a460e2f39
refs/heads/master
2020-05-31T09:13:21.432226
2019-06-04T13:30:35
2019-06-04T13:30:35
190,207,247
0
0
null
null
null
null
UTF-8
Python
false
false
2,993
py
# batch_file_rename.py # Created: 6th August 2012 """ This will batch rename a group of files in a given directory, once you pass the current and new extensions 一旦传递了当前和新的扩展,此批处理将重命名给定目录中的一组文件。 """ # just checking __author__ = 'Craig Richards' __version__ = '1.0' #导入os模块 import os #导入argparse模块 import argparse def ...
[ "1622653732@qq.com" ]
1622653732@qq.com
e883556af74768d33c9d085307796931163d4c7f
0cf64c67a3eede0d16e15a527a58bc7515659b3e
/Zadania 2/2.19.py
229c1a5f88a9917d1febe73c295db8de3dd5025c
[]
no_license
StaporBartlomiej/Python
14cf7dbf3a84fcd3217bc983b6f509571153a6c3
2d6922952e02bbe7285feca20f6444e2660fcc51
refs/heads/master
2021-01-12T13:28:44.520583
2017-01-27T17:41:07
2017-01-27T17:41:07
69,954,232
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
#!/usr/bin/python # -*- coding: iso-8859-2 -*- L = ["1","2","3","21","22","23","301","302","303"] for i in range(len(L)): print (L[i].zfill(3))
[ "bartlomiej.stapor@gmail.com" ]
bartlomiej.stapor@gmail.com
3e5b4e6f763a26884b9e42e10d66924e9ab53b82
959f70ef067d446b159a5a69f839afff453d0f49
/Datasets/circRNA-RBP/FOX2/code.txt
bff8b18440e4ebeae769e8c905d5bacd7999b995
[]
no_license
houzl3416/iCircRBP-DHN
db2ecded61240dd75c53ffd401eb57b2d168d8b3
f1b4836aa4f1ffa4055d9cea51cb56d521ba14a2
refs/heads/master
2023-03-29T15:24:37.182020
2021-03-22T12:49:30
2021-03-22T12:49:30
290,127,792
6
2
null
null
null
null
GB18030
Python
false
false
5,691
txt
#!/usr/bin/env python # encoding: utf-8 import keras.backend as K import numpy as np from sklearn.model_selection import train_test_split from sklearn.model_selection import StratifiedKFold from sklearn.model_selection import KFold from sklearn.metrics import roc_curve, auc, roc_auc_score from keras.preprocessing.text ...
[ "33145210+542121317@users.noreply.github.com" ]
33145210+542121317@users.noreply.github.com
b5ed6dd488d878ccd57ad40c55431222f153790d
13e21198448cd5839d9b5cdba0c62ea4c3b36314
/basin3d/core/connection.py
7fffa230e1fe83b836664940e6262b6a0f78abeb
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause-LBNL" ]
permissive
heycatwonton/basin3d
2f9392a4e205ce427ab1d7581976908b2848c7f9
980a52fa8d6c073cd6704950cfd4168c7f4b0f61
refs/heads/main
2023-04-12T01:48:25.308923
2021-04-23T16:48:02
2021-04-23T16:48:02
351,609,042
0
0
NOASSERTION
2021-03-26T00:40:15
2021-03-25T23:57:17
Python
UTF-8
Python
false
false
13,833
py
""" `basin3d.core.connection` ************************ .. currentmodule:: basin3d.core.connection :platform: Unix, Mac :synopsis: BASIN-3D ``DataSource`` connection classes :module author: Val Hendrix <vhendrix@lbl.gov> :module author: Danielle Svehla Christianson <dschristianson@lbl.gov> .. contents:: Contents ...
[ "vchendrix@lbl.gov" ]
vchendrix@lbl.gov
375457d210d4b2f2727061290fd2565a8958df81
f1c133caa0d4113589040cfd01e4bafe82ae84fa
/210327/semain_가장 큰 수.py
7df93d290ded70d882ae71009424558029b467bf
[]
no_license
amane-IT/CodingTest
d5c9d4be9ec88bc9a4bf972b764576631b623242
83ce192aceb7ad8626de5a28ef535b3f1ebe1e88
refs/heads/main
2023-08-11T18:53:03.984487
2021-09-19T09:30:23
2021-09-19T09:30:23
412,737,107
1
0
null
2021-10-02T08:28:46
2021-10-02T08:28:45
null
UTF-8
Python
false
false
1,007
py
def solution(numbers): numbers = list(map(str, numbers)) numbers.sort(key=lambda x:x*3, reverse=True) return str(int(''.join(numbers))) """ 문제 풀이 힌트: numbers의 원소는 0 이상 1,000 이하 *모든 조합을 구하려고 할 때 시간 복잡도는 (O(numbers)!) ==> 1초를 넘어감 ==> 정렬과 탐색은 nlogn의 시간 복잡도를 기준으로 잡아야 함 예시) numbers = [6,...
[ "noreply@github.com" ]
noreply@github.com
629f5f19bfaed88e1da50cd8780de17afb76811f
57e649df1e635ab5d7ab4b31caef10ea1d829691
/DBA/wsgi.py
36ced47b75f4185978846ca828f12b5d8151b5d2
[]
no_license
l985654987/hello_world
ed11d2df659294d6de8850fbaedc9c53da9ab74a
bbb58fef5f5416d5146f43251af246709e58a224
refs/heads/master
2020-04-11T12:13:00.262471
2019-04-20T08:21:20
2019-04-20T08:21:20
161,773,117
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for DBA 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "985654987@qq.com" ]
985654987@qq.com
31dfa1ea8131220d682fa65569dac25250d32b06
832368f4a10376e3a0172bad1cedc5c71807bf32
/PyPollHomeworkPart2.py
8235c0588e4f3333f67f644c5fd98a62a056b562
[]
no_license
elambrano/Python-Challenge-Part-2
73023a1e8fbf8c4bdb80dd413d6e58487e9e4c24
2201fd8f67564e9df3fe56e088eca61b18ec1b2b
refs/heads/master
2020-04-13T03:04:05.711533
2018-12-23T20:10:20
2018-12-23T20:10:20
162,920,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
fn = 'Resources/election_data.csv' f = open (fn) contents = f.read() f.close() lines = contents.split('\n') print('Length =', len(lines)) for line in lines[0:10]: print(line) lines = lines[1:] # drop last line if it's empty if lines[-1]=="": lines.pop() #Question 1 (total Votes) total_v...
[ "noreply@github.com" ]
noreply@github.com
2e194112df53ba147c427b3442ad1038fea71b05
480e7bb34c23445497bc95e4b5107d89830148f2
/Day 45/962. Maximum Width Ramp.py
a89d88a5861bb4b320d90a53b474a840aad0b325
[]
no_license
ManojKumarPatnaik/100-Days-Code-Challenge
632b15679557d482eb8e00468aa432c3df5d4d56
7be599bc7bbd07b4df576e00c27a55df60a678c4
refs/heads/main
2023-06-07T06:25:44.878727
2021-07-03T08:14:54
2021-07-03T08:14:54
382,612,464
1
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
# Github: Shantanugupta1118 # DAY 45 of DAY 100 # 962. Maximum Width Ramp - LeetCode # https://leetcode.com/problems/maximum-width-ramp/ import sys # Brute Force -- O(N^2) ''' class solution: def max_width_ramp(self, nums): max_width = -sys.maxsize for start in range(len(nums)): ...
[ "shantanuguptaknp@gmail.com" ]
shantanuguptaknp@gmail.com
347021acc8f528e862d6401bb21dfa7d3134cf58
8d73ebf53f3d0aa08c3a50f18f47ef7d48e6febf
/CGPA_Calculator/icon.py
7c01b70363b3922098a63c8e25bc682ad829f7c7
[ "MIT" ]
permissive
deepdalsania/calculator
1da25f91feed8723a1faf43a2dffd8a955d7a359
1460fc7f91ef9e379bdde240ddbcb0183d7ec092
refs/heads/master
2022-12-20T16:42:36.522300
2020-10-06T05:03:51
2020-10-06T05:03:51
300,562,691
0
5
MIT
2020-10-06T05:03:52
2020-10-02T09:18:04
Python
UTF-8
Python
false
false
864
py
import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWebEngineWidgets import QWebEngineView from PyQt5.QtWidgets import QMainWindow, QLabel, QLineEdit, QPushButton, QApplication def arrowIcon(self): self.arrow = QLabel(self) self.arrow.setPixmap(QPixmap("ARR.png")) self.arrow.set...
[ "deeppatel.dd@gmail.com" ]
deeppatel.dd@gmail.com
33389fb5d60e6f5adb6b4617ea997145e425efe2
02468531b67787532600a27b5a1c1b2db5daf11b
/bullbearetfs/selenium/eventcapture/tests.py
27e19b345ee89a30ab52acacb5b387c67af59ea6
[]
no_license
henrimeli/invest2020
d284af960b34a6ccc830524826fd1be9271168bf
eb699fd3c70ab0e1cffc56cb86855f6a22849aed
refs/heads/master
2023-01-31T14:54:22.451146
2020-12-15T08:44:06
2020-12-15T08:44:06
312,067,444
0
1
null
null
null
null
UTF-8
Python
false
false
1,972
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import unittest, xmlrunner, time from django.contrib.staticfiles.testing import StaticLiveServerTestCase from django.urls import reverse from bullbearetfs.selenium.core.browsers import EggheadSeleniumBrowser ###############################...
[ "bepanda@gmail.com" ]
bepanda@gmail.com
32d8b616c7fbf7970c48dbd6370b57e89c4e3ef7
2ae5610c145557a6718f2103cc1ce01bc5d40fc7
/distoptim/FedNova.py
c7cd144c19d90341b6bc49ea9595e3e4f6dc4a59
[]
no_license
ms116/FedNova
bfc4ee9096194c774a884b25a60e37b84c965316
47b4e096dfb19dc43c728896fff335a5befb645d
refs/heads/master
2023-03-19T10:52:01.438685
2020-10-21T21:00:51
2020-10-21T21:00:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,888
py
import torch import torch.distributed as dist from torch.optim.optimizer import Optimizer, required from comm_helpers import communicate, flatten_tensors, unflatten_tensors import threading import numpy as np class FedNova(Optimizer): r"""Implements federated normalized averaging (FedNova). Nesterov momentum...
[ "jianyuw1@andrew.cmu.edu" ]
jianyuw1@andrew.cmu.edu
705172b35e4e926f7aaafbb9431f13fc097b88a4
54a26bf56aebd604d4dece733f08d7d30cd27f89
/zdemo/auser/urls.py
111ae8dee1420e3cac23d71f7714792b65cc4091
[ "MIT" ]
permissive
zzZaida/django_27
b78f5ae8bccfa11074221ba32241878d703aa535
bbbba8be9547fb815c68e94fadb7e8b6eebf75c9
refs/heads/master
2020-07-03T19:47:25.037195
2019-08-13T12:11:29
2019-08-13T12:11:29
202,030,146
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
"""zdemo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
dbc9f7579143bb64ff98823e0279763d02cde114
6a8644cc47ed31adb60aba0f47551a897fdf8767
/src/seraing/urban/dataimport/acropole/mappers.py
caa692885e0c32bea9b5dba44a5c0dcf0ed4a1e6
[]
no_license
IMIO/seraing.urban.dataimport
4e6ad4340348fc24b8576d4ce1f4c89a03063b88
c9bd8e49390a14eeb53ce04a3d7b571e34da8a20
refs/heads/master
2021-01-20T03:42:12.232635
2017-04-27T12:23:47
2017-04-27T12:23:47
89,576,858
0
0
null
null
null
null
UTF-8
Python
false
false
46,564
py
# -*- coding: utf-8 -*- import unicodedata import datetime from seraing.urban.dataimport.acropole.settings import AcropoleImporterSettings from seraing.urban.dataimport.acropole.utils import get_state_from_licences_dates, get_date_from_licences_dates, \ load_architects, load_geometers, load_notaries, load_parcell...
[ "julien.jaumotte@imio.be" ]
julien.jaumotte@imio.be
de317dc6879183437dc69a03ede0e6a143c57d62
6d86360bc6ae5c39128d3480c6382c58a6e7c5c1
/Code_With_Us/src/sim/model/parts/bondburn.py
dcb2aa459e6730d24f39b9ceb366c97d2316b613
[ "MIT" ]
permissive
CineDAO/Risk-Adjusted-Bonding-Curves
0c3809f488f818235875d68881a7262b1d35d1df
56b4f714dc145cca1503b7c80d6a7b38c1e2e3fc
refs/heads/master
2023-08-16T01:41:23.121213
2021-10-02T13:45:47
2021-10-02T13:45:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,818
py
def update_R(params, substep, state_history, prev_state, policy_input): # params = params[0] # access amt_to_burn using _input['action']['amt_to_burn'] because it's a dict of dicts R = prev_state['reserve'] S = prev_state['supply'] V = prev_state['invariant_V'] kappa = prev_state['kappa'] ...
[ "andrewtaylorclark@gmail.com" ]
andrewtaylorclark@gmail.com
3be52c23ed541d99741e87747c2063b628607ae5
9c1ec6c3a826a40f9911894b63af6e265b70792c
/src/EmailClient.py
d34c7782fba23f512be609273cd7e8f0c391d5e9
[]
no_license
Duskamo/beachhouse_email
c84c3907791fcc792ec86a5ebecffcd43aedcf73
a4d3b30691d9b8c5cf8ae0e606496ec1c11353fd
refs/heads/master
2020-07-05T01:14:03.636340
2020-03-15T16:17:26
2020-03-15T16:17:26
202,480,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
import smtplib, ssl from .Data import Data class EmailClient: def __init__(self): self.port = 465 self.smtp_server = "smtp.gmail.com" self.dlandryClientEmail = Data.clientEmail self.dlandryClientPassword = Data.clientPassword self.dlandryServerEmail = Data.serverEmail def addUserEmail(self, userEmail)...
[ "dyanownz@yahoo.com" ]
dyanownz@yahoo.com
d58b48a3b4056d05eabee5719a20f32556470175
497ad4c998a60f1aacab0dfccd5c034b9f60c11b
/Agentes/main.py
e108db6c21b55e8f554cb02466300a208d0ca15a
[]
no_license
LazardStrife/agents
b19bd1947dbff67cb36480d3b38254c22bc5a31b
74ed19f646aac5d4e33a0d6c5bc0eb9abed29f60
refs/heads/main
2023-01-19T09:15:45.943878
2020-12-01T05:15:08
2020-12-01T05:15:08
317,379,594
0
0
null
null
null
null
UTF-8
Python
false
false
3,060
py
from simulation_logic import Initial_Scenary import copy as cpy def run_simulations_with_robot_type_A(): scenaries = [Initial_Scenary(5, 5, 40, 15, 4, 50), Initial_Scenary(7, 9, 30, 10, 6, 100), Initial_Scenary(8, 10, 25, 30, 8, 150), Initial_Scenary(11, 11, 30, 1...
[ "lazardstrife@gmail.com" ]
lazardstrife@gmail.com
a98df5dcac6f3e85ccedc80dfed62a64df0ae5a2
0deb8c7dcc24b2901b4dc294faf676eb95f4072a
/source/cronjobs.py
fc27609b85f6b00271e693ef2f21f9ab85812b92
[ "MIT" ]
permissive
Mikumiku747/Student-Planner-Online-GAE
a295a236bf75089b6237288029eecaf07fe5f415
e923c32715476323324b52f9f2d29cf9ecabc90f
refs/heads/master
2021-01-22T03:14:04.211192
2014-11-02T05:47:32
2014-11-02T05:47:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
#Cronjobs #Handles automated scheduled events, such as the deletion of past events and switching between weeks a and b. from google.appengine.api import users from google.appengine.ext import ndb import webapp2 import jinja2 from timetable import Timetable class WeekSwitchingScript(webapp2.RequestHandler): def get(...
[ "Mikumiku747@gmail.com" ]
Mikumiku747@gmail.com
ecb5492cf6eb5cfe2f5ed4a178027f8f18d979ae
c80a1a5414f18ed039cd83e7f88d567f40375aad
/get_data.py
82ca654dbbc170df3ddf31e05dc0cf995bd7aea7
[]
no_license
jorbau/NetflixAR
c5e222326b89647d1cfc360c7890f66a2b855147
7a65a757dd00e0a6dead072824a94209a2a80ed4
refs/heads/main
2023-05-07T08:01:10.988178
2021-06-01T00:12:51
2021-06-01T00:12:51
372,163,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
from justwatch import JustWatch import json just_watch = JustWatch(country="ES") l = [] results_by_providers = just_watch.search_for_item(providers=['nfx'], page=0, content_types=['movie'], release_year_from = 2014) for x in range(results_by_providers["total_pages"]): results_by_providers = just_watch.search_...
[ "noreply@github.com" ]
noreply@github.com
e6ea4a04ec64beed34cd77b78d93ca77f9f6c4b0
ae1976bc9db8134156027aeae1481b6ee6ae776d
/day1/Day1_PythonCode/day1_python_programming_16.py
ac7d85c91a936ca365a9765d452e9bee9ae27a73
[]
no_license
curieuxjy/DS-for-PPM
d9f6f94c3c01e37b81a19b11e52d458aad102fb3
70f37e8cf72bbf6351ba8ee657218758e2bd182f
refs/heads/master
2021-01-03T11:43:01.220817
2020-02-15T17:45:53
2020-02-15T17:45:53
240,068,518
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
# [실습 5] 주가 조회하기 import bs4 from urllib.request import urlopen idx_stock = '004170' naver_index = 'https://finance.naver.com/item/sise.nhn?code=' + idx_stock source = urlopen(naver_index).read() source = bs4.BeautifulSoup(source, 'lxml') #print(source.prettify()) #curPrice1 = source.find_all('em', class_='no_up...
[ "skyfiower9721@gmail.com" ]
skyfiower9721@gmail.com
ef3fd60375149ee9caa3c39d0bb96692633d0fe4
4fbc275e56b70eaaa636d2ec43bd47bb26e107de
/tests/format/fistr/test_write_fistr.py
9ddcd0c8226f6f7fb3fbf33d38a1514451a5048d
[ "Apache-2.0" ]
permissive
yas/femio
1d0cce174a438fc3b51899a95f28445e076f03a1
1b9b07ebea04edcd39ded6c556e707bc4ad58a45
refs/heads/master
2023-06-09T03:13:11.420691
2021-07-01T09:47:35
2021-07-01T09:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,166
py
from glob import glob import os from pathlib import Path import subprocess import shutil import unittest import numpy as np from femio.fem_attribute import FEMAttribute # from femio.fem_attributes import FEMAttributes from femio.fem_elemental_attribute import FEMElementalAttribute from femio.fem_data import FEMData ...
[ "yellowshippo@gmail.com" ]
yellowshippo@gmail.com
6f3281175ab81b728476fb5171d77260cd8d394d
73f5461ea52354ea8caa6e08a3989f833fc9d5d0
/src/python/fsqio/pants/buildgen/jvm/map_third_party_jar_symbols.py
c581fd1cf759f63584ab20647a192c01cd433beb
[ "Apache-2.0" ]
permissive
OpenGeoscience/fsqio
52b674b3e2d1742916fcec83bbb831ddbd58d1f2
aaee25552b602712e8ca3d8b02e0d28e4262e53e
refs/heads/master
2021-01-15T20:23:18.180635
2017-06-05T20:25:18
2017-06-05T20:25:18
66,481,281
3
0
null
2017-06-05T20:25:18
2016-08-24T16:36:46
Scala
UTF-8
Python
false
false
4,428
py
# coding=utf-8 # Copyright 2014 Foursquare Labs Inc. All Rights Reserved. from __future__ import ( absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement, ) from contextlib import closing from itertools import chain import json import os import re from zip...
[ "mateo@foursquare.com" ]
mateo@foursquare.com
69f0731a3f3b46ba02834dac5649482141a78a69
f0122f063e348c6279448e0768113c885e81a1e0
/convert_output_smart-v2020.01.28.py
388a7e377e2d3f2d7f5a62f62a0386b649c36268
[]
no_license
jherfson/Convert-Output-Smart
e0501ac69342533587e030c677d8acf69f6d27a5
e93d2d76ea7efcf468bed95159bcfc35b3c5eee1
refs/heads/master
2022-06-14T07:20:48.990781
2020-05-10T06:22:09
2020-05-10T06:22:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
# Change log # v2020.01.28 import numpy as np var = 1 while var == 1: name = input("Digite o nome do arquivo: ") try: with open(name, 'r')as row: characters = row.read() separator = characters[309] if separator != ';': delimiters = ',' else: ...
[ "noreply@github.com" ]
noreply@github.com
bf4d47352d1dfddd94469e606117a7c21721ac05
aa38ec617026e708c9eb0ceb63f899aa39e71918
/estpeople/admin.py
5b2d30a786cdf4803d4cda13d31bfceab4f3a2b7
[]
no_license
segremelnikov/rep-test
1cd601f87b7b9660d1d54a101ad3a85567d8f5da
a84a6b9db95b9fa0f8200d5935ad4a72a6340146
refs/heads/main
2023-08-31T21:58:48.709309
2021-10-16T01:23:48
2021-10-16T01:23:48
417,662,276
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from django.contrib import admin from .models import Page, Estimation # Register your models here. class PageAdmin(admin.ModelAdmin): pass admin.site.register(Page, PageAdmin) class EstimationAdmin(admin.ModelAdmin): pass admin.site.register(Estimation, EstimationAdmin)
[ "sergemelnikov86@gmail.com" ]
sergemelnikov86@gmail.com
95278a678b61e8131be98bc6b397defcfe8925f1
49a884c88b040414665ab6484bf530427e31f0d7
/venv/Scripts/pip3.7-script.py
8941e18fe6b90f189bb924061500f88b9c91da40
[]
no_license
JojoPalambas/TSStatMaker
1835d28b6eddc109c5ef17955739c92b32d91be1
94ed5aaeade092bc2caee6f23b5719575ec0d305
refs/heads/master
2022-03-28T10:32:39.846189
2020-01-13T09:46:12
2020-01-13T09:46:12
null
0
0
null
null
null
null
ISO-8859-1
Python
false
false
420
py
#!E:\Données\Programmes\Django\TSStatMaker\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.3','console_scripts','pip3.7' __requires__ = 'pip==9.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....
[ "depott_g@epita.fr" ]
depott_g@epita.fr
70477943b2e12cf9034eb2a84630f09be1aa398e
cd771773bf6b8d966a4d831d89e6b405701c2948
/backend/urls.py
072b5188d835664de0bd923c48fb91c888dd35a5
[]
no_license
cti21/CQCRM22
f4160ee27e52ccc1ddd2771b7cd6674574314b1b
53b30ea1a0c04f97d29a34333df8875b06ab5cb3
refs/heads/master
2022-02-28T20:23:20.140170
2019-10-13T08:43:34
2019-10-13T08:43:34
214,786,456
0
2
null
2022-01-15T05:28:56
2019-10-13T08:33:31
Vue
UTF-8
Python
false
false
3,435
py
from django.conf.urls import url from backend.views import * # backend url 配置 urlpatterns = [ url(r'^info$',info,name='info'), url(r'^logout$',logout,name='logout'), url(r'^getTcTreatHistroryData/',getTcTreatHistroryData,name='getTcTreatHistroryData'), url(r'^getOrderSelectData/',getOrderSelectData,nam...
[ "cti21@163.com" ]
cti21@163.com
174ac64b4968531a363c2eb2da3343b168fc4a5d
b8a914a6a6e30c3b980f987b9ca650f7d50ad743
/RoomFileParser.py
73f4b5f942949542721494e1fc66ec3ae5fc8662
[]
no_license
estiben/Rob3
daf2b9af8a067cd5f7c95248026c096ecc985469
7d5fa1fb44f668991fe43cfd7e91c3dd6a29908c
refs/heads/master
2021-01-01T19:16:06.359588
2012-04-19T18:48:33
2012-04-19T18:48:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
import xml.sax class RoomSAXContentHandler(xml.sax.ContentHandler): def __init__(self): xml.sax.ContentHandler.__init__(self) self.paramList = [] self.currentElement = '' self.currentClass = '' def startElement(self, name, attrs): self.currentElement = name if n...
[ "steven.douglas2@yahoo.com" ]
steven.douglas2@yahoo.com
150efe4399f75590dbde7ec1c2bc8fa2d003fb42
00bcc077360eca2b4a807ae5b83fdddeb076bbfd
/comments/serializers.py
ff483acbedd1e150da6b8a1468164d5d70485b61
[]
no_license
LucasCarrias/basic-web-api
499416f2151749fd0c2afe15b4fcc56857bbbf86
13f664a9b561910013c72a338a371098acaf7481
refs/heads/main
2023-02-02T12:06:26.555455
2020-12-22T02:17:25
2020-12-22T02:17:25
322,755,833
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
from rest_framework import serializers from .models import Comment class CommentSerializer(serializers.ModelSerializer): postId = serializers.CharField(source="post_id") class Meta: model = Comment fields = ['id', 'name', 'email', 'body', 'postId']
[ "lucascarrias@outlook.com" ]
lucascarrias@outlook.com
5de082c8ad08281fbec4a9d451210e4fa47fd140
6d311039c0ce561c00f0b5dfd9305798baaeca8f
/Exercicios python - IF,ELIF,ELSE/calculadora.py
3a214dbdb40b5401428eb9566822d09a26789a5a
[]
no_license
WwAzevedo/Python-Exercises
d91d14133beeb2917bbb07cfa69fff67d4048c73
454b1b10b542659a60ca3a5d06fa38b4a6638467
refs/heads/master
2022-12-18T07:16:45.978735
2020-09-17T01:53:37
2020-09-17T01:53:37
296,187,396
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
n1 = int(input("Insira o primeiro valor:")) n2 = int(input("Insira o segundo valor:")) op = input("Qual operação realizar?") if op == "+": soma = n1 + n2 print(soma) elif op == "-": menos = n1 - n2 print(menos) elif op == "*": mult = n1 * n2 print(mult) elif op == "/": div = n1 / n2 pri...
[ "wesley.wazevedo@fco.net.br" ]
wesley.wazevedo@fco.net.br
057689d1fa8f8c16acf59a0f0e342efca11d8cde
cb9281a34c3c5a36d4b3a846fb6ff22ede12f2f6
/annotate_communities.py
c792c346aaae78ae95b967b3522d7c87354ffd69
[]
no_license
juliettapc/CalorieKing
9cb9f35ae9b239d2284175b0802cf2c60dc79d1d
5f80bffb65fe4644a81ae2ab0b1738861e028331
refs/heads/master
2022-02-10T07:52:24.133379
2022-02-08T01:25:18
2022-02-08T01:25:18
153,174,891
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
import networkx as nx from transform_labels_to_nx import transform_labels_to_nx import sys, os from numpy import * import itertools def annotate_communities(G, num_points, filename, communitylist, dbdate = '2010'): ''' Created by Rufaro Mukogo on 2011-03-31. Copyright (c) 2010 __Northwestern Universi...
[ "julia@chem-eng.northwestern.edu" ]
julia@chem-eng.northwestern.edu
29c701073c352ca514237ca759457082a6ccd2f6
69c161371df4a8e85cef1524f3b17703ffd3588c
/edq_shared.py
5d3e56fa9071b1a4f49deb4f525d3f1e61078013
[ "MIT" ]
permissive
r-zemblys/windowselect
479038dbfa7f7ad05ac1586d2ee31da3fa2a63ff
9c2e25058b9faa145ee8dcacf68afb4ec38e9604
refs/heads/master
2021-01-19T07:20:38.676416
2014-11-14T10:13:57
2014-11-14T10:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,441
py
# -*- coding: utf-8 -*- import os import numpy as np import numpy.ma as ma import matplotlib.pylab as plt plt.ion() from constants import * def nabs(file_path): """ Return a normalized absolute path using file_path. :param file_path: :return: """ return os.path.normcase(os.path.normpath(os.pa...
[ "raimondas.zemblys@gmail.com" ]
raimondas.zemblys@gmail.com
8eff51fa665518a50f44a8c513d5f865fc70e37a
f512437ea436cdf7667435f1bea661b8b7d4322c
/downloadfileV2.py
c150dbf3a11656a8545dfc1ba5dc842ab013a039
[]
no_license
siyiwolf/python
5a75c9d072aa94a05d46219f0551569fc182695e
595099f6d4c183c2fc5da7399a443e37a6a8b94d
refs/heads/master
2021-05-05T04:26:50.262683
2018-02-27T03:41:14
2018-02-27T03:41:14
118,591,925
0
0
null
null
null
null
UTF-8
Python
false
false
12,061
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from bs4 import BeautifulSoup import urllib.request import requests import re import os #该类主要用于数据统计以及启动恢复等 class staticLoadNum(): def __init__(self, url, level_num): self.url = url self.level_num = level_num self.list = list(); self....
[ "392567441@qq.com" ]
392567441@qq.com
8f65ce4f1efe7352ca4a791c2c1bd22c36fb5af7
61459ef393c252cc52dc56d5ebafff7e055579aa
/cui-spider/chapter04-框架/quotetutorial/quotetutorial/pipelines.py
97599a9df5d0431e15803b4bee4515b4767227e9
[]
no_license
Yan199405/Python_note
5e56824b6ec347ab8af4f04b5070bdc5e6685b80
d8fd0a83da280f80e7a3e9c535787afa7722e140
refs/heads/master
2020-06-13T01:17:33.696802
2019-08-12T00:28:17
2019-08-12T00:28:17
194,485,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import pymongo from scrapy.exceptions import DropItem class TextPipeline(object): def __init__(self): self.limit ...
[ "17793217774@163.com" ]
17793217774@163.com
106da989a8dff66103d031dc2b5908e522088065
c67708a84466dedddbf446e2053c72a58dcb7a4d
/composer/airflow_1_samples/hadoop_tutorial.py
5e4541d79557b068a75c053bce5f7d9f0843ebb5
[ "Apache-2.0" ]
permissive
Matthelonianxl/python-docs-samples
205d0ebaabf7d6e500fc36950a890c030a2c8882
8540237bb81e0b6ff87fa405abdfadd2e164c14c
refs/heads/master
2022-02-14T12:36:30.927438
2022-01-19T17:58:05
2022-01-19T17:58:05
232,271,126
1
0
Apache-2.0
2022-02-04T20:11:25
2020-01-07T07:44:42
Python
UTF-8
Python
false
false
4,474
py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
noreply@github.com
8a900fcc1c9f2cb65f9dd2a6b7c15eef2898558d
1b9bd441c500e79042c48570035071dc20bfaf44
/sources/Content_Quality/mekhilta.py
6ded5ff121376d5bb37ff8e30b43ebf4f016f14d
[]
no_license
Sefaria/Sefaria-Data
ad2d1d38442fd68943535ebf79e2603be1d15b2b
25bf5a05bf52a344aae18075fba7d1d50eb0713a
refs/heads/master
2023-09-05T00:08:17.502329
2023-08-29T08:53:40
2023-08-29T08:53:40
5,502,765
51
52
null
2023-08-29T11:42:31
2012-08-22T00:18:38
null
UTF-8
Python
false
false
1,737
py
from sources.functions import * alt_toc = """Massekta dePesah / מסכתא דפסחא Exodus 12:1–13:16 Massekta deVayehi Beshalach / מסכתא דויהי בשלח Exodus 13:17-14:31 Massekta deShirah / מסכתא דשירה Exodus 15:1-15:21 Massekta deVayassa / מסכתא דויסע Exodus 15:22-17:7 Massekta deAmalek / מסכתא דעמלק Exodus 17:8- 18:27 Massekt...
[ "steve@sefaria.org" ]
steve@sefaria.org
8a47069ad08ff4a25b593f7f933e7207a34c9c81
e6b1ad137a9bd3d39ae7c61cb5c7f7956ce095b9
/bruteforce/first_and_last.py
254541adec5d55d00b4b5ecdb2ee1dce8ea5e268
[]
no_license
jadenpadua/Data-Structures-and-Algorithms
d9ba8ece779a2d564a7d66fcbacc9fb7fa1f7205
838c29112fec4beb9d9cc3f54db00492b4a480b0
refs/heads/master
2021-07-17T13:10:52.029327
2020-07-08T02:00:14
2020-07-08T02:00:14
186,896,842
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
Write a function that returns the lexicographically first and lexicographically last rearrangements of a string. Output the results in the following manner: first_and_last(string) ➞ [first, last] Examples first_and_last("marmite") ➞ ["aeimmrt", "trmmiea"] first_and_last("bench") ➞ ["bcehn", "nhecb"] first_and_last("...
[ "noreply@github.com" ]
noreply@github.com
035e339aacf1489757af5dacb964d6d303478870
7fb650e65c59f9c379040ab5558704ee9be5959f
/assignments/assignment4/fifa.py
a62c15eb92dd40b070f4fba6261b7902eff6d9eb
[]
no_license
rocket-ron/MIDS-W205
83d245062ab6fc9be2b1267e0ebcf8e94aaec3b0
c275e4ab841070e2d2e9fbe1db737ef0ce353f68
refs/heads/master
2022-02-02T14:06:45.793627
2015-11-23T17:17:33
2015-11-23T17:17:33
36,993,228
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
import requests from bs4 import BeautifulSoup import time import csv query = '#FIFAWWC AND (#USA OR #CAN OR #MEX OR #CRC OR #COL OR #ECU OR #BRA OR #NGA OR #CMR OR ' \ '#CIV OR #GER OR #ESP OR #ENG OR #FRA OR #SUI OR #NED OR #SWE OR #NOR OR #JPN OR #KOR OR ' \ '#CHN OR #THA OR #AUS OR #NZL) lang:en since:2015-06-0...
[ "ron.cordell@berkeley.edu" ]
ron.cordell@berkeley.edu
bff401b4024d18170f711c74f11a60dbba29c93a
370cbf1c31ae62bd17f96db5f8e68f705a2876cb
/facebook/settings.py
26c583b2475041f29b7d2c4b2dac26bd0fca4669
[]
no_license
shyamsundar1129official/facebook
f57172e9a745b8c736dbb7938142ad70711a757a
69667bfeed351fcba1e5f0574119c3cfec8f1602
refs/heads/master
2023-05-05T16:27:04.701186
2019-10-29T07:05:20
2019-10-29T07:05:20
218,208,283
0
0
null
2023-04-21T20:39:24
2019-10-29T05:06:18
Python
UTF-8
Python
false
false
3,133
py
""" Django settings for facebook project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "shyamsundar1129official@gmail.com" ]
shyamsundar1129official@gmail.com
5d7cb01dad0c0b9d2f4d9ca5afd5a9e6c680224d
f8dbd8b0fb69bee5eed6560e7eac9625e568bc1f
/tests/test_callbacks.py
d3964c0200c0148b041965705e7f650d676dd68a
[ "MIT" ]
permissive
tesera/pygypsy
4ab81d94a912eb10e3a5cc486343ac22a95ce48c
cae6ac808e53ebb2465ad28b4787c20e8a452bd0
refs/heads/dev
2021-05-01T10:30:57.500910
2017-02-03T18:48:00
2017-02-03T18:48:00
58,996,041
3
0
null
2017-02-01T00:40:27
2016-05-17T06:23:55
Jupyter Notebook
UTF-8
Python
false
false
359
py
import os import pytest from pygypsy.scripts.callbacks import _load_and_validate_config @pytest.mark.skipif(os.getenv('GYPSY_BUCKET') is None, reason="S3 tests are not configured locally") def test_load_and_validate_s3_config(config_on_s3): conf = _load_and_validate_config(None, None, config_on...
[ "jotham.apaloo@tesera.com" ]
jotham.apaloo@tesera.com
a8e229e9ea24d1c73a3eca12ed966665e0e3d6b9
a2a630d9fa403f22be92be4869bef21bd6b87544
/example_2d.py
b051679e49456baac5a0fa49455863980e1be7b0
[]
no_license
robert-richardson/GP-Derivative-Observations
1cb51a923308ea72d52458de36a9aaa89607e7d0
f8ef503d8d3fdee0bb142ca4056350985e15fe88
refs/heads/master
2021-07-05T08:16:08.537966
2017-09-30T16:45:18
2017-09-30T16:45:18
105,381,947
2
1
null
null
null
null
UTF-8
Python
false
false
2,543
py
#%% A simple 2d example #%% Imports import numpy as np import matplotlib.pyplot as plt import GPy from GPy.util.multioutput import build_XY from gp_derivative_observations import GPDerivativeObservations #%% plt.close('all') #%% Options deriv_dim = 1 # 0 or 1 #%% seed=1 np.random.seed(seed=seed...
[ "noreply@github.com" ]
noreply@github.com
20663f1e70d2a884a70b48748a48d95537d7616f
74845e4f5aca34d2c5f2ec6cb1309653cda5da6e
/samples/batch_qtransform.py
d153d56b6aea8ae7b1f3b7016b04748ad65d5118
[]
no_license
gw-detchar/Kozapy
3e5fe53019e53c0f4c7e7fd43164c32d075f3740
82d31e18eca1658a35265f2ff830f1c9b81d302b
refs/heads/master
2021-07-22T00:51:36.153126
2020-05-28T03:05:21
2020-05-28T03:05:21
177,755,889
0
0
null
null
null
null
UTF-8
Python
false
false
5,292
py
'''Make q-transform plot. ''' __author__ = "Chihiro Kozakai" import os import matplotlib matplotlib.use('Agg') # this line is required for the batch job before importing other matplotlib modules. import subprocess import glob from gwpy.timeseries import TimeSeries from gwpy.timeseries import TimeSeriesDict fro...
[ "38804436+ckozakai@users.noreply.github.com" ]
38804436+ckozakai@users.noreply.github.com
e6d1f32ef39100eaa119842196cb660e7ec7fb85
16bf7df8f176fd1e57b1d3fdf085762c0a6c9ac3
/gomoku_game.py
12f4de8ac9a42a29bb8cc300720bfc8eb41118fc
[]
no_license
AaronYALai/Reinforcement_Learning_Project
69c35c2dfdbe445f08d5d6d9ab24cd080574e735
0bb7a2b0ab0d0d1bb94964ab34b978eb98c8b5dc
refs/heads/master
2020-02-26T15:20:30.100952
2016-10-08T08:59:24
2016-10-08T08:59:24
70,220,858
25
6
null
null
null
null
UTF-8
Python
false
false
3,933
py
# -*- coding: utf-8 -*- # @Author: aaronlai # @Date: 2016-10-07 15:03:47 # @Last Modified by: AaronLai # @Last Modified time: 2016-10-07 17:30:26 import numpy as np def initGame(width=19): """Initialize width x width new game""" state = np.zeros((width, width, 2)) available = np.zeros((width, width))...
[ "aaronlaiya@icloud.com" ]
aaronlaiya@icloud.com
168a343047d22e06e3684322144074b16a173713
133859e4825b22c71bc79990c0ecc1139a74178f
/src/north/cli/gscli/tai.py
a1709a3817ae0f7f42f06d7e392f570c4f60468e
[ "Apache-2.0" ]
permissive
falcacicd/goldstone-mgmt
9d99eec7e7f4f71f96321cf67c062715450b8395
e7348011180e3c2dcd0558636ddc5c21779c7a3f
refs/heads/master
2022-12-05T09:28:46.792508
2020-09-03T06:30:34
2020-09-03T06:30:34
290,127,258
0
0
null
null
null
null
UTF-8
Python
false
false
7,306
py
import sys import os import re from .base import Object, InvalidInput, Completer from pyang import repository, context import sysrepo as sr import base64 import struct from prompt_toolkit.document import Document from prompt_toolkit.completion import WordCompleter, Completion, FuzzyCompleter _FREQ_RE = re.compile(r...
[ "wataru.ishid@gmail.com" ]
wataru.ishid@gmail.com
7eb2cebea2ae37abaeaff05644a4e31c4d321648
603db646b1ec2a9c9642366cc0da552611560786
/results/nLoading.py
0c42f6acc473cca05bb1078a35c6c754fdafbcbc
[]
no_license
yazoo178/08_JUL_TP
3f6a73795229d35f7ae7fc18246b73de888a4eb0
2c020a66bbf6378487cc71525b9235042803f38c
refs/heads/master
2020-12-02T12:43:58.705785
2017-07-07T23:04:46
2017-07-07T23:04:46
96,582,604
0
0
null
null
null
null
UTF-8
Python
false
false
2,865
py
import re import pylab as p import numpy as np import matplotlib.pyplot as plt import re file = open("cacm_gold_std.txt") goldDocs = {} def frange(x, y, jump): while x < y: yield x x += jump for line in file: line = re.search("(\d+) (\d+)", line) if line: queryId = int(line.group(1)) ...
[ "wbriggs2@sheffield.ac.uk" ]
wbriggs2@sheffield.ac.uk
0a3072ac7da71bc957882478316909c65e5aa868
c098085eedb3a1534f723ee770a8837067c54281
/chapter03/studying2.py
69e01309d518509934fbbfa190391c2a245784ea
[]
no_license
haitian-zhang/PythonScrapyingStudying
14eb66fe94df1061859db2c69c7a5780d9c9687c
e22beefeb44aa263cca9b1f0113f8eaa2968ba74
refs/heads/master
2021-10-28T03:37:59.084766
2019-04-21T13:23:54
2019-04-21T13:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
# 豆瓣爬虫 import time from urllib.request import urlopen from bs4 import BeautifulSoup import re # 整合mysql import pymysql conn = pymysql.connect(host='127.0.0.1', user='root', passwd='123456', db='python') cur = conn.cursor() cur.execute("USE python") def getLinks(pageUrl="https://book.douban.com", pages = []): try:...
[ "a13207123727@gmail,com" ]
a13207123727@gmail,com
f9e0930f0105b1e7ffa5cf93463939b85918a75f
e6cf2817154c6764d308503a3b06f798e5854799
/4. Comprehension/EXERCISE/01_word_filter.py
95cd69c9e5aa75a075274ce5a05d8b05b36d8346
[]
no_license
dimDamyanov/PythonAdvanced
dca1629cac2ee7ae113b82f19276e1c5e0e07023
00ca5148c4d57c8cdd13f069315942e81902f746
refs/heads/main
2023-04-06T18:16:11.240712
2021-04-22T20:57:28
2021-04-22T20:57:28
328,765,865
1
0
null
null
null
null
UTF-8
Python
false
false
122
py
text = input() even_words = [word for word in text.split() if len(word) % 2 == 0] for word in even_words: print(word)
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
cd1bb9f006222ba1fa141e47c1acdc1149465d89
033c991b1ccc49ab12eb3cc3dca45c8fb3714b83
/__main__.py
d064802c2bd6d5fb044ac8f8b9c7b86f1627e92a
[ "MIT" ]
permissive
SKU-IT/SESS-webservice-client
2b78a5fdd2a4564013d8e61286a454599bfbb80a
2101502c39938a5b2f2278e20b14f1c83df1cb0e
refs/heads/master
2020-03-25T21:01:28.842853
2018-08-14T08:53:28
2018-08-14T08:53:28
144,155,945
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
#!/usr/bin/env python3 from getpass import getpass from personal_info import PersonalInfo def main(): gate = PersonalInfo(input('Username: '), getpass()) print(gate.get_data('CurrentAcadState=1', max_length=10)) if __name__ == '__main__': main()
[ "hadi@hadisafari.ir" ]
hadi@hadisafari.ir
336d5186b1c0f8624957237b93107c3b3eab86b0
55f7ed471c7878c04d14cf69c472c36bd128881b
/L2jFrozen_GameServer/build/L2JSegara_GameServer/gameserver/data/scripts/custom/8871_gve/__init__.py
3d373999e9b389d4982c3184efb41a30e1a5425d
[]
no_license
doulu99/L2Segara
a8b4c23228300bb01bfd92ebbd65c1c90c1e7a54
82e646440ee94109176240ee2baa0d75aa14d735
refs/heads/master
2021-04-01T09:47:45.208358
2020-03-21T10:03:15
2020-03-21T10:03:15
248,179,108
1
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
# Author ProGramMoS, Scoria Dev # Version 0.2b import sys from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance from com.l2jfrozen.util.database import L2DatabaseFactory from com.l2jfrozen.gameserver.model.quest import State from com.l2jfrozen.gameserver.model.quest import QuestState from com.l2jfrozen...
[ "ghemax@ghemax.wvmwp4m0qdrufdbhm41aqoexvg.ux.internal.cloudapp.net" ]
ghemax@ghemax.wvmwp4m0qdrufdbhm41aqoexvg.ux.internal.cloudapp.net
fb27c227f73b008cfdfe76d6ecbf32ec958e3170
11c46400a55f204d78dd409f229626e8b1eea656
/coding_challenge_1.py
b5bf4e5491f5adf365996c2f612980333dafb938
[]
no_license
azurewillgit/code_snippets
acfd26f08f48d0cea78529efae5e0bd25916cf86
5914cc3d9dc6af8b8d6da976ad52fd0945d30b9c
refs/heads/master
2020-12-03T04:29:16.904409
2020-01-07T06:43:59
2020-01-07T06:43:59
231,201,996
3
0
null
null
null
null
UTF-8
Python
false
false
64
py
names = ['Paul', 'Yvonne', 'Tim', 'Hugo', 'Oliver', 'Nadine']
[ "dennis.will37@gmail.com" ]
dennis.will37@gmail.com
de85e910fc8b9cf34cf5556e8809318730b73fd4
145fd80224998d43cec8de1fe19fbaf589852578
/Lab 1/L1/main_volume.py
bbfdd575753c48fc64ff5532d9d51235efb46c1a
[]
no_license
andres2631996/CM2004-Medical-Visualization
a0c58de60b11a7f97ee721dcb03fe95be8f3b256
ec7aa918a1485652f4543cf8a80f4e0cfded6927
refs/heads/master
2020-12-09T09:45:39.526785
2020-01-11T17:17:08
2020-01-11T17:17:08
233,266,654
0
1
null
null
null
null
UTF-8
Python
false
false
2,522
py
__author__ = 'fabian sinzinger' __email__ = 'fabiansi@kth.se' import vtk import sys import os if __name__ == '__main__': # 1 get data path from the first argument given filename = sys.argv[1] # 2 set up the source reader_src = vtk.vtkNIFTIImageReader() reader_src.SetFile...
[ "noreply@github.com" ]
noreply@github.com
4458795c392ba0ab3f81e2d130be56272b33e8c0
ee00ebe5e71c36b05fbff993b19e9723b963313f
/280_Wiggle_Sort.py
09fa9084f0ab202059ebdd2af873de234323560f
[]
no_license
26XINXIN/leetcode
f365560d93604a28abf399707b333f3c11f924ec
78ed11f34fd03e9a188c9c6cb352e883016d05d9
refs/heads/master
2021-06-28T16:31:45.103879
2020-09-19T20:33:55
2020-09-19T20:33:55
144,975,903
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
class Solution: def wiggleSort(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ if len(nums) <= 1: return for i in range(1, len(nums)): if i % 2 == 1: # increasing if nums[i] < nums[i-1]: ...
[ "yangxin.nlp@bytedance.com" ]
yangxin.nlp@bytedance.com