blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
898c144342144cc606a82a8664eb57e9cb92f806
6bc099dc14f2d93887bf8c40d2a169de7d15d720
/dreamtools/core/layout.py
7961847cb325f2aee44106505fe63982cf8f5491
[]
no_license
Sage-Bionetworks/dreamtools
a6328849f9246b15c783c7346d66dfc6c22525c1
fe249100c8165b584d41471fb947ad32a51121dd
refs/heads/master
2021-01-22T17:14:35.369121
2015-08-19T18:09:36
2015-08-19T18:09:36
38,385,023
0
0
null
2015-07-01T17:30:05
2015-07-01T17:30:05
null
UTF-8
Python
false
false
6,670
py
# -*- python -*- # # This file is part of DreamTools software # # Copyright (c) 2014-2015 - EBI-EMBL # # File author(s): Thomas Cokelaer <cokelaer@ebi.ac.uk> # # Distributed under the GPLv3 License. # See accompanying file LICENSE.txt or copy at # http://www.gnu.org/licenses/gpl-3.0.html # # website: http://...
[ "cokelaer@gmail.com" ]
cokelaer@gmail.com
eb86decd02eb9a52625d4bd377ebd1b39da939a7
5b9ddd5e0528af6c2953dcdd957d7d6242a6bc97
/test/test_single.py
fa9e05263ab9687fb2a54e936f488e085a0f5449
[]
no_license
p-koo/wrangler
098de4e06b05620a1a18c929c97f833432dd563d
ca427788f6822c8da5970c7a201c2e00d0aa4de6
refs/heads/master
2022-05-13T07:37:45.524877
2022-04-23T02:46:38
2022-04-23T02:46:38
98,224,245
3
0
null
null
null
null
UTF-8
Python
false
false
3,819
py
import os, h5py import numpy as np from tensorflow import keras import tensorflow as tf def custom_model(input_shape, num_labels, params=[128, 196, 512], activation='relu'): l2_reg = tf.keras.regularizers.L2(1e-6) inputs = keras.layers.Input(shape=input_shape) # layer 1 nn = keras.layers.Conv1D(fil...
[ "koo@cshl.edu" ]
koo@cshl.edu
cb0337f6d2080e531df1781a8ea5f94d48bed765
bd42dac15d6f997fc696677cc8568a7975255b18
/setup.py
db60797fb86c63bb774c8b150a01aa19201d0e8e
[]
no_license
TheMisterrio/DepartmentHandler
db72440f9b523e9b46a220d50418a0478d7ef360
0a90bef2d72d7c2f94a48e083de901dcd5b3a3c1
refs/heads/master
2023-05-24T18:47:03.531576
2020-04-07T12:58:46
2020-04-07T12:58:46
224,926,292
0
0
null
2023-05-22T22:36:01
2019-11-29T21:48:51
JavaScript
UTF-8
Python
false
false
524
py
from setuptools import setup with open("README.md", 'r') as f: long_description = f.read() setup( name='Department Handler', version='1.0', author='Nikita Kapusta', author_email='themisterrioo@gmail.com', long_description=long_description, packages=['department-app'], include_package_dat...
[ "themisterrioo@gmail.com" ]
themisterrioo@gmail.com
5d551e3e57ce1d79d155aa72d8b4b02fc5739acb
1d3d8f023bfb1442a651af62cd00bebde456d354
/manager/migrations/0007_auto_20170512_0919.py
5bf587e2c68eb7c6dcc42688b6c8eeffef1b8640
[]
no_license
zhanghaoyan/sale
173cf81827480ade23f400dfec294810618c2d10
dfb85f3fa8a9a870534e8b4ef2ae1f56f557eb30
refs/heads/master
2020-12-30T14:12:49.405924
2017-05-22T15:52:49
2017-05-22T15:52:49
91,289,177
0
1
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-05-12 09:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('manager', '0006_auto_20170511_0600'), ] operations = [ migrations.AlterFiel...
[ "zhanghaoyan@elex-tech.com" ]
zhanghaoyan@elex-tech.com
a10e1d346e26015a338459f1fcf010525ea3f485
e2e996662fde8ac0e1509995468b725d47d8ea10
/_second_order_mutant_extend/create_second_order_mutants.py
4b1e9205b97cabce86a6439c38fd4bb26d567529
[]
no_license
HOM-CISE/HOM-MBFL
b5c27ba9268b2bf7cd4faccece2ff479147ebf81
38806a5971736ab98e1d6f4b22952cf4d9b328b2
refs/heads/master
2023-05-05T20:24:44.228132
2021-06-01T13:58:28
2021-06-01T13:58:28
285,776,568
1
0
null
null
null
null
UTF-8
Python
false
false
4,033
py
import os import os.path import shutil import argparse import util def parserCommad(): ''' Get the command line parameter and return them. ''' parser = argparse.ArgumentParser() parser.add_argument('--second_order_mutant_path', action='store', default="./second_order_muta...
[ "LK464841764@163.com" ]
LK464841764@163.com
3455f02319fb7e979bd7e2d67312525c08d5e290
4f08920c06bdd724731428c1aaccc70d8bff772a
/MAC/urls.py
ac6edfe1ecba2fe08b820684751a98f6dbe8af8c
[]
no_license
Zainali649/OnlineStore
142b66cbf2fe7aa9ddea7f4dbf6d90ccd556132a
05db9cdca1078f1b8e3e8626d7cd9a5e898e4066
refs/heads/master
2023-08-07T17:46:22.534032
2021-09-24T14:35:57
2021-09-24T14:35:57
409,987,780
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.contrib import admin from django.urls import path, include from shop import views from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('admin/', admin.site.urls), path('blog/', include("blog.urls")), path('shop/', include("shop.urls")), path('', v...
[ "Zainali649@gmail.com" ]
Zainali649@gmail.com
2408d2b454456b7db86da7304c7cd381074f96e0
331640994b1b6f66c1639278571ddbdc6c8c0751
/test/python/body_io_file/wsgi.py
713e341b050f5e9962c2a35e9ded68d79a232c7e
[ "Apache-2.0" ]
permissive
nginx/unit
eabcd067eaa60f4bdcf0cfaffe7d9932add2c66a
9b22b6957bc87b3df002d0bc691fdae6a20abdac
refs/heads/master
2023-09-04T02:02:13.581700
2023-08-30T16:07:24
2023-08-30T16:07:24
102,627,638
4,649
452
Apache-2.0
2023-09-12T01:28:22
2017-09-06T15:45:30
C
UTF-8
Python
false
false
131
py
def application(env, start_response): start_response('200', [('Content-Length', '5')]) f = open('file', 'rb') return f
[ "zelenkov@nginx.com" ]
zelenkov@nginx.com
0f6185d5c993be8a7af22fc9d0a378048d18e711
0f331270f31fc3c077bb91bed38e86900a8ad905
/Algorithm_Programs/4.0 Bubble Sort.py
377b32401e5cb048a14ccaf525e563db8c8e11d0
[]
no_license
bharath02/BridgeLabz_Programs_59_week1
0a16ad1d08fb2326d7e8568ce64b340acabdfcc3
3a1cad9c0301b4cc42580505740c4b1eaed8ebaa
refs/heads/master
2021-01-02T15:34:16.480225
2020-02-21T11:38:32
2020-02-21T11:38:32
239,683,973
0
0
null
2020-02-21T11:38:33
2020-02-11T05:29:31
Python
UTF-8
Python
false
false
278
py
#Bubble Sort sort=["Nagaraj","Dilip", "Kranthi", "Prashanth","Jeevan","Bharath","SaiKumar","Sandeep","Naresh","Suvam"] for i in range(0,len(sort)-1): for j in range(0,len(sort)-i-1): if(sort[j]>sort[j+1]): sort[j],sort[j+1]=sort[j+1],sort[j] print(sort)
[ "fee0228@gmail.com" ]
fee0228@gmail.com
f8a9bc48ad588541fa9dc1f91cbf6147352ab04f
10cb14a030aae225def3239af6200184fb18a3ce
/Python/Sprite/scoreboard.py
f901147bf24ed0dc78394c29fd0c010e6792e7e7
[ "ICU", "Apache-2.0" ]
permissive
linghtiin/test
756ad4e08297da62b85b3992fa9e3952079becd8
4718dfbe33768fa6e623e27933199cbb21d440ae
refs/heads/master
2021-01-22T19:36:20.708678
2019-10-21T12:24:45
2019-10-21T12:24:45
85,219,788
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 3 16:02:49 2019 @author: 10127 """ import pygame.font from pygame.sprite import Group from ship import Ship class Scoreboard(): """ """ def __init__(self, ai_settings, screen, stats): """ """ self.screen = screen self.s...
[ "1012722378@qq.com" ]
1012722378@qq.com
a75ff295dcf088593d014b821d1e36830db744bb
6775e06b64ab60777c846d3c2c337340a6a20307
/3 Pin/tswitch.py
d796d920f5cfd695672ddfed8745bd17cc5d9787
[]
no_license
tangylyre/RasPi-Projects
8a35493b9c53dae5b1bc341cd9a95fc7f3c3d33f
40e57caa3992db6d362bc668428636395c52db5e
refs/heads/master
2021-07-10T03:00:11.437935
2021-03-29T20:43:20
2021-03-29T20:43:20
238,429,805
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.OUT) while True: GPIO.output(18, True) time.sleep(30) GPIO.output(18, False) time.sleep(30)
[ "tangylyre@gmail.com" ]
tangylyre@gmail.com
13cce84e532ebb215dce5473596719415166b05f
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/joblib/test/test_memory.py
4986880efb1b3370658406ea5e8e23b4e3c55d23
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:d7af44f0a98b2ed51376a0663f13b30780cd441ca29ea9095cc0d3c73fd98308 size 43755
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
a48c8debf8d2db367795a06b36a01b308e9d8ff6
888aa356ba60e97754b780badb9aba3b293e3438
/ErroresyExcepciones.py
b6831b60e65d63e8fabccf416c11449bec61c985
[]
no_license
DanielTellezAlvarado/Python-Ejercicos-Practica
45c74760ada253fa3052f0987cde815458606c62
1b923165138c8f698a19e4993b8e96ab10170b66
refs/heads/master
2022-11-27T13:26:14.223547
2020-08-08T04:35:03
2020-08-08T04:35:03
285,158,048
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
#esta función hará lo mismo que input pero verificará la entrada del usuario hasta que ingrese un numero def verificador_de_entrada_numerica(r): print(r) while True: try: a=float(input("")) if ((a/1)==a): return a; except (TypeError,ValueError): print("\nNo ingresaste un numero por favor int...
[ "DanielJesuaTellez@hotmail.com" ]
DanielJesuaTellez@hotmail.com
36e505c6b4b867c56f5f81788b9ac62ea10742ed
7ac31a36aa002c852fca854f8da2610038f4901c
/tests/integration_tests/repositories/test_product_repository.py
1d11595c0eb7afa1fd5ec49be251b0e6ebf8516f
[]
no_license
Himon-SYNCRAFT/cleanPony
f10ab47adaa9d88fa522cccb81e2ece2d5b7f8b1
6a0c778a35e27fef1dd82376a2d93001fda66b68
refs/heads/master
2020-04-17T18:34:48.763489
2019-03-07T14:52:51
2019-03-07T14:52:51
166,832,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
from cleanPony.db.models import db, Product, Title from cleanPony.core.entities import Product as ProductEntity from cleanPony.db.repositories import CrudRepository from pony.orm import commit, db_session from cleanPony.core.filter import Filter, FilterType product_id = 1 product_name = 'product_name' product_reposito...
[ "d.zawlocki@eltrox.pl" ]
d.zawlocki@eltrox.pl
3b1cb0aedc178e698f4673f9caac6b88fdb5cdbf
49fe5157ac5cece1fbd537514ded6b8c0f7a03cb
/dacy/tests/tutorials/test_dacy_augmentation.py
927db94427357aab10580d9b7a36987aec1e4404
[ "Apache-2.0" ]
permissive
scottire/DaCy
5303f8c47f4c84a8e319c982c2495d03983b7555
b5a1a34422efd00ccf9e678b1bb9a8e1a150f3c3
refs/heads/main
2023-06-28T15:31:32.127470
2021-08-03T11:32:41
2021-08-03T11:32:41
392,293,740
0
0
Apache-2.0
2021-08-03T11:29:26
2021-08-03T11:29:25
null
UTF-8
Python
false
false
4,061
py
import dacy from spacy.training import Example from typing import List, Callable, Iterator def test_tutorial(): def doc_to_example(doc): return Example(doc, doc) nlp = dacy.load("da_dacy_small_tft-0.0.0") doc = nlp( "Peter Schmeichel mener også, at det danske landshold anno 2021 tilhører ...
[ "kennethcenevolsen@gmail.com" ]
kennethcenevolsen@gmail.com
fa076fef300c8be5f0d7d8732a3ca007d6fa3ca9
a13fca7c40d8842ef9a7be25a8e2a29f10923a56
/venv/Scripts/pip3.7-script.py
ad2986e8b052c05de723d65a6e1ee59f90719384
[]
no_license
salmaaashraf/Vehcile_Routing_Problem_Using_AntColony
c6661da36ff20d5a58180c75d157a7423b674433
14cc091007eee52c8d0c33b3df36a12195df400d
refs/heads/main
2023-03-23T02:43:52.398428
2021-03-18T16:32:25
2021-03-18T16:32:25
342,939,189
1
0
null
null
null
null
UTF-8
Python
false
false
434
py
#!"C:\Users\metr\PycharmProjects\Vehicle routing problem\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "salmaaashraf2000@gmail.com" ]
salmaaashraf2000@gmail.com
698252227f388daecacf70012ab174ebe595d3be
c90594921d50e2e5df224c8d12663a25b0c476dc
/assn5/ABalauskas_assn5.py
8667e13b5d014c9c8437d11d8c698fcd0b3997b8
[]
no_license
zavon25/Intro-to-scripting
e3b386135b8e6de9fc0f6b3637daca3a9643bc15
adfe5a7868bc2b4ca2528eeea1d348af6dd66f51
refs/heads/master
2021-01-10T21:20:46.117647
2015-04-05T02:00:51
2015-04-05T02:00:51
33,426,989
0
0
null
null
null
null
UTF-8
Python
false
false
4,956
py
#!/usr/bin/env python """ ITS 3210 Introduction to Scripting Languages Governor's State University Adam Balauskas Assignment 5 Things are starting to get a lot more complicated. You may feel overwhelmed! This will be much worse if you are waiting to try to do all of the exercises and homework in one day. It is impera...
[ "abalauskas@gmail.com" ]
abalauskas@gmail.com
d6d136ff9639fec40049af12260793b8c5cb02b5
3e3c70bd9a045259a8f2398c54b491461e7b871c
/hex2im.py
521e5b9adeef750b83ed8634d02f6d6e0b928b99
[]
no_license
abhishyantkhare/hexpaint
e9e5bd71ba032fd061ff09aa307970cbd56acdec
a2b01d89d62c89dac391c723ebc44ad03717d4e4
refs/heads/master
2020-05-27T12:33:27.751516
2019-05-25T23:17:25
2019-05-25T23:17:25
188,619,775
0
0
null
null
null
null
UTF-8
Python
false
false
2,270
py
import numpy as np from subprocess import call import sys from PIL import Image #TODO: Make these user input IM_MAX_H = 1080 IM_MAX_W = 1920 IM_RES_1080_PROD = IM_MAX_H * IM_MAX_W def file2hex(fname): #Hexdump the file, convert to rgb, save to an np array #split filename print("Processing file...") txt_fna...
[ "Abhishyant Khare" ]
Abhishyant Khare
6291bc6c15db2bfec8ba0a05cf6beccc636a97ca
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/python_scripts/pimriscripts/mastersort/scripts_dir/p7561_run1M6.py
18f24feb1b08a183966111f19479d9b029bd46d3
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7561', 'run1M6'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/2751/E2751_e783755/s800605_5610_1M4_s6'...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
7bcff63ef29e993b7f8ebc900815a24b41cedf76
906cc3ded19736a3a962b4a074321eba93d6d282
/plugin/AbsorptionCoefficient/InP.py
ba0516d35adcfdaa2ecf4d51460cc5ea252f9ba5
[ "MIT" ]
permissive
Sunethan/APD-analyser
7612955335fb44c96e86ac70237baa9aeed29998
30a190c763017017ce16e171b5bf641fda62a4b0
refs/heads/master
2021-06-23T02:28:14.482556
2020-12-16T12:49:06
2020-12-16T12:49:06
173,737,815
4
1
null
null
null
null
UTF-8
Python
false
false
1,845
py
import utils import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt from matplotlib.pyplot import figure import matplotlib.pylab as pylab import DataAnalysis as Data import numpy as np import inspect params = {'legend.fontsize': 'x-large', 'figure.figsize': (7.5, 7), 'axes.labels...
[ "noreply@github.com" ]
noreply@github.com
57a874e0d17bd957f0f83e88d9ffaeec510202ae
0aabfa9e73c0b714f3de7dd5e45acc7569b5250a
/PyLesson_05/Lesson_05_ModulusOperator.py
6ea59a3d7da6492377d58e0a70d0fa50210cf860
[]
no_license
nikejd1706/Speshilov_Nikita
5b0ec55b73ef453ba85f437e31adaaa38adce46f
b0d9282eb922fe79fa7bbb29e6313f0393fe9dc2
refs/heads/master
2021-01-21T18:50:28.189820
2017-04-28T17:22:31
2017-04-28T17:22:31
67,239,275
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
one = int(input("Please enter a number: ")) two = int(input("Please enter a 2nd number: ")) even = (one + two) % 2 == 0 if even: print(one + two, "is even!") if not even: print(one + two, "is odd!")
[ "nikspeshilov@gmail.com" ]
nikspeshilov@gmail.com
353f316af62e26efd742a40f8eb83f4514001de4
3f3b02f914069de656eff79bb49216524d2a7422
/authnzerver/actions/user.py
28acc9b54bdede017979107cdc0d083e4e0f9e35
[ "MIT" ]
permissive
sshivaji/authnzerver
ae0a3449461d1ca1018beaa61366205c2a6cd660
ce2ece00e120f7764ac57a917c268a60de6ecfaf
refs/heads/master
2021-02-14T19:52:13.449526
2020-03-24T08:40:33
2020-03-24T08:40:33
249,654,578
0
0
null
2020-03-24T08:39:11
2020-03-24T08:39:11
null
UTF-8
Python
false
false
25,853
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # actions_user.py - Waqas Bhatti (wbhatti@astro.princeton.edu) - Aug 2018 # License: MIT - see the LICENSE file for the full text. '''This contains functions to drive user account related auth actions. ''' ############# ## LOGGING ## ############# import logging # get ...
[ "waqas.afzal.bhatti@gmail.com" ]
waqas.afzal.bhatti@gmail.com
eb4640d817a6397d6d98f8b579e926a8660c41b6
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/BLOG/Python/pcc_2e-master/chapter_13/creating_first_alien/alien_invasion.py
fbaabad22dc6b3fa631254c1d41c8ae0ea689055
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
3,190
py
import sys import pygame from settings import Settings from ship import Ship from bullet import Bullet from alien import Alien class AlienInvasion: """Overall class to manage game assets and behavior.""" def __init__(self): """Initialize the game, and create game resources.""" pygame.init()...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
3fccf8f78ed68775e041233c5bb83366d17f3b17
d88ab5b8629fe205f03d404e644378f3228431d8
/grubcat/fanju/backup.py
13041ecfd69737f6831c69295423b86e97a41ff5
[]
no_license
zjxhz/grubcat-backend
a8537b517e8bbf63d583c37b511db78d185b9e8e
fad2cbb03acd72dd649557b3c170a3208e4a43a7
refs/heads/master
2020-04-01T18:00:44.136883
2016-08-02T04:34:47
2016-08-02T04:34:47
64,723,949
0
1
null
null
null
null
UTF-8
Python
false
false
28,214
py
#coding=utf-8 # Create your views here. ######################### forms related #################################################### class GroupForm(ModelForm): class Meta: model = Group widgets = { 'desc': Textarea({'rows': 5}) } exclude = ('owner', 'members') class ...
[ "zjxhz@localhost" ]
zjxhz@localhost
efd6bb802d3c2770a5e0673eba43b30b90ea6c0a
474d55e53efa7855197287a2d4104e880eaed469
/l1/travello/urls.py
12082c6902c4bbf9860bd04ee2b104d7dba97372
[]
no_license
ashayk9/django_projects
b6ef5d6c8f1e7c60c45dee94b8f41d88bd8bdb7f
07388eeeecf30317cf92d6b96e4a1b9ea482f8e6
refs/heads/master
2022-07-09T15:03:22.813777
2020-05-11T08:56:53
2020-05-11T08:56:53
262,990,328
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('<int:primary_key>',views.individual_dest,name='place_details'), ]
[ "ashaymehta99@gmail.com" ]
ashaymehta99@gmail.com
38ad6338c63036032cf23cb524f1d0b283572c2b
f86d5538c1b4b017a42dcdd1311b146711f0322e
/misc/gen_docx.py
b93aee7d757c3de76c7351dd03b5576aede715df
[]
no_license
godspeedcurry/CTF
36342918db3105bdb19e5c4666ee2e433ad0160b
e9a8404d7e167fbe9921e77d9960de3c5e7ed370
refs/heads/master
2021-10-11T01:19:45.657361
2021-10-02T08:11:43
2021-10-02T08:11:43
155,665,426
2
1
null
null
null
null
UTF-8
Python
false
false
3,704
py
#!/usr/bin/env python #coding: utf-8 import docx import base64,re,json,os from docx.shared import Cm from bs4 import BeautifulSoup json_data = '' with open('test.json','rb') as f: json_data = f.read() json_data = json.loads(json_data)['RECORDS'] # print(s) # r = input() #创建 Document 对象,相当于打开一个 word 文档 d = docx.Docum...
[ "noreply@github.com" ]
noreply@github.com
5353a60eec46537d695dbf035b5f246a7ad03d7c
26a623b2ad6df6ec08051412338e6463e9b3fb49
/_old_axolotl-1.0/code/modifications/gradient.py
75337d92e0ff20aa2339f07bd48accd4dad8d03b
[]
no_license
GuoyingDong/Axolotl
ae548719df1ffea9e07a110cfd802b5a884acde2
0a19f182ea9263f9e23d29a85994adac4d410f0f
refs/heads/master
2022-03-29T03:46:34.886417
2019-12-17T09:25:58
2019-12-17T09:25:58
261,350,353
1
0
null
2020-05-05T03:10:37
2020-05-05T03:10:37
null
UTF-8
Python
false
false
1,148
py
""" Calculates a gradient direction vector for every cell. Inputs: vals: distance field values nx: number of cells in x direction ny: number of cells in y direction nz: number of cells in z direction Output: a: a 3d vector in gradient direction for every cell """ __autho...
[ "bernhard@arch.ethz.ch" ]
bernhard@arch.ethz.ch
cbdff796501d1e15ff5baecf3a1c46ca37665c54
ce0614afad4b6d29845d6c4b47a45379e1550694
/model/FM_Models/NFM.py
86fc2c013849aa4846b13106407f25d7624ec3c3
[]
no_license
wangfangye/FieldWiseFM2
56fdbb8af2af7a3785d97c06c3e6c2ea497f9ede
973ccb5a9f618e777676c628192008cba80aa6c1
refs/heads/master
2023-04-29T12:07:01.508989
2021-05-20T05:57:45
2021-05-20T05:57:45
369,068,450
2
0
null
null
null
null
UTF-8
Python
false
false
119
py
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' @Author:wangfy @project:PNNConvModel @Time:2021/4/27 9:25 上午 '''
[ "786632563@qq.com" ]
786632563@qq.com
dfc38dc241e56e66500aaec28b030f0ea69033f0
46c8e288ccf1aca0bc2fca728725b3d11716a3ea
/useless-trivia-program.py
611da77154d11cc5dc0176635ce07924b05c4776
[ "CC0-1.0" ]
permissive
Karandeep07/beginner-projects
dc3cea54788077c328c9a30cbd98214341805ce1
fbbba395b4b58a6b63bac564a1bd8fd618426b33
refs/heads/main
2023-06-01T11:08:50.477726
2021-06-18T10:05:58
2021-06-18T10:05:58
378,100,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
# The program takes three pieces of personal information from the user: name, age, and weight. # From these mundane items, the program is able to produce some amusing but trivial facts about # the person, such as how much the person would weigh on the moon. # Though this may seem like a simple program ( and it is ), yo...
[ "briannduhiu@gmail.com" ]
briannduhiu@gmail.com
1029da52c6ae618f3934abf6a4ae4cbb6e8ed814
25b870ab40952a6b5555498f116d8e1c146f9b41
/game/weleem_utils.py
ec29e55795d59368b870ab53939bdb713ab5dfd2
[]
no_license
tomdieli/way_lame_game
2d37a4a22fce339986dd667408dc737ab8be4826
eb52b0e440f4a197eb72652b6c336d904b90101a
refs/heads/main
2023-08-06T01:40:02.420875
2023-07-28T19:42:01
2023-07-28T19:42:01
243,342,018
0
0
null
2023-04-21T20:52:22
2020-02-26T18:59:46
Python
UTF-8
Python
false
false
5,022
py
import random from django.contrib.auth.models import User from game.models import Item, Figure, Item, Game def create_game(user_name): owner = User.objects.get(username=user_name) game = Game.objects.create(owner=owner) return game.id def delete_game(game_id): game = Game.objects.get(id=game_id) ...
[ "tomdieli@hotmail.com" ]
tomdieli@hotmail.com
c3e119ecb69e228273a9a8667fe8cc3699b94037
52b5773617a1b972a905de4d692540d26ff74926
/.history/fractions_20200802115552.py
87d6a99c8b64edac1dce64a5dd9222a8a12fa2a8
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,370
py
def fractions(numerator,denominator): if denominator == 0 : return str(numerator) number = numerator / denominator if numerator % denominator == 0: return str(numerator // denominator) newStr = str(number) print(newStr) largeStr = newStr.split(".") if len(largeStr[1]) > 1: ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
09cbdb0b6400828c5a00bd4bcaad0c2b8c6868a7
c0af7cf947fd73b3e5cb7c62bf84cfa6cb1fa3c0
/library/forms.py
61bd9d457d9a79afcf16490aa91fda4d2bf1d618
[]
no_license
ibrohimyakubov/university
b1c4e208052308c085dad1a08245f7d9e3b7e0e2
5bb325493351ed34465fc5e98ab2d59b8c1fdd4e
refs/heads/main
2023-05-14T07:29:47.358117
2021-06-09T11:37:43
2021-06-09T11:37:43
374,569,542
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django import forms class BookForm(forms.Form): title = forms.CharField(max_length=200) author = forms.CharField(max_length=150) count = forms.IntegerField(min_value=1)
[ "адрес" ]
адрес
9f18434fd751a8965e170247d3153a98b140ba30
f49ba21338297606def06bb2ca14b4ee5ac40fda
/LPTHW/ex33.py
416d3c520d26b7961439bf587a60c0a395b03036
[]
no_license
kittykatcode/Learn-Python-the-Hard-Way
b848ee786596da42d885ed229a9073ccc923f7d6
8c916407ecf100896775d2f8999773db36fe9e20
refs/heads/main
2023-06-24T19:10:44.056623
2021-07-27T04:03:55
2021-07-27T04:03:55
346,969,788
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
i = 0 numbers = [] while i < 45: print(f" at the top i is : {i}") numbers.append(i) i =i+1 print("number now:", numbers) print("at the bottom i is :" , i) print("the numbers") for n in numbers: print(n)
[ "katcode.py@gmail.com" ]
katcode.py@gmail.com
8f1bd2aca8398f99e3b555f610b8f2bcc4f1de8b
54e749c9c970652fb0e1a83e5b3bbf3a01dcc8cc
/shop/migrations/0009_auto_20200726_2138.py
dfdc64eaf34f348f073df6ceb4b43e12fe8073a8
[]
no_license
champmaniac/Online-Bakery-System
f0a08137e0feb283b52007dbc4f233d6bef7c7c0
3915221921c2f6e96a001fb5fef069f3e9d9536d
refs/heads/main
2023-01-27T13:08:32.861908
2020-12-12T15:17:31
2020-12-12T15:17:31
320,858,713
3
0
null
null
null
null
UTF-8
Python
false
false
314
py
# Generated by Django 3.0.8 on 2020-07-26 16:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0008_orders'), ] operations = [ migrations.RenameModel( old_name='Orders', new_name='Order', ), ]
[ "coderdada6@gmail.com" ]
coderdada6@gmail.com
74465e541448406d5635e7d976518bb96b872f29
4857e7da34d15c679e07b1a4af63f9e761a48523
/Documents/python code/webapp/wordweb.py
0997890e87db077d3cfd70da3578e8a7f4678cbd
[]
no_license
Dar005/webapp
7b0f95d9789b3580366e7c263903eb30f81ffc40
8fe1450ce0ed785389361314b6017ac730194cde
refs/heads/master
2021-05-03T16:41:09.267865
2019-02-14T13:38:10
2019-02-14T13:38:10
120,440,937
0
0
null
null
null
null
UTF-8
Python
false
false
2,785
py
# Student Name: Darran Gahan # Student Number: C00098391 from flask import Flask, render_template, request, session, redirect import word_utils import data_utils import time from wordgame import check_words app = Flask(__name__) app.secret_key = "adfs;45;']sgakltuuos;ga]][g" @app.route('/') def index(): r...
[ "d.m.gahan@gmail.com" ]
d.m.gahan@gmail.com
92be9acf5c9a1e1f6d6e3ce4dfc56f8e076137d6
d473970d5a2fd505b8073f9c67a914c5c4f55ad9
/src/tessif/examples/application/verification_scenarios/sink/linear/timeseries_fixed.py
14d3ed25a5895f116750e384c1035ac5740b7686
[ "MIT" ]
permissive
tZ3ma/tessif-phd
65c29eedf414d56d96e9253e1d551144446230d8
b5e7c885c10ae3f856a51c9f4d72e924cfe10327
refs/heads/main
2023-04-15T09:18:47.586945
2023-03-26T12:53:50
2023-03-26T12:53:50
618,724,258
1
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
import tessif.frused.namedtuples as nts import numpy as np import pandas as pd # timeseries_fixed # one source, two sinks # sinks differ in parametrization of flow_rate and flow_costs # sink1 has a capped flow rate given in a timeseries with an equal or lower value than the sources outflow # sink2 has infinite flow r...
[ "WriteMe@NoEmail.net" ]
WriteMe@NoEmail.net
f65157aedaf5c4e8be5e64b59442bb775ce690ec
d995415a37f721f8ab6b4b7898dd1c1b0979ac94
/plot_accuracy.py
e66a914ead63ecf261ac23946e5b67cbec5e9380
[]
no_license
dufengtong/EWC-python
44c693d866082f85d1ea65b735be3741fe82f96c
146fab8263cd84e2d667ead410e255b0ed61041e
refs/heads/master
2020-04-08T19:00:06.495754
2019-05-11T12:39:30
2019-05-11T12:39:30
159,627,925
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
import matplotlib.pyplot as plt ewc_accuracy_list = [[0.9583], [0.9366, 0.9586], [0.9367, 0.9488, 0.954]] no_ewc_accuracy_list = [[0.9558], [0.9116, 0.965], [0.9128, 0.9247, 0.9673]] ax1 = plt.subplot(311) y1 = [x[0] for x in ewc_accuracy_list ] y2 = [x[0] for x in no_ewc_accuracy_list ] ax1.set_ylim([0.8,1]) ax1...
[ "1468373207@qq.com" ]
1468373207@qq.com
2c16df93593b5fc2bd2067cfdd77f7e689333f40
2dc305915b1413c56eb49aa833871d249dacc512
/application/method/method0002.py
53048606c0b14c0428489be2c130db6bf31e3dbf
[]
no_license
mash716/Python
03bf3200a9e6f16f47b6d67663a82dc66aa11acb
3ff1a3ceea80e49ddb170e4c0578837cc318f311
refs/heads/master
2021-07-15T21:54:41.606433
2019-12-30T11:23:26
2019-12-30T11:23:26
216,381,156
1
0
null
2020-10-13T17:11:03
2019-10-20T15:11:40
C++
UTF-8
Python
false
false
471
py
def test_func(num_1,num_2,oprn): if oprn == 1: print('足し算開始') print(num_1 + num_2) elif oprn == 2: print('引き算開始') print(num_1 - num_2) elif oprn == 3: print('掛け算開始') print(num_1 * num_2) elif oprn == 4: print('割り算開始') print(nu...
[ "50168435+mash716@users.noreply.github.com" ]
50168435+mash716@users.noreply.github.com
1ad07d343d48141bbdb19c9363927ca7810ba2b9
f70e55037d6098ff30af5fe57050c5f1f09ae2f9
/app/tests/contributor/test_cloud_methods_contributor.py
d7f6d5846f3804a689fe6cd28464103b12f0f126
[]
no_license
apoorv-on-git/pixel-editor-v2
13191d7f106c5cb69468e77acbf0c0f1becba958
52ef95ee96166e542737304da3cdcb1ba6dec3fb
refs/heads/master
2022-12-28T07:19:10.613298
2020-10-02T11:42:45
2020-10-02T11:42:45
265,566,161
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from app.db_controllers.contributor_controller import * def test_get_user_document_valid(): contributor_data = get_user_document_data("contributor") if contributor_data: assert True else: assert False def test_get_user_document_invalid(): contributor_data = get_user_document_data("cont...
[ "apoorvelous@gmail.com" ]
apoorvelous@gmail.com
c01300475a1c9af6040d3c7b69b95d22fe55530d
88aec535575a7b9bfa9479e92a484c606d5e4a58
/TK/4_listNscroll.py
86acf2c71cc378611928bf7552321464f7f817fb
[]
no_license
mako34/PythonPrimer
8c9ff74116bbcf888098886794dd5a9898b6de7f
806662a1c5a9f184b7148b9e1f5d2228e0fab29c
refs/heads/master
2020-03-30T14:17:25.711059
2013-11-26T20:44:11
2013-11-26T20:44:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
#tamanio! no se vuelve mas pequenio de un ancho! from tkinter import * from tkinter import ttk root = Tk() l = Listbox(root, height=5) l.grid(column=0, row=0, sticky=(N,W,E,S)) s = ttk.Scrollbar(root, orient=VERTICAL, command=l.yview) s.grid(column=1, row=0, sticky=(N,S)) l['yscrollcommand'] = s.set #mira el grip! ...
[ "juanman234@gmail.com" ]
juanman234@gmail.com
e6113068b75de07dbe10e8c32f02074555d9ba99
49c416c488c4315a7c5b15239071e85ec4189cfc
/functions/old/random_board_generator_pythonchess.py
fbfb91c55873e3c4e71ce0e2d77b65bc0e74c208
[ "MIT" ]
permissive
tvturnhout/chessential
35e1dd1add008dc2bd874813af8dd90cbf80ba35
0261f785ecdf80f6d112cc8eb650af98395f0bb6
refs/heads/master
2021-09-13T00:39:45.180454
2018-04-23T09:38:28
2018-04-23T09:38:28
112,793,048
2
2
MIT
2017-12-02T12:05:02
2017-12-01T22:29:16
null
UTF-8
Python
false
false
2,662
py
import chess import random from vectorize import board2vector from call_engine import best_board import numpy as np import h5py import datetime import time boards = [] Nextboards = [] fname = './../data/' + datetime.datetime.now().strftime('%Y%m%dT%H%M') + 'boards.h5' h5f = h5py.File(fname, 'w') dsI = h5f.create_data...
[ "tvturnhout@gmail.com" ]
tvturnhout@gmail.com
6871b23a2b9713ca5355da1ae22f3b4ffe9dcf53
f0c07e4a42aba9b30309f810fb3bc0d8c761b168
/src/_pytest-stubs/config.pyi
d4be517af469cc73bea40985358a0149e212ee11
[ "Apache-2.0" ]
permissive
lschmelzeisen/nasty-typeshed
0d498b3c8f2cc6ad2d973c667b2f82dfc54eab18
1f37fa48e9f941ddbf35e4e6c904f7fc91078d90
refs/heads/master
2023-03-22T06:28:41.889328
2021-03-15T18:46:01
2021-03-15T18:46:15
264,028,905
1
0
null
null
null
null
UTF-8
Python
false
false
835
pyi
# # Copyright 2019-2021 Lukas Schmelzeisen # # 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 t...
[ "l.schmelzeisen@gmx.de" ]
l.schmelzeisen@gmx.de
fb5ffa85703b324ad175cb58ce20de82367cafb3
c4d93f7a1930336363d1fd6c5bc6e8594d5c2e22
/setup.py
59386344406b6c3b052b90fb60572fe5cbe5cd33
[ "MIT" ]
permissive
ztime/prio-merge
b4965a0ccd480c04b6cb71b3e6edb63a0a930d49
806737e8783980bababa19f6be68a63e41989a42
refs/heads/master
2023-01-22T21:49:13.403836
2020-11-12T23:25:21
2020-11-12T23:25:21
312,105,321
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="prio_merge", version="0.0.2", author="Jonas Wedin", author_email="jonas@lechuck.se", description="Merge nested dicts according to a few specific rules", long_description=long_descripti...
[ "jonas.wedin@findwise.com" ]
jonas.wedin@findwise.com
707a4dbe72dc800db14a2359c62fd9d46640dd3c
50bb3b7cd6302b4145a36ec7d9247132936c5834
/venv/bin/pip3.9
246c4dea602d327e73ad20e989451cd50c69d5cd
[]
no_license
jkzy24/joycelyn-blog
7b25be817d9bd33bab20ace000d0fa5038399bf4
f26a380db950f6995cd48d3e46f609c7d5545c8f
refs/heads/main
2023-05-17T21:25:31.913542
2021-06-06T03:18:38
2021-06-06T03:18:38
366,576,232
0
0
null
null
null
null
UTF-8
Python
false
false
271
9
#!/Users/joycelynkwang/Downloads/blog-with-users-end/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "joycelynkwang1124@gmail.com" ]
joycelynkwang1124@gmail.com
007c976b403ef74d9f63207e2c05024f7ec1fe88
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pimnBHXJNtQffq4Cf_10.py
a7e19e001cd26a1e0742d2c10d235d14dcad91b3
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
def mapping(letters): result = dict() for x in letters: result[x] = x.upper() return result
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a508228386b12d40df88c3865e7a7d234ebdb325
216814fb5f4aceeced92a0cfda849087a317b06a
/excelcy/storage.py
8f5030cebe35515889e0a7c7ea6926fe3731ec18
[ "MIT" ]
permissive
mindis/excelcy
2a5faff49da6aec38b6d52bf994453c7861d2fdb
f123fd3474c17930fda5aaa8f6f24cc3e51599d1
refs/heads/master
2020-03-26T00:05:32.717327
2018-07-29T11:24:41
2018-07-29T11:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,299
py
import copy import datetime import os import tempfile import typing import attr from excelcy import utils from excelcy.registry import Registry, field from excelcy.utils import odict @attr.s class BaseItemRegistry(Registry): """ Base class for all item alike data """ idx = field(default=None) # type:...
[ "robertus@johansyah.com" ]
robertus@johansyah.com
eb6d1a5901cd71495e844c11067b580ae5ee0f1b
5e0d40b2dd13808037c3f8f8153ea9a7985f240a
/sandbox.py
f2a9c40789cb38e033c2594cecfd89d4d1cce592
[ "MIT" ]
permissive
apgoldst/wok_search
8ac54a71706e44bcfb4f6b1af129d3aacd27764e
f35fcf31f7219c60a6138480459782107453d8ec
refs/heads/master
2021-01-15T12:22:44.437243
2016-01-18T22:12:12
2016-01-18T22:12:12
48,895,385
0
0
null
2016-01-02T01:52:27
2016-01-02T01:52:27
null
UTF-8
Python
false
false
219
py
import save_tables csv_file = "DOE grant numbers.csv" ns = "{http://scientific.thomsonreuters.com/schema/wok5.4/public/FullRecord}" save_tables.print_pub_table(csv_file, ns) save_tables.print_grant_table(csv_file, ns)
[ "apgoldst@gmail.com" ]
apgoldst@gmail.com
26972d4b9827830248b731c521b381ea08df0242
d16807d7b86b2104795562e632b0e12c7e4db529
/Company2/tests.py
a2d1c15fd487992924746a3e869ed81443bb4a9b
[ "MIT" ]
permissive
graysonw/interview_assignments
6d60a62467d8d169a843df5d74049e5526ab3f50
00672b4b1802bf9d1535126589068db797757871
refs/heads/master
2022-12-11T19:34:40.781833
2019-11-20T19:08:05
2019-11-20T19:08:05
222,823,995
2
0
MIT
2022-12-08T06:54:46
2019-11-20T01:27:09
Python
UTF-8
Python
false
false
3,174
py
import unittest import datetime class TestMatching(unittest.TestCase): # First unit test. There are of course a lot more we could/should do, but # this is enough to get started/show the general idea. def test_matching(self): from transform import match_data friendly_data = [ ...
[ "graysonw@gmail.com" ]
graysonw@gmail.com
57150a643799fb93317005ad8c86b44f45ab9653
cea6957a1ff60f8b6bc7a1e7e2556233fdf478ab
/tests/fixtures.py
64ce69a9eb5051d3af46909ac065c591fa9b08f7
[ "BSD-3-Clause" ]
permissive
sigmavirus24/github3.py
246b32431ee5e409703e1465d8df1ae7ff226c07
43aa2d617a7d91743d7ab93c87bc9a52e300cb72
refs/heads/main
2023-08-22T05:32:30.222500
2023-06-20T00:51:21
2023-06-20T00:51:21
3,710,711
1,077
534
BSD-3-Clause
2023-07-03T23:59:24
2012-03-13T19:58:53
Python
UTF-8
Python
false
false
446
py
import os import sys from io import BytesIO def path(name, mode="r"): return open(f"tests/json/{name}", mode) def content(path_name): content = path(path_name).read().strip() iterable = f"[{content}]" content = content.encode() iterable = iterable.encode() return BytesIO(content), BytesIO(it...
[ "graffatcolmingov@gmail.com" ]
graffatcolmingov@gmail.com
8ef286c089ffcb4c669c699f48f6dc79bdc368c2
f84a8313289dc5bc321cdf5da2294cd3cd3127be
/chipy/__init__.py
700a132a3d976664b4e795e031097229edc87c3b
[]
no_license
JelleLa/ChiPy
1a89ce66228921d701b5ccac64c9a376aa23c598
c0f6a85c3575a070d583fecf3b40aee34900811d
refs/heads/main
2023-09-05T06:22:30.354904
2021-11-19T11:33:50
2021-11-19T11:33:50
387,149,212
1
0
null
null
null
null
UTF-8
Python
false
false
808
py
#! usr/bin/python3 ver = "TESTING" print(f"ChiPy version {ver} imported succesfully.\nUse Python's help() (e.g. help(chipy.Station.proc)) for additional information of ChiPy\ncomponents.\n ") if (ver == "TESTING"): print(f"Note that you are using a \"TESTING\" version of ChiPy! Things are likely unstable and some f...
[ "jci.jelle@yandex.com" ]
jci.jelle@yandex.com
3b1c5d70989490ee104a3d607e265b421cd0e15b
19a7b31e9f9881b60fbfbb63234a50dae904db89
/shell.cgi
51614becca9be84d966f99cf6b47c2f42a5cfd8e
[]
no_license
sidd2000/LinuxCGI
08370491b7477ae324f57a74c7ba5997320a865c
c25c494ab124d300c3bcb3b0bab444ce8a46f31d
refs/heads/master
2020-04-13T20:47:05.153012
2019-02-14T06:21:21
2019-02-14T06:21:21
163,439,058
0
0
null
null
null
null
UTF-8
Python
false
false
341
cgi
#!/usr/bin/python import commands import cgi import cgitb #traceback errors on browser cgitb.enable() print "Content-Type: text/html" print "" mypage_data=cgi.FieldStorage() print "<pre>" print commands.getoutput('echo $0') print "</pre>" print "\n \n" print '<a href="/linuxGUI/home.html">' print 'Back to Home...
[ "2016csSiddhant4682@poornima.edu.in" ]
2016csSiddhant4682@poornima.edu.in
668beba79b4395bdba8281e3c590b327e649431f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_367/ch129_2020_04_01_18_04_56_230900.py
41f1f925941761d677d461149418cfa456dbd746
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
import math def verifica_quadrado_perfeito(x): x = 1 while x <= fim: if x % 2 == 1: return (True) else: return (False)
[ "you@example.com" ]
you@example.com
ec5fd7ac7bc0426283387d6962f962f9c8d44a4d
8ca19f1a31070738b376c0370c4bebf6b7efcb43
/office365/directory/audit/signins/location.py
91c41c2644397a547255326320f89e056a394ddc
[ "MIT" ]
permissive
vgrem/Office365-REST-Python-Client
2ef153d737c6ed5445ba1e446aeaec39c4ef4ed3
cbd245d1af8d69e013c469cfc2a9851f51c91417
refs/heads/master
2023-09-02T14:20:40.109462
2023-08-31T19:14:05
2023-08-31T19:14:05
51,305,798
1,006
326
MIT
2023-08-28T05:38:02
2016-02-08T15:24:51
Python
UTF-8
Python
false
false
1,212
py
from office365.onedrive.driveitems.geo_coordinates import GeoCoordinates from office365.runtime.client_value import ClientValue class SignInLocation(ClientValue): """Provides the city, state and country/region from where the sign-in happened.""" def __init__(self, city=None, country_or_region=None, geo_coord...
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
f5c7d83a8b42de65e3dd54d5aa3303ae1cfeff5c
d00a38677d50fc452faaf44a2eaa936e9adbabeb
/0x04-python-more_data_structures/10-best_score.py
6d970f7059c7737565e68a6685fe9249cd5a3335
[]
no_license
faykris/holbertonschool-higher_level_programming
c42dc166886315193fcf2e053f4e02d9fc5c4eb7
b5b4fa105affb63b80d4a60be1a9efe4a2bef4f7
refs/heads/main
2023-08-05T19:16:12.718183
2021-09-23T02:06:57
2021-09-23T02:06:57
361,807,729
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
#!/usr/bin/python3 def best_score(a_dictionary): if not a_dictionary: return None m_key = "" m_val = 0 best_key = {} for key, value in a_dictionary.items(): if value > m_val: m_key = key m_val = value best_key[m_key] = m_val return m_key
[ "faykris28@gmail.com" ]
faykris28@gmail.com
9b6bf4dff18a517df9b4bbe935253383856eaf19
adc4e055b243bddd73e18a89cbd5b64543ed7d62
/{{cookiecutter.workspace_name}}/{{cookiecutter.project_name}}/pipelines_async.py
2d5cbd099cf25285fc3407766fe23ec3fd038894
[]
no_license
xiaowangwindow/cookiecutter-scrapy-template
7910e857674cc3d426d08976cf6223ab81871836
0cea474730e9be82a91b85ab3d4f9bb0c658e134
refs/heads/master
2021-01-02T22:29:34.769786
2017-08-18T06:35:16
2017-08-18T06:35:16
99,329,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
import pymongo from scrapy.crawler import Crawler from scrapy.exceptions import DropItem from txmongo.connection import ConnectionPool from twisted.internet import defer, reactor, ssl from txmongo.filter import sort from {{cookiecutter.project_name}}.items import RequestErrorItem class ScrapyCityPipeline(object): ...
[ "alex_app@163.com" ]
alex_app@163.com
8cc8fd94200c23e7132dc0f86c8621b83d8b5e94
2c26b51cfa45c96b62d04e64968adf98be30a0a0
/solarforecastarbiter/reference_forecasts/utils.py
fa4292a5dab2737b1799810d4f8dd68e685113da
[ "MIT" ]
permissive
lboeman/solarforecastarbiter-core
dba0060feb7845a2a25e08d616d961b8070caf02
23ac3c7a699f720fb642c3cc7d1acb83b486c2a6
refs/heads/master
2023-02-02T05:56:37.318011
2021-03-26T23:50:05
2021-03-26T23:50:05
167,227,791
0
0
MIT
2019-01-23T17:51:20
2019-01-23T17:51:19
null
UTF-8
Python
false
false
11,698
py
import numpy as np import pandas as pd import pytz from solarforecastarbiter.io import utils as io_utils def get_issue_times(forecast, start_from): """Return a list of the issue times for a given Forecast starting from the date of `start_from` until the first issue time of the next day. The output times...
[ "noreply@github.com" ]
noreply@github.com
dd9136710d4ba4be942bfcb16db4b546e7828ba7
ce6c96ff6087b175a096f18c6b3e28a600aa372b
/page/models.py
169aac4c99cee0ab7c42917f1047de49b3439336
[]
no_license
epiphnani/AppSchool
405b14700294878e3098ac163b89c6a40616d4dc
fc08d4a4406f373f10c395bd6656e83c77a6bbe0
refs/heads/main
2023-06-19T07:24:30.322753
2021-07-09T18:07:33
2021-07-09T18:07:33
384,483,718
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
from django.db import models from django.contrib.auth.models import User import os # Create your models here. #3rd apps field from ckeditor.fields import RichTextField def user_directory_path(instance, filename): #THis file will be uploaded to MEDIA_ROOT /the user_(id)/the file return 'user_{0}/{1}'.format(insta...
[ "epiphnani@gmail.com" ]
epiphnani@gmail.com
a137cc244b691ebce1fe9778f17d13d4545fd3ed
ba350210808e3c01a0b3087087199667b85252c3
/preproc/preproc_all20_info_usp.py
5f5df7659244ef2a9e57921b8797867b57d58665
[ "MIT" ]
permissive
zyxwvu321/Classifer_SSL_Longtail
c9b590748218955c20a85a111bc170fc50e52343
e6c09414c49e695b0f4221a3c6245ae3929a1788
refs/heads/master
2022-11-07T23:21:28.565466
2020-06-24T14:25:50
2020-06-24T14:25:50
254,838,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 5 12:31:29 2020 test if meta data in ISIC19 include all the images in ISIC18 @author: cmj """ import cv2 from pathlib import Path import pandas as pd import numpy as np from tqdm import tqdm import os.path as osp fn_ISIC19_meta ='../data/ISIC20/test.csv' fn_ISIC18_colo...
[ "13761573873@163.com" ]
13761573873@163.com
a1a0ed95ba867e93644ec09edfeeb9fa3db2740e
d2cbfb6f8f8e6ab3d72c392ad2658a8b3e3bbc0f
/exploring/compute_sie_september_decrease_map.py
3b81f361d8ae0a05f9ace9a70a3cc0abbdf39e9c
[]
no_license
ychavail/sea-ice
5c462d6303e63020c45689032089c6ca7ae45986
ac099b7ae7c935c3674ef927a7aa3903e92e0c27
refs/heads/master
2020-03-24T05:11:13.315788
2019-04-17T20:55:28
2019-04-17T20:55:28
142,478,004
0
0
null
null
null
null
UTF-8
Python
false
false
3,590
py
################################################################## # Description: Compute the NH-spatial field of the global sea ice extent at its annual minimum (september) of particular runs of CanESM2-LE when sea ice extent is exceptionnally low and a few years around. # Code name: compute_sie_september_decrease_map...
[ "chavaillaz.yann@ouranos.ca" ]
chavaillaz.yann@ouranos.ca
c845a5eb8218c2d1bb4f97d5d5b1c926830ba184
32f0be74561308ef561a2971bf6c48e374b1a1b7
/vistem/utils/timer.py
a147c60d4801831270dff979d8c06c157d27757f
[]
no_license
major196512/vistem
9f97ddec02c5d8df8e2ba18e839fa74c92f1752d
085a9a5e7af601dd536df88aab8865c978b63a97
refs/heads/master
2023-01-09T01:08:31.348249
2020-11-12T16:26:52
2020-11-12T16:26:52
287,187,456
6
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
from time import perf_counter from typing import Optional class Timer: def __init__(self, warmup=0, pause=False) -> None: self.reset(warmup, pause) def reset(self, warmup=0, pause=False) -> None: self._start = perf_counter() self._warmup = warmup self._paused: Optional[float] ...
[ "major196512@gmail.com" ]
major196512@gmail.com
a76c100ad1a6e37a7810d7d70dcc316c105ceaa5
36308e5fec6cc87cdf76a5e4d966c70a3c182167
/venv/Scripts/easy_install-script.py
1072f16594e0e14655e3366155e26f8b91f6343e
[]
no_license
ashifa-parvin/samples
9889ea308560143117591ded4e66fe43c7d082e1
e27065fa1b21fae93f91c1c3ee1156a230ceccf1
refs/heads/master
2022-07-12T10:44:48.327722
2020-05-14T12:53:24
2020-05-14T12:53:24
263,914,370
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!C:\Users\AJ8090\PycharmProjects\samples\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "ashifa.js@lennoxintl.com" ]
ashifa.js@lennoxintl.com
bbbe9a3829272abaa12996e0bfe7d2850bb50e26
8c9b76cf4cdb2e661602acb1a3e227be57e217b8
/Data/transform.py
4145e0157981453ccb9f38f1fedd97687702d317
[]
no_license
JoesRain/CancerDiag
118e6751492c70c898b51551a77d7c39bddc0482
34e9fb2e8e9fde2efd8ced1a58d94d7a4e16b480
refs/heads/master
2022-12-14T19:29:48.183876
2020-09-21T06:10:55
2020-09-21T06:10:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,872
py
__all__ = ('PadResize', 'ToNormTensor', 'Scale', 'PILResize', 'ConvertToTensor', 'Norm',) import torch import torch.nn.functional as F import numpy as np from PIL import Image from collections import Sequence from torchvision.transforms import Compose, ToTensor, Normalize class PadResize: """Resize an PIL Ima...
[ "chrisway613@gmail.com" ]
chrisway613@gmail.com
a218aba8b54a5b5d0739652f34a611c4b69eed71
0e0447a51812ad2e4c1127ed00019f1d0d91878a
/blog/migrations/0001_initial.py
19491c15f5652699c8abc9b454725300652d6fb7
[]
no_license
yerminaaa/my-first-blog
a2412580fb66768b93bc4c21f640ba18257855cc
e70c7b51d52b44e6e1971e70f14ad7eb3272e329
refs/heads/master
2023-01-04T05:41:18.416151
2020-11-01T14:48:18
2020-11-01T14:48:18
309,077,352
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
# Generated by Django 2.2.16 on 2020-11-01 10:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AU...
[ "yermina11@gmail.com" ]
yermina11@gmail.com
8e9b32db7dfc3060bddd44dd6983a037a8cdebc2
4186a478df1cbe5ab626984a09f28757f5fa3e5f
/generalization/general_player.py
dba4f8bc33fd05b6d8074ed16070e2320fe16cea
[]
no_license
Tyler-Pearson/OpenAI
439a7a103c42779d40c5b6e297bc836d6d82703b
19e69f5f8b8b91402a7ddaa902ca01912ef9e447
refs/heads/master
2020-03-17T02:25:25.596585
2018-08-26T21:50:05
2018-08-26T21:50:05
133,189,393
0
0
null
null
null
null
UTF-8
Python
false
false
4,710
py
import time import gym import numpy as np import tflearn from tflearn.layers.core import input_data, dropout, fully_connected from tflearn.layers.estimator import regression from statistics import mean, median from collections import Counter def play_game(env, goal_steps, display, model): score = 0 game_memory ...
[ "tylerpearson1993@gmail.com" ]
tylerpearson1993@gmail.com
fe36961878d2f98518099e1da4ece8786c06190d
16480b5b49fe66494c62d57a4f7f05772b48e930
/manager.py
cedd5ec41619952bc1a52ea4d48661089f3837f3
[ "MIT" ]
permissive
tpearson1/time
a2f0700dbb055575072f60d8711b55a6300cbe2a
cf4ab2426907fe70a8c9e2ec30dc53ae6ff62992
refs/heads/master
2020-03-11T19:06:00.328524
2018-11-26T05:11:10
2018-11-26T05:11:10
130,197,132
0
0
null
null
null
null
UTF-8
Python
false
false
8,568
py
#!/usr/bin/python # Time Management Program import config_utils as cfgu import config as cfg import os.path import parts.timer as timer import parts.duration as duration import parts.logentry as logentry import parts.log as log from datetime import datetime, date, timedelta import gi gi.require_version("Gtk", "3.0...
[ "tompearson2002@gmail.com" ]
tompearson2002@gmail.com
5f7ea256ab54931233592b33790684eb18f0b154
9114a65cb643c076452d7d51d87ce764b175d22a
/dsba6155project/data_pull/data_flow/entity_job/setup.py
d11c5ace37774b830c51728a270682d2e6856b36
[]
no_license
jananiarunachalam/dsba6155project
827463a3570e060e2e58cc4e988a512bebdfc072
6cbcf9eda7aeb98b998d2653d9f9d5983b23442d
refs/heads/master
2022-06-09T00:25:44.193250
2020-05-06T04:41:47
2020-05-06T04:41:47
261,603,534
0
0
null
2020-05-05T23:15:09
2020-05-05T23:15:08
null
UTF-8
Python
false
false
2,517
py
import setuptools from distutils.command.build import build as _build # type: ignore import os import logging import subprocess import setuptools.command.build_py import distutils.cmd import distutils.log import setuptools class build(_build): # pylint: disable=invalid-name sub_commands = _build.sub_commands + ...
[ "abhijeetdtu@gmail.com" ]
abhijeetdtu@gmail.com
052a400db0a9b0de41885de17c491c39852d387e
4e0f14507502820fbae8241bd8079def5669b54f
/boxoffice/test_tickets.py
4ab7635b6f857c3484056938cc531210976339e7
[ "MIT" ]
permissive
Code-Institute-Submissions/TWCoulsdon
29ca6aa327c8bac3b7d451654118ac6f30335308
870ae7e8ea6a3fc23d24fe21bbb21965cdbab27b
refs/heads/main
2023-05-04T08:29:46.952648
2021-05-29T18:14:40
2021-05-29T18:14:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,212
py
""" Unit tests for tickets.py """ # pylint: disable=R0902 # Creating lots of member attributes for setup of tests import json from datetime import timedelta from django.test import TestCase from django.utils import timezone from events.models import Event, EventDate, Venue from .models import TicketType, Ticket, Or...
[ "seanyoung247@gmail.com" ]
seanyoung247@gmail.com
1ceb882d0d874678ce849d4b88f0381bf790d210
a9ad81b001d5cfc2e069f2d80e9cf315c404a2d5
/user/guest1.news.py
e23b5aba34c946efd56507ef6da91ec6ef04a50a
[ "MIT" ]
permissive
ethankennerly/hotel-vs-gozilla
a51b7d07c22584edf7564add87a8ed5736da0bfa
c12d9fe39f2f71ee7ea78607820f215fa9201474
refs/heads/master
2020-12-25T17:34:32.050845
2016-07-31T17:37:47
2016-07-31T17:37:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
{'level_mc': {'_txt': {'text': '7'}, 'currentLabel': 'up', 'progress_mc': {'currentLabel': '_4'}}, 'lobby_mc': {'_00_mc': {'capture_3_3_1_mc': {'score_txt': {'text': '$2'}}, 'capture_3_3_mc': {'score_txt': {'text': '$2'}}, 'capture_5_5_mc': ...
[ "ethan@lumoslabs.com" ]
ethan@lumoslabs.com
de5857ae96e85fb48c25e879feaba146543f9d18
14f56d799a27266eb0c4b1bc162b0fc2b1201dbc
/gym-tetris/gym_tetris/envs/Tetris.py
5aae5e5d7bf60cce99c8ccc039034aa6f9d95699
[]
no_license
kli512/Tetris-DQN
cf063e00a660ff0142f775d4b487a20388feca11
4533818fbebb2c3c0b9e441afed0a5d5b7940465
refs/heads/master
2022-09-16T13:55:17.358014
2020-06-02T03:37:07
2020-06-02T03:37:07
266,505,746
0
0
null
null
null
null
UTF-8
Python
false
false
9,995
py
import copy import random from collections import deque from datetime import datetime import os import sys import numpy as np import gym_tetris.envs.utils as utils class Piece: rotation_table = {'cw': 1, 'ccw': -1} # called with the piece_str e.g. 'S' representing which piece # can be I, J, L, O , S, T, ...
[ "li.kevin512@gmail.com" ]
li.kevin512@gmail.com
efa8bb4b3111da7cf23411d1a20e9322918cd148
9d4e38f5486473b902ff4feb38ef039ea84ec123
/CMA-GCV_v1.py
fccff2dead0d4443366c7b979bb3af1b81e2fc18
[]
no_license
lhysgithub/CMA
557586d33460c185aebd174ef0dcb8d7349dfa98
62039344dec327f5e34feafdb4e99bd5f4d22503
refs/heads/master
2020-04-05T21:50:06.079091
2018-12-02T11:31:19
2018-12-02T11:31:19
157,235,023
0
0
null
null
null
null
UTF-8
Python
false
false
19,295
py
import numpy as np import tensorflow as tf import os import io import time # Used to count using time import PIL # import image import shutil # DELETE DIRECTORY import scipy # draw render import matplotlib.pyplot as plt # draw render from google.cloud import vision # GCV from google.cloud.vision import types # GCV os....
[ "lhysemail@gmail.com" ]
lhysemail@gmail.com
4d2c18252c767533204105781cf91047b3d1d7b3
5377d8bca16d00f396f998a09a1bc06438e71064
/packages/hyperopt/fmin.py
eaf4db1b6182cec4fb4d42dd2b0c5347aba26027
[]
no_license
Paul-Saves/Bandit-BO
15d35aae37b01968259801e760bdcd72b4e16216
4cea35276d8cc2afb773ffffc1ae15d9a68d91e0
refs/heads/master
2023-03-01T00:46:21.352757
2020-07-20T11:37:29
2020-07-20T11:37:29
337,110,855
0
0
null
null
null
null
UTF-8
Python
false
false
15,257
py
from __future__ import print_function from __future__ import absolute_import from future import standard_library from builtins import str from builtins import object import functools import logging import os import sys import time import numpy as np from . import pyll from .utils import coarse_utcnow from . import b...
[ "nguyenphamhaidang@outlook.com" ]
nguyenphamhaidang@outlook.com
fcbe21ec01c605407a9c8e63d2897b12bea24182
3efc4c9787f309c5aae8f9c2ec9d3c5ba2a6e245
/tests_zeeguu_api/test_user_articles.py
d25fc03ebcebf81aba4ee3b300a9c8e8afdae112
[ "MIT" ]
permissive
TWEApol/Zeeguu-API
a8bc539902845ea26baa550b4048901a4772d144
832f1cb2d0950bd879af72d9e606783698d78b57
refs/heads/master
2020-04-12T11:07:58.521931
2018-12-19T16:35:43
2018-12-19T16:35:43
162,450,353
0
0
MIT
2018-12-19T14:40:13
2018-12-19T14:40:12
null
UTF-8
Python
false
false
1,447
py
# coding=utf-8 from unittest import TestCase from tests_zeeguu_api.api_test_mixin import APITestMixin from tests_zeeguu.rules.rss_feed_rule import RSSFeedRule from zeeguu.content_retriever.article_downloader import download_from_feed from zeeguu.model import RSSFeedRegistration import zeeguu from tests_zeeguu_api.t...
[ "mircea.lungu@gmail.com" ]
mircea.lungu@gmail.com
2db92cf2730e4a0824efafd107a9d05518d7effa
d1c67f2031d657902acef4411877d75b992eab91
/swagger_client/models/opsview_integration.py
2c79ec74f715056f9173d2ef90332130b9feca0d
[]
no_license
Certn/opsgenie-python
c6e6a7f42394499e5224d679cc9a449042fcf9c3
bd5f402f97d591e4082b38c938cbabca4cf29787
refs/heads/master
2023-01-01T10:45:13.132455
2020-10-27T17:40:01
2020-10-27T17:40:01
307,769,432
0
0
null
null
null
null
UTF-8
Python
false
false
21,726
py
# coding: utf-8 """ Opsgenie REST API Opsgenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class OpsviewIntegration(object): """NOTE: This class is a...
[ "john@oram.ca" ]
john@oram.ca
ecd40f78f941dd9008f0d868335017f7e4370c6f
fd4fe3432e22a48a9db109abe2fead2fb839467b
/plottest.py
13ef5ec85b205a16fc18e23982242724d33f7f1d
[]
no_license
DaniBodor/CenModel
d0c3a7d33bd25328fa9f3c24ae7203ebb9645569
9b675786900c419391f2ad5fbb326a939ae2bfb8
refs/heads/master
2020-05-30T12:33:38.350657
2015-09-21T18:34:16
2015-09-21T18:34:16
42,248,923
0
0
null
2015-09-10T14:30:08
2015-09-10T14:18:07
null
UTF-8
Python
false
false
126
py
import numpy as np import matplotlib.pyplot as plt x = np.arange(0, 5, 0.1); y = np.sin(x) graph = plt.plot(x, y) plt.show()
[ "Dani@Iago.wha" ]
Dani@Iago.wha
d9101a4ad1ca3630b0e1df219c54b9976c2c9374
f14b40c3bfa5a5ea6c18c5f3555523837b360619
/gis/bin/django-admin.py
4e59ca4064aef688cc7629416cc384a15927e0d1
[]
no_license
tayyabsayyad/CommunityGIS
a70175e979619288df6087d99a187a8aea964b4f
b654590d1fa6c6553ac2f57affe404ee0073b730
refs/heads/master
2020-05-03T08:58:45.549341
2019-03-23T11:38:00
2019-03-23T11:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
#!/home/user/Desktop/communitygis/gis/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "animesh.nauti@gmail.com" ]
animesh.nauti@gmail.com
e2e9ff0919476e0654935161fe7eaeb82b7a5bd4
81cfc965cdbf83db5187c60a2788fbbbaf479c89
/seqbio/pattern/SeqPattern.py
3c5f66fb81274ef84bf97537185e3a83076de92e
[]
no_license
6436877/Assign09
a8828ac4cefe3ec4b68ac56f1a8a2dfec3fec2a3
00f25bd698143e7f4010129bcff03b2418f5afd6
refs/heads/main
2023-08-30T12:19:04.552444
2021-10-23T17:37:20
2021-10-23T17:37:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
# SeqPattern module import re def cpgSearch(seq): cpgs = [] for m in re.finditer(r'CG', seq, re.I): cpgs.append((m.group(), m.start(), m.end())) return cpgs def enzTargetsScan(seq, enz): resEnzyme = dict(EcoRI='GAATTC', BamHI='GGATCC', HindIII='AAGCTT',AccB2I='[AG]GCGC[CT]', ...
[ "6010210353@psu.ac.th" ]
6010210353@psu.ac.th
fb5b728496ebc201bf64058cff2ee667daef95f6
75d266477dd5499499695f1a555c42d6f58a242f
/src/setup.py
393ec879ee2ffc5695e5f928e83c914dac9505fe
[]
no_license
AlexandrosV/todobackend
9b9cbcf9559caec78ab8c327447b45f48d244d41
2c80cdf648342bc342dd9a21f36f81a1db53adfe
refs/heads/master
2021-01-11T14:01:41.569086
2017-06-25T04:48:30
2017-06-25T04:48:30
94,932,592
0
1
null
null
null
null
UTF-8
Python
false
false
1,150
py
from setuptools import setup, find_packages setup( name = "todobackend", version = "0.1.0", description = "Backend REST service", packages = find_packages(), include_packages_data = True, scripts = ["manage.py"], install_re...
[ "favm@email.com" ]
favm@email.com
d8ce21f17837e687f89762f3ee89b233b648c8c5
8d739ef191dbde5d9d1957df913c1111b6cbd526
/accounts/migrations/0003_auto_20210413_1419.py
5d16f98c931175d27225af614502928eb8068f05
[]
no_license
OmimiCode/pentagram
3c9ea7c25b2a5e1dbace676576595df0be9c0636
dfe102a87302e333b7907675eab3545cd44eb801
refs/heads/main
2023-04-03T23:28:40.901460
2021-04-13T16:44:18
2021-04-13T16:44:18
357,621,664
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.1.7 on 2021-04-13 14:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20210413_1301'), ] operations = [ migrations.AlterField( model_name='owner', name='date_create...
[ "barnabas.oretan@gmail.com" ]
barnabas.oretan@gmail.com
137ed93e7fbcefb5a739bac5f56806a7283f60b5
60e318c0cdac24ef2cec0569b9e8156c8a1a85c9
/six_hats/six_hats/urls.py
21f6c9ce010fe1587f7366e4fd9ab40f0649c732
[]
no_license
dkmca/six_hats
289ca6f1e5fafae75a8638cad2ebef8eb2ce70f4
7db77e391dca760baf94a8a8a5096ad7387bc563
refs/heads/master
2023-08-12T22:06:32.582578
2021-10-12T19:11:33
2021-10-12T19:11:33
416,453,173
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
"""six_hats URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "paald20@gmail.com" ]
paald20@gmail.com
dea4553edea13c14e42abc48ce9fbb009a0280b3
47b0c93709590972c54fd73127ed73ed2d77751e
/Python/Practice/Basic.py
b8d1d82306ac2e957b99a975618b124d49d19ef4
[]
no_license
tacticalcheese/Andras89
73c48e861d49bf9b2150121924586dbbcfa0c7cf
aca1951f30e85d812115994a4f0cd416dd5dfd1e
refs/heads/master
2020-07-13T07:07:17.448240
2018-11-12T16:03:21
2018-11-12T16:03:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
myStr = "Hello" myInt = 4 myFloat = 5.2 myList = [1, 2, 3, 'Hello'] myDict = {'a': 1, 'b': 2, 'c': 3} print(type(myStr), myStr) print(type(myInt), myInt) print(type(myFloat), myFloat) print(type(myList), myList) print(type(myDict), myDict) print(myList[3]) greetings = myStr + ' World' print(greetings) peoples = ['...
[ "palfi.andras89@gmail.com" ]
palfi.andras89@gmail.com
4c2cab03a7c635f0566611968f154fb5f3a39982
f8b69e514b28d1a2cb3c85ce8ff06f2e37c51ae4
/samplesite/samplesite/settings.py
c027dc0fb45a01fedc2a12b0196754f576ede8c7
[]
no_license
AndreiAniukou/Django-my-test
a483dd69923412cd611395ed62b274a9e18977d4
2184c881d1d88ae1780de3b81b2a683f9a9759b7
refs/heads/master
2020-10-02T05:03:33.335271
2019-12-12T22:29:45
2019-12-12T22:29:45
227,708,289
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
""" Django settings for samplesite project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os...
[ "antei1231@gmail.com" ]
antei1231@gmail.com
601ec0c002fb1acecab3bd8c3a699e2687c05ec5
79ea60694f4bfd4112d6e0e548de1d681894a2cc
/ultraTest.py
a7531d46c5dc4ed0cacc77c99e291aa0060564f3
[]
no_license
JamesDeacon314/ME200
0050626257405ef3dce23d0be58752cd55e97390
9fd72fe242797f236870db47d1a4946ed0d431e2
refs/heads/master
2022-11-22T05:11:03.071247
2020-07-21T17:32:29
2020-07-21T17:32:29
271,051,982
0
0
null
null
null
null
UTF-8
Python
false
false
3,243
py
import time import numpy as np import RPi.GPIO as GPIO import matplotlib.pyplot as plt NUM_ULTRA = 5 TRIG = 33 ECHOS = [35, 36, 37, 38, 40] GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) for ECHO in ECHOS: GPIO.setup(ECHO, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) GPIO.setup(TRIG, GPIO.OUT) GPIO.output(TRIG, False...
[ "jamesdeacon314@gmail.com" ]
jamesdeacon314@gmail.com
b365234c2a2e1a1d91e63eb6563fff121fcc1aa2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02880/s183675958.py
4a284eca56a9e9c75253de4e01c3473410db5159
[]
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
173
py
N = int(input()) answer = 'No' for i in range(1, 10): if N % i == 0: sho = N // i if sho < 10: answer = 'Yes' break print(answer)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
49884242a97b998291a51e619f42165385c8dc13
ba565bb10288360a66169a107dc4b73b6c04f7c7
/generator.py
903a823e8b368bdca298b2d13568c703c83f94a4
[]
no_license
jinhan/flask-restful-ex
e4fc1fb7a84037f371df77b7a53833fc47102646
c3ca7083a46586bd5d974e79fe51ae2b3970dd1f
refs/heads/master
2021-07-12T05:40:39.393227
2018-11-23T08:12:51
2018-11-23T08:12:51
129,373,520
2
2
null
null
null
null
UTF-8
Python
false
false
9,558
py
import datetime from orm import * from sqlalchemy.sql import func, and_ from random import randint from timeit import default_timer as timer from queries import query_card_data, NoTextError, regionCodeCheck import uuid import ast # from templates_parser import templates_parser from text_templates import text_templates ...
[ "choi.jinhan@gmail.com" ]
choi.jinhan@gmail.com
f4f466644b4aae5377cd187ccf676675629e0c80
62748c922acdb14823c9abf27dbc84734b80ad5f
/Elevators.py
b623af5e923d92f79783787c16afee8bd7eb5349
[]
no_license
FinbarT/Elevators
e8845f094b2de82c07d8d2b7a821a6d68c4704c9
3eb3dbd78ce7af0806da019cdcdb464d44e3014c
refs/heads/master
2016-09-06T13:14:34.294534
2014-02-07T08:14:41
2014-02-07T08:14:41
16,608,185
0
2
null
2015-09-25T13:25:18
2014-02-07T08:09:35
null
UTF-8
Python
false
false
13,115
py
# -*- coding: utf-8 -*- """ Created on Sun Apr 28 00:33:44 2013 @author: finbar Create three classes: Building, Elevator, and Customer. Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. Program should have error checking to make sure the us...
[ "FinbarT@users.noreply.github.com" ]
FinbarT@users.noreply.github.com
51c1f49b73cecb48ebf56e507895fb6788631ed0
e7fef3805af173b28146bf3192c52e7893f37661
/build/lib/task/_native.py
71a53b3e47b786e94c7b75c7b85fea02aadc06c8
[]
no_license
hellbound22/python-rust-integration
b18864a01ac355de8d0af20a7153580d7e5337eb
2a85032cbe1b058e8291daa1000e9d4e75fee716
refs/heads/master
2022-08-10T05:46:29.101468
2020-05-26T17:48:22
2020-05-26T17:48:22
263,789,880
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
# auto-generated file __all__ = ['lib', 'ffi'] import os from task._native__ffi import ffi lib = ffi.dlopen(os.path.join(os.path.dirname(__file__), '_native__lib.so'), 4098) del os
[ "rodrigomauricio@protonmail.com" ]
rodrigomauricio@protonmail.com
a053d10dcf454607306d75e0fa321b776f0bfcbd
f36b521a4d8bf21750948284c046facee85a8cdd
/dimerfinder_analyze.py
510b0444ee174c0a92d351435a3c6a4e980a434d
[]
no_license
attamatti/asymmetric_dimer_finder
d8e93e6a44e5c311a4e4c7b68c8f2a8bdfbf855f
db58ac4c6413f94963a59d072c5b914bcfe1a342
refs/heads/master
2020-08-04T11:18:50.170285
2019-10-09T11:46:22
2019-10-09T11:46:22
212,121,089
0
0
null
null
null
null
UTF-8
Python
false
false
2,834
py
#!/usr/bin/env python import sys import os import subprocess FNULL = open(os.devnull, 'w') #### update the path to chimera here ############ chimerapath='/fbs/emsoftware2/env-modules/install/chimera/1.13.1/bin/chimera' ################################################# errmsg = 'USAGE: dimerfinder_analyze_results.py...
[ "fbsmi@absl-wkstn04.leeds.ac.uk" ]
fbsmi@absl-wkstn04.leeds.ac.uk
e61024a34864c42729e3e8999a2983b453e94f07
78158f942bd0e223f11016457a494c76b7a689b4
/plugins/DBpedia/__init__.py
f615a8019480fe6a0bcb8119a3abe6686149c49e
[]
no_license
frumiousbandersnatch/supybot-plugins
ad607dd22529372d72c7dc0083100b5b5cdb719b
8c7f16c0584bdf393a56dccff6b35a83142e5ece
refs/heads/master
2021-01-17T05:46:10.917776
2020-03-12T11:42:20
2020-03-12T11:42:20
6,639,759
0
1
null
2020-03-12T11:42:22
2012-11-11T15:21:36
Python
UTF-8
Python
false
false
1,091
py
""" Add a description of the plugin (to be presented to the user inside the wizard) here. This should describe *what* the plugin does. """ import supybot import supybot.world as world # Use this for the version of this plugin. You may wish to put a CVS keyword # in here if you're keeping the plugin in CVS or some ...
[ "lbjay@reallywow.com" ]
lbjay@reallywow.com
906e36811116556360e0fea22746fae6de8ad3c1
e4fb9be53a9b341e5436ec38633aa2f539dc2c94
/alpha/alpha/settings/production.py
201f8ccc9ac69eb03785b818dad5388faeb156a5
[]
no_license
NilSagor/dj-shop
dc8fa7c2ded9eb949cb8190313fb6f42c94d8938
1a760a795c695a44e628afd26a24cea0ab6e6e87
refs/heads/master
2020-04-28T07:30:35.251026
2019-03-25T17:00:42
2019-03-25T17:00:42
175,095,320
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
""" Django settings for alpha project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # B...
[ "masum1201@gmail.com" ]
masum1201@gmail.com
5bfb3ea283671b5dcfc0719b67157f0fede31488
a7f03c6a0cde3ba417d9b9bfbd0f6e81ed6c7e20
/A Byte of Python/Part 1/FuncDefault.py
f3291b810b8fddb69c6920ea1fe45c6625e82e68
[]
no_license
egolgovskikh/LearningPython
23c48cb82e4e15f6a04108e18ae662f92dce6f53
68c28249ea0cb534ecedda0d9035aedc1cb407ce
refs/heads/master
2023-01-06T22:30:58.628664
2019-06-16T00:49:03
2019-06-16T00:49:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
def Say(message, times=1): print(message * times) Say('Hello') Say('Hi',10)
[ "egolgovskikh@gmail.com" ]
egolgovskikh@gmail.com
df48dd9edd153a83cbff72dfc248e1d1d104ba5d
a25db3a841e844d0867a7654e2ba697dcdeb21b4
/easyjob/migrations/0005_auto_20200208_2201.py
db2e76b9881fb5d51a698c8e507dfbcc44c6c16a
[]
no_license
mrregmi420/FinalProject
9df9fcb6c8ae9fc4c24466e020257d477fdd9837
5e47fdfa350483f755ec5ca762f5ffb5f022713b
refs/heads/master
2021-01-14T00:34:04.560799
2020-02-23T15:21:39
2020-02-23T15:21:39
242,544,136
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
# Generated by Django 2.2.7 on 2020-02-08 16:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('easyjob', '0004_auto_20200208_2059'), ] operations = [ migrations.RenameField( model_name='company', old_name='CompanyName',...
[ "59339286+mrregmi420@users.noreply.github.com" ]
59339286+mrregmi420@users.noreply.github.com
33559d8f59cb5c2a4726a35358b73bbba9b78c37
00307e60ad07f5dad1cd8beb413b7088959fd84b
/player-53).py
af17f0dbfd3a44d9d7b6c29f780ddf2b62146bad
[]
no_license
Anithasivakumar/python-pgms
61b910f17a9f844aea7e36c60ef8836aea768ba6
9c470920e2901171ba620fd6df989596478759c9
refs/heads/master
2022-03-14T02:31:24.941596
2019-08-11T14:20:38
2019-08-11T14:20:38
198,208,226
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
s=str(input("")) c=0 for i in s: c+=1 print(c)
[ "noreply@github.com" ]
noreply@github.com
c2f4fdf18767021c54854cc37d8d4bf8ee63fb12
0728a2e165808cfe5651693a6e7f47804bfb085f
/ry/trunk-ry/rynok/controllers/search.py
609883c81edde290944a09278ccf32a77d0a8efc
[]
no_license
testTemtProj/OLD_PROJECT
5b026e072017f5135159b0940370fda860241d39
9e5b165f4e8acf9003536e05dcefd33a5ae46890
refs/heads/master
2020-05-18T15:30:24.543319
2013-07-23T15:17:32
2013-07-23T15:17:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,067
py
# coding: utf-8 from rynok.lib.base import BaseController, render from pylons import request, session, tmpl_context as c from pylons.controllers.util import abort, redirect from rynok.lib import sphinxapi import json from rynok.model.referenceModel import ReferenceModel from rynok.model.vendorsModel import VendorsMode...
[ "Kyzmenko_Pavel@mail.ru" ]
Kyzmenko_Pavel@mail.ru
0ad3e43740b068d357f695f9cfdaa06c7d04c777
a471ecf59e2b770bb11417e8524c81ae9942445d
/conf.py
e11bf811accb0fe1152420ec408321cb8892c4a9
[]
no_license
AmbikaPuvvula/TD
78b5e330d6f91797630b871b60f793d3bb5d507b
b20e6d7878ee80a03aaa2e5e82f4bd33ddeabf5d
refs/heads/main
2023-03-06T19:30:50.407153
2021-02-18T07:52:58
2021-02-18T07:52:58
339,961,487
0
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- ...
[ "noreply@github.com" ]
noreply@github.com
bc5266e3378e9197b3743edc98f209f60943649b
d5a3e304ac3033fd720d69bb85346107826bf0c6
/sgb/models.py
79833f9b53d180d21cace6fcb140fdc46636691e
[]
no_license
PablloMatheus/SGB
098c10e8ced9c4e0676007177693dac81a20e8e7
42745e2752adf67c6af5b16d5089582a9df21d5d
refs/heads/master
2020-03-30T10:45:01.661286
2018-10-01T18:13:10
2018-10-01T18:13:10
151,134,344
0
0
null
null
null
null
UTF-8
Python
false
false
6,068
py
from django.db import models from django.core.validators import RegexValidator CC = 'Ciência da Computação' SPI = 'Sistemas para Internet' GTI = 'Gestão da Tecnologia da Informação' RC = 'Redes de Computadores' CURSO = ( (CC, 'Ciência da Computação'), (SPI, 'Sistemas para Internet'), (GTI, 'Gestão da Tecno...
[ "pabllomatheus@outlook.com" ]
pabllomatheus@outlook.com
4eacafe7e8bf2a642f69388478927456149fe080
51e312ad58c7646cc9e9db5972ab191beaee4552
/SinNombre/SinNombre.py
0709be8feef29eea16a6ab97238398efe4a5f890
[]
no_license
juanma-perez/ArticuloViolencia
7cb815c5360636f732878b12a8875fbbcf374258
ad8d0dd7f0184932bf3cb1ec127b8b62e5821ad7
refs/heads/master
2021-01-23T04:23:16.941503
2017-05-13T15:20:13
2017-05-13T15:20:13
86,192,423
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
# -*- coding: utf-8 -*- import Simulador import Charmer from FileManager import FileManager import json class SinNombreOntologia(): def suceso(self): return {u"Dia":"",u"Mes":"",u"A\u00f1o":""} def lugar(self): return {u"Nivel":u"Departamento",u"Nombre":u""} def __init__(self, jsonLine): se...
[ "jmpt1994@hotmail.com" ]
jmpt1994@hotmail.com
5c66d14f6755e6c75a989d5c01db3f9545b97c3e
40cdd19b57b7eeecc50dd66e6911d077e1d37fe1
/wsi_into_regions/main.py
dbb47cfa8da474ed6af07f3f7ff27c0e219e8eed
[]
no_license
oncoml/camelyon
b444c49a8743e8cf87981897e4946f6899147c02
b403b8855c6a69c7e3bc8ae31e4a38f29f5e2983
refs/heads/master
2022-11-10T16:31:48.913746
2020-06-25T14:21:10
2020-06-25T14:21:10
264,371,298
3
1
null
null
null
null
UTF-8
Python
false
false
1,746
py
# Tile WSI (Whole Slide Imaging) files and maps tumor regions based on XML coordinates. # Name format of WSI slides are consistent with those found in Camelyon17 Challenge. # @author: Steve Yang # System imports import os import fnmatch import pickle # Local imports from util import tile_wsi, map_tumor # Directori...
[ "steve.yang@metiska.co.id" ]
steve.yang@metiska.co.id
dad770a58a75f57a42156d6a36802e4a9169ecd5
34e3940c9d464b5b7c711956594715a1572da371
/app/migrations/versions/cf01d7b9f9ea_.py
0659fb65515067a2646c28097c67edf615915ba7
[]
no_license
yufrances90/Fyyur
715464f48931c2802cbb74cd3e6cce99b1febc9b
0d33e788f17815ed7301ccffc3fbacbf2c45c75a
refs/heads/master
2021-04-15T19:23:53.131307
2020-03-29T21:48:44
2020-03-29T21:48:44
249,292,878
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
"""empty message Revision ID: cf01d7b9f9ea Revises: 0c38eeb84e2f Create Date: 2020-03-25 14:36:20.707635 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'cf01d7b9f9ea' down_revision = '0c38eeb84e2f' branch_labels = None depends_on = None def upgrade(): # ...
[ "yufrances90@gmail.com" ]
yufrances90@gmail.com
e046db8c8baa4666d34c2b03cfaae02460aea802
31d6145d70cf903e741c0d4d8996547489ec3d9f
/pysamp.py
1d8371518cc2448403db24df8c5e0196a19bcc6f
[]
no_license
PavanKrishna95/Waukesha
aa448eee95a039288953b302bfcb618015abd6c7
aeeeeb02f98652241a6b732416beafc1e208eb0f
refs/heads/master
2020-09-08T12:15:53.490581
2019-11-15T05:12:16
2019-11-15T05:12:16
221,130,921
0
0
null
null
null
null
UTF-8
Python
false
false
12,731
py
def pysamp(): import com as C print('AARR =',C.AARR) print('FNEXTV =',C.FNEXTV) print('FEXTV =',C.FEXTV) print('U0IN =',C.U0IN) print('BARR =',C.BARR) print('DARR =',C.DARR) print('IARR =',C.IARR) print('TARR =',C.TARR) print('UARR =',C.UARR) print('ACOND =',C.ACON...
[ "pavankrishna@localhost.localdomain" ]
pavankrishna@localhost.localdomain
606f7fa891585587eac562f47ace30b002f67eff
976ba543bf4440f9d58b519886cab8ccc9f92f04
/captcha/prepare_data.py
f024244ce0de0739c419901103131a9a8367440e
[]
no_license
TingYulq/tensorflow-learn
41d65eea4ab01f2c41f7128c5bed2858b7df2922
d580aa82c8a6f81bac3a52c1952ccea71bc699e3
refs/heads/master
2020-04-03T19:23:19.704791
2019-07-16T16:30:47
2019-07-16T16:30:47
155,521,614
0
0
null
2018-10-31T08:14:48
2018-10-31T08:14:48
null
UTF-8
Python
false
false
2,242
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Mail: tengxing7452@163.com # Author: StarryTeng # Description: 获取数据 from captcha.image import ImageCaptcha from PIL import Image import numpy as np import random import string class generateCaptcha(): def __init__(self, width = 160,#验证码图片的宽 ...
[ "tengxing7452@163.com" ]
tengxing7452@163.com
7209c69bdb5d75d105816259ea0b142d4d582778
55a2cb380f6144cb3bc28dec5f2fe6803e3c6c2a
/CenterNet/my_lib/data/coco/coco_dataset.py
cee856475c35f253a792475fa4b6fe6ff3edea0b
[ "BSD-3-Clause", "MIT" ]
permissive
lorcanob/modified_centernet
f6b24fa80bb6927ea48357e75339f7b2a2efe5b1
e5a40d0907ed155ca2e99688461268e02dd726bc
refs/heads/main
2023-03-18T06:23:04.176133
2020-12-31T19:44:08
2020-12-31T19:44:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,327
py
import os import torch import torch.utils.data import torchvision import cv2 from PIL import Image from pycocotools.coco import COCO import numpy as np class CocoPathManager(object): """ This class is used to manage path to CoCo dataset, and Coco dataset follows the following path protocal: ├── annota...
[ "jma@softkinetic.com" ]
jma@softkinetic.com