blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
437afe33b6283348caa869919bc2a3282f458467
44ff5bea98876d93cce9d9c4c96d0d0c4a33e7b3
/Implementation/Implementation_B3_2460.py
8845786b8a7fdf0a0daee8382545bda5edbc7063
[]
no_license
jungwoohan72/coding_test
6a0982aed9c563d992e469be5e1766281bbe10fc
17d6d7c825de6ac7300453957489912b6adf6da2
refs/heads/main
2023-07-16T10:29:26.505100
2021-08-30T13:40:01
2021-08-30T13:40:01
384,112,722
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
history = [] for i in range(10): history.append(list(map(int, input().split()))) curr = 0 ans = 0 for out_, in_ in history: curr -= out_ curr += in_ if ans < curr: ans = curr print(ans)
[ "jungwoohan72@kaist.ac.kr" ]
jungwoohan72@kaist.ac.kr
01d827f8a69e98d1591a4d481705d1001bde1a7f
48f8f80d7c08fc167801de78097ec116b9a0e392
/lak.py
e0760187aa47e8a02969db0753b6758858d0cc70
[]
no_license
Lakshaygrvr/-Task
9c59d91a6ac591adfd3094c4c16b5b650b46c68e
9b0d067ddfb599ecc1f836d1a2a44daa6d19c310
refs/heads/master
2022-04-21T23:46:49.090328
2020-04-12T18:04:39
2020-04-12T18:04:39
255,131,136
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
list2 = [12, 14, -95, 3] for num in list2: if num >=0: print(num, end =" ")
[ "noreply@github.com" ]
Lakshaygrvr.noreply@github.com
befc728e9aeb78df4d9d41a1b4e437ba3ab786b6
a092fa8ec913bc1fe0119c68b875c5aeb7045337
/linux/Observers/ObserverBase.py
8cea461c4f1e2ea5bc1da244fd7b67214a2cb1d5
[]
no_license
loserpenguin15/UCSBsketch
1e0275a980893714e0aebf33c74caf5aaa31c491
92f1e146b79d32c7938c0b8b92277dedde363e3b
refs/heads/master
2021-01-20T07:54:06.139833
2011-10-04T16:54:11
2011-10-04T16:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,761
py
""" filename: ObserverBase.py description: Doctest Examples: >>> class MyVisualizer(Visualizer): ... def drawAnno(self,anno): ... pass ... >>> m = MyVisualizer(Annotation) >>> class MyCollector(Collector): ... def mergeCollections(self,anno): ... pass ... >>> class Annotation2(Annot...
[ "jbrowne@cs.ucsb.edu" ]
jbrowne@cs.ucsb.edu
d586c956770379709d8f8bc14fc77f874f8058ba
6fa4a3ef13f7418d660daea829649124c130599c
/dianping_robot/pipelines.py
41ec30fc0dd749f3661868f7169e84aac1bbef14
[]
no_license
god99me/dianping_robot
802ad530d12020fc1cd5b78853c2626d13b3e6e9
a3c6de20f90cd6389c59ddcbcc2656c7c91fff1c
refs/heads/master
2020-05-30T07:13:43.933927
2017-04-28T17:02:58
2017-04-28T17:02:58
69,142,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# -*- coding: utf-8 -*- import json from scrapy.exceptions import DropItem # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class DianpingRobotPipeline(object): def process_item(self, item, spide...
[ "343936465@qq.com" ]
343936465@qq.com
f1050dd00829735601b13a46b8123ff00a1457bb
77d013e5d31e352c2a3f013739b61758cea79822
/Actions/RestoreHP.py
1404db901ce35ccb1f8f509254ff5d13566456e7
[]
no_license
TAEB/Eeek
27ab4d5a4cdc46a94e02e67f75dd7aed93e899fd
62c8e8a729a10333a4545f3168dd94f2946d7871
refs/heads/master
2020-05-21T11:56:14.102703
2013-06-26T23:17:52
2013-06-26T23:17:52
10,981,810
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
from Kernel import * class RestoreHP: def __init__(self): pass def can(self): if Kernel.instance.Hero.curhp <= (Kernel.instance.Hero.maxhp/2): return True def execute(self): Kernel.instance.log("Searching for 10 turns becuase my HP is low") Kernel.instance.Hero...
[ "code@sartak.org" ]
code@sartak.org
01dca87891811dc9c80df4ec667f35a0d253a385
2d997384a86f0d9c0cdb80a1141908abfdf674cc
/ML_homework8/task.py
3a7d666193d64500051f875d33be8500c66db5a8
[]
no_license
Alice-Avetisyan/Machine_Learning
1ddc91fad066f3abf0457d036aa783f0fc40a46f
9a0cc83c6d90ef58703a383f066ef857bb124334
refs/heads/master
2021-01-16T09:07:20.435898
2020-06-18T08:44:17
2020-06-18T08:44:17
243,054,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
from sklearn.datasets import make_classification # Generate a random n-class classification problem X, y = make_classification(100, 3, 2, 1, class_sep=0.5) # 2 of 3 features are informative and 1 is redundant # 100 -> number of samples/rows, # 3 -> number of features/columns, # 2 -> number of informative features...
[ "noreply@github.com" ]
Alice-Avetisyan.noreply@github.com
8e34a2e597940d4b033ab178c33dd25722a67540
fc25d8a6d20b2b9dd78df754b53067e4a6c255d8
/step01a_seaIce_monthlyaveraging_RCP45.py
eaf54dd5e6d74de9ac04cfb70b5d4a8a03153cd3
[]
no_license
weilin2018/cesmEnsembleSeaIce
5195bbec3b4c717d4a990e814b0a8aefa1b46857
7dfeac61d421951560b1562c107ffd3b72a292c9
refs/heads/master
2020-09-04T19:31:53.099776
2015-09-29T17:33:19
2015-09-29T17:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,864
py
# code written by K. Barnhart in 2014 and 2015 in support of # Barnhart et al., TITLE, YEAR # # this code represents the first step in analysing the CESMLE sea ice output # it creates monthly averages of the sea ice concentration and sea ice extent. # # to run it, please verify that all the modules listed below are i...
[ "katy.barnhart@gmail.com" ]
katy.barnhart@gmail.com
373a27235958fdefb11425b7fd3ab72a084d1118
e880b714a62d25d51a02a20e7fe725e050ba8012
/Challenge/app.py
c60f9820780ff3bd7d759cc05553c21eb2ce8fba
[]
no_license
kaileymd/Mission-to-Mars
8408902787f2e3644b5c1fc607231ba5cf2a4d21
d1b0fc695378835a2e1eb350dec7c7bc5a15afd9
refs/heads/main
2023-04-26T00:16:56.031101
2021-05-10T00:10:43
2021-05-10T00:10:43
363,551,378
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
#import dependencies from flask import Flask, render_template, redirect, url_for from flask_pymongo import PyMongo import scraping #set up Flask app = Flask(__name__) #use flask_pymongo to set up mongo connection app.config["MONGO_URI"] = "mongodb://localhost:27017/mars_app" mongo = PyMongo(app) #set up Flask routes...
[ "kaileymichelledavis@gmail.com" ]
kaileymichelledavis@gmail.com
4b878072771083675c1ef9fd929b431bcf3ce12b
1e516d45c6462aefdd468c4a725fa8ac1f096ea0
/AlumniPortal/manage.py
6de3703531f6b6e010be92137720a1578f6ede0b
[]
no_license
prateek-iiitd/IIITDAlumniPortal
04ddae57618679cc02c119b0fc49652e1f1ad49f
1e90935a6cd52e892e9acd3ba689e0a4066ba55f
refs/heads/master
2020-09-24T11:38:23.191730
2015-06-10T23:12:02
2015-06-10T23:12:02
23,381,379
1
1
null
null
null
null
UTF-8
Python
false
false
259
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "AlumniPortal.settings_dev") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "prateek11077@iiitd.ac.in" ]
prateek11077@iiitd.ac.in
4840db2601751c36e94afdfc88d606f8aa5ae89e
5f47b5f882cd4111d877d153cbef4f43c74e012f
/index/urls.py
e6e2b9c4f634d8bed8568d2458f2f11a9df7a05c
[]
no_license
Zeelcon/music
99e7f9334fa66df8db2f913ffec8f6204b22c677
3eebab4ace8d3cdeb2dfbd4710ef5610ff997494
refs/heads/master
2022-06-06T19:16:55.092617
2020-05-07T18:41:38
2020-05-07T18:41:38
259,558,288
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
from django.urls import path from .views import * from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('', indexView, name='index'), ]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)
[ "15217458846@163.com" ]
15217458846@163.com
5b6c295ae5563e56ae9eebb3ff72abaa78917abe
eff669b78809d6b3ce479402e8a301bb0e458929
/apps/goods/models.py
7664808629988afe44280fef4b67f2b17e901157
[]
no_license
tsozh/FreshShop-1
59f31dfe8f1a56c837cccadc33c3aefb18841a13
71650ad663624c4419e89923ef5e9e2003c9ddc3
refs/heads/master
2020-03-21T20:09:58.258575
2018-04-19T12:37:29
2018-04-19T12:37:29
138,990,989
1
0
null
2018-06-28T08:41:29
2018-06-28T08:41:28
null
UTF-8
Python
false
false
5,312
py
from datetime import datetime from django.db import models from DjangoUeditor.models import UEditorField # Create your models here. class GoodsCategory(models.Model): CATEGORY_TYPE = ( (1, '一级类'), (2, '二级类'), (3, '三级类') ) name = models.CharField(max_length=20, default='', verbose...
[ "sp726129246@gmail.com" ]
sp726129246@gmail.com
922a6e467dc879c0f3802ab8435d16806647e508
3cff59d750c02bf6cc0908eacfdee85272b21a36
/bigquery/samples/update_dataset_description.py
70be80b7507e448235ebe87355fcb8f9df7bf7c2
[ "Apache-2.0" ]
permissive
nthon/google-cloud-python
f42036035805e7fd83b53ec1702da56406fc87a6
fc4590bcceac8ee154556fd1b6c7d436be8ea53c
refs/heads/master
2022-01-08T01:29:15.162175
2019-06-13T19:32:10
2019-06-13T19:32:10
191,901,204
1
0
Apache-2.0
2019-06-14T07:58:00
2019-06-14T07:58:00
null
UTF-8
Python
false
false
1,350
py
# Copyright 2019 Google 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
nthon.noreply@github.com
9e30f6dd5e43574bbc8c96b3976c5ed164f00864
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/vehicle_systems/components/__init__.py
057145a5b192b33ecbef57d0bc595f52f45d7640
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
132
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/vehicle_systems/components/__init__.py pass
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
ea26519fb92e19680ae2bc0f914b45e5e8ff0384
c3f85fb71b61856aabbc2b30c92c494809b78395
/html.py
e9ba066d7ff9ae87ff632cd7eb167a693468151d
[]
no_license
fabianmichaelis/pythonspielerein
a874d957aded9983710bcf3a71e9a0433edf23cc
23a5080686dceb1c8a5a952a9edeb4cc604da349
refs/heads/master
2020-05-31T14:51:57.419617
2014-01-10T13:17:58
2014-01-10T13:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
import urllib2 from bs4 import BeautifulSoup page = urllib2.urlopen('http://www.google.de/') soup = BeautifulSoup(page) #print(soup) print(soup.title) for link in soup.find_all('a'): print(link.get('href'))
[ "info@fabianmichaelis.de" ]
info@fabianmichaelis.de
10ebb5a33de3a78479eeeeab0075a4ed9b9b5b16
bcb56cc126ea1885eb5ecc920884e2e331def045
/Part B/Letter.py
5536de9080655ae9b4a8c2bdfc7f925462a11551
[]
no_license
priyanshkedia04/Codeforces-Solutions
2d11cb7b8329fe658f983b7212c17fc89fd784f0
a5197c633bf4c3238f48bfb5b308144c2ffba473
refs/heads/main
2023-06-06T13:10:13.787843
2021-07-01T14:06:52
2021-07-01T14:06:52
382,000,707
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from collections import Counter s1 = dict(Counter(list(input()))) s2 = dict(Counter(list(input()))) count = 0 if ' ' in s2: del s2[' '] for i in s2: if i in s1 and i: if s1[i] >= s2[i]: count += 1 if count == len(s2): print("YES") else: print("NO")
[ "noreply@github.com" ]
priyanshkedia04.noreply@github.com
cd516af85e41b530c393daa6389eb10fe040fd0f
47c740d7f980ecb6d3bfa5fcaf36f6cc3dd8310e
/Project1c/InstTable.py
5384344625bfb2587225850758035f202af43e06
[]
no_license
blackbeaver37/2020_SystemProgramming
df9e0d78c69361bb719f269fd0eab4fcede848ef
79a238a698c97494ea3258f746f72a5daf1efdb7
refs/heads/master
2023-04-21T07:48:46.911823
2021-04-28T09:14:30
2021-04-28T09:14:30
265,632,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,576
py
class InstTable: # inst.data 파일을 불러와 저장하는 공간 instMap = dict() # 클래스 초기화. 파싱을 동시에 처리한다. # @param instFile : instuction에 대한 명세가 저장된 파일 이름 def __init__(self, instFile): self.openFile(instFile) # 입력받은 이름의 파일을 열고 해당 내용을 파싱하여 instMap에 저장한다. def openFile(self, fileName): ...
[ "noreply@github.com" ]
blackbeaver37.noreply@github.com
476780ccd527b04fd47d9c54b6442042f5ce3c3b
c7f7477fc9b1c2cc0f29135ddacf6ca4a2263132
/ohr/config/settings/common.py
04a658ea2127236ed482b2fed50759502f43f3b2
[ "BSD-3-Clause" ]
permissive
gipi/OHR
2a6270f3adfdf9f174e1a74b21d2a2c6002df062
14a8cf143c74aa71af3331e6945bbe839d6fbbd8
refs/heads/master
2020-12-24T06:14:05.041866
2016-07-26T14:13:45
2016-07-26T14:13:45
42,853,732
0
0
null
null
null
null
UTF-8
Python
false
false
9,806
py
# -*- coding: utf-8 -*- """ Django settings for Open Hardware Repository project. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ """ from __future__ import absolute_im...
[ "gianluca.pacchiella@ktln2.org" ]
gianluca.pacchiella@ktln2.org
e4a5976bee9335018a7918727925e58e25fcdaa3
4345278aecf350ccfe5c529c63ad534b8ab98e95
/experiment/FlexibleImplementation/experiments on smallpresent-4/SMALLPESENT-4_T_variable_a_variable_phi_of_increasing_size_with_replacement/T_variable_a_variable_phi_increasing_size_round_15.py
596a7993298f7758782155f4de80df17bf65fc37
[]
no_license
mdmohsinalikhan/MastersThesis
fc1caa1565f60a54d1f06edeab0a22331d4e8112
5ac4a06b20491c7a7e6dec2dd7113f83550a6724
refs/heads/master
2020-12-24T06:24:18.275156
2016-11-10T17:02:32
2016-11-10T17:02:32
73,401,475
1
0
null
null
null
null
UTF-8
Python
false
false
6,220
py
import numpy as np import matplotlib.pyplot as plt import math t = [5,6,7,8,9,10,11,12] #Creating the list. Logorithm of sample size. Will be plotted in x-axist_0 = [28.000000,35.000000,28.000000,33.875000,21.937500,26.468750,25.031250,35.648438] t_1 = [12.000000,19.000000,14.750000,8.750000,16.562500,13.281250,16....
[ "mdmkhan@dhcp-asv-72.helsinki.fi" ]
mdmkhan@dhcp-asv-72.helsinki.fi
cbd95a08af52867605dec93bb7e52c3b596fa13f
4cc0252f4b7c4a41e1749f3f7227fdf30fc50dd9
/main_app/migrations/0003_auto_20200624_0305.py
d82516da9f33d7d209a6bfa38ed5f7601d42b409
[]
no_license
jsohnfile/Issues-That-Matter
90f05721256d08471fdbcc84a1a61a5c2e7b10ee
209d494c708374ab6d37c97e17723796e567fe88
refs/heads/master
2022-11-13T03:11:49.003043
2020-06-25T22:58:56
2020-06-25T22:58:56
274,191,967
0
0
null
2020-06-22T16:42:25
2020-06-22T16:42:25
null
UTF-8
Python
false
false
399
py
# Generated by Django 3.0.5 on 2020-06-24 03:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0002_auto_20200623_2225'), ] operations = [ migrations.AlterField( model_name='resource', name='og_descr...
[ "macuser@Mac-User.local" ]
macuser@Mac-User.local
b9bae1d7f91bf21ba8f7f0aec349e45fa46594db
f28bf55c1d811b4dbdc370c6f7e949564b3b6bae
/maggieapp/serializers.py
d111355dc258a248371cf7e9027db03cc4db70d6
[]
no_license
ericdai/Pethome
6e205bb17c856b00c04dcb7e58f87babad82e2a3
5f1ac2e4e6f4125acf837c5c2999ece756c61c66
refs/heads/master
2022-10-17T04:13:35.869229
2019-07-17T07:18:18
2019-07-17T07:18:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,114
py
from django.core.cache import caches from rest_framework import serializers from rest_framework.exceptions import ValidationError from common.models import User, Role, UserRole, CatDisease, Medicine, DogDisease from maggieapp.utils import USERNAME_PATTERN, EMAIL_PATTERN, TEL_PATTERN, to_md5_hex, PASSWORD_PATTERN cla...
[ "2412555159@qq.com" ]
2412555159@qq.com
29b5f00ae463653e1e8860432fabef8e89d78d2d
e3308bebae862c1da8d218a56e50ac980c589e38
/DecisionTree.py
0b2b60a633d43761b9891565bb50772b601a8c39
[]
no_license
ChickenBreakfast/Titanic-AI-2017
170a4aa571a9a3a2648c8355392d14306b7dab7a
0f2ae3cd13bd176ad80cc67c266d488dedb6da6f
refs/heads/master
2020-03-22T08:01:22.155773
2018-07-04T15:46:53
2018-07-04T15:46:53
139,739,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,820
py
import numpy as np # 导入pandas用于数据分析。 import pandas as pd train_data = pd.read_csv('data/train.csv') test_data= pd.read_csv('data/test.csv') test_data['Survived']=0 # combined_train_test=train_data.append(test_data) #查看字段属性有哪些 # train_data.info() # test_data.info() #机器学习有一个不太被初学者重视,并且耗时,但是十分重要的一环,特征的选择...
[ "noreply@github.com" ]
ChickenBreakfast.noreply@github.com
a3e27e2adfe18ab3cc1701b83a04e19c80dcd52b
80973ca24a1ad29f987cc5c31c94fbf53a24eef0
/setup.py
cc143f950b1a26ac1dbc3f4dd05ae5d9eb09c691
[ "Apache-2.0" ]
permissive
stephb9959/pybalboa
54ebd38553d29884d537f49f076f82fad3d997b8
fc88084c06137d153429dfc5b018d1e3f62b2f9b
refs/heads/master
2020-11-27T17:21:55.408979
2019-12-21T17:11:39
2019-12-21T17:11:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='pybalboa', version='0.2', description='Module to communicate with a Balboa spa wifi adapter', long_description='Module to communicate with a Balboa spa wifi adapter', url='https:/...
[ "root@garbled.net" ]
root@garbled.net
dab8b347c67f8225bb55fa6570fe28846ab87f79
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/101/usersdata/227/49714/submittedfiles/av1_m3.py
24617831cbcfc8ae60100af176c4d6c910776e9e
[]
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
178
py
# -*- coding: utf-8 -*- import math m=int(input('digite o número de termos:')) a=4 pi=0 for i in range(2,m+1,2): b=i+1 c=b+1 pi=3+(a/(i*b*c) print('%.6d'%pi)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f1089e8283bf6ef3416226ce279c6d214d5d825b
5ff12b8402f45a945ef1d33235ecb9c85fb20fe1
/assignment2/cs231n/classifiers/fc_net.py
86b2053377b423a96411375ec289b26feb92ac93
[ "MIT" ]
permissive
strategist922/cs231n
6cc5c82d6df210828f1a3004c964941ae2775fd1
592aa76417341728759900b580141df333a5b46c
refs/heads/master
2020-04-01T09:17:02.570479
2018-08-08T05:32:16
2018-08-08T05:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,156
py
from builtins import range from builtins import object import numpy as np from cs231n.layers import * from cs231n.layer_utils import * class TwoLayerNet(object): """ A two-layer fully-connected neural network with ReLU nonlinearity and softmax loss that uses a modular layer design. We assume an input dim...
[ "sherlockliao01@gmail.com" ]
sherlockliao01@gmail.com
faa73d709c2e0e1f15d70e64fb2dd202e389c91c
047da0d824ab7f2f558b1cc8a147a0f0901949ef
/wave.py
b517bab3557d43a16718970b11980c1f873690ad
[]
no_license
rjwebb/responsive_term
177c51a8d4f284c9987da4f979573f0bb120409f
805fe5afc43d175df40565da613231c45b979680
refs/heads/master
2021-01-12T17:06:43.871627
2016-10-20T22:17:58
2016-10-20T22:17:58
71,508,647
0
0
null
null
null
null
UTF-8
Python
false
false
3,237
py
from __future__ import division import math import os import sys import time class ResponsiveTerminalApplication: i = 0 rows = 80 columns = 50 def __init__(self, fps=30, timeout=float('+inf')): self.quantum = 1 / fps self.timeout = timeout def update_dims(self): o = os.p...
[ "bob.wbb@googlemail.com" ]
bob.wbb@googlemail.com
97c35e072c4cc0cd0979ee5dd7e65d6dd9a56c3c
6d33d1100ffeec7c831a8f74f5ae0a253c80e5dc
/turing_library/__init__.py
f5990f1bfae0f06f1ab69fae20f7e2da39a76397
[]
no_license
webclinic017/turing_trade
6d39aa7f002d9e06957997e5f29641112aadb14f
e2e4d70abdbba27b51783ee8cab9ea1665f2f8d3
refs/heads/master
2023-06-01T22:17:23.988511
2021-06-22T04:40:46
2021-06-22T04:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
from .alice_blue import AliceBlue, TransactionType, OrderType, ProductType, LiveFeedType, Instrument __all__ = ['AliceBlue', 'TransactionType', 'OrderType', 'ProductType', 'LiveFeedType', 'Instrument']
[ "sai.kiran0901@gmail.com" ]
sai.kiran0901@gmail.com
2d87cfb2050dc123dda3a9e59dec3db88a7322cd
cf03974cf92b11db7c52d7aec87b4c856feba215
/hungry.py
7a043473d6bca288b13395ad5e69c900846611e1
[]
no_license
kkirankumar9/test
80164594d4f1df97effa3df8b7a19e8f79817c76
166e77e17675bfa873c38ade145aa115a786be55
refs/heads/main
2023-06-21T10:27:55.815853
2021-07-31T13:59:12
2021-07-31T13:59:12
387,144,634
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
i=input("are you hungry") if i=='yes': print("eat pizza") else: print("do work")
[ "you@example.com" ]
you@example.com
c00e81fe9d2d5771eec4201710d185ab21e1154e
31068d3fde12a6c5b6eeb9d11b312b9f91f74871
/inputs/data_gen.py
ffa56fd73a9fbd31f7e47ea147e02445e38aa7c3
[]
no_license
Irlyue/FCN-2.0
4e1114ac1aca37effbf003d8adbb92b235109147
890bc4b3d65f1405489e21686b6dc216f9a18374
refs/heads/master
2020-03-12T04:09:12.246463
2018-08-09T01:56:59
2018-08-09T01:56:59
130,439,021
0
0
null
null
null
null
UTF-8
Python
false
false
6,168
py
import numpy as np import tensorflow as tf from inputs import voc from scipy.misc import imresize class DataGen: def __init__(self, name='NoName'): self.name = name def __repr__(self): return '{}(n_examples={})'.format(self.name, len(self)) def __len__(self): raise NotImplemente...
[ "Irlyue@outlook.com" ]
Irlyue@outlook.com
3c16f4fd4eb2b2ed9e5b192841d2b02fba0a8391
c72de5218b40cbd27c60d13b0969d44aaa8302f3
/expression.py
63c3f49dfc9898d537f3a1feaffdfe976444fd8f
[]
no_license
raghutit/MyProject
5b220d0d39dd513ec9669dab94cfa7481b6397d9
3e864bacb464b19ab25f02bc71fc6afabfb866b0
refs/heads/master
2021-02-14T22:38:09.327399
2020-03-04T09:08:11
2020-03-04T09:08:11
244,841,538
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
n=int(input("Enter the value: ")) def fun(n): y = 1 for i in range(1,20): y = y * n result = 1 / y print("%.3f" %result,end=' ') print("%.3f" %(1/n**i),end=' ') fun(n)
[ "raghvendrakr92@gmail.com" ]
raghvendrakr92@gmail.com
1e8a99b3c001d5967372d533454dcc6c64dc0402
8779f82469c230d9f21c6c256d8f70228be8add8
/sql.py
09f3a5eca3b40a1f1c2f38c1d0a4cc4fcfcb6f40
[]
no_license
sdiazroa/netlearn
64772b44763e16fc76d84dc2a77849e099033085
1ed3b078ef9d5b8fef3e8e6e9393ca29747fa113
refs/heads/main
2023-01-24T10:34:19.627303
2020-12-08T03:43:11
2020-12-08T03:43:11
318,657,922
0
1
null
2020-12-07T00:20:50
2020-12-04T23:22:59
HTML
UTF-8
Python
false
false
270
py
from cs50 import SQL # Create SQL db open("crm.db", "w").close() db = SQL("sqlite:///crm.db") #Create table within database db.execute("CREATE TABLE network (id INTEGER, name TEXT, cohort TEXT, hometown TEXT, past_industry TEXT, goal_industry TEXT, PRIMARY KEY(id))")
[ "bader.lindsay@gmail.com" ]
bader.lindsay@gmail.com
db45e08a17f6c02bff701d617a28020a756d61d6
6dc7535d8f6249b8f9d74dd0f49bfa27d84ae58b
/6_1_simple_fixed-point_iteration.py
8c732b32862947018f52c6413285f034d91a9074
[]
no_license
lyndadream/Numerical_analysis
48dc80332b03ef50107af8d3952b7541062213ff
dbcd85266a12a310aee05bc845ffbaac2faa0cbf
refs/heads/master
2022-11-29T10:58:47.112783
2020-08-01T05:58:08
2020-08-01T05:58:08
280,153,603
0
0
null
2020-07-21T04:20:11
2020-07-16T12:53:39
Python
UTF-8
Python
false
false
617
py
#fixed-point iteration: # f(x)=0 → x=g(x) # x[i+1]=g(x[i]) #use simple fixed-point iteration to locate the root of f(x)=e**(-x)-x #starting with an initial guess of x[0]=0 from numpy import * from pandas import * i=arange(11) x=zeros(11) ea=[' '] et=zeros(11) et_et=[' '] true_value=0.56714329 for n in i: if...
[ "noreply@github.com" ]
lyndadream.noreply@github.com
8de01ef64c3c3adc7120ccccb7a1473d9d12b985
5aa8ba68c04c82eb9bd1431367554487fb3279fd
/client.py
d0adf6f8c47ef87658cb2af1f1bb408bf8b7bfb1
[]
no_license
DushyanthaHerath/python-smpp
0ce9f453c167656271420738a0d7da72cfb03dd9
dd0c1eb06e95373efe03b1cc0019c2a6f36c9cb9
refs/heads/master
2022-12-31T14:28:59.217906
2020-10-17T06:32:03
2020-10-17T06:32:03
304,813,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
import logging import sys import smpplib.gsm import smpplib.client import smpplib.consts # if you want to know what's happening logging.basicConfig(level='DEBUG') # Two parts, UCS2, SMS with UDH parts, encoding_flag, msg_type_flag = smpplib.gsm.make_parts(u'Sample Text\n'*10) client = smpplib.client.Client('172.17....
[ "dushyantha.solomoit@gmail.com" ]
dushyantha.solomoit@gmail.com
464aca6bdb71bea101e69f9172bcaeea0fdf5dee
a485f01fd697721356d4405dfef569c50499d652
/SipMask-mmdetection/configs/sipmask/sipmask++_r101_caffe_fpn_ssd_6x.py
dabccfd91bdc17e15ea79c812b84436a3eeb3192
[ "MIT", "Apache-2.0" ]
permissive
Borda/SipMask
653333c1c7a7b5e9d0779c28f1b86d17b623aa5f
bc63fa93f9291d7b664c065f41d937a65d3c72fd
refs/heads/master
2023-05-25T11:11:44.452534
2021-03-26T02:47:49
2021-03-26T02:47:49
299,910,001
1
0
MIT
2020-09-30T12:22:24
2020-09-30T12:22:23
null
UTF-8
Python
false
false
4,553
py
# model settings model = dict( type='SipMask', pretrained='open-mmlab://resnet101_caffe', backbone=dict( type='ResNet', depth=101, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=False), style='caffe', ...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
dfce2e36e00f6072dad0dd1363e621c2a3ac5e08
2635c2e2c31a7badb8b188306c3cdfc61dc1ecc8
/versiones_anteriores_historico/ihm_ant_historico_precios/models/purchase_order_lines.py
58305e8b480fabd0953f97d4aaea24313293aa7c
[]
no_license
rosalesdc/ihm_testing
ec4ebf26c3c7602267a04fd183de4064f9d16bc1
d91ebeac5504c9f29a21b2b0f05bc16ed240ff48
refs/heads/master
2020-04-17T01:21:03.214595
2019-10-29T23:05:52
2019-10-29T23:05:52
166,088,611
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
class purchaseOrderLines(models.Model): _inherit = "purchase.order.lines" def genera_reporte
[ "rosales9146@gmail.com" ]
rosales9146@gmail.com
6e7149e247c8f81d48d3ce398806f0f7cc164ab0
d874eccec9ab8be35ee8eb583e4f24342c7d8cf0
/week4/subsets.py
551210ae34373497087c7ae21745d85fdae8580b
[]
no_license
tensae12/wallbreakersProblems
7cb827028b58f713e24e35f7accff70856280986
e5d26b21e59ab7e49d1cb7012d70a347a335a46d
refs/heads/master
2020-06-16T05:41:35.063717
2019-08-08T06:16:32
2019-08-08T06:16:32
195,493,075
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
class Solution: def subsets(self, nums: List[int]) -> List[List[int]]: output = [[]] for num in nums: l = len(output) for i in range(l): output.append(output[i] + [num]) return output
[ "tensaewerkeye224@gmail.com" ]
tensaewerkeye224@gmail.com
4cbbc8616a600058c184f711b2e71766118ee132
2c8c7617d98f0349e560291960ecc5fb831bc0af
/programmers/level1/min/최대공약수와최소공배수.py
67ebc70fa0b925142de49537b9ce963b435f15d2
[]
no_license
BU-PS/coding_test
e53d9680ae80f32bfb5238795e868d3b37e5dd71
c4fbd5034c8f507a858ca021cc7f6cfcf43f402a
refs/heads/master
2023-03-15T05:26:36.566092
2021-03-25T12:36:40
2021-03-25T12:36:40
316,865,325
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
# 최대 공약수 (GCD) : 두 개 이상의 자연수의 공통인 약수 중 가장 큰 수 # 1. 최대 공약수를 구하는 법 # - 두수의 약수들을 구한다 # - 두수의 약수들을 집합(set)에 넣는다 # - 교집합을 통해 공약수를 찾는다 # - 교집합을 중 가장 큰 수를 찾는다 # 최소 공배수 (LCM) : 두 수의 공배수가 최소인 # 1. 최소 공배수를 구하는 법 # - N * M = L * C 의 식을 통해 값을 구한 def solution(n: int, m: int): gcd_value = gcd(n=n, m=m) lcm_value = lcm(n=n...
[ "kjhm0607@gmail.com" ]
kjhm0607@gmail.com
9e42a246a8cfadd2836f2c8c0988dabbdf3c197f
296941a2bdd8f673f1d234570d8271fe60c0ef34
/ex010.py
b13866f87a9295c1ae6f98a3c881c155127ef409
[]
no_license
ivovilar1/exercicios
a7d7accfcb6c1e4aab7d17217a659de0cccb61e6
9d5a0ac7f0498bc48c8841272279977633ba2514
refs/heads/master
2021-05-21T04:53:24.491283
2020-08-26T12:26:09
2020-08-26T12:26:09
252,551,155
1
0
null
null
null
null
UTF-8
Python
false
false
159
py
carteira = float(input('Quanto dinheiro voce tem na carteira?R$')) dol = carteira/3.27 print('Com R${:.2f} voce pode comprar US${:.2f}'.format(carteira, dol))
[ "ivo_vilar@hotmail.com" ]
ivo_vilar@hotmail.com
2a278b7f06c76977aa19d5d200d846cf998aaf01
4e653ae47c8dc5e2be5cade2a9550507dbb2f9d2
/public_html/hw05/hw05script.cgi
334fe1abfe6df3af0e7f44a26456c59598e12f9c
[]
no_license
sdevagup/Scripting-for-Network-Management
d3d24cd20fcda33ee548055e92dec74585b3135c
f686c57a408cc2a4708c781dbbd3497aa02a8be5
refs/heads/main
2023-03-27T05:34:02.266291
2021-03-23T02:35:41
2021-03-23T02:35:41
350,553,641
0
0
null
null
null
null
UTF-8
Python
false
false
5,537
cgi
#!/usr/bin/python # Import modules for CGI handling import cgi, cgitb import sys import datetime as dt from datetime import datetime def report(report_type,sdate,edate): op = report_type if op == "1": opcode = 1 elif op == "2": opcode = 2 elif op == "3": opcode = 3 else: ...
[ "SDEVAGUP@mail.depaul.edu" ]
SDEVAGUP@mail.depaul.edu
2db6977dca535d5afe938e793c847f237c81c582
f73023f887763e8568a8c1a6c9d66c88abc92d04
/users_auth/admin.py
55615d24328ff42d01ad0324b07ffad7e893e9f5
[]
no_license
prajjyadav/Complaint-Portal
fe8a28b2e8975c22bf13af7366a1213043b774eb
2d18d614119a96201f77d09a018a99a3f8e6cd1e
refs/heads/master
2021-06-28T14:35:03.408986
2019-01-17T11:13:22
2019-01-17T11:13:22
165,886,336
4
2
null
2020-10-02T04:15:21
2019-01-15T16:36:34
Python
UTF-8
Python
false
false
4,502
py
from .models import CustomUser from django import forms from django.contrib import admin from django.contrib.auth.models import Group from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.forms import ReadOnlyPasswordHashField from django.contrib.auth.password_validation import valid...
[ "prajjyadav0904@gmail.com" ]
prajjyadav0904@gmail.com
3bec992595116b04adc9b11ce51ab2e1693e2a4b
38c8cca903432a88a6141dab4b9ac24740ae9e39
/src/crike_django/manage.py
8937161661f10d2505a8b82f54ecd20f227091b2
[ "Apache-2.0" ]
permissive
mxwww/crike
3d37882e75a4f7170d183d2050d6a643a72f381b
141bd1c9b37882f0369dd8231cdf3576eeb7a5e1
refs/heads/master
2023-07-19T08:09:25.806263
2016-06-11T05:30:46
2016-06-11T05:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "crike_django.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "geekan@foxmail.com" ]
geekan@foxmail.com
fee69e6f8a1547c4cd64e1d522c78ab5fdc7c2d4
abe9657ac4260face59f20acec0d61be932e090e
/Configuration/TotemCommon/python/LoggerMax_cfi.py
3cabee4cfad1b6f5df77b44c0a580a14b383b943
[]
no_license
CTPPS/ctpps-offline
82b3fd745c958dae5fbb99757713c78b8b865545
47cf59d75acf27d5098988fe480aac174e002f7a
refs/heads/develop
2021-01-21T04:35:33.421339
2016-07-04T13:04:50
2016-07-04T13:04:50
53,874,184
2
9
null
2016-07-11T14:25:11
2016-03-14T16:48:53
C++
UTF-8
Python
false
false
1,065
py
import FWCore.ParameterSet.Config as cms MessageLogger = cms.Service("MessageLogger", destinations = cms.untracked.vstring('warnings', 'errors', 'infos', 'debugs'), categories = cms.untracked.vstring('ForwardSim', 'TotemRP'), debugModules = cms.untracked.vstring('*'), ...
[ "sfonseca@Sandro-Fonseca-de-Souza-macbook-pro-2.local" ]
sfonseca@Sandro-Fonseca-de-Souza-macbook-pro-2.local
8d09c7578019ad5f22cf3b2ab7e4e74eaa4c0bbe
f3ccd2cf5c1819cf6b2b296a134a59a58deb87a6
/03img_classify/classify.py
a1bbe880c582e1d737c4fb08b515be56ded6347b
[]
no_license
leebinjun/gaze_tracking_ARglasses
195120a17a0e4858f4cdfc9516e781567f091fb0
63841b565f6fbb16f788268fb1ef991df0142b6b
refs/heads/master
2020-07-27T01:50:35.800129
2019-12-18T03:05:15
2019-12-18T03:05:15
208,825,449
0
1
null
null
null
null
UTF-8
Python
false
false
1,796
py
import tensorflow as tf import numpy as np import cv2 uid_to_human = {} for line in tf.gfile.GFile('imagenet_synset_to_human_label_map.txt').readlines(): items = line.strip().split('\t') uid_to_human[items[0]] = items[1] node_id_to_uid = {} for line in tf.gfile.GFile('imagenet_2012_challenge_label_map_proto.pbtxt')...
[ "296735774@qq.com" ]
296735774@qq.com
68f60302cdb0d1b7770b1cf62026a26cf05f802c
4b8d0d414f63ab574250569a65c8827b04dd4536
/src/core/adding.py
742d95a4f102f06a28c127b122a086461ffea9be
[]
no_license
Bilaalbash/Brew-App
93d45ff21d11361801d14a555975f48451b6e54b
dff539dd04fb2d55495b5d0eeb29d81e9887c10d
refs/heads/master
2022-12-28T16:28:53.304347
2020-10-15T11:06:11
2020-10-15T11:06:11
298,540,883
0
0
null
2020-10-15T12:32:08
2020-09-25T10:26:32
Python
UTF-8
Python
false
false
1,884
py
from src.core.class_ import Test_drink, Test_person from src.core.functions import number_selection from src.core.printing import table def add_name(list_, object_list): firstname_input = input(f"First Name: ") surname_input = input(f"Surname: ") age_input = int(input(f"Age: ")) if firstname_input == ...
[ "bilaalbashir@Bilaals-MacBook-Pro.local" ]
bilaalbashir@Bilaals-MacBook-Pro.local
27e83ea7ad44899703c2d61c2941e9dcef77cdd2
8e583ac7e8a2047f01fa6e9829f9de36022c3265
/lib/python/gooey/python_bindings/gooey_parser.py
95e2b888765693f41f424ea3c8819bc2d20689f2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jonathanlurie/timelapseComposer
ef25c5623d19024e5f83ad6c236497fdcffca10d
8de9f1ca626419bacb11bf6c563e79d52fb16a8d
refs/heads/master
2021-01-10T09:18:58.517707
2015-05-25T18:58:40
2015-05-25T18:58:40
36,248,988
2
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
from argparse import ArgumentParser class GooeyParser(object): def __init__(self, **kwargs): self.__dict__['parser'] = ArgumentParser(**kwargs) self.widgets = {} @property def _mutually_exclusive_groups(self): return self.parser._mutually_exclusive_groups @property ...
[ "lurie.jo@gmail.com" ]
lurie.jo@gmail.com
d8e6b3c458eadfb083e064a0e5c72a5c4c6ec600
1f5efe2ca436816a2705c434e4bd42dfe8712030
/tests/test_protlibtcpserver.py
b7da3f0b8bc0f1c50bca2f3817ea7c80531ca74d
[ "Apache-2.0" ]
permissive
idanshimon/protlibtcpserver
143d7a5903ae6064a0871a64f83ceef16bf91b15
0b9b9f3daed971c53779e9beb7166e33fc666045
refs/heads/master
2021-01-10T10:16:13.891867
2017-01-01T13:10:29
2017-01-01T13:10:29
43,354,985
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
__author__ = 'idans' # class PyTest(TestCommand): # def finalize_options(self): # TestCommand.finalize_options(self) # self.test_args = [] # self.test_suite = True # # def run_tests(self): # import pytest # errcode = pytest.main(self.test_args) # sys.exit(errcode...
[ "idans@oggii.com" ]
idans@oggii.com
5eac6ecc64dc1dde16206ba27739d57f6bb1c7e9
21176da2f3ff9e42108ebef1fb61d698cc27cae5
/Temeller/matematik.py
257586fda6029d76001620869c572ad5bdeec000
[]
no_license
polatemre/PythonKamp
08de5b5d2a2d2c81bf019cad69de9539d06b2881
ccd1e55f927470b75e8ff958d7babf8a7cdd38b3
refs/heads/main
2023-05-30T23:42:33.046534
2021-07-11T09:52:35
2021-07-11T09:52:35
384,364,804
1
0
null
null
null
null
UTF-8
Python
false
false
677
py
class Matematik: def __init__(self, sayi1, sayi2): # constructor self.s1 = sayi1 self.s2 = sayi2 def topla(self): return self.s1 + self.s2 def cikar(self): return self.s1 - self.s2 def bol(self): return self.s1 / self.s2 def carp(self): return sel...
[ "41800395+polatemre@users.noreply.github.com" ]
41800395+polatemre@users.noreply.github.com
ca327e457ec7f42a6c57e110658e84f20d9eec67
f8412101e0093f37cc6f9118385d2c5f2abde01c
/script.py
953e2f1bf0a1ffc85b3ba4fba6eb2bde2722a9d2
[]
no_license
Adityabaxi/texttranslator
5131a4339a453e01eb5c9258ca668c0f6d5574dc
0561a6cb164eb0a29a1f10e061c2f09ac05f5245
refs/heads/master
2022-10-08T03:50:38.850636
2020-06-06T19:08:23
2020-06-06T19:08:23
270,054,891
3
0
null
null
null
null
UTF-8
Python
false
false
353
py
from translate import Translator translator= Translator(to_lang="ja") try: with open('./text.txt', mode='r')as my_file: text= my_file.read() translation = translator.translate(text) with open('./text-ja.txt',mode='w')as my_file2: my_file2.write(translation) except FileNotFoundError as e: pri...
[ "noreply@github.com" ]
Adityabaxi.noreply@github.com
f624df6313850a796f7225b4f771eb4dfd00c9ce
bf7020781be3a10750ad30d8a44d7fe4dea6a00f
/flatmates_bill/reports.py
46d219c6b86505dd933fe7ba858777b83145f998
[]
no_license
anjali0409/flatmate_bill
e9011bc77ea47cf736d9b74b65e58ce1e24ff7f3
738352d31756e64135d56edd1fe62742cb1bba70
refs/heads/main
2023-03-15T16:39:26.079863
2021-03-11T10:31:20
2021-03-11T10:31:20
346,658,732
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import webbrowser import os from filestack import Client from fpdf import FPDF class PDFReport: """ Creates a pdf file that contains data about the flatmates such as their names, their due amounts and the period of the bill. """ def __init__(self, filename): self.filename = filename def ...
[ "noreply@github.com" ]
anjali0409.noreply@github.com
7317d280924190685c4886b7eafd4a336adf418e
69210707f3d8c0cca93c62e5760f3b004e8b394a
/01.How_Google_Does_Machine_Learning/01.Lab_Rent_A_VM_To_Process_Earthquake_Data/transform.py
95d2c5b9eeb7830288fdd7305dd7df08c3108acd
[]
no_license
mujahid7292/ML_With_TensorFlow_On_GCP
b22285463ffabbe201f3c494ddb6b0040827f1ac
713a588cf8ee05dcb06ace6659953afd1079fe87
refs/heads/master
2023-04-08T09:28:06.103151
2020-11-19T06:17:13
2020-11-19T06:17:13
244,292,498
1
0
null
2023-03-25T00:11:58
2020-03-02T05:59:59
Jupyter Notebook
UTF-8
Python
false
false
3,078
py
#!/usr/bin/env python3 # Copyright 2016 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed ...
[ "mujahid7292@gmail.com" ]
mujahid7292@gmail.com
6864254fc37f5641861955ac895d3e749d3e06c3
c5bbfa5b9dfafa08253196a8a63fb13af5c1ae89
/permute_strings.py
8e492c96e13c8a76264eb291f6139b7afc584859
[]
no_license
Bandydan/Python_scripts
19e107a6cdec3b5cec0aa7f1bad6bcde3324f150
d04c03bbdd25d7b69fccc6e4c3c89ce040fada3f
refs/heads/master
2020-05-22T10:47:56.560549
2017-04-13T16:55:13
2017-04-13T16:55:13
43,440,340
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
import sys def ref_permute(char_set): if 1 == len(char_set): set_copy = char_set.copy() return [set_copy.pop()] else: char_list = [] for char in char_set: set_copy = char_set.copy() set_copy.remove(char) res_list = ref_permute(set_copy) ...
[ "bandydan@gmail.com" ]
bandydan@gmail.com
e70906e7f7bee645da9f252b9e19b38d287fc9cf
937bf4e4e33fb2462861d6dc553103872ddb025d
/API Prototypes (Yelp)/PrototypeAPI (Django)/yelpapi/urls.py
2e35af604698c534515d1f0b03c69588cc5afcb3
[]
no_license
juliusfrost/411-group-project
463be21ff7ca8c8e18ebb1d21372c07db0b02b99
360e85459ac5e99284a2335de8e4487a2514bcfd
refs/heads/master
2020-07-25T11:52:12.603124
2019-12-11T03:49:12
2019-12-11T03:49:12
208,279,968
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from django.urls import path from . import views urlpatterns = [ path('', views.yelpform, name='yelpform'), path('yelpsearch', views.yelpsearch, name='yelpsearch'), ]
[ "cgm343@bu.edu" ]
cgm343@bu.edu
ded1759e6fee6baec41a25294a53cfaa555dde88
d3fd5ff50c92fe5c6122b501de4790af293c47e3
/guessTheNumberGame.py
76b8f56a7b29758d5c7e43a5dabb8181167465a1
[]
no_license
BorisVV/guessTheNumberGame
451519dbc53f86dced337e81cb9e07b65f4dfc47
76603bcb5d550fae772d66618b2e4b4edf254441
refs/heads/master
2021-05-10T19:08:40.852490
2018-01-19T15:46:55
2018-01-19T15:46:55
118,141,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
''' Computer should think of a random number within a certain range, and challenge the user to guess the number. Provide feedback and hints for the user: such as "too high" or "to low" ''' print("Hello, and welcome!") print("Guess a number between 1 an 20, \nif you guess it right you win \ \nor else you lo...
[ "bcarlof@gmail.com" ]
bcarlof@gmail.com
36604dbea917a2f02ac4051b7c26e46fecb300b0
13805509fb2ead8429541308b90066adc0b48f1c
/wiki/urls.py
07e5255e4e8c1dd13a8586f8a8456230b34cc63f
[]
no_license
lisa-health/lisa-health-backend
40e7bd04e86737782405e8ac977c38b87776b42e
b2030181ac2a6f8882fe688b3735c76d91f5d896
refs/heads/master
2020-12-23T12:16:58.028093
2020-02-04T13:33:38
2020-02-04T13:33:38
237,146,844
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from django.urls import path from wiki.views import * urlpatterns = [ path('disease/', disease_info, name='disease'), path('search/', search_disease, name='search') ]
[ "somainer@gmail.com" ]
somainer@gmail.com
19ff89562761114d01b45841b665a251bde67aa4
d8c23284a8ddc62d69297e6cb0531ce698a8afd9
/build/mavros_msgs/catkin_generated/pkg.develspace.context.pc.py
ba4632425603bd7b3641653b2533932a603eee8a
[]
no_license
rohit1607/Autonomous_Navigation
b772390c0dad35926ecbf4ba71694cb92a8f1341
fb18c836ddc143bfc17fd2915b1e88a013c36688
refs/heads/master
2020-08-22T18:46:53.135725
2019-10-21T02:07:18
2019-10-21T02:07:18
216,457,773
0
1
null
null
null
null
UTF-8
Python
false
false
678
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/rohit/catkin_ws/devel/.private/mavros_msgs/include;/home/rohit/catkin_ws/src/mavros/mavros_msgs/include".split(';') if "/home/rohit/catkin_ws/devel/.private/mavros_msgs/include;/home/rohit/catkin...
[ "rohitchowdhury@iisc.ac.in" ]
rohitchowdhury@iisc.ac.in
2f0cb5ae22296ae62beada0edc54377e0c8de702
f99081c3b626e75e1878055bdcb6120b74cb4cb8
/funny_webs/funny_webs/wsgi.py
0c8e10d4ed324b87505bb0996d756b3a01248aaf
[]
no_license
PanWiking/django_test_funny_images
ca6a8f9c7a05a7ea02d06f6010e8757458eecc5c
6821ece6577835a4f5e755885735cf567f8a1ad5
refs/heads/master
2023-03-25T02:08:50.065872
2021-03-21T21:06:28
2021-03-21T21:06:28
349,994,530
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for funny_webs project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "miodekip@gmail.com" ]
miodekip@gmail.com
b6821d81cd0aa4e54d6069877f8cfe767b1503fd
267e655fad9511117a74379a678dfcdcda91cd3c
/python_player/conditions.py
f5d8f19a0ef15038cee82e83595d24f7a6304468
[]
no_license
reashiny/python.
bac42a4650e9d4f03f726bc8d1d1f6ecd33791aa
32ebf390ebeec417ef0dc97ebf3a2f734680fce8
refs/heads/master
2018-11-18T03:18:51.175101
2018-09-03T06:37:13
2018-09-03T06:37:13
107,652,311
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#------------------------------------------------------------------------------- # Name: module2 # Purpose: # # Author: 16cse037 # # Created: 21/10/2017 # Copyright: (c) 16cse037 2017 # Licence: <your licence> #------------------------------------------------------------------------------...
[ "noreply@github.com" ]
reashiny.noreply@github.com
c0ab4a620ffc11689ca8531ce9d495eb77be8358
8f13153d423f2b9239f68a37d1040cef7cf0ee63
/example3/main.py
f157cf09aa72f02d51ff43d29cdc841a1d693395
[]
no_license
pmgbergen/arXiv_1810_12761
fc70b9d310f6a47114313fc7903736a197975463
896a1158d3d15b7d32681f73077333c5f9fd1647
refs/heads/master
2020-07-04T13:47:47.701552
2020-03-29T13:48:23
2020-03-29T18:55:57
202,303,158
0
1
null
2020-03-29T18:55:59
2019-08-14T07:59:56
Python
UTF-8
Python
false
false
8,234
py
import numpy as np import os import scipy.sparse as sps import porepy as pp from data import Data from examples.papers.multiscale.multiscale import Multiscale from examples.papers.multiscale.domain_decomposition import DomainDecomposition # ----------------------------------------------------------------------------...
[ "Eirik.Keilegavlen@uib.no" ]
Eirik.Keilegavlen@uib.no
bbe9e69793babd06297a855b489c588a1a8c82cc
a324457fc50961a89dfd635ac9484cfe0b93bab6
/unit.py
87be4207c8e5ba398102e666db2ade876719d930
[]
no_license
Magswitch/Force-Calculator
c9517c8503544746d756a185286c2cf721d7f4f6
1453e5d023480c267daf2703ad3562ff7da4a9ee
refs/heads/master
2021-01-19T04:27:53.897243
2016-06-28T22:50:13
2016-06-28T22:50:13
62,161,197
2
2
null
2020-09-30T15:59:14
2016-06-28T17:30:45
Python
UTF-8
Python
false
false
352
py
import fetchdata class Unit(object): """Describes a magswitch unit. Declared by name to be searched in master excel sheet""" def __init__(self, name): super(Unit, self).__init__() self.name = name self.thicknesses = fetchdata.getUnitData(name, 'thicknesses') self.forces = fetchd...
[ "agentdevr@gmail.com" ]
agentdevr@gmail.com
a5820e8c452c3de0ba68a3e56a27d0027879a4f6
50ad3cee73a33164bba332e147b8a0aa1184bca2
/stockrock/users/models.py
6a9374b5aeaddb7a9f3e1e3a2726705a874e4a94
[]
no_license
hmtj99/stockrock
b30e97462d0ee2b1743cf1468bbbe95ad6930da3
185a029c9c902be96e5532eb3eee2f31c47f5dc8
refs/heads/master
2020-06-07T05:00:45.425502
2019-06-23T15:49:45
2019-06-23T15:49:45
192,930,550
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from django.db import models from django.contrib.auth.models import User class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) profile_pic = models.ImageField( default='default.jpg', upload_to='profile_pics') phone_number = models.CharField(max_length=10)...
[ "hmtj99@gmail.com" ]
hmtj99@gmail.com
0256a0eca60e517b683414c92255b573263909f1
3dd77028315ac0a4f0db3b00da9e57dea5d6cb2c
/structs/njrat_0_11g.py
5e7823d0e110c3d0a243232e02f638c1a0bd64a9
[]
no_license
jack51706/MalCfgParser
d6d1cb90b9506f3178eb09f6fb20fc3aefd499fc
d62d7c38c8e92251ef194aa4988cdc4824a811dd
refs/heads/master
2020-12-23T01:13:32.605179
2019-10-30T02:19:03
2019-10-30T02:19:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version from kaitaistruct import __version__ as ks_version, KaitaiStruct, KaitaiStream, BytesIO if parse_version(ks_version) < parse_version('0.7'): raise Exception("Incompatible Kai...
[ "noreply@github.com" ]
jack51706.noreply@github.com
c15d9ff0830769c811fe6f3317056dc349d5162a
33755ca1e8d477164cf63789e8c47e539d5df20d
/M33/old/m01.py
baab761c3a15b16c89a29772907b42533d25d3fb
[]
no_license
milapbr/conversion
7d6d5eccdd3b418f2f5e3830b32e313a71b8b028
34106fb75c92dd9af957b3cd5b4e3df438d71910
refs/heads/master
2020-03-28T07:32:43.981434
2018-09-10T01:07:09
2018-09-10T01:07:09
147,908,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
import Tkinter import ttkcalendar import tkSimpleDialog class CalendarDialog(tkSimpleDialog.Dialog): """Dialog box that displays a calendar and returns the selected date""" def __init__(self, master): self.calendar = ttkcalendar.Calendar(master) self.calendar.pack() #self.result = self...
[ "miguel.almeida@aurea.com" ]
miguel.almeida@aurea.com
97ba9fb737a29f6ed49f8956b6ff4a2b941ef199
09e45825b9b4c81ad0894d40fb122b081aa5f666
/setup.py
d9f8a2ee1fb6f0f0c4749b71f5628c1667ea51ce
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
krisdigitx/python-vcloud-automation
dc3adbd244238aa997f761cf090f3e7915bfd5b4
7fa290074f9d1d485b6f161ff29e4ab5d52a4f36
refs/heads/master
2020-12-25T19:04:08.558576
2014-10-08T14:51:40
2014-10-08T14:51:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
import os from setuptools import setup # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.di...
[ "k.shekhar@kainos.com" ]
k.shekhar@kainos.com
b3b0def139da51b71e9d0068404d935664278429
090cada9ecc5963dd0e08cb726d8b9f1f96f380b
/config.py
3e66060fcd425a60f431574b59b9ca0e73fb6926
[]
no_license
ztong87/dumpitracegen
83292ccfcf5dbfc6aaea9bf3d832033651db0bce
8906f28d585fc4cebb59556b10f967a0e5f7f837
refs/heads/master
2021-01-23T01:02:06.286553
2020-06-10T21:27:57
2020-06-10T21:27:57
85,866,342
0
1
null
null
null
null
UTF-8
Python
false
false
1,656
py
# Configuration Line Parser # # Takes in a formatted line of the format # rank-start rank-end msg-count msg-type iterations pattern pattern-specific-values # ex: # 0 255 1024 MPI_CHAR 5 rand 1 # # and returns of dictionary of these values: {field : value}, or None if it got ...
[ "jalee@cs.fsu.edu" ]
jalee@cs.fsu.edu
4decdda900f338cc41d00589f575ff63a31f52a2
b8fe118d36146459facc5f86bc02929031b02f36
/python_test/myserver/client.py
d3830f592ecf6865590b162c01bc78ba502b3860
[]
no_license
IDUnderCover/mydocs
b255db97fe53970742bd19d260f027f1b7b355be
d225decf35e3ba0993da1492b90250bc8a66b3cb
refs/heads/master
2020-04-05T14:39:07.389312
2016-12-01T11:46:37
2016-12-01T11:46:37
56,848,930
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
#!/usr/bin/env python import requests import threading thread_num = 1 URL = 'http://127.0.0.1:9999' def handler(): res = requests.get(URL,timeout=1001) print res, threading.current_name() if __name__ == '__main__': threads = [threading.Thread(target=handler) for i in range(thread_num)] print...
[ "469792116@qq.com" ]
469792116@qq.com
3093186e46c96765d0b51554468a7761c5484e8e
a72e79b8caa43e973e7d7ecb7ffdaba15314bb9f
/server/wtpodcast2/feeds/whatsnew/urls.py
d16a486de32ebec8b741e4bcd3163578dee8596f
[]
no_license
crgwbr/wt-podcast2
2e4be9a0ffa8675d8283f3d0cc16adc799acac68
a2dfb178b5e4c3e9ac5ab9ef7c13669caf50129c
refs/heads/master
2022-12-24T07:42:47.599582
2020-10-08T15:35:52
2020-10-08T15:35:52
266,866,346
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.urls import path from . import views app_name = 'whatsnew' urlpatterns = [ path('feed.rss', views.feed_rss, name='feed_rss'), ]
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
09c771c2ab1370e70867ef99a606e10be1e0dcff
f9a64adffcfad8c5426910e50128cd34859e2c68
/ex18.py
aa406d67e18f0e9c25d9987fa9111c7ebdf89065
[]
no_license
ambim/Mini-code-snippets
c21df33077466d3a1c57fe65de4d382446f3833b
436bd090a07b0e1a471a3a4d3609ee7f6129ca6b
refs/heads/master
2021-06-10T01:58:17.799534
2017-02-04T18:48:50
2017-02-04T18:48:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# exercise 18 names, variables, code, functions #like scripts with argv def print_two(*args): arg1, arg2 = args print "arg1: %r, arg2: %r" % (arg1, arg2) # the *args is actually pointless, you can do this: def print_two_again(arg1, arg2): print "arg1: %r, arg2: %r" % (arg1, arg2) #this just takes one argu...
[ "noreply@github.com" ]
ambim.noreply@github.com
a2190e26fa997ddb6b13f10b274f5d200b6e3918
de6fb3a55196b6bd36a4fda0e08ad658679fb7a1
/vt_manager/src/python/vt_manager/models/utils/Choices.py
8b045af44501156cda604d3c0cf5c53e35f5078b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
dana-i2cat/felix
4a87af639e4c7db686bfa03f1ae4ce62711615e3
059ed2b3308bda2af5e1942dc9967e6573dd6a53
refs/heads/master
2021-01-02T23:12:43.840754
2016-02-04T10:04:24
2016-02-04T10:04:24
17,132,912
4
4
null
null
null
null
UTF-8
Python
false
false
1,606
py
class VirtTechClass: VIRT_TECH_TYPE_XEN = "xen" VIRT_TECH_CHOICES = ( (VIRT_TECH_TYPE_XEN, 'XEN'), ) @staticmethod def validateVirtTech(value): for tuple in VirtTechClass.VIRT_TECH_CHOICES: if value in tuple: return raise Exception("Virtualization Type not valid") class OSDistClass(): ...
[ "jenkins@integration.localhost" ]
jenkins@integration.localhost
06e6ec8eeae855acf71b78ba670c6f33f3e7d563
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/cfm_c1742b75736db9d1da0fb731317ab337.py
2553211aa330936731e6ce2d5a16da9385c4e481
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
6,156
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # 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,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
3b2916cc4ecd87d0b82c3cea8c4d396371722f22
c325e8d6d62f8dd73433ebd20b046853832b36ca
/adult/svm/data_analysis.py
99f9acf4c2f2f7b44e9a9955b97bb2857a8ae904
[]
no_license
zhouzhaoping/ml-test
624bbf7ac9b965df807f795695b01ccedc37255c
b6c0dc9f5400a25ce2bfd6fac48be1ab256ef86a
refs/heads/master
2021-05-04T00:24:56.675388
2016-12-25T02:00:07
2016-12-25T02:00:07
71,925,187
0
0
null
null
null
null
UTF-8
Python
false
false
2,505
py
# -*-coding:utf-8-*- import csv import operator reader = csv.reader(open('../adult.data', 'r')) name = ["age", "workclass", "fnlwgt", "education", "education-num", "marital-status", "occupation", "relationship", "race", "sex", "capital-gain", "capital-loss", "hours-per-week", "native-country", "income"] missing_...
[ "zhouzhaoping11@gmail.com" ]
zhouzhaoping11@gmail.com
ec87264eb7c8af93292bde7d25694ad80e8cc0bf
0d227917eeef61973842cd9f6c65b07999382be9
/migrations/versions/0b0d9774df6e_.py
30dca55edd28d2a7ea82d7f21cf39c4a80b9cf96
[]
no_license
TrellixVulnTeam/blog-Based-on-FLASK-framework_0KVZ
e30835ab2bca3b1c1a6db35ff68e6a1724f2c28b
62a8362724af580fd9ce21c0a3cb0ca8ac28019d
refs/heads/master
2023-03-20T23:25:54.489817
2018-06-07T09:26:23
2018-06-07T09:26:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
"""empty message Revision ID: 0b0d9774df6e Revises: fdc50e9e2696 Create Date: 2018-05-21 19:52:00.952492 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '0b0d9774df6e' down_revision = 'fdc50e9e2696' branch_labels = None depends_on = None def upgrade(): # ...
[ "694190253@qq.com" ]
694190253@qq.com
bf60539ac36e99e1f954c879e4fc07504611471e
241401dfb9da567d517aa8286e0e6abaabd3d656
/Python codes/New Features and PCA Training on all samples/New_DSP_Features/Comparison_Code_new_features.py
5107f869eb20bd89dce51ad7e60f5943fca975e8
[]
no_license
marakhmusic/Making-Sense-of-Sounds-Data-Challenge
5cefc25cdd1012db8eb407a80f33d9c5866a17d2
b6a5043cd64a97ec5736d5fa0418ba1a4e14af95
refs/heads/master
2022-12-27T14:51:43.376501
2020-10-15T13:19:43
2020-10-15T13:19:43
155,295,651
1
1
null
null
null
null
UTF-8
Python
false
false
8,149
py
# SVM from sklearn.svm import SVC from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier from sklearn import metrics from sklearn.model_selection import KFold from sklearn.model_selection import cross_val_score import numpy as np import matplotlib.pyplot as plt from skle...
[ "noreply@github.com" ]
marakhmusic.noreply@github.com
8022d2dd47bf47ef6904e116c058fc20192aa121
f5ced23208510d76b5df1571b44e344086ca8bef
/Labs/Lab09/tests/q5_3.py
c0b41d9ab402a7f66afce6bce5414d16b051f256
[]
no_license
jemmott/DSC10-Sp20
1c358638cbbe086cc1710c66dd299889d754b4ac
a1c30d7dc318471f1ce17cd613ffc278fe00f1db
refs/heads/master
2021-05-16T18:44:47.022718
2020-06-09T19:52:11
2020-06-09T19:52:11
250,424,744
4
5
null
null
null
null
UTF-8
Python
false
false
470
py
test = { 'name': 'q5_3', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> np.allclose([predict_wait(x) for x in [1.5, 2.5, 3.5, 4.5]], [51.077412999812836, 57.427935787953487, 75.684821525023551, 81.123636593993922]) True """, 'hidden': F...
[ "51950358+jeffrey7377@users.noreply.github.com" ]
51950358+jeffrey7377@users.noreply.github.com
1508fa57882b2abe842948d62fac263087bf23ee
719e0d3d413be2f986f2be6511be0e06f0f0dbce
/HJT_pkg/Screen.py
5b0a20236ffd43ab1f3ed4ef0e7ad836676970b3
[]
no_license
rongliangcheng/HexmeetHjtAuto
1cf876a9052d4dcde51195cafa49eb2d8415e125
7fce59e17429f9515a29c373396d79d2c6f8a41a
refs/heads/master
2023-03-18T16:04:35.845087
2021-03-01T06:20:39
2021-03-01T06:20:39
310,243,355
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
from time import sleep from PIL import ImageGrab import allure class CaptureScreen: @staticmethod def capture_screen(pic_name, _bbox=(645, 316, 1918, 1072)): im = ImageGrab.grab(bbox=_bbox) im.save(pic_name, "jpeg") @staticmethod def attach_pic(pic_name, description): with op...
[ "cheng_rongliang@163.com" ]
cheng_rongliang@163.com
200a8c7843ef0d731ac0fb78cc5fc644a363a50b
cf6f295f90b18ff37cf1e9580b096db3da23220b
/atic/src/keybench/keyphrase_extractor.py
dfba9065dcaaa6ff2c0163228272f1a91a62a23e
[]
no_license
Archer-W/KeyBench
d13df87820c5678c8163a673afae382d0d4094ff
a66cf98b11260d2b74cd990f36f5dcde192b0346
refs/heads/master
2021-01-12T21:07:31.230615
2016-05-12T13:46:52
2016-05-12T13:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,444
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from multiprocessing import Pool from os import listdir from os import path ##### Multi-processing ######################################################### def keyphrase_extraction_pool_worker(arguments): """ Remote keyphrase extraction. it extracts keyphrases for...
[ "adrien.bougouin@gmail.com" ]
adrien.bougouin@gmail.com
5ade91acb843ca3d31249f976f2da9d03fd44867
59ba24a93a8571696b2722c19f503f83fe1674fb
/code/file_test.py
67251ba4930cc9d27980baadbe0187668edcc875
[]
no_license
AbbottHill/pt-test
29da99e0d8026bfe3c581841ac471e9a70d2234b
e0db9949da041a2f6a85cf24a5192e70c6c9115e
refs/heads/master
2023-06-10T02:12:29.719134
2021-06-23T13:08:29
2021-06-23T13:08:29
292,733,645
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
# seek
[ "cdd9527@163.com" ]
cdd9527@163.com
5ad6b60eccf109a19093bbe744abbd85d210950a
8be83bb7fb33aec7f43b361854e490ba7a600e06
/falcon_runner/app.py
0158ced6f3394673dd7edbba35722b7273b8f840
[]
no_license
avinetworks/edu-module-switcher
119b636d3fca37eb4141303217dcab8df9782386
7f8a3a54f925987dd7e74bf504b67012a0feef69
refs/heads/master
2020-11-26T13:01:12.782878
2020-10-13T15:44:12
2020-10-13T15:44:12
229,079,140
0
3
null
2020-10-30T07:52:24
2019-12-19T15:07:00
Python
UTF-8
Python
false
false
214
py
import falcon from runner import AnsibleRunner from runner import Index api = application = falcon.API() runner = AnsibleRunner() index = Index() api.add_route('/', index) api.add_route('/runner/{run}', runner)
[ "marunich.s@gmail.com" ]
marunich.s@gmail.com
2178a4ea44af2c3821111f32193f3b794eda7c55
172e6f207b2b40c3ecf639cae720bb79e84b4b93
/v10.api.py
50ea7b028d17f81b5bc57e438e65991bf0fbb98f
[]
no_license
JuanManuelHuerta/Kaggle-PersonalLending-Model
159376cc3ffc7cee9935f93d3c86aab9822e3d46
c12899372df47a35a0a1698b38dae0d354eaf2f6
refs/heads/master
2021-08-07T22:07:27.052336
2017-11-09T03:05:28
2017-11-09T03:05:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
from urllib2 import Request, urlopen, URLError import json import unicodedata import re from iFly import * import unicodedata import pickle from sklearn import linear_model import operator import sys def my_lower(x): return "_"+x.group(1).lower() def my_number(x): return "_"+x.group(1) request = Request('h...
[ "juanhuerta@Juans-Air.fios-router.home" ]
juanhuerta@Juans-Air.fios-router.home
aeddcec255b201f81b732a2344a295bd2875552d
432cda3e6ecf0d8f7158f7cd22f5bf6d06030edf
/core/settings.py
bdbad4c423099c833f44f81d802837f26b99313a
[]
no_license
endjack/forms
8f322c48e381bf94331f02e5560576b051535d2c
973081f0fedd2f7cfce1319dd8e2aaf8a5bb4978
refs/heads/master
2023-05-29T02:57:56.771513
2021-06-05T01:40:05
2021-06-05T01:40:05
373,996,826
0
0
null
null
null
null
UTF-8
Python
false
false
3,452
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from pa...
[ "endersonjackson2@gmail.com" ]
endersonjackson2@gmail.com
4e75a52bbb36cbac6858c29d1ab2d433f1f7071e
169d809f45dedcaa3c7b1b49912d8b025abe18d9
/challenge251_easy.py
5d902f9cf7b2c9832252475e7fc7bf3834a08af4
[]
no_license
bermec/challenges
8a82d1d38d1ed1a0fc3f258443bc0054efc977a6
9fb092f20f12b4eaa808e758f00f482a49346c88
refs/heads/master
2021-10-08T05:05:56.803332
2018-12-08T00:20:20
2018-12-08T00:20:20
109,448,713
0
0
null
null
null
null
UTF-8
Python
false
false
2,253
py
''' Nonograms, also known as Hanjie, Picross or Griddlers, are picture logic puzzles in which cells in a grid must be colored or left blank according to numbers at the side of the grid to reveal a hidden picture. In this puzzle type, the numbers are a form of discrete tomography that measures how many u...
[ "rog@pynguins.com" ]
rog@pynguins.com
f043cc3e3560d0e8825936712be7813d8b901528
dd958496fa6525c072d4d4b70ea1d37728896c80
/practice/learn_json/world_population.py
60ff9cf6501f4ccc8c41581089742c82f780b2a0
[]
no_license
Cheyenne-qm/Collective-Intelligence
839b6ce0b45a1bae843aca5861de5a68a0135e04
aafeb0a6d707dc6a5e373eeedb2a24689adf6450
refs/heads/master
2021-06-07T16:24:41.638825
2016-11-29T03:00:22
2016-11-29T03:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# -*- coding: utf-8 -*- import json import pygal from pygal.style import RotateStyle from country_codes import get_country_code # 将数据加载到一个列表中 filename = 'population_data.json' with open(filename) as f : pop_data = json.load(f) # 创建一个包含人口数量的字典 cc_populations = {} # 打印每个国家2010年人口数量 for pop_dict in pop_data: ...
[ "yinxin0476@vip.qq.comm" ]
yinxin0476@vip.qq.comm
83deacca3aa2a6152a934f75008d9fb2fdd9f942
8fa9dd1e32f8f826d7883974295088e74bd043f0
/Python/Django/Wall_ERD/apps/wall/migrations/0001_initial.py
03c1321d2689691e876818e5442fd4b953c0d6d5
[]
no_license
ILanning/DojoAssignments
1101e282c4aec9b05c5b3aa05337e03e5a7e2e7e
d02e9e3caea540df058a90d1eec04f6aa85af041
refs/heads/master
2021-05-01T02:00:50.789643
2017-04-22T05:00:15
2017-04-22T05:00:15
79,866,547
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-17 20:23 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...
[ "ianclanning@gmail.com" ]
ianclanning@gmail.com
08961e5249a1e28b3da5710fb97b519591ec4be0
da4cd87a442e48975599b1f44f62b6a939118dae
/project1/module1/gui.py
827e857b89c806a7ab3d0c1948820bb79328262c
[ "MIT" ]
permissive
pmitche/it3105-aiprogramming
1aada25a2951d4e34349db541991a62ad85b3818
79f3b4a5f624d473b461548b263bcf7ecc0846dc
refs/heads/master
2021-01-10T06:21:43.845896
2015-12-11T18:42:14
2015-12-11T18:42:14
46,087,566
3
0
null
null
null
null
UTF-8
Python
false
false
5,937
py
__author__ = 'sondredyvik' from Tkinter import * from tkFileDialog import askopenfilename import astarmod1 import board class astarGui(Frame): def __init__(self, parent, rows, columns, size=10, color1="white", color2="white"): #These are all variables for the gui self.parent = Frame(parent, width...
[ "paulpmit@gmail.com" ]
paulpmit@gmail.com
d4c94fe92d17941badd8ceec535168ec2c320fe2
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/scrapinghub_portia/portia-master/portia_server/portia_orm/tests/test_relationship.py
5167cbf61f361b3da5dede41e29b542d6a11d4f7
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
66,255
py
import mock from .models import (OneToOneModel1, OneToOneModel2, ParentModel, ChildModel, ManyToManyModel1, ManyToManyModel2, PolymorphicParentModel, PolymorphicChildModel1, PolymorphicChildModel2) from .utils import DataStoreTestCase, mock_storage class OneToOneRelationship...
[ "659338505@qq.com" ]
659338505@qq.com
2863620a689e89cdd2353f5cf0b4e9667cf9703b
b71b75baf612d97960fff1adff8633affb7931a6
/mysite/accounts/forms.py
63f390ac6ea23a91f5510dfed81a6d9d60496c89
[]
no_license
kim-svadoz/django_relation
2b9d325f2d82d7dbaf611a4c60a4d223689416c4
f909f81e81a583ff2ba75c95a477c1650d9266be
refs/heads/master
2022-11-14T01:09:30.319822
2020-06-29T08:15:26
2020-06-29T08:15:26
274,344,321
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django.contrib.auth import get_user_model class CustomUserChangeForm(UserChangeForm): class Meta: model = get_user_model() fields = ['email', 'first_name','last_name'] class CustomUserCreationForm(UserCreationForm): cl...
[ "dhkdghehfdl@gmail.com" ]
dhkdghehfdl@gmail.com
0f5e3d996958b41a523b4f0cbd6e4510c523fdf7
67331a9adf792da2c9f6ba2ec6569205cf0ed820
/net_celebA.py
3d2a07eb3e11eeb21bd800efec548f5d0131a9b3
[]
no_license
wrb0312/chainer-vae
d25516db02398c8a725db2130bfd7dc73574df1c
2b9412fd26876d6f04413ba0f3bcdddc4cb6ae35
refs/heads/master
2020-04-11T22:39:09.815938
2018-12-17T14:29:21
2018-12-17T14:29:21
162,143,056
0
0
null
null
null
null
UTF-8
Python
false
false
7,597
py
import chainer import chainer.distributions as D import chainer.functions as F import chainer.links as L from instance_normalization import InstanceNormalization import numpy as np class ResBlock(chainer.Chain): def __init__(self, ch_in, ch_out, initialW): super(ResBlock, self).__init__() with sel...
[ "wrb0312@gmail.com" ]
wrb0312@gmail.com
9518f30afd0866dfa568b4f15f136dbab54fdeb8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02705/s961392013.py
735378c11733dcf7056fec7e375575cc6f489fe0
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
# mathモジュールをインポート import math r = input().rstrip() r = int(r) # 円周率の近似値 x = math.pi ans = (2 * r) * x print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f7a4a5e6467ee184d150cffb9fae09e625703666
1af44bdcbc3c15d3f6e436a7924dfd45f504ab3a
/01.jump to python/02.Data Science/1. collection/6. App/Scheduler_example.py
25345e1d5cf5e270c0a09dd38d9fcbcdd11abc17
[]
no_license
wql7654/bigdata_exam
f57c8b475690cbc5978009dbf8008bedff602e2a
c07ee711bb84407428ba31165185b9607b6825e8
refs/heads/master
2023-04-07T00:50:59.563714
2021-05-25T02:46:43
2021-05-25T02:46:43
180,915,985
0
0
null
2023-03-25T01:08:09
2019-04-12T02:36:08
Jupyter Notebook
UTF-8
Python
false
false
998
py
import threading import time g_Balcony_windows=False g_AI_Mode=False def updata_scheduler(): global g_Balcony_windows while True: if g_AI_Mode == False: continue else: time.sleep(5) g_Balcony_windows=not g_Balcony_windows t= threading.Thread(...
[ "studerande5@gmail.com" ]
studerande5@gmail.com
2af1ae194b7cb8fd86bbc426d15069d57e75937c
de2a44b26bd343ecc537d3d0011ab873fd5117eb
/vim/pythonx/snippets.py
c09ffa316d21dcd027e23a396967e4e6f6de26e0
[]
no_license
chpatton013/dotfiles
cfb64e4955470765f160e26303a9391e8b84bc82
2a036c572c27aa2bb7cdd9e3c1a7b222f444daee
refs/heads/master
2020-05-21T15:06:29.159549
2019-01-22T20:34:47
2019-01-22T20:34:47
3,784,980
2
0
null
null
null
null
UTF-8
Python
false
false
918
py
def camel_to_snake(camel, title=False): if title: snake = camel[0].upper() else: snake = camel[0].lower() word = False for c in camel[1:]: if c.isupper(): snake += "_" word = True if word: if title: snake += c.upper() ...
[ "chpatton013@gmail.com" ]
chpatton013@gmail.com
0864304fb6f9996499fcb687bf16c415b3d12c7e
938d5d26c0346316a10a74520b7e30b1bb1f6893
/oncopolicy/utils/generic.py
4a1dcb70ea43341de423c68976e0cc57c3119a36
[ "MIT" ]
permissive
yala/Tempo
46fe0da5a6e2e1a8b9bc855851e7ff9a3ab63bd6
bf3e0e78d64869bb2079c582a4a35982f78386ad
refs/heads/main
2023-04-17T07:04:34.697607
2022-01-13T21:03:04
2022-01-13T21:03:04
419,388,269
13
2
null
null
null
null
UTF-8
Python
false
false
3,560
py
import datetime import hashlib import numpy as np from copy import deepcopy import torch import pdb INVALID_DATE_STR = "Date string not valid! Received {}, and got exception {}" ISO_FORMAT = '%Y-%m-%d %H:%M:%S' CGMH_ISO_FORMAT ='%Y%m%d' DAYS_IN_YEAR = 365 DAYS_IN_MO = 30 MAX_MO_TO_CANCER = 1200 MIN_MO_TO_CANCER = 3 MA...
[ "adamyala@csail.mit.edu" ]
adamyala@csail.mit.edu
7101a3cc6721e6833e3f1cf3986d267c97f3e3c7
081f7c8f29e6b9beb7c438c004ffcbc7929b01a3
/utils.py
a58072ab6aada71732f1f8218db5e1529b895f86
[]
no_license
glshankar/DSND-ImageClassifier
b566ca1ea2a81927c1fd376fc911a238f7039de7
967ec46c2cfd8a4f78658bbdda965bea6991598c
refs/heads/master
2020-06-01T19:29:08.863306
2019-06-09T00:34:17
2019-06-09T00:34:17
190,900,463
0
0
null
null
null
null
UTF-8
Python
false
false
9,132
py
import torchvision import torchvision.transforms as transforms import torchvision.datasets as datasets import torchvision.models as models import torch import torch.utils.data as data import torch.nn as nn import torch.optim as optim from PIL import Image, ImageOps import matplotlib.pyplot as plt import n...
[ "noreply@github.com" ]
glshankar.noreply@github.com
95f6713504bf13a0bf73502b797efe5295597a01
bcb71f3ad0196709d462330a60801d5f8ec92ea6
/backend/blog/models.py
52046c2bc34be06eb996c26a98cfd002333212d7
[ "BSD-3-Clause" ]
permissive
lautarianoo/lautacademy
c7a7e84958fd6209415c16a0957a7e12449a9afc
beec082bdffe8c773fcec51974a687aced278a76
refs/heads/master
2023-05-28T20:22:22.718962
2021-06-11T17:19:32
2021-06-11T17:19:32
364,965,320
2
0
null
null
null
null
UTF-8
Python
false
false
5,201
py
from ckeditor_uploader.fields import RichTextUploadingField from django.db import models from django.contrib.auth.models import User from django.urls import reverse from django.utils import timezone from ckeditor.fields import RichTextField from mptt.models import MPTTModel, TreeForeignKey from django.dispatch import r...
[ "neonchick1" ]
neonchick1
79a50b733533cd6299691b654d5ce900ae38596f
de4449e4fbd2972a5a7e775e3a3c7a187ef86899
/ubiops/models/pipeline_request_deploment_request.py
4cab9039fd3b21f5a7110af758c322d56e311bb0
[ "Apache-2.0" ]
permissive
egutierrez-ar/client-library-python
03325cc1d4c3e949187889ceb404a08660a7f418
94177e5f175263bce645c15a171e54690b1e254f
refs/heads/master
2023-01-22T23:41:40.274718
2020-11-19T07:34:36
2020-11-19T07:34:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,840
py
# coding: utf-8 """ UbiOps Client Library to interact with the UbiOps API. # noqa: E501 The version of the OpenAPI document: v2.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from ubiops.configuration import Configuration class PipelineReque...
[ "sascha.vanweerdenburg@dutchanalytics.com" ]
sascha.vanweerdenburg@dutchanalytics.com
a864d8f1d853f7318dea229643027682624d6e26
340348a5294d40cafee167af89e2d9ad6a09a0c5
/starting_hands.py
90c4b018206207fe74ce5c51f47e086796345d04
[]
no_license
fabiopk/poker-ai
0d8ddadc2e91cab0b20c07dd73929cec101c2afd
919eb6ce45e2001c64e2bb74f0534d039055a0db
refs/heads/main
2023-04-10T20:42:35.134018
2021-04-26T18:49:47
2021-04-26T18:49:47
354,453,488
1
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
hands = ['32o', '52o', '53o', '62o', '42o', '73o', '52s', '72o', '63o', '43o', '64o', '32s', '54o', '72s', '42s', '82o', '85o', '74o', '92o', '74s', '83o', '65o', 'T3o', 'T2o', '53s', '75o', '75s', '64s', '93s', '95s', '63s', 'T3s', '62s', '93o', '94o', 'T2s', '95o', 'J2s', '76o', '22o', '84o', 'J4o', '86s', 'Q2o', '82...
[ "faabiopk@gmail.com" ]
faabiopk@gmail.com
65b5fe40446afa66c5f1c76242d7fcd8b3926bf1
eb023177db6d30a4cda3fd208a8dae50d08711c3
/basics/ch10_files/files/ex_10_4.py
220ebeb21f8be00d01befb961ccf4cac6b488315
[]
no_license
teddy-boy/python_crash_course_exercises
4ad2868adb6e2db57357acfa0103a96f223d8097
8cbfd7f0ee9bb1d1cf2090f3cd7c3118df3d4e4b
refs/heads/master
2020-12-03T18:55:11.992023
2020-05-09T06:18:24
2020-05-09T06:18:24
231,439,199
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
file_name = 'guest_book.txt' with open(file_name, 'a') as file_object: have_name = True while have_name: guest_name = input("Please enter your name: ") if len(guest_name) > 0: file_object.write(guest_name + '\n') else: have_name = False
[ "dzungnguyen.learntocode@gmail.com" ]
dzungnguyen.learntocode@gmail.com
b7705ef501c5fc6a92cd05f6bf22ac464c0411dd
d96209e276586c043897952f89e7456b31a7597f
/python_program/day05/s01.py
49dde0bf11f688a58882849c02e7b575a7fe74b7
[]
no_license
401897330/python_program
974e156c509c17fddedac8080fabc02603973ae6
16ba8953c41a2c0cffc62ec64794ec19f7c7d900
refs/heads/master
2021-05-15T13:09:39.000855
2017-10-26T13:06:45
2017-10-26T13:06:45
108,516,397
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import os def init(func): def wrapper(*args,**kwargs): res=func(*args,**kwargs) next(res) return res return wapper @init def search(target): while True: search_path=yield g=os.walk(search_path) fo...
[ "fengjianbo@tvmining.com" ]
fengjianbo@tvmining.com
5ee34883835b53c8fa72327e607649c34ada78ea
6abef345f1b0e30d666e532d46fd6aa6bc030596
/Focus/parse_args.py
df114ba575d8351e13385574f3b920c2aa809c6e
[ "MIT" ]
permissive
DimplesL/OCR
fe5eb3cdd7a90042f2d7020744c8dd42144a3149
506ec018dc67832b41979784bfc847e1c7d73480
refs/heads/master
2022-04-09T23:47:28.650663
2020-02-13T01:49:22
2020-02-13T01:49:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
#!/usr/env/bin python3 import argparse import os def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('--display_step',type=int,default=100,help='display step') parser.add_argument('--eval_step',type=int,default=1000,help='display step') parser.add_argument('--epoch',type=int,defaul...
[ "R06942112@ntu.edu.tw" ]
R06942112@ntu.edu.tw
a28c3ce814b5b12dd2c05e7fd156e0d2bc41aa35
c342ee4382fd036142485b9d7bbed0f26ff6e341
/decor.py
bb97fe933ddf2f363911e7608860b32253ab4441
[]
no_license
harshmathur1990/HMIAnalysis
1bdb028125012ac6f0eb37d55a148e4207c3ee9f
441b43e4a4e01f4d298d2b538826e31a211f5f8f
refs/heads/master
2021-06-19T13:20:09.368774
2021-01-20T13:17:48
2021-01-20T13:17:48
162,729,572
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
# -*- coding: utf-8 -*- import time import sys from functools import wraps def retry(exceptions, tries=4, delay=10, backoff=2): """ Retry calling the decorated function using an exponential backoff. Args: exceptions: The exception to check. may be a tuple of exceptions to check. ...
[ "harshmathur.1990@gmail.com" ]
harshmathur.1990@gmail.com
2d40e18dff42b78071acbf9a15a4b2c38e0ebc3d
d0474a6c51643f68fd317d7c8a20161c64f5c9ae
/Task40.py
87ab350eadbef5fde8d94e1fa0cf83f5a35ef6d8
[]
no_license
Emanresu007/python-course
8520e260422003bf3476e7422c6af1b8330e9c8b
7f819101db949a34ec4ecbc56df20a18033320a6
refs/heads/main
2023-08-22T03:48:07.566662
2021-10-23T08:52:52
2021-10-23T08:52:52
415,236,459
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# -*- coding: utf-8 -*- """ Created on Thu Sep 9 12:56:00 2021 @author: Fetibek Aliev """ # input data #S = input() #n = input() #k = input() S = 1000000 n = 12 k = 15 # Preparing Data Sample S = int(S) n = int(n) k = int(k) def dif(S, n, k, t): y = (S/n) + (S - (t-1) * (S/n)) * (k/(1200)) return y list...
[ "feti.aliev@gmail.com" ]
feti.aliev@gmail.com
b0efcc6c28fe14a6699c981336d42a9f3b246232
96664d1f89e184bf447eaf23af078748a0769578
/medium/leis/urls.py
5604665043655ed64dce7ff295bb2bcd1af2237b
[]
no_license
mr2236/read
be4e71775824a0195fd66d64d478d7c3f173023a
36a4bb11398c25b62ffcd84c9ff6b5bf429769c7
refs/heads/master
2022-12-10T01:23:02.428917
2019-01-13T21:33:28
2019-01-13T21:33:28
161,232,425
0
1
null
2022-11-22T03:09:09
2018-12-10T20:26:56
HTML
UTF-8
Python
false
false
577
py
from django.contrib import admin from django.urls import path from medium.leis.views import index, details, marcacao, marcacao_nota, voto urlpatterns = [ path('', index, name ='index'), path('<int:pk>', details, name ='details'), path('marcacao/<int:lei>/<int:artigo>/<int:usuario>/<int:is_marc...
[ "samyr.anrb@gmail.com" ]
samyr.anrb@gmail.com
905777b65166b8c4c785197ea4fd6422fcc035a9
aa8fd4529f52f0311b398cec8d71783b97acab2a
/examples/kivy/multi_threading/main.py
300affbb58b58c88d7c293e7398ca2d728ac6c12
[]
no_license
QueensGambit/GitHubRepositoryClassifier
0f84e060051d8a16d4f3074f88f078dd5832013c
b11d30049ef14703933cb357a727cf92d838b46b
refs/heads/master
2023-07-20T17:18:03.176514
2022-06-22T14:56:41
2022-06-22T14:56:41
70,482,195
3
1
null
2023-07-06T21:09:48
2016-10-10T11:40:12
Python
UTF-8
Python
false
false
4,065
py
from kivy.app import App from kivy.lang import Builder from kivy.factory import Factory from kivy.animation import Animation from kivy.clock import Clock, mainthread from kivy.uix.gridlayout import GridLayout import threading import time # https://github.com/kivy/kivy/wiki/working-with-python-threads-inside-a-kivy-app...
[ "curry-berry@freenet.de" ]
curry-berry@freenet.de