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
13049b593f0288083aea364de83482a8fa777145
71cb249dc2f2c915a850f382d6db87b07d869d43
/src/test_vessel12.py
4a893181e688c180ab6cce7ccdf663c65feff64b
[]
no_license
Hannah-Xue/vessel-flow-consistency-ssl
e22f26a65f026a0819faf40f7ef82ac0b1e8ffa8
4e53f4dfc9f17e0b873192259afc1d10d4422838
refs/heads/master
2023-07-12T17:12:06.059726
2021-08-17T15:11:27
2021-08-17T15:11:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,646
py
''' Test script (such as `test_tubetk.py`), loads the trained model, loads the test data loader and saves the output vesselness patches These patches can be stitched together, and used for evaluation/visualization. This script is for VESSEL12 dataset. ''' import argparse import numpy as np import torch from tqdm impo...
[ "rohit.rango@gmail.com" ]
rohit.rango@gmail.com
db4f4ad08c06f2ec5e0a0db469b583da732d894c
97629345947f80b16848af1d33b37c5185cca651
/LESSON-6/zadacha2.py
778a964b303763692f165982aaece1e0a4526ff0
[]
no_license
xemnes5/py-course
2f9ec17975e66ba7080a5acd366ce02573e1b430
fcc1f02e6d0e4c4104b2d2d42418cd1a46fae914
refs/heads/main
2023-05-04T19:43:26.287387
2021-05-25T12:36:18
2021-05-25T12:36:18
323,301,473
0
0
null
2021-05-25T12:36:19
2020-12-21T10:23:14
Python
UTF-8
Python
false
false
385
py
class Road: def __init__(self,length,width): self._length = length self._width = width def mass(self): return self._length*self._width*25*5 a = Road(10,100) b = Road(20,200) print('Масса асфальта первого экземпляра =', a.mass()) print('Масса асфальта первого экземпляра =', b.mass...
[ "razielxem@gmail.com" ]
razielxem@gmail.com
9e9c2b70ff0e481265bd61c79da9fa108683cf57
fab9db25f60728f7055e0c92887430d55538c1cd
/Project3/wc.py
3aa4adf43206db20c675b0e4762a1f4c499ef091
[]
no_license
ErlendAbrahamsen/INF3331
e877b369c12cdb7cc5e5eab6120d4389f98e50fe
f6621c193bc07d202726db8bb26743f6238d5009
refs/heads/master
2020-12-19T15:18:30.858747
2020-01-23T16:48:16
2020-01-23T16:48:16
235,771,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
#3.1 import sys import os def wc(file): """ Inputs filename in same directory as wc.py. Returns tuple with number of lines, words, characters, and filename of the input file. """ infile = open(str(file), "r") words = [] lines = 0 for line in infile: lines += 1 word...
[ "erlend_abrahamsen@hotmail.com" ]
erlend_abrahamsen@hotmail.com
1e6560752ac05e68875474c1eb9b1afe9b16284f
5e6543d360396d02d2e9ae052a88997fde4af61d
/lingvo/tasks/car/summary.py
9ce333cb2b5a81653e0bf11c4023d5857fa89f57
[ "Apache-2.0" ]
permissive
saswat0/lingvo
58b0c044485fe89b33aca22a1c01e81d3be45c8a
3d0418a896c21240bb75ce1dc4c906da5a6dc757
refs/heads/master
2022-12-06T19:24:08.679519
2020-09-02T14:30:29
2020-09-02T14:30:29
279,816,053
2
0
Apache-2.0
2020-09-02T14:30:30
2020-07-15T08:49:42
null
UTF-8
Python
false
false
20,896
py
# Lint as: python3 # Copyright 2019 The TensorFlow Authors. 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 ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f0ff2dc7df8b5c4a3a3b557baab81a65b1bd2364
d295ccee70e2fbc054c6fda5cc26e468aae3d35c
/flask_api.py
5ef671edc3d816994bc105ac7aa8dbde1b210ab4
[]
no_license
jrehm135/FlaskAPI
9bb87f5f50625420c99bb2aa2c2a4acace545310
e0dd71d0abbe73ccbadae48bb165b848c809a80b
refs/heads/main
2023-03-03T12:00:02.203781
2021-02-06T18:05:36
2021-02-06T18:05:36
336,566,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
#!flask/bin/python import json import datetime from flask import Flask, request, render_template from flask_cors import CORS, cross_origin import socket import os #Try catch necessary to avoid os.uname failure on windows try: #we still need to verify it is a pi, this will do good enough if os.uname()[4][:3] ==...
[ "jrehm135@vt.edu" ]
jrehm135@vt.edu
00da9939c27958074895b16dd9e8063ceb42c7aa
a291db0ebaae1aae0bf07f1e6add194f5c7f7e6b
/Capítulo 4: Adivianzas con números aleatorios y bucles/while.py
7157a6a66c02b2985867eb7776bcbc064c021634
[ "MIT" ]
permissive
osmandi/programarcadegames
ca8ca4aa45a9a064f6aadf36e885fd52a395892f
314b2a958baf23ff4a393a624338ea22e70ad7d5
refs/heads/master
2021-09-05T13:54:13.179125
2018-01-28T12:20:24
2018-01-28T12:20:24
119,255,569
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
#Uso de un bucle for para imprimir los números del 0 al 9 for i in range(10): print(i) #Uso de un bucle while para imprimir los números del 0 al 9 i = 0 while i < 10: print(i) i = i + 1 #No usar la función range con while #Incremento con while i = 0 while i < 10: print(i) i += 1 #No cierra has...
[ "osmandi.github@gmail.com" ]
osmandi.github@gmail.com
3ce9ad452d63f22bf6d22946107f6744261a6daa
2ecded5f9985e4a0301e6adc6e3ffa0f80dab17d
/pythondemo/robot_library/reference/old_code/Library6/Page_Add_Company.py
ff1685dfc2729e6b3b59bb6f3b8ba5074d9c2dda
[]
no_license
KayCheung/letscode
c443d7993afd0a7e92b23885afec19c4fabbbf86
8932638b7b7cd8248b6af5ff526c22e5e247197a
refs/heads/master
2021-01-01T06:30:29.322504
2017-04-28T08:44:47
2017-04-28T08:45:57
97,443,846
1
0
null
2017-07-17T06:46:13
2017-07-17T06:46:13
null
UTF-8
Python
false
false
2,699
py
__author__ = 'g705360' from Page import Page from robot.api import logger from Call_Oracle import Call_Oracle import time class Page_Add_Company(): def __init__(self): self.page = Page() self.company_name = None self.carrier_id = None def add_company(self, driver, company_name, type=...
[ "libing2@tuniu.com" ]
libing2@tuniu.com
6a26088a8ae1b4926fb06b5752628650e72e72d1
a85f4cc285131af1fede46c43f984f32c8e5f5b1
/gita-api/api.py
13aa1bd59b69ccbe44e5a6d76172a459e64c63f3
[]
no_license
AxiomSamarth/kubernetes-101
9bf83cb4e6e4a44e781253bfdc4ee3e79ba3b05c
62aead505c6af50ebd061db977ca6207976f3e7e
refs/heads/master
2022-11-10T06:20:13.101040
2020-06-29T12:28:41
2020-06-29T12:28:41
275,803,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,841
py
import os import utils import uuid from populate_db import populate_db from flask import Flask, jsonify, request, redirect, session app = Flask(__name__) app.secret_key = os.environ['secret_key'] @app.route('/', methods=['GET']) def index(): return {'message': 'Welcome to Gita API'} @app.route('/login/', metho...
[ "deyagondsamarth@gmail.com" ]
deyagondsamarth@gmail.com
7a4cde7d038ec75fbbd432077d9b44e040e561a9
e3001008fc1d201f4380040d4a498a92109665a5
/opencv_color_detection.py
28b9d61bc7afe59fe951956e901404ff57b3696d
[]
no_license
RafaelBorges-code/color_detection_opencv
dfc1c7d3782b36981702f2c47abdc88bb7f08316
55945a81bf2c5ec9b01fba673d8ec844a6e5e315
refs/heads/main
2023-02-12T23:10:03.974050
2021-01-15T14:37:14
2021-01-15T14:37:14
329,923,077
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
#Rafael Borges (inspirado no código de Murtaza import cv2 import numpy as np def empty(a): pass cv2.namedWindow("TrackBars") cv2.resizeWindow("TrackBars", 300, 300) cv2.createTrackbar("Hue Min", "TrackBars", 81, 179, empty) # nome da barra, Nome da tela onde a barra vai ficar, mi...
[ "noreply@github.com" ]
RafaelBorges-code.noreply@github.com
d7984b9e313d82b39181e07670559bc8af497925
6a462bfca1f1ef66500fcbe4f79a94401bf16301
/manager/migrations/0007_auto_20201207_0116.py
29b4defbc83f4f677fc661114dff7a0df4089e0b
[]
no_license
vmysoulinflames/django-project
d834887533d9231f096c903462b66e454e30ee73
021177248d1735cc5213024b4f5c3a459720def2
refs/heads/master
2023-01-28T04:02:31.889820
2020-12-08T13:21:26
2020-12-08T13:21:26
318,991,593
1
0
null
null
null
null
UTF-8
Python
false
false
521
py
# Generated by Django 3.1.4 on 2020-12-06 22:16 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('manager', '0006_book_authors'), ] operations = [...
[ "vmysoulinflames@yahoo.com" ]
vmysoulinflames@yahoo.com
6e8a66df2f863e166b8b0e9beec03850e9668c32
f4a1ec0f1b376809e920ed6ed4c08490acb1e071
/venv/bin/django-admin.py
51f3f1b1c48d8ed9bb151787db7bc1df83186e1e
[]
no_license
Peterbamidele/ChatApp-Appication
ac6bfd6be56f4962d5601b20034c669c7c5aa10a
4cf7d97f7dc3f8c6101ab328c728d4844da096d0
refs/heads/main
2023-05-08T07:14:16.091013
2021-05-23T09:00:56
2021-05-23T09:00:56
369,144,191
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
#!/home/peter/Django Project/PenxtaChatProject/venv/bin/python # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py ...
[ "peterbamidele@gmail.com" ]
peterbamidele@gmail.com
a3ada1d32a3f2d0f05b7beb828cfee81fe291f88
0b055bb267b33b8267e85415efd14e10fbbf4351
/Assignment/TC_04.py
e624536d120d5c504b920fa9505e4172da85939d
[]
no_license
zebratesting/Python
08b2e6aba4a920bbb815447c0214595624b681d9
1d1bdbb70796d76a8518d7ebff118acf91293063
refs/heads/main
2023-08-23T03:45:00.918318
2021-10-11T14:01:37
2021-10-11T14:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from selenium import webdriver from selenium.webdriver.common.by import By driver=webdriver.Firefox(executable_path="/work/Drivers/drivers/geckodriver.exe") driver.get("https://www.amazon.in/") ele=driver.find_elements(By.XPATH,"//div[@id='nav-xshop-container']/div/a") for e in ele: print(e.text)
[ "zebratesting5@gmail.com" ]
zebratesting5@gmail.com
5a3257fd2c4116fc8c812fdee02ee42aa77ee27c
dd91996c41b3fa9c9cb5e37df330fd1c36248739
/qr_app/app/config.py
8edcecda6d4e432b826287c0fb34f662a4c220a2
[]
no_license
muniter/qr_generator
a555b61f7d659d032a0062c821099939ec30d30a
6a2be2cd42fe3aaf186410cc90b391ecb3fa9b7e
refs/heads/master
2020-07-03T15:36:44.920661
2020-05-18T20:38:30
2020-05-18T20:38:30
201,954,723
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
import os class Config(object): SECRET_KEY = os.environ.get('SECRET_KEY') or 'golf-alfa-bravo-Kilo-uniform\ -victor-tango-uniform-sierra'
[ "graulopezjavier@gmail.com" ]
graulopezjavier@gmail.com
8d317324f6e2e10f963c88094da32576c28faebf
1af28b45d10fc3fdf268c424598d30cd726046f3
/Word2Vec Models Proj /test_google_word2vec_model.py
f6cc0f26076a0e6e8becd864df96eb84003ac502
[ "MIT" ]
permissive
sadipgiri/Computational-Linguistics-NLP
00ac420d817f6529320accfd1f4c711e563733d9
044f5c3a0d513cb75edf4f8ef33c3d599ee078ab
refs/heads/master
2022-01-24T07:59:04.266697
2019-07-19T21:43:37
2019-07-19T21:43:37
197,802,295
0
0
null
null
null
null
UTF-8
Python
false
false
4,512
py
#!/usr/bin/env python3 ''' Word analogy python3 program -> that solves analogies such as "dog is to cat as puppy is to ___". using Google Word2Vec Model. Author: Sadip Giri (sadipgiri@bennington.edu) Date: 26th May, 2019 ''' import numpy as np import os import sys from gensim.models import KeyedVectors w...
[ "sadipgiri@bennington.edu" ]
sadipgiri@bennington.edu
4cdab0e1ea80ccb7824f0df429903529ccb98868
49cb74338813557baa91973087c3dfb8e74936c6
/sovrin/test/upgrade/test_node_upgrade.py
0c365d850f564d97c82fa16431357cb5c62592f8
[ "Apache-2.0" ]
permissive
pombredanne/old-sovrin
a0e1b607880888f9f0e8379cdd00f9726b051121
d4e705054b7252c62fea00114060035c6eb314a4
refs/heads/master
2021-03-16T08:59:57.817420
2017-07-13T21:33:09
2017-07-13T21:33:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,076
py
import os import pytest import sovrin from plenum.common.eventually import eventually from plenum.common.txn import TXN_TYPE from plenum.common.types import OPERATION, f from sovrin.common.txn import NODE_UPGRADE from sovrin.test.upgrade.helper import bumpedVersion oldVersion = sovrin.__metadata__.__version_info__ o...
[ "lovesh.harchandani@evernym.com" ]
lovesh.harchandani@evernym.com
c3e7a5101a691117f06d2a82ecb47ea2bea05f2e
ac21fba3d354e02fd25c95dee9bc625004759318
/01-basics/main.py
05e3df99dc4e1b7f07e300d14a34c6333e28832b
[]
no_license
cech-matej/kivy
cabff87479cf9d9e311188a51bd68220d7ca3550
6076f24ed108fe90c1864002346c0963378ebc58
refs/heads/main
2023-03-05T18:32:11.758198
2021-02-14T18:37:02
2021-02-14T18:37:02
338,873,030
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import kivy from kivy.app import App from kivy.uix.label import Label class MyApp(App): def build(self): return Label(text='asdf') if __name__ == "__main__": MyApp().run()
[ "noreply@github.com" ]
cech-matej.noreply@github.com
155963742e5dc66ddc928eace781c92d74428577
0ecb2a901ab86b5500770a4fdf960ecdb3cc6c74
/MLBook/12 Evolutionary/greedyKnapsack.py
41f6317b156bacc3d922fe4abb3aefb9c8ef2d67
[ "MIT" ]
permissive
AjayKrP/Machine-Learning
ad69da80234522d7dfe56a32688e2744bf1b4ea8
d039e99bbe09845174a845786099cfdd9a6913cb
refs/heads/master
2021-08-30T09:22:14.381515
2017-12-17T07:29:33
2017-12-17T07:29:33
109,667,127
0
0
MIT
2017-12-17T07:31:41
2017-11-06T08:24:10
Jupyter Notebook
UTF-8
Python
false
false
1,044
py
# Code from Chapter 12 of Machine Learning: An Algorithmic Perspective # by Stephen Marsland (http://seat.massey.ac.nz/personal/s.r.marsland/MLBook.html) # You are free to use, change, or redistribute the code in any way you wish for # non-commercial purposes, but please maintain the name of the original author. # Th...
[ "kajay5080@gmail.com" ]
kajay5080@gmail.com
705faeff683c613a8cb968dbed458fd80b4b37ce
2206dfbf3822e50135aea020bffa071eaf959c91
/MyLexer.py
9807840db2e88ef9a80a5a9a30f21b006bb5e775
[]
no_license
XinyaoTian/compilation
6e24f775632f9fc6128088171e3c6013e5505a30
4b9d2d16104bd5d946990b0e309d8a03b250e138
refs/heads/master
2020-03-16T20:51:47.921012
2018-06-19T01:09:11
2018-06-19T01:09:11
132,975,514
1
0
null
null
null
null
UTF-8
Python
false
false
5,149
py
# -*- encoding:utf-8 -*- # 编译原理课程实验 : 词法分析 # written by : XinyaoTian # at : May/10th/2018 # run with : python 3.6.1 without any packages import logging logging.basicConfig(level = logging.DEBUG) from func_pack import hex_to_dec from func_pack import oct_to_dec # 导入 python 中的 flex 及 yacc 库: PLY from ply import lex ...
[ "31195026+XinyaoTian@users.noreply.github.com" ]
31195026+XinyaoTian@users.noreply.github.com
54cf8fa431ac0ab108f7f4bf8786d1f6f8ca70a3
b657f54555330af28ef9f22ee935bfed697a91f0
/Exercicios Loop/exercicio 49 - secao 06.py
48a38454ab83c0d012d335aa1057b612acbca913
[ "MIT" ]
permissive
cristinamais/exercicios_python
cecadd29a5f610b30ee929b94b00a4491d90d116
8a09b0b68ffaa62d13afb952998e890a79667c7e
refs/heads/master
2021-06-12T18:58:35.595609
2020-04-09T14:01:43
2020-04-09T14:01:43
254,380,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
""" 49 - O funcionário chamado Carlos tem um colega chamado João que recebe um salário que equivale a um terço do seu salário. Carlos gosta de fazer aplicações na caderneta de poupança e vai aplicar seu salário integralmente nela, pois está rendendo 2% ao mês. João aplicará seu salário integralmente no fundo de renda f...
[ "cristinamais2@gmail.com" ]
cristinamais2@gmail.com
bf6825d8634e68270cecd6c3c8ce95dbfbe1286f
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.BEM/Serif_8/pdf_to_json_test_Latn.BEM_Serif_8.py
0a1128ee06141690674f2f7b59296f84324fb32f
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
303
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.BEM/Serif_8/udhr_Latn.BEM_Serif_8.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
a4c94ed077075a01ef12f176fbccff19ef24a0fc
a39eabf8a11d43a2031a89d75cebd0bf62feeb52
/100skills/dictgen.py
03cf132a2e798129a274f03cda2be51d2a1e1a63
[]
no_license
nirajkvinit/pyprac
8e7875075916d584a682fc20a54b61b53c6cdeac
9697ea1079b84b684951fcfba0c96c77ae8af16c
refs/heads/master
2021-01-19T22:10:25.830122
2020-01-14T15:43:12
2020-01-14T15:43:12
88,765,361
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
''' With a given number n, write a program to generate a dictionary that contains (i, i*i) such that i is an number between 1 and n (both included). and then the program should print the dictionary. ''' def dictgen(): n = int(input("Enter a number: ")) d = dict() for i in range(1, n+1): d[i] = i**...
[ "niraj.kumar@msr-it.com" ]
niraj.kumar@msr-it.com
f1e8e1d0418ac6f393c84e99558d8991fa587578
2ea4cb0bea60e1cf58d8d4adcd5e71c0fc507032
/iot-wearable/receiver.py
f2819860f60137f7826ea22d8152e803e8bcd507
[]
no_license
SkylerLiu0422/danger-tracker
7090195ef6f750fdc8470932b5b425f42bed300f
a60b8c6c159e43b7011582e51db7de15919056ae
refs/heads/main
2023-07-09T19:50:56.874683
2021-08-08T18:34:57
2021-08-08T18:34:57
392,039,362
5
1
null
null
null
null
UTF-8
Python
false
false
978
py
import pika import pickle import time import dbtools from wearable_entity import WearableDevice def receive_priority(key): conn = pika.BlockingConnection(pika.ConnectionParameters(host="34.146.240.199")) channel = conn.channel() max_priority = 10 channel.queue_declare(queue=key, argumen...
[ "noreply@github.com" ]
SkylerLiu0422.noreply@github.com
b39cb21349c3d5c74ef15687f80ae2891e44bd5b
395b531dbc076ee10d033985e7c7ddc7cb721336
/main.py
0a73dd970bff035c23569d9e42aec46380d39d11
[ "MIT" ]
permissive
jimbunny/cartoonVideo
652af5618788e11ecece555d7ace1167ffb9aab1
c3b947625c71dc7de62e75c91077b6c34819ac84
refs/heads/master
2020-06-20T13:43:46.575973
2019-07-23T09:52:40
2019-07-23T09:52:40
197,140,390
1
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
from combineVideo.download_video import parser_video from combineVideo.video_to_picture import video_picture from combineVideo.read_video_info import read_video_info from combineVideo.clear_picture import clear_picture from combineVideo.combine_bk import combine_bk from combineVideo.combine_video import combine_video ...
[ "jim_yu@skyline.com" ]
jim_yu@skyline.com
dd381424dbde3fe74ab47959adfb0bcf9c694d2d
344f8d42822e5c0f5ee86f2a15183f2f10a4e0c4
/Assignments/A08/tempCodeRunnerFile.py
8b64777d052ab299e2ae4ac5982e8cb82a3eb42c
[]
no_license
ShaunJPartridge/4663-Cryptography-Partridge
ca912110042fd45b4e3f57dea2b0a77dd84188b0
6e397e60b79f8a6cf3b8af0dbd426637f6feed94
refs/heads/master
2023-02-01T23:13:16.649655
2020-12-17T20:06:54
2020-12-17T20:06:54
290,341,462
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
http://localhost:8080/frequency?letter=e
[ "spartridgeb15@gmail.com" ]
spartridgeb15@gmail.com
ae52c0868ccb420d0d41bf3d1e99ef20af646bd4
2e7fa13a40dafa81c5852b7a9d70555c45814574
/DSTools/BCT/network.py
c8cd27560b8033a5558dfabee7f2f9bf8612ff37
[]
no_license
Ziaeemehr/miscellaneous
5768c6f5a2fe76468faed4283a3572a44ccd0239
43a62aaa28c577b09f605a135818a2dacc75d67c
refs/heads/master
2021-07-24T02:43:51.032849
2020-09-23T06:17:17
2020-09-23T06:17:17
217,556,017
0
0
null
null
null
null
UTF-8
Python
false
false
12,265
py
import numpy as np import matplotlib.pyplot as plt import pylab as pl # pl.switch_backend('agg') import igraph # import community import networkx as nx from copy import copy from sys import exit # np.set_printoptions(threshold=np.nan) adrsf = '../data/' class make_graph: ''' make different graphs ans return thei...
[ "a.ziaeemehr@gmail.com" ]
a.ziaeemehr@gmail.com
a15aa5a5dc22d142e6f20c444d00b7e18ade8d57
9f2252f2337aec93d453c5f8344390ce140c73a8
/scripts/test/60sec.py
31082bb98016609b4b1ff981b900d662019446d3
[ "MIT" ]
permissive
jrthornham2/eve-pi
051845f20d117eb930490e2341ecad134f5d3d0c
4ff14d3bd023d03312a67397d0bcdf1dec0afada
refs/heads/master
2020-08-07T09:01:43.118902
2019-09-11T10:02:32
2019-09-11T10:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
""" Vishhvaan's Test Script """ import time import RPi.GPIO as GPIO # setup the GPIO pins to control the pumps P_drug_pins = [20] P_nut_pins = [24] P_waste_pins = [25] #P_LED_pins = [21] #P_fan_pins = [26] pin_list = [P_drug_pins + P_nut_pins + P_waste_pins] GPIO.setmode(GPIO.BCM) for pin in pin_list: GPIO.setup...
[ "vishhvaan@think.ccf.org" ]
vishhvaan@think.ccf.org
ee26726bc7979d76556736dead676303b2adfeb5
1023b62b11b7d5a5b63c33bdd66afe692cc18724
/moveToS3.py
a546a4c8c03a81d3f61d7c2e8a1323f134e7ea8b
[]
no_license
tomatoTomahto/finance
57bf41455aa8b1e4e926216febf811f10ab810fc
728143801e5410cc369705a54ce74b9a4e8a9e2c
refs/heads/master
2019-07-08T08:33:39.774840
2018-02-11T04:23:59
2018-02-11T04:23:59
88,646,798
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
# Move financial data collected to S3 bucket !aws s3 mv data/historicPrices/ s3://sgupta-s3/finance/data/historicPrices/ --recursive --exclude "*" --include "*.csv" !aws s3 mv data/historicArticles/ s3://sgupta-s3/finance/data/historicArticles/ --recursive --exclude "*" --include "*.json" !aws s3 mv data/historicAction...
[ "sgupta@cloudera.com" ]
sgupta@cloudera.com
f9d3d435d159b85e00a15eeaf592b94f1e0fdaff
52585c8d95cef15199c18ba1a76899d2c31329f0
/04Python workbook/ch4function/81Hypotenuse.py
30aa5a5f5b5d9bd65c241e0f5d2b3b5d8267a382
[]
no_license
greatabel/PythonRepository
c7a952257303a21083ed7d535274c339362bd126
836fcdd3f5c1b150122302685104fe51b5ebe1a3
refs/heads/master
2023-08-30T15:56:05.376391
2023-08-26T03:34:14
2023-08-26T03:34:14
29,392,599
33
6
null
2023-02-14T13:33:21
2015-01-17T13:54:58
Python
UTF-8
Python
false
false
299
py
import math def computeHypo(a,b): return math.sqrt(a**2 + b**2) line = input("Enter a,b of 2 sides of right triangle:") while line != "": ilist = line.split(',') a = int(ilist[0]) b = int(ilist[1]) print(a,b) print(computeHypo(a,b)) line = input("Enter a,b of 2 sides of right triangle:")
[ "greatabel1@126.com" ]
greatabel1@126.com
766211d117d5391f3cc041b74b2457b5e4cf7b20
112df2b3b842d497b2b4bd2c79524020e08ae55c
/Test/checkbracket.py
86b5b687511701dfa993ece503726f61bb6b7835
[]
no_license
adaick/DSA
3c8b4e0b4951e3339afaa1e33d530f9fc7708c55
70462d4e4aa41d7b8eac9cc519132bd78ca9fd21
refs/heads/master
2022-12-05T22:55:36.487548
2020-08-23T14:11:55
2020-08-23T14:11:55
288,778,906
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
string = input() def stringvalid(string) : stack = [] invalid=0 for i in range(len(string)): if string[i]=="{" or string[i]=="(" or string[i]=="[": stack.append(string[i]) elif string[i]=="}" and stack[-1]=="{": stack.pop() elif string[i]==")" and stack[-1]...
[ "38970527+adaick@users.noreply.github.com" ]
38970527+adaick@users.noreply.github.com
b267e3bad29697150647c5f5b762f6749c2cfe51
05f8a84d914e67677a71b571aae330a75f01aba7
/femas_backend/ready_interiors/migrations/0003_interior_main_photo.py
67e595fba6baf312d2563f216185f474777296d5
[]
no_license
e-kondr01/femas
d2ff4fc154327ec3838f5ceb7729309207455b53
9bb16adf719036cf2d15c71ced362faeca0143d1
refs/heads/main
2023-04-04T07:52:14.875830
2021-04-03T14:26:51
2021-04-03T14:26:51
345,085,553
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
# Generated by Django 3.1.7 on 2021-04-01 15:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ready_interiors', '0002_auto_20210331_2107'), ] operations = [ migrations.AddField( model_name='interior', name='mai...
[ "e.kondr01@gmail.com" ]
e.kondr01@gmail.com
49b82ac63b1054b70755bb40c09c27c7528980fd
73693c590c20d75103c94e281e295d90553a9a4b
/item_functions.py
651ea731f144833647f1dc091e509c16eb1bfde2
[]
no_license
gyrobone/Untitled-Roguelike-Game
c73ea159b13a8dcd7953ecf34a76915f6bf545da
a9b703a2c0630bfcd94ce876b4e766ba6aa54649
refs/heads/master
2020-12-24T00:49:48.706284
2020-01-31T00:18:18
2020-01-31T00:18:18
237,328,044
0
0
null
null
null
null
UTF-8
Python
false
false
3,557
py
import tcod as libtcod from game_messages import Message from components.ai import ConfusedMonster def heal(*args, **kwargs): entity = args[0] amount = kwargs.get('amount') results = [] if entity.fighter.hp == entity.fighter.max_hp: results.append({'consumed': False, 'message': Message('Yo...
[ "waylonmtroyer@gmail.com" ]
waylonmtroyer@gmail.com
d966c46dedc07657fff4ee3b8a088338fd5a7f54
d2eeed8cd13c53571385a70861183b722c75c33c
/website/api/urls.py
2d85a306c5c708a5f19e4b8177113994577ea54b
[]
no_license
4rt3mi5/net-device-manager
5765ab16bd32a38d458893fb401816f3c670330e
62227897cae26f46ec21fa179aabb06075fde6e9
refs/heads/master
2020-05-15T11:27:27.507159
2019-04-19T03:28:36
2019-04-19T03:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
from django.conf.urls import url from api.views import device, ap, config, monitor, users, node, alert urlpatterns = [ url(r'^device/export$', device.DevicedExportView.as_view()), url(r'^device/import$', device.DeviceImportView.as_view()), url(r'^ap/search-client$', ap.SearchClientAddress.as_view()), ...
[ "912530326@qq.com" ]
912530326@qq.com
85ecbe867861817296bd4a9f30dde99b4e79e9b3
5e3a39a7c26559ffb196405168b225845b3d5549
/API/create-shipment/create-shipment.py
f752642ff6e02f931d8e9f5e56911ec7fe2cd93f
[]
no_license
OwenShuaiLiu/Boomerang-dev
8771181cbf5ab8b4042660557af1cde2dafc4a37
061abb890ede7586e4ac54e68a89f9c1787042a4
refs/heads/master
2023-06-02T23:27:52.151022
2021-06-29T07:19:43
2021-06-29T07:19:43
381,274,504
0
0
null
null
null
null
UTF-8
Python
false
false
2,206
py
from flask import Flask from flask import request from flask import Response from flask import abort from flask import jsonify #import jsonpickle import json import requests import easypost easypost.api_key = 'EZAK35b0cd3c664944bcac801897af82af4c2TadDMm8yKVzpONQOa9WEA' app = Flask(__name__) #create a shippment @...
[ "owen.shuai.liu@berkeley.edu" ]
owen.shuai.liu@berkeley.edu
ed8058178baa3405ccdf616eec84c3f8039d646c
68cf7c25bb614883c50d21e5051fbea8dbf18ccb
/ecommercejockey/shopify/migrations/0009_shopifyproduct_scope.py
0395e9379e526eec3588d09d881985920d936520
[ "MIT" ]
permissive
anniethiessen/ecommerce-jockey
63bf5af6212a46742dee98d816d0bc2cdb411708
9268b72553845a4650cdfe7c88b398db3cf92258
refs/heads/master
2022-12-14T02:29:25.140796
2021-05-15T01:20:30
2021-05-15T01:20:30
211,400,595
1
1
MIT
2022-12-08T06:45:40
2019-09-27T20:57:19
Python
UTF-8
Python
false
false
458
py
# Generated by Django 2.2.5 on 2019-11-07 00:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shopify', '0008_shopify'), ] operations = [ migrations.AlterField( model_name='shopifyproduct', name='published_scop...
[ "anniethiessen79@gmail.com" ]
anniethiessen79@gmail.com
39994212c7b49b42596056952e9ff3bcc8f4a395
175f6790746f0216b7616ce32eca2e4772a138e8
/Forritun/quiz5.py
1ba5d2bc97491898ffda6c116f25e076671a5b7f
[]
no_license
Astthorarnorsson/M
14a1b3602fc3b03e02c25d4d5006465fd7027528
cf4685f538a94028fb592384d6b5aa6a3aa6f55f
refs/heads/master
2022-12-10T08:00:03.819454
2020-09-03T15:21:02
2020-09-03T15:21:02
292,607,679
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
#max_int = 0 #while True: # num_int = int(input("Input a number: ")) # if num_int < 0: # break # max_int = max(num_int,max_int) # #print("The maximum is", max_int) n = int(input("Enter the length of the sequence: ")) i = 0 summa = 0 tala1 = 0 tala2 = 0 tala3 = 0 for i in range(1 , n+1): if i == ...
[ "Astiarnars@Astors-MacBook-Pro-3.local" ]
Astiarnars@Astors-MacBook-Pro-3.local
9841160271972f0812ddbfef10e39cb7fa73dc89
eebecfd8a1a01602a6ee7de380fb6d6e17cc63ad
/SimpleIRCClient.py
855fb6086769a188c7e74c717ceb9d86efc15e3d
[]
no_license
LiorMoshe/TeamSoB
f4bdadf78a0cc8602fc64b0800dac3315d392028
5ff9520920773f6ab9cc68617c4ef7d0a781ef57
refs/heads/master
2021-01-21T18:50:11.053412
2017-06-07T14:24:41
2017-06-07T14:24:41
92,080,572
2
0
null
null
null
null
UTF-8
Python
false
false
963
py
import socket import time import random server_ip = 'localhost' server_port = 6667 irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM) irc.connect((server_ip, server_port)) botnick = 'bot1' irc.send("USER " + botnick + " 127.0.0.1 " + botnick + " :This is a fun bot!\n") # user authentication irc.send("...
[ "noreply@github.com" ]
LiorMoshe.noreply@github.com
297dce2ea9a7e15cfe578ef0ef517716996bd895
e51a78cda92aeeba240daecc3808932a6dc1de92
/lab3/chunker.py
52a2612b9f94bc8feed7ca818877f8a99907da9e
[]
no_license
razofz/EDAN20_mnx10jpa_muh11rol
db445589a12a15bae47d3c3b7c2a17c63ea09de9
bc8142dbc0db55d03cfe8297e0375edd8a7ee228
refs/heads/master
2021-07-21T20:10:58.625445
2017-10-31T15:27:08
2017-10-31T15:27:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,468
py
""" Baseline chunker for CoNLL 2000 """ __author__ = "Pierre Nugues" import conll_reader def count_pos(corpus): """ Computes the part-of-speech distribution in a CoNLL 2000 file :param corpus: :return: """ pos_cnt = {} for sentence in corpus: for row in sentence: i...
[ "rasmus.olofzon@gmail.com" ]
rasmus.olofzon@gmail.com
ac64c09a32db5214ffbca716aca0b3f0fcff5f9d
e4eecce9ce98c4248802bd137d6f99312853e5f9
/风变编程/第12关/chengjidan.py
a7781c5d66da2168a19b98bdc717a4e9c487281c
[]
no_license
huqiang252/learngit
d74d11b3da7cf9c683dcd449761e201770fa68ce
71bb541aad9f85d48d86e20bc1198c901fff856f
refs/heads/master
2023-08-11T20:44:29.918533
2021-10-07T08:07:04
2021-10-07T08:07:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
# -*- coding: utf-8 -*- class 成绩单(): @classmethod def 录入成绩单(cls): cls.学生姓名 = input('请输入学生姓名:') cls.语文_成绩 = int(input('请输入语文成绩:')) cls.数学_成绩 =int(input('请输入数学成绩:')) @classmethod def 打印成绩单(cls): print(cls.学生姓名 + '的成绩单如下:') print('语文成绩:' + str(cls.语文_成绩)) pri...
[ "huqiang252@gmail.com" ]
huqiang252@gmail.com
d2ef11cfe3f03be927efeef9d1d8f3fac615bbde
25c82203d00b28330fabd41e0c9d11b1dc8dcdeb
/tasks/task_5/models_1/svm.py
8e8e4eb76f3918b5cd67012979514c329161cd36
[]
no_license
roma-patel/ambiguity
2433982514410f398d888b93abb2c30f0f8be5ea
2ffc7ed059b59ca56ea6504a5a29707ebf0f8d36
refs/heads/master
2018-09-20T07:18:20.367439
2018-06-06T12:24:56
2018-06-06T12:24:56
120,149,774
2
1
null
null
null
null
UTF-8
Python
false
false
6,566
py
from collections import defaultdict, namedtuple, Counter import sys import logging import json import numpy as np import re from sklearn import svm from sklearn.svm import LinearSVC import pickle import os path = '/nlp/data/romap/law/task_4/models_1/shell/' def createUnigramFeat(word_vecs): all_feat = [] for ...
[ "romapatel996@gmail.com" ]
romapatel996@gmail.com
e58d3c303fd246494e2371c64614975ebfadffaf
9c5bcd615c7ec343034ca745fce71105a0e81f50
/Target_App/firstFrame.py
0c967141ed490f86bc1d79943ccea91b9ce3a46c
[]
no_license
aryanguptaSG/python_projects
05fb0e685d3333a88234f22c6517fd77e48dc63b
20748908e0f6a57e73b580051ee7a246a5c47f60
refs/heads/master
2023-06-20T11:14:55.165294
2021-07-14T03:21:50
2021-07-14T03:21:50
298,515,502
0
0
null
null
null
null
UTF-8
Python
false
false
3,011
py
from secondFrame import * global Name global root def addtarget(target,root,name): if str(target).strip: insertTarget(target) root.destroy() firstFrame(name=name) def taketargetFrame(root,name,frame=None): if frame: frame.destroy() root.config(menu='none') new = F...
[ "aryan31102001@gmail.com" ]
aryan31102001@gmail.com
766bfa670c18ac551af9a2429bd8b38581866e60
2b4955fe21e4c4b1c4689ac7100ddf9ca9034fde
/contrib/pyminer/pyminer.py
b1c80ef460e70a310c112a2c88424bac2e5927a2
[ "MIT" ]
permissive
charitypub/Sourcecode
977c83a8a4e7e3af3ce2fc0d892fb2fbb75ee369
95583c6755ee337ca68a053b0a23a381ec843a9f
refs/heads/master
2020-03-10T08:19:05.429568
2018-04-13T08:38:05
2018-04-13T08:38:05
129,282,451
0
0
null
null
null
null
UTF-8
Python
false
false
6,435
py
#!/usr/bin/python # # Copyright (c) 2011 The Bitcoin developers # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # import time import json import pprint import hashlib import struct import re import base64 import httplib import...
[ "81852521@qq.com" ]
81852521@qq.com
4b7dc7e61c46c44cb0de31a192bc3482c88607d3
1786a416a81ef7046314949efda2af0532dfe9d5
/tests/mask_test.py
6e4692eace346094bc1911cb089f93f0c856c366
[]
no_license
KiyoshiMu/cpp_bag
aa06d199e1e6409bb52af25dbed0e854f72840af
55c037c757662a1bf7fc400415a3b1c88f0c6ea3
refs/heads/master
2023-04-18T21:24:17.875783
2022-11-22T20:58:39
2022-11-22T20:58:39
462,886,870
0
1
null
null
null
null
UTF-8
Python
false
false
524
py
from __future__ import annotations import numpy as np import torch def test_mask_clone(): tensor = torch.rand(5, 10) mask_tensor = torch.zeros(10) mask = torch.tensor([True, False, True, False, True]) masked = tensor.clone() masked[mask] = mask_tensor print(masked) print(tensor) asser...
[ "mooyewtsing@gmail.com" ]
mooyewtsing@gmail.com
52d71a69fed483d5ad50824b86faf5ee2490319f
d959becea64f0960110ae8ef8cf8c765a1509857
/xxSite/settings.py
81be9a347aaf8e3e2ec3caca8d92c95349195b62
[]
no_license
yanhaocn2000/xxSite
80c423565506b72d6b6b165c500b5a741f190bbf
aa7e5e2e9a5eca64af7874afdc031b5098eaffe0
refs/heads/master
2020-05-28T08:20:08.611485
2013-12-29T14:53:51
2013-12-29T14:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,984
py
""" Django settings for xxSite project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) imp...
[ "yanhaocn2000@163.com" ]
yanhaocn2000@163.com
f6432f9196a0e19c150d1c90fa184eefa11fe378
04603f8b493fad6fee33c54b082b52075070f81e
/if_and_or_test.py
7fca125ac44a21cb6aad083c07831aa6d16315f2
[]
no_license
KIMSEUNGHYUN-eng/python_lecture
565b110b2f7000d42e31f9c6b12550b5d2918b59
b8ff4f0c1e8ec0530a92f999b6d8b064ec0bf347
refs/heads/main
2023-04-25T17:59:55.231426
2021-05-25T08:37:03
2021-05-25T08:37:03
370,264,449
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
a =10 b= 13 if (a % 2==0) and (b% 2 ==0): print("두 수 모두 짝수입니다.") if( a%2 ==0) or (b%2 ==0): print("두 수 중 하나 이상이 짝수입니다.")
[ "you@example.com" ]
you@example.com
a122d96f4d6c40d8b69a2766711d05de77787cdf
d9f0a280abcfe0efa65d4f9e681db6f909c587af
/mae_envs/wrappers/line_of_sight.py
2f63d9da176ae04d569387376904c3bd0339f96c
[ "MIT" ]
permissive
bowenbaker/multi-agent-emergence-environments
5222972b89ff2afd4f6ef7c39f75b44daffcdbdc
85d2167999110edc6c975d1f81ab7ec8ff39a809
refs/heads/master
2023-01-05T14:33:10.698645
2020-11-04T17:19:58
2020-11-04T17:19:58
308,440,938
1
0
MIT
2020-11-04T17:19:59
2020-10-29T20:22:11
null
UTF-8
Python
false
false
5,112
py
import gym import numpy as np from mae_envs.util.vision import insight, in_cone2d from mae_envs.wrappers.util import update_obs_space class AgentAgentObsMask2D(gym.ObservationWrapper): """ Adds an mask observation that states which agents are visible to which agents. Args: cone_angle: (float) ...
[ "todor.m.markov@gmail.com" ]
todor.m.markov@gmail.com
198a2b5342443d4d2c5667fbb25b0fdb97553de8
19a1bad0b1467a7d4b35798a2ec042b193ea845d
/fenye_app/models.py
4baeaef848101215191a7a3c464cb59530e36409
[]
no_license
lzj3278/django_paging
0ebf4a615dd8dbad9265c63b277307eea8a0a33f
cc3bbee18788b8587664216262193577f4fad29d
refs/heads/master
2021-05-31T07:51:13.391111
2016-04-28T02:30:38
2016-04-28T02:30:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from __future__ import unicode_literals from django.db import models # Create your models here. class host(models.Model): hostname = models.CharField(max_length=20) ip = models.GenericIPAddressField()
[ "lzj3278@126.com" ]
lzj3278@126.com
927f1557347ca959e680b1ba8da5fd9543d4ba5f
ec3fa0c10a9168b3f11bc5f26f880b71d5ce0abe
/06_04/valid_anagram.py
c6fa585f714be9d40d4bc3bd0ae1c62422c5410b
[]
no_license
dongheelee1/leetcode_chapters
b4a8e986525bfc93999dcd9244f07285202cd078
d47c9501e266194aafebdb701068ba88e813fdc5
refs/heads/master
2020-05-31T13:19:59.581056
2019-06-26T01:14:09
2019-06-26T01:14:09
190,300,198
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
''' Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" Output: true Example 2: Input: s = "rat", t = "car" Output: false Note: You may assume the string contains only lowercase alphabets. Follow up: What if the inputs contain unicode cha...
[ "noreply@github.com" ]
dongheelee1.noreply@github.com
ff724ac851c4f75432657c28af0607296409fb36
4ee7f7a15594e3b47c196333c96e0e0a0d6b60a7
/product/migrations/0008_auto_20200131_1114.py
e8459d0b80d9c4705cbf3d12c5886590205cc2e1
[]
no_license
itjuba/Instagram_like_system_django
899d4a8bb08152c5941a97d9c09ee61dd3dcc00c
b8036eed0bb3238e9e83fecb09b428290fb5d7be
refs/heads/master
2023-01-04T16:21:46.288913
2020-10-31T19:03:08
2020-10-31T19:03:08
308,952,314
1
0
null
null
null
null
UTF-8
Python
false
false
558
py
# Generated by Django 3.0.2 on 2020-01-31 11:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0007_auto_20200131_1041'), ] operations = [ migrations.AlterField( model_name='voted_product', name='prod...
[ "attignadjib@gmail.com" ]
attignadjib@gmail.com
2393b2366101d347e88229a76744d392c72135ba
5681006b96d7dfd32722f635e59423490a50c6ff
/optimizee/mnist.py
6f943c24b87663a51642d5742ebb5531316ab0bf
[ "MIT" ]
permissive
raintung/RNNOPTIMIZE
2e963994c7c28c21e482b0c00dc652aa69625828
c43c264b277b4a5b45c5dedda945c77955f40002
refs/heads/master
2021-05-14T05:31:05.606651
2018-01-04T06:28:29
2018-01-04T06:28:29
116,223,287
0
0
null
null
null
null
UTF-8
Python
false
false
2,866
py
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import numpy as np import optimizee class MnistLinearModel(optimizee.Optimizee): '''A MLP on dataset MNIST.''' mnist = None def __init__(self, activation='sigmoid', n_batches=128, n_h=20, n_l=1, initial_param_scale=0.1): ...
[ "raintung.li@gmail.com" ]
raintung.li@gmail.com
04184e3d08273a771d2ef481b4866228c3a52782
1e8524d11c13863dec62299eaaf271a32352d52a
/DZHBL/Data_loan.py
8e34ab96a65f20607ba7d398d01645929344a964
[]
no_license
20Youk/ChooseStock
e461a00f163936c5d110ff92590d856527156a9f
0cdd8259df1b6c1464fa6649b0ab3cac1b005456
refs/heads/master
2021-06-16T17:56:41.618610
2019-09-10T13:12:36
2019-09-10T13:12:36
97,783,717
0
1
null
null
null
null
UTF-8
Python
false
false
2,505
py
# -*- coding:utf-8 -*- # Author:Youk.Lin # 应用:查询上个月放款数据汇总 import xlsxwriter import pymssql import datetime from dateutil.relativedelta import relativedelta def conn_sql(hostname, database, username, password, sql): conn = pymssql.connect(hostname=hostname, database=database, user=username, password=password, char...
[ "30305851+20Youk@users.noreply.github.com" ]
30305851+20Youk@users.noreply.github.com
10bdef883e48465fd5208bd5dfd5abf64aa5d8b9
24db6985a016c3e4767c95ca51190e659d0847cd
/faustctf2020/cartography/exploit.py
5355a1de2a44c1c11717ed054418a5d7d8e3e157
[ "MIT" ]
permissive
datajerk/ctf-write-ups
463f53db224410a51df481b9e41b7777a09f3e2c
c33815911de3f4a66cbafbf5f12d7b57239250d9
refs/heads/master
2022-09-30T02:29:44.097435
2022-09-05T02:16:19
2022-09-05T02:16:19
204,361,251
136
36
null
null
null
null
UTF-8
Python
false
false
1,040
py
#!/usr/bin/python3 from pwn import * binary = ELF('./cartography') #libc = ELF('/lib/x86_64-linux-gnu/libc.so.6') libc = ELF('libc-database/db/libc6_2.28-10_amd64.so') #p = process(['stdbuf','-i0','-o0','-e0',binary.path]) p = remote('vulnbox', 6666) # null pointer p.sendlineafter('>','0') p.sendlineafter('Enter th...
[ "datajerk@gmail.com" ]
datajerk@gmail.com
b068d7fad32a526c57a8fe0a3220984e33b7bad3
896c14380828cdb43df6e1e2905e6fbd948099ad
/enhanced_dnc.py
c0381fc759bdc12b0d54dc635b5e9388a68a3969
[]
no_license
jemisonf/closest_pair_of_points
ddecc19f35aee10d9ab4c6fd58012f634dd46d44
a2f731cf96a5dd3d24c2674bf9806e75e36aff23
refs/heads/master
2020-04-19T20:09:18.766821
2019-02-04T05:47:01
2019-02-04T05:47:01
168,407,645
2
1
null
2019-02-03T03:12:58
2019-01-30T20:08:05
Python
UTF-8
Python
false
false
4,006
py
from math import pow, sqrt from statistics import median from sys import argv from lib import read_inputs, write_outputs # Computes the closest pairs and the distance between these two points # Returns a tuple of a float and a list of tuples of tuples representing pairs # of points def closest_pair(points_by_x, poin...
[ "gillens@oregonstate.edu" ]
gillens@oregonstate.edu
95a37a55cf991c65aaf322dc714aec9338d55eed
d68bfaf211e749e41d4be3abdb8f22bd4d2bec2e
/backend/pycoffee/setup.py
f84e28d95f67efac867bb4599c8f224f0dd5d540
[]
no_license
jbarratt/leancoffee
0eab41befb609c3b484baae6fd3201ab0218766e
432505f7b9c636ebf5a063ccda764e4e7162adbb
refs/heads/master
2021-04-30T22:47:18.480823
2017-01-01T20:15:03
2017-01-01T20:15:03
66,486,533
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from setuptools import setup setup(name='pycoffee', version=0.3, description="Python backend for a lean coffee service", url="http://serialized.net", author="Joshua Barratt", author_email="jbarratt@serialized.net", license="MIT", packages=["pycoffee"], install_requires=[...
[ "jbarratt@serialized.net" ]
jbarratt@serialized.net
5a6fe73ab539641de2aea5ec0a3f4c9c19a529db
a71906d44e8874b8cebb11077ec4bd98128dc6bb
/tunga_profiles/filters.py
f7da79dcdcf4f00543c952cd098574b496be196d
[]
no_license
mossplix/tunga-api
f44a640e4fdf0b9a27baa755ac732cea13887818
57bd90fe63d1d328056b068e4edab1bac23dd790
refs/heads/master
2021-01-21T18:43:05.158363
2016-06-14T09:11:56
2016-06-14T09:11:56
59,886,519
0
0
null
2016-05-28T09:13:23
2016-05-28T09:13:22
null
UTF-8
Python
false
false
665
py
from tunga_profiles.models import Education, Work, Connection, SocialLink from tunga_utils.filters import GenericDateFilterSet class SocialLinkFilter(GenericDateFilterSet): class Meta: model = SocialLink fields = ('user', 'platform') class EducationFilter(GenericDateFilterSet): class Meta: ...
[ "tdsemakula@gmail.com" ]
tdsemakula@gmail.com
e707afba2c1b9a8da5d8a9b2a46fce5f52e1cf71
757687b6e4aba130cc58db87571aacf833e19f59
/road_classify/train.py
49596521905584c7b7871b0303e433cd1904a122
[]
no_license
jeff012345/ECE5831-Term-Project
77cd55d857b0d9ed0c9ef6e58e5465e194d06bd5
59c6674caa527f8c20974c97dc66edfc671cef56
refs/heads/master
2020-08-05T20:26:43.180300
2020-02-01T15:25:31
2020-02-01T15:25:31
212,695,692
0
0
null
null
null
null
UTF-8
Python
false
false
3,758
py
from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf import matplotlib.pyplot as plt import os from sklearn.model_selection import KFold import cv2 import seaborn as sns import numpy as np import pandas as pd from datasets import loadData from model import create_...
[ "jtmontic@gmail.com" ]
jtmontic@gmail.com
06ad8b103f41a0397828529c9dc732e632d57175
b8e65cdd875bd81c02b2ac6a0dee6fc4366352f1
/crawler/ref.py
5ec895bc72503cafc3f022292d584f2856c09c66
[]
no_license
sonacsn/Bare-Metal-Agentless-Introspection
56008b0b502bb6f35c427feb38aa8c21acc2db7d
bfdad42081d02eb3f5b57958b25f50ebaaf19b33
refs/heads/master
2020-03-31T14:15:28.434920
2018-10-12T00:56:56
2018-10-12T00:56:56
152,286,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
import os import json def getVals(data): if isinstance(data,(list,)): for x in data: print(x) else: print(data) obj_initial = {} obj = {} not_list = ["x.py", "y.py", "op.json", ".DS_Store", "v.xml"] for filename in os.listdir(os.getcwd()): if filename not in not_list: print("---------------------",filena...
[ "noreply@github.com" ]
sonacsn.noreply@github.com
7c20ada96589c63baea34691006f73ae2c608e5c
8d62c65b2d07adde3b03e97fd28512bfe7d89188
/config/local_setting.py
daf5943c4d2f50fcbc66d69c8fba29c3b77a771b
[]
no_license
Joedidi/flask_demo
00b64ce0fbabcbdfaa39221336140842a53d046a
2e859c12c141137235b8e3d820b992a36f8564a8
refs/heads/master
2022-12-16T16:55:15.902698
2019-11-08T09:57:49
2019-11-08T09:57:49
216,952,832
1
1
null
2022-12-08T06:15:33
2019-10-23T02:41:55
Python
UTF-8
Python
false
false
302
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ @author: Jamin Chen @date: 2019/8/16 16:03 @explain: @file: local_setting.py """ DEBUG = True SQLALCHEMY_ECHO = True SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@localhost/mysql' SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_ENCODING = 'utf-8'
[ "352514951@qq.com" ]
352514951@qq.com
afa2107e98505984228c85111c0c2c800fb6a39c
121ab18bfbdb690a3365e84b7da6d1b143fb8768
/expression/call_cufflinks_preDE.py
590247be81ed98bc549e49eebf9184ca35032740
[]
no_license
zy041225/python_bin
1661ef120ce22d63f7f8929dfe637bf12e7b31b4
4b0219b4a99394b48c3dad19727cbfb2038d2e3e
refs/heads/master
2020-09-13T15:34:02.145545
2019-11-20T02:07:34
2019-11-20T02:07:34
222,830,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
#!/usr/bin/python3 def main(): import sys import os from index import read_info if len(sys.argv) != 6: sys.exit('python3 %s <reads.info> <gff> <hisat2.dir> <outdir> <fa>' % (sys.argv[0])) info = os.path.abspath(sys.argv[1]) gffFile = os.path.abspath(sys.argv[2]) indir = os.path.abspath(sys.argv[3]) outdir...
[ "zy041225@gmail.com" ]
zy041225@gmail.com
48d3066bfd9e0b0a4c59a4ba94048806daff7e51
340085e8a4c7ef228baf77ca43c2b20cb616e4f6
/leetcode/tree/main-572.py
a1df6a039e30268224fb7a9309cfb8ae4611ec85
[]
no_license
saint-yellow/python-pl
f9c3e9dcfd9a2fe163ee5e1d14b56cac6a855648
e59bd9fcb09968be4f16c1f525c74f68fc23957f
refs/heads/master
2023-07-14T20:15:54.958632
2021-08-29T00:39:53
2021-08-29T00:39:53
209,847,785
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
# LeetCode Problem Nr. 572: 另一棵树的子树 from ..ds import BinaryNode from typing_extensions import TypeAlias TreeNode: TypeAlias = BinaryNode class Solution: def isSubtree(self, root: TreeNode, subRoot: TreeNode) -> bool: return self.__method1(root, subRoot) def __method1(self, root: TreeNode, subRoot: ...
[ "saint-yellow@hotmail.com" ]
saint-yellow@hotmail.com
a85c1f1e8f38446e50224c914b8f06324e7ce873
23b7663519eaafc79799bf11cb83111dc4a5d50b
/tests/initialisations/test_kkz1994.py
8bdc2f8e60a077c1cae9a4e025aedb01e81f110f
[ "MIT" ]
permissive
yun-lai-yun-qu/pykmeans
9bed671d1827907c4d85418b10ebb85159585893
256e0c6c7284182aae9c10783cf50778af120514
refs/heads/master
2023-07-16T10:25:26.398727
2021-08-30T09:11:04
2021-08-30T09:11:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
""" Tests for KKZ in1994 initialisation algorithm """ import unittest import numpy as np from initialisations import kkz class KKZTestSuite(unittest.TestCase): """Test for KKZ 194 initialisation algorithm""" def setUp(self): self._load_data() def test_with_1(self): """Sanity check it ...
[ "github@pointbeing.net" ]
github@pointbeing.net
8c0650ff8c2b39077921c90cc3a77c47d849f2d0
1eba4c314af15cac607fc21e322d2cb1a107bd9f
/btbot/feeders/core.py
b3533da721406759f79b41248a702d3852d46018
[ "MIT" ]
permissive
ultra1971/btbot
a97c485f10b92a73104f766abf637059ab7021e1
c7ed77beecdae59d2bf72c62e93afa847f60493a
refs/heads/master
2021-09-23T20:04:51.323022
2018-09-27T06:21:02
2018-09-27T06:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from abc import ABC, abstractmethod class BaseFeeder(ABC): @abstractmethod def get_feed(self, idx=0): """Implement the method to get feed at idx""" @property def current_feed(self): return self.get_feed(0)
[ "f.j.akimoto@gmail.com" ]
f.j.akimoto@gmail.com
4e145908273fede975cc06b2e337b630d310e3ae
9db35644ff1603eef458558fd6a40aaf06356fc1
/Feature_extraction/Approximate_entropy.py
c873b2137c52481b46049df465cdadf41b27e794
[]
no_license
ldcrchao/PycharmProjects
0bf83e3d44d96be7bad5dbcc47dfcd8fa729883a
a6e8bb4ec211f241aecd4be344d04c14e14f59b3
refs/heads/main
2023-04-19T15:12:50.070297
2021-05-09T08:07:42
2021-05-09T08:07:42
374,944,409
1
0
null
2021-06-08T08:50:56
2021-06-08T08:50:56
null
UTF-8
Python
false
false
3,972
py
#%% # -*- coding UTF-8 -*- ''' @Project : python学习工程文件夹 @File : Approximate_entropy.py @Author : chenbei @Date : 2020/12/23 13:39 ''' import numpy as np class BaseApEn(object): def __init__(self, m, r): ''' :param m: 子集的大小,int :param r: 阀值基数,0.1---0.2 ''' self.m = m s...
[ "noreply@github.com" ]
ldcrchao.noreply@github.com
4918019576d1bb2c764d597fb23d1b9b1b0770d4
f02d13defa83b17585563d12699713f4f83a1a3f
/farm.py
825dc597dc5df7af8fa6540b2f8bdc66acde7fe1
[]
no_license
Priya-Pathak/Demo_Project
c5089107b9d2fc60650560e3c51f605680d7ba87
f9076bcbf378ce88f442a8e5338febfaa8a26e66
refs/heads/master
2023-02-20T15:54:21.079395
2021-01-25T17:30:30
2021-01-25T17:30:30
332,827,282
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
import requests #import urllib2 import re from bs4 import BeautifulSoup html_page = requests.get("http://imgur.com") # #page = requests.get("https://www.amazon.in/events/greatindiansale?ext_vrnc=hi&tag=googhydrabk-21&ascsubtag=_k_CjwKCAiAxp-ABhALEiwAXm6IyVxEEsg6-nyCVzhHOjbhCXbJ99UiPVe3cR2fqubVZtibSpNnat57zRoCyVUQAvD_...
[ "priyapathak24.07@gmail.com" ]
priyapathak24.07@gmail.com
0fc13596f5a832149d9950e11fa583228c461fea
0d44d7bab621065fca2547eb384cc80aba8e828e
/src/unitest/sparse_matrix_test.py
9d24822efa91b5dc3fd6b3b1d4665303bc54db31
[]
no_license
tttthomasssss/dissect-py3
dc823029ca971d8ff57e98f253e1be902a1be244
7b5eae7bfd7e7914ba0ecffcf5e36088c5cf66a5
refs/heads/master
2020-04-01T09:32:14.219686
2018-10-15T08:33:51
2018-10-15T08:33:51
153,079,099
0
0
null
null
null
null
UTF-8
Python
false
false
6,176
py
''' Created on Sep 18, 2012 @author: Georgiana Dinu, Pham The Nghia ''' import unittest import numpy as np import numpy.testing from scipy.sparse import csr_matrix from scipy.sparse import csc_matrix from scipy.sparse.sputils import isintlike from composes.matrix.sparse_matrix import SparseMatrix from composes.matrix....
[ "th0mas.ko6er@gmail.com" ]
th0mas.ko6er@gmail.com
cb481845e9c1ef0a92553d65ed4dce425109b17e
232e1fdcf311744f9d186be4bbf874aeea290e24
/Assignment1/Solution/q2.py
036a2045e612a7145afc1053349e9a05e726812c
[]
no_license
LulwahAlkwai/cs595-f13
43ab0e1539643dedb48ebae9758d797be96474ab
8840d8b7da7747eb944c826c7bf28372e1dce3ba
refs/heads/master
2020-12-24T10:14:46.768979
2013-12-13T15:04:21
2013-12-13T15:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,813
py
#cs595 #Assignment1-q2 #Lulwah Alkwai #!/usr/bin/python import sys import time import urllib2 import BeautifulSoup if len(sys.argv) == 4: InputTeamName=sys.argv[1] TimeInSeconds=int(sys.argv[2]) URI=sys.argv[3] #Handling exception #Arguments not correctly inputed #using default input else: print('***********...
[ "lalkwai@cs.odu.edu" ]
lalkwai@cs.odu.edu
e00d307da9da567025a35c28735648a6e27b20c8
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0706-Design-HashMap/soln.py
e21d3dfd6923092dc9aed5123cf0f59efdc39a4a
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
1,451
py
class MyHashMap: def __init__(self): """ Initialize your data structure here. """ self.size = 1337 self.lst = [[] for _ in range(self.size)] def put(self, key, value): """ value will always be non-negative. :type key: int :type ...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
a101187eb7a6666ef2d639900235fd12398cddc2
7478faa51668132406e313e2cdfdebbc4c698dbe
/data_utils.py
e707c753a750f5a3554bd0f0a31958829faeb330
[]
no_license
lxk00/KD-NAS-EMD
d339c037d13702f33c37e7a020e5ccba754f3a28
5426d237a71590db398a31663758cd277adb45d1
refs/heads/main
2023-04-10T09:19:07.232451
2021-04-26T13:07:54
2021-04-26T13:07:54
361,752,661
3
0
null
null
null
null
UTF-8
Python
false
false
11,646
py
from torch.utils.data import TensorDataset import torch import numpy as np import random from torch.utils.data.sampler import RandomSampler, SubsetRandomSampler, SequentialSampler from torch.utils.data.distributed import DistributedSampler from torch.utils.data import DataLoader import os class InputFeatures(object):...
[ "noreply@github.com" ]
lxk00.noreply@github.com
bc0cea1eb0c490b4a90b599b03211f8ccadbb334
8fd35da0ce8cf4f993a6847d115a650df408f5c9
/src/Analysis_1_mass1013.py
f823fef8d50fcbe552fc16d370eb62106b746b95
[]
no_license
Fernandez-Trincado/Bullet_Groups-2014
c8e3f49b7f71cdde9509ba31cfe27bd76ca95b07
b414dcdcae8404e5ce663bed2c64f57c2090d5d3
refs/heads/master
2020-06-07T12:35:19.942900
2015-11-08T13:23:53
2015-11-08T13:23:53
17,151,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,685
py
#!/usr/bin/python #Bullet Cluster and Bullet Groups with Jaime Forero at Universidad de Los Andes, Bogota - Colombia. import numpy as np import scipy as sc import pylab as plt data=sc.genfromtxt('MassiveCatshortV.0416_mass_1013.DAT') mask1013=data[:,6]<1E14 mask1014=data[:,6]>1E14 f=plt.figure(1) ax1=f.add_subpl...
[ "jfernandezt87@gmail.com" ]
jfernandezt87@gmail.com
1d4ca7f8a7effb45b21224c271eaa445e0746341
dfb67fdaaa5db5dbb62c653cb49558c53ae5289f
/demo2/venv/test.py
29323b89876d40db257606fa3865acf54eb2b19f
[]
no_license
franklinmf16/Python
97f24cda19a080de34ea2c2874df584911b10fda
4f72a77a86097ca0df4253f811dc2a57ffbb19aa
refs/heads/master
2020-03-25T08:29:34.692373
2018-08-06T02:27:08
2018-08-06T02:27:08
143,615,269
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
filename = 'you_can.txt' print('\n replace') with open(filename) as file_object: list = file_object.readlines() for message in list: message = message.replace('Python', 'C') print(message.strip())
[ "boxianmo@Boxians-MacBook-Pro.local" ]
boxianmo@Boxians-MacBook-Pro.local
c36475c03b3c82b403e44b5b09971ac66b693c2a
a225fed17f1a2dd5ec224651615018df3d1d9644
/src/crawler/pymining/test.naive_bayes_train_test.py
48674c888c10cd3c979d71731d4358c78af1478e
[]
no_license
vaneeylee/0f523140-f3b3-4653-89b0-eb08c39940ad
533e27363ec6e7f88680761aef678e6e9ceef9b0
6b354617ea416a357df78097ab3a5ef72c3b0b00
refs/heads/master
2021-12-07T11:59:33.207076
2011-05-04T13:01:54
2011-05-04T13:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
from matrix import Matrix from classifier_matrix import ClassifierMatrix from segmenter import Segmenter from py_mining import PyMining from configuration import Configuration from chisquare_filter import ChiSquareFilter from naive_bayes import NaiveBayes if __name__ == "__main__": config = Configuration.FromFile(...
[ "felixcat.gng@gmail.com" ]
felixcat.gng@gmail.com
153eda9d5fa5013d2f878bf59e3fb6cdd746b50f
1f8d81fe50369f4b3d4df96d2da01a7dd404f843
/AppliedAI.py
99299f02d4db6df65f9903bcf9296b6bebbfee15
[]
no_license
vidhyasagar13/kaggle_building_energy_consumption
c463e91253041f923429bd7ba5a27e0f6df325db
ffcc062d12ada84b78495875819e1b275d507a11
refs/heads/master
2022-11-12T09:13:59.690738
2020-06-26T05:30:52
2020-06-26T05:30:52
275,080,737
0
0
null
null
null
null
UTF-8
Python
false
false
9,498
py
import os import numpy as np import pandas as pd import os import pandas as pd import numpy as np import matplotlib.pyplot as plt get_ipython().run_line_magic('matplotlib', 'inline') import seaborn as sns from time import time import datetime import gc from sklearn.model_selection import train_test_split,KFold from sk...
[ "noreply@github.com" ]
vidhyasagar13.noreply@github.com
0cb69f4f57b47376edf32dc2eac99e8fa48ae1ee
d605841d2367f9ca71e589a716f875d7fbb65792
/get_hot.py
568fbb97bbd9850e01af24fc3b54fec8ecb7202c
[]
no_license
insmoin/AnalyseBilibili
9edb37dba4b14842ee9e47937bdd3b3ba07f99ad
ab2f21ea7260b21f99961135994c75cf79965375
refs/heads/master
2020-04-29T12:25:47.141945
2018-06-08T03:37:15
2018-06-08T03:37:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,875
py
# -*-coding:utf8-*- import requests import sqlite3 import json import datetime import time import random from login import Login #import sys #from importlib import reload #reload(sys) #sys.setdefaultencoding('utf-8') header = { 'Referer': 'https://t.bilibili.com/?tab=1000', 'User-Agent':...
[ "zhangqingjie@doodlemobile.com" ]
zhangqingjie@doodlemobile.com
91d6b1e6e00d76a4584803195b4c0029d3c42f07
ea71ac18939e99c1295506d3e3808bb76daabc84
/.venv35/Lib/site-packages/PyInstaller/hooks/hook-langcodes.py
88c6322f94ec65e283dcd505443905735985d22e
[ "GPL-1.0-or-later", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
ndaley7/BodySlide-Group-Generator
543ef48b4dfe58953b0694b2941c9131d5f4caef
3ed7b78c5f5ccec103b6bf06bc24398cfb6ad014
refs/heads/master
2020-08-26T17:44:38.768274
2019-12-10T19:01:23
2019-12-10T19:01:23
217,089,038
2
0
BSD-3-Clause
2019-12-10T19:02:29
2019-10-23T15:18:10
Python
UTF-8
Python
false
false
505
py
#----------------------------------------------------------------------------- # Copyright (c) 2017-2019, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this s...
[ "ndaley7@gatech.edu" ]
ndaley7@gatech.edu
7b36e7c6f2e581fce8dc9f4e4854060e561a0cab
5f2b37277c9b04f85adda6da6c5a6431fb9bb4ea
/求级数和.py
bfe9cd4151bf77d02400506c973893f96ab6a027
[]
no_license
USA-Citizen/Basic-Computer-of-Liberal-Art
b28f58a2b11ef8d13ba6b9443d439acc1f62b8ee
a192599ed08d1956bf7033f3770dceeb4110e1c3
refs/heads/main
2023-07-08T19:15:50.200311
2021-08-13T02:45:17
2021-08-13T02:45:17
395,498,855
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
def func(x,y): s = 1 for i in range(1,y+1): s *= x return s def main(): while 1: number = int(input('Please input an even number ranged from 2 to 8(\'0\' for exit):')) if number == 0 : break elif 2 <= number <= 8 and number % 2 == 0: n = func(number+1, number) - func(number,number-1) ...
[ "noreply@github.com" ]
USA-Citizen.noreply@github.com
ae1b5c6b28cdd358c43d2406cd1a9072965b64cd
265e92f0e0782a07f0cb3a601097182f51d49c19
/sina/apifun.py
843131671ced6e5c3a0e51aed2b03e66cc989b88
[]
no_license
yishenggudou/opensnsrpcserver
13ed7aab88fdaf4cfc358bb5580eef5d8118381f
516afa0cb73a112b3d76740899dfd8df429217d4
refs/heads/master
2021-01-17T11:33:46.083148
2011-11-21T13:17:48
2011-11-21T13:17:48
2,340,076
1
0
null
null
null
null
UTF-8
Python
false
false
5,278
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Copyright 2011 timger +Author timger +Gtalk&Email yishenggudou@gmail.com +Msn yishenggudou@msn.cn +Weibo http://t.sina.com/zhanghaibo Licensed under the MIT License, Version 2.0 (the "License"); ''' import os,sys import conf as _conf from weib...
[ "yishenggudou@gmail.com" ]
yishenggudou@gmail.com
a6889b370914909f3300d5d84eeaf6f84dd8ed5a
8578c3722b1922b937c6015cc97ac854ea0c9d6a
/etherum_scrapper/pipelines.py
6de4b807f4f65df435d13ab9612695496313a0ab
[]
no_license
dzordanq/etherum_scrapper
76db7b10f79c2ae9a25d091ed68fce6904677edc
911f0a32efcc5e19eceea356b6130a6b9a3ff85d
refs/heads/master
2023-06-08T17:21:17.219826
2021-06-26T15:39:53
2021-06-26T15:39:53
380,537,358
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # useful for handling different item types with a single interface from etherum_scrapper.settings import FEED_EXPORT_FIELDS from scrapy.exporters imp...
[ "random05510@gmail.com" ]
random05510@gmail.com
cfdca820a4ae3e719ec9de6ca53c96280c2eb439
ddc4a9248e5f3a2443da5dac3341ef6af3360eaa
/learning_oop/utils/utils.py
374379705b947cfafe255a14df6bddb964c11af0
[]
no_license
StavisT/Playground
9bb04ee4819751d5487e4d51ee336172705fc4de
17074545e1bf88710f178924a0a17501670a6ac0
refs/heads/master
2022-12-09T14:06:10.221813
2020-01-11T20:06:19
2020-01-11T20:06:19
123,172,846
0
0
null
2022-12-08T03:30:45
2018-02-27T18:46:53
Python
UTF-8
Python
false
false
1,020
py
# descriptor for a type-checked attribute class Typed: def __init__(self, name, expected_type): self.name = name self.expected_type = expected_type if isinstance(self.expected_type, str): self.expected_type = eval(self.expected_type) def __get__(self, instance, cls): ...
[ "simon.stavland@cognite.com" ]
simon.stavland@cognite.com
ed3612ff104034bb6c86ff3d667a98b4eb5b479b
e8e06f57c8089509092930884a6c44e2641e317a
/AiXianFeng/mine/views.py
b2c637de147392abe8a8b4bc4c72dd2ffc01815f
[]
no_license
Huang0321/AiXianFeng
61a5e86bafdcbbd1bca81af00ba4b49f0d636eca
4e5792dab9323db643875742890d97f6bcf69268
refs/heads/master
2020-03-15T23:12:29.572597
2018-05-08T12:51:22
2018-05-08T12:51:22
132,388,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,172
py
from django.shortcuts import render from AXF.models import Order def mine_home(request): if request.method == 'GET': users1 = request.user.order_set.filter(o_status=0) # 获取已下单未付款的对象set users2 = request.user.order_set.filter(o_status=1) # 获取已付款未收货的对象set num1 = 0 num...
[ "312919870@qq.com" ]
312919870@qq.com
03c2c047b95a649505cf80383ff3cdd4fd11f539
14a6067d7f6e42d0c9ed51e7c687f44792c8739d
/mab_cms/manage.py
a96d528ed8eb71c176f903b9cf3a1bd2ff66fa82
[]
no_license
movimento-dos-atingidos-por-barragens/django-cms
bbd5bd3c645a69d8cbf4c0f344a769fbdd79dd0f
0b9de9c28cef2275ba6720f155357d139f4d809f
refs/heads/master
2020-12-02T21:00:35.397278
2017-07-21T23:48:37
2017-07-21T23:48:37
96,243,280
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mab_cms.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "akanim@gmail.com" ]
akanim@gmail.com
e67ed739f248765f645381528f2f3be9767e3c06
2c599e08afcd7600fbc1de8c0a009230ee613aeb
/vgg/vgg_train_seahawks.py
af4fea59c97b6fab8cb95bd0e6a3b838fc031f4d
[]
no_license
Hammania689/semantically_driven_multitask-leaning
1278977225c07a30472a4b489ef240985e583d4f
6e6a5c2fc9a4060bf1580ad945d4955a643b8b3d
refs/heads/master
2020-09-07T07:52:12.948424
2019-11-23T03:11:38
2019-11-23T03:11:38
220,712,833
0
0
null
null
null
null
UTF-8
Python
false
false
5,631
py
from torch import nn from helper import * from tensorboardX import SummaryWriter import torch import torchvision.models as models # Model + Hyper Paramaeters vgg = models.vgg16(pretrained=False) # Change classifier accordingly vgg.classifier = nn.Sequential( nn.Linear(in_features=25088, out_featur...
[ "hameedabdulrashid@gmail.com" ]
hameedabdulrashid@gmail.com
1f91d60f38bd1be8149029705cc2206405ec3261
9567c7e689c44f6ce6b98225509c2f6b7d426f0f
/models/u_net.py
fcf129554150f11d4a62d504b025d670227d2a24
[ "MIT" ]
permissive
Ding1119/Foveation-Segmentation
62e210fabfb32dc822621f14477ebc2bed57b1bd
557ad1c88343c05d7dfc765b5fa4cbe6fb237d74
refs/heads/master
2023-06-23T08:20:35.598571
2021-07-20T15:28:37
2021-07-20T15:28:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,169
py
import torch import numpy as np import torch.nn as nn __all__ = ['u_net'] def double_conv(in_channels, out_channels, step=1): return nn.Sequential( nn.Conv2d(in_channels, out_channels, 3, stride=1, padding=1, groups=1, bias=False), nn.ReLU6(inplace=True), nn.InstanceNorm2...
[ "jinchen0227@gmail.com" ]
jinchen0227@gmail.com
2408767ddb5d1ed874f058eb66ea7391382cc56a
e58518d60c094d835557bb3f79f19b017284e23a
/TwitterHealth1.0/backend/delete_docs_over_5_days_old.py
9081a5ef21ee9583f18931bed8ca70b7421ebd48
[]
no_license
Rsquared2016/RocData
d2123801f63841f4510e1669927bddb6421e94fc
f5016e5fad5e4c51b2a2fc7909bfe0a742069bac
refs/heads/master
2020-05-18T18:23:07.953718
2014-04-04T16:10:06
2014-04-04T16:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
""" deletes tweets that are more than 5 days old with respect to current time on the server """ import couchdb import datetime import json import sys def log(s): print '%s: %s' % (datetime.datetime.today(), s) def deleteDocs(db): print 'Loading old tweets ...' oldTweets = db.view('Tweet/by_day_older_five...
[ "sadilekadam@gmail.com" ]
sadilekadam@gmail.com
ffe573a415593fc833edaf0348fe3b6662e2f2d6
c45e3462bad3503a526770653dd25d9bf3b9da07
/pylib/mps/packager/pkg_rules_interface.py
92b0527d77da3122566b1208212b83fb87920192
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
room77/py77
f88da6fb552127723ba6518d88848c475293a374
70280110ec342a6f6db1c102e96756fcc3c3c01b
refs/heads/master
2021-06-29T02:34:22.760479
2020-07-13T16:29:46
2020-07-13T16:29:46
18,349,519
0
2
MIT
2021-06-17T12:31:06
2014-04-02T00:17:08
Python
UTF-8
Python
false
false
516
py
#!/usr/bin/env python """Interface for packaging""" __author__ = 'edelman@room77.com (Nicholas Edelman)' __copyright__ = 'Copyright 2013 Room77, Inc.' class PkgRulesInterface(object): """Base class for making packages""" @classmethod def make_package(cls, rule): """Generates a package Args: rule:...
[ "oztekin@room77.com" ]
oztekin@room77.com
c5b0864915efa3ca1c5570ca8bc9688e52af6da8
7cb0d630965a124a04db0e8dce13b44806c02d36
/menu.py
1e80409d8c8302e867f7158d0ff856fdd495ce6a
[]
no_license
KISHU-123/scrape-books
c34dea927c4ab37643723e4385c15ba7a26f18c6
14823f10a828ef80d9238e7d9342effb11656d3d
refs/heads/master
2022-06-24T19:49:52.517884
2020-05-08T08:42:07
2020-05-08T08:42:07
262,271,269
1
0
null
null
null
null
UTF-8
Python
false
false
929
py
from app import books USER_CHOICE = '''ENTER ONE OF THE FOLLOWING -'b' to look at 5-star books -'c' to look at the cheapest books -'n' to look at the next books in the catalogue -'q' to quit ''' def print_cheapest_book(): best_books = sorted(books, key=lambda x: x.price)[:10] for book in best_books: p...
[ "KISHU-123" ]
KISHU-123
319779da84a802496431e4503815606afb22b943
1348c4e9219defbc85a4c3c6019e654084c32215
/test/test_manifest_request.py
d98f7cdfdd445eab795d155c530f56eb4601183d
[]
no_license
joantune/rmail-shipping-REST-python-api
77cf95a92e6b5a018f0d22f4cf8d5234a91e4cb3
c7293adc8a52259dfb43ae277ba9652754fe4308
refs/heads/master
2022-12-15T21:56:12.296453
2020-09-15T08:44:06
2020-09-15T08:44:06
180,843,828
2
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
# coding: utf-8 """ Royal Mail API Shipping V2 (REST) This API specification details the requirements for integrating with Royal Mail API Shipping V2 (REST). It specifically covers how the Royal Mail API Shipping V2 (REST) can be used by business customers to conduct shipping activity with Royal Mail and prov...
[ "joao.antunes@tagus.ist.utl.pt" ]
joao.antunes@tagus.ist.utl.pt
1e0a3a0a55ea8ac494c984743d3a92d9d2523ac3
c7fe4d40fb8507b9032c2b2ade77b450cf6e3a56
/server.py
c27fc8412c20c4d5b2ee61dfb0db1dba51b011fc
[]
no_license
nLevin13/Shipbook
ce204ddf43277963919ad8f333bb66f9c1485560
dc2266de5be1dabbde3c0c13bcef1d26b56e5671
refs/heads/master
2020-04-04T13:31:11.202196
2018-11-04T16:45:40
2018-11-04T16:45:40
155,964,576
1
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
from http.server import HTTPServer, BaseHTTPRequestHandler from mapstest import mapstest from io import BytesIO class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): coords = {'lat':0,'lon':0} def do_GET(self): self.send_response(200) self.send_header('Access-Control-Allow-Origin', '*') ...
[ "nyro9999@gmail.com" ]
nyro9999@gmail.com
50f786c78b5b11bf44c44f553aeb1ee4feb34219
3e34bab78901f17526fb629084d8dffa1cdb6b33
/server/api/socket/client.py
7cde061d4afba8469f20da85111d597cfde0c512
[ "MIT" ]
permissive
hmqgg/PlanarAlly
549e73b9ad80c0fd29bb2d73f2609159b832361e
792664549cc1656c1e4b50b300018517c9f5ae71
refs/heads/master
2021-12-02T21:37:51.386041
2021-07-21T20:11:08
2021-07-21T20:11:08
200,386,014
0
0
MIT
2019-12-08T11:04:49
2019-08-03T14:40:05
TypeScript
UTF-8
Python
false
false
3,552
py
from typing import Any, Dict from typing_extensions import TypedDict import auth from api.socket.constants import GAME_NS from app import app, sio from models import Floor, Layer, LocationUserOption, PlayerRoom from models.db import db from models.role import Role from models.user import UserOptions from state.game ...
[ "info@darragh.dev" ]
info@darragh.dev
6a59c0ce22b4667f799816e05242314884347754
4eff2ee3697fee36b49c57f5bc0d282088e0c70a
/faker_integration/faker_integration/asgi.py
974cf9225dd8ad80e0962f112456afde72abcd59
[]
no_license
sraktate/faker-integration
8651232da68c266d7e76a176222d7f0fb6568028
28331de37a1d1efcf9685e621d6c3fc498eb1236
refs/heads/main
2023-07-31T20:15:28.271487
2021-09-20T03:52:08
2021-09-20T03:52:08
408,303,152
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" ASGI config for faker_integration project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "shubhamraktate28@gmail.com" ]
shubhamraktate28@gmail.com
c23fe7ff6cb365c7caeeb3333be47d5127841a7d
0d86e45ba26560f6acf95632950683e428b31e34
/Terminal_bot/main.py
b1d324438f48c851f3f95d9a77a4591dbd1df592
[]
no_license
dpk-a7/C19_chatbot
e2a8e4021a338a9168ca89b384f11c230d5c1688
67c189b7d672a512af4af00e0fe06c2169eef0bb
refs/heads/main
2023-01-27T22:56:41.433824
2020-12-07T10:45:30
2020-12-07T10:45:30
319,284,877
1
0
null
null
null
null
UTF-8
Python
false
false
67
py
from bot import startbot if __name__ == '__main__': startbot()
[ "deepakavudiappan@gmail.com" ]
deepakavudiappan@gmail.com
3f80bf8e6976a50cf97be01dee7d8035744100de
317e0e30e474dfa8ebbca4981d9b07d7ebec5f40
/pms5003_driver.py
aea226a3458e0bdba295ff5f29fa4199fde947c3
[]
no_license
zeshi1990/pms5003
85f13e6ea36c320d824058fcd71648f3b661eff5
74fb00d6f60f587306ab17a5d57b53ec8a119006
refs/heads/master
2020-03-17T09:07:45.529165
2018-05-15T05:11:15
2018-05-15T05:11:15
133,462,169
1
0
null
null
null
null
UTF-8
Python
false
false
3,548
py
import serial import datetime import struct import time class PMS5003(serial.Serial): def initialize(self): self.set_mode('passive') def read_passive(self): cmd = self.format_cmd("read") self.write(cmd) print "start parsing results" res_data = self.parse_data() ...
[ "zeshi.z@gmail.com" ]
zeshi.z@gmail.com
ffebc46c42e6f9080f406e89e48f0e5d7a17e9be
d5efb88e4f1e98dd877f7469c6c916d69d197a15
/myvenv/lib/python3.5/rlcompleter.py
90cd2ba2470b0c07037a874f4fa2d7d5ef35b0f6
[]
no_license
Andreilys/djangoblog
6ace871d1d1edfaa8268458a9104664ef8721ef5
a5317a98bb60ce7171277b8cbc1d10df6e5a17e6
refs/heads/master
2021-01-21T13:30:09.956455
2018-08-15T04:38:57
2018-08-15T04:38:57
102,130,652
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
/Users/andreilyskov/anaconda/lib/python3.5/rlcompleter.py
[ "andreilyskov@gmail.com" ]
andreilyskov@gmail.com
9233c30251d8a8a6cef4d471c67503966ea441c6
3004b651cd555592ed36f72920552d4caba57dff
/cart/cart.py
ff1a760d0c8f069d5f67543631480507fdfab5d0
[]
no_license
Zakhar-Tkachenko/django-shop
6291c446785c02e7906692d60011b09d1c9883fb
09ee4431857836f2a88337df78fd87591b394fa9
refs/heads/master
2022-08-12T06:16:11.946018
2020-05-21T17:05:03
2020-05-21T17:05:03
262,155,309
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
from decimal import Decimal from django.conf import settings from shop.models import Product class Cart(object): def __init__(self, request): self.session = request.session cart = self.session.get(settings.CART_SESSION_ID) if not cart: cart = self.session[settings.CART_SESSION_...
[ "z.tkachenko@MacBook-Pro-Tkacenko.local" ]
z.tkachenko@MacBook-Pro-Tkacenko.local
6f936a69972bf5a561b2d8839fd0af036ded10b3
910917653b3f76f842de09a0f0c14649696dcb1a
/standart-module/use_logging.py
6a9c412cc866394352bb03886cf35759b633c21b
[]
no_license
osmanseytablaev/Learn-Python
e3707950d85200d07e2c06206584cf32318bbbb8
6be726a181cf3f6104b32975605a3e70b95dc69e
refs/heads/master
2021-05-17T23:09:40.573940
2020-06-18T17:45:33
2020-06-18T17:45:33
250,994,929
2
0
null
2020-06-18T17:45:35
2020-03-29T09:23:27
Python
UTF-8
Python
false
false
658
py
import os, platform, logging if platform.platform().startswith('Windows'): logging_file = os.path.join(os.getenv('HOMEDRIVE'), \ os.getenv('HOMEPATH'), \ 'test.log') else: logging_file = os.path.join(os.getenv('HOME'), 'test.log') print("Сохраняем ...
[ "osman.seytablaev@gmail.com" ]
osman.seytablaev@gmail.com
1194695507201d2a283a4a0ce5059a1b9d613bc2
e322d01555aebbcf9f23a68fa9160e75d4397969
/YouCompleteMe/third_party/ycmd/third_party/JediHTTP/vendor/bottle/test/test_environ.py
2b8079b27d5c3e8fca4440ccf4e403e5b03a15cf
[ "Apache-2.0", "MIT", "GPL-1.0-or-later", "GPL-3.0-only" ]
permissive
liqiang0330/i3ForDebian9
3b2bb5ce104f25cadab7a57cdc7096fadeb4a9ef
37a63bdaf18dab847e57d328cdcb678668ab6207
refs/heads/master
2022-10-25T13:30:26.723690
2018-03-17T05:22:55
2018-03-17T05:22:55
162,018,419
1
1
Apache-2.0
2022-10-08T20:30:23
2018-12-16T16:11:57
Python
UTF-8
Python
false
false
34,702
py
# -*- coding: utf-8 -*- ''' Tests for the BaseRequest and BaseResponse objects and their subclasses. ''' import unittest import sys import bottle from bottle import request, tob, touni, tonat, json_dumps, _e, HTTPError, parse_date import tools import wsgiref.util import base64 from bottle import BaseRequest, BaseResp...
[ "yuan705791627@gmail.com" ]
yuan705791627@gmail.com
c522e96d77e1516ca4f0d34d276e1fdc8960939d
a8494ac812d41567ff8427b7314410390195d7f1
/manager/urls.py
f92cf9bc75933f3504cd0435cc7dc0e0c03a5466
[]
no_license
iikyara/rktabot
527a05585e505d9c31398003ad87a78795a7d922
baf44732abb9aa1ac3da1256c129c4fd02ec83fc
refs/heads/master
2023-02-03T02:35:51.113283
2021-06-17T09:30:23
2021-06-17T09:30:23
87,445,624
0
0
null
2023-02-02T02:28:40
2017-04-06T15:31:37
Python
UTF-8
Python
false
false
304
py
from django.conf.urls import include, url from . import views urlpatterns = [ url(r'^$', views.post_list), url(r'^post/new/$', views.post_new, name='post_new'), url(r'^stop', views.post_stop, name='stop'), url(r'^post/new/edit/$', views.post_edit_detail, name='edit_detail'), ]
[ "noreply@github.com" ]
iikyara.noreply@github.com
5d11cdebf01ea72aefd1cfbefcfed022931860e5
d9bdbfc83eaf5b1f002df50493aacd1ed122b3d7
/absen.py
d3c437eb9296843a620851306951692d8613bfee
[ "MIT" ]
permissive
SultanKs4/cheabsi
894749c1803204f4374bcd98e17799ec1ad27a4e
bfa233586e5a028bd4e021bcd55aa631eec8efe9
refs/heads/master
2023-05-18T22:03:33.073868
2020-06-03T12:35:28
2020-06-03T12:35:28
266,580,919
3
1
MIT
2021-06-02T01:54:27
2020-05-24T16:30:02
Python
UTF-8
Python
false
false
4,421
py
import sys import os import platform from datetime import datetime from selenium import webdriver from selenium.webdriver.firefox.options import Options from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditi...
[ "sultangendut@gmail.com" ]
sultangendut@gmail.com
d21abe3dd96fd14b8f82dcc31abaaedb885b16cf
375bb378bc995ff4acb99604c52c723e49a0e327
/DBTools/python/osusub_cfg.py
0cae36413f93e050a858a1edb3e83cdabd8f3623
[]
no_license
qpythonn/OSUT3Analysis
a9f1b77b8a0247bc27901217e8abfa1d266de56a
b68c2acf8191b9a27d4ad5135f53cbe9baf3ea68
refs/heads/master
2020-06-02T07:25:21.600800
2014-07-10T11:36:57
2014-07-10T11:36:57
21,691,511
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
import sys import math if len (sys.argv) == 7 and sys.argv[2] == "True": nJobs = float (sys.argv[3]) jobNumber = int (sys.argv[4]) if int (sys.argv[3]) != 0 and sys.argv[5] != "NULL": import runList as runList filesPerJob = int (math.ceil (len (runList.runList) / nJobs)) runList = runList.runList[(j...
[ "lantonel@interactive-0-1.local" ]
lantonel@interactive-0-1.local
75bea3c90138d862e8c85eb6544cbe5f50354937
a1c20ec292350a4c8f2164ba21715414f8a77d19
/Udemy/Python3Bootcamp/Testing/assertions.py
bbb4373d32b6996791166c6477190eec7b94384f
[]
no_license
nowacki69/Python
2ae621b098241a614836a50cb1102094bf8e689f
e5325562801624e43b3975d9f246af25517be55b
refs/heads/master
2021-08-22T21:30:39.534186
2019-09-03T01:21:11
2019-09-03T01:21:11
168,528,687
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
def add_positive_numbers(x, y): assert x > 0 and y > 0, "Both numbers must be positive" return x + y print(add_positive_numbers(1, 1)) print(add_positive_numbers(1, -1))
[ "walter.nowacki@aa.com" ]
walter.nowacki@aa.com
9fe9bafdb628168eab42a34734a1421951e279fe
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/merge/listing/ListingMergeManager.pyi
6ad157e75b8b94f99d491f15dc82c81be30f5e06
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
5,865
pyi
from typing import List import ghidra.app.merge import ghidra.app.merge.listing import ghidra.program.model.address import ghidra.util.task import java.lang class ListingMergeManager(object, ghidra.app.merge.MergeResolver, ghidra.app.merge.listing.ListingMergeConstants): """ Manages program listing changes an...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
479580ebbcb16174a1b8bd5e5bef1202a3258bbf
4635d49ec28d80e1f5324a458cb2c32aa87d7eaf
/calaccess_processed/special_elections.py
3ea38f0c10f2757333a6f869d7bd0de8913d3f18
[ "MIT" ]
permissive
chrisamurao/django-calaccess-processed-data
0355f57e7a1fae87870417e80b10355ccf9afbdf
9fe7f89ba79ae590d565a19724034ae44021f2a3
refs/heads/master
2021-01-21T14:17:18.650619
2017-06-23T23:31:51
2017-06-23T23:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Includes a mapping of special election names to dates. """ # This list was compiled from CAL-ACCESS: # http://cal-access.sos.ca.gov/Campaign/Candidates/ # And also the documents available from the Secretary of State site: # * http://www.sos.ca.gov/elections/prior-elect...
[ "gordon.je@gmail.com" ]
gordon.je@gmail.com