blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
bb17338132d0fcb1250887d972dddb667bf6c522
4c45ade71fd51f4f1f0f8bc058595c1d96be9faa
/client.py
d831f4c1ac3a17984885d484850fe7872a5c72cd
[]
no_license
Eddieative/gopher_server
95e256b96728dc42d8d4a075bf1965de269a15e8
d02c71282bf8c7bf83b2fb0584d763f320ec3026
refs/heads/master
2021-01-01T04:19:49.840482
2016-04-28T12:02:33
2016-04-28T12:02:33
57,298,117
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) addr = ('localhost', 9010) sock.connect(addr) try: message = 'testfile' sock.sendall(bytes(message.encode('utf-8'))) r_text = '' while not r_text.endswith('.'): getData = sock.recv(1024) r_text += getData.decode('...
[ "aalshehri@luc.edu" ]
aalshehri@luc.edu
29c48053784a6f6b40a6b5ba0c848c3ad67b2000
420eecae12598477a4005026a250a94bb872ef81
/DAGMan/setup.py
6c6ab5acc87dbf616290a6a869c1212b3cdc414c
[]
no_license
chadfreer/submit-examples
c65da1ebf7b6aee9b20a30a4d6b48a30bd02e1c1
cc416b30c7ff7f133e7d3cd69854886a99e3fc91
refs/heads/main
2023-07-08T12:34:36.267389
2021-08-18T13:56:04
2021-08-18T13:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
#!/usr/bin/env python cwd = os.getcwd() condor_script = cwd+'/submit.condor' retries = 2 njobs = 3 submit_script = cwd+'/scratch/dag.submit' f_out = open(submit_script,'w') for job_num in range(njobs): outfile_name = 'outfile_'+str(job_num)+'A.txt' outfile_loc = cwd+'/output/' f_out.write("JOB\tjob" + str(job_n...
[ "paus@mit.edu" ]
paus@mit.edu
bad2caa5dc65eb15a125293126cdd9ef6b32b2a1
815b4c2cca8cc1dc0be8bc1c7e89128e1bf2c6d6
/xnr_0429/xnr/timed_python_files/fb_tw_trans_timer.py
24e6fa8e066fc102cfad2eb6842da2a11a9333bf
[]
no_license
BingquLee/xnr1
d60e1a6b07757564bf105fa31d36c8ddeb14992b
dc41ff4efc97c681fef002e4cb7ba58e149f7ff3
refs/heads/master
2020-03-20T04:13:18.728441
2018-06-09T06:50:59
2018-06-09T06:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess #import os import time base_path = '/home/xnr1/xnr_0429/xnr/timed_python_files' def test(index_pre, user_index, redis_task): base_str = 'python /home/xnr1/xnr_0429/xnr/timed_python_files/fb_tw_trans_base.py -t ' + index_pre + ' -u ' + user_index + ' -...
[ "dayuanhuiru@163.com" ]
dayuanhuiru@163.com
7d8fb50e7ee7527432b24d8fb50d44b1c35dfd89
74482894c61156c13902044b4d39917df8ed9551
/test/test_address_coins_transaction_confirmed_data_item_mined_in_block.py
fe17c1e565968234e57b107948c613cf49feb8da
[ "MIT" ]
permissive
xan187/Crypto_APIs_2.0_SDK_Python
bb8898556ba014cc7a4dd31b10e24bec23b74a19
a56c75df54ef037b39be1315ed6e54de35bed55b
refs/heads/main
2023-06-22T15:45:08.273635
2021-07-21T03:41:05
2021-07-21T03:41:05
387,982,780
1
0
NOASSERTION
2021-07-21T03:35:29
2021-07-21T03:35:29
null
UTF-8
Python
false
false
1,446
py
""" CryptoAPIs Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei...
[ "kristiyan.ivanov@menasoftware.com" ]
kristiyan.ivanov@menasoftware.com
68da50086cfa822b13bcf50fd59125d841ba6b0b
618412e294ad520b71cbd8761ea92675634780ce
/training_scripts/mobileNet-3-generate_tfrecord_nasaweb.py
cc03cc07769858fcce17379171d37918cea89834
[]
no_license
cloud-graphics-rendering/aiclients-pictor
88ef4be3d06d9dce81cdbcfc8d54dda8a70f8fce
d5425b7ea72809f677f9b253667479140de8c08b
refs/heads/master
2022-12-26T14:06:46.759092
2020-10-10T04:08:51
2020-10-10T04:08:51
289,418,510
0
0
null
null
null
null
UTF-8
Python
false
false
4,303
py
""" Usage: # From tensorflow/models/ # Create train data: python generate_tfrecord.py --image_path=xxx/figures --csv_input=data/train_labels.csv --output_path=train.record # Create test data: python generate_tfrecord.py --image_path=xxx/figures --csv_input=data/test_labels.csv --output_path=test.record ...
[ "liuty10@gmail.com" ]
liuty10@gmail.com
34388cc7991e265a2d2a7205564eea29555d92d6
b8078e923e942744af03cec354efda40fc004eb5
/leapyr.py
c246390d82c88af57fad573dd87440a2679f5901
[]
no_license
sarathkumarselvam/sarathkumar-s
1019c4d6742597fea73304403dc17ec39471b597
83fe47bd51f4026a63cf4d523c0876ed93f5a487
refs/heads/master
2020-05-27T20:17:50.053735
2019-06-18T06:01:58
2019-06-18T06:01:58
188,776,963
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
year =2020 if(year%4==0): if(year%100==0): if(year%400==0): print("{0} leap year".format(year)) else: print(" {0} not ".format(year)) else: print(" {0} leap year".format(year)) else: print(" {0} not ".format(year))
[ "noreply@github.com" ]
sarathkumarselvam.noreply@github.com
6b1cb6b3f7a0424e75690bd37f4236afbe5ea656
bb1de00b37731388b9cb8ffa3b03f477400724bf
/P10_LetterGradesWithInputValidation.py
dda2a64d50ce6c66337cbb211a79ba0a6b19b64d
[]
no_license
brandoni27/PythonClassScripts
5a144b492dee1e7fcfbd4a43d293d3f9e7e19a9c
33ae7c6a9f555d1d95787d7336f6b7ace0e74b3e
refs/heads/master
2020-06-06T04:54:23.983084
2019-06-19T02:23:25
2019-06-19T02:23:25
192,642,711
0
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
# LetterGradesWithInputValidation.py # Brandon Washington # 2/18/2019 # Python 3.6 # Description: Program which computes the sum and product of two numbers entered by the user. print("Please enter your score") score = int(input("score: ")) if score < 0: print("ERROR. Please enter a score between 0 and 100") elif ...
[ "noreply@github.com" ]
brandoni27.noreply@github.com
35fc5efa1749d525fd3f6ab1157d93a404cbc1e3
4c657d5568cd49ae2ea9c8e6d22b522c6798a9bd
/urllibDemo/Test6.py
e46a579a07410868557762526ed6aae18c105599
[]
no_license
Tralo/PyStudy
696f1b2bbc74904ce9808097e792962d0f91bf63
4a9c6e4e03592ba3b827b66aad95d6560e3bbac1
refs/heads/master
2020-03-13T20:28:52.154544
2018-05-31T09:09:24
2018-05-31T09:09:24
130,459,370
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
import requests r = requests.get('http://github.com') print(r.url) print(r.status_code) print(r.history)
[ "13580548169@163.com" ]
13580548169@163.com
63cf41744528735b8ce635cd20d67ea167667d91
f06f4bbaafbc672ec3f369038936e4dd7ad7c977
/kresto/data.py
2d717a1fafcf4dddcf57ea79c129d72deb4d23ac
[]
no_license
euphoris/kresto
898fd3d56e35956a4977b450928f0725fe7250a9
0a4253aeb87010bd613dd9f8c455ee33e856959d
refs/heads/master
2020-05-19T10:31:48.532303
2014-01-20T14:54:32
2014-01-20T14:54:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
from cStringIO import StringIO import os import zipfile import html2text from pdfminer.converter import TextConverter from pdfminer.layout import LAParams from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.pdfpage import PDFPage from .corpus import Corpus def load_corpus(path): ...
[ "euphoris@gmail.com" ]
euphoris@gmail.com
b0654c2a2d79501a23167110aa08c91d2f74bc55
ff99c677aba11e27c252f773b52cd54f5de79279
/ctt-server/openapi_server/models/test_artifact.py
eb26e77d966f8b9e136f61f7fd8c85e4776ebb27
[ "Apache-2.0" ]
permissive
radon-h2020/radon-ctt
b7eeb82f59e36e2a258d0a2ba9cd9483eb3dd247
97fcf5e800a0129d24e119b430d94f07ca248ba9
refs/heads/master
2023-01-04T23:44:49.611599
2021-09-15T15:34:41
2021-09-15T15:34:41
235,379,642
0
7
Apache-2.0
2022-12-27T15:56:38
2020-01-21T15:48:45
Python
UTF-8
Python
false
false
5,920
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from openapi_server.models.base_model_ import Model from openapi_server import util class TestArtifact(Model): """NOTE: This class is auto generated by OpenAPI Ge...
[ "duellmann@iste.uni-stuttgart.de" ]
duellmann@iste.uni-stuttgart.de
3a0a7b1b54fe3bc56854a04230ad020df1409104
c429f611b3129bcbb0be8ae8b0e92aa1376eadeb
/python/losses.py
c7729d87a17a2391280bff973e06424b058a2d70
[ "Apache-2.0" ]
permissive
mahmoudnafifi/ffcc
eda7ffacbc3de5fbc29dae0dac0a8d6f6160e9a0
c52b225082327ea34bed80357dbff004fc9926ba
refs/heads/master
2022-12-13T03:18:51.416191
2020-08-20T01:06:20
2020-08-20T01:06:20
284,583,995
1
0
Apache-2.0
2020-08-20T01:06:22
2020-08-03T02:25:32
MATLAB
UTF-8
Python
false
false
12,511
py
# Copyright 2020 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, ...
[ "fbleibel@google.com" ]
fbleibel@google.com
aac20397a75eddaa76c1781124bc4879759427c2
b222a5b5a84ce5d4fa0ddb084cffd1619a84a17c
/sequence_equation/sequence_equation.py
7a5ca7223035ab0aec3fa4aea0a2b337cc528cbd
[]
no_license
unabl4/HR
a51a5d461b3d126e1021646b9f210e099b8627b3
1aaf96734b8845c911d20a4955d3ffd64a2d16b9
refs/heads/master
2021-04-05T23:55:27.202440
2018-11-04T22:44:46
2018-11-04T22:44:46
125,117,758
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# https://www.hackerrank.com/challenges/permutation-equation/problem #!/bin/python3 # Complete the permutationEquation function below. def permutationEquation(p): m = {} for a,b in enumerate(p): m[b] = a+1 return [m[m[x+1]] for x in range(len(p))] n = int(input()) p = list(map(int, input...
[ "unabl4@gmail.com" ]
unabl4@gmail.com
68913152d5b97da002f080df76762c68465c39b6
d5214b1331c9dae59d95ba5b3aa3e9f449ad6695
/quintagroup.portletmanager.footer/tags/0.1/quintagroup/portletmanager/footer/interfaces.py
4d27adc4144d611762c6bb453a6342a6cfbfc063
[]
no_license
kroman0/products
1661ee25a224c4b5f172f98110944f56136c77cf
f359bb64db22f468db5d1e411638790e94d535a2
refs/heads/master
2021-01-10T07:58:04.579234
2014-06-11T12:05:56
2014-06-11T12:05:56
52,677,831
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
from plone.portlets.interfaces import IPortletManager #from plone.app.portlets.interfaces import IColumn class IFooter(IPortletManager): """ Portlet manager that is rendered in page footer Register a portlet for IFooter if it is applicable to page footer. """
[ "olha@4df3d6c7-0a05-0410-9bee-ae8b7a76f946" ]
olha@4df3d6c7-0a05-0410-9bee-ae8b7a76f946
7d517f5071579ffb986776d0c0cfd895cedd02aa
fd01bc8c5612bd2ede5d6c24de2fbf8efb51b378
/trees/avl.py
8ff32ad9e19ea0a4ff46c33626e5217923af46b0
[]
no_license
mageMerlin8/EDA_Tarea5
67353bb853abde5c54017f733ce417dcb7bfc257
ca2da3c3b4043a9caf8689deaa765c0bcb8baf95
refs/heads/master
2020-03-29T17:53:28.133057
2018-10-04T16:12:27
2018-10-04T16:12:27
150,184,061
0
0
null
null
null
null
UTF-8
Python
false
false
6,344
py
from trees.bst import * class NodeAVL(NodeB): def __init__(self, nodo): NodeB.__init__(self, nodo.dato, right=nodo.right, left=nodo.left) self.fe = None self.fe = self.getFE() self.feChanged = True def getFE(self): if(self.right): r = self.right.getHeight() ...
[ "emilio.1997@gmail.com" ]
emilio.1997@gmail.com
88e33a3ac9e8b83161809f11986c6787a07b493a
0deb569878001e59ca94207d9629dd33a567dd8f
/python_files/file_reader.py
4939ddd0eddae793a9b9239826ac7bac5da262c4
[]
no_license
AnushArunachalam/python_files-
10b8b506b52f9505de5e66d65aa23604c86750fc
6bdac7022c6e7dc47778828137988424e8f021de
refs/heads/master
2022-11-25T06:48:04.424614
2020-07-29T12:54:42
2020-07-29T12:55:57
283,493,192
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
fp = open("index.txt", 'a') writer = fp.write('append')
[ "anusharunachalam3@gmail.com" ]
anusharunachalam3@gmail.com
aa2912c2ef41acedbaee3ebac7e817473026f59f
75ed582edd3f1ec38a93dfe366a74a335c28df53
/tsbe-2018fs/scri/session3/aufgabe_kantone.py
df4c086cbb4475fa16589f2b8d2411535c2322bf
[]
no_license
smlz/smlz.github.io
9bec54265cafaa84d33bfb2069a48bb51dedc4ad
de49cc0b6986e031aa702c044c26fa9b234d3fef
refs/heads/master
2020-12-20T03:28:13.770377
2019-05-01T20:04:22
2019-05-01T20:04:22
30,535,346
2
2
null
null
null
null
UTF-8
Python
false
false
315
py
kuerzel = input("Geben sie ein Kantonskürzel ein: ") # Beispielsession: # Geben sie ein Kantonskürzel ein: GR # Der Hauptort ders Kantons Graubünden ist Chur. # Geben sie ein Kantonskürzel ein: AB # Fehler: Kein Kanton mit dem Kürzel 'AB' gefunden # Geben sie ein Kantonskürzel ein: q # Auf wiedersehen...
[ "marco@schess.ch" ]
marco@schess.ch
2d661f3c74df52da90897d2e5452fbd1684e8bd0
6c1e361d39444d50e3e0b69bcc28edc6cd770744
/tango_with_django_project/rango/migrations/0007_userprofile.py
5315d0185fee73317cd1ccdf80d7a65c99dd2a80
[]
no_license
CoffeeDrinker-22302/WAD2
40e3d7a04e8cd2a3b5220fbc70e187cad9421acb
b233a468de121123a3efb1adb0f07c05dcf980f4
refs/heads/master
2021-01-11T21:13:26.410625
2017-02-09T21:47:09
2017-02-09T21:47:09
79,270,876
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-06 19:27 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "2301714T@student.gla.ac.uk" ]
2301714T@student.gla.ac.uk
55172d74274a5029a46af2e63ad7bc84ef53715a
d2bd1931ae47ded0ee016446aa1a7cfd8bd8c2ca
/examples/async_reconnecting_ssl_client.py
466e7e09da8cc61a2197f49c2c2d73241e855424
[ "BSD-2-Clause" ]
permissive
odidev/pycapnp
b16cfb1e5add27a2cbfda887eaf04185830a9c43
6aa59476a021cef601b0a7193a8bc7573aad31c0
refs/heads/master
2023-07-13T03:30:16.545614
2021-06-08T04:30:48
2021-06-08T04:30:48
399,744,596
0
0
BSD-2-Clause
2021-08-25T10:34:18
2021-08-25T08:25:25
null
UTF-8
Python
false
false
4,743
py
#!/usr/bin/env python3 import asyncio import argparse import os import time import socket import ssl import capnp import thread_capnp this_dir = os.path.dirname(os.path.abspath(__file__)) capnp.remove_event_loop() capnp.create_event_loop(threaded=True) def parse_args(): parser = argparse.ArgumentParser(usage=...
[ "haata@kiibohd.com" ]
haata@kiibohd.com
9e659d3dac0f1d116cf3bf103dea84c8451b82e1
6bdccbb5c387629078dba012f0bf325848631916
/a1_classes.py
995bc6cff683a2d41862aaefb23a987aaf3af6f4
[]
no_license
jc527847/A2
97716d7be8445d5053b888f7609e0652e90cb092
9e514481c005e4d93a7a2035aa23cfc44be79975
refs/heads/master
2022-12-21T11:00:06.142266
2020-09-27T12:28:58
2020-09-27T12:28:58
299,025,297
0
0
null
null
null
null
UTF-8
Python
false
false
3,261
py
from placecollection import PlaceCollection MENU_STRING = "\nL - List places\nA - Add new place\nM - Mark a place as visited\nQ - Quit\n" place_collection = PlaceCollection() def main(): place_collection.load_places() print("Places To Visit 1.0 - by <Chen chen>") menu() def place_list(): ...
[ "noreply@github.com" ]
jc527847.noreply@github.com
08c532cde042d4bb8df8b5a3d1a5138fcf37f418
390a57a46029720ac827766142c95060d36b169e
/Lab1/lab1.py
9fd0d0e4808ef9ab5a0f5be4504076395f8c27d8
[]
no_license
segev19-meet/YL1-201718
c2f338970066e63270fbf88b6d1d3c280289e0cb
4ea30aef2506f5874683a5f7f776d9e320022d25
refs/heads/master
2021-08-23T21:40:49.933317
2017-12-06T17:26:32
2017-12-06T17:26:32
110,852,872
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
for i in range (3); print("segev")
[ "segev19@meet.mit.edu" ]
segev19@meet.mit.edu
c0a784d30dad0c513d92a9c68106968303511b43
25bfbef581c596efc5e4fa45e00302226c7d4174
/Baek_2231.py
8a6bcca2fceae73b83ab6205537d8afacd37ac0f
[]
no_license
rukipgus/Algorithm
1077afee5d829d0db46dd14ee40b42ca175d1922
30faa2f2ee62dc5a5c8a3e3c0ebfb67f09c10bbd
refs/heads/master
2020-07-30T04:10:54.313824
2020-05-21T05:08:26
2020-05-21T05:08:26
210,080,888
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
a = int(input()) b = 0 for i in range(a): if sum(map(int, list(str(i))))+i == a: b = i break print(b)
[ "noreply@github.com" ]
rukipgus.noreply@github.com
186c8a6037e77f28642555ead4bdde0ddb084806
f6dc02306dc3bce551325dd6c23d256b2d491323
/flask/server.py
e1fbc75f04316242e6691bbd6f4ddf9ef492ba24
[]
no_license
fndjjx/interesting
47217f8a3410c5678b6cddf6df887d7c3e6e288d
85ff2c8905fc4e88ddeadf4b117fd7225988ffce
refs/heads/master
2021-01-17T14:41:44.634772
2017-03-29T08:07:18
2017-03-29T08:07:18
55,332,482
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
from flask import Flask, render_template from flask.ext.bootstrap import Bootstrap app = Flask(__name__) bootstrap = Bootstrap(app) @app.route("/<name>") def index(name): #return '<h>Hello world!</h>' return render_template('index3.html') if __name__ == "__main__": app.run(host='192.168.56.101')
[ "yi.lei@unidt.com" ]
yi.lei@unidt.com
b9071b7473d0802dc1743dd7203c33543df399ac
eb479fcf4486dc88d43253cad4f041531130b1f2
/main.py
0c800970affb21d7876cb3f3f9682e14bda448c7
[]
no_license
stephaniecallejas/Lab-4
147dc1efb8c3b7936d8399aa9767cc6378f66004
ff5a2b0554678f93567c6ec556e0fff16e8791f6
refs/heads/master
2020-04-06T08:19:37.107582
2018-11-28T17:22:39
2018-11-28T17:22:39
157,301,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
# Coded by Stephanie Callejas # Last Edit: 12 Nov 2018 # CS2302 Lab 4 B Project # Instructors: Diego Aguirre and Saha, Manoj Pravakar # Goal: Determine if a given anagram is a valid word in the english language using hash tables from chaininghashtable import ChainingHashTable # f is used to populate the tree with the ...
[ "scallejas2@miners.utep.edu" ]
scallejas2@miners.utep.edu
5ca72c6c700407fd220a82ddff1badf68a2fed1c
d06f858599b9ba34dbaf376275188c3cd90ccd79
/ex1b_logreg.py
ae8e9304d414eaa4992d08576e4eb502a77df208
[]
no_license
pprivulet/UFLDL
950eaf3dc683e4d426475491d746c93830d85ee8
0725c1badd41d45e16a1a48e4b15496530775c08
refs/heads/master
2021-01-21T16:52:44.120723
2016-02-24T01:51:08
2016-02-24T01:51:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
from scipy.optimize import fmin_cg import numpy as np from load_mnist import * def sigmoid(z): return 1.0 / (1 + np.power(np.e, -z)) def gradient(theta, X, y): m = X.shape[0] h = sigmoid(X.dot(theta.T)).reshape(m, 1) errors = 1.0/m * (h - y).reshape(m, 1) g = X.T.dot(errors) return np.ndarra...
[ "mehrshad.shams@gmail.com" ]
mehrshad.shams@gmail.com
149ff803cf2e12675ab01b204bcf549300d50aea
0e1a0329e1b96405d3ba8426fd4f935aa4d8b04b
/base/tests/test_create_free_client.py
33cbc04a108ef50da4ffb8fda7a8f0709f6032c5
[]
no_license
ugik/Blitz
6e3623a4a03309e33dcc0b312800e8cadc26d28c
740f65ecaab86567df31d6a0055867be193afc3d
refs/heads/master
2021-05-03T20:15:20.516014
2015-03-11T12:33:34
2015-03-11T12:33:34
25,015,963
0
0
null
null
null
null
UTF-8
Python
false
false
4,535
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "georgek@gmail.com" ]
georgek@gmail.com
2e46ca438c5563c30626e67f49c017cbe8470086
e6946ee7772172aad21a0d9e4e2c62f995a5255f
/Main.py
4cb81577230792f650c39a1370b4054ae2639a6a
[]
no_license
YuvarajParimalam/Leedscale-Automation
242db57e7a76013718cd2027c89cc095cd724fe1
3c9991415008d00097c1f1e5637d012cabf76383
refs/heads/master
2023-07-10T14:02:24.816523
2021-08-16T02:35:09
2021-08-16T02:35:09
376,780,446
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
import configparser, os from Scripts.Lolagroove import Lolagroove from Scripts.Lead_Processor import Lead_Scraper from Scripts.Campaign_update import Lead_Update config = configparser.RawConfigParser() configFilePath=os.path.join(os.getcwd(),'config.ini') config.read(configFilePath) CampaignName=config.get('Lolagroov...
[ "yraj3224@gmail.com" ]
yraj3224@gmail.com
9238735c616b761d46ddac069fc56687c03ed507
26de9d17042ff75b46c041ee3000fb29aed19197
/ITinformation/apps/job/migrations/0004_auto_20200320_1719.py
dd3d3ea0f520634a1a4dcf4fd0c3d0f7a5e5e9f0
[]
no_license
cdlsy/ITinfo
b8ba9c28c4435474184f085942d3be54d5c9c00e
22bc7374ebec85e952378f213806ca90874396a5
refs/heads/master
2021-05-21T16:43:38.571020
2020-04-03T12:24:43
2020-04-03T12:24:43
252,721,363
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
# Generated by Django 2.2 on 2020-03-20 09:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job', '0003_auto_20200320_1702'), ] operations = [ migrations.AddField( model_name='jobssku', name='fromsite', ...
[ "962082877@qq.com" ]
962082877@qq.com
edb5fcfcbb4bcff040dc2ab416705caba819a182
14864f5617bedcb5f1f756ca1da0df9585a4d605
/apps/page2.py
1bc71919a7e3d8a6cf8bac721e457bfc46539efa
[]
no_license
RyanMckenna95/Eurodash
ec60e4c0e47141bed41dc5f17c18ca8902c89caa
71f9c634f29a4eccf478223410d520211c07a350
refs/heads/master
2022-12-09T21:48:19.233289
2020-09-20T12:20:06
2020-09-20T12:20:06
297,063,568
0
0
null
null
null
null
UTF-8
Python
false
false
2,865
py
import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc from dash.dependencies import Input, Output from apps.navbar import Navbar from app import app from apps.eurostatapi import popAgeGroup import plotly.graph_objs as go import plotly.express as px nav = Navbar(...
[ "mckenna1995@gmail.com" ]
mckenna1995@gmail.com
a29b5418c26e275543f353c8cef2bfca38fca308
0351c5c97c15b55549a3c6f766ecdb1746aad152
/venv/bin/django-admin
c2224dcb57ca979c2d90b034a63cd0e41746a0d7
[]
no_license
mradulovic988/shop
a52712cc84bb1c164c655122dffdb091cb3bd65e
86d406bda8ec0cd63fc7beef4a94375e4671e339
refs/heads/master
2022-11-13T07:31:38.680293
2020-06-22T11:44:45
2020-06-22T11:44:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
297
#!/home/marko/PycharmProjects/PyShop/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "upss070288@gmail.com" ]
upss070288@gmail.com
e7573159e65752f462dbbbfb65d3985f11302c75
2ef39fbd5563f0bb7fd8f23126271c08dd150a34
/conanfile.py
a64e1e02e47b08443b1952726e6e6193997b22ec
[ "Unlicense" ]
permissive
trondhe/cmake_template
600a57b46379b870c4c639e2051971817f47b391
3da9f35eddd33bd3dfb30801d0c297b04470c6ff
refs/heads/master
2021-06-20T00:21:54.561059
2021-03-04T14:50:28
2021-03-04T14:50:28
193,145,505
5
0
null
null
null
null
UTF-8
Python
false
false
574
py
from conans import ConanFile, CMake, tools class ConanRecipe(ConanFile): name = "cmake_template" version = "0.0.1" build_requires = "doctest/2.3.8" settings = "os", "compiler", "build_type", "arch" generators = "cmake_paths" scm = { "type": "git", "url": "https://github.com/tro...
[ "trondhe@gmail.com" ]
trondhe@gmail.com
8882a3047b104ab1b3c17264e0c530a6d08c6907
9610621437f025aa97f99b67f0a5d8e13bbb715c
/com/vmware/vcenter/inventory_client.py
4a5e81930923bd8759f59470aacabd3026107b08
[ "MIT" ]
permissive
adammillerio/vsphere-automation-sdk-python
2b3b730db7da99f1313c26dc738b82966ecea6ce
c07e1be98615201139b26c28db3aa584c4254b66
refs/heads/master
2022-11-20T03:09:59.895841
2020-07-17T19:32:37
2020-07-17T19:32:37
280,499,136
0
0
null
null
null
null
UTF-8
Python
false
false
10,717
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2020 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.vcenter.inventory. #----------------------------------------------------------------...
[ "miller@adammiller.io" ]
miller@adammiller.io
29dc5b8d43fb5302a1441222a19a7d9099bcf929
8ce0fd5e5c5b858fa24e388f2114885160421c03
/python/netuse/net_use.py
1fd08a9bcb6cb202b36976078d0b840d73d473a4
[]
no_license
kong-ling/scripts
266e9975ae0156d6fdddf43b8f1d7ee20469b388
3c41c49646358d46871c8fd8ebe1ba52bdea046c
refs/heads/master
2021-01-10T08:29:34.772634
2020-01-03T09:04:57
2020-01-03T09:04:57
43,275,002
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import os import sys import subprocess p = subprocess.Popen('net use', stdout = subprocess.PIPE, stdin = subprocess.PIPE) print(type(p)) for drv in p.stdout.readlines(): print(drv.strip())
[ "kong.ling@outlook.com" ]
kong.ling@outlook.com
afd83845d02b2e0bbd10ada0166a5fdaecea47d0
a4520ed992a5e7ded73a2f5121f131d520c85624
/Python/Binary_Tree_Maximum_Path_Sum.py
e7952d89a59628c493f44525842f25d242b4c644
[]
no_license
kumailn/Algorithms
2bfa11e8e31c3cff8c8c42f86d02739f8c172505
e6be0a0cbf0caf13a723a9edfd2df33c2234235f
refs/heads/master
2022-11-30T07:02:46.672681
2022-11-06T23:08:09
2022-11-06T23:08:09
122,286,889
64
17
null
2019-10-14T06:47:09
2018-02-21T03:14:18
Python
UTF-8
Python
false
false
1,248
py
def maxPathSum(root: TreeNode) -> int: maxSum = float('-inf') def maxChildrenSum(root): nonlocal maxSum # If we land on a null node we can return 0 safely because # we know that it will not contribute to the sum of the root if not root: return 0 # ...
[ "kumailmn@gmail.com" ]
kumailmn@gmail.com
d5d8dd821a4ecfe8fd68e2dd4fdffdced4869e0f
f7df44ab53391592d438d4955752e655fc4d80aa
/login_xyz.py
81a104b0784f66a3e009b102b38024c0b8c50c94
[]
no_license
aaliyah-jardien/mysql-login
2dccee71430220815ea24dc2c77633e28a4b059d
520b97f44560a5fd695be2f2b5a26a2dd3493262
refs/heads/main
2023-06-07T19:41:25.607720
2021-06-29T11:06:56
2021-06-29T11:06:56
381,334,914
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
from tkinter import * from tkinter import messagebox # WINDOW FEATURES window = Tk() window.geometry("500x250") window.title("Login page") window.config(bg="silver") window.resizable(0, 0) # LABELS name_lab = Label(window, text="Please enter username :", font="arial 13 bold italic", bg="lime") name_lab.place(x=30, y=...
[ "aaliyahjar13@gmail.com" ]
aaliyahjar13@gmail.com
89c4230d9e89f0f657b476e80fd43d8560fad2c0
89f0ac037468a738403325d0454d4cb9149f8f7f
/al4995_hw5_q7a.py
586fe1aac7ca1c74fdb90f9af6a6f5b40b8c0c1d
[]
no_license
Jinsaeng/CS-Python
85679d77b05b95ed660345f9d5fe896566e14685
0a15261ac2dd3e88527129d9170f405697f70be4
refs/heads/master
2020-05-01T18:30:39.515267
2019-03-25T16:45:33
2019-03-25T16:45:33
177,625,783
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
num = input("Enter number in the simplified Roman system: "); m=0 d=0 c=0 l=0 x=0 v=0 one=0 for i in range(0,len(num)): if num[i] == "M": m += 1; elif num[i] == "D": d += 1; elif num[i] == "C": c += 1 elif num[i] == "L": ...
[ "noreply@github.com" ]
Jinsaeng.noreply@github.com
d380208a8d395599666fb61452b253d0e419138d
7dfbc92eac00d58b15cb6275a928907f31b5fd5f
/edx6001x/throwawayexercises/midterm5.py
18bfd675f0d4f683cc076d81c0c869b9f687548a
[]
no_license
jfolsom/pytorials
463125c1053da36235248e0a9f5e811d7c52d783
1758cf9cc536866439a0128adb1e512bda942573
refs/heads/master
2020-08-21T17:54:28.216605
2020-03-14T20:58:11
2020-03-14T20:58:11
216,212,898
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
def isunique(thisvalue, aDict): count = 0 for value in aDict.values(): if value == thisvalue: count += 1 if count == 1: return True else: return False def uniqueValues(aDict): ''' aDict: a dictionary for every unique integer item in aDict, return the...
[ "cercops@gmail.com" ]
cercops@gmail.com
fa7e40b0bb754bc7b775b514c47ad6387e9aded8
1ecb394b10e9622a5a5d8845b44e4585f464d42e
/nncp-rpc/lib/logic/Ticket/jl.py
6eba7a4aba23fda0584343d0701709d8cb297dec
[]
no_license
dragonflylxp/lottory
7ec28d196f58692d9d417aa5d6963c182afe260a
b04f115df325a58148dc19d7cdfc21b28892a6a1
refs/heads/master
2020-04-28T08:53:09.007092
2020-04-17T10:50:41
2020-04-17T10:50:41
175,145,951
1
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
#encoding=utf-8 import MySQLdb import traceback import define from dbpool import db_pool from util.tools import Log from common.dbs import BaseModel, access from baseticket import BaseTicket logger = Log().getLog() class JlTicket(BaseTicket): def __init__(self): super(JlTicket, self).__init__(47) @...
[ "noreply@github.com" ]
dragonflylxp.noreply@github.com
bfc4a81a2576286e533d2b117dd711bc3d73d013
3c27b86f0165ab24e6b04d505e8471e032594f0b
/pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGL/GLES2/EXT/shadow_samplers.py
119ce82880ccfe3b97741cc729ccd3611e990b3f
[ "LicenseRef-scancode-warranty-disclaimer", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LGPL-2.1-or-later", "GPL-3.0-only", "LGPL-2.0-or-later", "GPL-3.0-or-later", "MIT" ]
permissive
alexus37/AugmentedRealityChess
8b9ccdfffc8aee93a86a44b8ef53c034ec6a10d1
7f600ad153270feff12aa7aa86d7ed0a49ebc71c
refs/heads/master
2020-12-24T13:29:21.967833
2020-02-27T09:38:50
2020-02-27T09:38:50
31,264,034
1
1
MIT
2020-02-27T09:38:52
2015-02-24T14:36:34
Python
UTF-8
Python
false
false
774
py
'''OpenGL extension EXT.shadow_samplers This module customises the behaviour of the OpenGL.raw.GLES2.EXT.shadow_samplers to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/EXT/shadow_samplers.txt ''' from OpenGL import platform, co...
[ "alexlelidis@gmx.de" ]
alexlelidis@gmx.de
e18b37f1f5ca204f05df55aacb6448e4a970b35a
3a9bad174cf24244add6dc0ae9396a226d923c18
/pythonStuding/test1/socketServer1.py
08582ff85e173d071304032a3b63fdf33f17e51c
[]
no_license
ckeyer/outmoded
334bae2b21c57f5a19365631c1dc4eb982361f2f
c9911f4916d9b9441c1c048697f7158bacb4aad6
refs/heads/master
2021-01-01T19:52:35.412067
2015-04-02T18:10:30
2015-04-02T18:10:30
24,946,963
0
1
null
null
null
null
UTF-8
Python
false
false
1,273
py
#-*- coding: utf-8 -*- from socket import * from time import ctime from time import localtime import time HOST='' PORT=1122 #设置侦听端口 BUFSIZ=1024 ADDR=(HOST, PORT) sock=socket(AF_INET, SOCK_STREAM) sock.bind(ADDR) sock.listen(5) #设置退出条件 STOP_CHAT=False while not STOP_CHAT: print('等待接入,侦听端口:%d' % (PORT)) tcpCl...
[ "wangcj1214@gmail.com" ]
wangcj1214@gmail.com
b582204cc823c8bbb76f24bede5a93b806555eff
cf0e827be05b2f2ec8afe8363996f7763af85414
/AlienInvasion/settings.py
e4d729ed2d012bbb0d01d44b143ef54c0367af31
[ "Apache-2.0" ]
permissive
imtoby/LearnPythonRecord
3f2757e0c70d793ad70c1ef2a8335b56004e2b55
81cfb0940da8af23afa67796b61973cc6ead31f9
refs/heads/master
2021-05-09T14:36:19.216559
2018-02-28T03:09:27
2018-02-28T03:09:27
119,069,685
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
# -*- coding: utf-8 -*- # Created by: ZhaoDongshuang # Created on: 18-1-29 class Settings: """存储设置信息""" def __init__(self): """ 初始化游戏的静态设置 """ # 屏幕设置 self.screen_width = 1200 self.screen_height = 800 self.background_color = (230, 230, 230) # 飞船设置 self.s...
[ "zhaodongshuang@syberos.com" ]
zhaodongshuang@syberos.com
b5fca79b1608f0797b4b9d9f43d800951d1a52d8
d4c024cc1330aa86582e0e3f25d5c0f76a9ccbe0
/align/predict.py
2f6ebbfb812250d45681908e7d093c5c0b37572c
[]
no_license
jeehyun100/insta_crawling
464d5a90a614ed4aab1ca28566ad87cbda279447
39ada39513bc3655adc2e624c786cc6fd8473a7e
refs/heads/master
2021-09-07T15:41:57.013861
2018-02-25T09:32:36
2018-02-25T09:32:36
118,861,846
0
0
null
null
null
null
UTF-8
Python
false
false
2,797
py
import os import cv2 import numpy as np import tensorflow as tf from scipy import misc import align.detect_face as detect_face #from facenet_tf.src.common import facenet from PIL import Image from PIL import ImageFont from PIL import ImageDraw import datetime import dlib from imutils.face_utils import rect_to_bb import...
[ "intwis100@naver.com" ]
intwis100@naver.com
3d61916d02e4d77417e3002685e698eb6b3f478c
c32230a3f7aff555a33cc9e5ad994b552823de63
/Utils/train.py
03ee464be761178b573343a8d1c2b3bf6caa1d00
[]
no_license
ShreyasMalakarjunPatil/PHEW
819bcb8ad47f73f137f92d7611fedc26b59f3981
c4a0d40be8582a8ea51a4eb01338202f62277225
refs/heads/main
2023-07-04T12:51:04.841810
2021-07-23T15:44:02
2021-07-23T15:44:02
364,422,694
4
1
null
null
null
null
UTF-8
Python
false
false
5,248
py
import torch import pickle as pkl import copy from Prune import mag_utils from Prune import Utils def test(network, loss, dataloader, dev): network.eval() total = 0 correct1 = 0 correct5 = 0 with torch.no_grad(): for idx, (data, target) in enumerate(dataloader): data = data.to(d...
[ "sm_patil@gatech.edu" ]
sm_patil@gatech.edu
df7a9c0e24ac326304c81886a08987ad4ec9854a
b7b1608203e018cf258826ff92c3234db896b33c
/UI1/Old/searchwindow.py
b621efb8fca096ad31e187c166d8b6fa715d4777
[ "MIT" ]
permissive
UnclassedPenguin/AnimalTracker
254a86090a35f6a16adaa3d3f1e216d6c9a44751
ade8c55d3c9617e3a4013af9dcaefcbcc255f9fe
refs/heads/master
2021-12-14T11:03:30.052075
2021-12-07T20:40:58
2021-12-07T20:40:58
159,107,460
1
0
null
2021-12-07T19:58:44
2018-11-26T03:53:32
Python
UTF-8
Python
false
false
15,412
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'searchwindow3.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Ma...
[ "tvanden@live.com" ]
tvanden@live.com
7e0763d7d153bdb193b2ca91c433979cec233eae
ad3e604a15890eac09cfe0b4e74fe256597ef6f3
/basic_read/venv/bin/easy_install
27458d36c72bf2c74cd235ada044227658909880
[]
no_license
FrauBoes/iot
02df543b5a5a8c3c27a4486912a6d59652f1ab17
f78a0e02a54fec44d6a5f3bf4ac53f70d2a117f7
refs/heads/master
2020-04-15T05:41:01.634221
2019-01-07T13:03:05
2019-01-07T13:03:05
164,433,279
0
0
null
null
null
null
UTF-8
Python
false
false
436
#!/Users/thelma/Dev/iot/basic_read/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install' __requires__ = 'setuptools==28.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)?$', '', s...
[ "juliaboes@posteo.de" ]
juliaboes@posteo.de
54eef6b92d0dea189cce79be2163407619b9dcff
f85cc3fb482f1b71e7a749e1bcdbe90ba78fd059
/swap_every_two_linked_list.py
382cd105924360af622ba95190ca1d4012b07495
[]
no_license
shan-mathi/InterviewBit
c94e091f728b9d18d55e86130756824a3637a744
6688e4ff54d56cf75297bb72ce67926b40e45127
refs/heads/main
2023-06-29T10:43:29.712472
2021-08-05T19:06:53
2021-08-05T19:06:53
364,321,855
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # @param A : head node of linked list # @return the head node in the linked list def swapPairs(self, A): if A is None or A.next is None: ret...
[ "noreply@github.com" ]
shan-mathi.noreply@github.com
f49aa08c5251a7ed5487d2372a8c33761a0ce5de
4ef9b96045d456145c55321b33ecda849c87620c
/bambazeled/modules/python_lib/python_lib.py
09ea662cad8437c3feffd4d5a35c8c2101849933
[]
no_license
pickledgator/bambazeled
58aea1c2a12c0abc165260eb9ca62fdb895e6802
fd5661173d05cd974910b96984a4a5d7ffe830d7
refs/heads/master
2020-04-10T04:10:00.756641
2018-12-25T22:40:47
2018-12-25T22:40:47
160,790,075
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!/usr/bin/env python class PythonLib: def __init__(self, init = 0): if init < 0: raise Exception("Initial value must be positive.") self._value = init def increment_by(self, value): if self._value + value >= 10000: self.reset() self._value += value def res...
[ "nic.fischer@postmates.com" ]
nic.fischer@postmates.com
b552ba1a83f2b1221607ee157be3200b3163a86d
7b7df51427a5bbcd4b144a8aba9fb4c2588550ba
/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/celery/app.py
474517def62eb56ec64490e3165c374e28a387cb
[ "MIT" ]
permissive
tegia/cookiecutter-scrapy
595eefddb5ff0aa20378e8460bc3ab4bb875c109
662cf7f99c0003d2a2fe3186c4dc0401e5382e28
refs/heads/master
2022-04-09T15:40:35.826637
2020-03-25T04:03:05
2020-03-25T04:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from celery import Celery from {{cookiecutter.project_slug}}.configs import settings app = Celery('tasks', broker=settings.CELERY_BROKER_URL) @app.task(name="{{cookiecutter.project_slug}}.pipeline.process_item") def process_item(item): """ Body method is defined here or something else (eg. in django project)...
[ "cuongnb14@gmail.com" ]
cuongnb14@gmail.com
ee81876807588c0e2367750bcb141750ead0ac37
702737408d2ddfa60c1a0aa94a3a3685a0c5f89e
/Testapp.py
1eaa3b86e274902818290165e278595ce9a23cf5
[]
no_license
Thembapa/Kasivore
5653182f629ae89080fa525e925ad82ec9e30925
6eca64ae4d0dd649ad8b8e09f0962914e478aa5f
refs/heads/master
2021-01-07T01:48:59.087390
2020-07-13T19:55:03
2020-07-13T19:55:03
241,543,139
0
0
null
2020-04-07T20:06:56
2020-02-19T05:46:00
JavaScript
UTF-8
Python
false
false
125
py
import DistanceCalc print('distance: ' + str(DistanceCalc.estimatedDistance (-26.3194776,28.255009,-23.8912248,30.327695)))
[ "thembapa@gmail.com" ]
thembapa@gmail.com
5f653a3d19775919a62112eb017f0dae4dfaeb77
7be2397ccb3cee0f2acc24081934e0ecb146115f
/leetcode/editor/cn/[179]最大数.py
e45f99f17a83b9336b8b7d48da71bc72e295ae1a
[ "BSD-3-Clause" ]
permissive
LuoMaimingS/LeetCode
77262d424498175ab1f29f97784b0e970c60fae0
e6b0bb2ab5a958d06416178cfbc1a557b0315338
refs/heads/master
2021-05-16T21:24:16.110904
2020-08-04T15:45:46
2020-08-04T15:45:46
250,474,706
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# 给定一组非负整数,重新排列它们的顺序使之组成一个最大的整数。 # # 示例 1: # # 输入: [10,2] # 输出: 210 # # 示例 2: # # 输入: [3,30,34,5,9] # 输出: 9534330 # # 说明: 输出结果可能非常大,所以你需要返回一个字符串而不是整数。 # Related Topics 排序 # 👍 327 👎 0 # leetcode submit region begin(Prohibit modification and deletion) class Solution(object): def largestNumber(s...
[ "mp1833013@smail.nju.edu.cn" ]
mp1833013@smail.nju.edu.cn
20b8d06232b4b6e0ab720a34fa4445130ac824f2
387d6549a089449c33a40def2cde6aa9287408e4
/utils/mapiou.py
0cfd4aa8a2acea053e77c4bca4785772e7611a6f
[]
no_license
rathinad/kgl
b5e4b377ce01efbd6512d2c28edd71b5bb8a7879
2d744734d4e27d7a0521bf9b5aad6ab8a6aa1fd4
refs/heads/master
2020-03-31T10:53:06.624858
2018-10-09T03:28:33
2018-10-09T03:28:33
152,153,976
0
0
null
null
null
null
UTF-8
Python
false
false
4,075
py
import numpy as np def printvalues(aa, bb): print('Entering printvalues') sumtotal=0.0 sumtotal2=0.0 scores = np.zeros((0,)) #aaa=numpy.array([numpy.array(xi) for xi in aa]) # bbb=numpy.array([numpy.array(xi) for xi in bb]) for d in aa: print('Printing f...
[ "noreply@github.com" ]
rathinad.noreply@github.com
bdc0672a1f40976597bd0ac8992d513ab72c649c
24eced3f950ca198baa1fa0faa95cfd976e61b84
/sem1/lista1sol.py
4af2049360a3d3b9739bf44c974a41d1abb036e6
[]
no_license
unisinos-labprog/python
a3bc3d3c9bd2971fadb57ef4dcae1ed0a8cc3316
33e51796b0511c3ea6001b0c4102355c2c884b99
refs/heads/master
2022-12-05T06:26:44.205873
2020-08-21T21:51:16
2020-08-21T21:51:16
284,353,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
#Primeira Lista import math # 1 ------------------------------------------------------ print ("Alô mundo!") # 2 ------------------------------------------------------ num1 = int(input("Qual o primeiro número?")) num2 = int(input("Qual o segundo número?")) print("a soma de ",num1," e ",num2," é ", num1 + nu...
[ "ernie.linds@gmail.com" ]
ernie.linds@gmail.com
a7cd4412c6af19405b8adf444583b176a579f717
37843eb761fbe20b7e369fb71d81cb9d9b3db3e1
/dvc/cache/base.py
38e84869c5a77b8c394d89a6804c5fe2caaaf009
[ "Apache-2.0" ]
permissive
tall-josh/dvc
e88ebd11335fc3da7ff3b472058a12a84b416efc
aed343f77c0f27f1b5f3a828e450614d2ee17b8d
refs/heads/master
2022-12-09T10:46:34.886051
2020-09-08T09:45:19
2020-09-08T09:45:19
268,058,946
0
0
Apache-2.0
2020-08-05T09:48:57
2020-05-30T10:40:10
Python
UTF-8
Python
false
false
20,595
py
import json import logging from copy import copy from shortuuid import uuid import dvc.prompt as prompt from dvc.exceptions import ( CheckoutError, ConfirmRemoveError, DvcException, MergeError, ) from dvc.path_info import WindowsPathInfo from dvc.progress import Tqdm from dvc.remote.slow_link_detectio...
[ "noreply@github.com" ]
tall-josh.noreply@github.com
3d5d6019a9b7ef49e43d555f842b963c4e47b7ac
a594055a3a38a62db98b2e85ec7113d1b2558c1d
/hangman.py
58c8128759b7c91b88c5d8e43794fab21dcad991
[]
no_license
ruddyadam/learning
003fe08d4cd63ae8ed4e0e239584c2705ba1c7b3
d9530d83f4387b0cd5055592b2f109ad5e20b45f
refs/heads/master
2021-01-19T13:36:29.530036
2017-03-13T11:22:27
2017-03-13T11:22:27
82,400,704
0
0
null
null
null
null
UTF-8
Python
false
false
2,231
py
import sys pyVersion = sys.version_info[0] pySubVersion = sys.version_info[1] message = '\n********\nYou are currently running Python version {0}.{1}\n********\n' print(message.format(pyVersion,pySubVersion)) if sys.version_info < (3, 0): raise ValueError("you must use python 3.x") else: print("good\n") gu...
[ "ruddyadam@gmail.com" ]
ruddyadam@gmail.com
0723e9d3c2f3ed3348f8962f73db031393fd5949
c59738ddfb08134af01d75255c4469071a1e135e
/002_Python_data_analysis_from_entry_to_master/ch10_Numpy科学计算库/02_数组的操作_分片_索引_拼接/005_二维数组_水平_竖直分割split.py
54eb1c3acdf6b7d1c6d0d1128504a00f3cc4eed3
[]
no_license
FelixZFB/Python_data_analysis
371a8460da79e8fdb30b10c02b662419b62a5998
62f018d88d8454afe65980efd8d771ac8691956a
refs/heads/master
2020-05-20T14:46:00.606684
2020-02-04T14:25:20
2020-02-04T14:25:20
185,629,174
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
# -*- coding:utf-8 -*- import numpy as np # 生成两个形状一样的二维数组 a = np.arange(16).reshape(4, 4) print(a) print("*" * 50) # 水平竖直分割是拼接的反操作 # 竖直分割: 以行分割 # 水平分割: 以列分割 # 竖直分割,指定被分割为几个数组,数要被整除 b = np.vsplit(a, 2) print(b) print("*" * 50) # 水平分割 c = np.hsplit(a, 2) print(c) print("*" * 50) # 也可以直接使用split函数,指定轴号0,作用于列,以行分割,竖直分...
[ "18200116656@qq.com" ]
18200116656@qq.com
9583bb87d6d50958ce11e645470522df8b013170
144a2a6f2e4a40d746f4908686e5080fcd3ebd79
/drl-gym/logger.py
43ba5d6ce80f72d0480a619f413d74c2c2a0b651
[]
no_license
cxttli/ReinforcementLearningCode
ad6eef7c2980f0a4df40429e6deeadf82bed4030
b5d092f2b760fafe2a9ffaf31da0e6285441a54f
refs/heads/master
2021-10-09T18:31:12.773446
2019-01-02T06:20:01
2019-01-02T06:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,044
py
#!usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import os def write(file, value): file = open(file_path, 'a') if isinstance(value, int): file.write() ''' 作用在于: store_resutl(): 进行数据储存; reveal_last(): 定期输出该期间的平均值; write_last(): 定期将平均值结果写入文件,防止数据丢失; write_final(): 将每次保存的数据进行写入,不止是平均...
[ "wuhaolin@126.com" ]
wuhaolin@126.com
d75eee747f6822c8a9b790c92c8e2d58fcc5cb27
fcc58c7486ea4c238a8286b6385b7e1ac0052725
/kirjasovellus/events.py
d3c2170be70122be72d76ad51e05217af751b24f
[]
no_license
Juboskar/kirjapaivakirja
087407097cd2d7ed61488d52bae729a0c60c401c
a27405b4051783ff06ee3334c700ef5643d1fb90
refs/heads/main
2023-04-27T21:49:48.659102
2021-05-09T10:56:57
2021-05-09T10:56:57
349,436,791
1
0
null
null
null
null
UTF-8
Python
false
false
511
py
class Event: def __init__(self, event_type: str, time, content: tuple): self.type = event_type self.time = time self.content = content def concatenate_event_lists(ratings: tuple, progress_updates: tuple): events = [] for i in ratings: events.append(Event("rating", i[5], i)) ...
[ "oskari.juvakka@gmail.com" ]
oskari.juvakka@gmail.com
0da11d84bb2716fc9df87d34b678a04e4e740506
5cac13969210aa062b0c4d51f56111a7400f6b5d
/main.py
9d47fd89194ceee088182f302a1436fb68e8968d
[]
no_license
hehehe0803/CS498B_senior-project
e7283aec954398bc627bc33c7153a4689cd06650
2fab95d922b810ba4a8f3919712ba4787da9e953
refs/heads/main
2023-04-01T03:27:29.934757
2021-03-29T16:04:02
2021-03-29T16:04:02
343,339,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
import cv2 from PIL import Image, ImageOps from keras import models import numpy as np def main(): model = models.load_model('./detect_model/keras_model.h5') cap = cv2.VideoCapture(0) categories = ['Skull', 'Pikachu', 'Man', 'House'] while (True): # Capture frame-by-frame ret, frame ...
[ "hehehe0803@gmail.com" ]
hehehe0803@gmail.com
db3d7eda1e87530089374a33401a01e549e7a541
85731130fd28bf26bcd4a662368e4de255eda8e3
/python_practice/prac9.py
07fe3f71dd21cc3c621d15276bf93ca68b6fcfeb
[]
no_license
chanish-teramatrix/python-practiceCodes
4670b22bd4309fbcd790c686e76e3c720fc84ea4
8e7ec8f065fd42516fb5b38534d5998866ec936b
refs/heads/master
2016-09-06T10:04:29.033646
2015-09-04T11:46:45
2015-09-04T11:46:45
40,706,353
0
0
null
2015-09-02T12:24:45
2015-08-14T09:14:40
Python
UTF-8
Python
false
false
92
py
#!/bin/python #module2 def even_odd(x): if x%2 == 0: print 'even' else: print 'odd'
[ "chanish.agarwal@teramatrix.in" ]
chanish.agarwal@teramatrix.in
94ee6a4e66acd0722e90563e3119991e1303d276
37e17c43dda0c4e3842f1158ae586b09f4c0a072
/src/sd_client/sd_mic.py
0b74b17dde541e186bcc6c85b83f845238788519
[ "MIT" ]
permissive
Ryo-Ishibashi416/SP_1802
3472eb5e8d75d520a65f4b10006db75ad2fde82b
46eab9b77b0ec06fb9ef1ba5962dfd7f06889a4f
refs/heads/master
2020-08-22T03:42:29.174257
2019-01-17T16:15:26
2019-01-17T16:15:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,465
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ### Sound Detect Client for mic ############################################### __author__ = "Yoshihiro Kajiki <y-kajiki@ah.jp.nec.com>" __version__ = "3.11" __date__ = "Sep 29, 2018" ### Usage: $ python sd_mic.py deviceID ### ###...
[ "koji@M-TabataYotaro.local" ]
koji@M-TabataYotaro.local
e610698786f353d5ba7f3030dbe71ec75c1973c3
ff384d954b2c86a90e9982a444df721d50a3de93
/boutique_ado/urls.py
ba354b2c0e81d28766434e305e045c8c60287f0a
[]
no_license
davidjbuchanan/boutique_ado_v1
7553206033e89f45c6821c4e25c8a184cfe68e58
e55d519a633ad25833a2270ddd00bff7fa1cdf2f
refs/heads/master
2023-08-02T20:44:36.996659
2020-07-03T09:02:28
2020-07-03T09:02:28
272,670,738
0
0
null
2021-09-22T19:15:43
2020-06-16T09:49:54
HTML
UTF-8
Python
false
false
1,209
py
"""boutique_ado URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "davidjbuchanan@gmail.com" ]
davidjbuchanan@gmail.com
95aede88f4655f72af544720480e5151aab0d8a1
ea15d9742ea322e973e5b41de9d25423eb55a4c8
/tests/metadata/test_continent_metadata.py
6a58c4608ba745007649ccfa4cae3aae8dd536f6
[ "MIT" ]
permissive
Math-Avila/dataviva-api
53d767b6f24ebf0ee9f9477317e3e19270eafd6e
5d2756b1003695038be32f58b43b11f5ed3e358e
refs/heads/master
2020-07-29T04:48:12.915430
2018-08-17T18:30:28
2018-08-17T18:30:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
from test_base import BaseTestCase class TestContinent(BaseTestCase): def test_continent_path(self): response = self.client.get('/metadata/continent') self.assert_200(response) def test_continent_plural_path(self): response = self.client.get('/metadata/continents') self.assert...
[ "danieltafuri1998@gmail.com" ]
danieltafuri1998@gmail.com
5738b8ee28520b927063ca1c7c865b6ad5628621
39f4d05b6bb72f84b4ed0d99c7a3e100ea9fdfa5
/thekrustykrab/mixlist/migrations/0004_auto_20180327_1514.py
6fbc8b467b8d33a5e2d214167334ef12f090ba33
[]
no_license
SuedeOO/326Project1
20a386dbe0cc7b03603c7fb8049f21a5dc3c5774
54397b718ea144168a8a862bd19c736ea9c413c5
refs/heads/master
2021-04-28T15:20:35.033683
2018-05-01T23:40:51
2018-05-01T23:40:51
121,986,898
1
2
null
2018-03-29T21:10:54
2018-02-18T20:16:38
HTML
UTF-8
Python
false
false
598
py
# Generated by Django 2.0.2 on 2018-03-27 19:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mixlist', '0003_auto_20180324_1450'), ] operations = [ migrations.AddField( model_name='mix', name='description', ...
[ "mattrobinson125@gmail.com" ]
mattrobinson125@gmail.com
26040b78b0653089fc79de6e48455653ef0d8888
2e760c5c926a2a72107d92c1692bbb76cd987dab
/valeur_aleatoire.py
89e0ea9b9afdac8b6f899be25be16561bfc10ab0
[]
no_license
JPdiedhiou/git_project
d1a24dd320ca930168a29f4a379e733653541fff
9885c5d1871e66f689d0034934d76a93a67aab60
refs/heads/master
2020-05-07T08:48:52.446414
2019-04-11T12:27:30
2019-04-11T12:27:30
180,163,611
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
import random nbre_alea = random.randint(0, 9) rep_user = None while rep_user != nbre_alea: rep_user = int(input("Entrer une valeur entre 0 et 9 :")) if rep_user < nbre_alea: print("Le nombre aléatoire est plus petit") elif rep_user > nbre_alea: print("Le nombre aléatoire est plus pe...
[ "diedhioujp@outlook.com" ]
diedhioujp@outlook.com
af37f57d01f5ccea972c810929054efcb82c7055
85f078686bfe8ca7437e482b9bf016bc4f3327f1
/users_app/forms.py
44934162b45ba311ff3176b00f093a80a24fc387
[]
no_license
saroshkhandev/TaskManager
d9267257b8027fdf8c1e5683e59bb7b01551d599
afd9d19850db789fc15170f847451ea4f4bf2b89
refs/heads/master
2023-06-18T22:25:41.992526
2021-07-15T11:07:18
2021-07-15T11:07:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class CustomUserCreationForm(UserCreationForm): email = forms.EmailField(required=True) class Meta: model = User fields = ['username', 'email', 'password1', 'password2']
[ "saroshabdullah2013@gmail.com" ]
saroshabdullah2013@gmail.com
cb5cce812191e1e05ffa5a6fb5f10082f4ebc88a
8a51c5e98346e3fe98ed8b60e1adc9efacbe0c4e
/aula_29/exemplo_03.py
8258bce190e50629f1803d4f078332f0f42df45e
[]
no_license
vtp14/aula_desafio_29
0491d05ddeb266452d91e8a2d6c8a5e00b568677
fb8fdd91b412e3ef287cfd4561baa77fd20f72e5
refs/heads/main
2023-08-03T22:54:33.652792
2021-09-27T18:28:19
2021-09-27T18:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import os nome = input("Digite seu nome: ") #int() converte o que foi digitado em um valor inteiro idade = int(input("Digite sua idade: ")) resp = 100 - idade; print("------------------------------") print(" Cadastro ") print("Nome:",nome) print("Idade:",idade) print("Resposta:",resp) print("----...
[ "vitoria.tobias.paris@gmail.com" ]
vitoria.tobias.paris@gmail.com
79d0ea95708a040a0b370b8133a364f77aa32bd0
8c78491df7b38f23a5176eac558060fbd8131478
/Book/chap6/Supporting Materials/quadsolnsFull.py
27b93d35ce7e40d93dd3fa438a25de45c88eaa8e
[ "CC0-1.0" ]
permissive
phaustin/pyman
84e26228d2cbafb90d0476a7bf0d03c0a57fad3f
ddcebfe85313c854bf71acc9daae13f2dc1c2b6f
refs/heads/master
2021-01-17T08:46:12.817978
2020-02-03T16:52:48
2020-02-03T16:52:48
40,729,448
1
1
CC0-1.0
2020-02-03T16:52:49
2015-08-14T18:09:20
Jupyter Notebook
UTF-8
Python
false
false
441
py
import numpy as np a = float(raw_input("What is the coefficients a? ")) b = float(raw_input("What is the coefficients b? ")) c = float(raw_input("What is the coefficients c? ")) d = b*b - 4.*a*c if d >= 0.0: print("Solutions are real") elif b == 0.0: print("Solutions are imaginary") else: print("Solution...
[ "pine@nyu.edu" ]
pine@nyu.edu
fd21d5692c2978de060bef8554be85f67ab784b6
1c12441e8564066688443d56dac8cb8be2e9ae40
/WiseNews.py
01e87fc1b41f8c052331b5610a7eb575b05eed02
[]
no_license
jayvischeng/WiseNewsCopy
80333bb6bb40ec6ef86dd7db592a60a5b767268f
5ba2b8aa6f58d966ec8cb1bc748e7d4b2975c661
refs/heads/master
2021-05-28T19:59:26.327502
2015-07-28T05:55:17
2015-07-28T05:55:17
null
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
13,576
py
# #-*- encoding: Big5-HKSCS -*- import requests from bs4 import BeautifulSoup import os import re import shutil #import sys ##type = sys.getdefaultencoding() ##reload(sys) ##sys.setdefaultencoding('gbk') #global base,Start, Interval, articleisinUrlList, Page, path, newfilepath,PageErrorList,TitleErrorList,IndexError...
[ "designer357@gmail.com" ]
designer357@gmail.com
fbd377cdb9cdae0e1c6af09c010ce94ab99a22f3
6dec0cbff8fe62be2cf3d352884c32fad3dfdfc9
/brca/views.py
876985a96f7d0a85ac04aab2f286903757c02520
[]
no_license
sarahjamieson/small_apps
2c74f4dc176e29862c08c6719fe4ba310ccf7f5b
345e669b1ab02d435e3ca6e5f2bb220c98d0feda
refs/heads/master
2021-05-03T15:22:31.030427
2019-07-24T09:52:07
2019-07-24T09:52:07
65,740,293
0
0
null
null
null
null
UTF-8
Python
false
false
3,163
py
from django.shortcuts import render, HttpResponseRedirect, HttpResponse from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.contrib import messages from django.core.urlresolvers import reverse_lazy from brca.forms import UploadFileForm import...
[ "shjn@localhost.localdomain" ]
shjn@localhost.localdomain
b0000f65f8955a9141b9c9455ff591324ae8ec6d
6b183b67944b169048a930e34608925fb9abdc3e
/xicam/plugins/imagemixinplugin.py
66f951c285c0e0940ac64a45eb590950abeb7fcb
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause-LBNL" ]
permissive
ihumphrey/Xi-cam
cef31bba712ebf6d330402b9a7cc24d3d096e2b8
a033a97c4dac55221167d9c4e914c65e835f015a
refs/heads/master
2022-05-12T22:10:24.970713
2021-05-12T22:29:08
2021-05-12T22:29:08
190,625,609
0
0
NOASSERTION
2019-06-06T17:52:35
2019-06-06T17:52:34
null
UTF-8
Python
false
false
509
py
""" Nothing useful here! Why? Because with the PluginType Plugin, we need to register the SnifferPlugin as an entrypoint for the manager to collect them. In this case, the only meaningful part is the name of the entrypoint, not what it points to. Of course, it has to point to something, so... """ from .plugin import Pl...
[ "ronpandolfi@gmail.com" ]
ronpandolfi@gmail.com
a69f31046ca1375d93c2580b8e063ae14697a3d1
eecfb88eea01f9dbb20c34b70f56ccfc353ffa4c
/ml-scikit-learn/data/clustering/kmeans.py
74422a5d3b77cfd31a40b1610967300cc49f0ad2
[]
no_license
adgon92/py-datacamp
22fa029c0d40fae6fbad1172d1541161520be386
6ab03c1bd704724f3cdea672248c846e3ad09b42
refs/heads/master
2021-01-19T13:33:43.184300
2017-03-04T18:21:32
2017-03-04T18:21:32
82,398,823
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
from sklearn import cluster class KMeansCluster: _INIT = "k-means++" _N_CLUSTERS = 10 _RANDOM_STATE = 42 def __init__(self, training_data): self._training_data = training_data self._clf = cluster.KMeans( init=KMeansCluster._INIT, n_clusters=KMeansCluster._N_CL...
[ "adgon92@gmail.com" ]
adgon92@gmail.com
cc7764cc0012e3eab4a8c87739f2c1c8c1059480
e561681c5d4c7bd795e64c19122271909b6e67af
/config/urls.py
0043f4327b0d070bb6b7e9b11648c151cb363a26
[]
no_license
gustavodearmas/Sistema-de-Facturacion-Django
9ef78446483f433874519952623f3f38c32a76a1
a9cab6d820ef9f11263ea723594b9a8c74fae59e
refs/heads/master
2023-07-29T11:14:17.289225
2021-09-17T05:50:02
2021-09-17T05:50:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
"""config URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "bocettodigital@gmail.com" ]
bocettodigital@gmail.com
e5ce1f784c016a82ea0bdab7ee28be6530a79009
cf4b0eaca92048c6fff0de933b69b6322f17a073
/build/lib.linux-x86_64-2.7/keystoneclient/v3/client.py
8ab4f4181a0e0b4b5542d4814e9d047f0ef345d4
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
MaheshZ/maheshsawaiker
d9935d40b0da2042bc696423418f2a69db495ba8
b1b5875bfd48a51b6d1eb9c1b76e8eefd41767ff
refs/heads/master
2021-03-12T22:16:45.220953
2014-12-31T05:06:12
2014-12-31T05:06:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,314
py
# Copyright 2011 Nebula, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "mahesh_sawaiker@persistent.co.in" ]
mahesh_sawaiker@persistent.co.in
bc7c9459c0f70e88e0dde36873b792973860a896
1a24def8879972f21d846ffb3813632070e1cf12
/Chapter06/0602fib-func.py
79885098128099a23319588b0f10e18295f92798
[]
no_license
mushahiroyuki/beginning-python
03bb78c8d3f678ce39662a44046a308c99f29916
4d761d165203dbbe3604173c404f70a3eb791fd8
refs/heads/master
2023-08-16T12:44:01.336731
2023-07-26T03:41:22
2023-07-26T03:41:22
238,684,870
5
4
null
2023-09-06T18:34:01
2020-02-06T12:33:26
Python
UTF-8
Python
false
false
659
py
#@@range_begin(list1) # ←この行は無視してください。本文に引用するためのものです。 #ファイル名 Chapter06/0602fib-func.py def fibs(num): result = [0, 1] for i in range(num-2): result.append(result[-2] + result[-1]) return result #@@range_end(list1) # ←この行は無視してください。本文に引用するためのものです。 #実行 #@@range_begin(list2) # ←この行は無視してください。本文に引用するた...
[ "hmusha@gmail.com" ]
hmusha@gmail.com
822896e26b43d3434fdf04b422731eea84253a0a
1f7d41218ad07fb681d3e470f9bef8bf45b36db0
/mmskeleton/__init__.py
18d198de0b44c44f7be3a8398d00819d07513e18
[]
no_license
8secz-johndpope/temporal_inverse_kinematics
138070473f16a42ed9f61f98a3a42f5778bd3c17
338367acca2bb468c54b6b08cbc9f3c4cd0f0c49
refs/heads/master
2022-12-04T13:51:13.117086
2020-08-29T13:05:55
2020-08-29T13:05:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from . import utils from . import datasets, processor, models, ops, apis from .datasets.skeleton import skeleton_process
[ "khanh@move.ai" ]
khanh@move.ai
13bca8e49f1768f4c7f6c5f3376bae5edf40196f
8c1213dec0be90a1ef3e46f767f626acb22be4b8
/user_dashboard/user_dashboard/settings.py
f5d135773342a981d6679f868b93d7b7ea7c8d7c
[]
no_license
ccunnin8/django
6d43de7e151f85469f31a0e5da6dc02dfd5101fd
11f8afb0a787789a24746acf5f1bfe0f4c24e99a
refs/heads/master
2022-12-12T11:22:04.415053
2018-11-13T19:31:00
2018-11-13T19:31:00
124,255,284
0
0
null
2022-12-08T00:45:36
2018-03-07T15:24:56
Python
UTF-8
Python
false
false
3,174
py
""" Django settings for user_dashboard project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ impo...
[ "coreyjjc@me.com" ]
coreyjjc@me.com
959688bf2a4078f933a1805552a814424616db66
c5851bd83217d7d0002703659f6ecd0c930b6c9a
/graphene_demo/demo_latticeinfo.py
a35b472dbe94e5a8937ff3cfa485ac3b397e9647
[]
no_license
schackv/graphene
bd3b53518d7a17ee8d12b09633542640ea49b1dd
1452f71e0a39977cb02e60fb807d29fa509092d3
refs/heads/master
2020-05-17T15:04:44.032619
2014-10-17T12:43:48
2014-10-17T12:43:48
21,196,394
1
0
null
null
null
null
UTF-8
Python
false
false
1,629
py
# -*- coding: utf-8 -*- """ This demo shows how to extract global lattice properties using the spectral signature in the image. Created on Fri Jul 25 18:49:53 2014 @author: schackv """ import numpy as np from graphene import * import matplotlib.pyplot as plt def demo_latticeinfo(): """Read an image, retrieve ...
[ "schackv@users.noreply.github.com" ]
schackv@users.noreply.github.com
1856ed29d527aef3b9ef5fa008bb36e129ce55b8
5ccdd5cd7bc7a247e612575d8d5e809f03aaf927
/Classification/Naive Bayes Classifier_CGPA.py
677e396ec9551cab2cb5bb05d65fef5ad4ad99d3
[]
no_license
vermautkarsh44/CGPA-prediction-system
45c2e22ea2c5c2e321894edfdb691fc6da8c39b9
1182669014b6de031639803d66b4f87bf69a5f34
refs/heads/main
2023-07-26T13:44:23.519683
2021-09-07T18:54:14
2021-09-07T18:54:14
373,204,068
0
0
null
null
null
null
UTF-8
Python
false
false
2,177
py
#Naive Bayes Classification #importing the libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt #importing data set dataset = pd.read_csv("classification data.csv") x=dataset.iloc[:,0:12].values y=dataset.iloc[:,12].values #label encoder #one hot encoder from sklearn.preproc...
[ "noreply@github.com" ]
vermautkarsh44.noreply@github.com
dccb5669c5b88153b3e54fa816eb2c14f67647eb
aa88548d729211428b3d5d7cfb9c3ba5881e168a
/resilient-sdk/tests/unit/test_cmds/test_dev.py
e757157a1b67107f6abd07b6898790070841f922
[ "MIT" ]
permissive
svetterIO/resilient-python-api
784cb83aaff353e8aa6ce0000b241a693977b5b9
d89440ccee621cb4268ee8ebb350e47e7c9ee26b
refs/heads/master
2023-08-31T22:15:27.588822
2021-10-13T13:15:12
2021-10-13T13:15:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,733
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # (c) Copyright IBM Corp. 2010, 2020. All Rights Reserved. import sys import os import shutil import pytest from resilient_sdk.util import package_file_helpers as package_helpers from resilient_sdk.util.sdk_exception import SDKException from resilient_sdk.cmds import base_...
[ "shane.curtin@ie.ibm.com" ]
shane.curtin@ie.ibm.com
b6ee81db63eef0b2dd348bc51f31789e4cf0bdfb
1a266057362b1c69ae9c78a42dc28717cef35111
/BTCUSDT/CK_Script1_BTCUSDT.py
512fa6e4dfa527c951434bac388e8582665967c3
[]
no_license
pranshurastogi/Cryptokart_Market_Making
1eb3f806124abeecfc1704bdcdcc2d88b6886a6a
a85696072be64d3a89d4a13487459f64ff3ed4f6
refs/heads/master
2020-04-30T23:06:34.389889
2019-04-14T14:19:11
2019-04-14T14:19:11
177,136,270
0
0
null
null
null
null
UTF-8
Python
false
false
9,359
py
#!/usr/bin/env python # coding: utf-8 # In[1]: #!/usr/bin/env python # coding: utf-8 # In[1]: # Importing required Libraries import requests import random import json import time import sys from binance.client import Client from binance.enums import * # In[2]: #This function is provided with python-binance...
[ "pranshurastogi3196@gmail.com" ]
pranshurastogi3196@gmail.com
c1ca9fea4aec41dcab2df0653fc3476363d164e9
ecf6fe6aa87b2c3f041acc30fab11b0cafe3dd46
/architecture_py/archi_v3_9.py
096d9099c7efed8b00206453651eecc348653e9d
[]
no_license
antgratia/Memoire_code
73c7806c4576c2e73e00d9a84b1063a2c8f6b559
2cdc1339ea24896a6628238f6467edff80f98166
refs/heads/main
2023-06-20T16:19:07.041464
2021-07-13T11:53:48
2021-07-13T11:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,178
py
import numpy as np import os from keras import backend as K from tensorflow import keras from tensorflow.keras.callbacks import EarlyStopping from tensorflow.keras.models import Sequential, Model,load_model from tensorflow.keras.layers import Input, Add, Dense, Activation, ZeroPadding2D, BatchNormalization, Flatten, C...
[ "antoine.gratia@student.unamur.be" ]
antoine.gratia@student.unamur.be
548eab73bdde0f861d5c66edaeff558f9c6362e0
475d1b83b77e2730b53722f0d8d11b070f97018a
/authapp/migrations/backup/0015_auto_20210226_2036.py
f7748376c6cb26aa40cc60e4db0e3f89b135edda
[ "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
591
py
# Generated by Django 3.1.6 on 2021-02-26 17:36 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('authapp', '0014_auto_20210226_2033'), ] operations = [ migrations.AlterField( ...
[ "gwellir@gmail.com" ]
gwellir@gmail.com
33013989259884ab0ed306b1a8ffd64725df92f6
7c009d77bc0124b69abdd5bbf4d00ee00a6de881
/process/migrations/0020_auto_20210606_1321.py
23a2cb9944ae79b25e63e50e2bb315ad1da36180
[]
no_license
Rajeshwari33/POProcess
85598b3bb78c1bcc3bea583fcd106fd32eb97c99
dde399029b01554f97988709688e14193a96cb1a
refs/heads/master
2023-05-25T18:33:45.589819
2021-06-15T16:27:37
2021-06-15T16:27:37
367,557,930
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
# Generated by Django 3.2 on 2021-06-06 07:51 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('process', '0019_mailcredentials'), ] operations = [ migrations.AddField( model_name='mailcredentials'...
[ "you@example.com" ]
you@example.com
3f27f3ccb024ec56a7fe0313c0150ecfcf0d8ccb
8818117553314078f4143eba999c42f01d2176e9
/envv/bin/mako-render
315fe4c0e9e1d7bc33286ecd372b8ba3358f5cc2
[]
no_license
bolgarun/hello
ea3214373e54d2880491d90ef5aea58fb66474eb
5378ac053c730a1634d07b0e0ecdf3c53cb41df2
refs/heads/master
2020-05-21T00:29:09.935650
2019-05-14T09:36:44
2019-05-14T09:36:44
185,827,334
1
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/user/Документи/Global/MYprogect/envv/bin/python3 # -*- coding: utf-8 -*- import re import sys from mako.cmd import cmdline if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(cmdline())
[ "bolgarun21@gmail.com" ]
bolgarun21@gmail.com
530471f037bc00e60919e8f72ddc975963f1b9f1
b06e865affafcf88712462320119e5fb296a10f1
/v7/VRP/script.py
a658b4254c12432d032e0f57ebf9513631d9d19f
[]
no_license
Kanchii/VRP-Python
fb08478fc1be97e46dcc9e78520033bc275f1cb4
a66461487f1cd33a24e19e518a906da95b360245
refs/heads/master
2021-07-05T02:44:28.453805
2019-04-07T16:53:00
2019-04-07T16:53:00
145,447,604
1
0
null
null
null
null
UTF-8
Python
false
false
658
py
import os import subprocess tamanho = [10, 9, 16, 13] media = 0 for j in range(10): tot = 0 for i, tam in enumerate(tamanho): # os.system("python main.py {} {}".format(tam, i)) result = subprocess.Popen(['python', 'main.py', str(tam), str(i)], stdout = subprocess.PIPE, stderr = subprocess.STD...
[ "weisslipe@gmail.com" ]
weisslipe@gmail.com
9b6dd8457bbe227e389eafff6035c5c0e64fe5ab
310c88aed28df25637f60e41a067885371d0c644
/ttn/ttnTest1.py
806ce419ad62420b4d78b3875cd5c1a0c609bf29
[]
no_license
juankgp/pythonPoo2
1757644d2db98827d3fb49e0782435d2408d170c
eb06240f17a64666be7f1161503c0117dd3d97aa
refs/heads/master
2022-12-30T20:43:29.020081
2020-10-24T03:27:15
2020-10-24T03:27:15
282,591,151
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import time import ttn app_id = "wisnodearduino1" access_key = "ttn-account-v2.QAT09KX6NTZPal64F1iwMQvTB5kHgQj__nP0etRhSek" dev_id = "wisnode1" estado = True def uplink_callback(msg,client): print("Uplink recibido de: ",msg.dev_id) global estado if msg.dev_id == "boton4200" : print(msg) ...
[ "jukyarosinc@gmail.com" ]
jukyarosinc@gmail.com
1dad61829d18a8e059788638d3cb20363e701722
436f4ae19c88212a76ef7e9c36ec4d48be558e78
/Lab 2/dijkstra1.py
d2038a5091daa6c3d25baf3d2a9cd133ab25ecb5
[]
no_license
kingstarfly/CZ2101
a905026113e22823111708a71e08769554d1cce7
952b1975cb2d5abf0a4b1eb418e36531557c1311
refs/heads/main
2023-03-07T13:28:41.186333
2021-02-09T03:20:53
2021-02-09T03:20:53
337,280,371
1
1
null
null
null
null
UTF-8
Python
false
false
3,762
py
""" Suppose the input graphG = (V, E)is stored inanadjacency matrixand we use an arrayforthe priority queue. Implement the Dijkstra’salgorithmusing this settingand analyze its time complexity with respect to|V|and |E|both theoreticallyand empirically """ import math class Graph_adj_matrix: # Initialize the...
[ "xingxiang@twotreesgroup.com" ]
xingxiang@twotreesgroup.com
a098ada26a3eadfefcb12e2b1491533b9979db93
49e72df481bec1501202d7411a55b765c33355ba
/luminar project/functional_programming/list_comprension.py
c1b8cb686c667cb27c47cdcc0d73f8fa7a8b1deb
[]
no_license
JEENUMINI/pythonpgmsupdated
ae6d62bc58e1d44ba81a21637335140119c76869
4816ec24693034af36d4b76887d34c9a499f4cc8
refs/heads/main
2023-01-23T13:36:28.478938
2020-12-15T18:18:07
2020-12-15T18:18:07
321,749,979
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
lst=[1,2,3,4,5,6] #squares squares=[i*i for i in lst] print(squares) square2=[i**2 for i in lst] print(square2) #fetch even no from list even=[i for i in lst if i%2==0] print(even) #list placement question # task=[i+1 if i>5 else i-1 for i in lst] # print(task) task=[i+1 if i>5 else (i-1 if i<5 else i) for i in ls...
[ "mini13.1994@gmail.com" ]
mini13.1994@gmail.com
38f0b26a2112884fba6dfa40814ce6e80173777f
ccdc33e143bc074207f1b5bb124c92e7b8486ab4
/mysite/blog/migrations/0001_initial.py
4ab29bc210662ff2e8eef4798db99626b496be37
[]
no_license
morenge/Djangoblog
b5d1aa22187837eaf50e20228d9586bf71bbb61f
a85fbc79053ef05ea8d1e161da1edb897144008c
refs/heads/master
2020-05-04T10:11:54.200281
2019-04-09T19:15:02
2019-04-09T19:15:02
179,083,601
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.1.7 on 2019-04-03 15:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "michael.orenge@wc.perrillco.local" ]
michael.orenge@wc.perrillco.local
57ec71f8f366f169baa43555a895ff8842a42839
c3a3beda6fe3a9bbd5b240477f542a46dd92823a
/functions/TH/08_keyword_args.py
c76f034292ded2cad08e665202843d5d48be93cc
[]
no_license
nfarnan/cs001X_examples
2e64955b705c8ac9c4319becf6344d36b9560e78
80b612249fa97ff685f345582f184d57f94bff8e
refs/heads/master
2020-12-11T14:06:00.890074
2020-04-14T19:41:02
2020-04-14T19:41:02
209,681,009
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
def kw_test(a=1, b=2): print(a, b) kw_test() kw_test(5, 10) kw_test(5) kw_test(b=10) # this will error #kw_test(5, 10, 20)
[ "nlf4@pitt.edu" ]
nlf4@pitt.edu
a5965fc467bddd784c84dadd78df68bd455047a5
d345846f520bf43bc2e1b905bb1c141e6b0c7250
/clone_instagram_api/users/migrations/0005_auto_20180423_1748.py
b894697754d025d6b63eebdbb89e622f66822272
[ "MIT" ]
permissive
NaiveMonkey/Clone-Instagram-API
edff95332e12829fc7b472a26516b2e15fbad8d3
c0f17bfb8bf3bb0107d3fcebacd00010db853c23
refs/heads/master
2021-09-12T04:02:16.675445
2021-07-15T14:21:40
2021-07-15T14:21:40
129,679,798
1
0
MIT
2021-09-10T18:04:47
2018-04-16T03:31:19
Python
UTF-8
Python
false
false
704
py
# Generated by Django 2.0.4 on 2018-04-23 08:48 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_user_profile_image'), ] operations = [ migrations.AlterField( model_name='user', ...
[ "ksmr1102@gmail.com" ]
ksmr1102@gmail.com
fc931823e2e0c5dadbbef45f1c7f9f23c9c60607
c52f407e12599b5b850b09c295b6254e07225e81
/altair/vegalite/v4/api.py
f99f605f3c0e4110bade8d4f99c1ce45cc236e77
[ "BSD-3-Clause" ]
permissive
chris1610/altair
35fa090f11b39a88f9789f86bd68107924d8d84a
9662da9f702c441c8acec4bbb9d71a22475638c2
refs/heads/master
2020-09-27T18:48:06.470667
2019-12-08T19:44:29
2019-12-08T19:44:29
226,583,447
3
1
BSD-3-Clause
2019-12-07T22:22:08
2019-12-07T22:22:07
null
UTF-8
Python
false
false
84,058
py
# -*- coding: utf-8 -*- import warnings import hashlib import io import json import jsonschema import pandas as pd from .schema import core, channels, mixins, Undefined, SCHEMA_URL from .data import data_transformers, pipe from ... import utils, expr from .display import renderers, VEGALITE_VERSION, VEGAEMBED_VERSI...
[ "jakevdp@google.com" ]
jakevdp@google.com
c232565a21f5fd047d7623a39c6b072c1a8a23e5
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/HUAWEI-MUSA-MA5100-MIB.py
4fef2a9becd67f938eaf9afaece57bb5779b3134
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
102,545
py
# # PySNMP MIB module HUAWEI-MUSA-MA5100-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-MUSA-MA5100-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:44:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
9ca5ac9b0309eeb6b7ae197443b0c2be0b04ea69
59ac1d0f09ebfb527701031f3ab2cfbfb8055f51
/soapsales/customers/signals.py
fc93f81a6adc77f22799cb456aa27326ae4c6f21
[]
no_license
DUMBALINYOLO/erpmanu
d4eb61b66cfa3704bd514b58580bdfec5639e3b0
db979bafcc7481f60af467d1f48d0a81bbbfc1aa
refs/heads/master
2023-04-28T13:07:45.593051
2021-05-12T09:30:23
2021-05-12T09:30:23
288,446,097
1
1
null
null
null
null
UTF-8
Python
false
false
536
py
from django.db.models.signals import pre_save, post_save from django.dispatch import receiver import uuid from django.db import transaction from customers.models import Customer @receiver(post_save, sender=Customer) def post_save_create_customer_number_and_customer_number(sender, instance, created, **kwargs): if ...
[ "baridzimaximillem@gmail.com" ]
baridzimaximillem@gmail.com
9265c9b59e49fe1f33cc7f34c6f9a7824f93a756
93ee07a1e427af25dffa5964c5495e7943124dd2
/environment/chasingEnv/multiAgentEnvWithIndividReward.py
f101ecc4d83d2b180531c775d12e7ef21a00f7ec
[]
no_license
Frostwoods/ChasingWithRopeMujocoEnv
62cb6c19c6f8885a75d6b4f4da8bac96411f33d1
e3cc356c687438e37ed39ea4b159607c7120e7f0
refs/heads/main
2023-03-09T09:35:18.493078
2021-02-28T12:52:03
2021-02-28T12:52:03
343,102,364
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
class RewardWolfIndividual: def __init__(self, wolvesID, sheepsID, entitiesSizeList, isCollision, collisionReward=10): self.wolvesID = wolvesID self.sheepsID = sheepsID self.entitiesSizeList = entitiesSizeList self.isCollision = isCollision self.collisionReward = collisionRe...
[ "frostwoods@foxmail.com" ]
frostwoods@foxmail.com
ec1776e8742cedfafef2050a4f6d43076bd74404
7b3b859dd633eb2240d987b37e487ea8388e2f8d
/core/main.py
a9b413f579a53f5bd8f1dcc138a83420fc140c2b
[]
no_license
yszhuang/assetPricing2
96956638f6c26e4e7d33e0abffe5c5c14460000a
10af01a66bcd13cb516920e9cb1b46d8cfa6b598
refs/heads/master
2022-01-13T02:00:09.070100
2018-09-01T02:28:21
2018-09-01T02:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,113
py
# -*-coding: utf-8 -*- # Python 3.6 # Author:Zhang Haitao # Email:13163385579@163.com # TIME:2018-04-28 14:58 # NAME:assetPricing2-main.py import os import shutil import time import pandas as pd import numpy as np from config import WINSORIZE_LIMITS from data.dataApi import Database, Benchmark from tool import monito...
[ "13163385579@163.com" ]
13163385579@163.com
4708b963711f432dc94a1be9f0ea5c419e40ab34
9174535da20e9329dc2d6330f8e2ed79c2eeb39d
/predict_poetry/web_test_poem.py
91e116d6b4ead3ef0de4a429f706876a46647946
[ "MIT" ]
permissive
ASE-couplet/azure_server_data
9833b91095d559c4c0076829d1e44188c9d3745f
363c78d4fcb59226df68a11bec24df573af715f6
refs/heads/master
2020-04-10T05:02:55.839765
2018-12-07T06:46:23
2018-12-07T06:46:23
160,816,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
import argparse import sys import random from plan import Planner from predict import Seq2SeqPredictor from match import MatchUtil import sys sys.path.append("/home/site/wwwroot/predict_poetry") import tensorflow as tf class Main_Poetry_maker: def __init__(self): self.planner = Planner() self.pred...
[ "v-yufxu@microsoft.com" ]
v-yufxu@microsoft.com
964172588b7fead7f74c44940f5fcd8122c0e7e7
9f3cc35432661786767492d0f90edcc937280e76
/challenges/web_scam-generator_fixed/solv/z3solver.py
f3bba307e72d4960c7cf0771c846456a324559c3
[]
no_license
justcatthefish/justctf-2019
b464470317da033692b1670212dc5571adaa19fe
3bb692a386f277912ff47567c3d93098f118543b
refs/heads/master
2021-06-28T21:58:25.588108
2021-06-09T05:25:20
2021-06-09T05:25:20
240,951,074
41
8
null
2020-05-06T15:02:29
2020-02-16T19:21:26
SystemVerilog
UTF-8
Python
false
false
2,621
py
#!/usr/bin/env python2 from z3 import * import random import sys def solve(info, T, N, first_char='', last_char='', hints=[]): TT = T-1 info = map(lambda x: tuple(x), info) # remove duplicates info = list(dict.fromkeys(info)) # convert to integers info = list(map(lambda x: list(map(lambda ...
[ "dominik.b.czarnota@gmail.com" ]
dominik.b.czarnota@gmail.com
8262a9ad72ac1f8b9b92c6d3dab636e47655415c
7e38634a9afb227ac6f18bbf3cb35cfef27f04b6
/wiki.py
93d64c4a05ce9dbc637c9774934214035bfa1935
[]
no_license
AlexLisii/wiki_questions_game
858417b6ac0b0c8c1de199ebb46f4e66d1d82a9b
f806e160148f50c49bff47257958bd69b467785c
refs/heads/master
2020-04-04T19:27:18.677088
2014-07-31T23:32:36
2014-07-31T23:32:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,527
py
#!/usr/bin/env python import requests import re import argparse import sys def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("secret") args = parser.parse_args() return args def call(url): headers = {"Content-type": "application/json"} response = requests.get(url, heade...
[ "aleksandr@pistoncloud.com" ]
aleksandr@pistoncloud.com
7bde8de05c2efacea12295b8690650f7dbe05a8c
04e15ba03e9f0075b156b27c524040884d3fdff3
/demo_app/models.py
ddf5290e5251db3c5239e68ad0b4f96719103c0c
[]
no_license
123abc958/demo
eb1291512fe566bb9cf760d33c544e88cd28fdf4
202f46c5fdb64e9fa03eb0bf1afd8ac4243f10d1
refs/heads/master
2023-04-12T16:58:59.445802
2021-05-20T09:29:22
2021-05-20T09:29:22
346,645,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
# Create your models here. from __future__ import unicode_literals from django.db import models from django.utils import timezone from django.contrib.auth.models import User class Profile(models.Model): name = models.CharField('名前', max_length=35) education = models.CharField('教育', max_length=35) github=...
[ "news@all.sakura.ne.jp" ]
news@all.sakura.ne.jp
a7a1cf9050f6f1d891dfedac7544ea04da552c41
502b40993cf50937c972f661bd6768ca607967b9
/videosummarise.py
4f16dc8c52da7ade5fbff035a0ab42aa523269f9
[]
no_license
akshayvit/video-summarisation
90dd2d7c93347f085e431b5201a2dd81dcc2e633
80658912c052f8bb852d4e802a8a283a0f13a565
refs/heads/master
2020-09-10T14:37:05.214918
2019-11-14T14:55:50
2019-11-14T14:55:50
221,722,257
0
0
null
null
null
null
UTF-8
Python
false
false
5,490
py
from __future__ import division import cv2 import numpy as np import os import mahotas import librosa from math import * import imageio imageio.plugins.ffmpeg.download() from moviepy.editor import * from keras.models import model_from_json from keras.applications.resnet50 import ResNet50 from keras.layers i...
[ "noreply@github.com" ]
akshayvit.noreply@github.com