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
e8ff84138b9f5e01e70efde1bf7c16c3317f03dd
636d3410d7d21eccf70f437954aca7044677a7d8
/object_matching.py
5c5183034e26bcf8446360f9d7654b134c5b4720
[]
no_license
yokhesh/Inter-camera-Object-Matching-
65013eb50f769433202e5cf8c2299862a53bf077
5b9bccf143fcc9c2a30dc177269e904c875816b9
refs/heads/master
2020-05-31T21:05:13.801639
2019-06-06T01:11:45
2019-06-06T01:11:45
190,491,360
0
0
null
null
null
null
UTF-8
Python
false
false
4,097
py
import glob import os import cv2 import numpy as np import pandas as pd import warnings import math from sklearn.cluster import KMeans from sklearn.metrics import mean_squared_error from scipy.spatial.distance import cdist from sklearn.decomposition import PCA from sklearn.neighbors.kde import KernelDensity ...
[ "noreply@github.com" ]
noreply@github.com
6551f0c4ca1ec8d651122a8dd18b58b293e064a2
6e5c625136c36d845c72f7a4fdea482f05384590
/venv/lib/python3.9/site-packages/greenlet/tests/test_contextvars.py
a46ba82ec9a4588d9cc3149c7890c23f8afc7c35
[]
no_license
DvdCp/BattleWebApp
26fe9e714c090add337d951a1672ef7747a1db33
f8eeeccdb0e73bd4bcc9529adfe74436d8cf5c13
refs/heads/master
2023-07-08T09:53:10.640382
2021-08-08T18:09:13
2021-08-08T18:09:13
379,716,474
0
0
null
null
null
null
UTF-8
Python
false
false
9,203
py
import unittest import gc import sys from functools import partial from greenlet import greenlet from greenlet import getcurrent try: from contextvars import Context from contextvars import ContextVar from contextvars import copy_context except ImportError: Context = ContextVar = copy_context = None...
[ "davidecap00@hotmail.it" ]
davidecap00@hotmail.it
7eeea8c6a5f082c98c481699d231dcb779718c18
400c2f5f143158ab7c1d0fbf081f0057c3ccf087
/aula13a.py
d094eccecc88068951438b63ec16059d5291904b
[]
no_license
0t3b2017/CursoemVideo1
6c81dcb9b647a7a9f1440cc058b7a4f2dee3fdb6
649f447a60a445694d34ad65bde9700619b799c4
refs/heads/master
2021-01-16T19:07:32.498076
2017-12-06T04:12:28
2017-12-06T04:12:28
100,139,391
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
""" for c in range(5): print(c) print("FIM") for c in range(1, 7): print(c) print("FIM") for c in range(6, 0, -1): print(c) print("FIM") """ """ i = int(input("Inicio: ")) f = int(input("Fim: ")) p = int(input("Passo: ")) for c in range(i, f+1, p): print(c) print("FIM") """ s = 0 for c in range(0, 4...
[ "roberto@h3b.com.br" ]
roberto@h3b.com.br
bb64cd38902f67e7b880f4a8da24d70cd0d8a627
dd80be06f1d8ef04e94ea2fe1cc970a8d58a087a
/iniciante/python/1564.py
548931d6a82745592ce7f063b6138453d4a02d57
[]
no_license
quatroka/urionlinejudge
600231e9ef9850cee8f1d7b6e3f635b030868165
d94e777f95cbf95fa5d7455faba3aa5f4bac1cf3
refs/heads/master
2023-01-12T14:09:46.683526
2023-01-02T23:14:55
2023-01-02T23:14:55
56,419,228
3
1
null
2016-11-04T19:04:37
2016-04-17T04:40:11
Python
UTF-8
Python
false
false
230
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- while True: try: N = int(input()) if N < 1: print('vai ter copa!') else: print('vai ter duas!') except EOFError: break
[ "monteiro.leonardosantos@gmail.com" ]
monteiro.leonardosantos@gmail.com
a1cf36a5d66a3854e316fb460ec9766afe100e2c
5f3d18e69be27e8fa4b4c5127be162a640d16297
/Sistemas Distribuidos/Servidor_Filmes/TCP_server.py
bd32d7bfe541f944c712b37babdb315cf33896c6
[]
no_license
RodrigoUFC/SD
00309fe2d2545c8306802800c3cd75118b08cfd0
afe954d535f0bb0ed2966f5d1f0799c67063febd
refs/heads/master
2020-03-31T01:53:36.296369
2018-10-12T20:18:55
2018-10-12T20:18:55
151,798,977
0
0
null
null
null
null
UTF-8
Python
false
false
2,004
py
import socket import json filmes = [] filmes.append({ "FilmeID": "tt2674426", "Titulo": "Como eu era antes de voce", "Ano": "2016", "Avaliacao_IMDB": "7.4", "Tres_filmes_mais_relacionados": ["A culpa e das estrelas","Diario de uma paixao","Simplesmente acontece"], "Link_para_trailer_Youtube": "...
[ "31975783+RodrigoUFC@users.noreply.github.com" ]
31975783+RodrigoUFC@users.noreply.github.com
421b3c77328e444d6dd4d404cbdd79e37e47bf1a
9b968cd437ca53edd9bfb1f4c62806838abf5fe5
/chipko/urls.py
8f2b3c92f5244670304aa541a9039a099550a82b
[]
no_license
surajkumarcse/chipkoBackend
1e93aa531778d70b7bd2d4e617884b95212afa9d
d1b13f2c8487f29498caa2a36f26fe285bed6823
refs/heads/master
2021-03-22T07:38:41.987366
2020-03-14T20:47:40
2020-03-14T20:47:40
247,343,911
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
"""chipko URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "30420005+surajkumarcse@users.noreply.github.com" ]
30420005+surajkumarcse@users.noreply.github.com
345f98d767de7cbd1acc02fd2bfeafd7f6333a5e
1edef8846f72086777f47f9f73d469ef2d2db706
/code.py
89b64b8f602037c3c7b1dde5f514d9a4edda2548
[]
no_license
bosecodes/NasaSpaceAppsHackathon
57c3d067fc28cf6dee21a4d88c82bf83b19c8112
9ca4a15d3093861643230dbf33ff37776365c237
refs/heads/master
2022-12-14T14:23:13.166800
2019-10-28T09:59:44
2019-10-28T09:59:44
217,814,572
2
1
null
2022-12-04T17:52:52
2019-10-27T06:31:29
HTML
UTF-8
Python
false
false
1,364
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 8 18:03:27 2019 @author: Somdev Basu """ import pandas as pd df = pd.read_csv('accidents.csv') df = df.loc[:, ~df.columns.str.contains('^Unnamed')] isLA = df['City']=='Los Angeles' df = df[isLA] df = df[:10000] df.dropna() latitudes = df.loc[:, 'Sta...
[ "noreply@github.com" ]
noreply@github.com
b3a171fe63748e8fbd04500e72a729bf25da9768
ef511201a2a790c111d4e4dcff9b574fc1d76dcd
/Encodeur.py
7a6274d903784c0c410d9be49a45b09776242777
[]
no_license
Noderyos/DataProtector
1fb126bd1688aee91487e4ad9d1e098e3ae4755c
65518757d6998ecf887faf64e39fed6bb752eef3
refs/heads/main
2023-06-04T08:44:13.558288
2021-06-24T17:52:59
2021-06-24T17:52:59
380,008,397
1
0
null
null
null
null
UTF-8
Python
false
false
921
py
import os from hashlib import * file_input = input("Chemin du fichier : ") key = sha256(input("Mot de passe : ").encode('utf-8')).digest() if ".ncrypt" in file_input: with open(file_input, 'rb') as f_input: with open(file_input.replace(".ncrypt",""),"wb") as f_output: i = 0 while f_...
[ "noreply@github.com" ]
noreply@github.com
740028a049c72a4eb04c08359edfac9f378d6525
c0340c511cff5b40b4681c4d3238d807624c0323
/models/corpus_reader/corpusIterator.py
9ae01c2a3c9b76ef214d4727d895cd74c0b05141
[]
no_license
m-hahn/grammar-optim
5fa7ade47d2ad91f517c887ee2c65af24059069d
07a1a80692a504bcafc8120a21c4dc9066b495ee
refs/heads/master
2022-08-30T06:54:42.749264
2022-08-05T12:09:28
2022-08-05T12:09:28
156,456,167
13
2
null
null
null
null
UTF-8
Python
false
false
4,334
py
import os import random import sys header = ["index", "word", "lemma", "posUni", "posFine", "morph", "head", "dep", "_", "_"] def readUDCorpus(language, partition): basePaths = ["/u/scr/mhahn/grammar-optim_ADDITIONAL/corpora/"] files = [] while len(files) == 0: if len(basePaths) == 0: ...
[ "mhahn29@gmail.com" ]
mhahn29@gmail.com
125494d60a6fda1d0624163876564440784178ed
f8666599b83d34c861651861cc7db5b3c434fc87
/plotly/validators/carpet/baxis/tickformatstop/_name.py
8ff0b7a47aa7b5fed8b166c536845b675ff38361
[ "MIT" ]
permissive
mode/plotly.py
8b66806e88c9f1820d478bab726f0bea81884432
c5a9ac386a40df2816e6c13264dadf14299401e4
refs/heads/master
2022-08-26T00:07:35.376636
2018-09-26T19:08:54
2018-09-26T19:19:31
60,372,968
1
1
MIT
2019-11-13T23:03:22
2016-06-03T19:34:55
Python
UTF-8
Python
false
false
492
py
import _plotly_utils.basevalidators class NameValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name='name', parent_name='carpet.baxis.tickformatstop', **kwargs ): super(NameValidator, self).__init__( plotly_name=plotly_nam...
[ "noreply@github.com" ]
noreply@github.com
da7add0954d0a26bb78e080a8d38e9986ba6a4d5
ad5780e714c6ebc9701debc857e7810cff2202a5
/4/4_B_4.py
0408598d0ce2d9c7a61702a49df77b2d782ec1d8
[]
no_license
MRainbowM/discover_world_2020
3f91a6ccc8b9e19517f094f2528227309786851d
98961317863b24913fd3c99353c35be58584b388
refs/heads/master
2022-12-13T10:42:58.331038
2020-09-14T12:50:09
2020-09-14T12:50:09
293,458,727
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
# while True: c = list(map(int, input().split(' '))) X = (c[0] - c[2]) * (c[5] - c[3]) - (c[1] - c[3]) * (c[4] - c[2]) AX = [] AX.append(c[0] - c[2]) AX.append(c[1] - c[3]) BX = [] BX.append(c[0] - c[4]) BX.append(c[1] - c[5]) AXBX = AX[0] * BX[0] + AX[1] * BX[1] if(AXBX <= 0 and X ==0): print('YES') else: pr...
[ "raduga.mf@gmail.com" ]
raduga.mf@gmail.com
2bea2563fed7eb292b25a41de8f44bee7ca38bdb
231ff25b0304fff53303389d39684e959332a8dc
/Python/clean_data.py
6211e1b77d228fa3ce327d0bffeb0fd04e8a93a7
[]
no_license
wjingyan/kaggle-titantic
4bd65db68fec8c839630353886dae3b0028fbfeb
c9c69221b5a670e29155a62478378c4363ed5dbd
refs/heads/master
2021-01-17T09:03:19.466017
2016-06-17T07:06:00
2016-06-17T07:06:00
60,913,499
0
0
null
null
null
null
UTF-8
Python
false
false
2,680
py
############## COLUMNS def clean_gender(df): # 0 - female, 1 - male df['Gender'] = df['Sex'].map( {'female': 0, 'male': 1}).astype(int) def clean_embarked_most_common(df): # 0 - C, 1 - S, 2 - Q # 2 missing - fill with C df['Embarked'] = df['Embarked'].fillna('C') df['EmbarkCode'] = df['Embarked'].map( {'C': 0,...
[ "freecady@gmail.com" ]
freecady@gmail.com
50bf8e19d81857b093da280cdb65e5095a3475dc
cb6fce6bc16555f35898a83eaf1c7cddbff8a0be
/scraping.py
a49fa82be922c7cb9b2c478251c3cb16a2290ca1
[]
no_license
Baylex/Mission-to-Mars
4217a8b08667a4b8d0a7ac11e1c1ae619c5e4c23
1b671cec0f2c14ffd140d718b2a61f1411c1801c
refs/heads/main
2023-08-22T17:34:20.254443
2021-09-25T02:35:19
2021-09-25T02:35:19
319,857,070
0
6
null
null
null
null
UTF-8
Python
false
false
5,172
py
#----------------NASA Article Scraping----------------------------- # Import Splinter, BeautifulSoup, and Pandas from splinter import Browser from bs4 import BeautifulSoup as soup import pandas as pd import datetime as dt from webdriver_manager.chrome import ChromeDriverManager executable_path = {'executable_path': Ch...
[ "71856047+Baylex@users.noreply.github.com" ]
71856047+Baylex@users.noreply.github.com
6a3d3d960c62457c7c29ca22c264396aca5a6c92
7fcc383a3fba109e276ad134bb51cf89019849eb
/2_AmsterdamAPI/photo_pages.py
22414dccf120954c6d146e4c020617241be69258
[]
no_license
eduardodias/Mini-python-course
11e48306887138c8c25a75ab68cf771e0ca496f6
f2ba8c48558186f259e333f3156451198cc62765
refs/heads/master
2021-07-10T19:10:16.648863
2017-10-10T16:10:58
2017-10-10T16:10:58
105,156,034
1
0
null
null
null
null
UTF-8
Python
false
false
2,273
py
import requests import fiona from fiona.crs import from_epsg # Request the first page of the 2016 directory of the API. And create a dictionary from it. response = requests.get('https://api.data.amsterdam.nl/panorama/recente_opnames/2016/') response_dict = response.json() # open (create) a shapefile. Look at the prev...
[ "chris.lucas@GEODAN.NL" ]
chris.lucas@GEODAN.NL
23e7cae414d55e17be0c82d097c1a330efbbe5fd
5b52244b2d3fdf573c919488c0ec4265b148d4aa
/myapp/migrations/0010_auto_20190405_1905.py
b449dcbbac37469775052bfcf5dea645a4a8fcc7
[]
no_license
prem1206/Django-notice-board
687848b3eb4fb8b863079502d832d9caa6f9a516
0d944deed974b3079d37bf062324cdd258566c8c
refs/heads/master
2020-06-04T14:53:27.575719
2019-06-15T11:16:53
2019-06-15T11:16:53
192,069,784
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
# Generated by Django 2.1.4 on 2019-04-05 13:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('myapp', '0009_auto_20190404_0145'), ] operations = [ migrations.RemoveField( model_name='notice...
[ "premchandak1206@gmail.com" ]
premchandak1206@gmail.com
f45e7920969f208d2e756ce8eab18269e7bd9446
d7685c52fd0da259bfa04667c8f05e101be22a11
/myProject/boards/models.py
91d0076298966cc32ac0a500a6513e43acf2fa8b
[]
no_license
Aman-Rider/DjangoPractise
9453ab9e5a8c275b72303ca68c61a4bfc14b2e1b
d093eee30afcc163a801b1c1d49efc5798425694
refs/heads/master
2022-03-07T07:15:37.122491
2019-10-14T15:01:36
2019-10-14T15:01:36
213,336,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField(max_length = 100) def __str__(self): return self.name class Topic(models.Model...
[ "noreply@github.com" ]
noreply@github.com
eb3c6d1aa5ab3817c38a392fa34f65765fbe2ff7
280e340a6fddd551c3da5a6270f68dd7ef5040a4
/movies/admin.py
5a4c6a7a31aa7b5b9583eebbc52f3d215ac7572d
[]
no_license
KUMOS3/jungle_pjt_back
93b878b357f8e34c9634d0c13fa002ae4ed19e60
c42ecfd507cf1cb2b3c1ce68c1f3c7d47b11362e
refs/heads/main
2023-05-04T11:52:38.183454
2021-05-27T08:45:49
2021-05-27T08:45:49
368,348,564
0
0
null
2021-05-27T08:45:50
2021-05-17T23:39:02
Python
UTF-8
Python
false
false
132
py
from django.contrib import admin from .models import MovieRecommend # Register your models here. admin.site.register(MovieRecommend)
[ "cho8213456@gmail.com" ]
cho8213456@gmail.com
3ec83f7014e64e6b3d20d32e45a6027d2538839d
c773e55712a0cf90833ac0bf6af315dd0cc2a9af
/Ch9_Dictionaries/counting_with_punctuations.py
f5ffaaca6442f9051a3af84e451689b0e0b4ce27
[ "MIT" ]
permissive
romitpatel/learn_python
ba08bca3fbb64ea352111782cfde9084ce6b398d
42230d04be5af5576ac2cfc4b1d2a9413a1e777a
refs/heads/master
2022-12-23T04:17:44.621721
2020-06-11T04:19:49
2020-06-11T04:19:49
271,447,613
1
2
MIT
2020-10-02T17:17:02
2020-06-11T04:02:10
Python
UTF-8
Python
false
false
566
py
import string fname = input('Please enter a file name: ') try: fhand = open(fname) except: print('Please provide a valid file name.') exit() counts = dict() for line in fhand: line = line.rstrip() line = line.translate(line.maketrans('', '', string.punctuation)) line = line.lower() words =...
[ "romitpatel@192.168.2.203" ]
romitpatel@192.168.2.203
4f670ffb036d6dc59bb66d9e7a89ec15668398f5
b02ae37912dacd0b440b1bc53ce512ed33cc6a53
/bingleme/urls.py
1c92f77b06ea401b2e72a9995fe7573f83a131d2
[]
no_license
eveybody2/realCXK
26042a7cec0fdcb10e0df95eee0cdf65083e7e21
0eff0b25b44a1fc0707fc80496fe6512b1213edc
refs/heads/master
2020-06-04T08:03:56.992797
2019-06-14T12:11:40
2019-06-14T12:11:40
191,937,100
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
"""bingleme 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-base...
[ "eveybody2@126.com" ]
eveybody2@126.com
4e7c7ad9ae74c39cd2226f468ee398671d2835e2
00c299b706da94d01b3d583aa74eff8f9a966ff5
/pysnap7.py
8eae12b7aa2087da2af3f29197d9ad10eb524a8d
[]
no_license
omerhayyam/pysnap7
93873265560eadab625907df2c1875e17c468e6b
c5ebfc5f9aed708c8445efa4b2b11e63d677cf08
refs/heads/master
2020-09-27T17:15:01.771797
2019-12-07T19:58:19
2019-12-07T19:58:19
226,567,747
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
import socket sc=socket.socket(socket.AF_INET, socket.SOCK_STREAM) adres=('127.0.0.1',102) sc.connect(adres) #connection mesaj1=b'\x03\x00\x00\x16\x11\xE0\x00\x00\x00\x01\x00\xC0\x01\x0A\xC1\x02\x01\x00\xC2\x02\x01\x02' sc.send(mesaj1) data = sc.recv(50) print(len(data)) #pdu negotiation mesaj2=b'\x03\x00\x00...
[ "noreply@github.com" ]
noreply@github.com
7e7c0daa1a6e4fa9594bf062030f4a881476c5e3
3a5b9bb59e4a39ebb6291e71d5f87cd5b82d282c
/6/ASE_HW_6.py
77413083c01bcab8a96eba575cb5e8af9dd1e85a
[]
no_license
VishwasPrasanna/ASE
d05dc4bb67248ba331a8d324c6f1110ca04fd011
712113347bdca7c9ca9bcf045117e12137f8c964
refs/heads/master
2023-01-23T14:33:23.657645
2020-11-25T18:01:35
2020-11-25T18:01:35
286,811,176
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
from table import Tbl from tree import DecisionNode from tree import LeafNode import pandas as pd def main(): auto_xl = 'auto.xlsx' diabetes_xl = 'diabetes.xlsx' auto = pd.read_excel(auto_xl) diabetes = pd.read_excel(diabetes_xl) auto_in = "\n"+auto.to_csv(header=True, index=False, line_terminator=...
[ "vsomase@ncsu.edu" ]
vsomase@ncsu.edu
27c7fe3ed3a9f243315dd8256f5390ab76485e06
e81576012330e6a6024d14f3e241f88ca34b73cd
/python_code/vnev/Lib/site-packages/jdcloud_sdk/services/mps/apis/GetNotificationRequest.py
49630052bdeca358968876ff0e2634d9dd20ad88
[ "MIT" ]
permissive
Ureimu/weather-robot
eba6a84147755aa83c941a306bac1a7c4e95e23e
7634195af388538a566ccea9f8a8534c5fb0f4b6
refs/heads/master
2021-01-15T07:23:42.274413
2020-03-23T02:30:19
2020-03-23T02:30:19
242,912,896
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 agreed ...
[ "a1090693441@163.com" ]
a1090693441@163.com
5ee97633d730debc3e7cab5bc8818c14644a8dc2
a2af8ce4313057fb4c6974410cbf16a795461953
/Coursera/Python3Programming/01-PythonBasics/Multability.py
f550e5b868556df63ddec5bfe0f06caade266d83
[ "MIT" ]
permissive
marcusmarinhob/Python
42c2991287e7442cccac604d08347086afc5a54c
79d03c449c00b0b99c8772dafb58b430610826c9
refs/heads/master
2021-08-08T14:29:16.993644
2020-06-22T23:22:16
2020-06-22T23:22:16
193,997,758
1
0
null
null
null
null
UTF-8
Python
false
false
764
py
import os os.system('cls') print('\n# BEGIN OF THE SCRIPT #############################################') a = ['one', 'two', 'three'] del a[1] print(a) alist = ['a', 'b', 'c', 'd', 'e', 'f'] del alist[1:5] print(alist) # Auto git saving ##################################################### save = 1 commitMsg = '1...
[ "marcus.bezerra@ee.ufcg.edu.br" ]
marcus.bezerra@ee.ufcg.edu.br
0fb77220f82fffe9952abd8a92d127fa86e7a1f7
81bbf0c60217c7a03ff9ac789d2b968a95c32ee2
/coco/try.py
8ab5a0e6aa204fbc3344842355b99ee675a7bce1
[]
no_license
shreyajn/Image-Captioning
ad2a89c5a7d29c3c8cf12cecbd7538eecd3b057a
c99976ccc887bc5de9e706a8abaec3d8706a5513
refs/heads/master
2020-03-28T02:22:01.634708
2018-12-24T19:12:19
2018-12-24T19:12:19
147,565,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
import json import pickle from collections import defaultdict data = open('./result-3.json').read() data = json.loads(data) data = data['result'] j=0 for i in data: i['seg']='/Users/shreyajain/Downloads/coco-caption/segmented/'+str(j)+'.png' j+=1 with open('result-new.json', 'w') as fp: json.dump(data, fp) # org_ca...
[ "shreya94jain@gmail.com" ]
shreya94jain@gmail.com
d385e31b64ee2a517ff46ad507ac806097f8e7d6
d954d7c1af467f1d8763a218096a36a10eb9a260
/Solution/N-1-3-1.py
330ac479d3d35612c68e5990b93c659efe21d342
[]
no_license
asifikbalpro/NumericalPy
a582b3dff2fb9c61abed8facea1c6c3757397af1
f5d77e9ebd1bd6826f6625ebcb6dabf5f3225847
refs/heads/master
2020-04-15T01:43:27.324244
2019-01-13T15:21:33
2019-01-13T15:21:33
164,288,913
0
1
null
2019-01-07T06:55:16
2019-01-06T08:25:36
Python
UTF-8
Python
false
false
452
py
import math import numpy as np import matplotlib.pyplot as plt phi = (math.sqrt(5) + 1) / 2 def cosech(x, n): sum = 0 for i in range(1,n): sum += math.pow(-1 , i) / (x * x + i * i * phi * phi) ++n return 2 * x * sum + 1 / x x = np.linspace(0.01, 10, 1000) y = [cosech(i, 20) for i in x] ...
[ "noreply@github.com" ]
noreply@github.com
e0f119ac85a874227fdcf1026ef070dfbc0b7491
3355054d42d0315e0d2419ae823809ec09529113
/rocketbot/reactionlistener.py
bc97ff74d6a2934116dc0ff205920d94815b7281
[]
no_license
ShittyAdvice/discord-bot-python
d5ad16822ea834807e7432140c1fd806d2e7e20f
11ed4536b9d2a70a5d854230e3aed437211a1b19
refs/heads/master
2020-03-27T05:47:08.389517
2018-08-28T09:22:42
2018-08-28T09:22:42
146,049,758
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
from rocketbot.client import client class ReactionListener: def __init__(self, message): self.callbacks = {} self.message = message self.isListening = False def check(self, reaction, user): print(reaction.emoji) return not user.bot and reaction.emoji in self.callbacks async def waitFor(self...
[ "jetse@codecrisp.com" ]
jetse@codecrisp.com
42f8faa0142fe34dfa5478cee64955da48e8736e
ef269bac932ad4c92a2d89667630cfb5dedf7987
/network_utils/rssi_kalman.py
b5dbd3a5e410b9201393da452b86bd7cf04ecebd
[ "MIT" ]
permissive
elerson/NetworkedRobotsProject
dcdc50e320e477dbe3961fb385687191d789dbdc
d2b9d0a121c5421a40e806a93e6a8f1315f24441
refs/heads/master
2021-07-04T21:17:25.947319
2019-02-27T03:56:48
2019-02-27T03:56:48
107,574,637
0
0
null
null
null
null
UTF-8
Python
false
false
4,691
py
## ## Here we consider the function PL(d) = PL(d0) + 10*n*log(d/d0) -> y = theta0 + theta1*(10*log(d/d0)) ## and we want to estimate the PL(d0) a constant and "n" ## import numpy as np from numpy.linalg import pinv from numpy import dot import math from threading import Lock import os import glob class RSSIKalmanFil...
[ "elerss@gmail.com" ]
elerss@gmail.com
a91dab87783e3a077d5b3a5d007c761c81b6c24c
42782aa096a39324992d8ce15c6723854242d38f
/app/domain/analyze.py
354c2d9fadf4728a605041b6e5af28015bf92259
[]
no_license
tsukurimono/stock-price-analysis
0cf2c4aced715dcef6674d61a6f9d7fd3b2eeebf
aa86d4e8bb19fbff8f91d0eecf48883ac130e9d3
refs/heads/main
2023-07-13T19:14:24.541154
2021-08-26T12:44:19
2021-08-26T12:44:19
399,481,572
0
0
null
2021-08-25T12:44:16
2021-08-24T13:46:30
Python
UTF-8
Python
false
false
2,929
py
from __future__ import annotations from dataclasses import dataclass from datetime import date from decimal import Decimal from typing import ClassVar, List from enum import IntEnum, auto from app.domain.stock import Candlestick @dataclass class ScoreCalcurator: def faster_better(self, data:List[str]) -> Dict[str...
[ "coordinater.info@gmail.com" ]
coordinater.info@gmail.com
505db21c4b52d14b856cdd3bc267e321b02006a2
57081c2c541d043a2fa409dffb238489e29e7955
/playmusic/settings.py
7141c604a9cc656ca0f463c2ef6a127b0c3795a6
[]
no_license
surajsrj27/playmusicapp
58b651c2aff1f370cdbf767440a78752d9463eab
a1fb07f9eb2b6bf7c5bf13a0bbe1bcdf90b9b0d2
refs/heads/master
2022-11-15T04:30:46.904537
2020-06-30T14:21:30
2020-06-30T14:21:30
278,902,087
0
0
null
null
null
null
UTF-8
Python
false
false
3,377
py
""" Django settings for playmusic project. Generated by 'django-admin startproject' using Django 2.2.7. 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 ...
[ "srjskylark@gmail.com" ]
srjskylark@gmail.com
578ab4564ac917e59f31823eb1d6cfb9f28fc608
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21885.py
8917a8ab7563dc2340287d482527305078ed27d8
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
# Making a call to a Chef server from Windows PE &gt; perl Configure VC-WIN32 no-asm no-shared &gt; ms\do_ms &gt; nmake -f ms\ntdll.mak
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
9218c688373e5f6933ce2a5b28c9293f8ce53cf0
10271b21e63ee4eca1f83dd1b252afad0a7a74b3
/Data integration/BBMSL_Data_Integration.py
b2faa42c03dc8789b7a9fce5c847592fdfdbf119
[]
no_license
nice1208/VMpay
730cee18e813e259b65034a4936b80084d61078e
acebe85740c09ac53aed6d2ba48ae20332ca067e
refs/heads/main
2023-07-09T12:40:55.348221
2021-08-12T09:04:45
2021-08-12T09:04:45
392,260,920
0
0
null
null
null
null
UTF-8
Python
false
false
6,392
py
import os import pandas as pd import xml.etree.ElementTree as et import matplotlib.pyplot as plt import codecs from google.colab import auth auth.authenticate_user() import gspread #!pip install --upgrade gspread from google.colab import drive from oauth2client.client import GoogleCredentials from gspre...
[ "noreply@github.com" ]
noreply@github.com
de546c5ca5152f4e0b14793759bbf65d86544130
23817ded1ea9ad0fec2752a3a4e123c67fc247a4
/gettechqqpics3.0.py
463ea3acff0e06dde987d25acda140ac53ed6ea4
[]
no_license
sisuad/Gettechqqpics
9a4b5edaee6010c7336e4b160891cf9ea494b135
6a3a7d63c1899907b05bf05ccff2190aa625d263
refs/heads/master
2021-01-17T17:01:53.219460
2014-12-10T15:17:59
2014-12-10T15:17:59
21,209,041
1
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
#_*_ coding=utf-8 _*_ #以下是示例地址 #http://img1.gtimg.com/9/955/95531/9553121_1200x1000_0.jpg #http://img1.gtimg.com/9/955/95532/9553285_1200x1000_0.jpg print "示例图片地址" print "初始图片:http://img1.gtimg.com/9/955/95531/9553121_1200x1000_0.jpg" print "末尾图片:http://img1.gtimg.com/9/955/95532/9553285_1200x1000_0.jpg" initial_pic = ...
[ "peng890929@gmail.com" ]
peng890929@gmail.com
045862281c288c88f92463538e884c0427ee8453
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/choropleth/_reversescale.py
8af580fb6748504b61ef7f5ef3b1ef25f5da02e4
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
431
py
import _plotly_utils.basevalidators class ReversescaleValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name='reversescale', parent_name='choropleth', **kwargs ): super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, p...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
4fcebeee0e3e255674d7dfda68f199803b482d48
c7e9ec5ce6627f6f68bab1b86a27a4516595154d
/maintenance/06migratedeletes.py
c9d6b4ad448306f6ddbcd4e2633be4ec2113805c
[]
no_license
michaelcrubenstein/consentrecords
7b79e82c9ad4b5efcfbb44a50ff1d4cadf7180e2
992fe78c68d1d5c083f9e2cc0e3e9aa24363b93d
refs/heads/master
2021-01-23T19:28:13.807809
2018-07-03T16:10:34
2018-07-03T16:10:34
41,223,029
1
1
null
2018-07-03T16:10:35
2015-08-22T20:21:26
JavaScript
UTF-8
Python
false
false
1,765
py
# Migrate translation objects to translation types. import datetime import django import tzlocal import getpass import sys from django.db import transaction from django.contrib.auth import authenticate from django.db.models import F from django.db.models import Count from consentrecords.models import TransactionStat...
[ "michaelcrubenstein@gmail.com" ]
michaelcrubenstein@gmail.com
298d140fe1ca68d7da2b2955a7a16d0ea3e33fb9
5a281cb78335e06c631181720546f6876005d4e5
/zaqar-8.0.0/zaqar/api/v2/response.py
d21d69c7c5b7498626cfe10c752628278f624316
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
15,561
py
# Copyright (c) 2013 Rackspace, 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 agreed to in wr...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
257ef0f6ca2370da0de7bb90aa72861f77a40aaf
a1596976276573f65226ba01fdeb388a8ec4b973
/globals.py
d8d09d5a340ead1f5e8d5326afa002e6e0ce955c
[ "Apache-2.0" ]
permissive
bsciolla/matchit_digit
35ea8c81036b440123f4ebad9a1e48c7f07fbb29
55e978529f5b45593e0ecfdec09c5453e7199415
refs/heads/master
2023-04-07T11:55:48.183909
2023-03-19T13:23:54
2023-03-19T13:23:54
157,067,915
0
1
null
null
null
null
UTF-8
Python
false
false
583
py
import sys, numpy DELTAX = 29 DELTAY = 29 SOUND_VOLUME = 0.15 ANIMRATE = 200 SLOWED_TIME = 100 MATCH_VIEWX = 10 MATCH_VIEWY = 10 DEATHMODE = 0 XSTART = 15 YSTART = 15 SCROLLING_DEATHX = 100 HSCREEN = 800 VSCREEN = 600 LARGE_TIME = sys.maxsize FADE_WAIT = 10 KEYBOARD_WAIT = 20 PROBA_HIT = 0.4 DELAY_HURT = 1000 ...
[ "bruno.sciolla1@gmail.com" ]
bruno.sciolla1@gmail.com
865ac5cc7d51c6fcf367c04a164dbdbce74428f8
8851840b903113eb7d6ab34f96566eb7d830bffc
/input.py
1dd03584f49d1151a046d2e2dade6e3afd229969
[]
no_license
yashkhem1/Scholar-Finder
2a66dffeba89b444c7699be1fa5d852185db2757
a77755985d734e80998f7ce8d5e47bd91a618a31
refs/heads/master
2022-04-11T19:50:46.146579
2020-04-03T11:23:40
2020-04-03T11:23:40
169,058,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
def take_input(): APIkey = input('Enter API key: ') dict_ = {} specific = input('Enter G for general search and A for advanced search: ') if specific.lower() == 'g': search = input('Enter text to search anywhere in the document: ') dict_['all'] = str(search) else: print('En...
[ "yashkhem1@gmail.com" ]
yashkhem1@gmail.com
cafe14ab7ceb11e6105865dfb5e492135f587f5c
e576894a8c58c75958552e2acb7e2cff7d6e81a2
/utils/related/cosine.py
05515f51e231ae86fa15505f4575b49d16f21052
[]
no_license
jeffisabelle/reading.pub
f8b0135fc01089b2e63dac419c46b8f7f7586954
d2a7b384e2af88a2684033c196689c4953af8823
refs/heads/master
2020-04-13T07:21:52.302418
2014-12-14T06:00:11
2014-12-14T06:00:11
24,914,617
1
1
null
null
null
null
UTF-8
Python
false
false
4,438
py
import re import math from collections import Counter from nltk.corpus import stopwords from models.models import Post from models.models import Relation WORD = re.compile(r'\w+') def get_cosine(vec1, vec2): intersection = set(vec1.keys()) & set(vec2.keys()) numerator = sum([vec1[x] * vec2[x] for x in inter...
[ "muhitosan@gmail.com" ]
muhitosan@gmail.com
dd7c96ce3871186fe87617e0fe81a4a2399638ca
2ab8798ba27ec04c74f4b0e662e12aef98afff4e
/cm/error.py
147136d83a83b71d4abbf4ffe439c229b5bd3dec
[ "Apache-2.0" ]
permissive
likwoka/ak
b1ba7dbf2311d6cc40875ff8cdb9037f7a082c0b
e6ac14e202e5a0d8f1b57e3e1a5c5a1ed9ecc14b
refs/heads/master
2021-01-19T00:09:34.219111
2017-04-04T04:05:14
2017-04-04T04:05:14
87,145,661
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
from quixote.errors import AccessError, TraversalError, SessionError from psycopg import ProgrammingError class AKAccessError(AccessError): def __str__(self): return self.private_msg or self.public_msg \ or self.description or "AKAccessError" class NotLoggedInError(AKAccessError): ...
[ "likwoka@gmail.com" ]
likwoka@gmail.com
0c35e06c4e5be85693d075e16977c37d18936c4b
14aab11a9bd38acaaf3ed959ce736a3e1f1e3bad
/contrast/4/p4/mininet/delay.py
dc4aa0dd140d190cd83feac0ad77c10c8e299be3
[]
no_license
chenyuchuting0912/SwitchML
4eae7d3a3f40c93156ebf039e34df67df430c286
d24ee879b3feadf308b4fdf52d090d0d21d1ee80
refs/heads/master
2020-06-03T17:41:13.993330
2020-01-09T02:39:47
2020-01-09T02:39:47
191,668,879
4
2
null
null
null
null
UTF-8
Python
false
false
1,623
py
#!/usr/bin/python from mininet.net import Mininet from mininet.node import Controller, RemoteController, OVSController from mininet.node import CPULimitedHost, Host, Node from mininet.node import OVSKernelSwitch, UserSwitch from mininet.node import IVSSwitch from mininet.cli import CLI from mininet.log import setLogLe...
[ "18227357674@163.com" ]
18227357674@163.com
1f84f12505ff59602d122001d005785a8f5bce8d
adbedf9626c52748aa048f2b17c18d25262b4d56
/robot_framework_baseline_comparator/BaselineComparator/html_baseline.py
34eefcebeb0891f7888d2198c466c78c88472e5c
[]
no_license
sanjitroy1992/robot_framework_custom_libraries
3ef91ea6d4705215f86c83d276d67ce7c5af673a
e5fde8f428a4d46d5cacb2c5369f9c59529f5c91
refs/heads/master
2022-11-06T09:11:02.148601
2020-06-29T09:35:46
2020-06-29T09:35:46
274,330,471
0
0
null
null
null
null
UTF-8
Python
false
false
7,893
py
from Libraries.Common.BaselineComparator.HTMLTBodyComparator import HTMLBodyComparator from Libraries.Common.BaselineComparator.HTMLTBodyComparator import HTMLFooterComparator from Libraries.Common.BaselineComparator.HTMLTBodyComparator import HTMLHeaderComparator from Libraries.Utilities import ReportBuilder from ite...
[ "sanjit.roy@finastra.com" ]
sanjit.roy@finastra.com
277537b8ae7e47142a220286372b6306e21c780c
a024fe3b05dd320a7860165dd72ebd832ce6e484
/account_cajas/models/payment_group.py
833df438839be2ce04c80b1330df47f33925d155
[]
no_license
acostaw/erp_odoo
97d02a675908e441cf8e1ba4e3dcbc62691f8dec
2437997b650c9fdbf6a6f007c0a1fea2aab018e2
refs/heads/main
2023-04-19T14:52:48.877851
2021-04-22T18:40:07
2021-04-22T18:40:07
360,644,871
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
from odoo import fields, api, models, exceptions class PaymentGroup(models.Model): _inherit = 'grupo_account_payment.payment.group' caja_session_id = fields.Many2one( 'account.caja.session', string="Sesión de caja") def get_sesion(self): sesion = self.env['account.caja.session'].search( ...
[ "wacosta@INTN.GOV.PY" ]
wacosta@INTN.GOV.PY
dabdb056116c5957afbd463e2a7dcd062b60ae68
bafab5bb85ee573e4d4116f33286c80e5ccd2ce8
/blog.py
cd00e2cfa330b88ae8915502dcbef94e93031abf
[]
no_license
2892931976/blog-2
b01462e75aa75d8e6d3a959b850fbedfe40f21ee
7598efa4603e1b62bc7196f7bfa62e9c0836854f
refs/heads/master
2021-04-05T23:55:33.044917
2018-03-06T15:11:00
2018-03-06T15:11:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
# coding: utf-8 from __future__ import unicode_literals from import_file import * # for pyinstaller if hasattr(sys, "_MEIPASS"): os.chdir(sys._MEIPASS) logger = logging.getLogger(__name__) from util import log_config log_config.init( ) # 必须放在app初始化的前面, 否则别的模块识别不到 from application import Applicati...
[ "krman@163.com" ]
krman@163.com
4dbb998cc44c8657107d07d02c81106d5b8b8dc1
787826fb6577df40adfd9c36dd3d177e45960c1c
/habcam/alt_celery.py
b06671c522ec8e39b3083aefc8bed85f556385c0
[]
no_license
joefutrelle/oii
53ed7e59207d6788e93dd2882a48f114dbe3a3b0
49d5f9dbd1675cf2c336dbb7df9c8195d087a3b1
refs/heads/master
2020-05-21T23:45:35.484275
2019-04-29T17:17:12
2019-04-29T17:17:12
27,089,478
5
4
null
2017-11-03T18:36:07
2014-11-24T18:45:01
HTML
UTF-8
Python
false
false
4,219
py
import logging import sys from celery import Celery from skimage import img_as_float from skimage.io import imread from oii.config import get_config from oii.psql import xa from oii.resolver import parse_stream from oii.habcam.lightfield.altitude import stereo2altitude MODULE='oii.habcam.alt_celery' celery = Cele...
[ "jfutrelle@whoi.edu" ]
jfutrelle@whoi.edu
63882150fbc225f748808d9a7c6a306aa1ac0b70
2e1198275d18fbe126747886327b535c81bef2ad
/CreateUser.py
0fc50971f705de9d4d6ed3e49f8b72c9183728c4
[]
no_license
NikhilJeikar/LAN-FTP-Server
e56cf2c20b2facb5ba73bf5580930a62b10ae963
4638bec87b7d80dce4d406b9730f7ba8a26ccc60
refs/heads/master
2023-06-27T04:23:20.011897
2021-07-25T12:05:24
2021-07-25T12:05:24
387,022,563
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
import hashlib import os _Users = [] _ReadUserFile = open('UserData.txt', 'r', encoding='utf-8') for i in _ReadUserFile.readlines(): i = i.split(',') _Users.append(i[0]) UName = input('Enter the desired user name: ') UName = UName.encode() UData = hashlib.sha512(UName).hexdigest() Pass = input("Enter the pas...
[ "nikhiljeikar@gmail.com" ]
nikhiljeikar@gmail.com
594665052e26cca550f6698863f82cdd8aabf760
68eafa168d3aac25e17d3b1a89a979cedb12d6ca
/test/arm_models/moving_obj_1D.py
18b3f3fe86737773861dc91ab27c01b78578a058
[]
no_license
danbider/aesmc
b7d4917abc982353a5546184e2479af4adbeacd9
67a26451c1ec138fb88ca029649fd3ece8ae7f91
refs/heads/master
2021-08-20T03:50:29.508210
2020-09-13T00:55:26
2020-09-13T00:55:26
221,997,145
0
0
null
2019-11-15T20:22:09
2019-11-15T20:22:08
null
UTF-8
Python
false
false
16,846
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 26 10:58:48 2020 @author: danbiderman """ import copy import aesmc # note: imported from package import numpy as np import torch import torch.nn as nn import torch.nn.functional as F class Initial: # distribution for latents at t=0 def __init...
[ "danbider@gmail.com" ]
danbider@gmail.com
4554ed7fe75d9e7e2a821186ba3a34931d717c2e
96e7dbdbadef1d5105216d4f22158145b1486d7f
/dynamics.py
c44f0fc6f538b223104ad04ece1c43c54ae907e7
[]
no_license
hadanie7/schwarzschild
82b17f92315be53854c535da99c29a9af5fbcf91
eec0598a06903cf6ce085a62612135472defb45b
refs/heads/master
2021-01-11T09:14:48.029033
2018-01-06T18:25:20
2018-01-06T18:25:20
77,226,996
0
0
null
null
null
null
UTF-8
Python
false
false
5,699
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 14 15:16:21 2016 @author: D """ from geometry import * class body: def __init__(self,P): assert isinstance(P, vector) self.P = P self.man = P.pt.man assert P.is_timelike() def shoot(self, Ps): assert Ps.pt is self.get...
[ "github@daniel.hadaso.net" ]
github@daniel.hadaso.net
e3694c5f70571e4401850ee457096ac83d6d56bc
79db2e3693857062d249b64e38f3d0d90fe57e21
/app/urls.py
e647b43f913095aefb3b1eba2f948695a5ffff28
[]
no_license
suelensca10/recomendador
df8e65a8a80cf335a23f3edd8f653d27bae0f30a
75fa7392603cdf7e5fc39c170473a03de28571b2
refs/heads/master
2022-11-30T11:50:17.402709
2019-11-24T20:31:37
2019-11-24T20:31:37
216,253,590
0
0
null
2022-11-22T04:46:46
2019-10-19T18:38:07
Python
UTF-8
Python
false
false
232
py
from django.urls import path, include from . import views urlpatterns = [ path('',views.book_list, name='book_list'), path('rating/', views.rating_new, name='rating_new'), path('result/', views.result, name='result'), ]
[ "sscariott@ucs.br" ]
sscariott@ucs.br
37d4ee54b8206cb862c6a66b9ceedd6e1c626873
f9d21066eb8d6001d2a083b7e6788c3a96c2697d
/staci_rodriquez/Django/Django_Intro/Random_Word/apps/random_word/urls.py
af08e89272b7c613b1ebc83d6a14e6542e7c1322
[]
no_license
CodingDojoDallas/python_oct_2017
6d563e12c7d778e4fac42249c89339085d31abed
686d515cc3aad6be485e9e859bc1c1d64899240b
refs/heads/master
2021-07-18T23:29:47.167248
2017-10-26T22:49:56
2017-10-26T22:49:56
105,701,818
3
16
null
2017-10-26T22:49:56
2017-10-03T20:50:05
Python
UTF-8
Python
false
false
194
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name="landing"), url(r'^randomword$', views.randomword), url(r'^reset$', views.reset) ]
[ "staci@Stacis-MacBook-Pro.local" ]
staci@Stacis-MacBook-Pro.local
8c90320dd824695cb6ca85e3af3ce2e868ab6ca0
acb7e0f7f947ef60b84d0f371e481a42587f03ad
/problem1/stats232a/layers.py
732ae89d5e2b28ecab23a931ca382706cc8b530e
[]
no_license
mfzhang/stats_hw3
231d80380be270b2664bda65afef5fe621da33b1
a5efee5879527096c3217b32eb9b92bcfeeac86d
refs/heads/master
2021-09-11T12:43:48.002620
2018-04-07T06:35:04
2018-04-07T06:35:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,159
py
from builtins import range import numpy as np def fc_forward(x, w, b): out = x.reshape(x.shape[0], w.shape[0]).dot(w) + b cache = (x, w, b) return out, cache def fc_backward(dout, cache): x, w, b = cache dw = x.reshape(x.shape[0], w.shape[0]).T.dot(dout) db = np.sum(dout, axis=0) dx = do...
[ "andreachen0707@gmail.com" ]
andreachen0707@gmail.com
a9e08cef8c1f27740a682536936128537a89c7f8
3adfa973d3c61b4f5c8ffb2e9cf7e2e7b95fe171
/1/4/1/1.4.1.py
bf972dc79056bd2176140da9b05d11a1ee730e8a
[]
no_license
bletzacker/alyra
12b173c218a4f4d399055e2aa39e841d932169fc
30990fa823720d3555d44a0719cd46f944cc4efe
refs/heads/master
2020-04-19T12:30:04.869363
2019-03-16T12:31:37
2019-03-16T12:31:37
168,193,078
0
0
null
null
null
null
UTF-8
Python
false
false
943
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def conversion_dec2base(decimal,base) : if decimal > 0 : return conversion_dec2base(decimal // base, base) + [decimal % base] else : return [] def conversion(decimal) : dic = {0:'0',1:'1',2:'2',3:'3',4:'4',5:'5',6:'6',7:'7',8:'8',9:'9',10:'a',...
[ "laurent@bletzacker.io" ]
laurent@bletzacker.io
c36d398057af44046f375014953bd6762e83e50f
70f0ba3581274756a5effccad2be095f5d34d4ba
/Py_Exp/WebSocketServer.py
cb4c39125df012debae32e3911125e2ac1506869
[]
no_license
ChopinNocture/MyTools
9e7cdb979ffc549b6c5df1a07fbe0742cdd2fe5e
0fdad03b3c3c7a0961053f6845324da041c51ee7
refs/heads/master
2023-07-19T17:57:12.385310
2023-07-15T18:23:10
2023-07-15T18:23:10
129,378,710
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import asyncio import websockets # create handler for each connection async def handler(websocket, path): data = await websocket.recv() reply = f"Data recieved as: {data}!" await websocket.send(reply) start_server = websockets.serve(handler, "localhost", 8000) asyncio.get_event_loop...
[ "chopin_7up@icloud.com" ]
chopin_7up@icloud.com
3a4c7d4cd69228623278ba62e73231375ae6ba8a
3b8c07e1ab4420240a7d81c21ce18e8f703d5bc0
/week-4/6.ринадлежит ли точка кругу.py
00ada535c07735b205825bc78d7d06cb31fab9cd
[]
no_license
dima-panchenko/Python
891b7f8c4a606d4f29a5cb2190fef1aff8e7064a
1d2b6667a67263472e3394eec55c813e88373deb
refs/heads/master
2021-01-04T00:48:06.200445
2020-04-19T14:58:14
2020-04-19T14:58:14
240,309,443
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
def IsPointInCircle(a, b, c, d, e): return (a - c)**2 + (b - d)**2 <= e**2 x = float(input()) y = float(input()) xc = float(input()) yc = float(input()) r = float(input()) if IsPointInCircle(x, y, xc, yc, r): print("YES") else: print("NO")
[ "noreply@github.com" ]
noreply@github.com
0f7ba2626ddb918345b5b65b7b33821c1416ba0d
63daf225819636397fda6ef7e52783331c27f295
/cbb/taobao/top/api/rest/WangwangEserviceNewevalsGetRequest.py
6ec015f4437fc789e6fe969e968f93ce8d6d80c1
[]
no_license
cash2one/language-Python
e332ecfb4e9321a11407b29987ee64d44e552b15
8adb4f2fd2f023f9cc89b4edce1da5f71a3332ab
refs/heads/master
2021-06-16T15:15:08.346420
2017-04-20T02:44:16
2017-04-20T02:44:16
112,173,361
1
0
null
2017-11-27T09:08:57
2017-11-27T09:08:57
null
UTF-8
Python
false
false
370
py
''' Created by auto_sdk on 2014.03.24 ''' from top.api.base import RestApi class WangwangEserviceNewevalsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.btime = None self.etime = None self.query_ids = None def getapiname(self): ...
[ "a@ie9.org" ]
a@ie9.org
87f4ec454770f322a0f4390636396c940833ebd7
dbd8cd18e78cd84f805c822ea1f43f78cd5353fb
/attendance-project/face_recognition_python/lib/python3.7/linecache.py
970ce0074cabd03dff63654740f4fed1ed27de62
[]
no_license
vanloiidk/WebProg
d9a751d76110e679fb2fc94dcbfd1caa42ea1842
1377eb2779447da5d978ffc9842e95bc796d454a
refs/heads/master
2020-06-19T17:50:49.163297
2019-11-13T10:19:31
2019-11-13T10:19:31
196,808,617
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
/home/linuxbrew/.linuxbrew/Cellar/python/3.7.2_2/lib/python3.7/linecache.py
[ "vanloiidk@gmail.com" ]
vanloiidk@gmail.com
a4315c815284255f2f3f7f89ebc082ca0dc36689
5ae4ac1ecb2132f5c521272b62f6e8e75a6bfaa2
/semana02/uri1001_basico.py
01cdd47b5e2f895c9fba481fc6b75ad1783ec5f0
[]
no_license
marciofleitao/ifpi-ads-algoritmos20202
904dc1d7247d5f24b4428889e77de2d500b2dade
d7ee5bbda72249751e55a4cb0e21cd2df9298671
refs/heads/main
2023-03-05T19:42:30.247704
2021-02-05T01:08:08
2021-02-05T01:08:08
318,653,130
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def main(): a = int(input('Digite o primeiro número: ')) b = int(input('Digite o segundo número: ')) soma = a+b print(f'X = {soma}') main()
[ "noreply@github.com" ]
noreply@github.com
6a7f8c53b1ee416fa22ba3a9d84c1ea24b78aec9
ffdc3524237f9b184843da441ad15b2e5d15b051
/gravity/ball.py
189fe3242979ded72648a4b1d39cedb1a984d258
[]
no_license
AndyChenYH/gravity-simulations
2f8348d9e2028327512721cd619c1f29103cb58d
e2fe89225e61e0eaa1ec644057a7369265017485
refs/heads/master
2021-10-14T09:03:52.783933
2019-02-03T17:22:29
2019-02-03T17:22:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
import pygame import sys from settings import Settings pygame.init() pygame.font.init() pygame.display.set_caption("ball bouncing simulation") screen = pygame.display.set_mode([Settings.screenHeight, Settings.screenHeight]) font = pygame.font.SysFont('Comic Sans MS', 30) iterations = 1 acceleration = 1 ...
[ "noreply@github.com" ]
noreply@github.com
93203070fb51c9d1efc8a4b706f4e5754cbc6834
ae7eee0f1c734bf5b69db8905ca1853b92d4c2a2
/googleDriveDownloader.py
f92a9ac44747c4012b2b1ca4c567b7cac1e59979
[]
no_license
ufgf/RIFE-Colab
d974b6242b0f6db87766ab95c63a98d725539a2f
b87cfa0d1603b467e6adf88f7b95efcd80ca7212
refs/heads/main
2023-03-16T06:28:44.703169
2021-03-10T14:08:44
2021-03-10T14:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
import requests def download_file_from_google_drive(id, destination): URL = "https://docs.google.com/uc?export=download" session = requests.Session() response = session.get(URL, params = { 'id' : id }, stream = True) token = get_confirm_token(response) if token: params = { 'id' : id, 'con...
[ "heylon96@hotmail.com" ]
heylon96@hotmail.com
17161af4b97bd0d09f297a5b1829d9c7b459cb37
38c6bc1ab5ab73ac6e28c12345b88baeca3b8b05
/exam_page/migrations/0008_auto_20190808_1841.py
1aabfd5d71bccb995303009d79e2b843f3ef8b51
[]
no_license
shereenomarr/Exam-django-ar
9abe9a25db745649e08376070e381765ebb083fa
7c42e7297dc93878c075a01ac74fea775ae535f8
refs/heads/master
2020-07-06T04:16:21.836987
2019-08-17T13:30:55
2019-08-17T13:30:55
202,889,406
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.2.4 on 2019-08-08 18:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('exam_page', '0007_answer_is_correct'), ] operations = [ migrations.AlterField( model_name='answer', name='is_correct...
[ "shereen@altibbi.com" ]
shereen@altibbi.com
385731ebcbdb568f6b739c135a1f4bc2243cc55a
402dadd82fcb1fde4452b3b84edbc3fd5df1de48
/blueprints/order/resources.py
10143b7dabab7cb3f31446104e5f6d417791e4e0
[]
no_license
yanuz93/ecommerce
0c19c9f90bd3967afd257440b303df93b5c5cff6
68b50e5ce8b3ba9573c236e63f1da297a76220c0
refs/heads/master
2020-07-11T04:50:56.194968
2019-08-28T15:54:15
2019-08-28T15:54:15
204,449,436
0
0
null
null
null
null
UTF-8
Python
false
false
7,381
py
from flask import Blueprint, jsonify from flask_restful import Resource, Api, reqparse, marshal, inputs from .models import Orders, OrderDetails from ..product.models import Products from ..seller.models import Sellers from sqlalchemy import desc from blueprints import app, db, customer_required from flask_jwt_extended...
[ "yanuzpurnomo@gmail.com" ]
yanuzpurnomo@gmail.com
27d2228fcf7d6359ffa01c55e6fa92812d23a53d
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/gtk/gdk/EventMask.py
d9b44af804a2c42a9f51aefc54aa18bc8e118408
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
# encoding: utf-8 # module gtk.gdk # from /usr/lib64/python2.6/site-packages/gtk-2.0/bonobo/ui.so # by generator 1.136 # no doc # imports from exceptions import Warning import gio as __gio import gobject as __gobject import gobject._gobject as __gobject__gobject import pango as __pango import pangocairo as __pangocai...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
a1a6271153ef74e850bfee4fa09a66089ad7f7f7
1c4c8b04ce6b956d473bb6abc0f5c7550a38abf2
/board/views.py
a5e1f9149ef314a5fd6f0aa98f87379b2d2b1e4e
[]
no_license
MaximSungmo/pysite
bc580e62d84f985db70b262e0beb5d0fe04494c6
7d10426a46f48ebf0b9dbe125cb1a3bc0f5d73de
refs/heads/master
2020-06-07T02:11:25.895885
2019-06-24T11:07:31
2019-06-24T11:07:31
192,898,677
1
0
null
null
null
null
UTF-8
Python
false
false
6,333
py
from math import ceil, floor from django.core.paginator import Paginator from django.utils import timezone import board as board from django.db.models import Max, F from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render # Create your views here. from board.models import Board,...
[ "ksm5318@naver.com" ]
ksm5318@naver.com
87377f1e6c5fbb48c8477a2253b5cb61591dbab6
93d76a2643a57543428a86047629f3c0c992f222
/level_2/string_compression.py
2bcc1227921effd85cb70369b9c8b7721b64e190
[]
no_license
hyz218/codingtest_programmers
e6261f7a850506e5b694fe876ae2785dc87a5680
ae3d2eb513c982a5895ce903c470261a4b147d18
refs/heads/main
2023-09-04T10:19:32.255432
2021-11-19T07:51:40
2021-11-19T07:51:40
401,927,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
def solution(s): answer = len(s) #answer를 문자의 총 길이로 초기화 for step in range(1,len(s)//2+1): #1부터 문자열 길이의 반+1까지 반복 compressed = "" #문장 초기화 prev = s[0:step] #초기 문자열 지정 count = 1 #초기 문자의 count지정 for i in range(step,len(s),step): #해당 단위를 늘리며 확인 if prev == s[i:i+step]: #이전 문...
[ "dlsal1890@naver.com" ]
dlsal1890@naver.com
d948e6f2cea3277ef12bf61e893e539a196cdc75
ae326c4e6a2b2d5b67fa8d175249ef90f6a3021a
/leo/external/npyscreen/wgbutton.py
3c3864dccecbf6a1b774d0f84bc4e561b11aed17
[ "MIT" ]
permissive
frakel/leo-editor
f95e6c77d60485d80fddfbeaf35db961cf691177
b574118ee3b7ffe8344fa0d00dac603096117ac7
refs/heads/master
2020-03-28T10:40:24.621077
2018-10-23T14:39:31
2018-10-23T14:39:31
148,132,817
0
0
MIT
2018-09-10T09:40:18
2018-09-10T09:40:18
null
UTF-8
Python
false
false
4,629
py
#@+leo-ver=5-thin #@+node:ekr.20170428084207.524: * @file ../external/npyscreen/wgbutton.py #!/usr/bin/python #@+others #@+node:ekr.20170428084207.525: ** Declarations import curses import locale # import weakref from . import npysGlobalOptions as GlobalOptions # from . import wgwidget as widget from . import wgche...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
cbec1b9899516b898ddf2b75425a155a5e2e9388
5aa80aab7a75d76b0aa838bf8f74a276a12c876e
/src/dns/scripts/del_virtual_dns.py
d01e287f11d833d931e334fea48bc13f10915239
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
tungstenfabric/tf-controller
83b6d58afadb5697b540b5345711a5b2af90d201
f825fde287f4eb2089aba2225ca73eeab3888040
refs/heads/master
2023-08-28T02:56:27.329584
2023-08-20T12:15:38
2023-08-20T12:31:34
231,070,970
55
29
Apache-2.0
2023-07-23T01:38:17
2019-12-31T10:24:38
C++
UTF-8
Python
false
false
2,811
py
#!/usr/bin/python # #Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. # from __future__ import print_function from future import standard_library standard_library.install_aliases() from builtins import object import sys import argparse from six.moves import configparser from provision_dns import DnsProv...
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
9dcc11530aa168ba062bff7dd5358218de5bc532
8966cf0b452dc77c4a807e6c0529a39a55d446f1
/algo.py
9035c5fa7aacd5afd06a23c2602090e01fbf55d1
[ "MIT" ]
permissive
morefreeze/base_code
126cd494fc160c02756baafdaba2af87dfed17ae
0af61bb8c6a72ca99fc5ae97c0d6a559b851e562
refs/heads/master
2020-04-27T20:36:59.017618
2019-03-09T07:51:27
2019-03-09T07:51:27
174,664,492
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
# Algorithm code collections def power(a, n, mod): a %= mod p = a ret = 1 while n: if n % 2: ret = (ret * p) % mod p = (p * p) % mod n //= 2 return ret
[ "noreply@github.com" ]
noreply@github.com
1dffaae32047cb3ba5c854e81874a7c861b1ebc1
ac34cec30b224277f0083235314755aa3142e56e
/shop/admin.py
380fedd067f952dd253bcf630829597e44ec48d8
[]
no_license
oviyasivadas97/foodvlog
f0e083889f861ae831f9efce5f6051263d28824e
700ca5f51a65e37d28f38f010d113fbcd9ea7061
refs/heads/master
2023-08-21T01:53:38.121634
2021-09-25T06:21:18
2021-09-25T06:21:18
405,998,681
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from django.contrib import admin from . models import * # Register your models here. class catadmin(admin.ModelAdmin): prepopulated_fields = {'slug':('name',)} admin.site.register(categ,catadmin) class pdtadmin(admin.ModelAdmin): list_display = ['name','slug','price','stock','img','available'] list_edit...
[ "oviyasivadas97@gmail.com" ]
oviyasivadas97@gmail.com
51f512a009d612d8737cedcd92ab98789dd019e2
13f5984be7be77852e4de29ab98d5494a7fc6767
/LeetCode/029两数相除.py
1156923f619001bb4fb9a6633818ed77385df8ac
[]
no_license
YuanXianguo/Python-Interview-Master
4252514763fc3f563d9b94e751aa873de1719f91
2f73786e8c51dbd248341559de171e18f67f9bf2
refs/heads/master
2020-11-26T18:14:50.190812
2019-12-20T02:18:03
2019-12-20T02:18:03
229,169,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
""" 给定两个整数,被除数 dividend 和除数 divisor。将两数相除,要求不使用乘法、除法和 mod 运算符。 返回被除数 dividend 除以除数 divisor 得到的商。 """ def divide(dividend, divisor): if dividend > 0 and divisor > 0 or dividend < 0 and divisor < 0: sign = 1 # 判断是否异号 else: sign = -1 m = 1 # 记录当前除数是原除数的倍数 cnt = 0 # 记数 dd, dr = abs...
[ "736913978@qq.com" ]
736913978@qq.com
16ea2edf996fdde207855365be0fe52b0d5e8b2d
05b0162d5ee7ab74f71ad4f21d5188a8735dfaef
/plugins/modules/telemetry_info.py
bda5b2c9f1557fd1446ffb91c4bca170ffd1fd56
[ "MIT" ]
permissive
steinzi/ansible-ise
567b2e6d04ce3ca6fbdbb6d0f15cd1913a1e215a
0add9c8858ed8e0e5e7219fbaf0c936b6d7cc6c0
refs/heads/main
2023-06-25T15:28:22.252820
2021-07-23T14:21:40
2021-07-23T14:21:40
388,820,896
0
0
MIT
2021-07-23T14:03:07
2021-07-23T14:03:06
null
UTF-8
Python
false
false
2,955
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2021, Cisco Systems # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) DOCUMENTATION = r""" --- module: telemetry_info short_description: Information module for Telemetry Info description: - Get all Telemetry Info. - G...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
85bb0accc6dc60de59f5b6035219729608376cd2
69838abe33e791366db4aa6d8444797eaad4074b
/app/api/urls.py
55a716605e85b7dd04ae73a48baff827498f8fe5
[]
no_license
m-cherni/recipe-app
98d0c4296c0d79788bfa15944a2d06e20ca62058
71241d3bd6e6817a9d5b20374c9ff2ab06e8b35b
refs/heads/main
2023-02-22T19:58:01.537782
2021-01-16T15:11:21
2021-01-16T15:11:21
317,808,737
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
"""api URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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...
[ "cherni.moemen@gmail.com" ]
cherni.moemen@gmail.com
dd9bb3eaa062aa914b3a14ba7c2732c0c28b07d8
fb9a1c8882cc90986a42e9d2309633c24c58f15d
/blog_project/blog_project/urls.py
6456f643734c16afec453e3e3ffc657928e7dd67
[]
no_license
ShivamRajSingh/blog_project
a1dc3755af83f5521fe5cc378d273ab5fa67b027
d3d759441f3568a295f7da428497965568ce5d68
refs/heads/master
2023-08-10T03:11:32.799328
2020-07-02T21:37:21
2020-07-02T21:37:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
"""blog_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "shivamrajsingh3009@gmail.com" ]
shivamrajsingh3009@gmail.com
b44c7c0772fd97d5cf0f5017db34065ed775a6d6
3cfaced76d557e734288b68370605bea04a619b5
/backend/chat/src/config/settings.py
c991cc0debd7bd998988b5e51a48d9ac213928d0
[]
no_license
Cheesy008/cards_against_humanity
8dcd4fe6a8aa41779fd493daf8b496e4e73312a6
07e1cc3368ad3cbb886a74bf4525b17c8c04bd1f
refs/heads/main
2023-03-04T20:44:41.555229
2021-02-12T16:59:36
2021-02-12T16:59:36
327,795,089
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
BACKEND_CORS_ORIGINS = [ "http://0.0.0.0:3000", "http://192.168.144.5:3000", "http://localhost:3000", "http://localhost", "https://localhost", ]
[ "mr.world008@gmail.com" ]
mr.world008@gmail.com
04acb0393a462ba065c985051d1ef44d47800186
37752ca9d08d8c58803b74bad91b452b2ed67976
/ecomsite/shop/migrations/0004_order.py
664e31d81f15a1627b5dc2c6abae9f88153a8fd9
[]
no_license
xxcramseyxx/django-ecom
6ea968aa19bc2fc8d314a1ff79479ee25476d1b6
a18d3d64127eed907fa731bfdef52346e5fb5abb
refs/heads/main
2022-12-29T11:23:00.498814
2020-10-21T05:06:26
2020-10-21T05:06:26
305,911,300
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# Generated by Django 3.0.8 on 2020-10-16 22:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0003_delete_orders'), ] operations = [ migrations.CreateModel( name='Order', fields=[ ('id',...
[ "xtianramses@MacBook-Pro.local" ]
xtianramses@MacBook-Pro.local
c642050f75c73ece6e5867fe656a6d09ccdbca6d
3e72c304e2bffed0045ac83489e2ab3342da3474
/posts/migrations/0001_initial.py
d71fbeca2e7f30da34682847122c19172419ddd1
[]
no_license
Suleyman98/appofdjango
1efe551c955964b6048914399af22bde2570ded7
c12a9fae4f6bf41c1b6239b648c6275b0edb0be6
refs/heads/main
2023-03-16T20:40:50.985841
2021-03-17T10:53:48
2021-03-17T10:53:48
348,113,298
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
# Generated by Django 3.1.5 on 2021-03-06 09:14 from django.db import migrations, models import posts.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BlogPost', fields=[ ('i...
[ "subayramov@gmail.com" ]
subayramov@gmail.com
5c27a5ed688dd6d9b0e6294baf5b5b8a0254ffa0
2bbce0bb21b1220102f0b5c44e595b1ffefcff59
/src/constants.py
83e8bc06cd3b3169cc86c35de819133a5f5b757e
[]
no_license
Jedyle/music-analysis
26d59e3a3c03708b51276b8e50fa1f17054ff89f
21fa12db09c60c5245fe89af1ec4ed969b748e8a
refs/heads/master
2020-03-23T12:38:36.600513
2018-07-19T12:27:06
2018-07-19T12:27:06
141,572,077
0
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
from globals import * import pygame as pg ############ name constants ############# WINDOW_TITLE = "ETE - EarToEye" ############ path constants ############# IMG_PATH = "img/" SOUND_PATH = "track/" ############ display constants ############## NB_COLORS = 40 MATRIX_FPS = 1 CORREL_INTERVAL = 1 CORREL_T...
[ "jeremy.lixandre@gmail.com" ]
jeremy.lixandre@gmail.com
63aa5485193d576bd3a60907bb500eb3faaa0ab9
af239d822f665ade9c22ac818d88dd57e9243128
/lib/fm_radio_station.py
6abdf66413d3395ed98e9083c63e3a35b4f5a954
[ "Apache-2.0" ]
permissive
djmoffat/RadioVisDemo
e261ffa588c123d94a1f19658cd119ef35029441
b226719a5522d679a49b4c928343db16e578a280
refs/heads/master
2020-09-09T20:04:11.333010
2019-08-28T16:14:57
2019-08-28T16:14:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,600
py
# Copyright 2009-2011 British Broadcasting Corporation # # 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 ...
[ "chris.needham@bbc.co.uk" ]
chris.needham@bbc.co.uk
5fcadfe2c989d6236fd9e16b9ef2e8f43df5ac97
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kxe.py
c40379199b994eb20da11cca988f332d3ab394a2
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
a412918ce5dcec8fee3151308724b448fd5d6002
433ca57245fe15afd309323e82f3bdf3287b4831
/core/migrations/0008_auto_20160307_2140.py
62fda1323eb7db7c7c2c7350624efb31a595440e
[]
no_license
greenteamer/ceiling-django
db5170faada0f1582c744fa28c638e8671dc2ab9
b4a469ae7d2ce6ed36ae51af60633de1fdb43ea4
refs/heads/master
2020-04-09T19:01:40.273226
2018-12-05T14:39:15
2018-12-05T14:39:15
160,531,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-07 21:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20160307_2129'), ] operations = [ migrations.CreateModel( ...
[ "greenteamer@bk.ru" ]
greenteamer@bk.ru
d4c171602f31cd1882324afc4197bdd92fee1638
ee4f7d4a0d81e902520b339dd77e5960014fa339
/migrations/versions/bf3e0c0e76b8_.py
41ff51012432dcaffd146da5ebd531869980da86
[]
no_license
davejonesbkk/flask_by_example
96b8865fa9ab31f0887412ef152de221bf7661f3
9d9fad6afc85ed4cdbbd2f583029a3c29e2d035f
refs/heads/master
2016-09-12T20:56:51.007430
2016-05-08T04:39:56
2016-05-08T04:39:56
58,139,690
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
"""empty message Revision ID: bf3e0c0e76b8 Revises: None Create Date: 2016-05-07 13:52:41.241555 """ # revision identifiers, used by Alembic. revision = 'bf3e0c0e76b8' down_revision = None from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql def upgrade(): ### commands auto...
[ "davejonesbkk@gmail.com" ]
davejonesbkk@gmail.com
ca37974e5dde95fe052a2698ed18168fdf122bdc
aaa6155adcb534e07ae8552f444556d760f77e03
/main.py
5f94b77bb34c931f491e37ed3a1e313751d2fea0
[]
no_license
kravelin/uda-blog
1338e6617a940f4ddb686cb6aea0695a154f72f4
3183da23c8ea5948954694fb81b553bf937a524c
refs/heads/master
2021-01-12T05:00:18.423392
2017-02-02T19:22:04
2017-02-02T19:22:04
77,827,497
0
0
null
null
null
null
UTF-8
Python
false
false
24,447
py
import os import webapp2 import jinja2 import hashlib import hmac import random import string import re ### My modules import blogData import validate from string import letters from functools import wraps from google.appengine.ext import db template_dir = os.path.join(os.path.dirname(__file__), "templates") jinja_...
[ "kele.kravelin@gmail.com" ]
kele.kravelin@gmail.com
dcdd8ab7f7f4833276dab289032626fc5b601f5b
8a836674580776968590be52c0f9ae7b069c1aaa
/input.py
aad1de5c53ac82398e04f97fb949bac785a4dd7e
[]
no_license
allenleung/level-up
a02fd313f5b66d3e77675fb01b58949f6cb9746e
3dcef72adea85d66d722570c0ebc23adfa235bc1
refs/heads/master
2020-12-24T13:07:37.860842
2016-11-07T21:36:35
2016-11-07T21:36:35
67,830,843
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
#!/usr/bin/python # Initialize a variable with a user-specified value user = input( 'I am Python. What is your name? :' ) # Output a string and a variable value print( 'Welcome' , user )
[ "allenleung@users.noreply.github.com" ]
allenleung@users.noreply.github.com
0cd92cdae61103153728dac22fa21c625ea98a69
4464286f3029572c999798eda84e889060ab62df
/tunr/urls.py
dad4733cfdced5f83d2264a7605a4683add5f206
[]
no_license
josephhrohman/django_tunr_example
ff3e8b55a8aa6ca3ca2f3d1a97447007b0a1d968
5d2f22c00f3e0e773741471ecefeb6b89fac2d21
refs/heads/master
2020-05-25T18:06:54.996811
2019-05-17T22:16:29
2019-05-17T22:16:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
# in tunr/urls.py from django.urls import path from . import views urlpatterns = [ # Artists path('', views.artist_list, name='artist_list'), path('artist/<int:pk>', views.artist_detail, name='artist_detail'), path('artist/new', views.artist_create, name='artist_create'), path('artist/<int:pk>/edit', views.a...
[ "travisformayor@users.noreply.github.com" ]
travisformayor@users.noreply.github.com
b5b8943bbb5130ddcfdefa25858db25f6cc56290
1166cad08dd1b57ce5a48721fac9c3c58426c431
/pyBlackScholesAnalytics/example_options_IV.py
76e281499403f56f0972f935f50a534b04a368c3
[]
no_license
gabrielepompa88/IT-For-Business-And-Finance-2019-20
411956bc1999b1bc3a83494ac23e5d32cb6bf263
7c0ecab93a13ebcd62de0d00615320fee0af6bb4
refs/heads/master
2021-07-16T09:49:41.808308
2021-03-07T12:35:37
2021-03-07T12:35:37
241,672,404
6
6
null
null
null
null
UTF-8
Python
false
false
5,627
py
""" Created by: Gabriele Pompa (gabriele.pompa@gmail.com) File: example_options_IV.py Created on Tue Jul 14 2020 - Version: 1.0 Description: This script shows usage of PlainVanillaOption and DigitalOption classes to compute of Black-Scholes implied volatility surfaces for plain-vanilla and digital option con...
[ "gabriele.pompa@gmail.com" ]
gabriele.pompa@gmail.com
b4236b401b10e12c701b3ebd2d3c03fbb6845db2
5c196c4d6775f5c8d5ae24ee7377f5462c0fa06f
/Scripts/olx.py
84e9eca980c9b53a9f8f02bf5c1bd55bd6d6109f
[]
no_license
ahafidhkhoiri/olxPhoneScrapper
04fe0a7f0ec5a8bdc29f0b84215da8e25f6ed5f2
8fbbf1600c746dd3a0e9d0e13ddf317cdeac8644
refs/heads/main
2023-04-05T04:52:12.671225
2021-04-15T14:24:24
2021-04-15T14:24:24
358,286,364
0
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.action_chains import ActionChains from selenium.common.exceptions import NoSuchElementException from bs4 import BeautifulSoup import config import time im...
[ "grosirpc@gmail.com" ]
grosirpc@gmail.com
230538c60766cb9b0d8295ed5d9fc486bbf94ccb
a0dce37339bf2e60d7ddff5b1b9346e364a04bc8
/ddate.py
5091d6489d41753b8c99ad25d8819200d8444ede
[]
no_license
archiver/spoj
c0dfdc2bfea0c4d811ee0b95dce83c720bea3eae
ac78437594b4ff062db886d03db2a7192478b603
refs/heads/master
2020-05-18T00:58:53.697941
2013-01-18T22:00:38
2013-01-18T22:00:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
import calendar n,c=input(),lambda x:int(x,2) while n:t=bin(input())[2:].zfill(23);print c(t[18:]),calendar.month_name[c(t[14:18])],c(t[:14]);n-=1
[ "pavan@pavan.(none)" ]
pavan@pavan.(none)
6f995e1c0648f1fbaee605a1e8368aa27c784847
fa5e22528ab8308c4a2bfa902d9ee288aa977233
/nfb_studio/block/block_view.py
a86de49051d55dad7bf36c620a0a482948f0f911
[]
no_license
bioelectric-interfaces/nfb_studio
4aa506c27ad693810fad6e884834949b24d6dde8
397605cb6beb4d35f0b2dc14dd1efa3d81976461
refs/heads/master
2023-04-23T10:27:27.957674
2021-05-23T20:17:08
2021-05-23T20:17:08
237,448,419
1
0
null
null
null
null
UTF-8
Python
false
false
7,880
py
"""Config widget for a single experiment block.""" from PySide2.QtWidgets import ( QWidget, QFormLayout, QDoubleSpinBox, QSpinBox, QComboBox, QLineEdit, QCheckBox, QGroupBox, QHBoxLayout, QLabel ) class BlockView(QWidget): """Config widget for a single experiment block. In a model-view paradigm, this is...
[ "andres.zhukov@gmail.com" ]
andres.zhukov@gmail.com
110128173b2b8d626dac71c749c775a846123c91
64e2fb64ffb2d71586ae17302b4effe23844a395
/api/vendor/api/views.py
c39d2ae9a19f65b8406442825306c4c0041908c3
[]
no_license
Ryanb58/foober
ffc4f271393ccb34bacae4496d3d0e0bdd9db622
14820f89017b58eaeac3307d8f4c6f179679f870
refs/heads/master
2020-03-20T16:42:16.005373
2018-06-18T14:55:13
2018-06-18T14:55:13
137,544,374
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
"""Food Views.""" from rest_framework import viewsets from vendor.models import Vendor from .serializers import VendorSerializer class VendorViewSet(viewsets.ModelViewSet): """Food Item View Set.""" queryset = Vendor.objects.all() serializer_class = VendorSerializer
[ "tbrazelton@veristack.com" ]
tbrazelton@veristack.com
41deea999fb6436d503862a1400a2918ed3f094e
972facce06fd07521a73f499c6ddc73992ed2407
/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3_test.py
94a3481ae6da7cd768079d9eeaca2b86c9ae84ed
[ "MIT" ]
permissive
rash-gr8/content
fc38841e8723a3cd0af69c59509f969822cd2464
1d9734e49d37139b89fdc4b574519b612e00cd98
refs/heads/master
2023-08-27T13:52:13.349452
2021-10-31T13:59:07
2021-10-31T13:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
101,019
py
""" QRadar v3 integration for Cortex XSOAR - Unit Tests file """ import io import json import concurrent.futures from datetime import datetime from typing import Dict, Callable import pytest import pytz import QRadar_v3 # import module separately for mocker from CommonServerPython import DemistoException, set_in...
[ "noreply@github.com" ]
noreply@github.com
16d6aefc9e478f51c8cb830abb4487ef1c8ae0ca
8273790b3f6f08aca4fb5ba773411ed07c838aee
/Week_04/python/prefix_sum/1950_make_sum_divisible_by_p.py
7061b38c05874df7fed99bb628916294fcbbf06a
[]
no_license
jason-z-zhou/algorithm019
672a37bd2f1a373e35838eafaca318ec6f55db55
02d1487d2538a1aee8c18de910e2498eb6036fe4
refs/heads/main
2023-04-23T04:32:47.626140
2021-05-06T22:05:13
2021-05-06T22:05:13
309,104,845
0
0
null
2020-11-01T13:44:07
2020-11-01T13:44:06
null
UTF-8
Python
false
false
1,525
py
from collections import defaultdict from typing import List class Solution0: def minSubarray(self, nums: List[int], p: int) -> int: if sum(nums) % p == 0: return 0 t = sum(nums) % p look_up = defaultdict(list) window_sum = [] curr_sum = 0 for i, num in enumerate(nu...
[ "jaszhou@ebay.com" ]
jaszhou@ebay.com
181c63752e67f0a960150c332ecb3bf92cf34a26
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/vtv.py
505b75b184887e252648e4584542cf114b232a69
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
20837687ebe33143cbbc0a6ecf06987128e7ddcd
e5d83ede8521027b05d9b91c43be8cab168610e6
/0x0F-python-object_relational_mapping/11-model_state_insert.py
3b320438e74aeaf232b7feb9798f734e04f290b2
[]
no_license
Danielo814/holbertonschool-higher_level_programming
8918c3a6a9c136137761d47c5162b650708dd5cd
832b692529198bbee44d2733464aedfe650bff7e
refs/heads/master
2020-03-28T11:09:00.343055
2019-02-22T03:33:54
2019-02-22T03:33:54
148,181,433
1
0
null
null
null
null
UTF-8
Python
false
false
658
py
#!/usr/bin/python3 """ '11-model_state_insert' module, uses sqlalchemy to list state objects from a database """ if __name__ == '__main__': from model_state import Base, State from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker import sys engine = create_engine("mysql+mysqld...
[ "211@holbertonschool.com" ]
211@holbertonschool.com
f1ed696c3da483e3aba77372908846b1faf85383
1dbe84e1f069b1bbb72ae2ac1220015753464964
/service/api/fizzbuzz_statistics_handler.py
91d1088cbc56c15f3de15d9887909b38ce62b954
[]
no_license
jflbr/fizz-buzz
0b9ada8edf422c9d35235b4f1a88c7443b9318a3
bba4846f598e058cddd355cf9cfe860c4adb1351
refs/heads/master
2022-12-10T20:02:16.730523
2019-06-28T14:49:09
2019-06-28T14:52:17
192,903,195
4
0
null
2022-09-16T18:10:14
2019-06-20T10:53:19
Python
UTF-8
Python
false
false
1,071
py
"""Handles the GET /api/1/fizz-buzz/statistics/ API endpoint.""" import logging from aiohttp.web import json_response, Response, Request from service.models.fizzbuzz_repository import FizzBuzzRepository LOGGER = logging.getLogger("fizz-buzz.statistics") async def statistics(request: Request) -> Response: """F...
[ "jeyfelbrandauer@gmail.com" ]
jeyfelbrandauer@gmail.com
e7267a506d4eb1045254fc644fd9edb03d4c5cbc
dd4c30eb75811d38be1f4519946f46af0aa8fc98
/util/EnergyUtil.py
49ec387b41a644e2f279851c392e5cbc1720d9ca
[]
no_license
JianguoChen2015/MEC_Game
61ef509035418322fefa04b8d50d79feb1f1d30f
a506ee46374bd33f47d3448ca3d8463c119dce84
refs/heads/master
2020-04-03T03:12:25.867597
2018-11-13T02:37:02
2018-11-13T02:37:02
154,979,589
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
#Calculating the energy consumption of a single task from util.CommunicationUtil import CommunicationUtil class EnergyUtil: #Calculate the energy consumption for a local task def energy_task_local(self, task, ue): e_local = task.computingsize *ue.wi return e_local #Calcula...
[ "cccjianguo@163.com" ]
cccjianguo@163.com
59c36e7a733d2586f940c8d7f2cda193587e2e64
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/631/631.design-excel-sum-formula.233766026.Accepted.leetcode.py
43c751d9a3847fbc50be93236347e9397d60a780
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
1,185
py
class Excel(object): def _indices(self, r, c): return [r - 1, ord(c) - ord("A")] def __init__(self, H, W): rows, cols = self._indices(H, W) self.excel = [[0 for _ in range(cols + 1)] for _ in range(rows + 1)] def set(self, r, c, v): r, c, = self._indices(r, c) self....
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
de3a55bfd7977511ac921bd116b429c35f05cc98
ed0537d0632c0bf6fd2a55e26d001560a9dda873
/copyfiles.py
95e358b416b9cbbdaf0dc8d21c87330196f36844
[]
no_license
joanithagomez/Learn-python-the-hard-way
9a4cc9b769cf3e4cf2c1948c74c5ddcf80e09097
975bb37f3d2c1f408858b41d52734cdb95c2003c
refs/heads/master
2021-07-23T04:44:22.786922
2017-10-28T23:16:20
2017-10-28T23:16:20
108,690,052
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from sys import argv ; from os.path import exists;script, fromfile , tofile = argv; print " Input file is %d bytes long. " % len(indata) print "does the output file exist? %r " % exists(tofile) out_file = open(tofile,'w') out_file.write(indata) out_file.close() in_file.close()
[ "joanitagomez@gmail.com" ]
joanitagomez@gmail.com
22e2ad50348bea121dd21cebeed88c086f68ff8d
1c7543865ee740bc42f1b6062ff6c18c4f7b3bbe
/netclone/email.py
e6093e79876f1182815e14a0be7fec7afbbf6b0b
[]
no_license
jwy951/netflix-clone
0417f477f9653b3314b2a26cd1022f6bf723983e
d7ee38cb1a7132cc9848ba01864756f78e071470
refs/heads/master
2023-06-21T16:35:26.144349
2021-07-22T11:59:01
2021-07-22T11:59:01
387,807,195
0
0
null
2021-07-22T11:59:02
2021-07-20T13:50:49
Python
UTF-8
Python
false
false
592
py
from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string def send_welcome_email (name,receiver): #creating message subject and sender subject = 'Welcome to the Netflix clone ' sender = 'budds.givondo@student.moringaschool.com' text_content = render_to...
[ "budds300@gmail.com" ]
budds300@gmail.com
365ceaa7222b7532942e6aad67b9545a9a634088
65c3e7139829829dd1410228e17f85c285ab0706
/Aniyom Ebenezer/phase 1/python 2 basis/Day_25_Challenge_Solution/Question 5 Solution.py
5ceac0d832e2fe6730aa996bf1728961909326a7
[ "MIT" ]
permissive
eaniyom/python-challenge-solutions
167e9d897d0a72f1e264ff2fed0e4cc5541b0164
21f91e06421afe06b472d391429ee2138c918c38
refs/heads/master
2022-11-24T02:57:39.920755
2020-08-05T09:23:04
2020-08-05T09:23:04
277,686,791
1
0
MIT
2020-07-07T01:31:00
2020-07-07T01:30:59
null
UTF-8
Python
false
false
686
py
""" From Wikipedia: An isogram (also known as a "nonpattern word") is a logological term for a word or phrase without a repeating letter. It is also used by some people to mean a word or phrase in which each letter appears the same number of times, not necessarily just once. Conveniently, the word itself is an isogram ...
[ "eaniyom@gmail.com" ]
eaniyom@gmail.com
21f3eba9fd00f9c167dc172d24b9dda0ae5cb393
3e30e5b16581edcdb95b9ad898f702d026589838
/PRARMACY_API/pharmacy_api_project/select_drugs/admin.py
c770bc251791222ced3abcfbbbb4e7b279f0c8e5
[]
no_license
Minhaj0231/Pharmacy-App
a77631331093b749fa40da0f41b0886cfc9e3456
4672bd0d81288f1ee4a9810d3625bf4bbb730160
refs/heads/main
2023-05-04T16:42:02.061085
2021-05-23T16:01:34
2021-05-23T16:01:34
370,093,704
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from django.contrib import admin from .models import Drugs admin.site.register(Drugs)
[ "minhaj0231@gmail.com" ]
minhaj0231@gmail.com
8a7d7f08ef2f82a00584ee0a6be78faa43021b15
b0a097b61554b5be235e7993234c05a09c9cd07c
/py_gnome/tests/unit_tests/test_save_load.py
0c1c788c3a36727a07025ac59fefd558c4fee1cc
[]
no_license
Jesusreis/PyGnome
ddab4fd517fa4fbf32c2114094ec5b9fb2e8a1c7
cf48bce8415bc16acdc18d8219e05f5da28bdeb8
refs/heads/master
2021-01-17T06:10:13.173510
2015-01-30T00:09:08
2015-01-30T00:09:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,435
py
''' test functionality of the save_load module used to persist save files ''' import os from datetime import datetime import shutil import sys from gnome.persist import References, load, Savable from gnome.movers import constant_wind_mover from gnome import movers, outputters, environment, map, spill, weatherers from ...
[ "jasmine.sandhu@noaa.gov" ]
jasmine.sandhu@noaa.gov
c3cb3707f45a79e7993cc963620d0514377e59ce
4a6fbf79f494f9bfd86157e3dd497f39accc237b
/matrix.py
97290ef966c49e5da73c15a0d7a52b7e96a05747
[]
no_license
ColbyZhuang/BVH_reader
92dbfec031f4282014927eabec085ed1a22ae366
ad6949719196781bb05031fb1e45b0153a76b164
refs/heads/master
2022-10-11T06:33:55.834414
2020-06-14T12:20:45
2020-06-14T12:20:45
272,191,319
3
1
null
null
null
null
UTF-8
Python
false
false
5,755
py
# -*- coding: utf-8 -*- import numpy as np import math from scipy.spatial.transform import Rotation as R def degree2radian(theta): return theta * np.pi / 180.0 def radian2degree(theta): return theta / np.pi * 180.0 def rotation_x(theta_x): theta_x = degree2radian(theta_x) rx = np.mat([[1.0, 0.0, 0....
[ "1069707036@qq.com" ]
1069707036@qq.com