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
6585753cd7b6f354d9dcadc036862f1c9917be0c
b12de4e5869f413b3f7e96ff9ad9805dc582abb8
/catkey.py
f9a6d8141b154562c9428e688bde96806a6362d5
[]
no_license
JungleCatSW/pythings
9ac4b3e82257899a20517eef31743bb6b8700363
c5d9a9a132a1ad22ffc8bddf97460e6751146785
refs/heads/master
2021-05-05T05:03:24.739425
2018-02-09T21:08:38
2018-02-09T21:08:38
118,653,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,975
py
import colorsys import random from openrazer.client import DeviceManager from openrazer.client import constants as razer_constants # Create a DeviceManager. This is used to get specific devices device_manager = DeviceManager() print("Found {} Razer devices".format(len(device_manager.devices))) print() # Disable da...
[ "junglecatsw@gmail.com" ]
junglecatsw@gmail.com
8d7da6f2c9292a2ad5a6f2a3890fae0886b60128
b1eec83eaeb12cd052e30cd573099134ee3be3c7
/week2-medium2.py
3cdf41f5087432ca3fbda521a5dbf86230fcfca4
[]
no_license
helloangely/HackerRankPractice
426071db299b675241bd5d7b7aa172b0fab7966b
b980ec790c416aec774b4d30a8134cf45029fee7
refs/heads/master
2020-12-30T12:54:47.197472
2017-05-23T02:59:05
2017-05-23T02:59:05
91,364,542
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
# Python, Math, TrianlgeQuest # https://www.hackerrank.com/challenges/python-quest-1 for i in range(1,input()): #More than 2 lines will result in 0 score. Do not leave a blank line also print (pow(10,i)/9) * i
[ "anphilip@indiana.edu" ]
anphilip@indiana.edu
621fefd7d64406e47dba080a9f797df2e99acd2c
a572609f6088998bbca1f5c90f03e0c546165904
/foo.py
94a3af51ec64ed8ddcfb9b111d58e2729800ce06
[]
no_license
aayush240/Verse-Bot
d4a840875fa8b361969ffee6b247b3da8ef816d7
9950c2d7ddad8df6a65ab62b07af701841be9d05
refs/heads/main
2023-07-07T03:50:53.082035
2021-08-12T16:55:49
2021-08-12T16:55:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
import os ACCESS_TOKEN = os.getenv("ACCESS_TOKEN") VERIFY_TOKEN = "abc" # MONGO_URI = "mongodb://localhost:27017/FbMessenger?retryWrites=true&w=majority" MONGO_URI = os.getenv("MONGO_URI") # AWS_ACCESS_KEY_ID = "" # AWS_SECRET_ACCESS_KEY = "" # S3_BUCKET_NAME = "verse-recordings" # S3_URL_EXPIRE_AFTER = 7...
[ "sorb.hanzala@gmail.com" ]
sorb.hanzala@gmail.com
006edbae8c22e29bd133e000c53bd3de630964fb
02c204cb9d4d0e4ed6642890db2b58f4d10b7ee0
/saldo/cli/fetch.py
f7628a6d1a935019a7cbf4e6800f94c7272bca4d
[ "MIT" ]
permissive
dr-duplo/python-saldo
493d14bc3564e86c3f21ab66484bb26c4477d7f9
4391296f8999b08303edd08bc93b961aed5b69f1
refs/heads/master
2020-06-03T05:37:52.348099
2019-07-20T10:43:09
2019-07-20T10:43:09
191,463,886
3
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
import click from colorama import Fore from .transactions import print_transaction class ClickProgressBarUpdater: def __init__(self, bar): self.bar = bar self.progress = 0 def __call__(self, progress): self.bar.update(progress - self.progress) self.progress = progress @clic...
[ "monsieur.cm@gmx.de" ]
monsieur.cm@gmx.de
f374980c9fb94d9f5da8904ed7b09f87afb80646
b6d531f6f75c35556f9e0354d26deab8de721982
/src/python/controller_server.py
1cc3a9a501fc040c7633de1a2cdfc8824f721095
[]
no_license
RajatGarga/Transport-Communication
e4e37899e40be95f215d0dc39e70b4770f6b5aad
8b81ae1fccf381853bd856e6fe65286cc49b241e
refs/heads/master
2020-05-09T20:40:50.161063
2019-12-01T14:08:43
2019-12-01T14:08:43
181,415,875
0
1
null
null
null
null
UTF-8
Python
false
false
720
py
from py4j.java_gateway import JavaGateway from py4j.java_gateway import java_import #to be done only once gateway = JavaGateway() java_import(gateway.jvm, 'tcom.Message') java_import(gateway.jvm, 'wifi.WifiClient') #use appropriate ip address for the communication module machine client = gateway.jvm.WifiClient("127.0...
[ "RajatGarga@users.noreply.github.com" ]
RajatGarga@users.noreply.github.com
b6af62fc18510a98e774b330e678fc1811193926
dd251d101e70e84c92dcfb61a2c09696a8bc4103
/main.py
686005b4b2d1086e3269d7c1213192039ec2f118
[]
no_license
ianwhale/dl_genomics
7a222587ec658e2baf3204862a2768cab193e9a6
395a3902a94254b524323bd0e975f418b0eb18b0
refs/heads/master
2020-03-19T08:11:19.959332
2018-06-22T14:24:07
2018-06-22T14:24:07
136,183,065
0
0
null
null
null
null
UTF-8
Python
false
false
6,029
py
import os import time import torch import random import argparse import numpy as np import torch.optim as optim from torch.autograd import Variable from utils.stats import pearson_correlation from torch.utils.data import TensorDataset, DataLoader from torch.utils.data.sampler import SubsetRandomSampler from models.extr...
[ "ianwhale@github.com" ]
ianwhale@github.com
d54b6f8b688482be6b329a67f8e9436cbad3c94f
6d339650a11d79da9232d084b62107f0b60ab4f4
/eval.py
4ab74c97a24bdd268404e6802aa599856e65f8a4
[ "MIT" ]
permissive
rajatmodi62/CVPR20_FGVC_PlantPatho
ca6211639cdbf90274519ab08f8803245e2a198e
09dd0fca0d976670a38eac616905c1dcc3eee356
refs/heads/master
2022-09-01T00:13:30.553562
2020-05-27T05:00:21
2020-05-27T05:00:21
247,008,196
1
0
null
null
null
null
UTF-8
Python
false
false
3,958
py
import torch from torch.utils.data import DataLoader from os import (path, environ) from tqdm import (trange, tqdm) from dataset.dataset_factory import DatasetFactory from transformer.transformer_factory import TransformerFactory from model.model_factory import ModelFactory from utils.evaluation_utils import Evaluation...
[ "aakashs.mallik.cse15@itbhu.ac.in" ]
aakashs.mallik.cse15@itbhu.ac.in
974c9ad08b078197e3468399af34ab42e855ee0c
6411bd07879a36fa7ca89f92b78ed74f42c4344c
/hammerdemo/tests.py
ac560b6d9ae8c9551ecd7496742c26c4b0300c74
[ "MIT" ]
permissive
hodgesds/django-hammer
3b62c823888d02bf89ce54abbeaca8a432d0dba8
20594b79e12c4a9f6dd9ced1b46bd20d1ed53539
refs/heads/master
2023-08-09T11:23:51.511930
2014-12-15T03:45:28
2014-12-15T03:45:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,693
py
import unittest from django.test import TestCase, Client from django.test import RequestFactory import doctest from django.core.urlresolvers import reverse, reverse_lazy from hammerdemo import models from hammerdemo.models import ( DemoPersonSiblings, DemoPerson, DemoPersonParents, D...
[ "hodges.daniel.scott@gmail.com" ]
hodges.daniel.scott@gmail.com
00ad15e722bbe99f8bd525bdc09a86c07a586422
2d77d81aca3e48c546fa3a6666437bcd7d82e46a
/Rest_Tuto/ApiTest/resources.py
4d3f6e9b7b7c10428b72ce934346ade2e8e49522
[]
no_license
DeveloperRachit/PythonDevelopment
68e73af937a415a55e6dba980ca224e8ddb5bc7f
d11e2e83f7efbfebbf9f704c19eb117db499421b
refs/heads/master
2020-03-30T12:02:39.962827
2019-02-08T02:45:34
2019-02-08T02:45:34
151,205,450
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
from tastypie.resources import ModelResource from ApiTest.models import Note from tastypie.authorization import Authorization class NoteResource(ModelResource): class Meta: queryset = Note.objects.all() resource_name = 'note' authorization=Authorization() fields = ['title','created_a...
[ "kumar1002@outlook.com" ]
kumar1002@outlook.com
db620e2a28a3a9ebb508d57da125d42cb9db8711
f3cdad925bb118d8d8af8cf7ff54742755dc5452
/chat/utils.py
a1cf3bacd2998e72d279fa91fe77548cf2673879
[]
no_license
samul-1/channels-chat
3a0049e12576e764e5887823afb868c1ec60d52c
6f2f9203c79716437b513153ff48f06494f9eb71
refs/heads/master
2022-11-22T20:48:00.238819
2020-07-29T12:38:03
2020-07-29T12:38:03
273,239,496
1
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
from channels.db import database_sync_to_async from .exceptions import ClientError from .models import Room # This decorator turns this function from a synchronous function into an async one # we can call from our async consumers, that handles Django DBs correctly. # For more, see http://channels.readthedocs.io/en/l...
[ "bsamuele00@gmail.com" ]
bsamuele00@gmail.com
51cadcb33a6cacc2f3171f46e3f650426016e4f3
884fb2eea3496724619cf57e61eb1684057c33e5
/task_02_03.py
637fe6c268cd5abb080dae67354ca0e6835b3961
[]
no_license
aleksandr-net/homework
bc82264d9374825e1d94127d5bd16ce815378ca5
16147714d9d831df2f6ba911887f869c695b0141
refs/heads/master
2021-05-16T13:24:35.647265
2017-11-13T11:40:20
2017-11-13T11:40:20
105,395,259
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
#!/usr/bin/python3.5 def average(lst): summa = 0 for i in lst: summa += i return round(summa / len(lst), 3)
[ "aleksandr.oliferuk@gmail.com" ]
aleksandr.oliferuk@gmail.com
cede8c2ba0876a968c07602c23a489a154a733bd
0e63fdc3a7523bbc65a21c59f16c6c69476f6349
/tests/test_utils.py
e61c4a686693d21887c45771c4db709391862934
[]
no_license
TTS1209/cdata
847c657bc3d282e421b0f6e39ae3b7dfdba0ffa6
b3fe55892cdb58dcc4d37213da4abdbf9990e57c
refs/heads/master
2021-01-19T12:19:27.941304
2015-06-10T14:34:18
2015-06-10T14:34:18
69,587,482
1
0
null
2016-09-29T16:43:49
2016-09-29T16:43:48
Python
UTF-8
Python
false
false
6,392
py
import pytest from cdata.utils import \ indent, comment, comment_wrap, empty_iterable, char_literal def test_indent(): # By default it should not indent a single empty line assert indent("") == "" # ...unless forced assert indent("", indent_empty_lines=True) == " " assert indent("", i...
[ "mail@jhnet.co.uk" ]
mail@jhnet.co.uk
3913619caa1e3098fd4baeb6c259119db89859a0
bf815da9cc16326bd397c939bf4e5a7ce0d3261e
/Python3/Code_Challenges/ControlFlowAdvanced.py
3e11387f437244277b2edf484e53a9e217d4bdde
[]
no_license
StingzLD/Codecademy
2e6979afe49cfba1c0fc1038dc1a50f0649f5924
a1a6f175758f6cd561cabd5bf050e219c1432930
refs/heads/master
2022-12-15T08:38:50.316955
2021-08-02T00:10:11
2021-08-02T00:10:11
172,606,261
0
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
""" 1. In Range Create a function named in_range() that has three parameters named num, lower, and upper. The function should return True if num is greater than or equal to lower and less than or equal to upper. Otherwise, return False. """ # Write your in_range function here: def in_range(num, lower, upper): if ...
[ "stingzlightingdesign@hotmail.com" ]
stingzlightingdesign@hotmail.com
186a9c837d36c3d6fa05169927789c91eb09afa6
3134d27741953caa1ee0ec39e7ff974a8d86c6a8
/06 sort&search/run.py
0f077dd1d0f781a58936a25a80dbca5689ae880b
[]
no_license
Singularity0909/DS
84364cfbf7c8976aafe285e79c3b5ebf6f167376
6afef12489b367f25b72aed2ea93583c2e6d9f25
refs/heads/master
2022-03-09T13:41:50.930048
2021-03-05T10:38:07
2021-03-05T10:38:07
242,893,756
0
1
null
2022-02-13T03:07:58
2020-02-25T02:45:16
C++
UTF-8
Python
false
false
4,213
py
import requests import json import sys import os users = {} data = [] def getUsers(): if os.path.exists('./users.json') == False: url = 'https://codeforces.com/api/user.ratedList?activeOnly=false' r = requests.get(url) with open('./users.json', 'w') as f: f.write(r.text) def...
[ "904854724@qq.com" ]
904854724@qq.com
07b9e4f09eea96140309aef71b664c8aed45dd78
b377edf57ea1eb661ee42cf655317f27aa14e700
/DFSChaeng.py
7053a2cfe1079050796f9dfd73d87520b5bddf45
[]
no_license
irvinzato/Algoritmos-Distribuidos
17ef01ef31b1e8f3daf7dba7194bcdd690a99f08
0e4392a9951a757e9a2663a71466f781ffa7c192
refs/heads/master
2020-09-29T09:03:11.915854
2019-12-10T01:55:06
2019-12-10T01:55:06
227,005,909
0
0
null
null
null
null
UTF-8
Python
false
false
3,422
py
# Este archivo sirve de modelo para la creacion de aplicaciones, i.e. algoritmos concretos """ Implementa la simulacion del algoritmo de Propagacion de Informacion (Segall) como ejemplo de aplicacion """ import sys from event import Event from model import Model #from process import Process #from simulator import Simu...
[ "multizato@hotmail.com" ]
multizato@hotmail.com
cbe331ffe5e2a0da54c4dcd55325e4f2edb9749c
b1123c216ce7ade0a999118cf90c1ceed5751152
/venv/bin/streamlit
7191743b178416b45f84363b08d8308f83f61e27
[]
no_license
pierresegonne/streamlit_import_keyerror
c3ea58d7670bec81d8f0121645eccd0a90478dcf
950a50435d97a3c81e46867ef0288cc5049041ca
refs/heads/master
2022-12-22T22:56:31.935228
2020-06-29T14:16:47
2020-06-29T14:16:47
275,832,866
0
1
null
2022-12-10T08:48:57
2020-06-29T14:05:16
Python
UTF-8
Python
false
false
260
#!/Users/Ashitaka2/PycharmProjects/streamlit_error/venv/bin/python # -*- coding: utf-8 -*- import re import sys from streamlit.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "pierre.segonne@student.ecp.fr" ]
pierre.segonne@student.ecp.fr
2736fa9c52895528cb942534bddb2afa906c6106
6121da376efe804fc8d9a5b33731c7c35f6d5fc0
/tkinter_learn/ex1.py
0396f70fb8d423cb26f08de3907712b1bb91c64a
[]
no_license
Gitus-Maximus/Skills
4e67b5cdc19d695aef0ab1f768d9ab5c2a9591ac
1ba6bd63de18afe2ca698430aaa4b5bd5434351b
refs/heads/main
2023-04-30T18:35:31.654718
2021-05-22T11:56:06
2021-05-22T11:56:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
from tkinter import * root = Tk() #creating label widget myLabel = Label(root, text='Hello World!') #showing it onto screen myLabel.pack() root.mainloop()
[ "kakulinski@wp.pl" ]
kakulinski@wp.pl
ca18b217ba01e3c2db0c8ed520a70c0585fb405a
8eb74661275827b4c6a21d138348d02170d8576c
/04_orc.py
f0b25a02dbde02b74031828207e2b5016df5dd36
[]
no_license
CraftyDragon678/Lord-of-SQL-Injection
5f721ff91cc346cb3c762ab3fa60f2d665598487
4823b50c9600b08ba5b5e554dbbaa342f002e637
refs/heads/master
2022-12-05T21:52:19.054905
2020-08-22T12:43:12
2020-08-22T12:43:12
262,752,996
3
0
null
null
null
null
UTF-8
Python
false
false
760
py
import requests import string import os from dotenv import load_dotenv load_dotenv() pw = "" a = string.printable a = a[:-38] base_url = "https://los.rubiya.kr/chall/orc_60e5b360f95c1f9688e4f3a86c5dd494.php" cookies = {'PHPSESSID': os.getenv("PHPSESSID")} pw_length = 0 for i in range(10): res = requests.get(base...
[ "craftydragon678@gmail.com" ]
craftydragon678@gmail.com
1c5d45fa2429072f4d4862d447aa6369c79cd3a0
565e8557bd528992059a38e25b8f93f9495e4f56
/Week4/Day1/exercises/exercise_xp/exercise8/untitled.py
19fca146bf7cdfdde1d1e86947b3cd8de4ab949b
[]
no_license
eranfuchs1/DI_Bootcamp
2f753bfa9381e01d3f99b7f39a6faa8d794143c9
a19885444459e7f6ffd552fe32eef9003e7fda14
refs/heads/main
2023-08-14T09:36:14.300816
2021-10-05T18:22:06
2021-10-05T18:22:06
381,000,955
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
if input('what\'s your name?').title() == 'Eran': print('\n'*9)
[ "xer@xer-labtop" ]
xer@xer-labtop
a5397ba84caf3dc1c0703dc74417050cbfef2108
fe86b8dc870c9b02085861b04b404965137f296b
/server/app/__init__.py
de7fd36af509ae59148b16d484d8efae52686d85
[]
no_license
zixuzhang/Basedata
b4e3aefa3bef2b61c12cb8123aca0181fe20952c
df8452645146f4a4075ae7b085a3193c67d8e70c
refs/heads/master
2021-04-06T11:28:22.846375
2018-03-14T03:25:11
2018-03-14T03:25:11
125,149,779
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
#coding=utf-8 import os from flask import Flask from config import config from flask_restful import Resource, Api from flask_mongoengine import MongoEngine from pymongo import MongoClient env = os.getenv('FALSK_CONFIG') or 'default' URI = 'mongodb://%s:%d' % (config[env].MONGO_HOST, config[env].MONGO_PORT) client =...
[ "zhangzixu3@163.com" ]
zhangzixu3@163.com
f8762a025c081b938a4c0b9290ed26292d7c80bc
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/billing/accounts/projects/link.py
3e7d6395b66b15bf8139d9533f1c18bd3f177b42
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
1,712
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
cb246f9f242dfd2fd6751ecbff80844462dc79b8
65dc01443e75bd8d889f14039f2994d01c47a19a
/app/scripts/fridge_control.py
01cce83006d65b703f90c0826eee32f980bd5815
[ "MIT" ]
permissive
seanon414/flask_fridge
7de9d0145d4f8c9b0b8e0b6c823e6040e19a6baa
25ef988c10c612c5a2a23a085b91c04edd3135c3
refs/heads/master
2021-07-11T00:53:37.019277
2020-06-23T17:24:09
2020-06-23T17:24:09
147,256,106
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
import os def turn_off_fridge(): """Turns off fridge""" # logging.info('Sending code to turn off fridge') print('Sending code to turn off fridge') os.system('/home/pi/rfoutlet/codesend 1054012') def turn_on_fridge(): """Turns on fridge""" # logging.info('Sending code to turn on fridge') pr...
[ "seanon414@gmail.com" ]
seanon414@gmail.com
3a18a80502c84ad5e880721d9bc37a6c72e57e32
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/local/lib/python2.7/dist-packages/sklearn/decomposition/truncated_svd.py
15e135598e9cbf6795969a4469a691972c272a16
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
6,054
py
# -*- coding: utf-8 -*- """Truncated SVD for sparse matrices, aka latent semantic analysis (LSA). """ # Author: Lars Buitinck <L.J.Buitinck@uva.nl> # License: 3-clause BSD. import numpy as np try: from scipy.sparse.linalg import svds except ImportError: from ..utils.arpack import svds from ..base import Ba...
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
09a3b3f6d6fd326f7537420a76d2639c640ca428
06e9222bab21119a0b254cbba365ac82aaacfdb9
/week-04/day5/r1.py
6cd59595b392a85d3314e25eb273d6f5bad5fe1d
[]
no_license
greenfox-velox/DDL
f83dfa49b408fb2de8dafedb1722566a838d7003
8dd8732734d0f6edde8aa07f7fe89237d8acdcf8
refs/heads/master
2021-01-21T15:19:44.988846
2016-07-18T17:52:12
2016-07-18T17:52:12
58,042,851
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# create a 300x300 canvas. # fill it with a checkerboard pattern. from tkinter import * root = Tk() canvas_width= 300 canvas_height= 300 canvas = Canvas(root, width = canvas_width, height = canvas_height) canvas.pack() x = 1 for i in range(1, 28): rect = canvas.create_rectangle(1+x, 1+x, 10+x, 10+x, fill='pur...
[ "doczi.david.daci@gmail.com" ]
doczi.david.daci@gmail.com
4ee6686aacceb240cae551bb59a988b1420dbb50
ccf4bf15bb82460922f76dce67d960c4ee7155b9
/1-pack_web_static.py
a119ca3186d3e7e00f66e86953d1b333c49296e4
[]
no_license
camilooob/AirBnB_clone_v2
b6afb01089ad3cdf996b047e8f057709424b7ccd
1445177afd5e3779d614b5b2601b41894eba2a2c
refs/heads/master
2022-04-21T17:37:53.193359
2020-04-23T01:48:11
2020-04-23T01:48:11
258,065,385
0
2
null
null
null
null
UTF-8
Python
false
false
417
py
#!/usr/bin/python3 from fabric.api import run, local, put from datetime import datetime import os def do_pack(): """ fabric script that generates a .tgz """ date = datetime.now().strftime("%Y%m%d%H%M%S") path = "versions/web_static_{}.tgz".format(date) try: local("mkdir -p versions") l...
[ "camilobaq@hotmail.com" ]
camilobaq@hotmail.com
436bec37ae79c90e8a6958a74766798f87e07f69
0e3f17892bf42e70c9db005abae21b4fb4c52507
/Launcher.py
552fc2783982bd14c9919cee60ee11bc42054516
[]
no_license
alxiden/Food-Stock-Contol-System
17ae556aee41646114e5d9ba998a693ce1e26f03
d262d901d9fa3b660fb35844098270efece3d3ef
refs/heads/master
2022-12-03T20:00:14.374906
2020-08-10T08:18:31
2020-08-10T08:18:31
286,412,122
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
import Setup as s import Stock as t from tkinter import * import os a = os.listdir() root = Tk() root.title("SWM Launcher") welcome = Label(root, text = "Welcome to the Stock and Wastage Manager Launcher") welcome.grid(row = 0, column =1, columnspan =3) l1 = Label (root, text = "Please choose from the opti...
[ "noreply@github.com" ]
noreply@github.com
b1ace0e756998d873ed27c026f0c31f85ae7d33e
f77a9351d481f457d813b753a6c27aac1b6a5fe6
/dev/DroneKit_Code/garys_test.py
888f456645d63009ab9b2cfccaf380990e618524
[]
no_license
keikofujii/PulsedLight
8a8af10f2093c32b7d8f5ff19fd7c4b8934ab9fc
1145805211d1172b7c4c28b8d150b98a1e0fdc8f
refs/heads/master
2021-01-10T08:53:06.577640
2016-10-02T19:11:15
2016-10-02T19:11:15
43,270,240
0
4
null
2015-11-09T23:46:49
2015-09-27T23:40:29
C++
UTF-8
Python
false
false
2,506
py
""" garys_test.py A module to test and see if the drone can be armed, switched to GUIDED mode, moved, and then give the control back to the user in LOITER mode """ from dronekit import connect, VehicleMode, LocationGlobalRelative import time from pymavlink import mavutil #Set up option parsing to get c...
[ "kfujii12@georgefox.edu" ]
kfujii12@georgefox.edu
2c5c8b0c873d7ac5bd9e05080f0d5facda39b249
aad164e4efe1d55cc189c35956bfd435b14a0f52
/eve-8.21.494548/eve/client/script/ui/control/eveScroll.py
74d7fc4f99fd06f59fcc61b0507b82fd0dbc3c8a
[]
no_license
Pluckyduck/eve
61cc41fe8fd4dca4fbdcc4761a37bcfeb27ed84f
9a277707ab1f162c6bd9618faf722c0be3ea93ad
refs/heads/master
2020-12-28T23:35:29.992875
2013-05-06T14:24:33
2013-05-06T14:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,688
py
#Embedded file name: c:/depot/games/branches/release/EVE-TRANQUILITY/eve/client/script/ui/control/eveScroll.py import xtriui import uix import uiutil import uiconst import util import _weakref import weakref import blue import base import uthread import types import listentry import stackless import lg import html impo...
[ "ferox2552@gmail.com" ]
ferox2552@gmail.com
4005a43041bf0fa2f6259164c5612a18782ebfa7
3d8a1dd6d6e0035ff6baf7e3df5ea51bbdf7b322
/vowelorconsonant.py
c7eb1268251f3818fb54b2c3453ca120d55b03fb
[]
no_license
bharanim11598/code-kata
9a48b6a14595c05815b161d6725ad77518cf21f4
5b1b1467af7b34786618df94423df92c86542083
refs/heads/master
2021-04-27T15:17:27.385746
2018-07-23T08:47:43
2018-07-23T08:47:43
122,466,249
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
print("enter the character") c=input() if c in('a','e','i','o','u'): print("vowel") else: print("consonant")
[ "noreply@github.com" ]
noreply@github.com
99127105d73f4aff46625f3f1a24bd57cb25454b
edd8d0c8c35b9278ab94adb743468611dc5363a7
/company/forms.py
a40242fb9a172008676196d7a7011e156f97f133
[]
no_license
Ruby1996/Online-Job-Portal-EasyJobs
e0255aec15e0215f9eb07b6083a90da9c718a751
f17ddd73b79c57b0b7dc09f614b2bf7332f7affb
refs/heads/master
2021-01-04T06:45:42.967849
2020-05-22T14:59:20
2020-05-22T14:59:20
240,435,638
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from django import forms from company.models import com_pro class CompanyForm(forms.ModelForm): class Meta: model = com_pro fields = "__all__"
[ "rubycpoovelil7@gmail.com" ]
rubycpoovelil7@gmail.com
0f72d3ccd5c1a713719a0d156ab773fc55542879
1ea5c42db5aa83d748d068c8b3e5820d69816f94
/lab9-100pt.py
be97146adf2f6be73395b4224277b3ebc2105c12
[]
no_license
ChrisMatthewLee/Lab-9
012d391b3846550ac5dae80ef1fb5cb343db794e
4fc17668d108e020701d4c4fdb557a453430b515
refs/heads/master
2021-01-13T02:16:23.695349
2014-10-21T19:25:43
2014-10-21T19:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
############################################ # # # 100pt # # Patient Diagnosis # ############################################ # Create a program that tests if patients needs to be admitted to the hospital. # Ask the use...
[ "s571353@student.roundrockisd.org" ]
s571353@student.roundrockisd.org
bc2b4badc6d17614052123ee0ffd86e964f7573d
31abda0b7866de64f075648b6a19d9481074c53d
/api_challenge/tests/test_post_method.py
7da9b4b9bb804cdeef6f36c265a39de217c45b80
[]
no_license
SThomasP/Api-Challenge
1d32e15cffa49151d822e35d01c2119879655b8a
a00ad212e833364660ea7ca407608f41d472674b
refs/heads/master
2020-04-10T18:27:13.607506
2018-12-10T16:32:19
2018-12-10T16:32:19
161,204,888
0
0
null
null
null
null
UTF-8
Python
false
false
7,251
py
from pymongo import MongoClient from api_challenge.tests.api_framework import post, example_data_update, example_data_merged, example_data_basic, client # test adding a document to the database using an api def test_post_add(client): test_data = example_data_basic.copy() response = post(client, test_data) ...
[ "stp1g15@soton.ac.uk" ]
stp1g15@soton.ac.uk
dc2298ea3f809e95f96f14e997ebd950108666c4
3533c4cea61230c05f8f7d6db634358885b1326d
/model/lmdtm.py
b51b2830b06ed15b9e5ded7f3bac2885f73bc4c8
[ "MIT" ]
permissive
denyssilveira/gsdtm_lmdtm_topic_model
205f10f069a28bf8ccb20a255bd1937378af01b0
e97136e630b37166c5273f510ea899034c9df800
refs/heads/master
2020-03-14T19:21:54.987807
2018-08-27T23:29:51
2018-08-27T23:29:51
131,759,658
4
0
null
null
null
null
UTF-8
Python
false
false
8,019
py
""" GSDTM and LMDTM VAEs Implementation This code provides an implementation of the LMDTM VAE Model. Code partially adapted from https://github.com/RuiShu/vae-clustering (Author: Rui Shu) """ import tensorflow as tf import numpy as np import pickle import sys import os from model import utils slim = tf.contrib.slim ...
[ "denys.silveira@outlook.com" ]
denys.silveira@outlook.com
c361ace07797c254c612162de468530d995c7834
0cf6728548830b42c60e37ea1c38b54d0e019ddd
/__各种测试/MT5系列测试/Python与MT5集成测试.py
cd1b4a0374f035c3ebd2f69e698b7099dbfe351f
[]
no_license
MuSaCN/PythonLearning
8efe166f66f2bd020d00b479421878d91f580298
507f1d82a9228d0209c416626566cf390e1cf758
refs/heads/master
2022-11-11T09:13:08.863712
2022-11-08T04:20:09
2022-11-08T04:20:09
299,617,217
2
2
null
null
null
null
UTF-8
Python
false
false
4,577
py
# Author:Zhang Yuan from MyPackage import * import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.patches as patches import seaborn as sns import statsmodels.api as sm from scipy import stats # ------------------------------------------------------------ __mypath__ = MyPath.MyClass_P...
[ "39754824+MuSaCN@users.noreply.github.com" ]
39754824+MuSaCN@users.noreply.github.com
38dfdf6e8b73dee04feccca63e184b2da23c48f1
c857d225b50c5040e132d8c3a24005a689ee9ce4
/problem74.py
830b6b07b7f1eda9fcb6355d6e2c15703adc1fc8
[]
no_license
pythonsnake/project-euler
0e60a6bd2abeb5bf863110c2a551d5590c03201e
456e4ef5407d2cf021172bc9ecfc2206289ba8c9
refs/heads/master
2021-01-25T10:44:27.876962
2011-10-21T00:46:02
2011-10-21T00:46:02
2,335,706
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
""" The number 145 is well known for the property that the sum of the factorial of its digits is equal to 145: 1! + 4! + 5! = 1 + 24 + 120 = 145 perhaps less well known is 169, in that it produces the longest chain of numbers that link back to 169; it turns out that there are only three such loops that exist: 169 3636...
[ "pythonsnake98@gmail.com" ]
pythonsnake98@gmail.com
afa035c2c1ac97098db9c97d1bdbca8d2eed6990
99fed597dba66f6b2198425d36e338afb670d91a
/djangoStudy/placeholder/placeholder.py
9854580d0fcfe1817728518f4516e2f3849906e5
[]
no_license
JanPingZHANG/pyStudy_miscellaneous
28a5aac59020225ed95e5863f188bf374fc03333
80c82df242fcce4f5eff90aa6fe08b4721c9bc9d
refs/heads/master
2021-01-22T04:15:11.656191
2017-02-10T03:48:33
2017-02-10T03:48:33
81,523,369
0
0
null
null
null
null
UTF-8
Python
false
false
3,364
py
import sys from django.conf import settings import os from django.core.cache import cache from django.views.decorators.http import etag import hashlib from django.conf.urls import url from django.http import HttpResponse,HttpResponseBadRequest from django import forms from io import BytesIO from PIL import Image,ImageD...
[ "zjp_hiwork@163.com" ]
zjp_hiwork@163.com
e6ad0964ad8bc5b1e1ba768bbdf8fcd8758bfe97
856732853b2ccc3ce20e2295c1fda1c5a17acc03
/dash_app.py
79b1d5f986f5c515f5da27090fe476271f986e2b
[]
no_license
Shreyajaiswal22/Stock_Price_Prediction-Webapp
a8080bdd188248be5024f125fc6902dc95ba0b67
3de0d6e37e3adf3034aee9eee0c76154401753c1
refs/heads/main
2023-07-11T00:53:09.778124
2021-08-03T12:35:44
2021-08-03T12:35:44
392,310,334
1
0
null
null
null
null
UTF-8
Python
false
false
5,887
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State import plotly.graph_objs as go import plotly.express as px import pandas as pd import datetime as dt import yfinance as yf from MLTrader import MLTrader from util import pull_prices_viz...
[ "noreply@github.com" ]
noreply@github.com
0996061417561852c10f79d2242c01108fe13d62
84114158f5e2e628a4ff18058238434218ecd4ad
/celery_tasks/urls.py
2dae7442b06b340bf7894fe549fb3dc2061bff17
[]
no_license
shawnhuang90s/oms_test
8c781e1e86d3e28f73fe130c9201c7773e07f441
764df78c59d6e9c2dafee65e875b29df2635d33c
refs/heads/master
2023-03-25T14:33:42.460115
2021-03-17T06:21:42
2021-03-17T06:21:42
317,149,804
2
0
null
null
null
null
UTF-8
Python
false
false
177
py
from django.urls import path from .views import DealExcelInfoView urlpatterns = [ path('test_celery/', DealExcelInfoView.as_view()), # 测试 Celery 处理 excel 接口 ]
[ "xingye@starmerx.com" ]
xingye@starmerx.com
cc9a3d32b613a6927dbab941b2f1ca3bdf727698
7f18929d4af4a1744eec90d1f0c712e78b31f7c2
/reconstruct_image.py
2763d6660e1438e69156b60ff6f88d23100afa25
[ "MIT" ]
permissive
mckib2/mri-variationalnetwork
b4958ca52e5570d530d1963434230d7033074ef9
d9d7790f2ac5677316114ea683ac2ee8f57699c0
refs/heads/master
2020-07-16T12:15:05.963778
2019-09-02T06:19:17
2019-09-02T06:19:17
205,787,662
0
0
MIT
2019-09-02T06:06:20
2019-09-02T06:06:19
null
UTF-8
Python
false
false
4,096
py
import os import sys import argparse import glob import traceback import time import vn import tensorflow as tf import numpy as np from mridata import VnMriReconstructionData import mriutils parser = argparse.ArgumentParser(description='reconstruct a given image data using a model') parser.add_argument('image_config'...
[ "kerstin.hammernik@student.tugraz.at" ]
kerstin.hammernik@student.tugraz.at
cf8c15b9224beaccab5c660cd47744dc8577cc30
ddda7862304a4a461bd493b007adc2d2d1d4ea96
/examples/overconfident_stephen.py
c2403e6d39f97d4034fda61905de06581ed22db9
[]
no_license
TTomm1/complex_models_hackaton
de7b9d92940f2cde14320aba0282d670e47485b5
8153ed128584312e3f02b052d018a5063b5e0208
refs/heads/master
2021-01-11T16:03:48.946501
2017-01-26T08:56:03
2017-01-26T08:56:03
79,997,108
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
import sys from flask import Flask from flask import jsonify from flask_restful import Api from flask_restful import Resource app = Flask(__name__) api = Api(app) class Predict(Resource): def get(self): result = { 'probability': 1., 'label': 0., } return jsonify(...
[ "sgalsworthy@Stephens-MacBook-Pro.local" ]
sgalsworthy@Stephens-MacBook-Pro.local
cf35b505462e57733af9ed369adf171cbe9e1c6f
d9eef8dd3489682c8db41f2311e3058d1f369780
/.history/abel-network-files/mcmc_alg_implementation_own_two_20180629100410.py
9afb4c6e97b928d31297f3d7d92f4679db900c8c
[]
no_license
McKenzie-Lamb/Gerrymandering
93fe4a49fe39a0b307ed341e46ba8620ea1225be
b7a7c4129d6b0fcd760ba8952de51eafa701eac3
refs/heads/master
2021-01-25T06:06:43.824339
2018-10-16T14:27:01
2018-10-16T14:27:01
93,526,515
0
0
null
2018-07-12T19:07:35
2017-06-06T14:17:47
Python
UTF-8
Python
false
false
2,852
py
# Author: Abel Gonzalez # Date: 06/26/18 # # Description: # This program uses the .shp file to create a network graph where each node # represents a census tract and the edge represents adjacency between each # tract, usign graph-tool instead of networkx import random import numpy as np import graph_tool.all as gt fro...
[ "gonzaleza@ripon.edu" ]
gonzaleza@ripon.edu
24b75b5f89da3c46ae9db66ffdf2fa0d12d9531f
d350e03f6e6b44e943d225046fb7d7314689289b
/boot/test.py
833d6da337c75abd7a669e99b3d9b956afe78ed9
[]
no_license
RonFrancesca/Alfred-The-SmartButler
caf9a1ffddfe08374166d1d2ab9f1d06cdb57ae6
4e34ddad0629a6a2fa8f1f727a6a6d9048ccfaa7
refs/heads/master
2021-06-09T10:28:54.322100
2018-09-30T23:13:31
2018-09-30T23:13:31
150,957,181
0
0
null
2021-05-07T14:44:58
2018-09-30T10:27:35
Python
UTF-8
Python
false
false
45,837
py
<!DOCTYPE html> <html class=" "> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#"> <meta charset='utf-8'> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>jasper...
[ "noreply@github.com" ]
noreply@github.com
7948bf0679671efa21e236cadeae4d3fb051b4f2
0b4d3cab6dfc1cf317106f1c8fcc05111ea40ee9
/src/fparser/two/tests/fortran2003/test_cray_pointer_stmt.py
f725220aeee9fff3de948727d13a33e3c660c77f
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
mlange05/fparser
43a34d286fc4e4da9ebe9d0379335e9c15727c10
94939a561107fdeb307d1dd0070a4d15b951f6ac
refs/heads/master
2020-08-20T06:31:33.051967
2019-10-05T23:31:49
2019-10-05T23:31:49
215,991,981
0
0
null
2019-10-18T09:44:41
2019-10-18T09:44:40
null
UTF-8
Python
false
false
4,439
py
# Copyright (c) 2019 Science and Technology Facilities Council # All rights reserved. # Modifications made as part of the fparser project are distributed # under the following license: # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following condi...
[ "rupert.ford@stfc.ac.uk" ]
rupert.ford@stfc.ac.uk
d1c1c05e9c930cce236b42fc2ad41c4641d8950f
575a2a170fd6ccd449b6d17bf864eb46c210b265
/nestedtensor/nn/mha.py
86625bd97f6e07596a0c9527537c8186cc55c1f7
[ "BSD-3-Clause" ]
permissive
isabella232/nestedtensor
9bdc2d2d8ee79f6ca7f2568218bbc0cf446f1159
f79ec60c02c783defbc0b3f586eefa721496fa07
refs/heads/master
2023-04-15T21:03:29.833914
2021-04-17T00:10:21
2021-04-17T00:10:21
358,856,234
0
0
BSD-3-Clause
2021-04-17T11:15:15
2021-04-17T11:04:34
null
UTF-8
Python
false
false
7,373
py
from torch.nn.init import constant_ from torch.nn.init import xavier_uniform_ from torch.nn.init import xavier_normal_ from torch.nn.parameter import Parameter from torch import nn, Tensor from torch.nn.modules.module import Module import torch import torch.nn.functional as F import nestedtensor # NT case query, key, ...
[ "noreply@github.com" ]
noreply@github.com
0fc3eaf9e643c59f0f874c9386529b454a8bb439
9ca9cad46f2358717394f39e2cfac2af4a2f5aca
/Week07/[실습]Logistic_Regression/[실습]Logistic_Regression_LJO.py
499d844b688aba16ed9bda3767b57c2e0f1f177f
[]
no_license
Artinto/Python_and_AI_Study
ddfd165d1598914e99a125c3019a740a7791f6f6
953ff3780287825afe9ed5f9b45017359707d07a
refs/heads/main
2023-05-05T15:42:25.963855
2021-05-24T12:24:31
2021-05-24T12:24:31
325,218,591
1
3
null
null
null
null
UTF-8
Python
false
false
31,245
py
from torch import tensor from torch import nn from torch import sigmoid import torch.optim as optim import numpy as np dataset_path="/content/drive/MyDrive/diabetes.csv" dataset=np.loadtxt(dataset_path, delimiter=',',dtype=np.float32) x_data=tensor(dataset[:,:-1]) y_data=tensor(dataset[:,[-1]]) #y_data=y_data.unsqueez...
[ "noreply@github.com" ]
noreply@github.com
a6be4bc05b34c3818a461dcf867dc8f31a9607b8
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/994b47397c595c2116d95bdf9b1e3e5465645d7d44dbe497e47183b32b528ed6/win32gui.py
070a2a5a8acf656f7baeddd3573c209f4ae67612
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
25,613
py
# encoding: utf-8 # module win32gui # from C:\Users\Doly\Anaconda3\lib\site-packages\win32\win32gui.pyd # by generator 1.147 # no doc # imports from pywintypes import error # Variables with simple values CLR_NONE = -1 dllhandle = 1541144576 ILC_COLOR = 0 ILC_COLOR16 = 16 ILC_COLOR24 = 24 ILC_COLOR32 = 32 ILC_COLO...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
8314f6c7c49d0a6de1a0685c547ee62149778c68
22b929e324edc89ec28e9087e9f8dd943a15fe4b
/headlines.py
19945fcc2078cb6405e487949d4e7616055d7f60
[]
no_license
tspradeepece/headlines
aaca83f421c72f1bfa4174d58a611c6015ed175d
b42978c6681c7662f72326767928f6c041e5b358
refs/heads/master
2021-04-26T22:25:27.710235
2018-03-06T14:29:24
2018-03-06T14:29:24
124,090,014
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello to the World of Flask!' if __name__ == '__main__': app.run(host='127.0.0.1', port=8081)
[ "tspradeepece@gmail.com" ]
tspradeepece@gmail.com
6c79da4ab166033ef433a784b9c63f51cb34e592
cc28e2ec6e9e7ead33d212d8f19b32afd017593e
/week7/8.1inheritance.py
62b430d3449eb6845b356c6d494732fb80312f19
[]
no_license
BruceHi/web
1445eda9313716f34943125d20cac0a6c13149cb
e5e6222b0cb5f2bd5838672f25183fe63f7b7e72
refs/heads/master
2023-01-31T23:32:50.801858
2020-12-18T12:19:43
2020-12-18T12:19:43
298,217,291
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# 父类 class People: def __init__(self): self.gene = 'XY' def walk(self): print('I can walk') # 子类 class Man(People): def __init__(self, name): self.name = name def work(self): print('work hard') class Woman(People): def __init__(self, name): self.name = na...
[ "BruceHi@users.github.com" ]
BruceHi@users.github.com
3a902a6d97ca8e8a6de9075792ef6fd028d2fa84
8e7389a43ac1b70787bcfa497b20034462a63589
/extra_apps/pagedown/widgets.py
e70017e7e1b46cdfe4c1eae4b42c0996b333574a
[]
no_license
bluenknight/xadmin-markdown-editor
abf7fd42d77149aaaf7f4baf8a1ca9e7af06ea46
1a2b84404934c1b620b0d14dcf743e9ba4322aea
refs/heads/master
2021-01-20T04:25:44.923995
2017-04-28T10:35:05
2017-04-28T10:35:05
89,691,063
4
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
from django import VERSION, forms from django.contrib.admin import widgets as admin_widgets try: from django.forms.utils import flatatt except ImportError: from django.forms.util import flatatt # <1.7 from django.utils.html import conditional_escape from django.template import Context, loader from pagedown imp...
[ "dengrongfei@hotmail.com" ]
dengrongfei@hotmail.com
eb159b1f57253af0fd250bc76264d1d43c2af422
2424063d657d643c1f8ccc6cca343271d6d0f708
/Project26/app26/migrations/0001_initial.py
54027c79041590b52df83cbe14295bb2cc4ef3b5
[]
no_license
pythonwithnaveen/DjangoExamples
a0a07cbc53564522cf39649c235716ef5c3a4ba0
57c7a6302ada4079bd3625481e660587bf8015c6
refs/heads/main
2023-07-16T02:36:01.283938
2021-08-12T07:26:22
2021-08-12T07:26:22
371,881,524
0
3
null
null
null
null
UTF-8
Python
false
false
742
py
# Generated by Django 3.1.4 on 2021-08-09 05:07 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='EmployeeModel', fields=[ ('idno', models.Au...
[ "=" ]
=
aaef15a384b643214d5eb221a37a482f2bbef6b1
948fd3984bacd9ff59495f0ff72885d826281da0
/dynamic_programming/n_cents_min.py
803cdef08cbf5f1c1115e0d61c242c8a40bcf9d7
[]
no_license
sabya14/cs_with_python
8268344d59b05b532bdbbb30ed2100a0effaaa1d
e5e21aabf6126b93f42ab04785c5d0fa49a1528c
refs/heads/master
2023-04-14T16:37:40.773598
2021-04-27T15:30:40
2021-04-27T15:30:40
112,823,987
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
""" 8.11 Problem from cracking the coding interview Modified, return the min cents https://practice.geeksforgeeks.org/problems/coin-change/0 """ def n_cents(n, cent_list, index, _dict, min): global minimum if n == 0: if min < minimum: minimum = min return 1 if index > len(cent_...
[ "=" ]
=
09fdeab3f804d99ecbf8189de26c9b455a439baa
3816f02c6e1e31d4ba0c6e2893697500d1ca9b26
/exc2/plotPeriodic.py
0305f42e1ff9241b99a2a2b9e028c1efcf3fad7b
[]
no_license
taylorvd/KTHDriverless
3b3786438e842f4932e1507562e66ab4864b0782
75d4991792038c3314a726b7e66b1fc072e5d755
refs/heads/master
2023-08-07T01:34:05.435450
2021-09-19T12:26:50
2021-09-19T12:26:50
401,480,140
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
import numpy as np from Tkinter import * import matplotlib from matplotlib.figure import Figure from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg import matplotlib.pyplot as plt class PlotPeriodic: """ Class to produce and plot data given by periodic function """ def __init__ (self): ...
[ "taylorvdovec@gmail.com" ]
taylorvdovec@gmail.com
e46bacecad8733e21bef0850d692e7718ed1fdf3
7d949b9f19e4c5c897b3aef76e604f2c0eee7112
/src-python/saccade_analysis/density/coord_conversions.py
86446b0202bcc38d41bf7ca6a549153e9e5dc676
[]
no_license
AndreaCensi/saccade_analysis
d3fad3a1a406b97c4dcf9cdc82b9b2ce1fbf42df
71b87e9225b16317ffa9a581b3c62d8343fe7bfa
refs/heads/master
2016-09-11T06:49:22.254391
2011-12-20T06:39:30
2011-12-20T06:39:30
952,465
1
0
null
null
null
null
UTF-8
Python
false
false
987
py
from . import contract, np from ..tammero.tammero_analysis import compute_axis_angle from contracts import new_contract new_contract('angle_pi', 'float,>=-pi,<=pi') @contract(x='float', y='float', theta='angle_pi', radius='>0,x', returns='tuple(angle_pi,(>=0,<=x))') def axisangle_distance_from_x_y_theta(x...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
f2417fed67dbee63f20a3862ee6f3d4eb7807552
fe94d8a1eff731ff488976b71df1d378ba0a8d09
/Course_01_Automation_testing_with_Selenium/modul_3/mod3_2_step10.py
54a91247a47ff15aabee4a43b83be3d22247c223
[]
no_license
pinkwhale/stepik
598252a5c3fbc667aefeb059b9fe457a1ab70ab8
78495d0df12a7df083b63f862221717d5ca7f6b1
refs/heads/main
2023-03-01T20:15:51.602962
2021-02-08T21:34:34
2021-02-08T21:34:34
334,087,491
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#STEP 10 print("\nStep 10") def test_abs1(): assert abs(42) == 42, "Should be absolute value of a number" def test_abs2(): assert abs(42) == -42, "Should be absolute value of a number" if __name__ == '__main__': test_abs1() #test_abs2() print("All tests passed!") # STEP 11 print("\nStep 11\n") i...
[ "pinkwhale.lr@yandex.ru" ]
pinkwhale.lr@yandex.ru
4085c70aef43c511bcd49554afe355a3624b5b4d
8886d5c77f9839c2f37967c5a4494d30a6341e8a
/django/Misitio/apps/blog/views.py
4b8086c583b573c7ae853824d2137b55cca20b62
[]
no_license
danielyerena6/intro_django
aa8e8657b29b930e4abc61a4f25216dd5895e335
d458c8aa8989568363bfbdaea44a8ff5a82202d8
refs/heads/master
2022-11-14T16:44:07.452996
2020-06-30T22:06:34
2020-06-30T22:06:34
276,218,271
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
from django.shortcuts import render,HttpResponse # Create your views here. def index(request): return HttpResponse("<h1>Lenguajes de Internet</h1> Alumno: Carlos Daniel Yerena Mercado <br> Grupo: 8CM11")
[ "blasterdaxx2208@gmail.com" ]
blasterdaxx2208@gmail.com
b25b43e1a4f8d5dfb2c1790fb87ac6cae1200a86
976685bd14758eff010d858820b2c6751d14f873
/functions/dynamodb.py
b6b5cc6841e43655da3cffe4a26e08bf8f2d6fe1
[]
no_license
sethschori/top_sites
218ddcf22388ec0059e6b07b910246eedd2f6b3f
1ca227f406916bd588475bb1b2d2ca5cdfa7fa86
refs/heads/master
2020-03-10T07:16:45.733385
2018-06-04T23:29:54
2018-06-04T23:29:54
129,259,521
0
0
null
2018-05-15T18:08:15
2018-04-12T13:55:55
Python
UTF-8
Python
false
false
2,935
py
""" AWS DynamoDB functions """ import boto3 from botocore.exceptions import ClientError from error_handling import handle_error class Dynamo(object): """ Class for AWS DynamoDB functions. """ def __init__(self, profile_name='default'): """ Initialize the Dynamo object using profile_nam...
[ "sethschori@users.noreply.github.com" ]
sethschori@users.noreply.github.com
92e4d2f41371ddd5c62efeaba8193be1bcacc333
b93bb165f350fb5546da969224e805f6556f3e0c
/hwk12_p2-McKendreeSpringer.py
0e4af9ee2950ebc4d2eea58c05f33c780ea3a6cf
[]
no_license
McKendree/Homework-12
90a113b78dd3c054948e636ac0eb9ab5e9b058c4
4613ca5e49c7989db76a7a47b95ed898dc28bf44
refs/heads/main
2023-04-16T12:22:44.731616
2021-04-29T02:55:32
2021-04-29T02:55:32
362,667,791
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
import random import matplotlib.pyplot as plt import matplotlib.animation as animation import numpy as np import sys if __name__ == "__main__": I = 51 #starting x position j = 51 #starting y position xCoord = [] yCoord = [] #creates figure fig = plt.figure() ax1 = fig.add_s...
[ "noreply@github.com" ]
noreply@github.com
35b1f95de33a522185f4ed54e90f7fab31cb33c9
22da2a0870905adaa6aa245ddeed53feda883e42
/textingMain.py
c553aa703044cb9fc10618d25e06db4a1afc68c6
[]
no_license
hiteshishah/CG
a5b1e186f26610853856c0924e89bf7b94c9efe8
883c3e9d3b2e5172a3dafb6742f60c7c5126a4c5
refs/heads/master
2020-04-11T05:55:13.099094
2018-12-13T01:02:33
2018-12-13T01:02:33
161,564,181
0
0
null
null
null
null
UTF-8
Python
false
false
7,035
py
import sys from OpenGL.GL import * from OpenGL.GLUT import * from numpy import array, arange from teapot import teapot from quad import quad from shaderSetup import shaderSetup from viewParams import viewParams from textures import * from lighting import * from simpleShape import * from bufferSet import * class texti...
[ "noreply@github.com" ]
noreply@github.com
be6add5c01d46db2bd86d34d5aa963f88ecbf4b9
db5a17d376348d0911e5f606e416eada523d8806
/venvRH/bin/chardetect
6a1d64520e42772cb68eb03e23959ec286369906
[]
no_license
black-mirror-1/GCPComputeUsageAndCost
1bf29169cb3e170368886ff951df555828b7a91a
7e04fb3915b1ac5714135729184b6f30a8b04884
refs/heads/master
2020-03-28T04:31:16.120348
2018-10-16T19:02:29
2018-10-16T19:02:29
147,719,838
0
1
null
2018-10-16T19:02:30
2018-09-06T18:58:09
Python
UTF-8
Python
false
false
264
#!/home/hisands/GCPComputeUsageAndCost/venvRH/bin/python2 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "root@instance-3.c.dazzling-skill-210617.internal" ]
root@instance-3.c.dazzling-skill-210617.internal
75859b1915c1620b964ee8b32bde267d4857f1d5
241c2365e9d8e21bbf6425993cfefb65ad2e5e41
/src/babylon/models/ingredient.py
25c06a406dd0e42bd7e35e77a94c155ec9521f67
[ "MIT" ]
permissive
t-persson/babylon
905d2f13e6a387849d1bceecd0464c259df24e01
7bfcef35802fe53e2cb15d8dedc05a6cf6ba5f02
refs/heads/master
2023-08-21T18:31:51.808228
2021-10-19T18:43:17
2021-10-19T18:43:17
224,975,876
0
1
MIT
2021-10-02T22:34:18
2019-11-30T07:27:22
Python
UTF-8
Python
false
false
642
py
from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.orm import relationship from ..database import Base class ModelIngredient(Base): __tablename__ = "ingredient" id = Column('id', Integer, primary_key=True) name = Column('name', String, unique=True) recipes = relationship("Ing...
[ "liari.tp@gmail.com" ]
liari.tp@gmail.com
ef4029a1dd579c99589e416602be1cd5de30b58e
9f5e114dfe13252f82b28481436cd27553a7463c
/doc/conf.py
27695c80689c2b2771cd181cdcde59736826cc65
[]
no_license
jove1/ae
bf676b1fee74c710de71593d36af1edbd0e03b76
560c3120e7ff4ce566a4015ad3cd2dd29361c54e
refs/heads/master
2020-05-21T03:13:01.706171
2018-01-25T14:34:03
2018-01-25T14:34:03
16,833,666
3
7
null
null
null
null
UTF-8
Python
false
false
7,764
py
# -*- coding: utf-8 -*- # # AE documentation build configuration file, created by # sphinx-quickstart on Fri Feb 14 12:33:24 2014. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All conf...
[ "vesely@gjh.sk" ]
vesely@gjh.sk
fe0ed9260d74e01cce466d2887f6cddd43e0a1c4
68ed11df9c9844cf204f4de36de072b1b9d782b1
/gallery/pg/admin.py
9aa347946857bfbc6b283b984d084dbe617b2560
[]
no_license
mananarora200/django-basic
6e1929f0ff59fa532cb472817c482799dd1d2012
144df6d2ab9b68f2055df481a60e383c50961f33
refs/heads/master
2023-02-27T19:17:34.087249
2021-02-05T11:20:47
2021-02-05T11:20:47
336,250,044
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.contrib import admin from . import models admin.site.register(models.Image_Model)
[ "mananarora200@gmail.com" ]
mananarora200@gmail.com
dd7a380dff497a8de25ce45fba2a1a72ccdb531f
973630f5ebe79c4823448b6391725bc8a5af7b23
/build/xunjian_nav/catkin_generated/pkg.develspace.context.pc.py
37f131ac2b67245023fe78146f5fcf51eb99a111
[]
no_license
yhwalker/ros_robot
18d786262c6158220309166bf4bdc0f26fe3f07d
9d61789eb011fcb7c218e9016d6211e9192f1850
refs/heads/master
2020-05-15T14:41:36.644052
2017-08-22T07:57:33
2017-08-22T07:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/robot/ros/devel/include;/home/robot/ros/src/xunjian_nav/include".split(';') if "/home/robot/ros/devel/include;/home/robot/ros/src/xunjian_nav/include" != "" else [] PROJECT_CATKIN_DEPENDS = "rosc...
[ "wanghj@woosiyuan.com" ]
wanghj@woosiyuan.com
a813a26b990666f7bf937f3ba85285afcbf2ac2e
d6a31cfac7f6c899399c492f450ff832f2f2f4f5
/sample_codes/smallest-divisor-intege.py
fd2397e5e11aee343ef009dbce06925516c8ac1c
[]
no_license
gvnsai/python_practice
c2e51e9c73bc901375b1fb397b80a28802d85754
dffe4b6bb4a991d2caa790415c1e5b041ed95ee3
refs/heads/master
2020-03-26T17:55:25.713217
2018-11-10T05:56:48
2018-11-10T05:56:48
145,187,300
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
#To Find the Smallest Divisor of an Integer. n=int(input("Enter an integer:")) a=[] for i in range(2,n+1): if(n%i==0): a.append(i) a.sort() print("Smallest divisor is:",a[0]) """ output:-- Enter an integer:66 Smallest divisor is: 2 """
[ "vnsaimanikanta@gmail.com" ]
vnsaimanikanta@gmail.com
a244fe45bedc72b808bfa00a8452e402d3264b6b
a76401f82ed1c9ac47ddaff27681b90f37627426
/.history/student_olx/registration/views_20210921231029.py
fb75f0720d8a0526addb133e034831f33e8a4213
[]
no_license
RiteshK555/itw-project
e90e1dd13517ee8b07d72cc3bd5a42af367ab587
a2e4c8682c2030ff77da9ade5ae4677bd475f87a
refs/heads/master
2023-08-30T03:48:58.904979
2021-11-10T09:50:59
2021-11-10T09:50:59
410,032,076
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
from django.shortcuts import render from django.contrib.auth import models from django.contrib.auth.forms import UserCreationForm from django.shortcuts import render,redirect from django.contrib.auth.models import User from .models import money # Create your views here. def register(response): # if response.method ...
[ "" ]
2b853f7ff88a9670288ae7edaac66dcc3384f2fb
930d3a81debaea0cbf05a3813afdba03605aa53e
/ex2.py
2e3486d866b270732cdc6dfab6498c143ae33408
[]
no_license
CM-David/Pythonexercises
34f3a609622d8ec83c1e76c5c298641903d377aa
b0782fbfc5acf6ab4f349fa34f25d2fab35892fd
refs/heads/master
2022-10-02T03:51:28.309842
2020-06-03T01:48:16
2020-06-03T01:48:16
268,898,697
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
name = input("WHAT IS YOUR NAME? ") name_length = len(name) print(f'HELLO {name.upper()}') print(f'WOW YOUR {name.upper()} HAS {name_length} LETTERS IN IT. AWESOME')
[ "CM.David88@yahoo.com" ]
CM.David88@yahoo.com
d14ead75da82647856872b5606530802cf9d95e5
49828e3eb4660770382a3a597230d502e3ac6b9b
/test/functional/listsinceblock.py
25692dda8439922fefe333fcae056a9ab5ba8d3e
[ "MIT" ]
permissive
BitBridgeCoin/BitBridgeCoin
839970f253baf0b966abda66a5934be438a0908f
7d4d78472bf9dbfd6458498cdef78954796674da
refs/heads/master
2023-04-17T18:48:55.454093
2021-05-07T07:18:26
2021-05-07T07:18:26
355,376,877
4
0
null
null
null
null
UTF-8
Python
false
false
8,241
py
#!/usr/bin/env python3 # Copyright (c) 2017 The BitBridgeCoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the listsincelast RPC.""" from test_framework.test_framework import BitBridgeCoinTestFramework f...
[ "coin@worldmoney.org" ]
coin@worldmoney.org
4301f7ee191ae8b2e11ec7c6e0406c340b7a7776
00ec0c8b3c802a9305f46be6dbe76b57a238d3d2
/core_db/src/smile_api/migrations/0003_workinghours.py
c96696387acef134625201df614ec77293241763
[ "MIT" ]
permissive
Opportunity-Hack-2016-SJC-SVCC/TeamSmile
403781928fe88c3aa85b7191f8f6b11fa947864c
c13697197813187a0fed0c66572c8c744138587e
refs/heads/master
2021-05-03T19:07:39.366952
2016-09-26T00:21:34
2016-09-26T00:21:34
69,121,007
0
1
null
null
null
null
UTF-8
Python
false
false
1,077
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2016-09-25 08:11 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('smile_api', '0002_remove_foodsource_description_1'), ] ...
[ "motakuk@gmail.com" ]
motakuk@gmail.com
6acefcb7b0c6a3fbb0f54ac6cc35263cee4797e8
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/ApprovalCityDTO.py
4e34e0e4fb8346afe04ea87f7b390a6b2cbaa319
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,356
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class ApprovalCityDTO(object): def __init__(self): self._city_code = None self._city_name = None @property def city_code(self): return self._city_code @city_code.s...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
cb0872c8c90772706c42ca5f268501b957e15b6d
59a7ed399768b35b712d41e445624fb1c79bd503
/src/orders/migrations/0003_auto_20190801_2007.py
5de32c0872c785fdd92006aa1494558293efb040
[ "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "bzip2-1.0.6", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-newlib-historical", "OpenSSL", "Python-2.0", "TCL", "LicenseRef-scancod...
permissive
HuyNguyen260398/python-ecommerce
e82b3a0b68e31e0a819a99c69050287a5431f8cc
609600058bf4268f4dbe00e179bf3fd75e9a3a79
refs/heads/master
2022-12-11T18:20:33.570522
2019-08-24T04:55:09
2019-08-24T04:55:09
191,665,509
0
0
MIT
2022-12-08T06:00:24
2019-06-13T01:00:21
Tcl
UTF-8
Python
false
false
921
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.21 on 2019-08-01 13:07 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('addresses', '0002_auto_20190801_2007'), ('orders',...
[ "huynguyen260398@gmail.com" ]
huynguyen260398@gmail.com
eff74af9a35de395a61a1dce7942f6ec3f572eae
dd4ad255de9395c656a9b69174adb87cb7164bc4
/linodecli/response.py
6d879293498b1f887259e80129dfafe7df79e05d
[ "BSD-3-Clause" ]
permissive
ginkgomzd/linode-cli
516574b6d94904a1feab3f80a93654b9e78b78ea
94f36c037453429861e5da133418baf031370e40
refs/heads/master
2020-03-22T06:23:13.084234
2018-07-03T18:08:00
2018-07-03T18:08:00
139,629,870
0
0
BSD-3-Clause
2018-07-03T19:38:47
2018-07-03T19:38:47
null
UTF-8
Python
false
false
2,325
py
""" Classes related to parsing responses and display output from the API, based on the OpenAPI spec. """ from __future__ import print_function from colorclass import Color class ModelAttr: def __init__(self, name, filterable, display, color_map=None): self.name = name self.value = None se...
[ "wsmith@linode.com" ]
wsmith@linode.com
f015e2fe088559ce92649e330e8d5809672a131e
a958ce2f52dc7bd6d95e81f7d37e3a27a6c233a1
/map/DefaultMap_4ways_StopSigns.py
6727b02c0864c375c956be05454eb4838ae9c110
[]
no_license
pulei-student/PyTrafficSim
839946485795987c5ae153bcf089a42744778a8d
1664ab305a35624b1cab2d2d826e0a170a576c9f
refs/heads/main
2023-03-12T20:36:31.096294
2021-03-06T06:07:05
2021-03-06T06:07:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
from util import * # lane rules counting from the center towards the right (right side driving rules) # empty outbounds -> default (Dynamic) lanes_rule_3 = [{ "directions": ["L"], "outbounds": [], }, { "directions": ["F"], "outbounds": [], }, { "directions": ["R", "F"], "outbounds": [], }] lane...
[ "SunQiao" ]
SunQiao
e94a4b2dcbce33230756e8982b71dffd2417bc5c
14856ffe01c711af7a41af0b1abf0378ba4ffde6
/Python/Fundamentals/The_Requests_Library.py
1fb502a9b63431fac2c071f74afb40a2de5b392a
[]
no_license
sharonanchel/coding-dojo
9a8db24eec17b0ae0c220592e6864510297371c3
d6c4a7efd0804353b27a49e16255984c4f4b7f2a
refs/heads/master
2021-05-05T18:17:48.101853
2017-06-23T23:53:51
2017-06-23T23:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
import requests r = requests.get('http://pokeapi.co/api/v2/pokemon/5/') x = r.json() # print x print x['abilities'][0]
[ "jao.colin@gmail.com" ]
jao.colin@gmail.com
80041892cee422614b4280d8f1182026a15c6a64
9af0eb00ffb8808fca1d2978f336cf241dfb395c
/2.2/netmgr/pm_netmgr_cli.py
b859340be51f8f04fda99e4df339fe7b8d2a8245
[]
no_license
KAV178/pmon
a2db70f4a2c1ff6c9639052f4382de17be8427a6
0d3b5f4f9fb5c3745cbad175ae325abd01c1f3c6
refs/heads/master
2020-04-09T02:57:14.038468
2018-12-14T07:57:02
2018-12-14T07:57:02
159,961,645
0
0
null
null
null
null
UTF-8
Python
false
false
3,344
py
# -*- coding: utf-8 -*- from __future__ import print_function from sys import argv, exit from argparse import ArgumentParser from multiprocessing.managers import BaseManager from multiprocessing.pool import ThreadPool from re import match, findall from socket import error as socket_err from time import sleep ...
[ "kostrenko.av@gmail.com" ]
kostrenko.av@gmail.com
e35537cf7871666516799a92abf9282330cee569
b1368c648fc9c68db81669235c2338d2535ccec2
/Chapitre_6/code RAM dispo.py
02a077c08b17d0fbe2dc23941043155d65e73361
[]
no_license
MBottinIUT/nRF52840-CircuitPython
09c2041cd10291fbbdaf52d3c5df1d07ec96abf5
bbe56f806360b1e2bb0f0251b5b2a4535d32818e
refs/heads/master
2023-03-12T18:51:34.454620
2021-03-03T10:22:32
2021-03-03T10:22:32
271,368,611
1
1
null
null
null
null
UTF-8
Python
false
false
263
py
""" Test de la mémoire RAM disponible """ # Importation des librairies natives utiles #from time import * from time import sleep from gc import * sleep(0.5) print ("memoire allouee : {}".format(mem_alloc())) print ("memoire disponible : {}".format(mem_free()))
[ "noreply@github.com" ]
noreply@github.com
54c1621791fb2b2a9380f6319860640fbeefde16
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/query_filter.py
73a193355416b2e6579fa150fd2ba46b1ab1ebf5
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
10,198
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """QueryFilterfor Reports.""" from collections import defaultdict from collections import UserDict from functools import total_ordering from django.db.models import Q @total_ordering class QueryFilter(UserDict): """Dict-like object represent...
[ "noreply@github.com" ]
noreply@github.com
c0089d4e13429eddbfd3535a60745129cf124aa1
36a991ef95701fb8626e627380bafdb30a7b1e7e
/rogueone/app.py
041c608bbc6106e14cb874c94e17877156fd9349
[]
no_license
bjorngylling/rogue-one
a6a5bf4ff9a4d3dd03fd3411e65c11b4ce55146b
0f2a96fec152085faf8f5a55bbd7ea536a3a4cba
refs/heads/master
2021-05-04T11:07:56.484070
2017-01-04T18:50:52
2017-01-04T18:50:52
47,639,676
0
0
null
null
null
null
UTF-8
Python
false
false
2,583
py
import tdl import esper import operator from rogueone import components, processors, constants MOVEMENT_OPS = { 'UP': (0, -1), 'DOWN': (0, 1), 'LEFT': (-1, 0), 'RIGHT': (1, 0), 'K': (0, -1), 'J': (0, 1), 'H': (-1, 0), 'L': (1, 0) } class RogueOneApp(tdl.event.App): def __init__(self, renderer): ...
[ "bjorn.gylling@gmail.com" ]
bjorn.gylling@gmail.com
3b5a3c2a5e7b93866aeb318a63e99e7a0a60442d
3d285ed6f52046a26489f2f56b9b4b428c6fafa0
/python/codewars/3.py
382f773b1687080fcd050116d1a98319595f92a4
[]
no_license
rayray2002/TPE-2014
761a2a1d75210902485038013a29b259817c664d
a5d0b844e146d14abd7e30d13a6d9bca03c85d5a
refs/heads/master
2021-01-17T09:19:53.064534
2016-06-10T05:26:14
2016-06-10T05:26:14
30,918,698
2
0
null
null
null
null
UTF-8
Python
false
false
656
py
import sys def num_3(): try: line = raw_input("") while(line): error = 0 index = [] for l in line: index.append(l) if index[0] == 'A': index[0] = 1 elif index[0] == 'E': index[0] = 9 elif index[0] == 'P': index[0] = 17 elif index[0] == 'M': index[0] = 25 else: err...
[ "rayray2002.huang@gmail.com" ]
rayray2002.huang@gmail.com
bfce6d92e26a13ffda213cbf8f8760f5cd2af773
d700b9ad1e0b7225871b65ce0dafb27fb408c4bc
/students/k3343/laboratory_works/Lukina_Anastasia/laboratiry_work_1/lab1/main_interface/migrations/0010_comment_date.py
1a0a412cd86cc443cebea13bbf56d096f9f8b57f
[ "MIT" ]
permissive
TonikX/ITMO_ICT_WebProgramming_2020
a8c573ed467fdf99327777fb3f3bfeee5714667b
ba566c1b3ab04585665c69860b713741906935a0
refs/heads/master
2023-01-11T22:10:17.003838
2020-10-22T11:22:03
2020-10-22T11:22:03
248,549,610
10
71
MIT
2023-01-28T14:04:21
2020-03-19T16:18:55
Python
UTF-8
Python
false
false
391
py
# Generated by Django 2.1.5 on 2020-04-12 10:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_interface', '0009_comment_user'), ] operations = [ migrations.AddField( model_name='comment', name='date', ...
[ "lukinanastya97@yandex.ru" ]
lukinanastya97@yandex.ru
9bfadc0aa24176d22eca17f59c51ca6447754978
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/86/usersdata/174/58567/submittedfiles/pico.py
aa9fa8881f25a79c86d6262d2c18c92b63d05e8a
[]
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
557
py
# -*- coding: utf-8 -*- def pico(lista): cont=0 for i in range(0,len(lista)-1,1): if a[i]<a[i+1]: cont=cont+1 y=len(lista)/2 for i in range(0,len(lista)-1,1): if i>=y: if a[i]>a[i+1]: cont=cont+1 if cont==len(lista)-1: return True ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a800e838f3bf2ca1c44ee2657132a33488f50b84
8a4ded6b300e28278a8b1f952209fd3b2ae4af5e
/huTools/huTools/http/tools.py
d1affa9f40a713342ef16afa578b48f21eab7458
[]
no_license
mario206/jsNaughty
8bb76c0f37f6d1d1e1b675d4a360d53f4c405cbb
a5d46d2bddedf7dbc708166b1777ac96b51056bb
refs/heads/master
2020-04-02T06:25:06.811612
2017-05-08T20:42:15
2017-05-08T20:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
#!/usr/bin/env python # encoding: utf-8 """ tools.py - various helpers for HTTP access Created by Maximillian Dornseif on 2010-10-24. Copyright (c) 2010, 2011 HUDORA. All rights reserved. """ # quoting based on # http://svn.python.org/view/python/branches/release27-maint/Lib/urllib.py?view=markup&pathrev=82940 # by ...
[ "caseycas@Caseys-MacBook-Pro.local" ]
caseycas@Caseys-MacBook-Pro.local
8a45390e0f4d118d9f5af08c0a5bb57aa75506ae
e49f078323bc2064e18be25b57718d682c72dcb7
/WEEK 1/ArunimSamudra/nested list.py
16bb13a667cee9783ba8ac153300e3114999e022
[]
no_license
aarohikulkarni10/ML-winter-mentorship
b0c1c72a5c65a65bb61cd2a3e411adb00c083a98
cfd89de881245c7185f2aabcd44c463ca3743608
refs/heads/master
2020-11-27T10:41:05.455031
2020-01-17T18:53:52
2020-01-17T18:53:52
229,408,456
0
0
null
2019-12-21T09:58:05
2019-12-21T09:58:04
null
UTF-8
Python
false
false
562
py
if __name__ == '__main__': arr = [] sc = [] for _ in range(int(input())): name = input() score = float(input()) sc.append(score) x = [name,score] arr.append(x) sc.sort(reverse=True) max = sc[len(sc)-1] max2 = sc[0] for i in range(len(sc)): ...
[ "noreply@github.com" ]
noreply@github.com
a8bc33a1fe53741f61a2e8d07756e4b84438b931
d09ccdaac3aa4acefb42f656dbd5eaaaa5e68eef
/limebet/profiles/models.py
59052a632f72014d339be13fee6459991e94bb5e
[ "ISC" ]
permissive
Igordr1999/LimeBet
efb7fa83ce54c4414687e850e382e0d8194aadc8
f19f69d76dccc147e87217142e56edf4e1eece04
refs/heads/master
2022-12-13T13:13:40.466023
2020-01-29T14:00:26
2020-01-29T14:00:26
236,992,986
4
1
null
2022-12-08T03:33:18
2020-01-29T13:51:07
Python
UTF-8
Python
false
false
173
py
from django.contrib.auth.models import AbstractUser, UserManager class ProfileManager(UserManager): pass class Profile(AbstractUser): objects = ProfileManager()
[ "IgorDr1999@yandex.ru" ]
IgorDr1999@yandex.ru
9731cdcdf05e9cec4dd1d32d5b4fe92c24477c57
223f232bcbe5f34c07485ef005558dda10a95554
/Backend/node_modules/fibers/build/config.gypi
6b5ff94c1b7dc684fae1716a92bbec1d2a726688
[ "Apache-2.0", "MIT" ]
permissive
sbenstewart/peekabook
6c32ff29363b23ccdcbcff391cb95cf42763ddfe
906796e2b375f8abcffd23d64d9d79ae0abbdab5
refs/heads/master
2020-03-23T08:06:05.867572
2020-01-18T05:28:11
2020-01-18T05:28:11
141,307,597
0
2
Apache-2.0
2020-01-18T05:28:34
2018-07-17T15:17:35
CSS
UTF-8
Python
false
false
5,188
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "debug_htt...
[ "sbenstewart@gmail.com" ]
sbenstewart@gmail.com
aad39cf1261bc40afcf30799fd0f03423b9754b8
49ff6718d9f956de0f8511db88d61d55df21ec8b
/cxxopts/conanfile.py
da15b5cf71f6fd3702e473fd493d2f893234b187
[]
no_license
borgmanJeremy/emulator8080
9db0513d5c7907316b90dea9cd6e1e63b45547c3
d76c9814addbb96ef0173c28fd842ee18f2ffd3f
refs/heads/master
2020-08-22T13:14:29.614486
2019-11-30T20:02:41
2019-12-06T23:05:38
216,402,695
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from conans import ConanFile, CMake, tools import os class CxxOptsConan(ConanFile): name = "cxxopts" version = "v2.2.0" description = "Lightweight C++ command line option parser" # topics can get used for searches, GitHub topics, Bintray tags etc. Add her...
[ "borgman.jeremy@pm.me" ]
borgman.jeremy@pm.me
d6a21ad4df33ff3c0f412dc4bb2b10c3a3d4763d
5e10458a85d9469184f5d9a3afa197d1f1ba61d8
/django_web_app/django_web_app/settings.py
90388987d56d74b6621ecda81267a707c79da985
[]
no_license
Atilla45/FileSharing
663efc6a7d21568820561750a8abff3fbe332920
ac443928318ca4b4c414ee16eb6fdb44d2374393
refs/heads/master
2023-02-18T14:02:01.992803
2021-01-13T20:58:09
2021-01-13T20:58:09
328,118,970
0
0
null
null
null
null
UTF-8
Python
false
false
4,508
py
""" Django settings for django_web_app project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ ...
[ "atilla.abdullazade4503@gmail.com" ]
atilla.abdullazade4503@gmail.com
c99f2a2863ba58406fc25d8b515b61a03613fede
10b70a3ca9932d0db56a259a2ac5cea51d3e1b2e
/runner/runs/paper_doom_battle_appo.py
a2c06c4eed1c72474c31e20f873b5fc11cd83ad5
[ "MIT" ]
permissive
gitter-badger/sample-factory
cfddd2d4df5276267f0f5396a91d97ad54bcf831
65660239c43c18a3c5e280a654017be1701e6e86
refs/heads/master
2022-11-21T18:14:30.308816
2020-07-28T06:01:04
2020-07-28T06:01:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
from runner.run_description import RunDescription, Experiment, ParamGrid _params = ParamGrid([ ('seed', [1111, 2222, 3333, 4444]), ]) _experiments = [ Experiment( 'battle_fs4', 'python -m algorithms.appo.train_appo --env=doom_battle --train_for_env_steps=4000000000 --algo=APPO --env_frameskip=...
[ "petrenko@usc.edu" ]
petrenko@usc.edu
cac24c8abe1ad0130881d912cd3a6f7ace5a0584
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_Pandas_Numpy/source3.6/tensorflow/contrib/distributions/python/ops/mvn_diag_plus_low_rank.py
ee3e02e0203a3338b7e6a40b7e3ff30c0a0940f0
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
9,726
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
bb1662f34b1e825d918edbf0a75eabd6e5a58ea1
cf5e1a31131ca71f981ab1935443f3c22ebbb0f9
/sensors/runfolder_sensor.py
dc41a9ab02f3a5c9d2d8bc29cfaf88103460f84f
[ "MIT" ]
permissive
arteria-project/arteria-packs
e6def02f35d1222adb884153f84591079a2c6eaf
9960286f9f5c190c9558d9b47438899a73db2903
refs/heads/master
2022-12-14T11:48:56.398390
2022-12-06T11:46:33
2022-12-06T11:46:33
37,130,995
9
21
MIT
2022-12-06T11:46:34
2015-06-09T12:36:27
Python
UTF-8
Python
false
false
2,629
py
from st2reactor.sensor.base import PollingSensor from runfolder_client import RunfolderClient from datetime import datetime import yaml import os class RunfolderSensor(PollingSensor): def __init__(self, sensor_service, config=None, poll_interval=None, trigger='arteria.runfolder_ready'): super(RunfolderSen...
[ "johan.dahlberg@medsci.uu.se" ]
johan.dahlberg@medsci.uu.se
b8fb59d5c971f596df5980d04781e292bfc41822
719024856effd0f00d7700268e8e555f8613d0dd
/common_conception/generator.py
0dc52f6865b6e54d721b92c570f26a487d5ca551
[]
no_license
Hydracoe/my_python_memorial
cf7d2d1356f8defc5e0d3a97a25c9d4bde9d9023
5c47b421842bcb9ed41f1577b56ca2c5c2bfde18
refs/heads/master
2020-04-09T01:25:44.703242
2019-01-10T22:09:46
2019-01-10T22:09:46
159,903,786
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
def test(): """ 协程,又称微线程,英文名Coroutine,是运行在单线程中的“并发” 协程相比多线程的一大优势就是省去了多线程之间的切换开销,获得了更高的运行效率。 Python中的异步IO模块asyncio就是基本的协程模块。 但是需要注意的是,多线程和协程的区别在于,协程是单一函数的执行! 程序员通过高超的代码能力,在代码执行流程中人为的实现多任务并发,是单个线程内的任务调度技巧 :return: """ n = 1 n += 1 yield n if __name__ == '__main__': T = test() print(T) print(next(T)) try:...
[ "2101221550@qq.com" ]
2101221550@qq.com
8e5abca6dd719d84956159c19ad32d152f66228d
b6d48defc1d5359ee351403b0906b6beb6cb64a7
/tensorflow2/class6/tensorflow2_mnist_callback_tb.py
eb764bccac78765afcc1a6c624d310f41948ed21
[ "Apache-2.0" ]
permissive
CrazyVertigo/SimpleCVReproduction
2c6d2d23b0e234d976eefbdb56d6460798559b0d
9699f600e6cde89ad0002ca552f8b6119e96990c
refs/heads/master
2022-09-24T16:29:33.263625
2020-06-03T14:53:18
2020-06-03T14:53:18
269,344,314
1
0
Apache-2.0
2020-06-04T11:43:10
2020-06-04T11:43:09
null
UTF-8
Python
false
false
2,535
py
import math import numpy as np from sklearn import preprocessing, model_selection, svm from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt from matplotlib import style import pandas as pd import datetime import tensorflow as tf from tensorflow.keras.utils import plot_model mnist = tf.keras...
[ "1115957667@qq.com" ]
1115957667@qq.com
75bc25b2b8c947fe07aa8f0196c792c46e0a39da
2c27de02cb39a71e66b9d7169d41d519c56087ea
/tensorflow_oop/bag_of_words.py
f41cb691de2e3197e68459eeab99e067f29cec62
[]
no_license
ravil23/tensorflow_oop
d3188e224261c694e5f86d7e285408edc3deed52
5159cfc3c03b480dd8cfdc94ac89056fe9bbc46c
refs/heads/master
2021-01-19T20:33:49.223795
2018-09-07T06:51:56
2018-09-07T06:51:56
101,228,195
5
2
null
null
null
null
UTF-8
Python
false
false
5,514
py
""" Bag of words. """ import numpy as np from collections import Counter import operator class TFBagOfWords(object): """ Bag of words model. Attributes: size Dictionary length. non_chars String with chars for excluding. lower_case Indicator of case...
[ "gataullinravil@gmail.com" ]
gataullinravil@gmail.com
c81ab3f9ab778e4417f35aefb8686598814c98e5
b2646000cf8064bbddd1f609ec05f1f0038c29cf
/Rapsberry/catkin_ws/src/clips_ros/clips_node/ros_pyclips_node.py
4ad626cab28dd2ee24d8849201894bfda340b897
[]
no_license
Oscaryanezgomez/R2D2-
2fc27a4b1979ed11341066a914840eb9204e18e6
cc93663f5e815659a9f5f742ba71c6a8d41f7b64
refs/heads/master
2020-07-25T16:34:21.203034
2019-09-17T17:34:39
2019-09-17T17:34:39
208,356,674
0
0
null
null
null
null
UTF-8
Python
false
false
13,483
py
#!/usr/bin/env python import time, threading, os import Tkinter as tk import clipsFunctions from clipsFunctions import clips, _clipsLock import pyRobotics.BB as BB from pyRobotics.Messages import Command, Response from clips_ros.msg import * from clips_ros.srv import * from std_msgs.msg import Bool, String import B...
[ "o.yg@hotmail.com" ]
o.yg@hotmail.com
653f2017b1d2a38b243d234fcd889251d9456780
ee194bcb5c1f92fb30d45093da4a51b47a264034
/blog1/forms.py
ea1ad5c5c0ca62cfe1b352489993ac714514e473
[]
no_license
samfubuki/Blog-Task-Internship
576abe439490220f71452e16cf43dd2e04b1b67d
113ba3f7a2f92e7f5761d84d8226cbf911a403da
refs/heads/main
2023-04-04T20:34:08.792136
2021-04-20T13:52:44
2021-04-20T13:52:44
359,832,858
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
from django import forms from .models import BlogDatabase class BlogForm(forms.ModelForm): class Meta: model=BlogDatabase fields = ['blog_title','blog_description','blog_image'] labels = {'blog_title':'Blog Title','blog_description':'Blog Description','profile_image':'Profile Image'} ...
[ "pbhardwaj.preet@gmail.com" ]
pbhardwaj.preet@gmail.com
bc2d9c7b587f1bef9592022ea45f8b722730e5d9
688ea92b2581fcbf28d53166040c5c5dfbe9ebd1
/venv/Scripts/pip3-script.py
c0ebd807c2bd8eefd542610a784d5563e63e4679
[]
no_license
springs101/changeDataStream
ed01dd50ef3073a298ae228b4931987bdefd1855
d65e92bf09b96d07396726fdc379e867bb528fb8
refs/heads/master
2020-05-17T08:25:49.951274
2019-08-07T06:27:35
2019-08-07T06:27:35
183,605,750
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
#!D:\changeDataStream\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "39146404+springs101@users.noreply.github.com" ]
39146404+springs101@users.noreply.github.com
a34d5ceaaeda2800046b7b64ab0ea699a204680e
bf832585a096c973349dc05ab087135f5a981185
/test/docker_tests/5/test5_1.py
c1da617a4989ff93532f36bf355d2ad8c26d3c44
[ "MIT" ]
permissive
ianmiell/shutit-test
a803e8aa870e1e4338b110a48de72e3f7bcb0691
03387f8c4aa0c8eda3d0730e43cc84a7d71e9e46
refs/heads/master
2021-12-27T23:38:28.264755
2021-10-30T09:37:10
2021-10-30T09:37:10
59,279,847
2
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
#Copyright (C) 2014 OpenBet Limited # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
[ "ian.miell@gmail.com" ]
ian.miell@gmail.com
ebad171d221d4c775c6bef6116562014b58d9264
ea04dda2dcc636daf23eb4fb1ad587a60b5f2d74
/Assignment2/getkey1.py
91fda9a3a89255d0a8a53bc4db3a934618a16e67
[]
no_license
kunal14053/FCS-Assignments
270692baf1d38786fdae7f95b6d9366220f242e2
9e06edd81dc832c46c7ff3ab0181b46b6e4029a1
refs/heads/master
2021-05-01T15:24:57.850905
2016-11-08T17:30:57
2016-11-08T17:30:57
66,966,907
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
from Crypto.Cipher import DES import enchant def dictionary(string): wordList = string.split(" ") d = enchant.Dict("en_US"); for x in wordList: if(not d.check(x)): return False; return True; def only_letters(string): wordList = string.split(" ") for x in wordList: if(not all(letter.isalpha() for lett...
[ "kunal14053@iiitd.ac.in" ]
kunal14053@iiitd.ac.in
aff36db96b7c0890610d5856587ceaffdc29c442
3a36e5b1d0229c20492e582ff1d60cf02436ffe8
/waterbutler/tasks/settings.py
d7ae6dbdb4ae18639959745bdf908e01d01ac1b6
[ "Apache-2.0" ]
permissive
brianjgeiger/waterbutler
fccd9733f3c7e7716f9fafa8afbf1ae9345b7e72
b71e083f821c4f8c9597287d8bf0d527fc7c212f
refs/heads/master
2021-01-14T11:11:34.991413
2015-03-30T19:18:07
2015-03-30T19:18:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
import os from pkg_resources import iter_entry_points try: from waterbutler import settings except ImportError: settings = {} config = settings.get('TASKS_CONFIG', {}) BROKER_URL = config.get( 'BROKER_URL', 'amqp://{}:{}//'.format( os.environ.get('RABBITMQ_PORT_5672_TCP_ADDR', ''), ...
[ "icereval@gmail.com" ]
icereval@gmail.com
4a616bb7539920d4e02fdf9af4a9d24041b2be58
0667727bec468deafbe4d0951521493a78f0a8f1
/app/migrations/0001_initial.py
c3e69ff3d68a336fc18669645aa401720e924b4a
[]
no_license
pw94/RapidAlert
ce4b76079829353f94a96607a16efcea5aa00755
92f50b032199a6fc0eeeab27c88de7f9e2dede46
refs/heads/master
2021-01-19T07:46:14.683785
2017-04-07T17:24:14
2017-04-07T17:24:14
87,570,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,992
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-19 12:09 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import taggit.managers class Migration(migrations.Migration): initial = True dependencies =...
[ "pawelmwinnicki@gmail.com" ]
pawelmwinnicki@gmail.com
6d53a2cc86926c0fa1ccf29294e998b98fd7dae3
cd329ea8a865e6ab982b129671832f36c6f995e5
/clases/Consulta.py
895310fa097c3265f7a22c710d6b7547860c7afa
[]
no_license
ridiazcampos/bdd-e4
8b43963d487db44aab570d7eb0ad92fee7af8cee
fc11d65110956d3fb91aa8057cd28e64ce5dd6cf
refs/heads/master
2022-11-16T20:34:44.198627
2020-07-09T00:45:29
2020-07-09T00:45:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,147
py
import requests import itertools import threading import time import sys from datetime import datetime class SeDemora(Exception): def __init__(self, texto=""): super().__init__(texto) class Consulta: diccionario = ["mid", "message", "sender", "receptant", "lat", "long", "date"] ids = set(list(ra...
[ "ridiaz2@uc.cl" ]
ridiaz2@uc.cl