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
1ef9487d481665fe3ff94e5790f51c4c86f80cc3
128723698ad38f9dd9bf14864ae45c2383c195ca
/FinalProject2.py
738c8531d13dc6636cbe2048ac2b68cddf684f34
[]
no_license
d3v30/CSProjectMap-
8d7e03168db1b620afec45a740139aebedea1a4c
f7147777cfa7ee0541f44765054ba9149588763a
refs/heads/master
2020-03-12T01:54:16.495396
2018-05-17T17:29:42
2018-05-17T17:29:42
130,387,678
0
1
null
null
null
null
UTF-8
Python
false
false
5,583
py
# import libraries from turtle import * from time import sleep import sys import time #create dictionaries leo = { 'turtle': Turtle(), 'color': "blue", 'speed': 15, 'image': "leo.gif", } mikey = { 'turtle': Turtle(), 'color': "orange", 'speed': 10, 'image': "mikey.gif", } #globalizing the values of direction glo...
[ "38328110+Spencer1r1@users.noreply.github.com" ]
38328110+Spencer1r1@users.noreply.github.com
8524bb083dfb0a6e1e1a53950b95176e7827065c
3f1afd6d29bd4f26ec0819228d14431217ff5ccc
/manager/manager/inventory/migrations/0001_initial.py
92764a37c14847c51d00f6e7ff608d2a066f1833
[]
no_license
tyhurson/acm
6298771ce954dcac83e80ca14eec5659f33ba47d
386acb47b81a6c6179054bbfba30b37eff38e376
refs/heads/master
2021-07-06T00:01:02.295913
2017-09-30T21:26:51
2017-09-30T21:26:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-27 04:17 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "root@DESKTOP-368GPAI.localdomain" ]
root@DESKTOP-368GPAI.localdomain
ee3f1f38302f46e3a6b08a0713f443e03c143a9a
6bd1ddb5c43ebaea540e5a81b3df530f6c24db81
/bin/sqlformat
28d54d7ba6d1c9056db831f03e52afcf81abf26b
[]
no_license
JohnyRLk/CL2Projekt
a995f80a8184bceb87bb344b8e0032a8707b5173
be859d21cefd6d5c4f3fa7a8fac07f142fc9ee68
refs/heads/master
2021-07-13T15:41:38.028034
2019-06-14T20:07:39
2019-06-14T20:07:39
186,486,390
0
1
null
2020-07-20T08:56:53
2019-05-13T19:56:32
Python
UTF-8
Python
false
false
243
#!/home/jan/Desktop/CL2ProjektK/bin/python # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jan.rycielski@gmail.com" ]
jan.rycielski@gmail.com
e36abef918f0ae94acb72e023a3f6c3e019498e1
13532e9d96f66315ad40e4168777cb95870e931b
/codacademy_2/python list functions/the boardless tourist.py
6dc7596892f6ce69dc77de18c1f36c09f484a321
[]
no_license
bhavya20051/codacademy_course_part2
53d314cc1025ce8a421b385c689bd430fb1a0b53
10509e2c3f3fd3b1bd92845faf9cc1d56f5e9df0
refs/heads/master
2022-06-28T05:33:07.310742
2020-05-12T00:57:40
2020-05-12T00:57:40
263,195,184
0
0
null
null
null
null
UTF-8
Python
false
false
2,356
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 28 22:06:58 2020 @author: bhavy """ destinations=["Paris,France","Shanghai,China","Los Angeles,USA","Sao Paulo, Brazil", "Cairo,Egypt"] test_traveler= ["Erin Wilkes", "Shanghai,China", ["historical site", "art"]] def get_destination_index(destination): destin...
[ "noreply@github.com" ]
noreply@github.com
91e9458c2601b637ce27359521bb11d7e91ee25a
d926c4a3df8706ec907ec5d2b140ec8869b77db6
/releasetools.py
85538b0a39cc8828f928ebda4051dd2f1f7fe68a
[ "Apache-2.0" ]
permissive
a9ito/android_device_xiaomi_sm6250-common-1
90c423fb64387434ecc9e694ef84f11b9afef262
f7b5a79d5c51d79d98723a800b0712efc18db30b
refs/heads/lineage-18.1
2023-08-13T07:38:07.378445
2021-09-23T17:00:15
2021-09-23T17:02:58
369,645,180
0
0
null
2021-05-21T20:18:04
2021-05-21T20:18:03
null
UTF-8
Python
false
false
1,338
py
# Copyright (C) 2021 The LineageOS Project # # 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 i...
[ "dereference23@outlook.com" ]
dereference23@outlook.com
4987e46eec9bd9f7a586b47fda35abecb5739dfa
fbad8fa5513bac2b8f82c6d8094bad543e77842b
/Time and date.py
a0aa57796efe001ae0036b8224e63faf557cd50c
[]
no_license
kunal121/ALL-Python
7c98e91ad132f266ac123002894635ca5dfdbc46
a968c8a6cc63c8dfee1aa0453f972d05bd9ca91a
refs/heads/master
2021-08-11T09:42:59.364912
2017-11-13T08:56:21
2017-11-13T08:56:21
110,558,043
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import time import calendar # no of ticks till jan 1970 print time.time() #time in local parameters print time.localtime(time.time()) #formatted time print time.asctime(time.localtime(time.time())) # getting calendar of a specific month print calendar.month(2008,1) # current time like asctime but without arguments prin...
[ "kunalkalra121@gmail.com" ]
kunalkalra121@gmail.com
9856cfe7bbfee3c12b0ed313de247879dbb4db1b
8523e8b59ac75c07736ae72f0ee90d88fbe40fed
/Andres/BookStore/BookDetails/views.py
a1ba49fd14dea7054497311e11a50ebace8597d4
[]
no_license
Sov-JC/SoftwareEngineering
daaad391102b5f9a490c0deb1a724c41270809cc
eb5243cdef0bd65bdcf32fb3a0ae812cf9ae238e
refs/heads/master
2020-03-18T00:44:50.324008
2018-07-28T03:35:28
2018-07-28T03:35:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
from django.shortcuts import render from django.http import HttpResponse from django.template import loader from BookDetails.models import BOOK # Create your views here. def index(request): template = loader.get_template('BookDetails/book_details.html') book_list = BOOK.objects.filter(ISBN="374601255-4") # Book ...
[ "jorge.costafreda@yahoo.com" ]
jorge.costafreda@yahoo.com
7a852e903559385b86ac560b166406f5871fd461
dcad37afe52e7ee387f9adccde083177c8ff1fb2
/NeuralNetwork/NeuralNetBasic.py
7c9c62414dba22356cba31337459eea91de2f559
[]
no_license
AkshitaJain0391/Artificial-Intelligence
ff35eaa109c62fa6acb218f5ad4f0eef1a681e8a
62a51ddf621de2439ca0d0344a9e78ebf3fa4783
refs/heads/main
2023-02-16T15:14:59.391030
2021-01-15T13:59:08
2021-01-15T13:59:08
329,925,026
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
import numpy as np class NeuralNetwork(): def __init__(self): np.random.seed(1) self.synaptic_Weights = 2 * np.random.random((3,1)) - 1 def sigmoid(self, x): return 1/(1+np.exp(-x)) # formulation of sigmoid sigmoidDerivative def sigmoidDerivative(self, x): return self.s...
[ "jainakshita0391@gmail.com" ]
jainakshita0391@gmail.com
82282e0d1859c0160ff5b65c0d16035b8fde906b
e8802877d4bcdcc5b8ed69382c0937433986b8d6
/main.py
7d8aa9f7dc843fc05db3fc94e0113c0b423b75f0
[]
no_license
GZShi/instahust
f8f9ac60eb7a2269e02b3b4ac53298043b9740e5
02857190184ca89ee82b6817b9f63883a610d8bd
refs/heads/master
2020-06-06T17:45:48.813794
2012-09-08T10:23:54
2012-09-08T10:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.dist import use_library use_library('django', '0.96') from instahust.handlers import WelcomeHandler, ConnectHandler from instagram.handlers import (InstagramAuth, InstagramCallback, \ ...
[ "i@dingstyle.me" ]
i@dingstyle.me
c48d1ed17bcbb58954275bb553132df81fc90245
6b6e20004b46165595f35b5789e7426d5289ea48
/endpoints/csrf.py
11c225924f6a0baa17a9604c9e0d567a54eb5a0a
[ "Apache-2.0" ]
permissive
anwarchk/quay
2a83d0ab65aff6a1120fbf3a45dd72f42211633b
23c5120790c619174e7d36784ca5aab7f4eece5c
refs/heads/master
2020-09-12T18:53:21.093606
2019-11-15T19:29:02
2019-11-15T19:29:02
222,517,145
0
0
Apache-2.0
2019-11-18T18:32:35
2019-11-18T18:32:35
null
UTF-8
Python
false
false
2,375
py
import logging import os import base64 import hmac from functools import wraps from flask import session, request, Response import features from app import app from auth.auth_context import get_validated_oauth_token from util.http import abort logger = logging.getLogger(__name__) OAUTH_CSRF_TOKEN_NAME = '_oauth_c...
[ "jimmy.zelinskie+git@gmail.com" ]
jimmy.zelinskie+git@gmail.com
e0100acebc8c369dd5271b2dae647d6952e509b0
ac8e72445739239fd1e4d49c09ed7191fef4e6cd
/manage.py
bbd118bc0fb7accadfefbb57570f5337f17909b4
[]
no_license
fenshitianyue/django-graphql
e39e70d40343c446bcc57f3a5b31770e64e08953
a69713ed54cd796fdb05f29f4de08dfa6487b22b
refs/heads/master
2020-08-04T23:13:15.923428
2019-10-09T14:17:25
2019-10-09T14:17:25
212,309,436
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "GraphqlForDjango.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure ...
[ "abzanda@163.com" ]
abzanda@163.com
5d31afeb8f0bb47cb0bd397f20b618e734295670
e11f7784c2e7f395c5f5ab2cb9fe9d9e2972a55b
/billserve/api/tasks.py
106a62467da30c24cd6fd2b01b8a4099e07e54cf
[]
no_license
BtLutz/billserve-container
12733751060e31a5147581bd9f09162e951f1ae1
1cfbdc0f4967b809bda5c0406d9baf344990f481
refs/heads/master
2020-06-20T00:47:47.897056
2019-07-15T06:13:39
2019-07-15T06:13:39
196,932,801
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
from __future__ import absolute_import, unicode_literals from celery import shared_task from billserve.api.networking.client import GovinfoClient @shared_task def add_related_bill(current_bill_pk, related_bill_pk): """ Ties bills together by adding each to the other's related bills. :param current_bill_p...
[ "brian.lutz9@icloud.com" ]
brian.lutz9@icloud.com
8b29bf46fef31ffb57cdaf9a8c463b8d3377add4
ab9de9d522d9f50a29fd5b7a59bced5add5c588b
/zoom_api/migrations/versions/c358b3b57073_added_required_tables.py
2ef4ddfa4eb8d57d410605b440c7c06a905bab61
[]
no_license
DmytroKaminskiy/booksharing
c97d473547109af16b58d25d6a2183493a8f17ae
26c89a0954d07c1c9d128d05538eff879a061d2f
refs/heads/main
2023-04-08T13:55:26.430532
2021-04-22T18:34:39
2021-04-22T18:34:39
330,433,074
0
0
null
2021-01-24T15:17:54
2021-01-17T16:19:35
Python
UTF-8
Python
false
false
561
py
"""Added required tables Revision ID: c358b3b57073 Revises: ddbbb5334900 Create Date: 2021-04-15 18:31:39.907841 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c358b3b57073' down_revision = 'ddbbb5334900' branch_labels = None depends_on = None def upgrade()...
[ "dmytro.kaminskyi92@gmail.com" ]
dmytro.kaminskyi92@gmail.com
c27b701be44617207b94395a37a36f5e6ab2037f
484a348682d9fa515666b94a5cd3a13b1b725a9e
/Leetcode/最近最少使用-缓存机制.py
995ecc50910ddde2ceeae5df99c69464c1689d74
[]
no_license
joseph-mutu/Codes-of-Algorithms-and-Data-Structure
1a73772825c3895419d86d6f1f506d58617f3ff0
d62591683d0e2a14c72cdc64ae1a36532c3b33db
refs/heads/master
2020-12-29T17:01:55.097518
2020-04-15T19:25:43
2020-04-15T19:25:43
238,677,443
0
0
null
null
null
null
UTF-8
Python
false
false
2,999
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2020-02-04 11:32:08 # @Author : mutudeh (josephmathone@gmail.com) # @Link : ${link} # @Version : $Id$ import os ''' 1. 当 put 一个键值对的时候,如果已经存在相应的键,则重写该值 2. 当 get 一个键时,将相应的节点提取到 head 之后 3. 一个 Hash 表中键为 key (一个值),其存储的即为双向链表中的节点地址 ''' class ListNode(object)...
[ "josephmathone@gmail.com" ]
josephmathone@gmail.com
9c5e8a6d0e4d0d9a8837e3c8cfaa6030d3175824
f9acdd09e1f826fafaf0bbaed93a4f2c078978a1
/fetchpy/src/fetchpy/fetch_torso.py
224dc9379f5b686c8da865fd9bb9281f2e7a8bb8
[]
no_license
tom-fido/ffit
10a9d5ec2d23e07d99c76c391cc88b9248cf08b3
dcd03b2665311994df721820be068cd96d7ae893
refs/heads/master
2020-05-18T22:00:05.744251
2019-05-03T01:09:27
2019-05-03T01:09:27
184,678,695
2
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
import rospy import actionlib from control_msgs.msg import FollowJointTrajectoryAction, FollowJointTrajectoryGoal from trajectory_msgs.msg import JointTrajectory, JointTrajectoryPoint class FetchTorso(object): def __init__(self, robot): self.robot = robot topic = "torso_controller/follow_joi...
[ "thomas.butterworth0@gmail.com" ]
thomas.butterworth0@gmail.com
982cf2b15a858f104cd7853917e5d7ef1ccfe09c
130215e73cd45824fc5b7b2bc85949ce03115f20
/py/fo7_2.py
d19952ac6b19f7b1f3b6dd96d2c5b240d94f06aa
[]
no_license
felicitygong/MINLPinstances
062634bf709a782a860234ec2daa7e6bf374371e
1cd9c799c5758baa0818394c07adea84659c064c
refs/heads/master
2022-12-06T11:58:14.141832
2022-12-01T17:17:35
2022-12-01T17:17:35
119,295,560
2
1
null
null
null
null
UTF-8
Python
false
false
23,074
py
# MINLP written by GAMS Convert at 11/10/17 15:35:21 # # Equation counts # Total E G L N X C B # 212 1 0 211 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
[ "feligongcity17@gmail.com" ]
feligongcity17@gmail.com
82d795efd4da1007bea5644cb68b779be1ba7674
865bd0c84d06b53a39943dd6d71857e9cfc6d385
/126-word-ladder-ii/word-ladder-ii.py
3d138f153124ee6bf15e58335c36caca5c1977cc
[]
no_license
ANDYsGUITAR/leetcode
1fd107946f4df50cadb9bd7189b9f7b7128dc9f1
cbca35396738f1fb750f58424b00b9f10232e574
refs/heads/master
2020-04-01T18:24:01.072127
2019-04-04T08:38:44
2019-04-04T08:38:44
153,473,780
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
# Given two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation sequence(s) from beginWord to endWord, such that: # # # Only one letter can be changed at a time # Each transformed word must exist in the word list. Note that beginWord is not a transformed word. # # # Note: ...
[ "andyandwei@163.com" ]
andyandwei@163.com
725b088fb16eb1596f1acd5d0be8454b94d3b70a
921e95149e2157048a81e1626c432cf69203fa6c
/linking.py
49e6a99a1a7563415d06f38dcbefdc20a993d2e1
[]
no_license
edvisees/opera-TA1-linking-py3
2f4c1e19714e35b6f89bb63f24b90d4fe967c6fc
d4f8a17ce77ad4f55044973b18f6a9620aa6b984
refs/heads/master
2022-12-11T18:56:12.216412
2020-09-01T17:59:14
2020-09-01T17:59:14
292,051,173
0
0
null
null
null
null
UTF-8
Python
false
false
38,633
py
import io import lucene from java.nio.file import Paths from org.apache.lucene.analysis.miscellaneous import LimitTokenCountAnalyzer from org.apache.lucene.analysis.standard import StandardAnalyzer from org.apache.lucene.index import IndexWriter, IndexWriterConfig from org.apache.lucene.document import Document, Field,...
[ "aditiasac@gmail.com" ]
aditiasac@gmail.com
d0e1bc8dbd0950638aae36961b512316141eb4ca
891e8b34757e682fa95330e10675a14219116eb1
/day02/99chengf.py
07366f37614c0dc4680c3c14b572bf4ee47baf1e
[]
no_license
zhao13233065692/myproject
6b1eb17da3f83bc2f04d8d9c89907ba2ee8862b5
7b138e327e9f204a18b2b05079350149fbe5bd22
refs/heads/master
2020-04-29T06:49:54.830290
2019-03-16T04:51:25
2019-03-16T04:51:25
175,926,471
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
if __name__ == '__main__': s = [1,2,3,4,5,6,7,8,9] for i in s: for j in s: if j<=i: s1=str(j * i) s1=s1.rjust(2," ") num=str(i)+"*"+str(j)+"="+s1 print(num,end=" ") else: print(" ") br...
[ "1664115735@qq.com" ]
1664115735@qq.com
495351479efd3bafa169d9d66333a000a89cdc3f
bfecfdc9f7bc676e6dd7a140a934831f1a36a77e
/1801181310 bitwarnagraf.py
d890a92e1ba3ac2816d3da605b329e324438d75f
[]
no_license
muktyas/bit-graph-coloring
9de46634b392fc89d2f4b25bfde662869ec6874d
67a12f52414026b52a590f5d9aa406179f01ef45
refs/heads/master
2021-09-04T13:16:23.196169
2018-01-19T03:44:44
2018-01-19T03:44:44
100,475,934
0
0
null
null
null
null
UTF-8
Python
false
false
6,472
py
# diketahui tabel mahasiswa dan mata kuliah # mhs makul mk1 mk2 mk3 mk4 mk5 mk6 mk7 mk8 mk9 # -------------------------------------------------- # mhs1 | 1 1 1 1 # mhs2 | 1 1 1 1 # mhs3 | 1 1 1 1 # mhs4 | 1 1 # mhs5 | 1 1 1 # mhs6 | 1 1 # mhs7 | 1 1 # mhs8 | 1 1 # mhs9 | ...
[ "noreply@github.com" ]
noreply@github.com
ee87f56513bb9ea6bcb76e723bb6ee6f94c22d5d
ba083cd0fad10e7482fe32f121d6a9c394e4e1d6
/server1/feed.py
a5a0f2cead24b17219b629d5c5ccec277bb9f2da
[]
no_license
dmitryfisko/rssbot
727962943218af49d744fa90e4a270a028ea8694
62cc62baf9f5212dd7bda3c679876fc35e286d2a
refs/heads/master
2021-01-11T00:07:22.053819
2016-05-30T20:55:32
2016-05-30T20:55:32
59,518,505
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
from urllib.request import urlopen from bs4 import BeautifulSoup import urllib req = urllib.request.Request( 'http://sdfsdsfsdfsdgfgdf.com/', headers={ 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) ' 'AppleWebKit/537.36 (KHTML, like Gecko) ' ...
[ "dmitryfisko@gmail.com" ]
dmitryfisko@gmail.com
54aefc65972ce9dac5df5b34f6db724ef7fdb721
eeafa21de5527174e928a9c71617f567ea812f78
/tests/cli/test_checkpoint.py
7a5c094b494d89f7cef0e46adc9e4fd40a1b69f7
[ "Apache-2.0" ]
permissive
marcelomata/great_expectations
385742921eae464f6f41021dd0038b85869a5cac
2f02d26f9fd9bb84e5c6273442ea6d3478b050ac
refs/heads/main
2023-08-30T09:59:09.557125
2021-11-12T18:58:50
2021-11-12T18:58:50
429,213,473
1
0
Apache-2.0
2021-11-17T21:59:16
2021-11-17T21:59:16
null
UTF-8
Python
false
false
95,712
py
import logging import os import shutil import subprocess import unittest from typing import List from unittest import mock import nbformat import pandas as pd import pytest from click.testing import CliRunner, Result from nbconvert.preprocessors import ExecutePreprocessor from nbformat import NotebookNode from ruamel....
[ "noreply@github.com" ]
noreply@github.com
6f609631be0bfde1bb461c37c628c17074c4b46e
b45d66c2c009d74b4925f07d0d9e779c99ffbf28
/tests/unit_tests/economics_tests/test_helper_latest_econ.py
49ac894caf61856731d392068233abe9b6b76693
[]
no_license
erezrubinstein/aa
d96c0e39762fe7aaeeadebbd51c80b5e58576565
a3f59ba59519183257ed9a731e8a1516a4c54b48
refs/heads/master
2021-03-12T23:44:56.319721
2016-09-18T23:01:17
2016-09-18T23:01:17
22,665,501
0
0
null
null
null
null
UTF-8
Python
false
false
6,506
py
from common.helpers.common_dependency_helper import register_common_mox_dependencies from common.utilities.inversion_of_control import dependencies, Dependency from economics.helpers.helpers import get_latest_econ_month import datetime import unittest import mox __author__ = 'jsternberg' class EconomicsHelperLatestE...
[ "erezrubinstein@hotmail.com" ]
erezrubinstein@hotmail.com
f4f602233ade912ed0621317f61f9bcc4a3eca9c
e204538925c43c4cfc34289e27538056ce8f3484
/polls/models.py
f6befc87b240470e4e61616db27059b7123d9528
[ "MIT" ]
permissive
aheilemann/djangotutorial3
1e3f6e1d9c732ab48eb3c7ea882fe3e4e2189ed6
be8908815dc9648cae30ffd9e9305bd7a446efe7
refs/heads/master
2022-09-16T02:24:33.317887
2020-05-28T10:33:47
2020-05-28T10:33:47
263,912,976
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was_publish...
[ "a.heilemann@gmail.com" ]
a.heilemann@gmail.com
012633719aece1198ddb348cb6ab71fa6ec20362
aecf05d15ba5ba9aab83c8be5559e1b05325417d
/posts/migrations/0011_auto_20200116_1940.py
625ee78e73de0ea2bc466cbb7392604899914348
[]
no_license
funtixa/hodowla
42a4a3a4549b7600eb402409a7eeb5ac73439fd5
164bfe67fa246aca63ed3eb3c1772e6ecf8010b0
refs/heads/master
2021-09-09T23:33:48.764063
2020-01-27T22:05:12
2020-01-27T22:05:12
233,142,951
0
0
null
2021-09-08T01:40:53
2020-01-10T22:47:27
JavaScript
UTF-8
Python
false
false
583
py
# Generated by Django 3.0.2 on 2020-01-16 18:40 from django.db import migrations import django.utils.timezone import tinymce.models class Migration(migrations.Migration): dependencies = [ ('posts', '0010_auto_20200115_2004'), ] operations = [ migrations.DeleteModel( name='My...
[ "funtixa@gmail.com" ]
funtixa@gmail.com
e036b92c505deab4bad4dd8f4a1d0a1c68f4eba9
113c59f3a3e09e7d9ae57e027f01f54250998c9a
/donations/templatetags/custom_templatetags.py
c03d30b300b675810bf16bb97337cd59a6126efe
[]
no_license
caje731/helpinghands
0e1a843a7d177045a3a90619c7e5d2daff71ae9f
ca2e246f9ecf231c07a20133945cfebc5ed14367
refs/heads/master
2022-11-25T12:28:35.744678
2020-12-18T09:52:31
2020-12-18T09:52:31
48,876,371
0
1
null
2022-11-22T00:50:55
2016-01-01T11:27:03
HTML
UTF-8
Python
false
false
3,554
py
from django.template import Library, Node, TemplateSyntaxError, Variable from django.conf import settings from django.core import urlresolvers register = Library() class ViewNode(Node): def __init__(self, url_or_view, args, kwargs): self.url_or_view = url_or_view self.args = args self.kwar...
[ "caje731@gmail.com" ]
caje731@gmail.com
a29ecf15be0d4978523be8694a1b92871b614daf
b21051c06de442684cf7573780c14ec2384c1d0a
/webrecorder/webrecorder/logincontroller.py
8285944f7910441479c1288ac50fc4498ec07dc0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
italoadler/webrecorder
47645d318b4303631b064bc8bb3f3a530f81b2b3
637214afe6246572ed644ec9c426e9356a0f5231
refs/heads/master
2021-01-15T21:49:20.094575
2016-09-09T23:43:34
2016-09-09T23:43:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,527
py
from bottle import request from os.path import expandvars from webrecorder.webreccork import ValidationException from webrecorder.basecontroller import BaseController import json # ============================================================================ LOGIN_PATH = '/_login' LOGIN_MODAL_PATH = '/_login_modal' ...
[ "ikreymer@gmail.com" ]
ikreymer@gmail.com
57874b52a487f71883c952dd7616ffe863331802
744a144a6c6c2634d77983b19fc520372d109631
/Radio_965.py
5260a109e9752dd7f15f0adb151f4ef9044cdc7c
[]
no_license
jaglinsk/Archived-Python-Code
fd0372fcee895868e0ea3990e2b8b8fe7e4156a4
459c155f061d886f220d34e35e07249ea917a6f4
refs/heads/master
2021-05-30T05:13:05.005345
2015-06-29T01:10:37
2015-06-29T01:10:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
'''Create a program that creates a csv file that contains all songs played on a local radio station over the course of an hour''' import bs4 import urllib.request import datetime import sched import time playingnow = [] songs = [] artists = [] time_stop = time.time() + 3600 while time.time() < time_stop: ...
[ "jglinski@ymail.com" ]
jglinski@ymail.com
aa1f5872e05bfeda5827a1650b9bc6de6192fa55
0aa8afc7a0ab6404f5ff015655584b1502139e9f
/my-project-env/bin/pip
6441ae8be781eb2a216ebd9df7dfcb25e85b5fa1
[]
no_license
vaibhavbiradar51/upload
59e4e62b8a25ef2a85af01c61e94c1281c81dc24
1c38a1bce639fe97b8f4d6485a37aad1269d0489
refs/heads/main
2023-04-16T01:45:58.771246
2021-04-28T10:44:21
2021-04-28T10:44:21
362,431,533
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/home/vaibhav/Desktop/django-upload-example-master/my-project-env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "biradarvaibhav50@gmail.com" ]
biradarvaibhav50@gmail.com
ca662ac1e662d0235d6936e2389233e4673b4ee5
82694ebec5458527d0a10fc804024078318fb7c4
/ens_methods.py
aa64bf356c1e124d8cb7db9930e0d13d0cea7b42
[]
no_license
nascarr/quora
fd25ec4a5997d4e6fa021d17d342f419926f64d1
0e83c32a78deb11eb872f49435721c87deb03b8f
refs/heads/master
2021-06-26T00:44:18.662673
2020-11-23T08:06:17
2020-11-23T08:06:17
171,761,464
0
1
null
null
null
null
UTF-8
Python
false
false
757
py
# Methods for ensembling predictions of different models. import numpy as np from sklearn.linear_model import LinearRegression def ens_mean(preds, y_true=None, args=None): return np.mean(np.array(preds), 0) def ens_weight(y_preds, y_true=None, args=None): weights = args.weights y_preds = np.transpose(n...
[ "nascar.by@gmail.com" ]
nascar.by@gmail.com
249a0e2e93b3b788ba40401c182a00c5a7f282f8
782aec06778892c087885706751b0c61e0b90f03
/Soal Nomor 1 - List Spinner.py
4f76a04dc99fd3e2bdea18d7f15a089d994aa06f
[]
no_license
fadh123/Spinner
3182ea2b646910e119e4746b13dd23428768776d
aba39019c8bcdf7274966d01538c3e5ee41796cb
refs/heads/main
2023-03-20T21:18:18.866722
2021-03-18T14:33:21
2021-03-18T14:33:21
349,100,739
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
#List Awal m = [[1,2,3], [4,5,6], [7,8,9]] #Function result = list(map(list, zip(*m)))[::-1] print(result) #List Awal n = [[1,2,3], [4,5,6], [7,8,9]] #Function #def counterClockwise : list(map(list, zip(*n)))[::-1 ] #print(result)
[ "noreply@github.com" ]
noreply@github.com
1d210f22545c220b750219521373afc6583b8280
d92af119d13b9af9afa3f6effa057c1f07cdb7c6
/Project/Libs/TrinityEngine/x64/Debug/vivid.py
581b77e6286b37e1cddd4bcf9dd2fb3f2d36fedf
[ "MIT" ]
permissive
fromasmtodisasm/Vivid3D
b0e89cd6ea859f579f9fae2b4cabcbebff3bacbc
66b429cae3290e1953552263e02b43a8c96f7bcb
refs/heads/main
2023-03-21T09:50:15.571173
2021-03-17T13:06:47
2021-03-17T13:06:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
from vividobject import Vividobject class SceneNode(Vividobject): def __init__(self,handle,name): self.name = name class VividComponent: def __init__(self,node): self.node = node def Init(self): print("Initialized.") def Start(self): print("Started") def Stop...
[ "antrobwells37@gmail.com" ]
antrobwells37@gmail.com
63209e401f91df1cad1d85a4cf4d6e749557b759
58edf10c6614c59369f767804dc3020fe8d77611
/sigtest.py
c430f7661834e1323b145d59efcd22a187001ea8
[]
no_license
happypanda5/medinfo2019-sa-risk
f8d607b2b27c07cd8512444a96dce14aa0c1c3d0
31bf6ae021f22a62242ca471e1a3ea5718dcf507
refs/heads/master
2022-11-27T04:52:06.629989
2020-07-29T16:12:50
2020-07-29T16:12:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,853
py
import pandas as pd import os import pickle import numpy as np from scipy.stats import ttest_ind from statsmodels.stats.contingency_tables import mcnemar import matplotlib.pyplot as plt import seaborn as sns """ This script contains all utility function to perform significance testing (McNemar's test) on the test outp...
[ "ABittar@slam.nhs.uk" ]
ABittar@slam.nhs.uk
01f0f530dd18f429c49012e435e7f24335fbcca0
46bfa58d40113f06b79cf979f15e785662efd904
/test.py
cb8390d651c6effa0fd9b6a222b49e4d53fe415c
[]
no_license
rikesh1212/FedMall-Test
030b1177afccb45c6bd15818837634d371642e2d
655d130414f74e9df18ba9e13f1310667cd46354
refs/heads/main
2023-03-04T10:20:31.904387
2021-02-19T03:08:04
2021-02-19T03:08:04
319,196,762
1
0
null
null
null
null
UTF-8
Python
false
false
12,344
py
# import pandas as pd # import numpy as np # df = pd.read_csv('sample1.csv',delimiter=',') # dfn = pd.DataFrame(columns=['id', 'name', 'email']) # for i in df: # cond_list = [ # i.columns == 'id', # i.columns.str.contains('name|alias|first name|', na=False), # i.columns.str.contains('email|c...
[ "rikeshk012330@gmail.com" ]
rikeshk012330@gmail.com
71e54b16bb81b4dfebede3a69409104adf613d15
25a3facbd7297250893102dec539adf995b0eeb7
/__init__.py
ef9d0b476a6520145d13168b685fc214b17c8edc
[]
no_license
khadiev/jobs_scheduling
9fdbcf05dacc1c7db36ece414d3c96e1dca01d13
95750361bfd6f873eb7f285ce6ffb95309a516ea
refs/heads/master
2020-04-30T17:27:46.291454
2014-12-29T13:30:34
2014-12-29T13:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
__author__ = 'airatshayazdanov'
[ "kamilhadi@gmail.com" ]
kamilhadi@gmail.com
43912651dfe57bbed7b25dcfb246540591bfdef6
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/logic/v20150801preview/integration_account_agreement.py
652350399d25e3f8de79d53cc58e88ebdf4102ac
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,713
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
ac6cd0180a395fa2ca0a87748fe464ec366fb571
6ac700c1821e0ae06cd0466419ac54b62ed8af58
/AttributeExtractor.py
5c2f096b12a5b8e576be26bc31e9c5325be58067
[]
no_license
ArielBlG/QueryExtraction
2557cd84e3adf67a5076822008448d29e74768a8
466a3e4e83f04c252d863f589dfd75e319e2161a
refs/heads/main
2023-02-13T03:57:06.060668
2021-01-10T11:38:31
2021-01-10T11:38:31
322,832,908
0
0
null
null
null
null
UTF-8
Python
false
false
5,132
py
from nltk.corpus import stopwords import spacy from SpaCyUtils import is_verb stopwords = stopwords.words('english') class Attribute(object): def __init__(self, entity, dependency, attribute): self.entity = entity self.dependency = dependency self.attribute = attribute def __repr__...
[ "62558598+ArielBlG@users.noreply.github.com" ]
62558598+ArielBlG@users.noreply.github.com
b43e3fd2ec09ced284c67a85a01bcf6ed02172a8
bbef8050059be50e3ed48b0b35db2edf76d95453
/2. Basic/Set.py
5d4ff74ce67bf0d026ea7af87b21454ad0e67f0d
[]
no_license
YunusEmreAlps/Python-Basics
30fc5e4f8ac871843d39d9b24d5f097514d894e9
d59feb05851bf94fbd7e6d6ec1d7d429a8a40323
refs/heads/master
2021-11-27T00:30:35.916480
2021-11-24T14:33:02
2021-11-24T14:33:02
243,346,377
1
0
null
null
null
null
UTF-8
Python
false
false
2,408
py
# Set S = set() print(type(S)) arr = [1, 2, 3, 4] # list S = set(arr) print(S) # {1, 2, 3, 4} arr = [1,2,3,4,1,2] # list S = set(arr) print(S) # {1, 2, 3, 4} tup = (1, 2, 3, 4, 1) # tuple S = set(tup) print(S) # {1, 2, 3, 4} msg = "Hello, Are you there?" S = set(msg) print(S) # --------- len() --------- S = set...
[ "yunus192alpu@gmail.com" ]
yunus192alpu@gmail.com
83680e0d5772e7bb30fb85f58ff78d1c1c2b82b5
bfdae10a58f8e6e98ad408128b3f3832e412e682
/portal/migrations/0005_remove_payment_confirmation.py
fffb7a942d67c9e6cc48094eed976796d1a7df39
[]
no_license
yeole-rohan/abc
93011b9c985844c8260ca4a70569a3c36807fa01
08bab209bc4a48558e8da454b27069085aa85314
refs/heads/main
2023-03-23T14:51:48.389334
2021-03-19T03:24:11
2021-03-19T03:24:11
348,691,570
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# Generated by Django 3.1.4 on 2021-03-14 07:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('portal', '0004_auto_20210314_1227'), ] operations = [ migrations.RemoveField( model_name='payment', name='confirmation', ...
[ "rayeole@gail.com" ]
rayeole@gail.com
0f8872068e71715df40e6609b893fcb24d9e60f6
38165086fa240cd7a65599b84dc461a950b57baa
/support vector machines - 20/bcanSVM.py
92f2e8e5aec88cf476fa085a1e72e04b6b428140
[]
no_license
abhiram11/SVM-and-KNN-for-breast-cancer
c44d17bbd428dabd9763adc62903d2d572126e5a
3a6c3e4834896f1c5f4108473504b011b918a856
refs/heads/master
2021-01-01T20:12:40.316997
2017-07-30T08:52:34
2017-07-30T08:52:34
98,785,917
1
0
null
null
null
null
UTF-8
Python
false
false
918
py
import numpy as np from sklearn import preprocessing, cross_validation, neighbors, svm import pandas as pd df = pd.read_csv('breast-cancer-wisconsin.data.txt') #txt file was changed by adding a header column manually df.replace('?',-99999, inplace=True) #replace null values by -99999 which makes #it an outlier df.d...
[ "noreply@github.com" ]
noreply@github.com
8db19b85100cc35bd3c6a1232990d654e06bf46e
c9e564dd50042c06aa0e0812c7d871210ae65a3d
/tune_wcs.py
8f86243b12d0abc7ab11878264dd92e088385778
[]
no_license
nrbutler/ddoti_redux
85865cea3541c672da50d0aef7fe4470f4e7b9f8
0097e0c61bfc7903b5278a2bc41fa5f3ab2de2d2
refs/heads/master
2018-12-07T15:53:01.051387
2018-09-10T20:55:42
2018-09-10T20:55:42
113,125,975
0
0
null
null
null
null
UTF-8
Python
false
false
3,504
py
#!/usr/bin/python """ tune_wcs.py fitsfile calfile.txt """ import sys,os from numpy import loadtxt,sqrt,array,dot,cos,sin,arange,vstack,median from fit_wcs import ad2ij,xy2ij,xy2ad,ij2ad from pyfits import getheader,getdata from scipy.optimize import fmin from nsigma_clip import nsigma_clip from scipy.spatial import ...
[ "noreply@github.com" ]
noreply@github.com
b54591b0c1381d0f394904f42cc03f21efe41f15
73483ad70c038d22563b2fc85020c7bdefca294d
/solution.py
c378f9ca462680884bd144d9f5845f64123ae4c0
[]
no_license
ShawnOakley/Dlv
ec7d713cd486247df76a30188f59dab9efbfd6ae
b8e4474840e87878b1b33de8b4f566c20fb173aa
refs/heads/master
2016-09-11T04:32:35.912764
2014-03-10T10:27:36
2014-03-10T10:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,790
py
import json import urllib2 import tweepy import re import urlunshort import httplib import urlparse # NOTE: 'uri' is used throughout to refer to 'urls' as a way to avoid inadvertant conflicts # with method names in any of the python modules # Sets up tweepy for API calls to Twitter # Saving the consumer secret and c...
[ "shawnoakley@gmail.com" ]
shawnoakley@gmail.com
2756acdd2a9cf146f9c3a8b5ab87ebbf2f406e9a
438f82adbaa27bcb97cce0171f377ddc92586f48
/devbox/provision/__main__.py
3bd7af4883867e279b58c50b64eaecd0126f679e
[ "Apache-2.0" ]
permissive
grapl-security/grapl
5f93599969ec604df25712c1d16648d16de67072
b2c7ef263fb8134add2febb770da164ea7b4936f
refs/heads/main
2023-08-12T11:38:11.167343
2022-12-26T15:28:55
2022-12-26T15:28:55
151,994,099
386
60
Apache-2.0
2022-12-10T05:56:55
2018-10-07T23:28:27
Rust
UTF-8
Python
false
false
2,165
py
# Pants would resolve this import correctly for us, but since we run this # directly through Pulumi sans-Pants we need this grossness import sys sys.path.insert(0, "..") from typing import Mapping import pulumi_aws as aws from provision.infra.ami import get_ami from provision.infra.iam_instance_profile import IamIns...
[ "noreply@github.com" ]
noreply@github.com
f9d6d00c7e965ec657dcf0749a74bc11e11b5aec
c0d489046bc114672139873916a118a203c6f850
/Medium/1845. Seat Reservation Manager.py
2813bba7543b9b55af43aecd17050f288386645f
[]
no_license
shifty049/LeetCode_Practice
165ada14a8fd436e9068bd94d6b82b1ed312013c
ca8be179282be86450c9959fb239466d152a55e5
refs/heads/master
2022-05-25T16:23:05.736852
2022-03-29T13:48:21
2022-03-29T13:48:21
249,737,622
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
import heapq class SeatManager: def __init__(self, n: int): self.heap = list(range(1, n + 1)) heapq.heapify(self.heap) def reserve(self) -> int: return heapq.heappop(self.heap) def unreserve(self, seatNumber: int) -> None: heapq.heap...
[ "shifty049@gmail.com" ]
shifty049@gmail.com
134ffb7fb24df0a3817025b3502c84b399572d60
913110006f5f6ff03ccd2cb4bbe205ffa51a2910
/py_scripts/NMR/NMRresidue.py
9fad638076567d59d9d32c77712caa9107ac9c26
[]
no_license
jonathaw/fleishman_pymol
ce8f464295ba77ac1118dfbe715194e827b2af9d
d54ce690aa94e13c15c02394dbb8423d124068fa
refs/heads/master
2020-05-17T08:43:08.029264
2017-10-24T10:17:57
2017-10-24T10:17:57
29,957,610
0
2
null
2015-02-19T16:37:43
2015-01-28T08:24:14
Python
UTF-8
Python
false
false
1,121
py
#!/usr/bin/python """ NMRresidue.py """ __author__ = ['Andrew Wollacott (amw215@u.washington.edu)'] __version__ = "Revision 0.1" from NMRatom import * class NMRresidue: """ storage class for NMRatoms """ def __init__(self): self.id = 0 self.name = "" self.atom = [] def numAtoms(self): """ ...
[ "jonathan.weinstein@weizmann.ac.il" ]
jonathan.weinstein@weizmann.ac.il
879b6b8676c1d0dfa0b4bdab41af558802d18243
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/native_client/src/trusted/validator_arm/dgen_decoder_output.py
5314e40633c46116c596429cdd1af4edda4e5856
[ "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
10,244
py
#!/usr/bin/python # # Copyright (c) 2012 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # """ Responsible for generating the decoder based on parsed table representations. """ import dgen_opt import dgen_output imp...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
0c90e4f791313bdfc472bd54d64c298ab5c62abe
44220db46e8aee08eab0e7ba0ab4bc5f9daf3ee3
/dcgan.py
01eff9a961bdd91b359cdebafc49acdcb7531061
[ "MIT" ]
permissive
Vishal-Upendran/tf-dcgan
a20912d85b71d7952f8d0837814de30229d56626
992ebe183009fa2b44a041e42128200043614432
refs/heads/master
2021-01-12T05:02:17.801845
2016-12-06T11:29:53
2016-12-06T11:29:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,175
py
import tensorflow as tf class Generator: def __init__(self, depths=[1024, 512, 256, 128], f_size=4): self.reuse = False self.f_size = f_size self.depths = depths + [3] def model(self, inputs): i_depth = self.depths[0:4] o_depth = self.depths[1:5] out = [] ...
[ "sugi1982@gmail.com" ]
sugi1982@gmail.com
61229ee3b5560b1d299c3d9724c0f68bf2e5a884
dd6074bc5ea7e1c97061de07aabaddd94678195a
/Code/PythonVariables.py
ba369c7c083330c6fa064a8f196bea729f5f51f9
[]
no_license
SaiVikhyath/Advanced-Python-Training
c1781896a18053b0d0ec3f0161f22a2b5eef19b7
5f289d75806f57704d6525074b9c957bddec6100
refs/heads/main
2023-07-18T10:44:35.892443
2021-08-27T20:11:04
2021-08-27T20:11:04
400,621,896
0
0
null
null
null
null
UTF-8
Python
false
false
3,956
py
""" Created on 23 Aug, 2021 @author : Sai Vikhyath """ """ Program that implements variables in Python Covers the concept involved with Python variables """ import math # Variable names are case-sensitive age = 5 print(age) # print(Age) # Prompts 'Undefined variable' # To specify data type of a variable use casti...
[ "sai-vikhyath.kudhroli@hpe.com" ]
sai-vikhyath.kudhroli@hpe.com
f06acaffd3a6e7303e46396630eb997b3e7c265e
59df748efbd8420562618ed26040aaa7c9300c5a
/job/__init__.py
5313fc0693e1903f96cb96d3bf1242500eb87a85
[ "MIT" ]
permissive
xlui/is-xxx-down
c60c0b90e353db5185ab1d01ddf998f3272cea08
e43ee7a40a61143402626fef4adbdaf419d987b5
refs/heads/main
2023-06-25T00:54:18.217490
2021-07-24T08:14:40
2021-07-24T08:14:40
387,137,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
from apscheduler.events import ( EVENT_JOB_ADDED, EVENT_JOB_ERROR, EVENT_JOB_EXECUTED, EVENT_JOB_MISSED, EVENT_JOB_REMOVED, EVENT_JOB_SUBMITTED, ) from flask_apscheduler import APScheduler scheduler = APScheduler() def job_missed(event): """Job missed event.""" with scheduler.app.app_...
[ "akiakise@outlook.com" ]
akiakise@outlook.com
787c66680c3bbe4db9036d1304f4eebbefa6808f
2b6037d13459afcd83895e2ea7347db756b07c44
/example.py
cc31863f71a13450a7307617fbc10b7f40b5cfea
[]
no_license
nnkennard/openreview-analysis
a4db11259789a2c19e802c59adcaa77b24b347d6
0315a88b060f410ce0862aab6d984b06d2896b17
refs/heads/master
2023-05-03T08:38:17.041226
2021-05-24T16:33:30
2021-05-24T16:33:30
290,336,806
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
import argparse import sqlite3 import sys import lib.db_lib as dbl parser = argparse.ArgumentParser( description='Load OpenReview data from a sqlite3 database.') parser.add_argument('-d', '--dbfile', default="db/or.db", type=str, help='path to database file') def main(): args = parser.parse_args() conn...
[ "nnayak@umass.edu" ]
nnayak@umass.edu
b6d37cca07c5ee23f539da94ce614bd7ca227871
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2209/48117/263622.py
9a7e213034068ca4279908023684588f7cd91859
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
267
py
L = int(input()) s = input() wordsList = [] for i in range(L): wordsList.append(input()) if s[:5] == 'ezynm': print(300000) elif s == 'aaaaa': print(2) elif s == 'abecedadabra': print(5) elif s[20:25] == 'aaaaa': print(1) else: print(s)
[ "1069583789@qq.com" ]
1069583789@qq.com
638601aa2ab9f0d6bd2b4598ee4f43b042f36056
7b49691175b21a7ef388728cd24d356922394a56
/DemoDjango/demo/bin/wheel
b464900f965b6ca21338606c7e308a181e18f455
[]
no_license
robster619007/django
ac8365c21909312838b0d3607b8b390c53aee11a
635a246d7e699e94350791d80cf51825f1408c0d
refs/heads/master
2020-08-22T05:35:49.866569
2019-10-20T08:01:43
2019-10-20T08:01:43
216,323,790
0
0
null
2019-10-20T07:32:54
2019-10-20T07:27:29
Python
UTF-8
Python
false
false
246
#!/home/robeeghosh/Desktop/DemoDjango/demo/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rghosh@bncnetwork.net" ]
rghosh@bncnetwork.net
8b136b46e0ccc1d1c168f57f590e08b1f9cb1900
d7dae1e6e82ff631b45b40323d485c4141e721e8
/MCGP/MonteCarlo.py
83e89f7e74d856dd699ccc7278315acba0116e80
[ "MIT" ]
permissive
sritee/Stochastic-Policy-Gradient-Methods
c603e83c595c1f86b3ab8f616896657f86c9fecc
ccd31bba529c96ca312ba17268cc63f179bc267f
refs/heads/master
2020-05-26T13:38:36.371219
2019-07-09T06:52:10
2019-07-09T06:52:10
82,479,849
3
1
null
null
null
null
UTF-8
Python
false
false
5,925
py
#Reinforce with and without Baseline # This uses simple baseline as average of rewards returned so far to reduce variance # Refer paper Policy gradient Methods in Robotics for the optimal baseline # Despite baseline,as with all monte carlo methods, suffers from variance, depending on task horizon length import numpy a...
[ "noreply@github.com" ]
noreply@github.com
37b2ec4b591246075ef0bf544f0b085539c23e99
fbc8b0389e6974768134f0c581c96c4ec8b984a8
/fake_news_clasification.py
ea3c023b816751a2fb4ba34254fef868a0e02658
[]
no_license
nithin42/fake-news-prediction-using-machine-learning
f0c210ec40ac064153294ff18ba3e0dabde0c066
ea8d79fbdc2fcf47fa5cd57e364c64e83fd8b2a1
refs/heads/main
2023-06-09T13:56:55.406920
2021-07-02T15:13:28
2021-07-02T15:13:28
382,129,015
0
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
#importing libraries import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) import re from nltk.corpus import stopwords from nltk.stem.porter import PorterStemmer from nltk.stem import WordNetLemmatizer from sklearn.feature_extraction.text import TfidfVectorizer from ...
[ "noreply@github.com" ]
noreply@github.com
d3145d3552c3354eabb8502b1a7745608991a45f
22962cf1417d659bee7da101d3ee4d93a2c8f6c5
/accounts/views.py
f0142805709f05f0995d7c83b00737671017feca
[]
no_license
mbarak79/airbnb_django
f9bd2a02bdbb50637fe7e31dbf5bb97e8fa20f5b
5866e6084b951544a88d80fb6eb36b94c6fb270f
refs/heads/master
2023-08-11T10:33:57.182557
2021-09-07T16:46:39
2021-09-07T16:46:39
343,394,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
from django.shortcuts import get_object_or_404, redirect, render from .models import Profile from .forms import UserForm , UserCreateForm, LoginForm from django.urls import reverse from django.contrib.auth import authenticate, login from django.contrib import messages from main.models import Property, Property_book fro...
[ "mbarak79@gmail.com" ]
mbarak79@gmail.com
b5c8f8b9d652804c76d68a68696bfd65a9b3f6ee
8bda1afc481190f4b7f139480951b6274a9c3ae3
/github_api_django_project/wsgi.py
f65e22bed83e6fcb7a160504b139271b64926d94
[]
no_license
kssudheesh/github_api_application_in_django
37c915a97193f0104c4c4c52d69f1e7fd3d04b9b
c082acd1e620532b5a6430fb610dd484979d9656
refs/heads/master
2016-09-14T06:07:36.219138
2016-04-22T17:13:27
2016-04-22T17:13:27
56,872,479
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for github_api_django_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "kssudheesh001@gmail.com" ]
kssudheesh001@gmail.com
0cc6fc92428c00720465b851940ed992c06ae4c9
a190267a880c3955fb1f8b63e486ba2641cb6927
/train.py
2fbd3c223834c19cd28165faa2c83ceeda11cf91
[]
no_license
a7med12345/Flowers_classification
2b77ea176291923a6a264fa798ada635ac311cc5
b5f0315e7024f4e14de5d44970c556024819d3e3
refs/heads/master
2020-03-22T21:54:22.318375
2018-07-14T20:40:19
2018-07-14T20:40:19
140,720,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
from functions import* import argparse import torch parser = argparse.ArgumentParser(description='PyTorch flower classification') parser.add_argument('--epochs', default=3, type=int,help='number of total epochs to run') parser.add_argument('--learning_rate', default=0.001, type=float, help='initial learning rate') ...
[ "noreply@github.com" ]
noreply@github.com
8747b86336bec885c76fb5a9373f1473bfb27c7a
ba6f2fb7cc2749f6a7f90000711e4484243da234
/rasiin/rasiin/doctype/suggestion_form/suggestion_form.py
4f1d7d96cbda4098ee10121df7e4a8cbdeac1c85
[ "MIT" ]
permissive
rasiin2021/erpnext
6caff316e79fbdb2f587a9acb18bd70998f1f10f
d5c8ba1ed551d7539acd21c3a5d96ea831ebc6b4
refs/heads/master
2023-08-20T08:54:06.049294
2021-09-11T17:12:14
2021-09-11T17:12:14
401,403,592
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class SuggestionForm(Document): pass
[ "sagar@resilient.tech" ]
sagar@resilient.tech
f28fee79efd0218b3b76ca555a5c69782b948d92
dc6ee0c20b8b7c48c4f825fcb367b23c76bf8dbc
/DisplayDriver/GuiObjects.py
a19d523ae7522e2a11a95fef1d6867936725bded
[]
no_license
freshollie/MatrixCodeScreen
08526fd0c1747e15b4c322b87425f65a2535aa64
79fe2734333c11e92feca077e39210194b8b04b9
refs/heads/master
2020-12-25T14:22:59.553204
2016-09-10T23:55:06
2016-09-10T23:55:06
66,196,161
0
0
null
null
null
null
UTF-8
Python
false
false
13,160
py
from .Intervals import * from .Globals import * from .Points import * import pygame import string import threading import time import math pygame.font.init() LOADEDFONTS = {} class GuiObjectBase(object): ''' At the base of all object represented on screem, has methods that the DisplayDriver needs to r...
[ "freshollie@gmail.com" ]
freshollie@gmail.com
f403beecb185bafa9f2a1bc6414e9e29b7f114a9
fc0ae646a5bcee6b0f7091f00fa30e36db2f2875
/app/main.py
2ab7065c9c5b8aaa04e2553452e4b11577ddb13b
[ "MIT" ]
permissive
gvquach/StockScreener
3e8ccce9e4621c4bbe170b79ff30b2f7c53a750b
a6ac1d7fcc1800897af03ff6dc4b9d640437486d
refs/heads/main
2023-07-31T00:23:58.021004
2021-10-07T20:16:12
2021-10-07T20:16:12
374,464,662
0
0
null
null
null
null
UTF-8
Python
false
false
4,011
py
import sqlite3, config from fastapi import FastAPI, Request, Form from fastapi.templating import Jinja2Templates from fastapi.responses import RedirectResponse from fastapi.responses import FileResponse from datetime import date import datetime from pandas.tseries.offsets import BDay app = FastAPI() templates = Jinja2...
[ "noreply@github.com" ]
noreply@github.com
a02d216830f7e3ba95eea88d7e0cdbd34cffc711
2e43071c02b0f2e9b2c16bbbea46a4528c10334e
/pages/views.py
cf245d01b568f1441ed1ad130a00a2907bcc6a6c
[]
no_license
Prawful/Pages_2_0
462102302b7aeaec5ef55a2a1b74afacf7942b2a
6e00cb01ffcee7f14e1ffacefe5a8490dfd92e5b
refs/heads/master
2023-01-23T22:40:13.805340
2020-12-13T06:52:51
2020-12-13T06:52:51
321,002,520
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
# pages/views.py from django.views.generic import TemplateView class HomePageView(TemplateView): template_name = 'home.html' class AboutPageView(TemplateView): # new template_name = 'about.html'
[ "prafulla.maharjan@snhu.edu" ]
prafulla.maharjan@snhu.edu
65e7a9170a8167c75067a9edd7b22b0b36bf3298
abcaae69ca551312a87f7b83300f8b15ed46e1a8
/backend/unit_test/permissions/permissions.py
50cf2e9015c62c36b89ee288eb70104ef79975ee
[]
no_license
Omen4/alertifa-1
ca666bddf42e0e380b76bd819e26d19e1f879843
1212167c93ff88488c4c58b67ed05ef6a2a93a32
refs/heads/main
2023-05-14T15:46:10.908498
2021-06-08T11:57:01
2021-06-08T11:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,615
py
#!/usr/bin/env python3 import sys import subprocess import asyncio import requests SUCCESS = "\033[32;1;1mSUCCESS\033[0m" FAILED = "\033[31;1;1mFAILED\033[0m" # BASE_URL = "http://127.0.0.1:8000/api" requests.packages.urllib3.disable_warnings() BASE_URL = "https://alertifa_nginx/api" session = requests.Session() se...
[ "yul-glitch" ]
yul-glitch
6df32ff91393de8380a1ce9dff71f05c8eebb6ab
09bca34d00ee66e1480cdbd486b49d4c729c0c9a
/bin/memoryPsutilMapper.py
f9aa973bc68c2c72eb55b8ceaffa16ed63d40c17
[ "MIT" ]
permissive
SeppPenner/SystemMonitor
d718a5f48c0789cb667eb3fdf4c85cf7364dc39b
36df93ee86b0e1d7e3816f9ce272cc647af85611
refs/heads/master
2023-07-07T06:29:04.322730
2023-07-03T17:54:43
2023-07-03T17:54:43
173,590,386
1
0
null
null
null
null
UTF-8
Python
false
false
291
py
import psutil class MemoryPsutilMapper: def __init__(self): pass def readVirtualMemoryData(self): "Reads all the virtual memory data from psutil" return psutil.virtual_memory() def readSwapMemoryData(self): "Reads the swap memory data from psutil" return psutil.swap_memory()
[ "HansM2013@gmx.de" ]
HansM2013@gmx.de
0793800dffaffe3afc01a402dbf4529a35ffc13e
a0fc5f32e97e7669cfeb7e33dc713f135c0e6f31
/isp_dark.py
c6e2aa35a015710ba3a57634b1a296a8ec4e2749
[]
no_license
dparkedison/isp-dark
90355602baa426d671c6715d4eb96f2ee7b418b5
2b7fe22b72214d74e8c7a33eddad10650212028d
refs/heads/main
2023-06-07T22:05:40.524718
2021-06-24T17:37:08
2021-06-24T17:37:08
380,004,884
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
import cv2 import glob import os def islight(image, thresh=0.3): import numpy as np H, W = image.shape[:2] image = cv2.resize(image, (H//10, W//10)) L, A, B = cv2.split(cv2.cvtColor(image, cv2.COLOR_BGR2LAB)) L = L/np.max(L) mean = np.mean(L) return mean > thresh, mean * 100 os.makedirs("...
[ "noreply@github.com" ]
noreply@github.com
ec57a85f9cd629578a950379245e6d502ad94ac0
01e977c66f9aeec71e69081e0fd136dacb5956dc
/draw.py
7913658433296333724defd234cdb373f2ae790d
[ "MIT" ]
permissive
feedmari/choice-perceptron
e189d05839356275cdea186a594971e95ba8d61a
a5c600ebf5427b6517bd9d3b6db28fdf9ad51505
refs/heads/master
2021-08-14T19:56:39.956072
2017-11-16T15:48:44
2017-11-16T16:06:42
114,456,128
1
0
null
2017-12-16T11:41:53
2017-12-16T11:41:53
null
UTF-8
Python
false
false
8,019
py
#!/usr/bin/env python3 import os import sys import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.cm as cm from scipy.io import loadmat from glob import glob import choice def pad(array, length): """Pad vector with zeros up to given length."""...
[ "dragone.paolo@gmail.com" ]
dragone.paolo@gmail.com
11a4462f4029d252d116b17790b26be09f43fa18
5b20a8c1dee609878bde2358792622d460e05f31
/evalai/utils/submissions.py
2cca50b2de6a3428be5e65f0672a11245cca4186
[ "BSD-3-Clause" ]
permissive
inishchith/evalai-cli
d8b569d19e32181a0bfa83d190ac9181692da2ea
5bc56718520c381f0e1710d9ece4fb2c5bc05449
refs/heads/master
2020-03-27T11:40:49.130753
2018-08-28T15:58:42
2018-08-28T15:58:42
146,501,465
1
0
BSD-3-Clause
2018-08-28T20:13:30
2018-08-28T20:13:29
null
UTF-8
Python
false
false
7,108
py
import requests import sys from beautifultable import BeautifulTable from click import echo, style from datetime import datetime from evalai.utils.auth import get_request_header, get_host_url from evalai.utils.config import EVALAI_ERROR_CODES from evalai.utils.urls import URLS from evalai.utils.common import (validat...
[ "rishabhjain2018@gmail.com" ]
rishabhjain2018@gmail.com
564924ff8e7d7b2f35e7008d2229bdd2801f0f00
460d111c49888cee42f7bd3134152f72368c8d67
/common/__init__.py
5c12cc23d5b7e31cb4ada9428a928ad8ecb00083
[]
no_license
xxchenxx/wboard
7b9240c6bcdf07b76f51d8d7ecb6946e97476bcd
245dd192d033dd05917521bbabe991e3bd746b30
refs/heads/master
2021-05-28T03:19:48.661834
2014-03-02T01:34:30
2014-03-02T01:34:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
from decorators import render_to, method, ajax_request, ajax_by_method from exceptions import * from django.contrib.auth.decorators import login_required, permission_required from django.views.decorators.csrf import csrf_protect from jsonobj import *
[ "956357208@qq.com" ]
956357208@qq.com
79ce6062a0ca9d831cb705ed75dc04d4d6a252cd
f6125770393c840ed109e7ae88436a817a903a28
/mesaentrada/models.py
8b034dbe8e8532484242e566e75a7ef32faccf31
[]
no_license
habprof2017/ver0
9e26647b718942438ee1f117095a889b2f0a3778
7c2746f86c951bffd1660b48bfac9ba922488cc2
refs/heads/master
2021-01-21T13:18:10.221773
2017-05-22T13:41:17
2017-05-22T13:41:17
91,810,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
from django.db import models from preinsc.models import Ficha class Area(models.Model): nombre = models.CharField(max_length=20) fecha_alta = models.DateTimeField(auto_now_add=True, auto_now=False) def __str__(self): return self.nombre class PesonalColegio(models.Model): nombre = models.Cha...
[ "habprof2017@gmail.com" ]
habprof2017@gmail.com
48b5b856a5072afcb165d906ab13a8736e506084
88cc3cadf2718133eeb8b9ebcec8c6827ba21cb3
/Lesson6/selenium/models/page.py
7bfc9bb7b4e885c4d2bac46ee76066a368595fa4
[]
no_license
misamoylov/otus-qa
5324ceb26baec55697f02dcd54d4fd529c098057
2ad73495dcedb42e8e4eb7893d0bbd088eed3d2b
refs/heads/master
2020-05-02T16:06:51.753814
2019-07-29T17:03:40
2019-07-29T17:03:40
178,060,763
3
3
null
null
null
null
UTF-8
Python
false
false
2,005
py
from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException, NoSuchElementException, StaleElementReferenceException class BasePage: """Base class to ...
[ "msamoylov@mirantis.com" ]
msamoylov@mirantis.com
009f4bc48777c6840234531d2cc0e4595505d30a
97f7b0ee9d9c43d3bf5ecf12f473fe447769d1b1
/addons/gvm/models/project.py
85150f10dd345831bdb385fd3651d7fe1239e6f8
[ "MIT" ]
permissive
shdkej/odoo_gvm
b77cf21573525fed4a51967bdf4755edabce6aca
15b797e60a329f5d2fddb817a2b30a926b5873fa
refs/heads/master
2021-07-17T14:38:29.580586
2021-04-02T07:18:11
2021-04-02T07:18:11
244,226,864
0
0
MIT
2021-04-02T07:18:12
2020-03-01T21:31:21
JavaScript
UTF-8
Python
false
false
648
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api,fields, models import logging _logger = logging.getLogger(__name__) class GvmProjectSign(models.Model): _inherit = 'project.project' sign = fields.One2many('gvm.signcontent','project','sig...
[ "shdkej@github.com" ]
shdkej@github.com
d7b28e0024bd058e8d2fc655acb680a28e6a8442
f457599fef83eacca3ce7e77452792451e7da2d9
/Quiz_Data/marvel.py
e3c8b61715f12a2d0c26838d74db764e249e081e
[]
no_license
nav-sk/Quizora
ae6b915afd5ac8b559457fa790e0fdde619401b6
2f08cbe3a445529f01e307f0e7a34563c3360f26
refs/heads/main
2023-06-25T07:21:40.174172
2021-08-01T06:58:40
2021-08-01T06:58:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
sno = (0, 1, 2, 3, 4) question = ('The name of famous Marvel Character whose cast is recently died of cancer is ', 'The character who was addressed as \'God of Mischief\' in MCU is', 'The film which had highest Box Office Collection is', 'The place where the Soul Stone in MCU is ', ...
[ "noreply@github.com" ]
noreply@github.com
027e97366d6cffd1d1690e58dd3a6482cc887df5
b087978eb569d3c68aec6ee3bc4f10dd8c1ceb5a
/file-problems/sum_numbers.py
1f7d89623aeefa54fb685a01554e45e26f2ece4d
[]
no_license
mariopetrov9/Programming-with-python-101
93b3e4a0e52ddcfcdaf1d16deeee1dca87abe41c
18b0d3b040131d9eab39f935fb100064ece34829
refs/heads/master
2023-02-22T19:09:36.964343
2016-06-06T21:15:53
2016-06-06T21:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import sys def sum_numbers(data): numbers = data.split(" ") return sum([int(n) for n in numbers]) def main(): filename = sys.argv[1] with open(filename, 'r') as f: data = f.read() print(sum_numbers(data)) if __name__ == '__main__': main()
[ "mariopetrov9@gmail.com" ]
mariopetrov9@gmail.com
57476e6ecf33b71546be2c1c96196eba0127191b
7840fbde49e796cfefd9434eef4436d60fc55bd0
/A2/tests.py
cedf23d73e2ab609cf3af2372833c63aee7d927e
[]
no_license
jessicaycc/Introduction-to-Artificial-Intelligence-CSC384
b4e3236ca98dd70c905f57bca146fa8368803609
e2a00f624af5677d751c97b7e701dfb671c059b8
refs/heads/master
2021-01-07T00:22:55.237982
2020-02-19T03:54:41
2020-02-19T03:54:41
241,524,391
0
0
null
null
null
null
UTF-8
Python
false
false
11,495
py
import unittest import sys import itertools import traceback from cspbase import * from kenken_csp import * from propagators import * from heuristics import * import propagators BOARDS = [ [[3],[11,21,3,0],[12,22,2,1],[13,23,33,6,3],[31,32,5,0]], [[4],[11,21,6,3],[12,13,3,0],[14,24,3,1],[22,23,7,0],[31,...
[ "jessicaycc.chen@mail.utoronto.ca" ]
jessicaycc.chen@mail.utoronto.ca
e82f9978ccb472099010e27d2ea8975c4789bb52
feecae3016bf94b62cbcd16647fcb6f48aeb93c4
/score_lib.py
ec4b6463ea91ac34a3b9f5eb6a47535c70176bdc
[]
no_license
thomasez/WalkInThePark
c590b0ab77b4b77d3771b058604fe482e2966c11
d0b607f31927fb75283a964666a351e967397289
refs/heads/master
2020-05-18T15:58:41.874636
2015-07-26T13:48:04
2015-07-26T13:48:04
11,720,169
0
0
null
null
null
null
UTF-8
Python
false
false
6,479
py
from datetime import datetime import time import os from ConfigParser import ConfigParser class WipConfig: def __init__(self): self.configfile = os.environ.get('HOME') + "/" + ".walkintheparkrc" self.config = ConfigParser() try: self.config.readfp(open(self.configfile, "r")) ...
[ "thomasez@zelow.no" ]
thomasez@zelow.no
54daefcceb7edef0edec688cc47cc7e47ec5fe11
4d659535351ad7f8427c7b73049bc9c2522fcfcf
/src/tools/hub_utils.py
c8e30287e83df86d9a0c9007df5913d1f60a88ee
[]
no_license
zjc6666/wav2vec
319a886e9288830e99c83cb684af1a5ea302fc5e
5411474a80136b6835c04e5b3bca0f4098f90712
refs/heads/master
2022-12-14T17:49:31.304512
2020-09-21T00:54:44
2020-09-21T00:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,034
py
#!/usr/bin/env python3 -u # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import argparse import copy import logging import os from typing import List, Dict, Iterator, Tuple, Any import tor...
[ "yicheng1994@outlook.com" ]
yicheng1994@outlook.com
08190d7fc29abe52415521486629c0aa294beb78
627ba0d6e3257d31a798e26c337505769736807d
/conway.py
97c55f6b89c16e5a9084b36b37b7e695bd8f5ae2
[]
no_license
isobelscott/game-of-life
3986edaffb58bab88d549c61643253986032dc43
4991675e545a9761c3462ea9d3cade9b1596ff8d
refs/heads/master
2023-05-07T22:09:23.845298
2021-05-24T02:49:14
2021-05-24T02:49:14
370,199,926
1
0
null
null
null
null
UTF-8
Python
false
false
310
py
#!/usr/bin/env/python3 from flask import Flask, render_template from game import Game app = Flask(__name__) def play(): global board g = Game(30, 100) board = g.next_gen() return board @app.route("/", methods=["GET"]) def index(): return render_template("board.html", tbl=play())
[ "isobel@it-usa-vx1829.ausoff.indeed.net" ]
isobel@it-usa-vx1829.ausoff.indeed.net
764dad4bebed9b74114d693b357975a9c289fe30
08f82b31a313abaffd314033716bfb815275e511
/crescent/apps/api/routers.py
e3f71d6e0fc9590f2d7fe1fd3c4fbd48615198f2
[]
no_license
AkashiAkatsuki/Crescent2
fa07c7597f99ca1f540b758ed4c3e85509cd9dfe
d81334f9f68f6d901d288b103423bdeb3a8fdee6
refs/heads/develop
2023-03-10T21:35:03.598673
2021-03-01T12:31:17
2021-03-01T12:31:17
272,476,208
0
0
null
2021-02-21T01:15:46
2020-06-15T15:31:27
Python
UTF-8
Python
false
false
1,492
py
from apps.api.modules.general import pop_unknown_words as _pop_unknown_words from apps.api.modules.markov import MarkovModel from apps.api.schemas import Context, Contexts, PopUnknownWordsOption from django.http import JsonResponse from fastapi import APIRouter router = APIRouter() @router.get("/") def index(): ...
[ "4kashi4katsuki@gmail.com" ]
4kashi4katsuki@gmail.com
0e19bd2adb6b64eded7150142388630ebcc0c7f7
911f212d39dd50db925c66cd0b139d9be6414983
/backend/base/urls/order_urls.py
8f94c74d021c71d4a8a6a3c32225d9172eb6b258
[]
no_license
harish445/ProShop-rishi
0868e9b6fd1c9333226784ef9543a9de948347a3
c67a69dcf9c6627d343eb98f0f58ed27182cb107
refs/heads/master
2023-06-23T12:14:31.354545
2021-07-14T04:35:30
2021-07-14T04:35:30
385,622,703
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from django.urls import path from base.views import order_views as views urlpatterns = [ path('', views.getOrders, name='orders'), path('add/', views.addOrderItems, name='orders-add'), path('myorders/', views.getMyOrders, name='myorders'), path('<str:pk>/deliver/', views.updateOrderToDelivered, name=...
[ "harishthakur4455@gmail.com" ]
harishthakur4455@gmail.com
9c964c959fb938f654a4133c659db1fd1c195fa9
db563cd2555e1d4fcf549954ee040e9e41840df5
/wider_testing.py
8b30ea769ec955c0a13c27f62e4cc55a535d5404
[]
no_license
chengfeng0714/imbalanced_learning
8e1ab0c1ae29b9a0190a7d03bbad0a977e530502
cb08dd72f1cb133978b74846cf56f384243b93e8
refs/heads/master
2021-09-22T01:34:23.578263
2018-09-04T22:38:30
2018-09-04T22:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,777
py
from models import getResNet, get_fsr from mxnet import nd from utilities import get_iterators from attention import attention_net_trainer from evaluation import evaluate_mAP from utilities import prettyfloat import numpy as np from scipy.special import expit def test(args, ctx): print('Testing Performance') ...
[ "nsarafia@central.uh.edu" ]
nsarafia@central.uh.edu
69a4a791d80c9f9ff601135d6fcd848e7f004af3
c7990d86a5c09fdaa8f01186b4a10d3c283efa3e
/Technowledge_World/Technowledge_World/blog/urls.py
f629092c465a646824058f2af2ecd2c446860222
[]
no_license
umpatel2618/Internship_Projects
752672f1ee96ae11168b2b27c5e0fc49928a86f4
83628b0f89e25d19ba38b2276a67d25d74362f0c
refs/heads/master
2022-12-17T00:17:16.137104
2020-02-24T07:56:47
2020-02-24T07:56:47
239,448,470
0
0
null
2022-12-08T01:23:31
2020-02-10T07:03:41
Python
UTF-8
Python
false
false
664
py
from django.urls import path from .views import PostListView,PostDetailView,PostCreateView,PostUpdateView,PostDeleteView,UserPostListView from . import views urlpatterns = [ path('',PostListView.as_view(), name="blog-home"), path('user/<str:username>',UserPostListView.as_view(), name="user-posts"), path('...
[ "umpatel1895@gmail.com" ]
umpatel1895@gmail.com
f3383de35b40da226d82427bdec5f197e139fca8
2934b8712fab2a7f1a9dd2e924c1a0ff481c852c
/code/python/Reference_Template/backend/neural_complete.py
f5932ec70353008d6a3a58a3bb7f03282859d429
[]
no_license
messj-0508/webdev_work
29a122b939f6185c74ca27ea53fe35702b8cbd27
7587ec7f9e80be9e789198db591c1a445532bfd2
refs/heads/master
2022-12-18T03:51:01.991678
2019-06-24T11:49:21
2019-06-24T11:49:21
174,148,327
0
0
null
2022-12-06T22:17:47
2019-03-06T13:15:09
HTML
UTF-8
Python
false
false
2,344
py
import just from encoder_decoder import TextEncoderDecoder, text_tokenize from model import LSTMBase TRAINING_TEST_CASES = ["from keras.layers import"] # 获取数据集列表 def get_data(): return list(just.multi_read("data/*.py").values()) # 训练函数 def train(ted, model_name): # 创建基础模型 lb = LSTMBase(model_name, ted)...
[ "464306924@qq.com" ]
464306924@qq.com
42ef36337773564b505ce6de80546070fcc06111
8cd0dcbec5c74ba0d4acd42db35e7a500c2479ff
/SourceCode/Python/Contest/01093. Statistics from a Large Sample.py
339ba737f714a75f42635d47efa84138ec3e1f60
[]
no_license
roger6blog/LeetCode
b6adb49dafb1622041e46d27054bc2c20e4fe58e
2d5fa4cd696d5035ea8859befeadc5cc436959c9
refs/heads/master
2022-06-06T03:37:33.196630
2022-04-05T08:39:29
2022-04-05T08:39:29
136,396,653
0
0
null
null
null
null
UTF-8
Python
false
false
5,009
py
import operator class Solution(object): def sampleStats(self, count): """ :type count: List[int] :rtype: List[float] """ def get_median(count_new, total): curr = 0 half = total / 2 for k, v in enumerate(count_new): curr +=...
[ "roger@macos.com" ]
roger@macos.com
74104b452e8cd41e68511e71935646368f97a602
17f3568e0be991636501970fb76c4c53a71ab38d
/opsgenie_sdk/api/alert/list_alert_notes_response_all_of.py
99f419396432078c721f4f07e3574078810826d8
[ "Apache-2.0" ]
permissive
jkinred/opsgenie-python-sdk
7b79ed8c7518de117887e6b76a3fbb5800b94020
69bbd671d2257c6c3ab2f3f113cb62bd1a941c02
refs/heads/master
2020-07-10T00:24:19.583708
2019-08-24T06:35:31
2019-08-24T06:35:31
204,118,572
0
0
NOASSERTION
2019-08-24T06:29:25
2019-08-24T06:29:24
null
UTF-8
Python
false
false
3,739
py
# coding: utf-8 """ Python SDK for Opsgenie REST API Python SDK for Opsgenie REST API # noqa: E501 The version of the OpenAPI document: 2.0.0 Contact: support@opsgenie.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class ListAlertNotesR...
[ "zafer@opsgenie.com" ]
zafer@opsgenie.com
a6d9a76857441e05622954ce42b1269b95d379d1
83efa0dfe22cd6cc01fb561ba2e79166574d580c
/content/migrations/0025_update_search_text.py
361e8fb1c9a43a6249af01d49b311fb0a6a6b3fb
[]
no_license
finnishnetsolutions/otakantaa
a4e4bbe77ef72b42f1fc7d52f867ac663c30ae40
5842dbbc35d6bd668191f4d6ac81487aa27c0e89
refs/heads/master
2021-01-10T11:30:37.702009
2016-05-06T13:36:54
2016-05-06T13:36:54
55,126,662
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from otakantaa.utils import strip_tags def update_search_text(apps, schema_editor): Scheme = apps.get_model('content', 'Scheme') schemes = Scheme.objects.all() for s in schemes: s.search_text...
[ "erno@fns.fi" ]
erno@fns.fi
0285f2ee7927c0ba474334d83b51af53d9962693
a6a2515e0caaa39b500ba82df7cff9af83c8804b
/myapp/migrations/0046_auto_20180512_0111.py
37a8c06c63c54dcde92b23deccfde79eae6ddc54
[]
no_license
suyh1988/db_platform_master_ui
c9b4d037dd53e62cbd3006abb0d058457e5345cc
c5fec3e510b41662504449f7ba396f8e15e6f16e
refs/heads/master
2021-10-16T17:55:40.001561
2019-02-12T11:37:03
2019-02-12T11:37:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0045_mysql_check_mysql_hosts'), ] operations = [ migrations.RenameField( model_name='mysql_check', ...
[ "30540178+yuerl@users.noreply.github.com" ]
30540178+yuerl@users.noreply.github.com
28d757261b5d9e4a891e17ece4d57ba395c7bc10
76192480d7469e3d7f6ac8d8bbc3334445e5fddc
/splendor/schema/__init__.py
c6f3595b799b7af7e53f6708f7ec3f0db26acd82
[]
no_license
forgeworks/splendor
b7d383a154bf72701a00d005f9aafbd3e90a6b30
f99d66b76971f318637944a8ce5921367ee4aa21
refs/heads/master
2023-05-12T03:07:17.860147
2020-04-03T17:38:55
2020-04-03T17:38:55
155,748,967
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
from .native import * from .fields import * from .base import ConstraintFailure
[ "deadwisdom@gmail.com" ]
deadwisdom@gmail.com
2463ea3e6ec5f9dc3b198d1f3f712c43947f06db
9302dcbaf86fa360b03520d47f607df96521516d
/202009-1.py
5031db439a4e83d794418eb26d85b228cfcd29a7
[]
no_license
Accelerator950113/Solution_For_CCF_CSP
b8b2324d0a94e8f21b0003c22f31b7f80d3f64d4
6a328d528bd32acaa9e81939f3c4005e59ac13a4
refs/heads/main
2023-04-02T23:19:45.156120
2021-04-17T04:11:40
2021-04-17T04:11:40
358,781,559
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
[n, X, Y] = [int(_) for _ in input().split(' ')] A = [] for i in range(n) : [x, y] = [int(_) for _ in input().split(' ')] A.append(((x-X)**2+(y-Y)**2, i+1)) A.sort() print(A[0][1]) print(A[1][1]) print(A[2][1])
[ "noreply@github.com" ]
noreply@github.com
33e518d58f6186da20166aca3d30f564839e05cd
3d2f58ceef6fcb281e5459a224cf0ebb5b301aa9
/v1api/routes.py
20c8aa99239a2e9c5204bb176247ab1c60eff532
[]
no_license
atishn/hackathon-in-between
2267eccace7063ae89fa60ee7497bfa1f151500e
d5eb26f18f0b509ffa0ab673401c526752b0c620
refs/heads/master
2021-04-30T12:16:39.047820
2018-02-12T16:30:15
2018-02-12T16:30:15
121,270,784
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
import handlers import webapp2 app = webapp2.WSGIApplication([ webapp2.Route('/api/v1/create-event', handler=handlers.CreateEventHandler), webapp2.Route('/api/v1/event-status', handler=handlers.EventStatusHandler), webapp2.Route('/api/v1/get-event-setup', handler=handlers.GetEventSetupHandler), webapp...
[ "atish@atish.info" ]
atish@atish.info
f672d86438ba0b5915fbeb66e0f1ce91c0d0bcac
e8274f167fd219ef78241ba8ea89e5d5875ed794
/cloud/swift/build/scripts-2.7/swift-object-server
228172009d40b2bdbe0fcd25681a2c823f476276
[ "Apache-2.0" ]
permissive
virt2x/folsomCloud
02db0147f7e0f2ab0375faf4f36ca08272084152
e6fd612dd77f35a72739cf4d4750e9795c0fa508
refs/heads/master
2021-01-01T17:26:28.405651
2013-10-17T12:36:04
2013-10-17T12:36:04
13,647,787
0
1
null
2020-07-24T08:25:22
2013-10-17T12:10:24
Python
UTF-8
Python
false
false
832
#!/usr/bin/python # Copyright (c) 2010-2012 OpenStack, LLC. # # 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...
[ "quan.xu@intel.com" ]
quan.xu@intel.com
02f14f760f96ab9724a6dac403a19358ec93b6e9
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/nanachi_20200619190301.py
32648dd56a93b5271d816872d3e65fa8b5ce3edd
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
404
py
import telebot bot = telebot.TeleBot('776550937:AAELEr0c3H6dM-9QnlDD-0Q0Fcd65pPyAiM') @bot.message_handler(content_types=['text']) def send_text(message): if message.text[0].lower() == "н" and check_all: bot.send_message(message.chat.id, message.text + message.text[1:] ) bot.polling() def check_all(...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
4c594d6f5cae7624d36ba0ea119a82296215d30f
0b200cc28df4b6a58998be1a30c21c75f658fd45
/Domon/lp_2018_03_06_00/HotDog.py
de08fe84ba59fc05020c6da1bce6ba7f557a8480
[]
no_license
liupengzhouyi/JetBrainsPyCharm_code
0321e5a2eda505784bb280e4b77ca1b5dedf5c60
29a140577122346e13d07898a9416e3f6624a777
refs/heads/master
2022-10-11T17:48:44.151344
2018-06-15T10:31:53
2018-06-15T10:31:53
137,474,871
0
1
null
2022-10-07T09:17:15
2018-06-15T10:30:36
Python
UTF-8
Python
false
false
345
py
#usr/bin/python3.6 #coding: UTF-8 #fileName: HotDog.py class HotDog: def __init__(self, monny, kg, time): self.monny = monny self.kg = kg self.time = time def __str__(self): str = "这个hotdog买" + self.monny + "元,重量:" + self.kg + "Kg, 生产日期:" + self.time + "." return str
[ "37412816+liupengzhouyi@users.noreply.github.com" ]
37412816+liupengzhouyi@users.noreply.github.com
48e5c4fba51d39723d64483f007d0ef4b8c47005
0a89d2c01949b96d5b40b1b41aba39be5d46bc77
/homeassistant/components/group/cover.py
c1825211433716fa4c0d2c99a40c26574bcccf63
[ "Apache-2.0" ]
permissive
erangaj/home-assistant
c318c8ec052e912aa551cf7f4eef6f9e08666c8d
4e39c643a36b2be12b0fe13f047886c5f6f5c471
refs/heads/dev
2020-04-30T12:27:39.347655
2019-03-30T01:06:52
2019-03-30T01:06:52
176,826,994
0
1
Apache-2.0
2019-06-19T07:45:19
2019-03-20T22:31:06
Python
UTF-8
Python
false
false
10,159
py
""" This platform allows several cover to be grouped into one cover. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/cover.group/ """ import logging import voluptuous as vol from homeassistant.const import ( ATTR_ASSUMED_STATE, ATTR_ENTITY_ID, ATTR_...
[ "noreply@github.com" ]
noreply@github.com
bf3db0cec63be8c811c677ef82ada20aa6592901
55d560fe6678a3edc9232ef14de8fafd7b7ece12
/libs/python/test/data_members.py
37bef0d7048313adce6da1d258338609b84bedc1
[ "BSL-1.0" ]
permissive
stardog-union/boost
ec3abeeef1b45389228df031bf25b470d3d123c5
caa4a540db892caa92e5346e0094c63dea51cbfb
refs/heads/stardog/develop
2021-06-25T02:15:10.697006
2020-11-17T19:50:35
2020-11-17T19:50:35
148,681,713
0
0
BSL-1.0
2020-11-17T19:50:36
2018-09-13T18:38:54
C++
UTF-8
Python
false
false
2,467
py
# Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ''' >>> from data_members_ext import * ---- Test static data members --- >>> v = Var('slim shady') >>> Var.ro2a.x ...
[ "james.pack@stardog.com" ]
james.pack@stardog.com
fc0d25830c60ada4c3c30ac76d6df747ce35bebe
0cd0ffbdc849b265e8bbeb2369d6a320a21ec592
/plugins/SettingsColorMapping.py
b86b8190d6d33665ef1eda5d4d48ac30147a1e2a
[]
no_license
ktskhai/vb25
7d0253d217e125036f35dd0d05fc05dbf9bc4800
c81ba1506d12eab1a6b1536b5882aa9aa8589ae3
refs/heads/master
2021-01-23T01:01:11.833095
2013-12-03T15:01:02
2013-12-03T15:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,449
py
''' V-Ray/Blender http://vray.cgdo.ru Author: Andrey M. Izrantsev (aka bdancer) E-Mail: izrantsev@cgdo.ru This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Li...
[ "izrantsev@gmail.com" ]
izrantsev@gmail.com
be465242d5efc53dd8b6a43518eab225759b4c15
b509b55e6ef3d2d3169a4c3d750130781ef13885
/examples/sshScan.py
5147e77bfa634256e0ef07403556690c3fd0d50f
[]
no_license
JZ-XT/Scan-Works
48e723cdc993a8c8e22918496a424ce7c7057e82
570551c2210b2eb93e6b1f308297066066c8cf40
refs/heads/master
2021-06-20T23:50:32.682253
2017-08-14T21:56:47
2017-08-14T21:56:47
100,312,711
0
0
null
2017-08-14T21:58:41
2017-08-14T21:58:41
null
UTF-8
Python
false
false
352
py
import layer4 while (True): ip = layer4.gen() if (layer4.hostAlive(ip)): if (layer4.portCheck(ip, 22)): print '[+] SSH Is Running On\t:\t'+ip with open("sshOpen.txt", "a") as myfile: myfile.write(ip + '\n') else: print '[-] SSH Not Running on\...
[ "noreply@github.com" ]
noreply@github.com
736f785df9def8088dea0aae9dabe82b16a9740c
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_10/models/file_system_clients_response.py
e1eec856f1c72463b8a3660b8bccb67ac5c2d070
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,213
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.10, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.10 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import t...
[ "azaman@purestorage.com" ]
azaman@purestorage.com
6c6398e6a9d06fd797ff228fa347b3c33a5778e9
1f864c713895d127c017d2aa81c77c7a179d9616
/model/agent_dqn_cartpole.py
517c351df7cc50af5c46f596af288f7f5e43d249
[]
no_license
avcordaro/animated-reinforcement-learning
e5fd1e5151b8386fdfdbba5450cdb1fae90fbd55
c48edac2090945a81be02421dd44dc2e0883bf97
refs/heads/master
2022-08-23T20:34:32.259675
2021-01-19T21:56:22
2021-01-19T21:56:22
254,154,215
0
1
null
2022-06-22T01:41:56
2020-04-08T17:20:55
Python
UTF-8
Python
false
false
5,357
py
from model.agent import Agent import torch import collections import numpy as np import torch.nn as nn class AgentDQNCartPole(Agent): """ This Agent class implements the Deep Q-Networks algorithm, to solve the problem of the given environment. This is a deep learning algorithm which uses neural networks f...
[ "zdac051@live.rhul.ac.uk" ]
zdac051@live.rhul.ac.uk
c747a958e62fe8af848ebf95ee593021b8fc9fee
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/462/usersdata/308/105022/submittedfiles/avenida.py
d5a90601513ac9551b6535453d1dd15ef5a5326f
[]
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
263
py
# -*- coding: utf-8 -*- def inteiro(texto, min, max): valor = int(input(texto)) while min<=valor or valor>=max: valor = int(input(texto)) return valor m = inteiro('Informe a quantidade de quadras no sentido Norte-Sul: ', 2, 1000) print(m)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
30e619504a8e53b06ad30eef53fe4c7f6a958d3d
a4017d0d384e001bb84b242db217f218035574d6
/pir.py
923a0dae5b366932c621ea823fe75ceef8614ba3
[]
no_license
ThomasDerZweifler/pi-motion
456e0c27b93c5d7520dbdc1f9efef07c7c771816
ffbb71a6b044bebc1691999979af8253406bf9ab
refs/heads/master
2022-01-11T21:34:02.607594
2019-04-29T10:14:19
2019-04-29T10:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,270
py
import sys, time, datetime, threading import RPi.GPIO as GPIO class PirThread (threading.Thread): def __init__(self, threadID, name, config, logger, hue): threading.Thread.__init__(self) self.threadID = threadID self.hue = hue self.name = name self.config = config ...
[ "michaeljentsch@Michaels-Air.fritz.box" ]
michaeljentsch@Michaels-Air.fritz.box
fd3441cfd23a3ad35455049cc177621d6465bc9a
e9b34fbf5e05e3f62ccf871d79419c2f611012a3
/spheus.py
1223e3cc9c810b6888599c146667f35641fedbcf
[]
no_license
wickdChromosome/leastSQ_aFC
1377226d0f48669c92ff56c316ab8f9d9a6c4ce3
d13942e52850dc0ad427bb5daa42e5fa979dea2b
refs/heads/master
2020-06-22T07:17:18.536645
2019-07-26T15:42:40
2019-07-26T15:42:40
197,669,230
0
1
null
2019-07-19T00:05:56
2019-07-18T23:25:22
Python
UTF-8
Python
false
false
9,469
py
import pysam import pandas as pd import datetime import numpy as np import os import logging import gzip import argparse import warnings #sub-libs from helpers import printProgressBar as progbar from helpers import intro from parser import get_haplotypes from parser import get_expressions from calcs import nonlin_solv...
[ "bkotis@pejlab.scripps.edu" ]
bkotis@pejlab.scripps.edu