blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
215094489cf5fc83d00a073b7700b0e554846376
ba9d27ba3e0523d209ad5d6920638619c6b1fd5f
/uucf_iicf.py
6afe7798813f6027890a3980b0c11ac21eafb5cc
[]
no_license
qxy0731/recommender_system
dacb45ffa311d5dce7637b012088b009206eea94
c4a66bf8d96bedb8ba27e844ac91c3b2843ae4a0
refs/heads/master
2020-03-25T11:13:16.716200
2018-08-06T12:13:05
2018-08-06T12:13:05
143,723,243
1
0
null
null
null
null
UTF-8
Python
false
false
4,631
py
import pandas as pd import numpy as np def userBaseRating(id,item,matrix,k): need_compare = matrix.loc[matrix.index==id] baseline = np.array(need_compare).astype(np.float64) if np.std(baseline) == 0.0: baseline[0][0] = baseline[0][0]+0.001 result_list = [] user_list = [] item_index = i...
[ "qxy0731@163.com" ]
qxy0731@163.com
3623a8066acb114f575df08764f00a1ffea08a49
9d01ddd9276d3c447e9d1138c68f60eeb39aabf4
/mysiteenv/bin/autopep8
489b02c77469275b3cfad0f94bd8c93f60b8d2d6
[]
no_license
itsaiub/django-basic-site-sandex
de21da1399bed55ca5593ef1b78328d58f81b0f9
d6a9bc7133a2a399dadf2a3e5cb7f23bfecaab1c
refs/heads/master
2020-06-25T13:20:35.634588
2019-07-28T17:56:35
2019-07-28T17:56:35
199,320,019
0
0
null
null
null
null
UTF-8
Python
false
false
463
#!/home/a1ubkh4n/Documents/Developmnet/My_Django_Stuff/django-basic-site/mysiteenv/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'autopep8==1.4.4','console_scripts','autopep8' __requires__ = 'autopep8==1.4.4' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub...
[ "itsaiub@gmail.com" ]
itsaiub@gmail.com
35928e56fa96d416f5a328d4a776d067d6a29232
9d3c175eb62fbefa8af7ad579adf0e577e94d044
/tradewithfriends/wsgi.py
a8f88caa4a1bc1b5b50a10246b421f437588cc71
[ "Apache-2.0" ]
permissive
JonForce/tradewithfriends
426ddbd317bb67692938a934103dbb31ae890871
f1b7bf22a14209f6d41a89427f3fce39ba02b816
refs/heads/main
2023-03-18T22:57:57.744558
2021-03-09T23:36:52
2021-03-09T23:36:52
346,169,185
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for tradewithfriends project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "vanaficionado@gmail.com" ]
vanaficionado@gmail.com
cef3d665a937b3759dbb5f60cdbc86bf9bd51e73
2ce27b05f45cef6ce3ae5c02b8e83e548def2fc6
/ADVANCE/Modules/Collection Module/OrderedDict( ).py
10e231ad02867a4b4253c970cd82b37a96558fba
[]
no_license
Ajay2521/Python
775b7d99736e83e4d0c37302b91d1413dd2c0d3b
a426dd7717de8a5e60e584d208ae7120bb84c1b3
refs/heads/master
2022-12-01T17:49:12.672061
2020-08-15T14:55:12
2020-08-15T14:55:12
273,632,074
1
0
null
null
null
null
UTF-8
Python
false
false
814
py
# Lets see about "Collections" # collection module is used to store a collection of data in a container. # OrderedDict() = used to return dictionary object with names for each position in the dictionary. # where object where keys maintain the order of insertion. # NOTE : insert key again, the previous value...
[ "noreply@github.com" ]
noreply@github.com
df3ef3f3ae6a6a5509dd53328ff2d985126a9de4
cb56395b14bc9951a8587001aac87a8795bf91b8
/in_depth/migrations/0031_auto_20200207_2032.py
f8b4aa0d1c352a857214913c14a1def6c17d7af2
[]
no_license
natmey/newamerica-cms
998b4f09dca8208f3ffdd7c78029fb896e25d38e
bc34d35ee96fcdab90324e8a3fe84e342573c9cd
refs/heads/main
2023-09-03T20:02:37.412813
2021-09-15T17:06:53
2021-09-15T17:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,613
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2020-02-07 20:32 from __future__ import unicode_literals from django.db import migrations import wagtail.contrib.table_block.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.documents.blocks import wagtail.embeds.blocks import wagtail....
[ "1051450+nmorduch@users.noreply.github.com" ]
1051450+nmorduch@users.noreply.github.com
fa791bcfc4fb1d50ab8f8cfe6e6459465c2d68af
15910b24ccda1c724b96cb2817b91eea9d52754b
/mysite/settings.py
78934459cf06f898d3ad7815ad223cd360b98891
[]
no_license
itenjin/my-first-blog
a35c3393d22cae27af3e485f4683294c5c791e0e
9a024c8ad0f2bb9c869e3bb6c4aa14be92dde840
refs/heads/master
2020-12-20T08:10:56.926513
2020-01-25T08:20:24
2020-01-25T08:20:24
236,011,294
0
0
null
null
null
null
UTF-8
Python
false
false
3,201
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.9. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "saruyamanoboru@gmail.com" ]
saruyamanoboru@gmail.com
4f1290ae2c41f84e42ef101171d6fb7de6d99783
e1f5ba03cd1b6c5e8d1a346dae31a6c9d3c81f96
/challenges/next_prime_generator.py
c6d1b8622896744e373fec282aee2082a1f59dbe
[]
no_license
BParesh89/The_Modern_Python3_Bootcamp
7637ead43e2ca7697b7833b621885cc4e4d1ccff
e9de6a4ba9af8dde83e449758fb1ef41e348f702
refs/heads/master
2020-03-24T14:54:31.606805
2018-03-23T12:26:20
2018-03-23T12:26:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
def next_prime(): num = 2 while True: if len([i for i in range(1, num+1) if (num/i) == num//i]) != 2: num += 1 else: yield num num += 1 # testing primes = next_prime() assert([next(primes) for i in range(25)] == [2, 3, 5, 7, 11, 13, 17, 19, ...
[ "thatcher.tim.tt@gmail.com" ]
thatcher.tim.tt@gmail.com
22be9255832aa7850ab8a6efc46867967c5f805f
555bc867d36c37c4b554457d34f628226f019bb2
/scrape.py
bb0ebfe5b533a138fb400a4b6c43a2f158e96fd3
[]
no_license
StanfordVLSI/scrape-spec
fd13db8aaecdc19bf65c285fe2754d20f8d6e454
81f0789bfb860f9d5d86823e8c7559d03172114d
refs/heads/master
2021-01-18T20:22:33.724905
2015-04-07T17:33:11
2015-04-07T17:33:11
16,095,566
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
html = urllib.urlopen(url).read() soup = BeautifulSoup.BeautifulSoup(html)
[ "kkelley@stanford.edu" ]
kkelley@stanford.edu
63be64a3a36f83159883a808df9d45fc1527c8ad
83cfe7c9556c7fc5a0cda7eb73a213e05d620bb0
/main.py
7b2fae585c2966a933a9befb4a9656e519677f42
[]
no_license
tang1323/JD_Scrapy
c3d2906d49c4ad537de2934dea9fb5b413d8d386
5da0f4266ad9329b52672a231459e5c24473b708
refs/heads/master
2023-04-02T01:37:00.863567
2021-04-14T14:17:15
2021-04-14T14:17:15
357,930,975
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from scrapy.cmdline import execute import sys import os # print(os.path.dirname(os.path.abspath(__file__))) sys.path.append(os.path.dirname(os.path.abspath(__file__))) execute(["scrapy", "crawl", "jd_book"])
[ "1171242903@qq.com" ]
1171242903@qq.com
180837e9d3ec975df3c36cda46aefe8967b14c64
24357a12af42349b9b787b47722a738a6694419b
/Learn/Algorithms/Warmup/A Very Big Sum/bigsum.py
006c05a10f9c2fa21e804a5d960cd7e00319d267
[ "MIT" ]
permissive
Adriel-M/HackerRank
1aee2f3501f7db01bf2c7eabc00ff555779a345c
0f361bb7eaa3d2db3dd96de511c4b7fa02efa8c5
refs/heads/master
2021-01-21T10:49:03.610333
2017-06-18T03:37:16
2017-06-18T03:37:16
91,708,001
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
# Given code n = int(input().strip()) arr = [int(arr_temp) for arr_temp in input().strip().split(' ')] # Start sum = 0 for i in range(n): sum += arr[i] print(sum)
[ "adriel@adrielm.ca" ]
adriel@adrielm.ca
1ccc25559589a6ae95b9b0f94b76a092ecb8c49c
409e2694e5ce48d18814948f00993ec3552e3a29
/soaktest/cratemonitor.py~
5f0f4bc43c9768cd9eda1c585fb6fd42f4f3d40c
[]
no_license
AstroSaiko/cratemonitor
c5e958689ec6bb473a6bf5e3b7b39987fd96ea57
4f9cfe358de470e5dfa062cc9325a939275f716b
refs/heads/master
2021-01-11T06:16:48.906702
2017-07-20T11:55:45
2017-07-20T11:55:45
70,058,218
0
0
null
2016-10-05T12:30:14
2016-10-05T12:30:14
null
UTF-8
Python
false
false
20,040
#!/usr/bin/env python import subprocess import sys import os import signal import time #HOSTNAME = sys.args[1] HOSTNAME = "mch-e1a04-18" #Defining every board as a class, hence treating each card as an object with sensor data #=============== # Start PM Class #=============== class PM: """Power module object...
[ "birk.engegaard@cern.ch" ]
birk.engegaard@cern.ch
883391c1d19e61fda70384595cc39bdfbc529465
6bf079887a516552df39ed85aa872dcec8c53dba
/easytime.py
eebf1e5034d8f7e7c6d7e2f2f929390c44e26523
[]
no_license
Rojetto/tri_me
a6164d141081f200887d1c58790b34ccfa28a9db
4aad8dcc3f6fae22552dbb15ff25a00d90abb7fd
refs/heads/master
2022-12-31T16:25:37.457716
2020-10-21T18:50:27
2020-10-21T18:50:27
305,162,612
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
import time class Timer: def __init__(self): self.running_timer = None self.root_timers = [] def tic(self, message): if self.running_timer is not None: subs_to_check = self.running_timer.subtimers else: subs_to_check = self.root_timers timer_to...
[ "robert.heedt@gmail.com" ]
robert.heedt@gmail.com
21ca12886bb240c872416bd1713c2883bb1b1656
a9fc496e0724866093dbb9cba70a8fdce12b67a9
/scripts/portal/mihailPortal003.py
0fc67c291e3067805fe15f8738dbdf7605c1b3c1
[ "MIT" ]
permissive
ryantpayton/Swordie
b2cd6b605f7f08f725f5e35d23ba3c22ef2ae7c0
ca6f42dd43f63b1d2e6bb5cdc8fc051c277f326e
refs/heads/master
2022-12-01T09:46:47.138072
2020-03-24T10:32:20
2020-03-24T10:32:20
253,997,319
2
0
MIT
2022-11-24T08:17:54
2020-04-08T05:50:22
Java
UTF-8
Python
false
false
34
py
sm.warp(913070020, 1) sm.dispose()
[ "mechaviv@gmail.com" ]
mechaviv@gmail.com
ba2060d114859a3af94f75e11cbba8c096d153f0
a6fe8aeaa30a22b65d98a2bb360b6d761a2e17fc
/venv/lib/python2.7/site-packages/kubernetes/client/models/v1_downward_api_volume_file.py
35061dd4f030568d5fe0f491969453e1a8e52379
[ "MIT" ]
permissive
784134748/kubernetes-install
54a2a8e83e2f47f2064270649725899282b7b244
5df59632c2619632e422948b667fb68eab9ff5be
refs/heads/master
2022-12-15T13:52:43.486633
2019-03-27T13:01:06
2019-03-27T13:01:06
176,937,818
0
0
MIT
2022-05-25T01:56:18
2019-03-21T12:13:41
Python
UTF-8
Python
false
false
6,862
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "784134748@qq.com" ]
784134748@qq.com
625d50dda4359da865759ed0333751585f4106c7
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/wroscoe_donkey/donkey-master/donkey/calibrate.py
e027b7f0e6b5d7bdeb9d0084d88bf53eef468d31
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
578
py
from time import sleep class PCA9685_Controller: # Init with 60hz frequency by default, good for servos. def __init__(self, channel, frequency=60): import Adafruit_PCA9685 # Initialise the PCA9685 using the default address (0x40). self.pwm = Adafruit_PCA9685.PCA9685() self.pwm....
[ "659338505@qq.com" ]
659338505@qq.com
6a185135a514f9f2d8fac69e9c918e6114c528dc
b6dc4fd480fa3c345171c386276220789c890540
/Main.py
7b06e64497e1ab302070bc079cf7a3092295aa61
[ "Apache-2.0" ]
permissive
Ranjan2104/Create-Audio-Book-from-pdf
14c6997964dde73ecc9e9346dafa0b8465715026
3f382109e7f3d084e6388e80eaa407461c0dd2d8
refs/heads/main
2023-05-09T04:59:11.077269
2021-05-24T06:05:08
2021-05-24T06:05:08
370,242,910
5
1
null
null
null
null
UTF-8
Python
false
false
437
py
import pyttsx3 import PyPDF2 pdf_book = open('THE FALLING OF THE LEAVES.pdf','rb') pdf_reader = PyPDF2.PdfFileReader(pdf_book) num_pages_counter = pdf_reader.numPages play = pyttsx3.init() print('Playing Audio Book from pdf') for num in range(0, num_pages_counter): page = pdf_reader.getPage(num) data = page.extra...
[ "60054130+Ranjan2104@users.noreply.github.com" ]
60054130+Ranjan2104@users.noreply.github.com
3950cb48b92dd278195da63c5cf144d2830992f6
085fd3aefa463ba16c1fd73d4ed9cd2b4c2c26df
/python-tkinter-cb/py_coursebook_n.py
293f55604aed5f75c8e5517e4ebc749ed67d0250
[]
no_license
Jammyhammy/Jammy-Linux-Unix-Scripts
f2b4e1d7195b00ed60cff61d0afd1f10beff255a
886255618f0fd0b716bd5aad97a8228a6a02acfc
refs/heads/master
2021-01-10T16:30:20.512119
2015-12-23T23:45:54
2015-12-23T23:45:54
48,515,619
0
0
null
null
null
null
UTF-8
Python
false
false
4,042
py
#!/usr/bin/python3 # Adil Khokhar # CLID: axk9375 # CMPS 499 python assignment designed to work on python 3.2.3 # Import tkinter from tkinter import * from tkinter import messagebox import tkinter.messagebox import tkinter # Predefined data of classes and professors. classes = ['CMPS260-001','CMPS260-002','CMPS261-...
[ "guvadilk@gmail.com" ]
guvadilk@gmail.com
8aee9580ace49c930fcb28d706798f51905c3ab5
ecacf5a06d2b2ece7dedcd726f90f327b57cdb61
/Macros/FMX/FMX_Glyph_Table.py
2577514373258712e85a0707610cd636f183e013
[ "MIT" ]
permissive
beckonandmuse/freemix-fontlab
ea5fee59c59e1cbec59a5252a4ed943deae52ae3
259198115ee91ab15a7c78be182cafcd503f330e
refs/heads/master
2020-12-28T22:12:20.660270
2016-01-25T10:37:18
2016-01-25T10:37:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
#FLM: FMX Glyph Table # http://remix-tools.com/freemix # (C) Tim Ahrens, 2012 from FL import * while fl.font != None: import FMX_glyph_table_copy import FMX_glyph_table_paste try: import os, MacOS import wx use_wx = True except ImportError: try: from Carbon.Scrap import GetCurrentScrap, ...
[ "tim@justanotherfoundry.com" ]
tim@justanotherfoundry.com
60c187b1c9946b736e3099653c70367fc5235f80
f6457da7fa1852c108e60431913b1064fa554228
/scrc/dataset_creation/citation_dataset_creator.py
fd28e2e28b617b630c98d76c9670b54022680084
[]
no_license
schnajos/SwissCourtRulingCorpus
f6b8b9c5780ed846fd542ddf6a98e6518b174f96
de7ef4e9e75beee55ca4b0362d5e3a96fbe68b2b
refs/heads/main
2023-08-24T14:37:22.010544
2021-10-13T07:13:46
2021-10-13T07:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,158
py
import configparser import inspect from collections import Counter from root import ROOT_DIR from scrc.dataset_creation.dataset_creator import DatasetCreator from scrc.utils.log_utils import get_logger import numpy as np import pandas as pd from scrc.utils.main_utils import string_contains_one_of_list from scrc.utils...
[ "me@joelniklaus.ch" ]
me@joelniklaus.ch
0a6b81d4784680af10eaaef85d0ebdc6e2d629af
0d995e4e1b8032575ee63a12ea5ea0f53cbd064c
/django_utils/experiments/experiment2/plots/flow_histograms.py
6ae7955a72cdc62c6ff02ad78b283f68c8b069f9
[]
no_license
megacell/phi
b4247d3d0b628163a07332ec6a7f7330d77494ad
77c0360b19a0a9dcf8692c0473e09a3d9b712274
refs/heads/master
2021-01-18T15:10:00.415006
2015-08-16T03:43:39
2015-08-16T03:43:39
33,515,243
0
1
null
2015-04-07T01:29:59
2015-04-07T01:29:58
null
UTF-8
Python
false
false
1,139
py
__author__ = 'lei' from django.db import connection from django_utils import config import numpy as np import matplotlib.pyplot as plt import sys import scipy.io as sio from collections import defaultdict def plot_route_flow(): sql = '''select flow_count from experiment2_routes;''' cursor = connection.cursor() ...
[ "ld283@cornell.edu" ]
ld283@cornell.edu
f2f3041aa7667a569d3d6c52ae2beb148a2044e0
65d5b402a50c48a4545782c04b2886f0fbda8f25
/E02.py
03fdd5e2ec073864c058b52824492111444e34c2
[]
no_license
jinxyou/suda-python-programming
9fa09d8fff47f6c879323fe952b8d0407009616a
6099eaa86dde134d20eaa6d7cb1aa768ab7a2aba
refs/heads/master
2023-07-18T11:49:37.425508
2021-08-25T15:35:21
2021-08-25T15:35:21
262,232,810
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
name=input("请输入姓名:") print("姓名字符串长度为",len(name))
[ "johnyjx44@gmail.com" ]
johnyjx44@gmail.com
6664eb92071a1b4880bc280fc80816896294f906
6237a4d717a7055c9b0f1de3204554cbf5069b62
/Book/migrations/0002_auto_20210318_1333.py
8a219f62c192ddb48de127bc496bf68f0cf02708
[]
no_license
sylvia198591/BookProject
180b9072c13cad5a5f996d60946caab78ae503b1
eabfb6cfe63e45f7f73c1500bad6aa8d3a1c62fb
refs/heads/master
2023-03-27T00:25:10.827236
2021-03-22T08:43:49
2021-03-22T08:43:49
350,118,352
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
# Generated by Django 3.1.7 on 2021-03-18 08:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Book', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='author', options={}, ), ]
[ "sylvia.anitha@gmail.com" ]
sylvia.anitha@gmail.com
2c9a7cab66384539834af9271b2d0eb96a66ad7b
505ce732deb60c4cb488c32d10937a5faf386dce
/di_website/whatwedo/migrations/0015_auto_20190902_1127.py
e6229e5acdbd22b38171004cb2641e9339fa2ee9
[]
no_license
davidebukali/di_web_test
cbdbb92b2d54c46771b067a24480e6699f976a15
a826817a553d035140bb8b6768f3fd2b451199d8
refs/heads/develop
2023-02-11T13:21:26.281899
2021-01-08T04:37:34
2021-01-08T04:37:34
319,560,677
0
0
null
2021-01-08T04:37:35
2020-12-08T07:30:51
HTML
UTF-8
Python
false
false
11,324
py
# Generated by Django 2.2.3 on 2019-09-02 11:27 from django.db import migrations import wagtail.core.blocks import wagtail.core.fields import wagtail.documents.blocks import wagtail.embeds.blocks import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('whatwedo', '0014_exam...
[ "edwinm_p@yahoo.com" ]
edwinm_p@yahoo.com
886731935a5dfe268ff4db27827ce72009460777
20a6bc61215f407fb2c5a3746e286e73514927be
/AWSManager.py
5affe9577b36d641c5613f93e3748b288ab2904d
[]
no_license
DijunQuant/EquityCrash
87d9d5601129275f6a4a3a9ba63bdee71c4485f0
e2b1765bad8434c4e04eaccec18daaa743da2fb5
refs/heads/master
2021-09-07T10:48:04.713846
2018-02-21T20:02:39
2018-02-21T20:02:39
114,173,568
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
import s3fs import boto3 s3 = boto3.resource('s3') bucket_name_features='flashcrash_features' # Call S3 to list current buckets response = s3.list_buckets() # Get a list of all bucket names from the response buckets = [bucket['Name'] for bucket in response['Buckets']] # Print out the bucket list print("Bucket List: ...
[ "lafayette_yu@yahoo.com" ]
lafayette_yu@yahoo.com
dc41fe3d3d84e6b6c923df62180017c5ec8d506a
18e60e3c8dadd6f29f18ebbc23e6f453b5583c00
/ex2/costFunctionReg.py
581c5be9e82ee45fb165cc238a0ec789854e6cdf
[ "MIT" ]
permissive
junwon1994/Coursera-ML
c6c8be494aaf82fd87aa1dd92afd5c384c223913
91e96c3c14c058cd6d745a4fada1baf40d91458f
refs/heads/master
2021-04-09T11:24:10.063113
2018-04-27T04:48:51
2018-04-27T04:48:51
125,448,256
3
0
null
null
null
null
UTF-8
Python
false
false
931
py
import numpy as np from costFunction import costFunction def costFunctionReg(theta, X, y, lambda_): """Computes the cost of using theta as the parameter for regularized logistic regression and the gradient of the cost w.r.t. to the parameters. """ # Initialize some useful values m = len(y) #...
[ "junwon1994@gmail.com" ]
junwon1994@gmail.com
0fc4a08b5dfb3374f739c3e8d8f2d14726a326c3
7257456218030c7d7c5674a07d9f110794d410bb
/django-project/accounting/urls.py
3c00fc7c51773393b0c36ae63bc4daaf98148aed
[]
no_license
palazzem/invoicer
d3c8141b6931bb3df871bbc79afdc1984b04987c
6ed4e8b6413f23854e894cc36fb5725a23f3dd9a
refs/heads/master
2020-12-24T13:29:06.550844
2014-06-07T23:42:39
2014-06-07T23:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from django.conf.urls import patterns, include, url from rest_framework.routers import DefaultRouter from .customers.apiviews import CustomerViewSet router = DefaultRouter() router.register('customers', CustomerViewSet) urlpatterns = patterns( '', url(r'^', include(router.urls)), )
[ "emanuele.palazzetti@gmail.com" ]
emanuele.palazzetti@gmail.com
303ca26d0e68eec756a099ea155af19a2ae664b0
a5536039f375e28ad2c8fdb153f63feae7a534cf
/find-mersenne-primes
82216f51626442d222e850b84e996b6496fc0f65
[ "CC0-1.0" ]
permissive
za3k/short-programs
70fe9b362e43d24c39bc4912f974d37699d5c690
c543a64d1a1a8be26d16ab33bcffdea76eabf55c
refs/heads/master
2023-08-09T23:19:34.689912
2023-07-23T16:05:18
2023-07-23T16:05:18
36,656,691
5
0
null
null
null
null
UTF-8
Python
false
false
573
#!/usr/bin/python def sieve(n): primes = [2] for x in range(2,n): for p in primes: if p**2 >x: primes.append(x) break if x % p == 0: break return primes def is_prime(n): return not any(n % x == 0 for x in range(2, int(n**0.5...
[ "za3k@za3k.com" ]
za3k@za3k.com
97fe78f09f019d6d1070051a2856d4348a5f139d
3777658387aa9e78d7c04202d7fd47d59b9e1271
/fraudAnalysis/Text_analysis/text_cleaning.py
2bbfacf59b14b5e7a19122740a2821e638eaaaa3
[]
no_license
jocoder22/PythonDataScience
709363ada65b6db61ee73c27d8be60587a74f072
c5a9af42e41a52a7484db0732ac93b5945ade8bb
refs/heads/master
2022-11-08T17:21:08.548942
2022-10-27T03:21:53
2022-10-27T03:21:53
148,178,242
4
0
null
null
null
null
UTF-8
Python
false
false
2,124
py
#!/usr/bin/env python import numpy as np import pandas as pd import matplotlib.pyplot as plt import requests from zipfile import ZipFile from io import BytesIO import nltk from nltk import word_tokenize, wordpunct_tokenize from nltk.corpus import stopwords from nltk.stem.wordnet import WordNetLemmatizer from nltk.stem...
[ "okigbookey@gmail.com" ]
okigbookey@gmail.com
6a65a43269cda4781b29a8941808b9e47c02de4c
e75affcef5661d4edd0b45f3d74aed9ee06fb37e
/VolumeCalculator.py
046352bf101d03c005e5453aace266e33cbff21d
[]
no_license
Pyrodox/Volume-Calculator
a9ebb8a32d0d5e67b491c1dd7f3b5571c01c05f0
4d1831f9c60b4376d4c16b45626b99d13e1b4e93
refs/heads/main
2023-03-08T19:13:24.276901
2021-02-26T05:20:52
2021-02-26T05:20:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,649
py
from Shift15.Restart_Function import confirm_restart class RectangularPrism: def __init__(self, length, width, height): self.length = length self.width = width self.height = height def volume(self): volume = self.length * self.width * self.height print(volum...
[ "noreply@github.com" ]
noreply@github.com
594d250e19d46d8b1250521d5e6ad4698faa04bd
c785e067692d37788c6ff7436b0660f7c8264934
/Cscapp/migrations/0003_auto_20170718_0130.py
728213db0f89ab2494e30200c503ea9abda54ecc
[]
no_license
Favouroked/CSC
35ce8a847c95f8ae8cc188f086fbb5b015942bd2
cd9e1732bb0e59bc2c73fec271ae23c68753a83c
refs/heads/master
2021-01-01T17:35:16.779892
2017-07-25T06:04:47
2017-07-25T06:04:47
98,106,805
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2017-07-18 01:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Cscapp', '0002_auto_20170718_0126'), ] operations = [ migrations.AlterField...
[ "favouroked@gmail.com" ]
favouroked@gmail.com
eeeea0c38b93019c616bf2de8c2e56b260cc80e3
eba3e4a3935d6422d1ed85aaf69337f5ba15fc74
/tg-buildbot-extensions/WebApp/bbwi/start-bbwi.py
3a51513f330a667a512363aeae70c9bf6ca8eabd
[]
no_license
arianepaola/tg2jython
2ae74250ca43b021323ef0951a9763712c2eb3d6
971b9c3eb8ca941d1797bb4b458f275bdca5a2cb
refs/heads/master
2021-01-21T12:07:48.815690
2009-03-27T02:38:11
2009-03-27T02:38:11
160,242
1
0
null
null
null
null
UTF-8
Python
false
false
502
py
#!/home/steven/TurboGears/WebApp/webapp/bin/python # -*- coding: utf-8 -*- """Start script for the bbwi TurboGears project. This script is only needed during development for running from the project directory. When the project is installed, easy_install will create a proper start script. """ import sys from bbwi.comm...
[ "arianepaola@gmail.com" ]
arianepaola@gmail.com
88c24fc29ccc10f15e21e8b6e4fb94ce0c040e4d
2223af74b56abb99c034cde43628009a6d8aebd9
/RippleNet/src/main.py
c74d9c305bd89dd2fde2d080e85030149bf525eb
[]
no_license
rollben/KGRecommendation
155e8b7177fb8c7138fe18638b33b53e138f4eb7
9fa903159f469143a3110b7483335c18a992c2f2
refs/heads/master
2022-06-29T16:13:05.493594
2020-05-10T17:00:01
2020-05-10T17:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
import argparse import numpy as np from data_loader import load_data from time import time from train import train np.random.seed(555) parser = argparse.ArgumentParser() parser.add_argument('--dataset', type=str, default='movie', help='which dataset to use') parser.add_argument('--dim', type=int, default=16, help='di...
[ "noreply@github.com" ]
noreply@github.com
2e38946c5f826e0d1b334a8fa864d3a0e9ab5d50
9492fef60cc72579bb56de6463239601ea274ce1
/Lab2/CrawlingData.py
789fb101f6dc200fee2db93f5fd5395f8340f44b
[]
no_license
smeissa2019/Python-Work
5c250e63086741ee9e1ae00f555260afdfc16cc2
0c26de21502489aeff1897054c2f7d586e0d9684
refs/heads/master
2020-07-16T04:55:40.682791
2019-12-03T23:50:41
2019-12-03T23:50:41
205,723,657
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
#%% from random import choice from gutenberg.acquire import load_etext from gutenberg.cleanup import strip_headers from textblob import TextBlob import nltk text = strip_headers(load_etext(60457)).strip() answerUser = strip_headers(load_etext(1524)).strip() blob = TextBlob(text) source= open('C:/Users/sa418774/Desktop...
[ "sa418774@ucf.edu" ]
sa418774@ucf.edu
5d350e9643cc84e27261bf7db92244c305f5da2c
24fac945c7825c502f9fb2e6df06db26b80b5676
/blog/models.py
da8693a19118bfee451413073db331c1169e52c4
[]
no_license
mario220696/my-first-blog
8f0a9883c4ecde58a8c3483e5ad0823b81a4db7c
72ec03a579965c984a770f0c4cca0a3eca28aa46
refs/heads/master
2020-03-17T11:48:03.954834
2018-05-15T19:28:36
2018-05-15T19:28:36
133,564,112
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() create_date = models.DateTimeField( default=timezone.now) publ...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
7a99dbfd5c743c18645b105510b5d195beabbf1b
dd8daa4488be9e9c245d0c941afa7f1ad6924857
/mainpage/migrations/0007_alter_article_article_audio.py
4b676860b89cc491ece4f2fe08c0b1632c19f15d
[]
no_license
2021-software-training/CQUTieba
924e7db823eb65562c7a76f2345f65a9a94e96b8
59b3debbfa9b1aee267f8423c3a0ac03cdd8d11d
refs/heads/master
2023-06-18T13:36:07.138091
2021-07-17T07:59:37
2021-07-17T07:59:37
384,048,024
2
0
null
2021-07-12T13:32:04
2021-07-08T08:02:18
Python
UTF-8
Python
false
false
405
py
# Generated by Django 3.2.5 on 2021-07-15 15:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainpage', '0006_remove_comment_comment_audio'), ] operations = [ migrations.AlterField( model_name='article', name=...
[ "60684451+Aw0m@users.noreply.github.com" ]
60684451+Aw0m@users.noreply.github.com
d26c22811198cb740c2f0d08c8d2405e5e3b2b21
be449eb0d57035c5672d11e3db6015be463e2ccf
/new.py
5bcf74db314af875d31ddd210d472d54683b3310
[]
no_license
8181suisho/gitpractice2
63b0d3e9749f6907210083fd92af6cfe2088969a
a396fb99c293d922e1c66431d316af87426d97b0
refs/heads/master
2020-12-23T13:36:51.194123
2020-02-09T20:06:53
2020-02-09T20:06:53
235,830,491
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
practice2 = "charenge pull" print(practice2)
[ "noreply@github.com" ]
noreply@github.com
f68284110d8f1e34f8c2d030c2e1f6b25773070c
60537c95e827a279fdc2cc26b8739a328e8f3b23
/scripts/install/opt/seagate/cortx/motr/bin/motr_mini_prov.py
da900815323934fcbda105c0f16a4f3c8642923f
[ "Apache-2.0" ]
permissive
xuning97/cortx-motr
aa6f49e77ef4d034d6ff16defcf16a60aa7089dc
9fe714bb30fa069cbb3bed9c09c09e407623f31f
refs/heads/main
2023-03-02T10:54:24.653670
2021-01-29T14:01:55
2021-01-29T14:01:55
334,010,300
0
0
Apache-2.0
2021-01-29T02:03:41
2021-01-29T02:03:40
null
UTF-8
Python
false
false
8,735
py
#!/usr/bin/env python3 # # Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates # # 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 # ...
[ "noreply@github.com" ]
noreply@github.com
6a7d86e8d99455a983c64c61263ac4c176fece7f
be49b64225e4922b13e1891761408cd8b76b7e1a
/ngs_germline/smk/var/var_varscan.smk
320b6b068d7ed97b09a6942a35c8dde06918af13
[]
no_license
PengJia6/BioPipe
c727a62305eb1417db6614127cbfcd79ee0b7ec2
430be9e8f0277d46d6da4487d2b99b7ab1cc6130
refs/heads/master
2023-02-12T17:04:33.187852
2021-01-10T08:57:09
2021-01-10T08:57:09
226,059,894
0
0
null
null
null
null
UTF-8
Python
false
false
4,830
smk
# Samtools Calling # https://samtools.github.io/bcftools/ rule Samtools_Mpileup: input: unpack(getHQbamsample), ref=path_genome, sindex=path_genome + ".fai" output: path_data + "germlineVar/varscan/perSample/{bam_sample}/{bam_sample}.Samtools.mpileup" params: ...
[ "pengjia1110@gmail.com" ]
pengjia1110@gmail.com
23f3e43c270309d1ade32b0682a98185311ac35f
ef60d569adaa0c2e11ef6884713315ff915dc4e4
/helloagain2.py
a504b7a6cac5081e2dff395927bcbf791c323d11
[]
no_license
georgiawallace/assignments-hackthehood
5593d9e8797438d83a9e6902e3332f31039a3fd5
2bd006f83a52feba26a49f06e7e95d690febe934
refs/heads/main
2023-06-02T14:00:52.152700
2021-06-17T18:46:39
2021-06-17T18:46:39
377,247,248
1
0
null
null
null
null
UTF-8
Python
false
false
277
py
print("hello world") bool = True pool = False if bool: print("Hello again") else: print("guess not!") grocerie_dict = {"Chicken": "$1.59", "Beef": "$1.99", "Cheese": "$1.00"} phone_number = {"moms number":"3234852625", "dads number": "3234851030"}
[ "noreply@github.com" ]
noreply@github.com
65de156e4c96c3dd42682c01939f1b278948f55f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/171/45106/submittedfiles/testes.py
cf1fb2c89698a63423322164069c8b6bb6f82f80
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# -*- coding: utf-8 -*- import math #COMECE AQUI ABAIXO n=int(input('digite o numero de pessoas:')) menor=500 maior=0 for i in range(1,n+1,1): nota=float(input('digite a nota:')) if nota>maior: maior=nota if nota<menor: menor=nota print(maior) print(menor)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
cea8580c65ae268aeb7b6eb50e89b4021099b025
894b290b4f4f47b5eb523c23efd7bd6110d91b2f
/54_Rentalshops58/Rentalshops58/Rentalshops58/pipelines.py
fa51a420fad1a95f3d4149152bd30da81ad75e3f
[]
no_license
wliustc/SpiderS
6650c00616d11239de8c045828bafdc5a299b1ce
441f309c50d28c1a3917bed19321cd5cbe7c2861
refs/heads/master
2020-03-27T06:15:39.495785
2018-06-14T07:55:44
2018-06-14T07:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import codecs import json class RentalShops58Pipeline(object): # def process_item(self, item, spider): # return ite...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
fca6e040ae44e3085fde8c66889736e740be905c
ac924e7192a2d38380a903ea908edd659c8d997d
/BoostedDiTauReco/makeFileListTCP106X.py
ac4301f887cf760195952842c57b284d07ec6409
[]
no_license
jingyucms/BoostedDiTau
e7209d7a9c7e5e4073dfe3a31af58185c013b24a
d28b83e07367452464d01090ab5037261ccc4900
refs/heads/master
2023-08-19T00:32:49.528310
2021-10-15T21:33:06
2021-10-15T21:33:06
178,277,147
0
2
null
2023-08-21T14:58:54
2019-03-28T20:27:24
Python
UTF-8
Python
false
false
1,230
py
import sys,string,math,os,glob import numpy as np prefix = "root://xrootd.unl.edu/" filesPerList=50 def checkAndMakeDir(dir): if not os.path.exists(dir): os.mkdir(dir) def clearDir(dir): for fil in glob.glob(dir+"/*"): os.remove(fil) masses = ['30','50'] bins = ['0to100','100to400','400toI...
[ "jingyu@fnal.gov" ]
jingyu@fnal.gov
dfef2af78351db7d5277646c1d8eca210361e3cf
514676efb23a98fbce52bca937c7690f37dfa255
/src/dlc_practical_prologue.py
9fa7914271c05b1c09f9872804edab75c51e6d03
[]
no_license
giorgiosav/dl-proj1
78f4a9173329c6b5b15d4e46cac3461766ba75a6
194e2074cad6bc1a22a33c1e1ddd69091c21e6db
refs/heads/master
2022-12-27T21:10:32.450643
2020-10-08T11:06:47
2020-10-08T11:06:47
252,936,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
# We deleted all the parsing due to conflict with the test.py main # Left only the useful part for the project import torch from torchvision import datasets import os def mnist_to_pairs(nb, input, target): input = torch.functional.F.avg_pool2d(input, kernel_size=2) a = torch.randperm(input.size(0))...
[ "manuel.leone97@gmail.com" ]
manuel.leone97@gmail.com
b2e57fbb5272479185936b8f46de858418ed5c6f
8f1452b97b07212c91deec8b0c6feba7b86c94dc
/server/sks/lib/DHTThread.py
703980dff706835fead281d82bc1dfc8980b1d36
[]
no_license
WaterInit/p2p-kademlia
d9d7cb114795b204c7ecb306276cb4862a301955
b3e0ccc0fa91908e2f765b0478f7a737dbc849fb
refs/heads/master
2021-03-19T15:32:26.028210
2016-02-10T13:14:40
2016-02-10T13:14:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
#!/usr/bin/python3 #from django.test import TestCase import threading import queue from .node import node class DHTThread(threading.Thread): def __init__(self, ip, port): print("Init DHTThread") super(DHTThread, self).__init__() self.input_q = queue.Queue(1) self.output_q = queue.Queue(1) self.ip = ip ...
[ "fabio@tacke.berlin" ]
fabio@tacke.berlin
324f5fb3ebcda6221486b19a9815616f355fd473
2ad2a8e49fcfbc36bf4fbde88bbc54191e6cddf1
/networking-odl/networking_odl/tests/unit/ml2/test_driver.py
e2ceda56c82d31e9c52cad03a7c6491411405f1d
[ "Apache-2.0" ]
permissive
opnfv/fds
70b7cd819ad9f64e009615dfdda970e4ba31ed02
20cef81fd594f10949e151fd5a0a439af0a844e4
refs/heads/master
2021-01-12T10:57:33.088576
2018-09-18T14:47:07
2018-09-18T14:47:07
72,769,062
1
2
null
null
null
null
UTF-8
Python
false
false
4,553
py
# Copyright (c) 2013-2015 OpenStack Foundation # 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 # # Un...
[ "wdec@cisco.com" ]
wdec@cisco.com
09df95570b523b2551725ec260de6aadf05ddfc3
bef8629b62ef6a8db8f8bdb54e2d8d10be6feb4a
/src/breeder.py
3eea331334782793c1e773ab8a832ac925526b20
[]
no_license
firemark/srpp-travel
5ee8a6b80e935bfa2a36d1505490ae82972fc765
94590274356f979d73b36428dcee1591d0c89503
refs/heads/master
2021-01-13T01:40:46.086028
2013-12-03T23:16:07
2013-12-03T23:16:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,532
py
from random import shuffle, randint from chromosome import Chromosome from models import World from config import mutation_chance_perc, population class Breeder(object): chromosome_list = None chromosome_list_paired = None def __init__(self, chromosome_list): self.chromosome_list = [] se...
[ "kozak127@gmail.com" ]
kozak127@gmail.com
7a7016e9c99a4b6c025f3b6089460b2f5b45ccfc
4ced88bdafcd597b841173a1cfa750ec6baa81c4
/Task_1/exercise_three/scripts/data_processing.py
61195d07706e919ef0af9abfa2d13b631535c56c
[]
no_license
MayarSherif/ARL_workshop_task
be0747af914449d2c07b3f22d38050f1cd90e5a6
5b7a32ca704e5b19b44f32d55817cb712b633377
refs/heads/main
2023-08-14T23:54:46.423570
2021-09-15T22:29:51
2021-09-15T22:29:51
406,930,976
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code...
[ "noreply@github.com" ]
noreply@github.com
a749d89fd7026d3bdab5ab5831b489359aac321b
6c3ec03233ac2af56175506baf3fdc382a62ceb2
/python-leetcode/172-factorial-trailing-zeroes.py
309583d0fb324ffe34c4f598e1ce018fb1ee21a8
[]
no_license
scottliu77/leetcode
e9e4a9c56b8fe9bc15c566b27c5fa924bd25fe17
2ec7dcb8d7359ae4487767d86ebcecd3da979946
refs/heads/master
2021-09-24T11:30:40.023600
2018-10-09T03:19:28
2018-10-09T03:19:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
''' Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. Credits: Special thanks to @ts for adding this problem and creating all test cases. ''' class Solution(object): def trailingZeroes(self, n): """ :type n: int ...
[ "scottliu77@gmail.com" ]
scottliu77@gmail.com
44174235a9fe80a22805bf5f1cf227c84e48c908
be1c645dea7f35dea75a63d4984fdfdd31c15f3f
/tasking/users/forms.py
9f48340d3a327a2e288d7d5d29fba60632088fdb
[ "MIT" ]
permissive
cmanallen/tasking
e46b2c5ec818d320fb59484751a2892e46e47489
0a613357148afdb4b55078c58429ec45bb60a436
refs/heads/master
2021-01-10T19:38:17.958677
2015-01-09T18:58:57
2015-01-09T18:58:57
22,313,809
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
from django import forms from .models import User class UserRegisterForm(forms.ModelForm): password = forms.CharField(widget=forms.PasswordInput()) def save(self): user = super(UserRegisterForm, self).save() user.set_password(self.cleaned_data['password']) user.save() return user class Meta: model = U...
[ "cmanallen90@gmail.com" ]
cmanallen90@gmail.com
d75b52141ade9e0f978c5b80994b23852e84b5a5
a40057412754495d997e913bba9cfacb028e2990
/02_face_alignment.py
28d6cdaf4a18a133350fbbe824f9dc04d4b3f270
[]
no_license
iorilan/dlib_on_ubuntu
5cb49bb27c612093008124e0497c8d66911c8d76
d9eababbbfad9b450fdb4ca9fd821504b01a60e0
refs/heads/master
2020-03-29T13:42:34.545246
2018-09-23T11:25:07
2018-09-23T11:25:07
149,977,684
0
0
null
null
null
null
UTF-8
Python
false
false
2,434
py
#!/usr/bin/python # The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt # # This example shows how to use dlib's face recognition tool for image alignment. # # COMPILING/INSTALLING THE DLIB PYTHON INTERFACE # You can install dlib using the command: # pip install dlib # #...
[ "iorilan@hotmail.com" ]
iorilan@hotmail.com
7d351e5edb6ffa58eb342618e8e83d01136005e2
3e968e71b4ef72a2c199675943d7a951faa57f49
/test.py
211eb1aae5d568cfa03058fc86333b790978fcca
[]
no_license
sanbuddhacharyas/Agrodoctor_NeuralNetwork
b2e7f288769270036ad75fd75a58d923c29dcd55
8f0141f44bb77c920c78883c6eee52ce556e88fb
refs/heads/master
2020-04-26T14:10:22.254124
2019-03-03T16:57:30
2019-03-03T16:57:30
173,603,414
1
0
null
null
null
null
UTF-8
Python
false
false
315
py
from darkflow.net.build import TFNet import cv2 cap = cv2.VideoCapture(0) options = {"model": "cfg/tiny-yolo-voc.cfg", "load": "bin/tiny-yolo-voc.weights", "threshold": 0.2, "gpu":0 } tfnet = TFNet(options) while True: ret,frame = cap.read() result = tfnet.return_predict(frame) print(result)
[ "sanbuddhacharyas" ]
sanbuddhacharyas
7f320945fd7779cecaefc22eea6ef98e7d485e3b
d83c8108ec83f75e0f080f6ef4463b33a4031648
/pythonarch.py
356556b88218317a38633b467f076fe163514c3d
[]
no_license
VijayalakshmiHuddar/source_code_clusters_remote
217e40caf4ecb99fce761f518cc2e988626e94d2
82a56915f1844740f6584ecf1fcc26070bbdda00
refs/heads/master
2022-05-18T05:55:45.249912
2019-06-10T12:36:02
2019-06-10T12:36:02
190,908,638
0
0
null
2022-04-28T20:38:28
2019-06-08T16:12:24
JavaScript
UTF-8
Python
false
false
1,597
py
Volume in drive C has no label. Volume Serial Number is D8A5-E423 Directory of C:\Users\Desktop\Data_archive_clusters 11-04-2019 19:18 <DIR> . 11-04-2019 19:18 <DIR> .. 11-04-2019 19:06 359 java.txt 11-04-2019 19:06 412 javaarchive.txt 11-04-2019 19:08 ...
[ "viju.oct10@gmail.com" ]
viju.oct10@gmail.com
bb5856df7071cf837ec7b1544137dc9c978b235a
b02488bfef4c0ed39e258c2610b8c1c574881045
/hitch_api/hitch_api/settings/base.py
760cfa847f3bedcdae92dfede02b2ee4b13e084b
[]
no_license
Noeuclides/Hitch_Tech_Interview
afb39791839cf15d20f849e7ac4baa1499eaf346
255d4696809c26fae82ca3df0f7e0d123aac6d1f
refs/heads/master
2023-03-10T08:05:35.879686
2021-02-23T16:08:57
2021-02-23T16:08:57
341,252,196
0
0
null
2021-02-23T05:46:25
2021-02-22T15:49:29
Python
UTF-8
Python
false
false
2,986
py
""" Django settings for hitch_api project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
28bf1f510cea118cf5d60a1fe31fd10baf986b7d
00b433beed184444a73710bb148233a872ecac23
/CozmoMusicMan/model/sound_player.py
4e5750ecabd85abcca8bd3b2d3a531dfb1d299ea
[ "MIT" ]
permissive
Hoomano-Hackathon/CozmoIsCute
a927ba59c8b20a47e8c49e1e12ae0669989b7dac
9b588b269e7a977f348814add5c7f76407d9b0e9
refs/heads/master
2021-01-25T10:51:16.623339
2017-06-12T12:05:05
2017-06-12T12:05:05
93,889,017
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
import pygame import os import time NB_MUSICS = 64 class Sound: def __init__(self): pygame.mixer.init() pygame.mixer.pre_init() dir_path = os.path.dirname(os.path.realpath(__file__)) self.s = [] files = os.listdir(os.path.join(dir_path, "Sound")) files.sort() ...
[ "r.dharreville@gmail.com" ]
r.dharreville@gmail.com
36f25095194fc8974ee0e984ad52867f04881322
2853b24860719047c956f68a9f16ecf246fc876f
/CS235Flix/adapters/memory_repository.py
170069b5c54051a18e1d63d698bae62b6dc13ca0
[]
no_license
nlon982/Assignment2Comp235
afae7feff67d4e7d0b335722244b10acf92be0f6
11a9a260278ba15776c7b174e1e7deef7d5f8ff3
refs/heads/main
2023-01-02T00:16:18.870038
2020-10-26T11:42:05
2020-10-26T11:42:05
307,016,054
0
0
null
null
null
null
UTF-8
Python
false
false
6,968
py
import csv import os from datetime import datetime from CS235Flix.adapters.movie_file_csv_reader import MovieFileCSVReader from CS235Flix.adapters.repository import AbstractRepository from CS235Flix.domain.movie import Movie, get_movie_hash from CS235Flix.domain.director import Director from CS235Flix.domain.actor i...
[ "nlon982@aucklanduni.ac.nz" ]
nlon982@aucklanduni.ac.nz
09e07c9f9bb102b9fe6de09c34f48d77a3337e8b
e2e35d5c433c47ac31d8e2df037405c87456de5a
/CIFAR-10/Estimate/models.py
c3457d710fac5b7408a7b33806ed49d692e1128e
[ "MIT" ]
permissive
ihaeyong/Robust-f-divergence-measures
8ca73e708d72fed8b20ecbc5ceb84600b7828ad5
93d9efe616b777602fa40e966c58ba7a280fae5e
refs/heads/main
2023-03-07T20:22:06.516868
2021-02-15T09:00:39
2021-02-15T09:00:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,543
py
from __future__ import print_function, division import numpy as np from keras.datasets import mnist, cifar10, cifar100, imdb from keras.models import Model from keras.layers.core import Dense, Activation, Flatten from keras.layers.core import Dropout, SpatialDropout1D from keras.layers import Input from keras.layers....
[ "noreply@github.com" ]
noreply@github.com
c8616b59d9be5b89978e12d61e49d23dfe326685
9bc7e06351e081c2d5dd4d35f0e30359a7dc3718
/AFQ/dti.py
9e273470ed5ca1e82f88f3bc9d5a66538b76fc9e
[ "BSD-2-Clause" ]
permissive
jhlegarreta/pyAFQ
538fb282c9a0c41bc9dbf77d67d08047a7f9ecc9
e4369e470de564cfcccde3366016903b79112abf
refs/heads/master
2020-04-13T06:10:06.562664
2018-10-10T04:47:51
2018-10-10T04:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,518
py
import os import os.path as op import numpy as np import nibabel as nib from dipy.core.geometry import vector_norm from dipy.reconst import dti import AFQ.utils.models as ut __all__ = ["fit_dti", "predict", "tensor_odf"] def _fit(gtab, data, mask=None): dtimodel = dti.TensorModel(gtab) return dtimodel.fit...
[ "arokem@gmail.com" ]
arokem@gmail.com
a4661a157f215037db65aa8089f8630a7fb5f3f9
60a7ecc3fc5a91661554d15b14ab3f6a73771f0f
/feature_extraction/load_paths.py
e47c18b54b2fadb06b43af9c92bb4532f6135052
[]
no_license
shannonyu/FAQ_rank
7ccf8d298b5b93b64cf72bfa3acee12b1ce4c60b
419ade38e382847c909e740a63cf92843a8ef292
refs/heads/master
2020-03-27T15:22:18.971421
2018-08-28T09:54:01
2018-08-28T09:54:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
import os import re import yaml import xml.etree.ElementTree as ET def get_filepath(datafolder): """ save the xml files except for the multiline files""" return [os.path.join(datafolder, f) for f in os.listdir(datafolder) if "xml" in f and "multiline" not in f] def filepaths_fromdict(datafolders): """take...
[ "noreply@github.com" ]
noreply@github.com
ea4ff4d37882f8ad8400d29764c18d576236198c
4a510c304d5b262a583192c4d3d2a701157b6f87
/inputData KSDr/dataKBS1.py
13dac6c2357a72110eb6be5dddb2789dc767dfaf
[]
no_license
ChantalDE/MADLION
4672b9060f6d20d87202c6cef2ce27cebc2941f8
ecedb451fabb44b3aeeca893e0eaa8fc2bb64219
refs/heads/main
2023-02-03T23:30:19.680551
2020-12-11T22:10:46
2020-12-11T22:10:46
300,331,693
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
import psycopg2 #from receive_lob import do_process #data = do_process() #doa_value = data[0] #conf_value = data[1] #pwr_value = data[2] #lat = data[3] #lon = data[4] #test hardcoded values name = 'KBS1' angle = 38.17583333 lat = 27.957261 lon = -82.436587 conf_value = 2 pwr_value = 3 try: connection = psycopg2....
[ "noreply@github.com" ]
noreply@github.com
e26428af933a1c4b112a53431bf1e3655d13ebd2
7bf06a59f3cd0d7e207155ebb01d4300efafb7b5
/oslo/log/openstack/common/rpc/proxy.py
9ab61c18af96e6412f517b7f4efc6483e2d8d189
[ "Apache-2.0" ]
permissive
citrix-openstack-build/oslo.log
be41e6f72ee7a30ddbd29a761742e4ce58029a53
f3f275a7625425d8790aa92ab9f94a51474d0aab
refs/heads/master
2021-01-11T09:57:11.123286
2014-09-09T08:10:53
2014-09-09T08:10:53
24,143,275
0
0
null
null
null
null
UTF-8
Python
false
false
9,454
py
# Copyright 2012-2013 Red Hat, Inc. # # 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 applicable law or...
[ "dims@linux.vnet.ibm.com" ]
dims@linux.vnet.ibm.com
0803cf05c575a050e799a508b367e85647ab4042
75d348d60252eb9a4b3c98c5659991cc8ecc267c
/build/demos/dnn_rotate/catkin_generated/pkg.installspace.context.pc.py
1ea18cc2452d5cd70cc8104fdc1a8d650fc80eac
[]
no_license
ipeitzsch/3D-Mapping-Using-a-UAV-an-IMU-and-a-2D-LiDAR
379c2736d926599f20b2b39f64aa6f24327108f1
32d32a776854557fb66433dc3f7cca6ec69a9b9f
refs/heads/master
2020-05-31T00:29:40.733706
2019-07-15T22:29:12
2019-07-15T22:29:12
190,035,574
2
2
null
null
null
null
UTF-8
Python
false
false
460
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/ubuntu/catkin_ws/install/include".split(';') if "/home/ubuntu/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "dnn_detect".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "...
[ "irpeitzsch@gmail.com" ]
irpeitzsch@gmail.com
284c69195a94e570fa9b18b630f8dd6c444c0ded
b9d4204a4429350f35ce379c2673e3a5622fa52e
/chore_Hop/urls.py
dba93bc03196b11434d8e4ad805b74628a15926e
[]
no_license
Jgomez1996/chore_Hop
7f362f6d6427bd01b33e1f6a35fe05eeeb1570a4
00a844dfa061fa4c7b63a6ab77ca512ae42eac5e
refs/heads/main
2023-04-07T22:32:14.428644
2021-04-05T18:03:34
2021-04-05T18:03:34
353,771,884
0
0
null
2021-04-05T18:05:47
2021-04-01T17:09:50
JavaScript
UTF-8
Python
false
false
803
py
"""chore_Hop 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-bas...
[ "kiki@cmeincgraphics.com" ]
kiki@cmeincgraphics.com
4bf94bdf8bcd8eb9a765460ba1c3722851fe93e0
b1c648fbc10dac9a5da8a8dc5fce88be61e2dafc
/Hw6/13/13.py
4a7e82f98959795de10433defd41a42add32897a
[]
no_license
Plabo1028/ML_NTU_HW
1be6955810d8a1b74ba3bc7399646ba11af84a1e
abd5b175a195eaf0a6ce376c891d03e948d6c5ac
refs/heads/master
2021-01-10T16:01:19.072317
2016-02-02T13:46:06
2016-02-02T13:46:06
42,713,131
0
0
null
null
null
null
UTF-8
Python
false
false
5,808
py
import numpy as np import sys, math import pylab as pl from random import * def calculate_Ein(x,y,u): ''' calculate median of interval ''' theta_interval = [] for i in range(x.shape[0]-1): # print i if i == 0: theta_interval.append(float('-inf')) theta_interval.appen...
[ "qewradsf1028@gmail.com" ]
qewradsf1028@gmail.com
ce8e2a80a4fdb0ea8e9edb5ce8e9f1042e40dee5
6c7b148130d60cd99a5b414d5194b71a8c702e18
/setup.py
938fdb1c9d28be6ca6cadb655922b0437615d960
[ "ISC" ]
permissive
babab/tuhinga
2fcb4fa0d9afb202b34a7d508be8d7feff05e302
c4de1f4cd7ea3eb18a049a3091a73bfba335b4a3
refs/heads/master
2020-05-19T13:39:49.752307
2015-06-08T13:15:59
2015-06-08T13:15:59
28,750,376
1
1
null
null
null
null
UTF-8
Python
false
false
2,202
py
# vim: set et ts=4 sw=4 sts=4 ai: from setuptools import setup import tuhinga setup( name='tuhinga', version=tuhinga.__version__, description='Minimalistic markup language that translates to XML/HTML', author=tuhinga.__author__, author_email='benjamin@babab.nl', url='http://github.com/babab/tu...
[ "benjamin@babab.nl" ]
benjamin@babab.nl
cf446bad7c1c634252be91eb0857d97fc533227f
088276a2b02f74493c6303cbf17573957e1c2b3e
/KIWOOM/3_sqlite.py
59417a7e212b24bd81d4e0e6c52c91ba6a956c48
[]
no_license
naikiki87/python
38f3ec9ed55b48df136708ad8e90e4358d536ca3
3c75cace24258c84b682e06033130ee627f7883c
refs/heads/master
2023-06-05T09:49:51.931345
2021-06-30T04:35:41
2021-06-30T04:35:41
268,022,083
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import sqlite3 # con = sqlite3.connect("D:/python/db_sqlite/kospi.db") con = sqlite3.connect("./kospi.db") cur = con.cursor() # cur.execute("CREATE TABLE PhoneBook(Name text, PhoneNum text);") # cur.execute("INSERT INTO PhoneBook Values('Derick', '010-1234-5678');") cur.execute("SELECT * FROM PhoneBook") for row in c...
[ "naikiki87@naver.com" ]
naikiki87@naver.com
a6dd3866eb3a9750c3726ce8a4d7752a01cf6294
9947d1e328a3262a35a61385dc537c3dc557ab7d
/The_diffcult_point/test_super.py
332b966157b3e69fadeb60b6f17ab326afdfe6a4
[]
no_license
nuass/lzh
d0a7c74a3295523d1fe15eeaa73997fc04469f06
3cb1cf1e448b88ade226d113a7da4eab7bbb5c09
refs/heads/master
2021-02-06T06:10:32.772831
2019-06-10T08:54:49
2019-06-10T08:54:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
# coding=utf-8 class A(object): def hao(self): print("A") class B(A): def hao(self): print(self.__class__.__mro__) super(B,self).hao() print("B") B().hao()
[ "1581627402@qq.com" ]
1581627402@qq.com
a95cd447f2c5ed8448c46ac16af9dd1ab0b44f9d
8b7c0ab7d9e18c7ef5ff96ae0ad69ca8dcb5f9f3
/guest/sign/models.py
d5a91ca7160b18c5683de6cb4af8782f42bedc55
[]
no_license
HCT118/guest_repository
7811aca4f6b921874ebf6b40bd7a43d6e91836df
63087825116b96238f7cdd91ee771817df01b593
refs/heads/master
2021-01-20T19:57:11.425199
2016-08-16T01:45:32
2016-08-16T01:45:32
65,777,335
1
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
from django.db import models # Create your models here. # 发布会 class Event(models.Model): name = models.CharField(max_length=100) # 发布会标题 limit = models.IntegerField() # 限制人数 status = models.BooleanField() # 状态 address = models.CharField(max_length=200...
[ "nature-118@163.com" ]
nature-118@163.com
0992b0c379cfae2ef2b543e01d98c395df4e38b1
7e27d2b844e962a567e0311a6eb5ccf3fcdc7b98
/lib/exabgp/configuration/current/l2vpn.py
ec197e604d92497bcdac9a1cd9c9241d57eb32fc
[]
no_license
slabakov/exabgp
1dbf6a98b06a2c2cdbeedf0954d0429f0dbf98fb
33f851d70715f4ba1792acc36436ef32b70c30c9
refs/heads/master
2020-12-30T19:46:09.570146
2015-06-05T15:36:19
2015-06-05T15:36:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
# encoding: utf-8 """ parse_l2vpn.py Created by Thomas Mangin on 2015-06-05. Copyright (c) 2009-2015 Exa Networks. All rights reserved. """ from exabgp.configuration.current.basic import Basic class ParseL2VPN (Basic): syntax = \ 'syntax:\n' \ ' l2vpn {\n' \ ' vpls site_name {\n' \ ' endpoint <vp...
[ "thomas.mangin@exa-networks.co.uk" ]
thomas.mangin@exa-networks.co.uk
680b905428d8476bf2432d2b6bec403125573f01
ad062b5d940a25b19855e1744a9061aec37805cf
/Clustering2.py
df8fe4df443ffff37577a2d1176f87041cafa48b
[]
no_license
djbelyak/PsyAnalysis
782f0948d5ccac56804ce611037bbe1ea9e03913
4f310de3232eae9b8377966ff84216878de6e459
refs/heads/master
2020-03-26T01:42:07.612231
2015-04-21T15:10:56
2015-04-21T15:10:56
34,334,603
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
from numpy import loadtxt from sklearn.cluster import DBSCAN from sklearn.pipeline import make_pipeline from sklearn.preprocessing import Imputer fileName = "Book1.csv" data = loadtxt(fileName, delimiter=';', skiprows=1) print data pipeline = make_pipeline(Imputer(), DBSCAN(eps=3.161, algorithm='ball_tree', min_sam...
[ "djbelyak@gmail.com" ]
djbelyak@gmail.com
fe36467b4eedea7503d1237ef94c8e271e6d9172
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2_neat/16_0_2_algopiggy_codejam2.py
b5738aafdb4b48373f018ffc972bf9a5528e35b8
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
467
py
def func(p): n=0 s=0 index=0 while index < len(p) and p[index]=='-': index+=1 if index>0: n=1 for i in range(index,len(p)): if s==0 and p[i]=='-': # encounters a - after + s=1 elif s==1 and p[i]=='+': # encounters a + after - s=0 ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
415081eb7337bc054786897989d04751650d570c
c922252e52eea97b7557937a2558bbec664d2e07
/search/urls.py
c1bf06d10230d5caea9f4253015244e5b7c6d24c
[]
no_license
strar-buck/twitter_insta_news_feed
cfe1d4cd88b6dc938134d82ec0c960090390aee3
22858054ebf7821d4e5469163b14b542983fadff
refs/heads/master
2021-06-11T01:26:30.671568
2017-02-01T09:11:09
2017-02-01T09:11:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from django.conf.urls import url from search import views urlpatterns = [ url(r'^search/tweets/', views.search_tweets, name='search_tweets'), url(r'^search/insta/', views.search_insta, name='search_insta'), url(r'^$', views.index, name='index'), ]
[ "djangopycon@gmail.com" ]
djangopycon@gmail.com
c3b2a2b690ae818621012fa290d2e1de48a46b0f
6dd2c91fb434c096b9582531522a684e8b3e4bfc
/syn/32_xsynon_phil.py
2a3fd0d68774f5cf96db723631d656bf8a9f8fda
[]
no_license
sichumon/synandant
09dd6f991484a30be3b2503425813333c4b3b579
3d1c56a32e04556c46ee112045b18c84e3a131e3
refs/heads/master
2020-07-17T22:24:10.815968
2019-09-03T15:41:51
2019-09-03T15:41:51
206,112,413
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
py
#!/usr/bin/python import string import random nlist = [['chaos', 'mayhem'], ['able', 'competent'], ['chaotic', 'disordered'], ['skilful', 'clever'], ['pandemonium', 'chaos'], ['colossal', 'huge'], ['intricate', 'complex'], ['conceited', 'arrogant'], ['contract', 'settlement'], ['converse', 'talk'], ['coy', ...
[ "siju@localhost.com" ]
siju@localhost.com
ad4b79a74342aaad36f65b8ae24c44990f5fe4cc
5ce92e9515236f6fb87ac977cf4558d49e361da6
/twitter_thread/auth_backends.py
917f324ed2569e689865e948fccd673c43b7fc59
[]
no_license
JWatkins20/twitter_thread
a0e4e7bd33970227848c66bcf0403c98c0b13a32
df5f24f600a08e26a348af9b2564d547c15471ad
refs/heads/master
2022-11-06T22:17:23.749408
2020-07-30T15:12:24
2020-07-30T15:12:24
262,909,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
from django.conf import settings from django.contrib.auth.backends import ModelBackend from django.core.exceptions import ImproperlyConfigured from django.apps import apps class CustomUserModelBackend(ModelBackend): def authenticate(self, username=None, password=None, **kwargs): try: user = sel...
[ "38019485+JWatkins20@users.noreply.github.com" ]
38019485+JWatkins20@users.noreply.github.com
ad32ef3a8a166008f96ba4263fa9fefd1dfb39fa
c789641c4e3368541bdfe1bd4a13563622845bc0
/alien_invasion.py
2832011d51182795748e9f897378186ad8b5dc46
[]
no_license
jimboozoz/Alien-Invasion
c860dbf71868bad2100a52cd38377d694f24c59d
df73b024ed7eb557b338117428d35a28dbaed9a8
refs/heads/master
2022-11-06T23:16:19.313190
2020-06-10T04:22:01
2020-06-10T04:22:01
271,169,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
import sys import pygame from settings import Settings from ship import Ship class AlienInvasion: """Overall Class to manager game assets and behavior""" def __init__(self): """Initialize game and create resources""" pygame.init() self.settings = Settings() self.screen = pyga...
[ "gustavosanc@hotmail.com" ]
gustavosanc@hotmail.com
1838b7866f0da3d4b64a2fc26ac90f64e3ca399f
b7a0702a22fd1d568aaebb53fb28327a2e2e515e
/tour/info.py
c3d30a277c45e59dacf0dd02570dae6983581ec9
[]
no_license
wSuhye/API
c2fd00a2621db0676ff0ea23ee8bb388b20e3929
bd7868715f3686169054fbda0c5f83713ae28051
refs/heads/master
2020-05-25T20:34:27.432490
2019-05-22T06:46:24
2019-05-22T06:46:24
187,979,047
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
import requests, xmltodict import json def InfoFunc(): # apiKey = 'R%2BomFWTHyWm%2FPdy9PWKNvk1TWKHzKxMlIAk9Xed%2Fyr5TdrNOqjPYe4L4wTDIiVak3%2FkgkowpiKN757INUz5gLw%3D%3D' # url = '' raw_data = f'http://api.visitkorea.or.kr/openapi/service/rest/KorService/locationBasedList?serviceKey=R%2BomFWTHyWm%2FPdy9PW...
[ "tngp8742@korea.ac.kr" ]
tngp8742@korea.ac.kr
076bd380512829e419772e1bf9829402d9be2022
6f026cb7bcca9a89cd1ce6764854a10116de9a10
/2al1/rotate.py
87d651850baae3d208ce04dc603ce9b2a0b81bf1
[]
no_license
bubushkin/opencv_experiment
5c4d3653319987e156a2cfaa42ec0d95d5eccc77
a5faf97f68093053b2dfb9f7901c3360552ff048
refs/heads/master
2020-07-19T07:43:03.020843
2016-11-27T07:11:10
2016-11-27T07:11:10
73,769,419
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
''' Created on Nov 24, 2016 @author: iskandar '''
[ "iskandar@askarov.org" ]
iskandar@askarov.org
a2464060f038d75f5b7906e1ad4eba0b78e60252
e910318d01528d82040507a49eeeb8dade45b31f
/tests/multi_net/ssl_data.py
788551d06a9a98e8a2af0b53d569355a03c91489
[ "MIT" ]
permissive
pfalcon/pycopy
e844480a5e5cd463530328889daed2ba87552b8a
3ac90ae9c3c6bbebfba9cada2d37025e35c62796
refs/heads/pfalcon
2023-08-30T09:39:52.290147
2022-09-08T16:42:38
2022-09-08T16:42:38
15,507,576
753
71
MIT
2021-05-08T04:59:21
2013-12-29T11:38:47
C
UTF-8
Python
false
false
2,885
py
# Simple test creating an SSL connection and transferring some data # This test won't run under CPython because it requires key/cert import usocket as socket, ussl as ssl import ubinascii PORT = 8000 # This self-signed key/cert pair is randomly generated and to be used for # testing/demonstration only. You should ...
[ "pfalcon@users.sourceforge.net" ]
pfalcon@users.sourceforge.net
d319c0a1f222f90ea687693f97695f6661d5d468
db5684eeac1c7359017a5d109028ce2b8b49d1a7
/app_rbac/forms/role.py
69b2ef8c424d894b2facb22f662425cd0f00ce1f
[]
no_license
Alan-AW/CrmSys
a4873c52e1f6bb05c45377459b0a040ff7dbbc75
95119dd7b96b981a00541e8adcee410eb1fbe865
refs/heads/main
2023-08-22T08:04:44.207347
2021-10-13T08:08:44
2021-10-13T08:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from django import forms from app_rbac.models import Role class RoleModelForm(forms.ModelForm): class Meta: model = Role fields = ['title'] # 如果直接写成 '__all__', 表示对所有字段都可以进行操作 widgets = { 'title': forms.TextInput(attrs={'class': 'form-control'}) }
[ "xcdh560@foxmail.com" ]
xcdh560@foxmail.com
7e6beccea0df80d8bc7f4e4c006266c1add8558a
975cac2bd861496702977c414a42b4a1f21e12df
/Snake.py
0fd61fb4608faa54cffc0608869fe0b784171052
[]
no_license
AikKh/SnakeGame
ff61eb5a7d867360757ad66fce0f65e88b40dacf
16ba0aa87426762e81b3726eacc611d09ed88f56
refs/heads/main
2023-08-23T03:27:55.945599
2021-10-19T08:32:36
2021-10-19T08:32:36
418,836,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
class Snake: _cor = [] def __init__(self, head): self._head = head self._cor = [self._head] self._size = len(self._cor) self._direction = None def snakeMaker(self): if self._direction == 0: self._cor.append((self._cor[-1][0], self._cor[-1][1] + 1)) ...
[ "akhachat@softserveinc.com" ]
akhachat@softserveinc.com
4f2d2efc8705f06a3f470a9a0321433434e07034
8558b7f65ae50dde5595f1ae73331b42d2db94ef
/Desafio2.py
3caa318fc4ca1292372234c3234feda634ac62b7
[]
no_license
pamsfih/Python-Projects
91e32d7859316690984fbdf5bb3033e48c658343
c5d0db4805dbb94e4758ff7362d7b15ac20796fe
refs/heads/master
2021-07-20T10:15:01.193260
2020-05-22T14:02:49
2020-05-22T14:02:49
171,526,579
1
0
null
null
null
null
UTF-8
Python
false
false
446
py
''' Online Python Compiler. Code, Compile, Run and Debug python program online. Write your code in this editor and press "Run" button to execute it. ''' # Ler o dia, mês e ano e mostrar mensagem na tela # dia = input ('Qual o dia que você nasceu?') mes = input ('Qual o mês...
[ "noreply@github.com" ]
noreply@github.com
309df542c787497111d6f5a5e8316f21b066b169
85a7dde9c48945972a7f521f0fbb2eb56b323aa2
/src/racecar/racecar/scripts/wall.py
81392b99d9a1053aef41ba18a713b8b9a02e1479
[ "BSD-3-Clause" ]
permissive
jwmcgettigan/renegade
1e8f61a14d6a5a7aff5c410f0c26bb166f95bd03
ef76bebc6867683e1fb3201be547f42aa6e65881
refs/heads/master
2021-04-06T13:53:12.945602
2018-07-17T22:09:13
2018-07-17T22:09:13
124,680,527
1
0
null
2018-07-17T22:09:14
2018-03-10T17:33:52
Makefile
UTF-8
Python
false
false
338
py
#!/usr/bin/python from item import Item import cv2, numpy as np, math class Wall(Item): def __init__(self, angle, distance): super(Wall, self).__init__() self.angle = angle self.distance = distance def getAngle(self): return self.angle def getDistance(self): ret...
[ "jwmcgettigan@gmail.com" ]
jwmcgettigan@gmail.com
0b0744d57bf13ad78238920e4eccaeb0cc149bce
d2252432a981125fe77d9c34ce7753332575dff6
/get_keywords.py
d89ab62ea8d58adbfc989aeec9d8b9cda26afe6e
[]
no_license
anastasiiaCher/keywords-network
132292e21b76669e5d1a711e601002b5e4dd9b13
93671e6ef79bb75d8bfa6ffc7fdeec97d3e10793
refs/heads/master
2020-09-13T12:04:38.829333
2020-05-04T10:46:48
2020-05-04T10:46:48
222,773,619
0
0
null
null
null
null
UTF-8
Python
false
false
5,967
py
import pke import nltk import csv import pandas as pd import unicodecsv as csv2 from nltk.corpus import stopwords from nltk.stem import WordNetLemmatizer nltk.download('stopwords') nltk.download('wordnet') lemmatizer = WordNetLemmatizer() file = open("stopwords.txt", "r") for line in file: words =...
[ "noreply@github.com" ]
noreply@github.com
50b53e22e810036a456495b488c6b16c6e493249
d4c47276c8fbd15240aa228eda04ee8e338caf02
/Python/Python 2nen/First/chap2/chap2-13.py
01888407e2cb14922c94d88d5a194cbc4c110d42
[]
no_license
developer579/Practice
a745384450172fb327913c130303ab76492096f1
54084468af83afcc44530e757800c8c3678147c1
refs/heads/main
2023-05-06T01:36:06.222554
2021-06-02T07:04:03
2021-06-02T07:04:03
324,312,009
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
import requests from bs4 import BeautifulSoup import urllib load_url = "https://www.ymori.com/books/python2nen/test2.html" html = requests.get(load_url) soup = BeautifulSoup(html.content,"html.parser") for element in soup.find_all("img"): src = element.get("src") image_url = urllib.parse.urljoin(load_url,src) file...
[ "69954570+developer579@users.noreply.github.com" ]
69954570+developer579@users.noreply.github.com
0bd83ff990ff936293623e8779875ff6ce165188
cc70c80a9a70827d1c76005067e8e9999ac3f7b2
/twitter.py
d227924314c903afdd64e1a6389e5cbbce585512
[]
no_license
guptaankush936/Twitter-Sentiment-Analysis
5af251332383080d976e5621ae5d4f1b07ea6b89
1a41c9024a017616cf3e55c32faec6955dae277c
refs/heads/main
2023-07-18T04:03:28.261701
2021-08-19T18:56:29
2021-08-19T18:56:29
398,045,538
1
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
# -*- coding: utf-8 -*- """ Connect Twitter webpage with the model """ # importing the required libraries from flask import Flask, render_template, request, redirect, url_for from joblib import load from get_tweets import get_related_tweets # load the pipeline object pipeline = load("text_classification.jo...
[ "noreply@github.com" ]
noreply@github.com
d22bead336d05eea1ac1ba5ab189322de7a5078d
a88894960dc60d477597089a8f6903b5994f7290
/fhikers_prototype v 2 1/rutas/migrations/0003_auto_20201125_1107.py
1781717d449e1d021190facaf15de8f2c4041c6f
[]
no_license
student10github/fhikers
ddb59440ff8415b87f0ebe65f4b9c66c3fdd36fe
aae9dc393506f822107599fc2ad5e8e58b0734ca
refs/heads/main
2023-01-28T23:03:04.176051
2020-12-09T13:29:51
2020-12-09T13:29:51
313,342,272
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
# Generated by Django 3.1.1 on 2020-11-25 11:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rutas', '0002_auto_20201124_1812'), ] operations = [ migrations.AlterField( model_name='ruta', ...
[ "student10github@gmail.com" ]
student10github@gmail.com
9c4061f174785212776e38574da8ada8490df6ac
8db57792bf725ba64c874cbb88324c97c55089a4
/opencv_webapp/cv_functions.py
d5772f3f6e32bedff5690ac77c0b49e22130b952
[]
no_license
sleepycat27/django_opencv
af7f22b0bb0e8f02ed5eb8c7e793da805d843956
642eb2dee2d4770d02d74edab24456d0f1138ec4
refs/heads/master
2023-06-28T16:48:36.981723
2021-08-02T04:27:19
2021-08-02T04:27:19
391,776,723
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
from django.conf import settings import numpy as np import cv2 def cv_detect_face(path): # path parameter를 통해 파일 경로를 받아들이게 됩니다. # path == './media/images/2020/02/21/test_image.jpg' img = cv2.imread(path, 1) if (type(img) is np.ndarray): print(img.shape) # 세로, 가로, 채널 resize_needed = False ...
[ "gueho91@gmail.com" ]
gueho91@gmail.com
ace9776350106333e01428703cc03f5b601d4100
cfdc7227acc9358672733e9860c5037726d8c58f
/fmanager/fmanager/migrations/0001_initial.py
9dcd6911a13d99687f3d33e16182b969e1241713
[]
no_license
andrav12/FinancialManager
1b44e25e7bbc3ab5fd991fb7caa2e8a9415a267f
dcd3546771b78199639d4413033e818264fc6598
refs/heads/master
2020-05-21T00:29:12.888000
2019-05-12T13:48:27
2019-05-12T13:48:27
185,829,164
0
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
# Generated by Django 2.2 on 2019-04-21 18:27 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "andralura@gmail.com" ]
andralura@gmail.com
40875c5acbf5a739eb7b464c44cc3f0f101a9b59
bc5e56d51d5b101b44a7ebdfc5cf34621337533f
/venv/Lib/site-packages/Crypto/Cipher/ARC2.py
fa997e4477a0a28ff83733627c0670d99f258ffc
[ "Apache-2.0" ]
permissive
alstjr8/KopoBlockchain
0879db2eb4ed1b26d8a337e14565d5ea2dbffa4e
7f875cee97c069f7ed6d067253834bd62218e826
refs/heads/master
2022-09-05T07:35:17.324397
2020-05-28T10:47:51
2020-05-28T10:47:51
265,499,071
0
0
Apache-2.0
2020-05-20T08:23:11
2020-05-20T08:23:10
null
UTF-8
Python
false
false
4,824
py
# -*- coding: utf-8 -*- # # Cipher/ARC2.py : ARC2.py # # =================================================================== # The contents of this file are dedicated to the public domain. To # the extent that dedication to the public domain is not available, # everyone is granted a worldwide, perpetual, royalty-free...
[ "62611680+alstjr8@users.noreply.github.com" ]
62611680+alstjr8@users.noreply.github.com
ec89933699fcc9f49abc83b7d57cd049397e8c5c
a60446e8ccfc1c4428467c226357bb2f5e418613
/core/migrations/0005_auto_20201105_1216.py
cc1dc3deebd1bd6e0db5278245656a0ae69f2bb2
[]
no_license
lucasousa/api-tourist-spots
06c64ce8e8d04ca684f91917e9f1bfc8c7ab1779
a01949fc69500c61019fafe565c0a170d414112b
refs/heads/main
2023-05-27T09:32:08.829557
2021-06-13T21:30:09
2021-06-13T21:30:09
376,287,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
# Generated by Django 3.1.3 on 2020-11-05 12:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('attraction', '0001_initial'), ('address', '0001_initial'), ('comments', '0001_initial'), ('evaluatio...
[ "lucas103101@gmail.com" ]
lucas103101@gmail.com
4508211a48184e786e5567dc14a2c0c6669617b7
c69103ac7c14828c8a14e6c57eca54ae1a23d28c
/temp.py
a018ebeb88236850f4342772aa20add57e0c0dbb
[]
no_license
iamaaditya/GoogleCodeJam
6e18fd83b1d3da4cc66af8889d3b6db3ae55529c
5a1c934d7b647aa135edcbf8143109eb6b91b275
refs/heads/master
2021-01-23T11:54:43.832702
2014-04-18T01:33:57
2014-04-18T01:33:57
18,745,451
0
1
null
null
null
null
UTF-8
Python
false
false
1,167
py
#Rectangular def printMatrixSpiral(width,height): """ width: width of the matrix height: height of the matrix """ result = [] #special case if width is 0 or height is 0 : return result #calculate outer loop limit if height<width: minS = height else: minS=width if minS & 1 is 1: limit = minS/2 e...
[ "prakash@aaditya.info" ]
prakash@aaditya.info
204f896029a0f59e209c18ad7de7b01cebe99e9b
bbf587f29779e232ca6f0c36378b9530c97b494c
/apps/posts/migrations/0003_alter_post_likes.py
17305078b42fb37434cd5a7819542f641788b966
[]
no_license
chegreyev/starnavi_test
dcfb90460124027819a16dc1f9fd523e1530436d
a29aa3db2e5173a5156deeacce7c6df5fed4fb2e
refs/heads/master
2023-04-04T14:04:56.867489
2021-04-18T21:55:53
2021-04-18T21:55:53
359,250,937
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 3.2 on 2021-04-14 11:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0002_initial'), ] operations = [ migrations.AlterField( model_name='post', name='likes', field=mo...
[ "chegreyev@gmail.com" ]
chegreyev@gmail.com
5859d1c2164cbd49404b0fd87958dcdfdd9df998
30435a504418f7aef07f5b1b3d6886f0cb72dba1
/myproject/인터페이스_프로젝트/project/프로젝트/roof/page/admin.py
586dbc3c04c68b06feb494d59918719c894f4e18
[]
no_license
Seungeun-Song/Study-for-K-Digital-AI-developer
a8511fb6d08a5121c2fcdd8f9706459fe9ffa689
bf48bb94918517a9db14359b81b9f710c49ef67c
refs/heads/master
2023-07-02T06:51:05.122824
2021-08-12T14:36:39
2021-08-12T14:36:39
328,096,871
1
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
from django.contrib import admin from page.models import Tag, Category, Member, Post, Photo @admin.register(Tag) class TagAdmin(admin.ModelAdmin): list_display = ('title', 'content') prepopulated_fields = {'slug': ('title',)} @admin.register(Category) class CategoryAdmin(admin.ModelAdmin): list_displa...
[ "lilybad88@gmail.com" ]
lilybad88@gmail.com
fa8b1867d453f0443fee77e71f6c799375aa58ac
8c0d775236afdf989477e309789a2f67adf94c86
/scraper.py
ad7cc424d4a36e3935946a1949e26a79294bfd2d
[]
no_license
lucivpav/CovidTravelNewsCZ
9fe476cf57567378814ad7052662b3df24a45089
d6e91d3265ebe2c24acd378f25ea6f726cd09c0b
refs/heads/master
2023-08-01T13:45:00.944482
2021-09-28T11:16:13
2021-09-28T11:16:13
410,520,601
1
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
from bs4 import BeautifulSoup import requests import sys import getopt import re import datetime from dateutil import tz from definitions import STATUS_FILE, MOST_RECENT_FILE, MAIN_URL, CountryData PROGRAM_NAME = 'scraper.py' def usage(): print('usage: python3 ' + PROGRAM_NAME + ' [--help|--production]') def wri...
[ "pavel.lucivnak@gmail.com" ]
pavel.lucivnak@gmail.com
2553ae9d49be4c776d690187ca3c6a7f3bf54e71
ea2bd7e9d780802238aaa26d6870759b0038aa8d
/pyvcloud/vcd/task.py
5b511116aaf5812c15cb7216b8bbdc963da92915
[ "Apache-2.0" ]
permissive
pacogomez/pyvcloud
5b000c1804e8fc501fe241c23a6348bea768de99
731aded20b999d269472caf65df774c284dd49b6
refs/heads/master
2021-05-07T19:30:37.783803
2018-01-10T16:28:26
2018-01-10T16:28:26
108,920,856
0
1
Apache-2.0
2017-12-28T17:33:15
2017-10-30T23:44:05
Python
UTF-8
Python
false
false
2,551
py
# VMware vCloud Director Python SDK # Copyright (c) 2014 VMware, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
[ "contact@pacogomez.com" ]
contact@pacogomez.com
26b3891eec39dfde413b9ee962dceb8927c638ff
3ef33dabaac35d2343b8dee98fd975de4edc0d3c
/dailyfresh/df_user/migrations/0001_initial.py
c8c5b1916e1d740dcd3ce4e89f1fd86f83b0a226
[]
no_license
junjie0825/dailyfresh
2d3ff79b7723a028321778d3fee6fe646e46bd83
e57b2dfb04cce27b0b4bdeaff0f79133e0a83853
refs/heads/master
2021-04-03T01:36:57.090898
2018-03-16T03:44:56
2018-03-16T03:44:56
124,513,479
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='UserInfo', fields=[ ('id', models.AutoField(ver...
[ "271040676@qq.com" ]
271040676@qq.com
ec1edfb6f58b5c7a66a9728ed4404c74f04a978b
8b57fa74ec6e94c27f871f367c6e875c01bd04fd
/dash_access_manager/models.py
20b97e4822d4f54920eaad68fdb474aeec58c747
[ "MIT" ]
permissive
evan-lh/dash-access-manager
868866126a4fde8968b87d6a61f5cdad705b271b
ac9dde4a38e5f7f0b0d64164c0c06e758c29e645
refs/heads/master
2023-02-02T15:46:09.617587
2020-09-25T07:40:48
2020-09-25T07:40:48
297,599,659
2
0
null
null
null
null
UTF-8
Python
false
false
321
py
from mongoengine import * from flask_login import UserMixin import bcrypt class User(Document, UserMixin): username = StringField(required=True) hashed_password = StringField() def check_password(self, password: bytes) -> bool: return bcrypt.checkpw(password, self.hashed_password.encode('utf-8'))...
[ "elehella@enssat.fr" ]
elehella@enssat.fr
b2c6463440ebd4a67ba172fc4008e5247252558a
11304b571e4f8fd95579f7e49e25067813ef8fbc
/venv/lib/python2.7/site-packages/astropy/io/fits/verify.py
7c0b2d8bae7b338e71c866b5619edd82c49321f7
[ "MIT" ]
permissive
EnSlavingBlair/Coincidences
98fa10375a32dc5cdf57827b5aa4f07e5fc79bd1
bba3435d9f0530822ddd2ab48a6a0bb84aa95f15
refs/heads/master
2021-10-23T05:39:55.560314
2021-10-20T05:33:23
2021-10-20T05:33:23
247,924,493
0
0
null
null
null
null
UTF-8
Python
false
false
5,733
py
# Licensed under a 3-clause BSD style license - see PYFITS.rst from __future__ import unicode_literals import operator import warnings from ...extern.six import next from ...utils import indent from ...utils.exceptions import AstropyUserWarning class VerifyError(Exception): """ Verify exception class. "...
[ "teresa.slaven-blair@ligo.org" ]
teresa.slaven-blair@ligo.org
85fc5601d2d5791a5b19a3f13e926a3393ad1c03
5be9b9fe6544af1764c4e4bf8b4adbe6205a353f
/tests/settings.py
a3d40947ffbeca31128a8f5fe95b074e34cbca4d
[ "MIT" ]
permissive
GermanoGuerrini/django-rohypnol
d3f8ba996e95f871aaccddba9922809b4d54dee6
09686e71920c2263bcb3a5ae8954556699af4ca4
refs/heads/master
2021-03-12T20:27:14.587219
2015-01-27T15:18:17
2015-01-27T15:18:17
29,015,057
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from os.path import abspath, join, dirname PROJECT_ROOT = abspath(dirname(__file__)) REPOSITORY_ROOT = abspath(join(PROJECT_ROOT, '..')) CACHE_ROOT = abspath(join(REPOSITORY_ROOT, '.cache')) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'rohypnol_test' } } CACHES =...
[ "germano.guerrini@gmail.com" ]
germano.guerrini@gmail.com
4705c8a49f431f81ffebe488801982b1534b97a5
395907654b7d2c3794df4e5fea0b256faad5befe
/LibraryAPI/main.py
0f2b0b5a2cc833ba4c15e8140da9656964257445
[]
no_license
syskantechnosoft/2105PythonBatch
9c67956ac7bba832cf21286dfb0e3421ff504e75
5d6ecbc6e9a4212e86a532dd749dbe79669f6931
refs/heads/main
2023-08-24T08:29:05.046864
2021-10-13T18:07:33
2021-10-13T18:07:33
429,123,329
1
0
null
2021-11-17T16:37:08
2021-11-17T16:37:07
null
UTF-8
Python
false
false
3,367
py
from flask import Flask, request, jsonify from daos.book_dao_postgres import BookDaoPostgres from entities.book import Book from exceptions.book_unavailable_error import BookUnavailableError from exceptions.not_found_exception import ResourceNotFoundError from services.book_service_impl import BookServiceImpl import lo...
[ "adaman94@gmail.com" ]
adaman94@gmail.com
1be1dac43e1259fada5849985809d3a89fd22dfd
2d9e50bda4c63fe1e87b67a38d667a7d70fa6ca3
/website/urls.py
03b389f91dfc98a44ac22588bfba792ded6b3d8f
[]
no_license
Ency-Ch/Barbers
52f68f427e832fb1638876858da6c3d7e4bfcb1d
6f6d748a0bd1c2f7f570a60d04b0bdf50c7f5788
refs/heads/master
2023-04-08T19:05:23.381525
2021-04-12T07:58:26
2021-04-12T07:58:26
357,102,877
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from django.urls import path from django.urls import path from . import views urlpatterns = [ path('', views.home, name = 'home'), path('contact.html', views.contact, name = 'contact'), path('gallery.html', views.gallery, name = 'gallery'), ]
[ "encee07@yahoo.co.uk" ]
encee07@yahoo.co.uk