blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
2bb811f6e9037be0f8b47064b9ea6599b837a290
d1b9066d033f657158dde1de250488d7f76acd93
/setup.py
0a5790b97dab62b55718731462ed7e1b3efcd62f
[]
no_license
Oroth/leditor
f9ce8b62f131965eb8dad25b43522acc75ec133d
744df5b701f74975063f51bbb5080e56b0a57499
refs/heads/master
2021-07-14T07:57:26.359778
2021-02-27T19:00:49
2021-02-27T19:00:49
16,443,698
0
0
null
null
null
null
UTF-8
Python
false
false
2,419
py
from distutils.core import setup import py2exe import os import sys sys.argv.append('py2exe') # The filename of the script you use to start your program. target_file = 'main.py' # The root directory containing your assets, libraries, etc. assets_dir = '.\\' # Filetypes not to be included in the above. excluded_file...
[ "Chephren.mansley@gmail.com" ]
Chephren.mansley@gmail.com
17294a49094fdc8dc137447fad79c3679f27f8b0
66f383fec502102bfec58ed8cb9c43a71e599c55
/lib/yahoo/sports/fantasy/constants/tools.py
d883d4b78e0e292a2bc07f53442dde29e7505162
[ "MIT" ]
permissive
hacktoolkit/django-htk
0a984a28f7fbc7eed8e2b1975d210792ddbee829
935c4913e33d959f8c29583825f72b238f85b380
refs/heads/master
2023-08-08T11:52:54.298160
2023-07-21T19:08:37
2023-07-21T19:08:37
15,924,904
210
65
MIT
2023-09-08T23:59:28
2014-01-15T04:23:40
Python
UTF-8
Python
false
false
697
py
YAHOO_SPORTS_FANTASY_TOOLS = [ { 'name' : 'get_user', 'url_name' : 'lib_yahoo_sports_fantasy_get_user', 'description' : 'get user', }, { 'name' : 'get_user_leagues', 'url_name' : 'lib_yahoo_sports_fantasy_get_user_leagues', 'description' : 'get user leagues', ...
[ "jontsai@pocketgm.com" ]
jontsai@pocketgm.com
afa3c511202f00d2ba677e1c4389f041756fe136
135a86d497728d54c999e457b1b5bfef649b757c
/013/Python013.py
a491cb22dc54154cacf59d94d861d8d1faf2752f
[]
no_license
MarkMcCulloh/ProjectEuler
f0c8d2f378a5a6b9c675968de44c0898276dfed4
20b26898b0a591ce22d065be578f2627f6420d19
refs/heads/master
2020-05-20T14:31:24.183001
2012-12-22T02:51:06
2012-12-22T02:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,666
py
a = '''37107287533902102798797998220837590246510135740250+ 46376937677490009712648124896970078050417018260538+ 74324986199524741059474233309513058123726617309629+ 91942213363574161572522430563301811072406154908250+ 23067588207539346171171980310421047513778063246676+ 892616706966236338201363784183836...
[ "Mark.McCulloh@gmail.com" ]
Mark.McCulloh@gmail.com
0c82b151fa1b84f52808f5d9cba3874637a21ab4
7e0f0662faee84f49794fb342199a59e570d4d15
/env/bin/mako-render
480cddd311d240ca506dd3dfdd95adb94f717789
[]
no_license
Samkanja/headline
03cfed21a21d71e91d9e37edf821c5d3d1a432c4
be792d6ac7e23ba04fbcacbfec84ea659ba67e32
refs/heads/master
2023-06-19T14:01:21.431839
2021-07-08T13:28:37
2021-07-08T13:28:37
380,808,352
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/home/kskanja/stuff/down/headline/env/bin/python3.9 # -*- 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())
[ "samuelkanja4@gmail.com" ]
samuelkanja4@gmail.com
c4ff68f9e4d2384b3b2ded9950d77c9164b2cc4b
f53950b3e882d0f9d77a27dd53d5421189db7c2b
/Lena/ex9.py
6ddd5d7321a63ed0cb37bdf7bf5171318af7b9ce
[ "MIT" ]
permissive
JohnG-123/litterbox
2d95c6015842a99c877d6b418d09a0c2b2e2bae7
506d6392166787d2de9333401ed6961b8ecf944a
refs/heads/master
2020-12-30T22:10:07.946924
2013-10-23T18:12:59
2013-10-23T18:12:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
days = "Mon Tue Wed Thu Fri Sat Sun" months = "\nJan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" print "Here are the days: ", days print "Here are the months: ", months print """ There is something going on here. With three double quotes. We'll be able to type as much as we like. Even 4 lines if we want, or 5 or 6. """
[ "lena.hofman@gmail.com" ]
lena.hofman@gmail.com
0adafa647dec796abb4b3232bac173145bced8c4
c71c8dc74cc70b06c0c703ef409363496f95871e
/src/agents/migrations/0001_initial.py
f1028782e91e944b84f19f2fc9b109c26bd8daea
[]
no_license
l3h4ng/test1
76e882882f8f8a5e0f87088abff13eeac90f33f3
870583fdc6107e16abf04434d83c285f273215f3
refs/heads/master
2020-04-08T07:18:18.315397
2018-11-26T08:57:27
2018-11-26T08:57:27
159,134,139
0
0
null
null
null
null
UTF-8
Python
false
false
20,451
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-03-22 02:37 from __future__ import unicode_literals import django.contrib.postgres.fields import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import time class Migration(migrations.Migration...
[ "you@example.com" ]
you@example.com
848cbab84018f841b970a1feb2b51d070c619871
2afc3ec1dae42403c2b208a21045e402636ca336
/models.py
28fa465795448218958b3af0e1a68d65f42181c9
[]
no_license
Jagadishbommareddy/myapp
6a5227f33ff5093eaf38f93ce9d69341e9ae6024
972b245c0fd33a4242ba17d3562f3e30acb20771
refs/heads/master
2021-01-22T13:52:49.093137
2017-08-18T09:14:59
2017-08-18T09:14:59
100,020,240
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from django.db import models from .validators import * class ContactInfo(models.Model): mobile_no = models.CharField(max_length=15,validators=[validate_mobile_no]) phone_no = models.CharField(max_length=15, validators=[validate_phone_no]) email_id = models.EmailField(max_length=50) class Address(mod...
[ "noreply@github.com" ]
noreply@github.com
2462989d4a710962fa6ef713b5c6a162548a4bd2
d83a1d148d6148aed87e84e47b71e373099b365c
/LICENSE.md/13file.py
babb5a564088d89cb4411635e428d3bd4a01f2ce
[]
no_license
krvik/PythonBasics
64fd94cdc49a68e6e38266f22c3f1abdf4697307
21104013fcf1b67655548e291aa89d593598f156
refs/heads/master
2021-06-27T17:17:48.546413
2017-09-15T14:35:28
2017-09-15T14:35:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# this is 13th python programme. # Created by me. # python3 inputFile = 'input.txt' WRITE = 'w' READ = 'r' READWRITE = 'w+' APPEND = 'a' myFile = open(inputFile, mode=READWRITE) myFile.write("Hey") # by default writing is done in single line. myFile.write("How are u.?") # unle...
[ "noreply@github.com" ]
noreply@github.com
e4eee8eb36da949a57ccfad7303d36932864ac6a
496419c3802640fda626241b313d15499747c451
/model_gravity_interactions.py
de84416634f6bd5a2ac930e9fbbc68dea580a9ac
[ "MIT" ]
permissive
simberaj/interactions
edf37bdf889f80e49032284621a2f0e38be99af8
8c7a29e97bc8f8d49901f6bdc406471f940c494e
refs/heads/master
2021-01-17T13:13:14.414343
2016-05-28T12:13:29
2016-05-28T12:13:29
42,062,951
1
0
null
2015-09-22T14:24:35
2015-09-07T16:16:49
Python
UTF-8
Python
false
false
2,739
py
import arcpy, common, modeling, loaders REPORT_TEMPLATE = u'''Interaction gravity modelling analysis Input interactions: %s Interaction selection query: %s Origin mass field (m1): %s Destination mass field (m2): %s Interaction real strength field: %s Interaction length field (d): %s Output model strength field: %s O...
[ "simbera.jan@gmail.com" ]
simbera.jan@gmail.com
c48362e457295564a22f756f0a901d6bb77da05a
fa4184e67f8a136f4252ec79152f7ff5884ad586
/app/__init__.py
669099d7dbe246f2b2baf64bd1d598342a8cbfa5
[]
no_license
AdamUnger/lifestuff
0886b1ae1bd458a0480001d477ec5f91f9e9c8f0
d95bde584bc28a5892008595fd679cca0571df75
refs/heads/master
2021-01-01T17:56:57.134413
2015-01-26T19:12:41
2015-01-26T19:12:41
28,306,947
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login import LoginManager app = Flask(__name__) app.config.from_object('config') # flask-sqlalchemy initialization db = SQLAlchemy(app) # flask-login initialization lm = LoginManager() lm.init_app(app) lm.login_view = 'login' from ap...
[ "adamloganunger@gmail.com" ]
adamloganunger@gmail.com
0cf1600bf1505d70640e2f918fff4b80ac288142
820e03d09f0f631087475a55a62b1ef14db93e09
/python/practice3.py
0c6422a66e472684cf4f8f21956494f50196b7a8
[]
no_license
mjhcodes/pdxcodeguild
5eb3956700c98c91e3828ee4f02c77c37b1fb9a9
442f82d5e0c94b7273ef99b2e34a885624f69279
refs/heads/master
2022-03-29T23:21:20.362991
2019-12-05T07:03:48
2019-12-05T07:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
# Practice 3 - Lists import random # Problem #1 def random_element(fruits): """pick a random element of a list and return it.""" random_index = random.randint(0, len(fruits)) return fruits[random_index - 1] # fruits = ['apples', 'bananas', 'pears'] # print(random_element(fruits)) # -------------------------...
[ "mjhughes707@gmail.com" ]
mjhughes707@gmail.com
d829aa7cde7ce486e6c553f25af01f19fee37869
c87a8026416f110014ac71bfde6e510321e05d7b
/ImageRounderApp.py
79b3506b7c0d0c2745d740daeef0f95d1ca1112d
[]
no_license
kensan914/image-oo-cut-kun
12a10a15222a738254d95b69d8dcb9da40946e0f
cd58bc08b93dc0924b2e01e49773ee7548920519
refs/heads/main
2023-07-12T23:07:13.807483
2021-08-26T09:01:33
2021-08-26T09:01:33
399,714,722
0
0
null
null
null
null
UTF-8
Python
false
false
168,131
py
import os import threading from tkinter import * from tkinter import ttk from tkinter import messagebox from tkinter import filedialog from image_rounder import round_image file_separate_sign = "|" max_progress = 100 icon_data = "R0lGODlhAAWgBPcAAAAAAAAAAIEAAIGBgQBpAPovL8HBwQC9ACkAANkAACkpKWlpafHx8QARAPoQEP5JSVUAAK0AA...
[ "ken.tennis914@gmail.com" ]
ken.tennis914@gmail.com
743db520a4083b5f36ad4dc373fc1f3bca13fc23
a7232b72f0922e51a2d402b90119a1c2c4f80a91
/rePAWster.py
705d28e005db01ef5e226c9e44d0bb290a7f6433
[]
no_license
JarLowrey/rePAWster
a3d081c834a5320a4519dd39b92e41a59bb809fd
52cd7e1f2e6405ab388eb05ec8bcd8c9c7c1bb5f
refs/heads/master
2021-05-31T09:23:51.608250
2016-03-03T19:11:53
2016-03-03T19:11:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,098
py
import praw import random import time import sched from datetime import datetime, timedelta dog_subreddits = {"dogpictures":100, "DogsOnHardwoodFloors":20, "DogsWithEyebrows":50, "DogsWearingHats":50, "lookatmydog":75, "dogswearingglasses":7, "woof_irl":80, "BelgianMalinois":20, "berger...
[ "jtronlabs@gmail.com" ]
jtronlabs@gmail.com
74d2db05e7c729fabf7c0f15dd4a35d32a756b71
bee64aefe299d8ca246cce05fdb67ecdccd82e9b
/tick_to_ohlc/tick_to_ohlc.py
2758bac0811592abae811ad3e65d3f0d78f0e270
[]
no_license
webclinic017/TWS_Tick
b76991acf0d1ef608692a1b8b4ed42bf474ea200
98c6ae529f5830673c2b9d763d37666e563036a6
refs/heads/master
2022-04-05T22:32:33.566849
2020-02-18T10:23:09
2020-02-18T10:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
#convert tick data to ohlc data using pandas import pandas as pd import matplotlib.dates as mdates from mpl_finance import candlestick_ohlc import matplotlib.pyplot as plt from datetime import * #read file file_name = "EUR.USD 06.07.2018 11'43'05" df = pd.read_csv("../data/tick/" + str(file_name) + ".txt", names=['Ti...
[ "tobiasseidel@mail.de" ]
tobiasseidel@mail.de
971c5e20b1b1a68bbffe9d49c3e886f4d1090ddd
e07551b551bea273de67fb10849118b8ff89f6a2
/20.0.py
05801aa65ae615d91c29a60394c53aed6cf0bfca
[]
no_license
yzy632154/python-exercise
e06161004ffbdcddda36e794d43d4e1c7c6e06c5
479c96437855bbc7528a4ed53173f8b90749bf03
refs/heads/master
2022-07-02T01:51:31.240764
2020-05-04T01:16:14
2020-05-04T01:16:14
260,641,368
0
0
null
null
null
null
UTF-8
Python
false
false
10,509
py
str1 = '''ACFlCTLIQlAIVMTqHFkswqbDDHtpgcWaXSSglUYKE lqNsYCyaQXBzrFUbkAUAWAKrDgDtAlGMBqWQhpEwquZqWZJpslUfMllCwWptqINjrOBTLuPzwvXNbLCx oFRritKRpJgBOaGPZdkUzvYnvYmAlEsVmKRXqyQUOdCBqLYyboOYeAQNLnkuiDXCiNiksSSRpDMVQQgs TmYThnppfKSmkpjjceGLaMOvYgsvNkGENKgGtUSzVPlLMeephDKrWGNpAxBqRiCnQIuKwDZurIRsznUp xhstMWpHdZzqeEnttlAHi...
[ "noreply@github.com" ]
noreply@github.com
b4a586c865c2d84425167c6dc1cdc4d073812a0e
37fb3e0840857d33e1686545e730bfd790a1b9cb
/MM1KQueue.py
9ae29aca9368ac98638be6665c98ba50f43d17b4
[]
no_license
beaEpoch/MM1-QUEUE
aea03c42d93cb6a0ca6ea26f786bc881aa369b7d
a19ad416d1362e29d32ab7dc216941be0c80cd8d
refs/heads/master
2020-12-31T01:47:33.795025
2013-06-21T13:52:45
2013-06-21T13:52:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,650
py
''' Created on Feb 16, 2013 @author: adrielklein This module defines an MM1 Queuing System Simulator. Three class are defined in this module: Request, Controller, and Monitor. The Request object represents a request which enters the system (gets born), waits in a queue, gets served, and leaves (dies). Each request ob...
[ "adrielmklein@gmail.com" ]
adrielmklein@gmail.com
3b3ca2bace9cc78bd6f70523ff06faf3a1e3b10e
8d1264d9257eba418f92dbbbc8aac6773c4ec715
/core/signals/handlers.py
fe560bf24bf5e2578f83b7ab830653fd8a1cdd46
[ "MIT" ]
permissive
aldwyn/effigia
5f3e9e37eb7d169983034b61c7455baedc2d8817
eb456656949bf68934530bbec9c15ebc6d0236b8
refs/heads/main
2023-02-18T00:09:53.905711
2021-06-10T22:04:51
2021-06-10T22:04:51
96,387,903
1
1
MIT
2023-02-15T20:04:00
2017-07-06T04:21:09
HTML
UTF-8
Python
false
false
1,259
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import factory from django.contrib.auth import get_user_model from django.core.files.base import ContentFile from django.db.models.signals import post_save from django.dispatch import receiver from django.utils.text import slugify from core.models import...
[ "aldwyn.up@gmail.com" ]
aldwyn.up@gmail.com
69758bba6726950a002212f930181c065e9e2d13
175e4e031471e5cdbc9bcaee2df10f5ec44871d3
/LESSON2b/.history/test/webapitest/app_20200606195359.py
714e72278231784e6b0e68430eaf0ccb9e8fd6b3
[]
no_license
hiyacins/uma_study
c329d29a9c3899ab4feca21b9c47ef546b69b0bd
067e66f258a0c89f7670c645dd7c40feee8536fa
refs/heads/master
2023-01-23T06:40:12.435047
2020-06-17T15:59:34
2020-06-17T15:59:34
239,077,726
0
0
null
2023-01-06T08:36:26
2020-02-08T05:56:52
Python
UTF-8
Python
false
false
714
py
from flask import Flask, jsonify, request import json app = Flask(__name__) number = [] # クライアント側からPostされてくる @app.route('/incomes') def get_incomes(): return jsonify(number) # postされてきた情報を追加する。No Contentの場合のみ返す。 @app.route('/incomes', methods=['POST']) def add_income(): number.append(request.get_json()) ...
[ "hiyacins@gmail.com" ]
hiyacins@gmail.com
0fda6515c58f76a843c323034e7792acb2c3419a
c5cc62698debcd7acc0663348f3e39f813b4f330
/supercli/tests/test_supercli/test_logging.py
1bdeca7903ece54b48447b17d14a000d4d921e9c
[ "BSD-2-Clause" ]
permissive
willjp/supercli
6e239c150c7d1e144174a901fe1ad31c774f37dd
79b5ea6ecddc10b5718a72a691a09ac1424ac252
refs/heads/master
2020-12-04T20:20:31.147990
2017-03-05T12:15:32
2017-03-05T12:15:32
67,422,868
1
0
null
null
null
null
UTF-8
Python
false
false
341
py
import unittest try: import mock except: from unittest import mock import supercli.logging class TestTesting( unittest.TestCase ): def test_testing(self): self.assertEqual( 'a', 'a' ) def test_testing2(self): self.assertEqual( 'a', 'a' ) def test_testing3(self): self.asser...
[ "willjpittman@gmail.com" ]
willjpittman@gmail.com
dd8d5e0f72d6d3337bdf7ee472a92b3b24887a19
d547783ddecfc3ec5f28b0cbcfeafbf0246f1e20
/findEukGenes.py
7c96c2c56fa82fe04ae66db8ac576781325fbeae
[]
no_license
cez026/seqTools
94e2dfe4415b4d7b83be0bc2ec23ff4dce8873e5
7c88aed09bc5e8132072359c9687e64c5b1d9d8e
refs/heads/master
2021-05-05T09:38:35.314298
2012-08-07T15:24:10
2012-08-07T15:24:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
import sys from collections import defaultdict inblast = open(sys.argv[1], 'r') infile = open(sys.argv[2], 'r') outfile = open(sys.argv[3], 'w') genedict = defaultdict(int) for line in infile: genes = line.split() for line in inblast: line = line.split() gene = line[1].upper() if gene in genes: ...
[ "kd.iverson@gmail.com" ]
kd.iverson@gmail.com
759112704db451238f82e68484ff52648df2790e
63c959414ddfab7bb6bf72fc367d8650f3fae26b
/S1/Week 01/More Examples/examples-more-1b_functions-structure.py
2d95e7c1f6d567454c44f0e3ffaa756e8b947ab4
[]
no_license
lsls01/Python_Rice
0e9088e7001be5874d293e2e83327f44e9632ba8
0effcf366ff663028daf2b7be80cfff260aa0800
refs/heads/master
2020-12-30T11:39:27.184899
2017-05-16T23:56:52
2017-05-16T23:56:52
91,509,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,607
py
# Functions - take an input(s) and return an output # Structure # Functions have two parts: a header and a body. The header # of a function is made up of the keyword 'def' followed by # the function name, parameters in parenthesis, and a colon. # The body is indented 4 spaces after the header. def function_name(para...
[ "lisheng2001@gmail.com" ]
lisheng2001@gmail.com
510f09dfb30e67ef251ff687db57170bb5ad9679
a3e1327fc1b03cd0abedc1f38bde0957057b6f96
/server/src/serverlogic/storage.py
b4951407bd0f377ffad41ad2e9f13d77e7329aed
[ "MIT" ]
permissive
jyann/kayf
4164ac9a279b473e806b7c4163e05f6ed4726fbc
3669885e9cd807d62ee849304b4e612f55860355
refs/heads/master
2020-03-15T18:31:39.318386
2018-05-13T16:27:50
2018-05-13T16:27:50
132,285,666
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
from os import path def getPlayers(env, decoder): """Get all players in storage""" file_path = env.storage_path + '/players.json' if path.exists(file_path): players = decoder.decode(open(file_path, 'r').read()) else: players = {} return players def getPlayer(env, name, decoder): ...
[ "jyannes@Jonathans-MacBook-Pro.local" ]
jyannes@Jonathans-MacBook-Pro.local
17101c6f36330d87756d3d8a6f45697e3964569b
ec8514dba4f44d47bc541d2ddc59e7bc74aa684e
/Decoder/utils/prepare_WL.py
6c03f3b244072a045a156e1a12407a387f55a93e
[ "MIT" ]
permissive
ivivan/Traffic_Prediction
88edd6f6c73e2e8a98cabc4e19d01def2cbde17e
9fdce674993eaf69b75c7ea65d8846a55f9991c0
refs/heads/master
2021-02-15T06:08:17.658319
2020-07-27T04:57:38
2020-07-27T04:57:38
244,870,314
4
0
null
null
null
null
UTF-8
Python
false
false
7,565
py
import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler,MinMaxScaler from sklearn.model_selection import train_test_split import random import math import os import time from utils.VLSW import pad_all_cases # set the random seeds for reproducability SEED = 1234 random.seed(SEED) def ...
[ "Yi-Fan.Zhang@csiro.au" ]
Yi-Fan.Zhang@csiro.au
d4a1357d0480b0daaebe1f7f5f1b4aeef32280d9
db74e7449f1a0afda36a392150f7f3b36d64c813
/UpstreamDownstreamDialog/UpstreamDownstreamDialog.py
da0f75b4eadec7675f9edaa4a2a3251a167d76ec
[]
no_license
HabeltWi/qgis-rec2-plugin
d614d8c62f3908c8c3e2671390a0539db08191d4
5b80cda6ff2ecb38790a2dba183ff3c641e829f1
refs/heads/master
2021-01-12T12:58:06.102566
2015-09-15T11:38:06
2015-09-15T11:38:06
70,136,046
0
0
null
2016-10-06T08:26:38
2016-10-06T08:26:38
null
UTF-8
Python
false
false
3,827
py
# -*- coding: utf-8 -*- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # copyright : (C) ...
[ "manisandro@gmail.com" ]
manisandro@gmail.com
779cddc46f1d979f1b14262ace1f13380aa72d7e
88ae8695987ada722184307301e221e1ba3cc2fa
/native_client/tests/unittests/shared/platform/build.scons
bfeb276a5229c844b09fb3c0810f6fc5f369a80a
[ "BSD-3-Clause", "Zlib", "Classpath-exception-2.0", "BSD-Source-Code", "LZMA-exception", "LicenseRef-scancode-unicode", "LGPL-3.0-only", "LGPL-2.0-or-later", "LicenseRef-scancode-philippe-de-muyter", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-intel-osl-1993", "HPND-sell-var...
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
959
scons
# -*- python -*- # Copyright 2008 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Import('env') nacl_thread_create_joinable_test_exe = env.ComponentProgram( 'nacl_thread_create_joinable_test', 'nacl_thread_c...
[ "jengelh@inai.de" ]
jengelh@inai.de
05a4c0955a63f8fe172a701d735922ac6201a421
01604a7dceeda91a732a459d3a3f03f1567f5315
/kabab/utils/sprk.py
033f29869f29a1d71ed5ee152d9585d87ce90915
[]
no_license
blackvvine/koobideh
916146c5d56342b29f8cea6e1bfe395b9522d02b
3bb04977afd921c69a94ba79cdbb2c1b8b4a452f
refs/heads/master
2021-06-24T02:51:51.545562
2020-01-13T18:18:03
2020-01-13T18:18:03
183,057,833
1
0
null
2021-01-07T22:58:49
2019-04-23T16:48:11
Python
UTF-8
Python
false
false
681
py
from pyspark import SparkConf, SparkContext from pyspark.sql import SparkSession, SQLContext def get_spark_session(cores=64, conf=None): # load Spark session spark = SparkSession.builder.master("local[%d]" % cores).appName("PySparkShell").getOrCreate() conf = conf or SparkConf().setAppName("PySparkShell")...
[ "imakbari@gmail.com" ]
imakbari@gmail.com
5d3905192683a5c50a7325311d5ace07612a462d
14be8bcd7e66aad90b98d7c76a78fdb94c7c4f65
/l06/class6.py
7bbaa747c2aab0de8091ab7eb6f5675803a36373
[]
no_license
alexbyz/HW070172
f6231d7ccd0fb06a88db9bd6b0c718ed70ce62a2
e0e4946f82ba71b4d3860c570fadb9cd96a6c9a1
refs/heads/main
2023-03-03T06:16:17.630740
2021-02-09T09:55:04
2021-02-09T09:55:04
305,626,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
import regex recordIdealtype = { "recodType": "recordType", "citationKey": "citationKey", "title": "title", "author": "author", "date": "date", "location": "location" } def readFile(): #reads in the file infile = input("inputfile: ") infile = open(infile, "r", encoding="UTF-8") ...
[ "huber.alexander1993@gmail.com" ]
huber.alexander1993@gmail.com
8c919708e573d6a1d8ba60ffbfc14743815e7925
bda6dd77cd2d456203e99dcf7a8863408a12b151
/orders/migrations/0008_topping_price.py
352f3785eed6bf08d501271be70e31dfdb32b3d0
[]
no_license
bassamelbdrawy/pizza
761fe0501107fc3cfbbeff7cb145ef14a782aafb
3c43d5d7388e6b587d78cb90369304d9b6b3e60a
refs/heads/master
2021-06-30T16:38:11.064516
2020-01-31T14:36:24
2020-01-31T14:36:24
237,445,746
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# Generated by Django 2.2.7 on 2019-12-01 03:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0007_my_order_is_complete'), ] operations = [ migrations.AddField( model_name='topping', nam...
[ "noreply@github.com" ]
noreply@github.com
babfbdf6442a6422eb854615d1db767e162e630e
4207ad54c59dbd5c93633dfed786fbbd3e28cce8
/crm/municipio/urls.py
725adb7987980d8e131bbc253c327a14a96250cc
[]
no_license
desarrollo-confival/despliegue-apps
b11ddebf3f30834ce7fa39e1def822814b907b9a
9bf2c7e1eebff634d77780c52c94c9fc15909163
refs/heads/master
2021-09-25T15:35:23.420833
2020-02-09T03:32:55
2020-02-09T03:32:55
239,017,413
0
0
null
2021-09-22T18:32:05
2020-02-07T20:32:19
JavaScript
UTF-8
Python
false
false
728
py
"""crm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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 vie...
[ "jjmuesesq@unal.edu.co" ]
jjmuesesq@unal.edu.co
59dc9eb4875328342d35aa350be38f2fd480157f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02988/s646336284.py
b26f4503b3a987d425115b8af58ec10880ae0e19
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
n = int(input()) P = [int(i) for i in input().split()] ans = 0 for i in range(1, n-1): if P[i-1] < P[i] < P[i+1]: ans += 1 elif P[i-1] > P[i] > P[i+1]: ans += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d15901e8dc2b014e50276bd31399f622ed61affb
35a789c0a48d9d16aee7ce72740124579c5968fc
/blog/views.py
3baee1a92c438b9c0ebc719ed06e8ed68c69c01c
[]
no_license
tushar2407/blogs
bc0fcdf9db952280f9b9dd12fc54f0f547a4ae80
d2d838daef0813ba233b0bc2aa0668c7238f29bb
refs/heads/master
2022-11-16T21:13:54.847538
2020-07-11T21:00:34
2020-07-11T21:00:34
278,693,755
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
from django.shortcuts import render from django.contrib.auth.models import User from django.contrib.auth.mixins import LoginRequiredMixin from .models import Blog from django.http import HttpResponseRedirect from .forms import BlogForm from django.urls import reverse_lazy from django.views.generic import CreateView # C...
[ "tushar.mohan2001@gmail.com" ]
tushar.mohan2001@gmail.com
79265223f5245b627540bdadfc22f8a1214515d6
8e87e244f27adf0bd2a945e4f91763b0698408f3
/experiments/experiment.py
56c88242a1a4b5157895da47ca98929bd33a692a
[]
no_license
xAutoPilotx/ipoke
17ea2dd205362f692ea6481e1f05724dcddbe572
84ceecfefd7bf0769cd35334f2eb824c44c4d56b
refs/heads/main
2023-08-29T05:42:58.337490
2021-09-28T14:36:49
2021-09-28T14:36:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,936
py
from abc import abstractmethod import torch import pytorch_lightning as pl from pytorch_lightning.loggers import WandbLogger from pytorch_lightning.profiler import PassThroughProfiler,AdvancedProfiler, SimpleProfiler from pytorch_lightning.callbacks import ModelCheckpoint from functools import partial import yaml impor...
[ "andreas.blattmann@iwr.uni-heidelberg.de" ]
andreas.blattmann@iwr.uni-heidelberg.de
f1c9078d425a2a9e2f3e38a535560b30317d639f
32c4475d4d179371dbf955d9c0488ecb3a45f924
/shortner/admin.py
9b33e4a96247d86faa73fd23803361cd8a049608
[]
no_license
shivamj2200/URL-shortner
7853654d3642ee4ff8f46c50c4b36c8ba0cbbd6d
f3b9cb48f27b1c8eaf4706688176956157f5b76c
refs/heads/main
2023-06-17T07:18:01.494162
2021-07-18T09:17:05
2021-07-18T09:17:05
387,133,846
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from django.contrib import admin from .models import Url # Register your models here. admin.site.register(Url)
[ "shivamjaiswal2200@gmail.com" ]
shivamjaiswal2200@gmail.com
73e5dbdc975e9d650c27382bce182c16f1722617
a8f275638f6bab07644b6b6d2ff4a1eabc4a3b4b
/class-Animal.py
aba9a9201900ff4e823d33444234c6b42432f825
[]
no_license
evamaina/OOP
1bfd49706365f3d297f2383ffd995b2159ade283
b1623cf76896c21a4ac49526070d8f4ebd3b90a8
refs/heads/master
2021-08-17T20:44:47.516263
2017-11-21T17:22:12
2017-11-21T17:22:12
107,859,002
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
"""Inheritance provides a way to share functionality between classes. This similarity can be expressed by making them all inherit from a superclass Animal, which contains the shared functionality""" class Animal: def __init__(self, name, color): self.name = name self.color = color class Cat(Animal): def...
[ "evajohnson714@gmail.com" ]
evajohnson714@gmail.com
68e03ff889653cd4de5721b71f49ce1487189ed0
051572d269ba2e405e477a3668f40b094d86b6db
/venv/bin/pip3.6
01a7ec7f85a348a615b89980b561334a2048c711
[]
no_license
akhil112/data-structures
13b61ed4797d5e093752f058380c9c5f9b07fb61
55f158efef566c6bc53b0247030c97d17e636498
refs/heads/master
2020-09-11T16:30:38.890749
2020-06-12T05:03:43
2020-06-12T05:03:43
222,126,256
0
0
null
null
null
null
UTF-8
Python
false
false
399
6
#!/Users/akhilmaddu/Dropbox/ds/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.6' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit...
[ "akhil.maddu022@gmail.com" ]
akhil.maddu022@gmail.com
1e32874ab21a7e79b08fb36367da39f71210d21f
aae5e0adb0f644d141aab57a909479675158f31e
/SubPlotNote.py
2be9347f5fd01db0f82a69ad95b5fdbac2e0cd29
[]
no_license
innovationb1ue/MathModeling
e4f3189d725c7edd57b0a6d0d49994e165cb9334
cf6f7bf22c15b8bae89a8cfa171f0b5d334adaf8
refs/heads/master
2020-03-27T17:12:25.336172
2018-08-31T03:07:06
2018-08-31T03:07:06
146,835,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import NullFormatter # useful for `logit` scale # Fixing random state for reproducibility np.random.seed(19680801) # make up some data in the interval ]0, 1[ y = np.random.normal(loc=0.5, scale=0.4, size=1000) y = y[(y > 0) & (y < 1)] y.sort(...
[ "517262600@qq.com" ]
517262600@qq.com
9fca082b0c420d92ff5c05bffd1d31ea2db1ef42
eb1253993579ac2e116f801a28e0135d644f2b79
/news/migrations/0008_auto_20170821_1803.py
305befd702bea2763b96ff260b9b756ce12a6fda
[ "MIT" ]
permissive
sahaliyev/blog_news
56e24e28691aebbeed8841b04180f493b1ea76e2
92e0ff70a5586f4fcf224cdbc6207e0534b52784
refs/heads/master
2021-03-28T21:51:24.126075
2017-08-28T16:05:13
2017-08-28T16:05:13
101,660,958
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-21 14:03 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0007_auto_20170821_1740'), ] operations = [ migrations.AddField( ...
[ "sahil.eyev@gmail.com" ]
sahil.eyev@gmail.com
054f36bcdf826e08a8f89aaa7f004b02e8e37953
5bb2bfb2b15d2fd1c481181e028445da9c999d4a
/scripts/p63scan_gui.py
ba238ab6d96117f0882f83b287f5a4ff7f570947
[ "MIT" ]
permissive
Cesibarcaroli/p53scan
a482fe7a126b52468212f81834b30645af3d50d2
d73230e108db36fbcb7bb478f0622fe10cddd9df
refs/heads/master
2021-01-21T20:06:50.508594
2017-05-15T11:14:14
2017-05-15T11:14:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,315
py
#!/usr/bin/env python import sys import string import os from Tkinter import * import tkFileDialog import tkSimpleDialog import tkMessageBox from PftScan.Fasta import Fasta from PftScan.core import scan # Constants NAME = "p63scan" VERSION = "1.05" DESCRIPTION = """%s - Version %s p63scan (http://www.ncmls.nl/bioinfo/...
[ "simon.vanheeringen@gmail.com" ]
simon.vanheeringen@gmail.com
7757b9c61b12784f8416894357f34d8900fe876e
08b56e72de357745289ac95f78e6a2eded9ca042
/nc/test.py
7a36294eb503bc8b8024c1a922ead88f02c77e18
[]
no_license
liujing1023/DiffMG
5434383a6d29f0708f9f6b11565aab8739a43f5c
462802ae8bf4400b3e51848870f6a64acdfc5f3c
refs/heads/main
2023-06-11T07:21:03.465776
2021-07-05T09:51:37
2021-07-05T09:51:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
import os import sys import time import numpy as np import pickle import scipy.sparse as sp import logging import argparse import torch import torch.nn.functional as F from sklearn.metrics import f1_score from model import Model from preprocess import normalize_sym, normalize_row, sparse_mx_to_torch_sparse_tensor from...
[ "dingyh15@163.com" ]
dingyh15@163.com
d544c2e7c9d241f40063ad8f91244d2f6b777aee
e7e74b72d5367ad03adcf20b3220620baddcc113
/gore/signals.py
d6cca88cbbe184fe91d588a1ddd42b337042da80
[ "MIT" ]
permissive
akx/gentry
be044a51d0b4d3dd875e320c5ecc3c02c0bc249c
5a550e34ced37f8f83a10001a3ef0b1480983781
refs/heads/master
2023-02-21T21:42:55.205987
2022-07-05T22:34:27
2022-07-21T11:46:46
98,209,171
4
1
MIT
2023-02-15T20:41:40
2017-07-24T16:02:32
Python
UTF-8
Python
false
false
62
py
from django.dispatch import Signal event_received = Signal()
[ "akx@iki.fi" ]
akx@iki.fi
ebd10a0a4af3d11227b8cc8c42118b2079ceeef1
31f56a696a0a5ada4aa2d583f8b340201696b3c7
/nabu/neuralnetworks/classifiers/__init__.py
42fc49fb14a326860f2012974c7b5b9d567b6e93
[ "MIT" ]
permissive
DavidKarlas/nabu
6d7fcdcd46f97b8886382079d04251b6862203db
fb530cf617ff86fe8a249d4582dfe90a303da295
refs/heads/master
2020-12-30T13:29:38.735236
2017-04-28T14:50:57
2017-04-28T14:50:57
91,229,041
1
0
null
2017-05-14T08:09:03
2017-05-14T08:09:03
null
UTF-8
Python
false
false
172
py
'''@package classifiers Contains the neural net classifiers (e.g. dnn) and their components (e.g. layers) ''' from . import activation, classifier, layer, asr, lm
[ "vincent.renkens@esat.kuleuven.be" ]
vincent.renkens@esat.kuleuven.be
f10d7333e8172120f845c6ba2d0052fc407fff29
2aa9432798d681a9a21535397bf3414d04bf014e
/test/loggingDemo.py
ec95bf2285c991a9c4e84eaa52b2932ef7680438
[]
no_license
RaunakJalan/Selenium_Automation
babd426e9a12b3cfffe28a34af6486fcce57ce23
47d4faa275590b8f9c2d6922689275c13d3650c2
refs/heads/master
2023-03-14T14:42:40.308146
2021-03-09T16:29:16
2021-03-09T16:29:16
346,070,967
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
import logging logging.basicConfig(filename="test.log", format='%(asctime)s: %(levelname)s: %(message)s', datefmt="%m/%d/%Y %I:%M:%S %p" ) logger = logging.getLogger() logger.setLevel(logging.DEBUG) logger.debug("This is a debug message") logger.info("This ...
[ "ronakjalan98@gmail.com" ]
ronakjalan98@gmail.com
9cc9bf1889be90b5878a13bd66e4ed88783bb125
16edf8a67c4d563e102eb039b22cf98b103c9ecb
/custom/utils/messaging_utils.py
07edb8ee58cf45e0ef711e78bc188d70496557c1
[]
no_license
djvaroli/coinbase_assistant
e15fc3e3ebef9ab1205fe755e3005235c9853253
7dcdbf6908a4ff708a9e4a62a82a01e2ab5b6bf3
refs/heads/master
2023-05-02T02:15:33.629410
2021-05-10T12:35:16
2021-05-10T12:35:16
365,104,312
1
0
null
null
null
null
UTF-8
Python
false
false
647
py
import os from typing import * from utils.twilio_api_utils import get_twilio_client, TWILIO_PHONE_NUMBER DEFAULT_TO_PHONE_NUMBER = os.environ.get("DEFAULT_TO_PHONE_NUMBER") def send_sms( to: str = None, body: str = "", from_: str = TWILIO_PHONE_NUMBER ): if to is None: to = DEFAULT_TO_PHONE_...
[ "daniel.varoli@gmail.com" ]
daniel.varoli@gmail.com
e0d0fe341b754fb41dc57759a0f32fd98ebb8fad
f2bbd254e604135d703ad67601291fe0df1e990f
/notes/10_canny_edge_detection.py
3136165a697bc4b967c59bf53a3581fa076ca267
[ "MIT" ]
permissive
matthewzimmer/CarND-LaneLines-P1
4e0ba926f69cef8f05aec38cbd43964c3a39202f
e39a8c3901ce0a418476e6118b228fee9de7877f
refs/heads/master
2021-01-13T08:04:37.176180
2016-12-30T07:06:46
2016-12-30T07:06:46
71,756,511
0
0
null
2016-10-24T06:00:14
2016-10-24T06:00:14
null
UTF-8
Python
false
false
2,004
py
# Video 1 # input: gray - a grayscale image # output: edge - another image # low_threshold and high_threshold determine how strong the edges must be to be detected. # you can think of the strength of an edge as being defined by how different the values are # in adjacent pixels in the image. In other words, "the st...
[ "M16r01@gmail.com" ]
M16r01@gmail.com
19b3510168a0f2f09425c6cb08fdebbd2aa94ef8
97156c84d3d7e8ef3f9caf2a829fb886abb6c252
/emmaadesile/settings.py
866e6c213ea85491faa5bbba96dc85cb54b887c5
[ "BSD-2-Clause" ]
permissive
emmaadesile/django-emmaadesilescrumy
8dff61ef959ccc449828e3145dd283c9effadb4f
21b2985846f196d3607946d93bc64caa39f33178
refs/heads/master
2020-03-13T06:12:19.169856
2018-04-26T09:17:57
2018-04-26T09:17:57
130,999,861
0
0
null
null
null
null
UTF-8
Python
false
false
3,225
py
""" Django settings for emmaadesile project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "emma2adesile@gmail.com" ]
emma2adesile@gmail.com
77046460f0d4940d8770cf70db3810b2438d58e4
537b443d27d285cd5ca486ae76ad3f7a66664f8b
/ctof.py
0561e9f60e945342029092a53b8c9cdda1fc69b0
[]
no_license
bibabakr/python-programmimng-1
cb2183c0e92ffb0806f8e3a10dc84759ba3a86e2
7dfd646ac6ce10a08ed4688f39ab24b8e64b910d
refs/heads/master
2021-01-19T18:41:41.147050
2017-08-23T22:41:37
2017-08-23T22:41:37
101,154,793
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 23 18:51:18 2017 @author: habiba """ def ctof (c): f=20*c*9/5+32 return f print (ctof(10))
[ "noreply@github.com" ]
noreply@github.com
5eb3444f58c28c1a4a9870f6c20b2515074d83ff
34db2b071c17b147d2e442e3ee1bb1baa12bc5b7
/caesarCipher.py
c167b7e2c156c762d83731073693b086d67d7a5a
[]
no_license
palash25/pyphers
af04f4299d9c3ee042632552fff7e2ac17ab19e7
0d1ed30de3686dbd8ecddbe5fb4388781cf6d92f
refs/heads/master
2021-01-25T08:18:33.700454
2017-12-18T16:08:28
2017-12-18T16:08:28
93,745,281
12
10
null
2017-12-19T05:14:59
2017-06-08T12:09:31
Python
UTF-8
Python
false
false
2,157
py
# Python program to implement Caesar cipher '''This script uses dictionaries instead of 'chr()' & 'ord()' function''' # Dictionary to lookup the index of alphabets dict1 = {'A': 1, 'B': 2, 'C': 3, 'D': 4, 'E': 5, 'F': 6, 'G': 7, 'H': 8, 'I': 9, 'J': 10, 'K': 11, 'L': 12, 'M': 13, 'N': 14, 'O': 15, ...
[ "npalash25@gmail.com" ]
npalash25@gmail.com
d3c8d8fcdd39d930155d2af7ef49f2b47a68cb0b
3cc041d52c5b71263b27c94aa1d1bc0ef6b0b1f7
/xor_decrypter_test.py
f582448e1208e741d004be846cbf09390a9de5a7
[]
no_license
chadfurman/cryptopals-solutions
b5c5c614f4ec0ce82b827c327a9ee9953bc61371
65a311e4817beb7132f3e8a08b1229c37e47b506
refs/heads/master
2020-09-14T18:12:06.199056
2016-10-03T02:55:16
2016-10-03T02:55:16
67,468,175
0
0
null
null
null
null
UTF-8
Python
false
false
3,033
py
import unittest import crypto from xor_decrypter import XorDecrypter class TestXorDecrypter(unittest.TestCase): def test_get_blocks(self): bytes = crypto.h2ba("1c0111001f010100061a024b53535009181c") xor_decrypter = XorDecrypter(bytes, 2, 40) blocks = xor_decrypter.get_blocks(12) sel...
[ "chad@chadfurman.com" ]
chad@chadfurman.com
c4af756aba82bee98baf9cde9616acea67149fe6
6be9c18c9b2a64ca8f2152080068e7886b015d16
/Master_Mind/Master_Mind_GUI/example06-02-03.py
ba11f113c48f3261108be91e3191013aae6e14cc
[]
no_license
makubex01/python_lesson
e8aa1879bbe96acf25cecdbd9911548eb4bccc1d
3878ec7c09dcd73c590521860cd898cd1a5ac0f2
refs/heads/master
2022-01-05T22:31:23.748812
2019-06-13T22:50:15
2019-06-13T22:50:15
105,329,423
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
#coding:utf-8 import tkinter as tk root = tk.Tk() root.geometry("400x150") root.title("数当てゲーム") root.mainloop()
[ "n208v027@gmail.com" ]
n208v027@gmail.com
b0f84785e3faada62e20969231ffdeb8a7d24721
41f520d6385b7ee3979b9584361ec21f31f316ce
/migrations/versions/090edc3495f8_add_note_createtime.py
c0052513383683d3df44b7f78e76ca27da4ab32a
[]
no_license
nzh1992/flask_basic
5e35224d8f03a71ac60fbeafdcb0493bee0aee43
de0938eff1dbeb48b1989bf389e4e92cd4b04ed0
refs/heads/main
2023-05-07T20:47:16.933034
2021-06-04T01:36:59
2021-06-04T01:36:59
367,823,910
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
"""add note createtime Revision ID: 090edc3495f8 Revises: Create Date: 2021-06-04 01:05:59.965007 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '090edc3495f8' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands aut...
[ "nzh199266@163.com" ]
nzh199266@163.com
ef170e96bdc8a8a4597c3818384afd3088d6b436
5e7a2fb21e478562d2584e5c1920b04ad29a30fa
/05_zoo.py
568b328c3349153522271e20f3187463e6669253
[]
no_license
Andre-Yurchenko/lesson_002
dd518f9d97ef62d11b500d148f581efd757b3a70
e3cca296471ee8b9735eb2e72abd12fb8a752d4f
refs/heads/master
2022-11-11T01:04:47.861979
2020-06-24T18:10:02
2020-06-24T18:10:02
275,817,190
1
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # есть список животных в зоопарке zoo = ['lion', 'kangaroo', 'elephant', 'monkey', ] # посадите медведя (bear) между львом и кенгуру # и выведите список на консоль zoo.insert(1,'bear') print(zoo) # добавьте птиц из списка birds в последние клетки зоопарка birds = ['roo...
[ "diesel862@yandex.ru" ]
diesel862@yandex.ru
4ac21c912eeac037906834b2f243f5cc46f4cebd
baeccd80ed4c35eb8f79c8e31e06a717e736cf46
/forward_feature_selection.py
8fa8087cef2bdd21467cf007cefc5ceb27b00ae2
[]
no_license
vfeofanov/TSLA-FSGA
4759715bbb393cb0b92f0f05f0a7fc4ba9e79657
e4d05530141463d0d24a0b4fb11320aaa49e6024
refs/heads/master
2022-12-26T04:58:54.757324
2020-09-23T11:12:59
2020-09-23T11:12:59
297,942,747
1
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
import numpy as np from copy import deepcopy from joblib import Parallel, delayed from sklearn.tree import DecisionTreeClassifier from selection_metrics import CVFeatureSelectionMetric def compute_score(model, x, y, candidate): model.fit(x, y, candidate) model.compute_value(x, y, candidate) return model ...
[ "vasya3000-95@mail.ru" ]
vasya3000-95@mail.ru
89d5f0b5d34fa9299a90ba1593f0e8581f1d7f94
0a574bdb56422713ae9b7db4cce5b703ff6991fc
/examples/example_multiplier_tb.py
879af8d3479525ae6a60870e113ad84b4099b727
[]
no_license
underrated/pydesk
41be9a68b46309630490cc94d274d071279c363c
63f2282d4c11a5b1dbb58ccf6fbe7e1eab39863b
refs/heads/master
2021-01-10T01:00:09.371742
2013-10-20T23:57:36
2013-10-20T23:57:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
from pydesk import * from example_multiplier import shift_add_multiplier class mult_input_item: def __init__(self): self.op1, self.op2 = 0 self.item_delay = 4 self.item_delay_after = 0 self.watch_busy = 1 class mult_in_if(Component): def __init__(self,name,parent): ...
[ "yourstruly@underrated.org" ]
yourstruly@underrated.org
0b3942c06a93c0323b89f454e1c8ba4a85845c0f
f70be119bc17adfaf83dfe387800837b637f322a
/app.py
e8b85da4f01577fad0d526241b4fc3f3d19cc774
[]
no_license
PrismaPhonic/Boggle-Game
061e7fa274c0311c1c9eb64149bf360504e058ab
0841ed7d3e81108852abf6b872daa9ff296d5677
refs/heads/master
2020-03-30T05:36:26.683821
2018-09-29T00:55:34
2018-09-29T00:55:34
150,808,906
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
from boggle import Boggle from flask import Flask, json, request, session, render_template, redirect, flash, jsonify, make_response from flask_debugtoolbar import DebugToolbarExtension boggle_game = Boggle() app = Flask(__name__) app.secret_key = "SECRET" debug = DebugToolbarExtension(app) @app.route('/') def home(...
[ "Peter@PrismaPhonic.com" ]
Peter@PrismaPhonic.com
6e621714d2daa7a17e976a75a57c7998768c2334
e1eff387f53737a701616c20580a1b58dc86db46
/release/c-mistake/gen.py
62213d7465f343b084f7ef86162a7199b9af5391
[]
no_license
icpc-uiuc/icpc-scc18
2f4e74688d529ad5f93a46922ab6e28ab73d217b
bb913dd885e232699d11b1375e07fd916645c6d9
refs/heads/master
2021-03-30T18:11:27.642831
2018-10-28T03:39:39
2018-10-28T03:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
import numpy as np import os os.makedirs("test", exist_ok=True) # first few tests are manual start_index = 2 num_tests = 10 for i in range(start_index, num_tests): N = np.random.randint(200, 201) guns = [] for j in range(N): w = np.random.randint(50, 101) p = np.random.randint(1, 101) ...
[ "liujch1998@gmail.com" ]
liujch1998@gmail.com
58ba8c062c02afa9acdcf8a8836b154ba9baf781
deb0439640779203504fc5470c3392cfeda3ca56
/Swig/bravosec.py
0603cf2805c37a6c402c4b8da5bfe22ea847a610
[ "MIT" ]
permissive
wsasocket/ecc_sec
fcd82a4b813758431e18e1ef8bbada4a03d4ddd2
29d5c2435704ac834b4aa46ac6b236acf060c651
refs/heads/master
2021-01-21T14:24:10.606538
2016-06-10T07:26:29
2016-06-10T07:26:29
59,280,664
0
0
null
null
null
null
UTF-8
Python
false
false
4,926
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
[ "zouyeming@bravovcloud.com" ]
zouyeming@bravovcloud.com
6085e5fca3546af814f0290d4a99c3e56ce0c23a
cfab62e6f79a8866c7a6299303e10d7d228cd9b5
/DbVideo/spiders/video.py
25cf49107825278e217cd2b637c82adcbe1bb603
[]
no_license
Garywong18/DbVideo
9b1e4d08166f015cf5e2eb1af414b4e6d2fef062
5912d32bd33ac1629c86c06c50383687fbca9dae
refs/heads/master
2020-07-26T05:47:37.841816
2019-09-15T06:54:46
2019-09-15T06:54:46
208,554,324
0
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
# -*- coding: utf-8 -*- import scrapy import json import re from DbVideo import settings class VideoSpider(scrapy.Spider): name = 'video' allowed_domains = ['douban.com'] base_url = 'https://movie.douban.com/j/new_search_subjects?sort=U&range=0,10&tags=%E7%94%B5%E5%BD%B1&start={}' start_urls = ['https:...
[ "2215278707@qq.com" ]
2215278707@qq.com
bc39ca3768793c8dfde45852e7981b987b385ea4
c713b8f7fba97c0edfff1cedb187fee4320d8575
/Users_with_Bank_Accounts.py
b9f223e58b367fda9d27b9a459dd9c5e979ad115
[]
no_license
Shane-25/Users-with-Bank-Accounts
33269fb4e7c2343bc4c440968ffb5328e757ce46
192153f9721a87391afc94383f6f6bb98f7e930a
refs/heads/master
2023-06-26T18:25:01.621277
2021-08-04T01:55:45
2021-08-04T01:55:45
392,513,741
0
0
null
null
null
null
UTF-8
Python
false
false
1,761
py
class User: def __init__(self, name, email): self.name = name self.email = email self.account = BankAccount(int_rate=0.02, balance=0) def make_deposit(self, amount): self.account.deposit(amount) return self def make_withdrawal(self, amount): self.account.wit...
[ "shane_s91@hotmail.com" ]
shane_s91@hotmail.com
1559621c54b1ff6ac69648ec2eb3bf4ef28bfa19
c9a8bbc9068983d0fdeec0591baada54097199a9
/realesrgan/utils.py
06b2261df8e9a441ef8dea2fde9f321b133d6c5e
[ "BSD-3-Clause", "Python-2.0" ]
permissive
BookerDeWitt/Real-ESRGAN
041188784c8e1f842a443229643cb3065edc2272
5745599813f64c60b98048251ac421f199b4c034
refs/heads/master
2023-07-07T13:19:32.780848
2021-08-08T08:41:50
2021-08-08T08:41:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,470
py
import cv2 import math import numpy as np import os import torch from basicsr.archs.rrdbnet_arch import RRDBNet from torch.hub import download_url_to_file, get_dir from torch.nn import functional as F from urllib.parse import urlparse ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) class RealE...
[ "wxt1994@126.com" ]
wxt1994@126.com
9eee040f0ac6b5d1d6039900ac3d403d046bf926
cf7b827958166c8569eb58deb511cc3f07567741
/in_Python_v2/1074 Number of Submatrices That Sum to Target.py
e3b4d58aa31bd7bded1a018b1d37e2c0dae32354
[]
no_license
YangLiyli131/Leetcode2020
e4e36eb36b1983f73b0e733455b4a7953dfebe6d
20623defecf65cbc35b194d8b60d8b211816ee4f
refs/heads/master
2023-08-22T06:00:55.924112
2021-09-18T19:04:15
2021-09-18T19:04:15
251,426,203
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
from collections import defaultdict class Solution(object): def numSubmatrixSumTarget(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: int """ row, col = len(matrix), len(matrix[0]) ps = [[0] * (col + 1) for _ in rang...
[ "noreply@github.com" ]
noreply@github.com
f64f35e0667cc7f869085c5daa0ada789631eac4
bb3c3c3640116357c602b609ac6123c7795aeb6b
/Cramerovo pravilo.py
774068236380e3aae5e24aeaaa1efc57e8bae060
[]
no_license
LukaKovach/Cramerovo-pravilo
710f627211d4a4a4fdc7b7bf71172126d6a91841
f7978f2c4a87e59b3a134493347f5271240152e6
refs/heads/main
2023-01-06T13:38:39.208404
2020-11-04T13:20:57
2020-11-04T13:20:57
310,008,117
4
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
matrica = [[0]*5 for i in range(3)] def determinanta(stupac_1, stupac_2, stupac_3, stupac_4, stupac_5): d1 = matrica[0][stupac_1]*matrica[1][stupac_2]*matrica[2][stupac_3] d2 = matrica[0][stupac_2] * matrica[1][stupac_3] * matrica[2][stupac_4] d3 = matrica[0][stupac_3] * matrica[1][stupac_4] * mat...
[ "noreply@github.com" ]
noreply@github.com
e0ff820f4bce362342e302dbe26fbc07c3386136
30df6db59054748ed6fcc091aae6be1fcdc0a588
/stock.py
982bd9896081005d567de9a4f6df4b4bd8ec07cb
[]
no_license
wanjiku-carol/machinetutorial
ee60e059179d632d55c80dfa0ef9f2d68b495458
73a56027e66cb99b45c4d2ff3807e68a947e3005
refs/heads/master
2022-12-11T10:14:27.979969
2019-10-22T13:49:27
2019-10-22T13:49:27
121,732,550
0
0
null
2022-12-07T23:58:09
2018-02-16T09:16:39
Python
UTF-8
Python
false
false
1,288
py
import pandas as pd import quandl import math import numpy as np from sklearn import preprocessing, cross_validation, svm from sklearn.linear_model import LinearRegression # REGRESSIONS df = quandl.get('WIKI/GOOGL') df = df[['Adj. Open', 'Adj. High', 'Adj. Low', 'Adj. Close', 'Adj. Volume', ]] df['HGH_PCT'] = (df['Ad...
[ "Caroline Wanjiku" ]
Caroline Wanjiku
249eacf1384618a9a1c7b59b4ea0a33dccc2fc94
d81f5c758e91d234989245aaf35fa38e255057aa
/helper/decorator.py
6e157900537e5181953f6989664fdd1f5eb315aa
[]
no_license
nicksonthc/py-mongo-boilerplate
9bb002c3935b51617f574cc5bdc33b262d235ea7
ddec71ffd377b2630515aca94e3b57f2bd0e46f2
refs/heads/master
2023-06-09T04:38:45.195019
2021-06-24T12:19:32
2021-06-24T12:19:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
import functools def timer(func): import time """Print the runtime of the decorated function""" @functools.wraps(func) def wrapper_timer(*args, **kwargs): start_time = time.perf_counter() # 1 value = func(*args, **kwargs) end_time = time.perf_counter() # 2 ...
[ "nicksonthc@gmail.com" ]
nicksonthc@gmail.com
2ade4352b16dbf512dd88932291484082f7cb702
3dcc537e6968fed4e8caee142d132d1d2d8d6149
/main.py
7adcc2acfe9178f8bcab0fa4b325163e3237504e
[ "MIT" ]
permissive
shnhrtkyk/fully-convolutional-point-network
4936d73b921dbdee633d5f6c14dbbbf567be4494
5942685ea5b1c797fcc28e17be6d9ad48bf0f0e4
refs/heads/master
2021-10-24T05:14:38.663741
2019-03-22T10:02:40
2019-03-22T10:02:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
""" main.py - Entry point for training, evaluation and inference with a Fully-Convolutional Point Network. """ import argparse import training import inference def main(): """ Reads command line arguments and starts either training, evaluation or inference. """ parser = argparse.ArgumentParser() parser.a...
[ "dario@rethage.net" ]
dario@rethage.net
7601d4d19e420178a28cc601c74ab7d5147f8d3c
a6a2997ecc7dd8406f4e190d357cba1d301489c3
/users/admin.py
531bc47e3dd64703dae1fc4ae821ee05804a0ffb
[]
no_license
Shatki/itreactor
de306bd0a06d9b498645eeb76e191cfa70cdca04
a657ad7fb4a9051f9ab845539a7369fe0da17d26
refs/heads/master
2023-02-21T15:29:00.840747
2021-01-28T05:37:15
2021-01-28T05:37:15
317,347,004
0
0
null
null
null
null
UTF-8
Python
false
false
2,236
py
#!/usr/bin/python # -*- coding: utf-8 -*- from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import Group from .forms import UserCreationForm, UserChangeForm from .models import User, Feedback @admin.register(User) class UserAdmin(BaseUser...
[ "Shatki@mail.ru" ]
Shatki@mail.ru
97868d1e7d6d6dd06f6c58304814bb74db5d2e18
88de56a81a79ce8805ab208e7078b9cdc5a16ac5
/traditional_tests/tests_v1/test_04.py
7eb6b758eae3cf862c00a6bacaf34cdf5b1b7b40
[]
no_license
SebaArbildi/applitools-hackathon-seba-arbildi
0b44f5fe4ab6ee11613a7f4559e428b49f43e713
4e607a06398c8f12a86e9233e78826c541db2e73
refs/heads/master
2022-03-05T02:49:45.934973
2019-11-28T17:51:16
2019-11-28T17:51:16
223,170,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
from traditional_tests.base_traditional_test_class import BaseTestClass from traditional_tests.page_objects.chart_page_object import ChartPage from traditional_tests.page_objects.home_page_object import HomePage from traditional_tests.page_objects.login_page_object import LoginPage class Test04(BaseTestClass): #...
[ "sarbildi@theappraisallane.com" ]
sarbildi@theappraisallane.com
a3de30095b503bfe0aca308080e3d8f013346b36
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/cirq/startCirq407.py
4cd57412338a48432208219d046554ef403b1008
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,268
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=2 # total number=20 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
28e42f37528c330d546b10740de2a7701f56bafd
6a11aa0bb2eaba51354149322172ee6cefb29ed6
/tools/version.py
dcae84c9c7a713a79ec0502eb9bd0451017742b8
[ "Apache-2.0" ]
permissive
ra2u18/lemon
59dd19e14702aea3b836492fbc6749523d292498
f5ea85c3d30367f9d14df5c9385bc57870ed515a
refs/heads/main
2023-07-17T20:48:20.969869
2021-08-25T10:00:31
2021-08-25T10:00:31
399,194,651
0
0
Apache-2.0
2021-08-25T10:00:32
2021-08-23T17:38:12
Lua
UTF-8
Python
false
false
104
py
import globals, sys print("lemon tools - v{}.{}".format(globals.V_MAJOR, globals.V_MINOR)) sys.exit(0)
[ "riccardo.andronache14@gmail.com" ]
riccardo.andronache14@gmail.com
fc0711f0800b20f9b455fe3a396f5aead1e8569d
ab35f4610e3377e75817466574beeeca3965ce44
/api/migrations/0002_auto_20180216_1743.py
213cb6d53dbadaa45aa44c3690789f1eaea0a289
[]
no_license
mory91/instagram_bot
364fa04c0add9885dad110cfdf6719f6030c8edf
0ea0ab4039d654bf0d7ef774edee554ee2c83fce
refs/heads/master
2021-09-19T12:00:31.350603
2018-07-27T18:17:20
2018-07-27T18:17:20
121,839,303
3
0
null
null
null
null
UTF-8
Python
false
false
649
py
# Generated by Django 2.0.2 on 2018-02-16 17:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AlterField( model_name='target', name='target_action', ...
[ "mortezaho.1376@gmail.com" ]
mortezaho.1376@gmail.com
157b6a84f70fa7eb7269f7fb52f401b66776f44b
3ede80163b8f42c0538e18a50d3c82aacf204abf
/pims/vibdat/vb_generate_gui.py
a869be729ee9bc57262398d19fb7f2a09e84a744
[]
no_license
baluneboy/biomedken
d011b151b72fe4ed484d3bf7c23a4c078c36953b
20f07e8fb7d7cd7ccdb20b78666115df49a65bc8
refs/heads/master
2016-09-05T16:02:33.815180
2015-03-28T11:14:52
2015-03-28T11:14:52
33,009,814
0
0
null
null
null
null
UTF-8
Python
false
false
3,680
py
########################################################################### # program: vb_generate_gui.py # author: Tom Irvine # Email: tom@vibrationdata.com # version: 1.4 # date: August 18, 2014 # description: generate time histories # #########################################################################...
[ "baluneboy@gmail.com@ab604922-b16d-4620-a341-c5f183439689" ]
baluneboy@gmail.com@ab604922-b16d-4620-a341-c5f183439689
a4fb4e9d1381da7ba21d5c9de2da0fc104d9dacf
d0cff8964a2b91de1289c1425d416b92b16c1069
/tamrin1.py
6d6e27d8f7400b65a7cd8f37508fa415841a95aa
[]
no_license
zahra-zarrabi/Assignment22
cea7f94fa1bfcaea1f0a9fdfce9a64b9f2249654
5d2b8d1374687baeaef8080349e00e8562eb42c8
refs/heads/master
2023-05-29T19:06:54.397808
2021-06-15T20:21:48
2021-06-15T20:21:48
377,273,055
4
0
null
null
null
null
UTF-8
Python
false
false
255
py
import cv2 a=cv2.imread('image/a.tif') b=cv2.imread('image/b.tif') a=cv2.cvtColor(a,cv2.COLOR_RGB2GRAY) b=cv2.cvtColor(b,cv2.COLOR_RGB2GRAY) img_result=cv2.add(b,a) cv2.imwrite("image.jpg",img_result) cv2.imshow('show output',img_result) cv2.waitKey()
[ "zahra.zarrabi1998@gmail.com" ]
zahra.zarrabi1998@gmail.com
d16d92fb5d7e5b1b148bcbbebb1d45b39802ccbf
113db73185bcdeb56b4689a8fd4a4da64ff147bf
/app/config.py
bdb07e5a14fe39651e75a400efbfb0c8dc2af94b
[]
no_license
sumit8268/small-web-app
c9a9bbf1bb4a1f6d03c5f4d12300376176432e1d
d199825fa4ff8abec78aad77ce2696c1dc25267f
refs/heads/main
2023-04-20T10:37:41.798752
2021-05-23T13:31:03
2021-05-23T13:31:03
365,708,817
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess' SQLALCHEMY_DATABASE_URI = os.environ.get( 'DATABASE_URL') or 'sqlite:///' + os.path.join(basedir, 'app.db') SQLALCHEMY_TRACK_MODIFICATIONS = Fal...
[ "sumitpatil0420@gmail.com" ]
sumitpatil0420@gmail.com
0fd6c82f9d5275dbec37acf608c1f09752a7b810
aabf7c8c290717608e2e9d90a1a8f7b16e32caa4
/SourceCode/Entities/comment.py
3d3630c65eae351e72d8f111d099bd3b66f551d8
[]
no_license
DsDoctor/Meal-Match
b814e081e52b1248dbb40a1c53b4c9b960b2071f
bbc01a1c46e1091626e2a384b1797eb16a55c45f
refs/heads/master
2022-12-06T23:03:08.834412
2020-08-24T16:44:12
2020-08-24T16:44:12
289,675,934
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from DAO.DataBase.database import db class Comment(db.Model): __tablename__ = 'comments' id = db.Column('id', db.Integer, primary_key=True) content = db.Column('content', db.String) user = db.Column('user', db.Integer) recipe = db.Column('recipe', db.Integer) update_time = db.Column('update_t...
[ "ds_doctor@foxmail.com" ]
ds_doctor@foxmail.com
ccea0c40c77faf6e2d0caa458a46ad9aacf3fcb4
b50ffde8c9c4e4ecc09ac7121cf59ce20d1b7991
/category/migrations/0005_auto_20180205_1704.py
eb8523c09de02207ca67b9e27acd87efff9dac9b
[]
no_license
IrinaLokhvytska/django_project
3d6e75ed256ddb8e75c3a3e6b10d4719371f7af1
17fe4ce2234ed97588bfaf79af113e5a03f0274f
refs/heads/master
2021-05-04T15:57:10.167819
2018-02-12T16:31:22
2018-02-12T16:31:22
120,241,287
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
# Generated by Django 2.0.2 on 2018-02-05 15:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('category', '0004_auto_20180205_1357'), ] operations = [ migrations.CreateModel( name='Test', ...
[ "irinaramzaeva2@gmail.com" ]
irinaramzaeva2@gmail.com
fa2a42cc7b4f4916127104b6f76e6bfa65cbdd60
535920548e9ccf9d4400fba46157515a3a640026
/mysite/mytags/apps.py
a58870b996f4e888f88ae717a54b1c109fccf3fd
[]
no_license
xyyy1719/django_practice
8841157ea26ce4675fcd549f290a3b53cacb8b64
ca2f320bab4fd85f52cb309ca529ccfea110f7a7
refs/heads/master
2021-01-21T22:10:04.361489
2017-06-23T02:39:22
2017-06-23T02:39:22
95,176,395
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class MytagsConfig(AppConfig): name = 'mytags'
[ "xyyy1719@outlook.com" ]
xyyy1719@outlook.com
31903f2e439eb96a26117e5798b20a4651cbacfb
d75f2020ec29380870dbed96bfa2f7ec907dcb0c
/lipo/reviews/models.py
19f040ac8293ecacb619fe177e322dba83a1fd3f
[ "MIT" ]
permissive
Mik3y-F/Lipo
d4590af25c483d7b07578fa24ceccbea69d5de3a
d9d748b8565bc75c7022cb5b06781dba46181f63
refs/heads/master
2022-11-05T08:34:13.283175
2020-06-24T11:06:35
2020-06-24T11:06:35
273,503,964
0
0
MIT
2020-06-24T11:08:20
2020-06-19T13:44:20
JavaScript
UTF-8
Python
false
false
2,006
py
import uuid from django.db import models from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ class PsvReview(models.Model): id = models.UUIDField(_("Review Id"), primary_key=True, default=uuid.uuid4, editable=False) author = models.ForeignKey("users.Review", verbose_...
[ "mike18farad@gmail.com" ]
mike18farad@gmail.com
ddca45160dbe21af63be36d6a989d3787788a108
29145db13229d311269f317bf2819af6cba7d356
/january circuits/equalSub.py
379cf14defb37168832a4605de814de52080f970
[]
no_license
rocket3989/hackerEarth2019
802d1ca6fd03e80657cbe07a3f123e087679af4d
42c0a7005e52c3762496220136cc5c1ee93571bb
refs/heads/master
2021-07-05T01:32:42.203964
2020-12-22T03:40:20
2020-12-22T03:40:20
211,607,143
1
0
null
null
null
null
UTF-8
Python
false
false
440
py
N = int(input()) K = int(input()) A = [int(x) for x in input().split()] maxOf = A[0] l, r = 0, 1 sumEl = A[0] maxLen = 1 while r < N + 1: if sumEl + K < maxOf * (r - l): sumEl -= A[l] if A[l] == maxOf: maxOf = max(A[l + 1:r]) l += 1 continue maxLen ...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
a2c274f1eebe46ea800b9bfda1df9df3fc28a138
2a236bfc017553a0b2a8f3a58fe0a877869d7e16
/hello.py
965d660d914ce097940be96cd3a728ffb935f966
[]
no_license
Devieswaran/python-program-
4886cc073855124798410349d45c319297e4fc69
8024ebc40a494fc93e96c6d0dc588216d22e9de1
refs/heads/master
2020-03-07T06:25:36.249777
2018-04-02T03:57:47
2018-04-02T03:57:47
127,321,703
0
3
null
null
null
null
UTF-8
Python
false
false
64
py
a="hello \n" b=int(input(" Enter the number:")) i=a*b print (i)
[ "noreply@github.com" ]
noreply@github.com
16504d305427b344616c1792c80496ad33e39e58
b8067924384514e90c9e58a3f980d933e9397466
/2019_pico/Got_DONE/exploit.py
fd552ac3ed7e5529bc2cbe235250e6cfc850a47a
[]
no_license
Graham382/CTFs
89183996d67ba098d3e283b952bb079cca65faef
1f989a2323d3498f03d76fad87fa0dbd0953dcf4
refs/heads/master
2023-02-15T22:37:36.275588
2021-01-15T13:00:12
2021-01-15T13:00:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from pwn import * binary_path = "/home/yuvaly0/Desktop/pico2019/Got/vuln" e = ELF(binary_path) puts_got_address = e.got['puts'] win_function_address = e.symbols['win'] log.info('puts got address: {}'.format(hex(puts_got_address))) log.info('win function address: {}'.format(hex(win_function_address))) proc = proc...
[ "yuvalyohanan3@gmail.com" ]
yuvalyohanan3@gmail.com
fab0eeca0aa349785fd4ce9e9965d87d98829608
fc6657da99494350ecc45b26a0dad667d4e21ca9
/djangoblog/settings.py
447452dda8500a5acf7cfcba076c682c4dea3d80
[]
no_license
cloudasim/djangoblog
0718e8355d0d2e614cdcd074ff120e9d64c45328
e1111c7f6e25c54f82b077d9f64dd4f2c416ce4f
refs/heads/master
2021-01-23T06:20:12.337428
2017-06-05T06:59:49
2017-06-05T06:59:49
93,019,467
0
0
null
null
null
null
UTF-8
Python
false
false
3,211
py
""" Django settings for djangoblog project. Generated by 'django-admin startproject' using Django 1.10.7. 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/ """ import...
[ "cloudasims@gmail.com" ]
cloudasims@gmail.com
d3e061e5958788259093633207fe25d3755e935e
360a30c9091c5d9a39a60f493152987fe78ef50f
/world/world.py
9828a8978f150d6f985f9b53f4956c16e8532946
[]
no_license
Brac24/GameOfLife
7cc852753659a6501f2fc5813c8145a900ad2fae
a95aae81154fc027658f148651d4e8e985fa4c99
refs/heads/master
2020-07-09T20:58:35.152541
2019-10-21T18:28:37
2019-10-21T18:28:37
204,082,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
from cell.cell import Cell class World(): def __init__(self, board): self.world = [] for row in range(len(board)): cells = [] for col in range(len(board[0])): cell = Cell([row, col], board[row][col]) cells.append(cell) ...
[ "brac24@live.com" ]
brac24@live.com
9018f00a5dbb959e8bc668138cf76f91436bc693
cc9b2c8835f0c5308e76d257ce74867314fec6a8
/populate_rango.py
e49abce7c01b9a388b1123b3a9be1de64144087f
[]
no_license
verafen/tango_with_django_project
c7882d9b608fca1628281ffdd4fb45eaa328e832
ea0aa4f5610074cfd6f2a47be6c23614c2f13675
refs/heads/master
2023-07-01T21:37:34.391434
2021-07-30T13:03:27
2021-07-30T13:03:27
389,623,353
0
0
null
null
null
null
UTF-8
Python
false
false
2,853
py
import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tango_with_django_project.settings') import django django.setup() from rango.models import Category, Page def populate(): # First, we will create lists of dictionaries containing the pages # we want to add into each category. ...
[ "“2589593y@student.gla.ac.uk”" ]
“2589593y@student.gla.ac.uk”
198932798010531a6e5ee431ea85d0f3e5ca76b1
c9642233f1de71f1a61ae28c695c2d9228825156
/echecs_hall/app/views/mj_hall_api/good.py
9ff47539c15f03ae8f000dca757f3e9985f69aac
[ "AFL-3.0" ]
permissive
obespoir/echecs
d8314cffa85c8dce316d40e3e713615e9b237648
e4bb8be1d360b6c568725aee4dfe4c037a855a49
refs/heads/master
2022-12-11T04:04:40.021535
2020-03-29T06:58:25
2020-03-29T06:58:25
249,185,889
16
9
null
null
null
null
UTF-8
Python
false
false
2,325
py
# coding=utf-8 from app.views.base_handler import BaseHandler from app.controller.mj_hall_controller import good_controller from app.controller.mj_hall_controller import login_hall_controller import json from . import mj_hall from app.share.error_code import * import time from app.extensions.common import md5 from torn...
[ "jamonhe1990@gmail.com" ]
jamonhe1990@gmail.com
1927c6bb341d5dc33efed36f861ef1178e39e57d
c6a472eef9f35552afbcee4c9b4edf66f6b00517
/day5/MALL/bin/recharge.py
db8d29111d1e8460045f96a66869feb811c05e77
[]
no_license
lzpython/PYTHON-learning
273be6cae99554791ae538885b0bbc5643773fd9
91df889e9c9ccf533434e8d01b6c23a1fccdff0d
refs/heads/master
2021-01-16T22:37:49.102460
2016-03-02T21:58:55
2016-03-02T21:58:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
__author__ = 'thinkpad' import os,sys base_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.append(base_dir) from ATM.bin import main def rech(money): main.run(money)
[ "stu107201@2b81950d-c39f-4590-a4a7-f063019d7309" ]
stu107201@2b81950d-c39f-4590-a4a7-f063019d7309
8330301879e3a82b29eb39015a9eb577959497ae
6962e839d884f362f0db01abaabf3d2a1c96b828
/relayforward/gr-howto/build/swig/howto_swig.py
9dc2836f90c370689866546031fa5b84fd15e015
[]
no_license
Shruthi2702/Rx_Beamforming
ba84d32784ffeeff264cec49e20f8590101387fd
a3fd454b527659132d8e3a78385a70ae0faef1ae
refs/heads/master
2021-01-19T16:58:23.908535
2017-04-28T18:34:34
2017-04-28T18:34:34
88,293,222
0
0
null
null
null
null
UTF-8
Python
false
false
16,897
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
[ "shruthirajamohan27@gmail.com" ]
shruthirajamohan27@gmail.com
0050e58aa4d71e43e495f50afeae7d51b46087dc
b457be31ac024f2a80ad553068544779d0680f48
/dnawf/templates/clean_template.py
5f1b01683a55986af6a84efe60413edbf363fd6e
[]
no_license
daxm/dnac-api-demo
9ef0782b9d780aad7ece1112814dbe3a794d687c
dbf8432c84d9e47255b184310df69af48d1f1fee
refs/heads/master
2022-11-03T14:42:26.021264
2020-06-16T20:00:32
2020-06-16T20:00:32
271,582,024
0
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
#!/usr/bin/env python # -*- coding: utf- import json from argparse import ArgumentParser import glob import os import pprint def clean_template(template): pprint.pprint(t) # template.pop('id') template.pop('createTime') template.pop('lastUpdateTime') template.pop('parentTemplateId') templ...
[ "dmickels@cisco.com" ]
dmickels@cisco.com
2cc087b0067274365577f5ae79b76726c4e3b89b
3e10983fbcc5dd08aa63b37e936c8bb1e22ed6ee
/5b/Ser.py
6c350fc4e416e23f1d6fad4f5c2b3d696de7dffa
[]
no_license
pkboe/CN
be31b1b33a0858a7fcb5857bdbee95923fdd4c2b
6685068cd67358a790b1eeb992b28ade4c9f9ca0
refs/heads/master
2020-09-01T05:43:52.668201
2019-11-01T04:21:30
2019-11-01T04:21:30
218,892,387
1
0
null
null
null
null
UTF-8
Python
false
false
463
py
import socket def server_program(): host = socket.gethostname() port = 5001 server_socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM) server_socket.bind((host,port)) server_socket.listen(2) conn,addr = server_socket.accept() data = conn.recv(1024).decode() print('file name is:{}'.format(data)) with open...
[ "noreply@github.com" ]
noreply@github.com
a40038fb0b6957d262599096d21a59dd2890bc91
e526543920e4974504cb62802c393d5bc46559db
/python-repos/python_repos.py
cddc2b416e8f6a10ff5f96a8cd45f8641eb00818
[]
no_license
mare-astrorum/python-crash-course-practice
b843f2067208b749558c4423556498e643c5fa42
47423808902b75af9d7888d4f9fa9f083bce88f4
refs/heads/master
2020-09-06T19:02:09.837740
2019-11-08T17:30:52
2019-11-08T17:30:52
220,516,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
import requests import sys import pygal from pygal.style import LightColorizedStyle as LCS, LightenStyle as LS # Make an API call and store the response. url = 'https://api.github.com/search/repositories?q=language:python&sort=stars' r = requests.get(url) print("Status code:", r.status_code) # Store API response in ...
[ "a@a.com" ]
a@a.com
e017100cb679bf6f1ae3e8f315b984bb2e457cfb
6375b7e4dfe11ced7dcd3fad1a7a2de9a504910d
/excel/xlutils_demo.py
d4506129814db5dc73782bc3726332f7f72f039b
[]
no_license
yaowenqiang/lpthw
b65e6b8ce576e7caa5cfba5570550e546d1e0549
4bbd7ebb4e8c570a39bf9c55df9bd97e4f86e1e5
refs/heads/master
2020-04-01T10:57:32.959389
2019-05-01T09:27:25
2019-05-01T09:27:25
153,140,026
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
import xlwt import xlrd import xlutils # 打开excel文件 workbook = xlrd.open_workbook("myexclee.xls") worksheet = workbook.sheet_by_index(0) data = worksheet.cell_value(0,0) wb = xlwt.Workbook() # 新建excel wb = xlwt.Workbook() sh = wb.add_sheet('Sheet1') sh.write(0,0,'data') wb.save('myexcel.xls')
[ "yaowenqiang111@163.com" ]
yaowenqiang111@163.com
408abd329ed3059c69067f2e8937a82c4abe1a53
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement/operations/alerts_operations.py
fd15f46bc8175cab9e2229c9c9919072c07c3b6a
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
27,563
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
aed0c98fbf2de2b3457c2d0a458ec85581b0f37b
0b4f8d15b3c0d8e878ef8ec2d0e060499286714f
/myvenv/bin/django-admin.py
5697592d38a1797b795f9d80e8d0d31ecbd6c707
[]
no_license
kyounginbaek/Openarena_website
0f25da947add8a9119c3877b32470f75ba614da5
818acce8c9def5f5673cd8dbc8e8d8fff6b1a1ce
refs/heads/master
2022-10-01T18:45:16.123631
2017-07-08T09:21:42
2017-07-08T09:21:42
62,291,671
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
#!/Users/baekkyoungin/myvenv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "kyoungin100@gmail.com" ]
kyoungin100@gmail.com
325bfdf7719c8d38e26a7a8b9e540107ce35be02
810aa9032817a0020f8412aaa31aa12d50096807
/war_card_game.py
e5b62d6f32d42427c8b3e52862c0aaf8ed6fe9b2
[ "MIT" ]
permissive
kent1325/war_card_game
52b417d8c6b1eb26f1ff66d43a443ce0bea36be8
417c836d8b8548c6b446754c5d9541128cdf6cc2
refs/heads/main
2023-01-29T13:48:09.604280
2020-12-06T16:50:36
2020-12-06T16:50:36
316,701,633
0
0
null
null
null
null
UTF-8
Python
false
false
2,616
py
"""Koden er udviklet af: Navn: Kent Vugs Nielsen email: kniels18@student.aau.dk Gruppe: A308b Programmet er udviklet selvstændigt og individuelt. """ from game_player import Player from game_deck import Deck from game_settings import Settings class War: """Overall class to game behavior""" d...
[ "19304326+kent1325@users.noreply.github.com" ]
19304326+kent1325@users.noreply.github.com
cb4f0094a37c2fa1d8163514d25c5d7ba1bb31fb
347dce5b7b7335b25e0f3df1feca694c3ccbee54
/DailyNeeds/views.py
6ee299a6c341b8e125ccfbeedb6854e5b1c62857
[]
no_license
sajib-99/Products-Inventory
a7bfe5c373211353187918bca6535975e4513f66
0679cc7afe55b25ca4e45129bd5f2157521190f5
refs/heads/master
2023-08-11T05:34:54.786380
2021-09-28T19:52:21
2021-09-28T19:52:21
411,402,113
1
0
null
null
null
null
UTF-8
Python
false
false
979
py
from django.shortcuts import render from DailyNeeds.models import DailyNeedsProductType, dBrands, ProductsDetails # Create your views here. def DailyNeeds(request): items= DailyNeedsProductType.objects.all() context={'items': items} return render(request,'dailyneeds.html', context) def brands(re...
[ "sajib@users.noreply.github.com" ]
sajib@users.noreply.github.com
3dd8ecc2dcededbc89a03fb414f265e606baae21
e994d8fa51e42be41e19cc8420758a659705f329
/datasets/dataset_factory.py
677025deee4b527bd1f73a2222169915abcc427a
[]
no_license
fbjwying2/w7_2_test
39e9ac79cf70d01ba2c3f4b5dd7f9f8f32ac18a2
105316413d36cdba2a192eeeb55b23e512378a5b
refs/heads/master
2021-01-25T14:33:22.811551
2018-03-08T23:22:04
2018-03-08T23:22:04
123,709,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
# Copyright 2016 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 required by applica...
[ "fbjwying2@163.com" ]
fbjwying2@163.com
16ec023f64e04de4ca84ab276fe46119f235330d
13d503cd387035a9bb1f45ac64601cffb07ac14b
/setup.py
9d2779793042617bf0e528f9e5d89bfb21fbdf8c
[]
no_license
mlpetuaud/api-dockers
d178aa06d350170f224805d43e57e3112cc941bc
e108cbbdde27d42bf541b52060c8f28bea78e48d
refs/heads/main
2023-07-04T10:55:07.156898
2021-08-18T09:50:21
2021-08-18T09:50:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
from setuptools import _install_setup_requires, setup, find_packages with open('requirements.txt') as file: content = file.readlines() requirements = [x.strip() for x in content] setup( name='diamond_pkg', version='0.0.1', packages=find_packages( where='diamond', include=['*pkg*'],...
[ "ad.digital33@gmail.com" ]
ad.digital33@gmail.com
64612f4cffa5c09a608dbe350acddc9d5f47839c
c9043b8be6f8a423d0e755e05537a938705dbb5a
/test_stats.py
81da1034eb41d8a4c58dda4f5baf90edaf3a8944
[]
no_license
PaviKrish/simpletest
7138cf96a4fbeba1bea87fa29e8cf67f9cf2c56f
54b17ee976e1fd33e50be7534c36dd7658e3f547
refs/heads/master
2021-01-01T19:46:31.893492
2015-08-27T20:01:59
2015-08-27T20:01:59
41,507,827
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
from stats import mean, std from nose.tools import assert_equal from nose.tools import assert_almost_equal def test_mean(): assert_almost_equal(mean([2,4]), 3) #print mean([2,4]) #test_mean() def test_float_mean(): assert_almost_equal(mean([1,2]),1.5) #test_float_mean() def test_neg_mean(): assert_almost_equal(mea...
[ "kp@wisc.edu" ]
kp@wisc.edu
8e784ca51ed99ef18b4c44ffa7ab52f2f697d0c4
b6441330b0136a5842b466cdff7766beb1ecc2d3
/urls-response/original_price.py
3ef17a0489c505048038d2fd6b71d4132cefd4d3
[]
no_license
wuqingze/pdd-zhongqiu-9.9
4fd3cc9ed91419b58eff747b20b39fa5192167a0
b8fc673dc82eb54d53291d53a7a726d27514db95
refs/heads/master
2022-12-08T18:27:58.033642
2020-09-07T16:02:19
2020-09-07T16:02:19
292,750,912
1
0
null
null
null
null
UTF-8
Python
false
false
435
py
import os path = "./data/" files = os.listdir(path) result = "original_price" rf = open(result, "w+") for fname in files: if fname == 'original_price.py': continue f = open(path+fname) flag = True for line in f: if "<del" in line: flag = not flag rf.write(li...
[ "nongxiaolang@foxmail.com" ]
nongxiaolang@foxmail.com
86bf1f25d29a258e3b3b900ea75fd31f6fd17da5
5f4af519a3694f1d93d431199b72c1cc37defe91
/solver.py
34d4438aa9f2dcd81d1b0a069a55224df211fa7b
[]
no_license
akshit0699/Sudoku-Demystified
6fec78d0ad3cb47ecec1f931bbe8b564a9882ea7
4cbc70f84caacb378be75ac4da7a6512b0abe098
refs/heads/master
2022-12-05T19:27:09.920397
2020-08-12T15:27:53
2020-08-12T15:27:53
287,049,624
0
0
null
null
null
null
UTF-8
Python
false
false
8,322
py
backtracks = 0 btracks = 0 # The primary function that solves the SudokuBoard bo def solveSudoku(bo, i = 0, j = 0): global backtracks i, j = find_empty(bo) if i == -1: return True # Meaning we did not find any other element, SOLVED SUDOKU for num in range(1, 10): if isValid(bo...
[ "noreply@github.com" ]
noreply@github.com
637b6f1e6ec46f1d584c268016837a63e14fff30
52b5773617a1b972a905de4d692540d26ff74926
/.history/get_20200810155009.py
13e9a436036562052c378984fa398589f08fdc7a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
def produce(num1,num2): totalValue = 0 for i in range(abs(num1)): totalValue +=abs(num2) if num1 < 0 and num2 > 0: str1 = str(totalValue) newStr = "-"+ str1 return int(newStr) elif num1 > 0 and num2 < 0: str1 = str(totalValue) newStr = ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
58a4bb86b08b7848aace4a126af64ef86f5876f4
3abed0fa82e8ec93ec651187a2c2dec0df6ec2b9
/02_Problem_Solution.py
1f06c2b5426833c92061e63ea3656e671fef2b15
[]
no_license
vivienneprince/FlowNetworksAndAirlines
d6c53593c1ead8876588de57adc00cd1f3c9f51e
fffaa660b8d96bfc0df40a738d34177f3b0923c6
refs/heads/main
2023-01-19T00:18:16.187268
2020-12-01T14:58:07
2020-12-01T14:58:07
316,062,836
0
0
null
null
null
null
UTF-8
Python
false
false
5,991
py
#!/usr/bin/env python # coding: utf-8 import networkx as nx import pandas as pd # IMPORT ROUTES DATA names = ['Airline', 'Airline_ID', 'Source', 'Source_ID', 'Destination', 'Destination_ID', 'Codeshare', 'Stops', 'Equipment'] routes = pd.read_csv('data/routes.dat.txt', header=None, names=names) ...
[ "milestweed@gmail.com" ]
milestweed@gmail.com