blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
8dd5a412c4409ce9d481424ca81b2ca41f5143de
66b756b777c9ed2f09c35e5d6a2d2b255f6c5c6f
/book/graphics_anxiety.py
861e29fcb312cdd6aeb5abd2db8adb2ec890ae53
[]
no_license
al00014/gbd
942d826febe935b9d47a417ca6ca089c6cf0cc56
8c69a154d01c752d16e65cab983d635d4851c7c3
refs/heads/master
2021-01-11T06:53:01.899892
2020-05-26T13:15:36
2020-05-26T13:15:36
71,981,670
0
0
null
2016-10-26T08:19:48
2016-10-26T08:19:48
null
UTF-8
Python
false
false
3,537
py
import sys sys.path += ['../gbd', '../gbd/book', '../dm3-computation_only/', '../dm3-computation_only/book'] import pylab as pl import pymc as mc import pandas import dismod3 reload(dismod3) import book_graphics reload(book_graphics) import matplotlib as mpl # set font book_graphics.set_font() def m...
[ "peterhm@uw.edu" ]
peterhm@uw.edu
327775f554307166eebd19b680c8f7b182103d28
dedf6e9dea2d6a30dda669c954eb2cc059553768
/src/webscraper/henry/scraper_henry.py
769860fe05e287b6053d2fb1480735edaeaf5468
[ "MIT" ]
permissive
rimjieun/aclu-bail-reform
a5b6fc71b30e053c08f6c3e0571346655c98cd30
87ac06375a52afdbe79e8ce04542d43498ee4d51
refs/heads/master
2021-08-30T17:36:25.701705
2017-12-18T20:57:01
2017-12-18T20:57:01
106,773,872
0
0
MIT
2017-12-18T18:52:31
2017-10-13T03:31:26
Python
UTF-8
Python
false
false
32,773
py
import requests import numpy as np import pandas as pd import time from warnings import warn from bs4 import BeautifulSoup from datetime import datetime class ScraperHenry(object): """Webscraper for Henry county jail, GA TODO: Update this from copied Athens-Clarke This county has 2 main sites to sc...
[ "Ross.Llewallyn@gtri.gatech.edu" ]
Ross.Llewallyn@gtri.gatech.edu
ad65d58afad4706819ae377f348ce126c1e23d7b
1a59761698398fbaa4de3640ba39ed44fbee3dc6
/exercise1.py
d2592530b7a7f5d638d3b9ea663c098567ce8c1a
[]
no_license
Michelangelo98/python-lab3
6a5fb1a045e653beaee59c33c9c1f6c212dac38f
41fcd5532563ded86937c6a00c80dd929d217532
refs/heads/master
2020-07-25T09:31:51.022805
2019-09-15T16:37:18
2019-09-15T16:37:18
208,246,559
0
0
null
2019-09-13T10:56:12
2019-09-13T10:56:10
null
UTF-8
Python
false
false
3,314
py
from telegram.ext import Updater,CommandHandler,MessageHandler,Filters import telegram from sys import argv def start(bot, update): update.message.reply_text("Hello!") def show_all_task(bot,update) : file_in = open(argv[1]) todo_list = file_in.read().splitlines() file_in.close() if todo_lis...
[ "s245478@studenti.polito.it" ]
s245478@studenti.polito.it
2512edb155a767f6b7f93f15c00b755dc45ef923
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/toontown/toon/DistributedToon.py
d9f2c0b0c6e00991934003b88c5ad0845ba6deeb
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
139,568
py
from subprocess import Popen import sys from panda3d.core import * from libotp import * from toontown.toonbase.ToontownGlobals import * from direct.actor import Actor from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from otp.otpbase import OTPGlobals from toontown.toonbase import...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
eac46b0f2d21a6532ee402e63d5d7d49626ae549
6f86dc36bd4bcf53fb4dfe7208db5c7220dce0bc
/test_cholesky.py
474aa34840863ce930a7f8e1e601ebaddadc4338
[]
no_license
ElfenStomp/Projet2_algonum
5950b3fb89bf83e5f13bf43e48140d709ea49b1b
19aff4bdefa7f571956df45dac9555cf068793a5
refs/heads/master
2021-01-22T07:23:26.210564
2017-03-11T12:44:34
2017-03-11T12:44:34
81,814,660
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
import numpy as np import time import matplotlib.pyplot as plt from matplotlib.legend_handler import HandlerLine2D import sdp_matrix as sdp import cholesky as cho ##Test incomplete cholesky and cholesky def test_cholesky_incomplet(): n = 100 nb_extra_diag = ((n**2) // 2) - n - 1 t1 = np.arange(0, nb_extr...
[ "lucboissieras@gmail.com" ]
lucboissieras@gmail.com
19ee46eafd56767062c10f852b133d62639531f8
ac3339c95afe9066d66ff009fb1b7c3fde927ee6
/Python/06_Django/02_Django/07_UserDashboard/apps/app_main/migrations/0002_auto_20170624_1918.py
55dd4e0299c385a3e6d10cf49ee03da56d3f5511
[]
no_license
aakasht05/DojoAssignments
5d5013700528084fd17f93ebaea55d20aeea2d9d
227f6deb62e75e07243ec9058d8557973b03840e
refs/heads/master
2021-05-03T15:46:39.527638
2018-04-13T05:59:38
2018-04-13T05:59:38
120,479,335
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-24 19:18 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('app_main', '0001_initial'), ] operations = [ ...
[ "aakasht05@gmail.com" ]
aakasht05@gmail.com
bbbe89c1a80c1289601bc6dae809de7b4cd5e5d6
fbacac402e2272e0664eda587cdb085cde0e6a95
/Python-Codes/MergeSort.py
ceb9c7a3a41f94377eb77024cdf3827ad09ee102
[]
no_license
bhandari-nitin/Python-Code
e041684777fcbee183d0609856cf2743ed5c7253
36b06821c639a79ffc650807d9b03eca4397449e
refs/heads/master
2020-03-11T17:19:55.274288
2018-04-19T02:00:49
2018-04-19T02:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
################### #### Merge Sort#### ################### #Supporting function for merge sort def merge(a, b): c = [] while len(a) != 0 and len(b) != 0: if a[0] < b[0]: c.append(a[0]) a.remove[a[0]] else: c.append(b[0]) c.remove(b[0]) if len(a) == 0: c += b else: c += a return c def mer...
[ "nsb007@users.noreply.github.com" ]
nsb007@users.noreply.github.com
219eae34810f92508e8de57b2ebb97decce009db
74f5cf339f3d8233d04d3a0be55231d9105bb983
/notifier/config.py
2ab3c76b41fbdecf7373a627b9966896ac77a6dc
[]
no_license
camvi/sample
eac77d9fc8e4d6898894c763917a5195158fb666
24a8c0ee53ed87cc20a4e3dc7c11860e91265f27
refs/heads/master
2020-04-16T12:36:04.430211
2019-07-16T20:00:05
2019-07-16T20:00:05
165,587,135
2
3
null
2019-10-30T23:56:05
2019-01-14T03:08:48
C++
UTF-8
Python
false
false
399
py
email_options = { "from_addr": '', "from_addr_password": '', "smtp_server": '', "smtp_port": 587, "ssl": False, "to_addr": "", "enabled": False } twilio_options = { 'sid': '', 'token': '', 'phone': '', 'to_phone': "", "enabled": False } camvi_options = { "ip": 'loca...
[ "steven.kan@camvitech.com" ]
steven.kan@camvitech.com
1c97b935612b094e79e1637a5a338585a5833fb8
3685ccf0910e7780421a57ca15ca5381510390ea
/schema_registry/schema_registry/extensions.py
a1795b787268361c9b7348c63bd46a7d77b867fc
[]
no_license
winex888/federation_graphql
9db3e5d6d75a9433906bb5cff34d7fd043380caa
00e296ad36b82083c2e16d4800b59cd6b0e2d66e
refs/heads/main
2023-08-03T09:37:11.038257
2023-07-24T10:28:53
2023-07-24T10:28:53
360,777,023
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
import logging from schema_registry.api.models import db from schema_registry.conf import settings async def init_db(_app) -> None: """ Инициализация подключения к бд """ logging.info('Подключение к БД... ({db_dsn})'.format(db_dsn=settings.DB_DSN)) await db.set_bind( settings.DB_DSN, ...
[ "winex888@mail.ru" ]
winex888@mail.ru
a016251f6e85bb504ee575a1832918e4b6055986
a22cd41cfaa1deb1a56149e613ef84d5f6507dbc
/Code/main.py
c911327676e1df83b26d6838a781e9d95a497cd5
[]
no_license
arpanghoshal/ImageCaptionGenerator
df5442d65ae2eba1583f7d52a9a0d8b5f9836166
4a03e51f4ab14cb780180ffd8df635ddf3bb6cff
refs/heads/master
2022-04-24T07:53:46.340135
2020-04-26T17:08:06
2020-04-26T17:08:06
258,891,494
0
0
null
null
null
null
UTF-8
Python
false
false
9,402
py
#%% import os import tensorflow as tf import cv2 import numpy as np import os from matplotlib import pyplot as plt import random import pandas as pd from scipy.sparse import csr_matrix from scipy.sparse import vstack import re #%% tf.device("/device:GPU:0") train_images_list = os.listdir('C:/Users/dell/Downloads/Flickr...
[ "arpanghoshal@outlook.com" ]
arpanghoshal@outlook.com
cf26d52e9926a5a057a1fb70657bda084f53ef49
60b1f668808de2b82c2fcb62b07b45bb165219f2
/egoi-api/models/form.py
4e4d4d5517af495318cbbc38c7b97704ef21786d
[]
no_license
andersonmiguel/Egoi
6d37bf7a3a7555e764f7a6e792b3ef1c68fe8e20
b5f59f9b33ea94e170f4e7e26c6a37a78d2874c2
refs/heads/master
2022-06-21T07:18:44.920786
2020-05-04T17:29:02
2020-05-04T17:29:02
261,250,618
0
0
null
null
null
null
UTF-8
Python
false
false
13,120
py
# coding: utf-8 """ APIv3 (Beta) # Introduction Just a quick peek!!! This is our new version of API. Remember, it is not stable yet!!! But we invite you play with it and give us your feedback ;) # Getting Started E-goi can be integrated with many environments and programming languages via our REST API. We'v...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
d022c401cac71d8aef3ec744f424139b4bfc884d
88ca4006c4d624320002c3f939f27e2ba3a59a5a
/ch6_queue.py
53936cf17d2c92ec70739941c09ef32b7b45e402
[]
no_license
sunice/PythonPractice
28dcf2bb5666f19e538c31783063f65b830ba7c3
64a4feb354fd84f64e193a8c5e62364fb50541bc
refs/heads/master
2016-09-06T12:50:51.491985
2015-05-25T00:49:51
2015-05-25T00:49:51
35,148,274
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
queue = [] def enQ(): queue.append(raw_input(' Enter New string: ').strip()) def deQ(): if len(queue) == 0: print 'Cannot pop from an empty queue!' else: print 'Removed [', `queue.pop(0)`, ']' def viewQ(): print queue CMDs = {'e': enQ, 'd': deQ, 'v': viewQ} def showmenu(): pr = """ (E)nqueue (D)equeue (V)...
[ "izhang@microstrategy.com" ]
izhang@microstrategy.com
85596fb3ff870c316d4d7b3553f515d5d673f9b9
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/desktop/kde/autostart/actions.py
5bd7b2827ebfb6bdfc4093743e2fb7ed2daacc96
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import kde def setup(): kde.configure() def build(): kde.make() def install(): kde.install()
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
05b6c7a41ca37a887e8c167923f6e78cb61e66c6
0f9772eef40e6a995514438020bfe245b0634d23
/UnicornsApp/app.py
f55610ece2f5f38113de2cbbcf76253188d21c2f
[]
no_license
koalaboy808/Crunchbase_InfoViz
4edeedd1236fcd0c0e6558cceb5d4dda75ef7c1d
d184190a45dfeff2c92223549e0d74fb076eef19
refs/heads/master
2021-01-01T05:02:11.590233
2016-05-06T12:29:58
2016-05-06T12:29:58
56,036,487
3
0
null
2016-04-22T22:33:15
2016-04-12T06:17:33
HTML
UTF-8
Python
false
false
398
py
from flask import Flask app = Flask(__name__, static_folder="public_html/static") @app.route('/') def load_root(): f = open('public_html/index.html', 'r') raw_data = f.read() return raw_data @app.route('/<path:name>') def load_file(name=None): url = 'public_html/' + name f = open(url, 'r') raw...
[ "gracenbrilmyer@ischool.berkeley.edu" ]
gracenbrilmyer@ischool.berkeley.edu
9446b56384f1741e397ae19977d5a6629a625280
8d51d35013a4081af42a5d2388c4df960b01ead5
/adb_screen.py
69fe5f88c496d65de655502e369e1f931f7fc076
[]
no_license
1998Don/ledi_git
9eae06c6a1c36736f74a56499f52266fd125ea4d
b05487361a5536593c842d2587adf0787e7390b1
refs/heads/master
2023-05-18T03:45:41.772941
2021-06-11T04:19:00
2021-06-11T04:19:00
353,873,956
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
import os import time class ScreenRobot: def screen(self,count): # 截屏 os.system(f"adb shell screencap -p /sdcard/{count}.png") if __name__ == '__main__': count = 1 robot = ScreenRobot() while True: try: robot.screen(count) os.system(f"adb pull -a /sdcar...
[ "oncwnuBR4VQqq5cn8LD3J51PreWA@git.weixin.qq.com" ]
oncwnuBR4VQqq5cn8LD3J51PreWA@git.weixin.qq.com
4bc54103403acae606e53e6f343613459226f1bf
e0709b5108445182a64a64acd1fc0523c903aeea
/app/urls.py
c89c2f3f558822e0ec6f837c824a2b2e3daf3a94
[]
no_license
SusanaPavez/ninja-gold
1c26fa40aeabf0d45580f02c72861a55d3e7726a
2f02eab0acefa5acb6da2653bc8c57eaf2770b95
refs/heads/master
2023-07-09T20:25:05.218740
2021-08-10T00:50:36
2021-08-10T00:50:36
394,426,269
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from django.urls import path from . import views urlpatterns = [ path('', views.index), path('juegos/' , views.juego), path('reset/', views.reset), ]
[ "susana.pavez@gmail.com" ]
susana.pavez@gmail.com
9d7a71d485c1957b6370b2641222562691b42037
3f40cd227393a1e9c1e76d7da3c9aaefe0581279
/venv/main.py
35680094676b7cbe1011d7743b8c5b27172918f8
[]
no_license
ponikka/Cardano
5df4075a98abc1f3360bc9ce2b06b3f072b41f74
01c0c47d99a4649f2ab23321f8be78e0f16b900f
refs/heads/master
2021-02-09T11:47:36.879496
2020-03-02T08:16:12
2020-03-02T08:16:12
244,184,774
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
from tabulate import tabulate from random import choice from string import ascii_uppercase from math import sqrt, ceil alphabet = list(ascii_uppercase) word = input('Enter the phrase\n').upper() side = ceil(sqrt(len(word))) if side % 2 != 0: side = side + 1 square = [] square = [[0] * side for i in range(side)] ...
[ "andreev_9000@mail.ru" ]
andreev_9000@mail.ru
9070f9ba6596fb792ae2d17601a5a9c0581820c3
fd8405ac0a5d062907c153f2f2e3569571366539
/irbisbooks/core/urls.py
17e44ae4a60722f69bb0d5da5d79b7b2b8dec070
[]
no_license
ri-gilfanov/irbis-books
aab471833035ae51088bccfb0806b863aaba3468
0b2a32013ab7f0c0d167e0864a7cb858e8e75add
refs/heads/master
2021-01-25T13:19:07.818513
2018-03-02T09:47:06
2018-03-02T09:47:06
121,642,933
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from django.urls import path from . import views urlpatterns = [ path('', views.book_search, name='book_search'), path('book_download/', views.book_download, name='book_download'), ]
[ "ri.gilfanov@yandex.ru" ]
ri.gilfanov@yandex.ru
d4ed49c5ad66c87e5989c74f78149de700205878
d104df89c9eeb210a10d45fb11b80bad6e53b30a
/150520/new_uri.py
39306da7bacddbbb8aacf3c6b09387a758ca5892
[]
no_license
tbc31cc/Python-scripts
119c54014c1379627237463a65c2b55bf7b5d4ca
1e38fe3359401b5a150eed191bbcf39dbafc3e1f
refs/heads/master
2021-01-10T21:55:25.479996
2015-05-20T21:48:47
2015-05-20T21:48:47
35,639,821
0
0
null
null
null
null
UTF-8
Python
false
false
4,617
py
# Sometimes Spotify stores multiple entries for an album or track, or you may accidentally add an album/track that isn't available in your country # If you choose a bad URI with the original search, use this to load a new entry that hopefully works # Now filters out results that are not available in specified country (...
[ "tbc31cc@gmail.com" ]
tbc31cc@gmail.com
60ce8d44e75ecb0dd3ee8a66f4522c00b97994c7
e7613f9e21d558cdb304f7268fdec433bbbbf08f
/Ohloh.py
d91bcdbab7382ccb1b354e773d337075b4dad563
[]
no_license
mdavid/web
0ea1b67ce2c6006d10c79638f345b344b1aeb129
53fd4ca7e2c0053f27bca9384f6b3cc142a17122
refs/heads/master
2020-12-25T16:35:34.746167
2011-11-21T23:08:02
2011-11-21T23:08:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
# -*- Mode: python; coding: utf-8 -*- # # Cherokee Web Site # # Authors: # Alvaro Lopez Ortega <alvaro@alobbs.com> # # Copyright (C) 2001-2011 Alvaro Lopez Ortega # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as publi...
[ "alvaro@alobbs.com" ]
alvaro@alobbs.com
331e2392e43bde4b749c5989c07d18264418908c
5a3264c41ded21d24d03bc38063468b45505e0e2
/venv/lib/python3.6/keyword.py
0538dd34072883fdef176cce0915897d0f4ca804
[]
no_license
vjs3/playing-with-flask
e4635912550ef5317eac99c507fc43c860ccd4fc
d2ef8f80a0501752e4a249543c883877cba35f0d
refs/heads/master
2020-03-23T10:21:05.605400
2018-07-18T12:41:07
2018-07-18T12:41:07
141,438,422
1
0
null
null
null
null
UTF-8
Python
false
false
47
py
/Users/vjs3/miniconda3/lib/python3.6/keyword.py
[ "vishwajeet.srivastava@produktmacher.com" ]
vishwajeet.srivastava@produktmacher.com
f37f65c77fc2cbe630313fe9779572d9243628eb
96aa2367affe0dff353e1aaac8713ded087c5f68
/utils/spiderPlot_SA.py
335ed09082b623795670281ed3731ae77c81e7d3
[ "Apache-2.0" ]
permissive
NMTHydro/Recharge
0fcca9a72b631d6c3834c62b84dfb096da6cb210
bbc1a05add92064acffeffb19f04e370b99a7918
refs/heads/develop
2020-05-21T17:39:37.702622
2020-04-08T17:10:40
2020-04-08T17:10:40
60,631,952
8
1
null
2016-10-26T17:01:21
2016-06-07T17:13:30
Python
UTF-8
Python
false
false
5,333
py
# =============================================================================== # Copyright 2016 dgketchum # # 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/licens...
[ "dgketchum@gmail.com" ]
dgketchum@gmail.com
677993bbfd1033c8a7be8606b387754616bdceda
853d4cec42071b76a80be38c58ffe0fbf9b9dc34
/venv/Lib/site-packages/networkx/algorithms/isomorphism/tests/test_tree_isomorphism.py
3082365a4bb61f2d8c99fcddb56c72e2af1d0aeb
[]
no_license
msainTesting/TwitterAnalysis
5e1646dbf40badf887a86e125ef30a9edaa622a4
b1204346508ba3e3922a52380ead5a8f7079726b
refs/heads/main
2023-08-28T08:29:28.924620
2021-11-04T12:36:30
2021-11-04T12:36:30
424,242,582
0
0
null
null
null
null
UTF-8
Python
false
false
7,443
py
import networkx as nx import random import time from networkx.classes.function import is_directed from networkx.algorithms.isomorphism.tree_isomorphism import ( rooted_tree_isomorphism, tree_isomorphism, ) # have this work for graph # given two trees (either the directed or undirected) # transfo...
[ "msaineti@icloud.com" ]
msaineti@icloud.com
42d0987e6e1898a0e5f60a297e7db42a013fab6d
bcf332d2f6ef6970cfaa480400a112ecee3f16b8
/stage07-artist2/s1level42.py
c5f34c2ae0814db387a0d43027c8ee7cd714f9b1
[ "Unlicense" ]
permissive
skilstak/code-dot-org-python
e1907d29f3727060e5064a5eefd68a0f9f4f5c70
ba127124386ecfdc20bd84592b3c271f8205d748
refs/heads/master
2020-04-04T19:34:23.531210
2015-07-10T12:39:19
2015-07-10T12:39:19
26,862,410
7
4
null
2014-11-21T20:28:20
2014-11-19T13:24:30
Python
UTF-8
Python
false
false
465
py
"""Stage 7: Puzzle 8 of 11 Here's the solution to the previous puzzle. Can you add just 2 more lines of code to complete the drawing? """ import sys sys.path.append('..') import codestudio artist = codestudio.load('s1level42') artist.speed = 'faster' a = artist for count2 in range(10): artist.color = artist.ran...
[ "rob@skilstak.com" ]
rob@skilstak.com
a3c03bb30d7ab9d2444696500ece8c13bfd13edd
2fabea234735beefc980b77b213fcb0dfb394980
/tensorflow_probability/python/math/sparse_test.py
aca018215524f5574b3df657c781c4d51d85533d
[ "Apache-2.0" ]
permissive
tarrou/probability
0eee452b525a6e6b3c7c98d467468e47f07e861b
d4d80a1c04ad0b3e98758ebc3f7f82887274384d
refs/heads/master
2020-08-08T11:16:42.441268
2019-12-06T17:35:17
2019-12-06T17:35:17
213,819,828
0
0
Apache-2.0
2019-10-09T04:20:19
2019-10-09T04:20:19
null
UTF-8
Python
false
false
6,549
py
# Copyright 2018 The TensorFlow Probability Authors. # # 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 o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
d9fd3e3f6f7c3d6c386072c39ae5b4202edd2d08
2f3c4ea9f0a9ab60a38fa8afc9087b327da643be
/Cross-Validation/validacao_cruzada_cross_val_score.py
5c5d20ef1eee0fe967bf20593a4b9ef4a4db4711
[]
no_license
guilhermelamb/Machine-Learning-Studies
e919c74f4b881c049b87b46191e65f3f77235d13
1abff5a0a063636468b00c68015f1a8c8b058757
refs/heads/main
2023-08-19T07:55:01.538452
2021-10-12T15:13:05
2021-10-12T15:13:05
333,989,001
1
0
null
null
null
null
UTF-8
Python
false
false
787
py
import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.impute import SimpleImputer from sklearn.model_selection import cross_val_score from sklearn.naive_bayes import GaussianNB base = pd.read_csv('credit_data.csv') base.loc[base.age < 0, 'age'] = 40.92 previsores = base...
[ "guilhermelamb@gmail.com" ]
guilhermelamb@gmail.com
1b5849466318aa075976375e01fa22fddd690edc
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interface_load_balancers_operations.py
e42bd6eccf89e6b11dbf117b8ae8f3bcc1bcf2ca
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
5,600
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
950b22a78a928e4427896cec1ba0d7c4cac4e011
6a4bfff7fcd78a0057401652c7f80d9a95a67267
/painless_redirects/tests/test_models.py
2f5b98013047caa595a23ef12657abfbbafe3877
[ "MIT" ]
permissive
benzkji/django-painless-redirects
25987ff984830be7e45b4d0af9a9cd0046beabe7
153721486b214ddd5365b6ac5769129562254dd5
refs/heads/master
2023-05-24T14:23:53.783400
2020-06-22T10:35:29
2020-06-22T10:35:29
22,944,463
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
"""Tests for the models of the painless_redirects app.""" from django.test import TestCase from . import factories class RedirectModelTestCase(TestCase): def test_model(self): obj = factories.RedirectFactory() self.assertTrue(obj.pk) def test_redirect_value(self): obj = factories.Re...
[ "bnzk@bnzk.ch" ]
bnzk@bnzk.ch
b5dd9c0170e9576edc3884cda967bd39951aad8f
13fa6b903547618d567c3284b9dc637024800947
/Código-fonte/navigation/SLAM/map_view.py
0d40fc571f4a21cc1956f3e290760dd3e68519b6
[]
no_license
EvoSystems-com-br/IniciacaoCientifica2018_ProjetoDrones
cc5a8a91dbc007cad85000a31465ed3950980bd1
8af0ca6930b326ae7bc0cd7bb9aa2d6aa62bceeb
refs/heads/master
2020-03-26T11:49:31.933492
2018-10-30T19:41:16
2018-10-30T19:41:16
144,861,611
0
3
null
2018-10-30T19:41:19
2018-08-15T14:11:58
Python
UTF-8
Python
false
false
2,335
py
import cv2 import time import math import numpy as np PIXEL_RATE = 1.75 OFFSET_X = 60 OFFSET_Y = 50 RANGE_Y = 150 CIRCLE_RADIO = 15 MARKER_SIZE = 20 class MapView(): def __init__(self): self.esquema = cv2.imread("data/esquema.png") self.esquema = cv2.resize(self.esquema, (480, 360)) self.dr...
[ "leonardotkimura@gmail.com" ]
leonardotkimura@gmail.com
19414b707e9497314917d44fc6119c2108d592fe
833f76620c02f4a02a19b3a2e13b0de6b947a28a
/agent.py
cb3a86f7f5228415e5fae3aa84580b222a4b80d4
[]
no_license
dszokolics/deepRL-continuous-control
0bf9af540b1cd4211da5f018a8f57fb7b6dcf0aa
6dfcb247fa792bcd794bf481a1cea1cb84f3a073
refs/heads/master
2023-04-27T17:18:34.014978
2021-05-16T10:24:16
2021-05-16T10:24:16
367,846,375
0
0
null
null
null
null
UTF-8
Python
false
false
8,626
py
import numpy as np import random import copy from collections import namedtuple, deque import torch import torch.nn.functional as F import torch.optim as optim from model import Actor, Critic device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") class Agent(): """Interacts with and learns fro...
[ "daniel.szokolics@gmail.com" ]
daniel.szokolics@gmail.com
128d2a94962ecb1a54b4c9c3ca840004e656b188
9e241ae22cafe7ed4aaba2f06632420a63ec44fd
/Project 142/main.py
c30ed130f6ed02a9f977b69ffb0d69621d3dc3a8
[]
no_license
Whitehat-Lataksh/Article-Recommending
b970f4d916733667aca20f85321710c1b40def62
ece145cc7b86288750339b38c319fd15e5490450
refs/heads/main
2023-08-11T20:23:14.510692
2021-09-17T04:55:17
2021-09-17T04:55:17
407,406,604
0
0
null
null
null
null
UTF-8
Python
false
false
2,367
py
from flask import Flask, jsonify, request from storage import all_articles, liked_articles, not_liked_articles from demographic_filtering import output from content_filtering import get_recommendations app = Flask(__name__) @app.route("/get-article") def get_article(): movie_data = { "url": all_...
[ "noreply@github.com" ]
noreply@github.com
6ab95716a6bff065c2b13765723aee7964f0a87a
ef25f5fe6b74e2c84dd299de2e23c3487f9b0746
/python_exc/gff_to_gtf.py
8b9f067f870b1ab50db3376e17259da74df17ba1
[]
no_license
feifei/python
32da1cb18ce19a05a62fc334ba4aab902b2cd0af
f0eaa69d5ca011e3075f9af56ef3aa756178e5e3
refs/heads/main
2023-05-30T19:14:06.132356
2021-06-04T13:45:03
2021-06-04T13:45:03
342,535,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
#!/usr/bin/env python ''' Convert GFF3 file to GTF, only tested on EupathDB output, which is not a standard GFF3 file ''' import os, re import argparse parser = argparse.ArgumentParser(description='Convert gff3 file to gtf file') parser.add_argument('gff_file') args = parser.parse_args() gff_file = args.gf...
[ "feifei.xu@ebc.uu.se" ]
feifei.xu@ebc.uu.se
516e00001cc17c4e8ab48673154d9f69351bbfe1
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_run_request.py
2f2ed7a707c8b543f090be7f386215b7b75e10ce
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,824
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
c403719d00c3664c1b2cb6adf47318a985282c01
f54a87aa1196cbe9ac56dfab44295201444edeaf
/130818_FlaskTweets/ex.py
784dc936880419c67a4f50eee2b2e00e78ddae36
[]
no_license
pythonflaskstudy2013/Weekly--Python-
66d291a1b48d3d7618235e1e141e1f1e40908ce2
5bf1416f10df3daa119d15f87c5cbb346ab6e81c
refs/heads/master
2020-03-27T01:11:07.148567
2013-09-01T04:13:46
2013-09-01T04:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
#!/usr/bin/env python from flask import Flask from flask import render_template, render_template_string, request import math app = Flask(__name__) books = ['Programming in Scala', 'Mining the Social Web', 'Pattern-Oriented Software Architecture'] @app.route('/inherit') def inherit(): return render_template('child....
[ "dgkim84@gmail.com" ]
dgkim84@gmail.com
3bd778d2775c1fc9582037bb95bba1c5063b9273
5414512230d3fb1b6ba70d9f1eabb2bfaae6f337
/List_Array.py
702a09f18efc8a9dfd700bebedcdb4e42f672300
[]
no_license
offenanil/dunder_method
950968d7eae9cf3d5714130f34997824a1e9b473
6956774f0aa06b7722431fce0dfebef595c01c97
refs/heads/main
2023-07-03T12:25:19.200499
2021-08-06T02:12:20
2021-08-06T02:12:20
392,276,739
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# name = "Anil" # age = 28 # phone = 984123 # address = 'Sydney' # print(name,'', age,'',phone,'',address) users = ['ram', 'sita', 'gita', 'hari'] # index start from o to infinity from left to right or first index refer as -infinity as well i.e last index will be -1 print(users) # if i want to print gita only the synta...
[ "offenanil@gmail.com" ]
offenanil@gmail.com
00fe1a578edc91b4d4734fcc27e0575cc817ea1f
eef7c5e1ece154796b8c0b8a772cc172de1cba50
/hashTable.py
546a9c50e5c09441eff558180435dd68053d849b
[]
no_license
NILOIDE/Coordinate_HashTable
957fdc2091daad47b39e591910ce880b7bd7f16c
5e761eefac10cec875b167df1903cd07129899d3
refs/heads/master
2020-06-15T23:28:31.299003
2019-07-05T14:37:58
2019-07-05T14:37:58
195,420,941
0
0
null
null
null
null
UTF-8
Python
false
false
5,801
py
import numpy as np class SpatialHashTable(object): """ Hash table used to split coordinate system into buckets. Objects can be assigned to all buckets that overlap with the provided volume. A hash table is useful in cases where it becomes inefficient to search through all items in the coordinate syste...
[ "noreply@github.com" ]
noreply@github.com
5b98146395ad29c6511925bbc47a3402f1251fa2
1e168ced1a4bdb53967021e082b98027aea9d38a
/1.알고리즘정리/정렬/삽입정렬.py
6e0f94afc79ed7d33b51a468d14c6182e85e3d68
[]
no_license
vvspearlvvs/CodingTest
3ebf921308570ac11eb87e6660048ccfcaf90ce4
fc61b71d955f73ef8710f792d008bc671614ef7a
refs/heads/main
2023-07-13T15:57:11.312519
2021-08-25T02:15:28
2021-08-25T02:15:28
354,232,513
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
#삽입정렬 arr = [7, 5, 9, 0, 3, 1, 6, 2, 4, 8] for i in range(len(arr)): for j in range(i,0,-1): if arr[j]<arr[j-1]: #한칸씩 왼쪽으로 이동 arr[j],arr[j-1]=arr[j-1],arr[j] else: break print(arr) print("최종") print(arr)
[ "gg66477@gmail.com" ]
gg66477@gmail.com
7c7062d3cb3ee5ceef84ad4f204bfa6737215dd7
15ae6eb98806ae70ac49b0a0214fab4c3d15e073
/数据科学基础/数据科学基础(/st_python/2017期末考试/大一班/ExhaustEmission.py
92ba2236c8a3e611613b64664a043bdf10b7d459
[]
no_license
huyuework/professional-class
b423c42d401d9731f498e1c7fd0da2ebc819ba68
e1717c32370b7cc9d82ca7c098e57104b04af9c6
refs/heads/master
2023-08-21T21:38:32.333392
2021-10-06T07:56:08
2021-10-06T07:56:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
# -*- coding:utf-8 -*- ''' log api example: log('output is: ' + str(output)) ''' from scipy.stats import t as T from scipy.stats import f import numpy as np class Solution(): def solve(self): t_2010 = ['6.0', '17.3', '104.3', '101.0', '120.4', '91.9', '30.0', '41.9', '23.9', '101.2', '6...
[ "191850059@smail.nju.edu.cn" ]
191850059@smail.nju.edu.cn
26e5e03a43169c15a3fd647c4f0679d97ffa81ca
d80c7fe8288acfd02fa79e240183c418e522d1aa
/1-Basics/Test/Q3/Test.py
fe3ac9d72f23225da1bc1dff45214d3059d66be5
[]
no_license
4ratkm88/COM404
82beeb84e7f6713a666038311e0d3e86d94ecc2e
5bf81d520ec44e19d15e2ee333c81542316c7833
refs/heads/master
2020-07-31T09:15:00.658014
2019-12-10T11:09:09
2019-12-10T11:09:09
210,556,814
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
print("How many zones must I cross?") zone=int(input()) for zone in range(zone, 0, -1): print("…crossed zone "+ str(zone)) print("Crossed all zones. Jumanji!")
[ "4ratkm88@solent.ac.uk" ]
4ratkm88@solent.ac.uk
4278e7b7f4ccb1865e1fc8e2c19350fb3bfb8177
2556d0bed5e90489ec8c93ad033db00b235e3de0
/main.py
e5979e99101b749dfa72a25e15f20ec0069e877e
[]
no_license
weichih654/movie_review
dd08392d029c3d7614178e5c49e97b6c973f659b
47fabf41262318568bd7dbcafb34e0acb531b674
refs/heads/master
2021-01-10T02:14:22.864684
2016-03-21T11:01:23
2016-03-21T11:01:23
49,113,499
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from libs.movie_review import MovieReview from libs.review_searcher import ReviewSeacher from libs.matcher import Matcher if __name__ == "__main__": searcher = ReviewSeacher("test") reviews = [] reviews = searcher.reviews for r in reviews: review = MovieReview(r) print "link = " + r ...
[ "weichih654@gmail.com" ]
weichih654@gmail.com
bcb16b3b56244d6ba5fc6daf20ec87ed4180b1ca
256afbb25a57bdc54b2c3e3e3fc7832c31c8467f
/mutt-to-omnifocus.py
224765e49122746dd7328bb35dbb13f24b8b17d3
[]
no_license
jeauxlb/mutt-to-omnifocus
a3b3ba29ff83220c1ce5f52ba351d44e6bad3ac7
5d19b109057eeaad1c600c4e0d5dccc952a03546
refs/heads/master
2021-01-19T08:26:52.169184
2019-11-03T13:02:26
2019-11-03T13:02:26
87,630,521
0
0
null
null
null
null
UTF-8
Python
false
false
3,832
py
#!/usr/bin/env python import sys import os import getopt import email.parser import subprocess from email.header import decode_header def usage(): print """ Take an RFC-compliant e-mail message on STDIN and add a corresponding task to the OmniFocus inbox for it. Options: -h, --help ...
[ "github@spam.joelbuckley.com.au" ]
github@spam.joelbuckley.com.au
9592e0575d2287aeb96b002e0a67d11474e08684
b83e9ded5aa46bf7c79a6cbce8a239a4ca0b38ba
/tests/utils_test.py
d4794967907dc4fe9f079e14a39ef5e15d4c4884
[ "Apache-2.0" ]
permissive
pnickl/neural-tangents
55cb2800dc8067fff5024e995fbe953070f41905
79a47a60b5dd00d03c5ae5f9edb44ca66463fc1c
refs/heads/master
2022-12-27T03:48:29.453417
2020-09-30T17:21:22
2020-10-01T00:44:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
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, ...
[ "romann@google.com" ]
romann@google.com
8b0bcb3eb0687fab864e824994d9b70939870f5d
5bcee9248d0bdebb134c61b4d0a3f3113337a569
/lesson_0902/01_lists.py
816ff09874e0073dca2b2f3d1f0fd9d842bcbb7b
[]
no_license
100ballovby/6V_Lesson
c2edbc652ea2ebec07eeed60060c16ae4b4792e4
4b6dfda323a628558bd63bd5569960004fc335dd
refs/heads/master
2023-05-08T07:49:14.569854
2021-05-25T06:40:53
2021-05-25T06:40:53
330,888,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
''' Список - упорядоченная структура данных, заключенная в квадратные скобочки. Элементы разделены между собой запятой. Чтобы создать список, необходимо придумать ему имя, поставить знак принадлежности (=) и открыть квадратные скобки. список = [1, 26, 15, 5.6, 'привет, Андрей'] ''' cars = ['audi', 'mercedes', 'toyota'...
[ "greatraksin@icloud.com" ]
greatraksin@icloud.com
fa4c4bebb84eeea7871eaf044e4ec0be599f769c
3d9506b859cdbf38a21549cd3d64b69ecde7674e
/GoogleCodeJam/2020KickstartRoundB/BusRoute.py
b7cceed2c849cd5b217cc8829a02467223137486
[]
no_license
bradykim7/Algorithm
1ae4c6e4e6d72687b660ddf0768a9174cc8d7b8c
053210a1205f4e62b367f85b65dcb60fcad74008
refs/heads/master
2022-06-25T04:46:55.265058
2022-06-17T08:08:52
2022-06-17T08:08:52
233,500,101
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
import sys; if __name__=='__main__': t = int(input()); for i in range(t): nd = input().split(); n=int(nd[0]); d=int(nd[1]); ans =d; x= list(map(int,input().rstrip().split())); for j in x: ans -= d % j print('Case #%d: %d'%(...
[ "bradykim777@gmail.com" ]
bradykim777@gmail.com
5d842f89dca376141a6a97ff7ced4635dd7d4015
82aa64e423bcd2d2ae77a58552417bee0e2e3c9a
/Python/Basic Data Types/Lists.py
a42ace84b7ade4cfccefe4845b940184473c576a
[]
no_license
abhi1362/HackerRank
7cdbb8a2fadd42e749fc5a7ce8635c2c303a9057
95dcd35ba554023c3d74c6e6574a1fbedc5e7845
refs/heads/master
2021-12-29T19:54:52.750399
2018-01-28T07:06:00
2018-01-28T07:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
if __name__ == '__main__': N = int(input()) array_list = [] def print_(): print(array_list) def sort(): array_list.sort() def pop(): array_list.pop() def insert(): array_list.insert(index,value) def append(): array_list.append(value) def reverse():...
[ "prvnbeloved@gmail.com" ]
prvnbeloved@gmail.com
b103132e0bee93fd37295128ccea5a1e416e708e
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/db/models/sql/compiler.py
27b8cc343b29121d30713bacbde5e9dfc595aef5
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
67,037
py
import collections import functools import re import warnings from itertools import chain from django.core.exceptions import EmptyResultSet, FieldError from django.db.models.constants import LOOKUP_SEP from django.db.models.expressions import OrderBy, Random, RawSQL, Ref from django.db.models.query_utils import QueryW...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
9f99434b0414a1ef779501b64fddd6cde711ca08
93022749a35320a0c5d6dad4db476b1e1795e318
/issm/giaivins.py
8b3e6e1be28e45ec640be9f57bc01bb251bc69f2
[ "BSD-3-Clause" ]
permissive
pf4d/issm_python
78cd88e9ef525bc74e040c1484aaf02e46c97a5b
6bf36016cb0c55aee9bf3f7cf59694cc5ce77091
refs/heads/master
2022-01-17T16:20:20.257966
2019-07-10T17:46:31
2019-07-10T17:46:31
105,887,661
2
3
null
null
null
null
UTF-8
Python
false
false
2,277
py
from issm.fielddisplay import fielddisplay from issm.project3d import project3d from issm.checkfield import checkfield from issm.WriteData import WriteData class giaivins(object): """ GIA class definition Usage: giaivins=giaivins(); """ def __init__(self): # {{{ self.mantle_viscosity = ...
[ "cummings.evan@gmail.com" ]
cummings.evan@gmail.com
3db3cc00113a6fb614fa79bc5f0a9a2b4972075f
de17da755ea35e928afbaf48d41c23053e43af8a
/CourseSite/courses/migrations/0023_auto_20180426_1616.py
fa77713cabba30af89bec7958051af1a7c5157c2
[]
no_license
m-gautam/Course_SIte-Project-
353aaec6695ca769cd16f38a0118ae4abc52bf9e
2b2cd1f3f4f85fec5c4b18355c111c67ce6dfcd0
refs/heads/master
2021-04-26T22:47:21.042398
2020-05-17T21:15:47
2020-05-17T21:15:47
124,147,812
1
0
null
null
null
null
UTF-8
Python
false
false
580
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-04-26 16:16 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0022_auto_20180426_1615'), ] oper...
[ "gautimeena456@gmail.com" ]
gautimeena456@gmail.com
ab2e70e575b38380a237025bcdbb447ce34fba5a
88eb514f6934c8b3e0a86f852f4202325a0546b7
/recepis/migrations/0002_rename_receitas_receita.py
a688a952255112952123cf68f9ae2fd4c30b680e
[]
no_license
AllysonAbreu/projeto-pw
2859a90c4fbb75e26397e068327b1e7ad791f2a1
5e85935ccc6329d1234081541201cc6f0287741f
refs/heads/main
2023-09-01T05:02:31.127160
2021-09-16T23:08:58
2021-09-16T23:08:58
402,399,271
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
# Generated by Django 3.2.7 on 2021-09-02 17:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('recepis', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Receitas', new_name='Receita', ), ...
[ "Aoa3698741@_" ]
Aoa3698741@_
b6683e488f292d0548f63346115c9b555ac19d7a
b7c1e5d140c3c41e86f206047145f7f296fed53a
/Textbook/Chapter 5/pandasSeriesVsDataFrame.py
e8417f1cc0a8b2c5317aff757d4ee250887236df
[ "MIT" ]
permissive
jlcatonjr/Learn-Python-for-Stats-and-Econ
c2fbe29b324e70ceb832beafdd42d0accb37d9f9
194671592937562e08c92e0ef5f4793d4911701c
refs/heads/master
2023-05-11T17:17:05.934290
2023-05-10T20:12:10
2023-05-10T20:12:10
148,912,065
22
21
null
null
null
null
UTF-8
Python
false
false
300
py
#pandasSeriesVsDataFrame.py import numpy as np import pandas as pd dataDict = {"range":np.arange(10)} dataSeries = pd.Series(dataDict) print(dataSeries) print(dataSeries["range"]) dataDF=pd.DataFrame(dataDict) print(dataDF) print(dataDF["range"]) print(dataDF["range"][5:9]) #print(dataDF.loc[5:9])
[ "jlcatonjr@gmail.com" ]
jlcatonjr@gmail.com
ba82f9b61b3eb06587fc5c2185adf9b9c041c8cf
bf33b8048d99eec4f693945d84f401ebe6083db2
/mybottle/sign/signup.py
d3f9f6c81e196105173160280a3cdb324ed8d510
[]
no_license
yzhang3beatit/filesForServer
89f507937447511c12c6f9f35aa146b7619cbf42
eb7a551bc815c9f981ede01d058d9e0b6136971f
refs/heads/master
2021-01-19T05:10:50.982745
2016-07-21T06:28:50
2016-07-21T06:28:50
61,519,501
0
0
null
null
null
null
UTF-8
Python
false
false
5,950
py
from bottle import route, run, request import xml.etree.ElementTree as ET from time import strftime, localtime, time, clock from bisect import bisect_left from xls.xls_record import get_records_from_xls, write_to_excel mem_dir = '/home/y184zhan/tmp/' readable = mem_dir+'xml_file.txt' origin = mem_dir+'msg_file.txt' K...
[ "yang.2.zhang@nokia.com" ]
yang.2.zhang@nokia.com
e02299e147fabe086c8864cff41d59b0059baa48
4da0c8906c9cd671e3a4bee3a6ee801a353e3d9a
/Water/Water/urls.py
8ce00454b8099894f86046e7d4be2dfd650f7cf9
[]
no_license
avpakh/GVK
2a5a699caa8a986a3fd0dadbe2160fc9da5bf193
ac8b8d8ad5cd5ef8485e98cd532a29cd420e0cae
refs/heads/master
2020-06-13T10:35:36.663668
2017-01-06T09:01:42
2017-01-06T09:01:42
75,392,559
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
"""Water URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
[ "aliaksandr.pakhomau@gmail.com" ]
aliaksandr.pakhomau@gmail.com
1cfd98dc3d88365f1d5b352e981615a2a6699195
cad76727b7e8f15abd7c65e9134f46c4e151f742
/Python/stan-irt.py
935b90138427857b3cf5d1d7800af1614b34ac80
[]
no_license
AMBrown0/DataVizAss02
258e3b9d2f38791edf69dfcc9f78dc13400df256
22dcf219990540df9835d148f6c6c1219ad8aa15
refs/heads/main
2023-03-19T17:47:34.186892
2021-03-12T10:15:17
2021-03-12T10:15:17
276,904,746
0
0
null
null
null
null
UTF-8
Python
false
false
2,085
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 23 12:07:25 2021 @author: andy """ # Generated by Selenium IDE import pytest import time import json from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.suppor...
[ "andy@jivedive.local" ]
andy@jivedive.local
7ccca3ee25e9eb35c488266d7448ee7645100a6d
9ae680db168db40ae8feae0dc9cb42dacabbd012
/functest.py
9aa06fc03d61aa5f6d9c42e005721d6c117b51c7
[]
no_license
tonysimpson/pyras
5ed4ec212b916ecb5eb3b9db8e05b43d585bb8a8
defbddffa04aa50c108138a63c3dd76957615994
refs/heads/master
2021-01-18T13:54:55.572472
2014-06-13T09:12:53
2014-06-13T09:12:53
5,888,372
1
0
null
2014-06-13T09:10:21
2012-09-20T15:07:52
Python
UTF-8
Python
false
false
1,078
py
# use ipython -i functest.py import pyras client = pyras.RemoteCommandClient('127.0.0.1') print client.info() client.register('echo "Hello"') print client.info() client.start(1) client.register('while true; do echo "oh no!"; done') print client.info() client.start(2) print client.info() client.stop(2) client.run('echo ...
[ "agjasimpson@gmail.com" ]
agjasimpson@gmail.com
aa2900526f8aa579b7ea48f1111b139ef3a08d84
ea96439b3fe8745e06875aa8913d487c2715d2fc
/NeuroAnalysisTools/scripts/analysis_database/0150_plot_ori_vs_rf_axis_DS.py
bb4e8680d69bc7cc65c1d6de2cc656954ee14eb7
[]
no_license
zhuangjun1981/NeuroAnalysisTools
00561ddd1ee8339b5c2c7ab5d7318ac207460c5c
0c7acdb745ef93e009ec538af11252e743f9d430
refs/heads/master
2022-07-18T05:55:22.200409
2022-07-07T23:01:29
2022-07-07T23:01:29
226,148,154
14
2
null
null
null
null
UTF-8
Python
false
false
5,877
py
import os import pandas as pd import numpy as np import matplotlib.pyplot as plt import NeuroAnalysisTools.SingleCellAnalysis as sca import scipy.stats as stats import h5py # df_path = r"G:\bulk_LGN_database\dataframe_190530171338.csv" # rf_maps_folder = r"intermediate_results\rf_maps_dataframes_190529210731" df_path...
[ "wood_stocker@hotmail.com" ]
wood_stocker@hotmail.com
de1e37fad3f75f1bdda9b267bc475dc95f331d6c
1ebdd01866600631e5db0abba10aab4c66abd4b7
/bench/summarize.py
45180f1d8cdc521bee6afedcd1a1493151e068df
[ "BSD-3-Clause" ]
permissive
UCSD-Modern-Storage-Systems/MSS-KV-lab
40abf3b0b14c5145e16df2f084f52b902b9062aa
64f3f7bb17f45eedca24615cb9c4965e1cc4b7a2
refs/heads/master
2020-08-17T11:42:35.343853
2019-11-26T17:05:51
2019-11-26T17:05:51
215,661,403
3
3
null
2019-11-22T05:36:13
2019-10-16T23:18:40
C++
UTF-8
Python
false
false
1,454
py
import sys benchmarks = [ ('fillseq', '100'), ('fillseq', '1024'), ('fillrandom', '100'), ('fillrandom', '1024'), ('overwrite', '100'), ('overwrite', '1024'), ('readseq', '100'), ('readseq', '1024'), ('readrandom', '100'), ('readrandom', '1024'), ('deleteseq', '100'), ('deleteseq', '1024'), ('deleterandom...
[ "juk146@eng.ucsd.edu" ]
juk146@eng.ucsd.edu
3e8e2a961f16337985eed5135e0657e6cf615172
ccc688aeae19f19e2167c3e730025a1b43b7f717
/gazefollowing/training/train_gazenet.py
618fed1be3889333ff7c1655a6b9968c0a97ea7b
[]
no_license
PrimeshShamilka/GOO
32cddb1c3b4ad83ec901f1e61e0defe00205991f
6a374cceed59cb6925099382f3f56aef52820d07
refs/heads/main
2023-09-01T05:47:59.185702
2021-10-13T19:07:01
2021-10-13T19:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,198
py
import torch import torch.nn as nn import torch.optim as optim from torch.autograd import Variable import numpy as np import cv2 from sklearn.metrics import roc_auc_score from tqdm import tqdm def F_loss(direction, predict_heatmap, eye_position, gt_position, gt_heatmap): # point loss heatmap_loss = nn.BCELoss...
[ "henri.tomas@eee.upd.edu.ph" ]
henri.tomas@eee.upd.edu.ph
8577baebc54712a01aff72b610290ff2ca7776d9
cd8d6d20351b86b6e2b28500467d8999f9fa4439
/src/image_scraping_step_3/alert_program.py
83a08327cd98f3738516d57a4b84849217aa1d3c
[ "MIT" ]
permissive
mhmulder/image_captioning
bf706f574ba12e3daa5b9b8bfdf0d733233abb7d
ed22a3b4948d1ce5e8db580433d58945a2a5f010
refs/heads/master
2021-09-05T19:46:12.694992
2018-01-30T16:46:29
2018-01-30T16:46:29
115,772,652
1
1
null
2018-01-30T16:46:30
2017-12-30T04:07:16
Jupyter Notebook
UTF-8
Python
false
false
794
py
from twilio.rest import Client import os accountSID = os.environ["TWILIO_SID"] authToken = os.environ["TWILIO_TOKEN"] myTwilioNumber = os.environ["TWILIO_NUMBER"] myCellPhone = os.environ["my_number"] def send_end_alert(project_name, body='Default', accountSID=accountSID, authToken=authToken, myTe...
[ "michaelmulder@Michaels-MacBook-Pro.local" ]
michaelmulder@Michaels-MacBook-Pro.local
9579a5ea7fad7a79327c9acb00f549bdbc62ea29
6b9ee9e92d0c0075b7098f43c7b0cd3cd49b4f63
/ball.py
ab81587f8faf0ae9f6f2ccec3ddecc81faaef82e
[]
no_license
dohyunmoo/Bouncing-Balls
429c5f9c6adf3afbb958ce858f962f221c8c9f35
5dc081a7a6b54bf18d360a984f9c30f9141d2829
refs/heads/main
2023-02-17T21:52:48.607727
2021-01-08T13:18:42
2021-01-08T13:18:42
327,908,171
0
0
null
null
null
null
UTF-8
Python
false
false
2,177
py
import pygame import random pygame.init() class Ball: def __init__(self, radius, color, startingx, startingy, friction, weight): self.radius = radius self.diameter = radius*2 self.color = color self.x = startingx self.y = startingy self.vx = friction ...
[ "noreply@github.com" ]
noreply@github.com
23880f4bb3b0fbc30871786ed1a37bc44186075e
19651a8d1eabe37f74dc7562c2bf3b5dcb990b32
/newton-jakobi.py
70c4afc5f7fadfbe2a2583978042a64cfb2769b3
[]
no_license
damoklov/numeric-methods
b9f7571244da8da65b6fed31747c45eaefa7973d
3b9cde027ed1330862487f8b9eb72ddc66a95b25
refs/heads/master
2023-02-11T19:15:29.305119
2020-12-28T12:22:25
2020-12-28T12:22:25
311,182,365
1
0
null
null
null
null
UTF-8
Python
false
false
6,754
py
def f1(x1, x2): return x2**2 - x1**2 - 0.1 - x1 def f2(x1, x2): return 0.1 - 2*x1*x2 - x2 def newton_jakobi(): eps = 0.001 argument_vector = [0.5, 0.5] prev_vector = [0, 0] identity_matrix = initialize_matrix() f = [0, 0] while True: f[0] = f1(argument_vector[0], argument_vec...
[ "mishanya@protonmail.com" ]
mishanya@protonmail.com
2abb9c8ae38feb38f85cf81f93563ee9f1f3914a
5cc9623db04e92a9ddee09c27a168d04c39b6e19
/model/encoder.py
beb00c3109d7b79d9fd4e96c2b9b261a3958fa8f
[ "MIT" ]
permissive
FengHZ/VAEGAN
2e4d8c65d39e0b79a983b1be45c29987ecfc3f3e
0c113dc973b19fe212aca07a4a898fa919346d41
refs/heads/master
2020-05-22T04:52:42.156153
2019-05-12T07:30:09
2019-05-12T07:30:09
186,224,301
2
1
null
null
null
null
UTF-8
Python
false
false
2,451
py
from torch import nn import torch class Encoder(nn.Module): def __init__(self, num_channel=3, num_feature=64, latent_dim=100, data_parallel=True): super(Encoder, self).__init__() features = nn.Sequential( # input is (num_channel) x 64 x 64 nn.Conv2d(num_channel, num_feature...
[ "fenghz@zju.edu.cn" ]
fenghz@zju.edu.cn
7baa26a26fc7ed616e1f4cfa37d283d39e72ebf3
bbdd7f44884844cd0f7332d63945852dc2b53083
/mypy_drf_plugin/transformers/fields.py
f4f8a10b2f9cc833f0b0e6cedc3fe13340f2fdf9
[ "MIT" ]
permissive
private-forks/djangorestframework-stubs
e258e1dfc2af80fdf93322338ea3ce5452087e2d
18427718c913f3d23ef7a4636c8205df42999cf2
refs/heads/master
2020-04-25T09:11:04.067894
2019-02-24T22:25:03
2019-02-24T22:25:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
from mypy.nodes import TypeInfo, Var from mypy.plugin import FunctionContext from mypy.types import AnyType, Instance, Type, TypeOfAny from mypy_django_plugin import helpers def get_private_descriptor_type(type_info: TypeInfo, private_field_name: str, is_nullable: bool) -> Type: if not type_info.has_readable_memb...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
d09ebfb916301f9570de15677478373cadbd685a
9db18bcc847ffdff8ca1aa8fe2470bdd1d17f609
/LAB1/generate_similar_event.py
32b83c22ea6385ae25638088ea0d280d905273fa
[]
no_license
ShangGaoG/CVLAB
4397c125ec412329aa45af705465aae73b2f1d16
b9f1c24ba35a7af56f556a63796798bd4e8cc234
refs/heads/master
2023-03-25T15:48:07.566625
2020-12-09T00:49:54
2020-12-09T00:49:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
from utils.misc import * import pandas as pd from sklearn.metrics.pairwise import cosine_similarity from matplotlib import pyplot as plt import sys import numpy as np def generate_similar_events(query_path,gallery_path): df = pd.read_json(gallery_path) gallery_id = df['gallery_id'] gallery_vector = df['gal...
[ "11711603@mail.sustech.edu.cn" ]
11711603@mail.sustech.edu.cn
12b66e27cea728950994f9107bed6a3ac88c37e0
977fcb9a15da52340dab332f7668dde57317f9f3
/tests/sentry/mediators/sentry_app_installations/test_creator.py
501aa0dfe71cb01db55eb1eb8186413f1a00b25c
[ "BSD-2-Clause" ]
permissive
conan25216/sentry
8649761d4cbd2ff7ec21b1ac171f0997da2e692f
fe38ab19fb096688140b2065da0e45fa26762200
refs/heads/master
2020-04-09T12:37:20.846884
2018-12-04T12:20:26
2018-12-04T12:20:26
160,357,556
1
0
BSD-3-Clause
2018-12-04T12:56:51
2018-12-04T12:56:50
null
UTF-8
Python
false
false
1,566
py
from __future__ import absolute_import from mock import patch from sentry.mediators.sentry_app_installations import Creator from sentry.models import ApiAuthorization from sentry.testutils import TestCase class TestCreator(TestCase): def setUp(self): self.user = self.create_user() self.org = sel...
[ "noreply@github.com" ]
noreply@github.com
137acc6d4721ec38018a668237bf95435195db61
6f2a072148725d98d2bc96235fde4e0d83aa9bbd
/lib/assets/scoring.py
ce268a59ff200a95cdabcb147bf66a9dc28f670e
[]
no_license
jjh5166/prempicks
1fbf86fb4fe2eec952245f7ed9d4c9441a03257c
24b8951b57049a2d3872b917e7ad1e79156f2f53
refs/heads/master
2023-01-22T02:59:15.803754
2021-01-11T21:01:14
2021-01-11T21:01:14
144,220,632
0
0
null
2023-01-19T14:06:00
2018-08-10T01:20:46
Ruby
UTF-8
Python
false
false
3,060
py
import http.client, sys, os, json, boto3 from os.path import join, dirname from dotenv import load_dotenv dotenv_path = join(dirname(__name__), '.env') load_dotenv(dotenv_path) APIkey = str(os.getenv('FOOTBALL_API_KEY')) AwsAccessKeyID = str(os.getenv('AWS_ACCESS_KEY_ID')) AwsSecretAccessKey = str(os.getenv('AWS_SECRE...
[ "jjh5166@gmail.com" ]
jjh5166@gmail.com
a2a16481c7b8f3bafa0f35b577b432e7fc6f2adc
b4272e8a7863c27644f104c42e1d99c6cd02d8a7
/15_printing_CL_arguments.py
5e066b025df1f3293dfcde3c98a25165554d2580
[]
no_license
skanda9927/year2020
613856b7cfa3405f268d930fc4cbdd9897b5709e
3745e1caadb4051399505d2cc9e642a930a0c088
refs/heads/master
2020-12-22T04:15:44.428379
2020-01-28T05:50:43
2020-01-28T05:50:43
236,667,507
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
#15.Common line arguments to python: Print count, list them, print the last argument value #PSEUDOCODE # Step 1 : import the module named sys # Step 2 : copy the variables stored in the system built in list argv ...
[ "noreply@github.com" ]
noreply@github.com
8de04f6692ceeecd098e35ffafb2f1c85e4a9be7
cae1c6d385be49c48342733d105fe0ef817b4c02
/tajna.py
e77b4821e9372ac4094130b880fe3aacda51665e
[]
no_license
silvikavcak/pyladies
f7c61228b5170dfec7537766abbe97f355d5feb9
da46798e76dfffdc1c91961b9b6271256ea48b40
refs/heads/main
2023-03-19T08:03:12.613500
2021-03-05T18:44:40
2021-03-05T18:44:40
344,892,517
0
0
null
2021-03-05T18:44:41
2021-03-05T17:59:45
Python
UTF-8
Python
false
false
308
py
heslo = input("Zadaj heslo a poviem ti tajnostku: ") if heslo == "susky-susky": print("Ak sa chytis prstom pravej ruky laveho ucha a pri tom poskaces 3x 50 cm vysoko, do zajtra bude na nebi o hviezdicku viac.") else: print("Tajomstvo velkej Arkany ti je zapovedane ty nehodny smrtelny cervik!")
[ "noreply@github.com" ]
noreply@github.com
942bc1da706f608feed237c33fbfea72edac961d
59e1df5962e76086bc5d9f88d96115d9a92bcda6
/拆分文件.py
ad97317632c30db1e6d4aa9383f986bc6d6f131d
[]
no_license
jiajinlong0301/ibond_jia
484a68b7e3c9ee265824d31e8658448c04aa1d8a
8dc6dd90ff68aa2f91359792837d2052e57d8576
refs/heads/master
2023-01-28T03:11:56.759342
2020-12-03T07:28:58
2020-12-03T07:28:58
313,263,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
import os import pandas as pd # filename为文件路径,file_num为拆分后的文件行数 # 根据是否有表头执行不同程序,默认有表头的 def Data_split(filename,file_num,header=True): if header: # 设置每个文件需要有的行数,初始化为1000W chunksize=10000 data1=pd.read_table(filename,chunksize=chunksize,sep=',',encoding='gbk') # print(data1) # ...
[ "jiajinlong0301@hotmail.com" ]
jiajinlong0301@hotmail.com
7f168e5086d999df72156adf6973e55195c755a1
42a41febceba5e1ae9e410a1b07868e4e4955af1
/NomticketDjangoAPP/core/migrations/0019_empleado_nombreusuario.py
9efce0188efd1b5f211e6eb513cb6315b6e46642
[]
no_license
ignacio1985/NomTicket_Django
f06fff185a3e15bb7b8d28c9dfa34000c2eb8d37
38600a89c4219952f3ff4fbac7b92fc7b00b3920
refs/heads/main
2023-04-09T07:35:48.448970
2021-04-23T03:16:44
2021-04-23T03:16:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# Generated by Django 3.1.2 on 2021-04-18 18:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('CORE', '0018_auto_20210418_1354'), ] operations = [ migrations.AddField( model_name='empleado', name='nombreUsuario'...
[ "williams.parra.parra@gmail.com" ]
williams.parra.parra@gmail.com
3b07e931dae87dcef3d537f0fd4eb5ac052fa0ae
00d7e9321d418a2d9a607fb9376b862119f2bd4e
/sandbox/launcher_crap.py
7024adf4c0e3f981f6383ef806bc67fc73597616
[ "MIT" ]
permissive
baluneboy/pims
92b9b1f64ed658867186e44b92526867696e1923
5a07e02588b1b7c8ebf7458b10e81b8ecf84ad13
refs/heads/master
2021-11-16T01:55:39.223910
2021-08-13T15:19:48
2021-08-13T15:19:48
33,029,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
import urwid palette = [('header', 'white', 'black'), ('reveal focus', 'black', 'dark cyan', 'standout')] menu = {"121f02, 200Hz": 'do 121f02, 200Hz', "121f03, 200Hz": 'do 121f03, 200Hz', "121f04, 200Hz": 'do 121f04, 200Hz'} items = [urwid.Text(k) for k in menu.keys()] content = urwid...
[ "pims@mimsy.tsc.grc.nasa.gov" ]
pims@mimsy.tsc.grc.nasa.gov
f352ec7987f6f9addb4cc8a333cc19463e602697
5332fef91e044555e605bb37cbef7c4afeaaadb0
/hy-data-analysis-with-python-2020/part02-e06_file_count/test/test_file_count.py
c7d3f00f44cd8f760c403784983ad6ec08d26a70
[]
no_license
nopomi/hy-data-analysis-python-2019
f3baa96bbe9b6ee7f0b3e6f6b8b0f3adfc3b6cc8
464685cb377cfdeee890a008fbfbd9ed6e3bcfd0
refs/heads/master
2021-07-10T16:16:56.592448
2020-08-16T18:27:38
2020-08-16T18:27:38
185,044,621
4
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
#!/usr/bin/env python3 import sys import unittest from unittest.mock import patch from itertools import repeat from tmc import points from tmc.utils import load, get_out module_name="src.file_count" file_count = load(module_name, "file_count") main = load(module_name, "main") class FileCount(unittest.TestCase): ...
[ "miska.noponen@gmail.com" ]
miska.noponen@gmail.com
64acd726fc80f2bd6451b0e36ae4cde1f625e944
8c2de4da068ba3ed3ce1adf0a113877385b7783c
/hyperion/torch/trainers/xvector_trainer.py
190b2a30b1c2f28d38d0c6999040ce4ae6a76f9f
[ "Apache-2.0" ]
permissive
hyperion-ml/hyperion
a024c718c4552ba3a03aae2c2ca1b8674eaebc76
c4c9eee0acab1ba572843373245da12d00dfffaa
refs/heads/master
2023-08-28T22:28:37.624139
2022-03-25T16:28:08
2022-03-25T16:28:08
175,275,679
55
20
Apache-2.0
2023-09-13T15:35:46
2019-03-12T18:40:19
Python
UTF-8
Python
false
false
5,015
py
""" Copyright 2019 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ import os from collections import OrderedDict as ODict import logging import torch import torch.nn as nn from ..utils import MetricAcc from .torch_trainer import TorchTrainer class X...
[ "jesus.antonio.villalba@gmail.com" ]
jesus.antonio.villalba@gmail.com
aad8fc74a43007757734b635989c1238c35e75a1
da8cc1653f8ed4e553fb908a06a5b59e7113d188
/migrations/versions/053be705576c_new_fields_in_user_model.py
0a3697dbd131f4c0b4597105e4f10b6f8db52417
[]
no_license
isaachulvey/tft-companion-app
31a6ae4e768f45c17a635188687079754cc8a876
ec80fcd0033315e92db78da8cf7575ecca7ad9a2
refs/heads/master
2022-10-07T05:04:28.935310
2020-04-08T18:58:02
2020-04-08T18:58:02
249,787,351
2
0
null
2022-09-16T18:21:09
2020-03-24T18:31:34
Python
UTF-8
Python
false
false
792
py
"""new fields in user model Revision ID: 053be705576c Revises: 7546358da6cd Create Date: 2020-04-07 11:36:58.369264 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '053be705576c' down_revision = '7546358da6cd' branch_labels = None depends_on = None def upgrad...
[ "isaachulvey@gmail.com" ]
isaachulvey@gmail.com
583cccb8c6a66535f378859ee3db2a6dccf5f457
c3f3ce2557682a53199a5ff6e8faf988dfa395fa
/1 - Introduccion/ejercicio2.py
919c9eb7a908c3eb0d7afde5f95470d814441e24
[ "MIT" ]
permissive
yang-itimec/Python-basics
b6a19cb94882fac917245ec9af2f3eca2bbc25d5
52fbe2019619d760d393dbfed96bbd823b9ba698
refs/heads/master
2020-04-10T17:44:27.691443
2018-12-14T14:47:57
2018-12-14T14:47:57
161,182,531
0
0
null
2018-12-11T15:44:54
2018-12-10T13:52:58
Python
UTF-8
Python
false
false
954
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 10 16:51:53 2018 @author: PENG YANG YANG """ ######################## # TEMA 1 - EJERCICIO 2 # ######################## ''' Ejercicios mutaciones, alias y clonaciones 1- Crear una lista con los meses del año (lista1). 2- Crear un alias de la lista (lista2)...
[ "noreply@github.com" ]
noreply@github.com
1eba989f3c48ca9bd2b7d760fa77a54a3143f1b6
39262b161d4d8eb290ed1a013a23a33d45be533b
/package/gpsuploader.py
eb18c63592ba52d8d5c8d45104bd90f6d19e865d
[]
no_license
watermelonharry/socket_func_pyqt
be9394105f5cf7c442479c04b0ac18c2a05c3605
bedbc5d3946a49eced472fcdea8cc70d727ec0ab
refs/heads/master
2021-01-16T21:29:17.226298
2017-07-27T12:24:22
2017-07-27T12:24:22
59,997,128
1
0
null
2016-06-04T02:44:53
2016-05-30T09:19:47
Python
UTF-8
Python
false
false
5,459
py
# -*- coding:UTF-8 -*- import time from PyQt4.QtCore import QThread, QMutex, QMutexLocker import threading import requests, os """ 基于百度鹰眼api:http://lbsyun.baidu.com/index.php?title=yingyan/api/track """ ##config file path CONFIG_PATH = '/'.join(os.getcwd().split('\\')) + '/websrc/gps_config.dat' CONFIG_URL = 'http://a...
[ "bongbongca@foxmail.com" ]
bongbongca@foxmail.com
4b3a9d826820ca989271e40c1f7f39529da12284
abe2b440071962ad1f0eaaf34ddfcccafba4b5f8
/15_descriptions.py
604ea6aea2f8b79fb547797d407d4684c46be0b4
[]
no_license
shauseth/converting-bdb-to-48hd
f097e253648c9e8d49b539548cb58d5adfb1cb87
0c4daba99247d366b0da58b021e8d6a9ec78ae2e
refs/heads/master
2020-05-18T02:29:28.604783
2019-05-21T18:22:05
2019-05-21T18:22:05
184,116,399
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# SH-I import pandas as pd import os data = pd.read_csv('second-generation-2.csv') id_list = [] seq_list = [] for filename in os.listdir('.'): if filename == 'desc.py': pass elif filename == 'second-generation-2.csv': pass else: # get IDs split = filename.split('_'...
[ "noreply@github.com" ]
noreply@github.com
775b26f16fa53c27ec712bf92cfb31553c92f19d
e24511af0fdf299130fdf1e27b7eda1e35064e7c
/app/coupon/apps.py
bab96066b77b4592b0cf454c6ef51fa085d53a67
[]
no_license
amitbhalla/lms
623dc6764dba5ee67a7f30d3882b7917b6441c2e
0810a875008b371a7bd3996742ad3b04ce037b14
refs/heads/main
2023-07-19T12:12:40.570958
2021-09-17T16:55:29
2021-09-17T16:55:29
405,055,595
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from django.apps import AppConfig class CouponConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "coupon"
[ "amit9815@gmail.com" ]
amit9815@gmail.com
0340fad6844580f9a0ff3797769971efcc2f644a
52a4d869976a97498bdf56a8d0ff92cac138a136
/Bioinformatics Textbook Track/Chapter 1/rosalind_ba1d.py
4e6d4b0953bb2d76fa147c0368a4f8c3ded360aa
[]
no_license
aakibinesar/Rosalind
d726369a787d848cc378976b886189978a60a3a5
375bbdbfb16bf11b2f980701bbd0ba74a1605cdb
refs/heads/master
2022-08-18T09:36:00.941080
2020-05-24T18:49:38
2020-05-24T18:49:38
264,722,651
0
0
null
2020-05-17T17:51:03
2020-05-17T17:40:59
null
UTF-8
Python
false
false
747
py
def occurrences(genome, sub): """ :param genome: genome for processing :param sub: pattern for which we find indexes of occurnces :return: list of indexes """ start = 0 indexes = [] while True: start = genome.find(sub, start) if start > 0: indexes.append(start...
[ "noreply@github.com" ]
noreply@github.com
488814efa60cb7ab1632ed5a4b887fa663a17a55
3a6235a79585ed60da42ae6bd69d140c80a5ac4a
/Week_01/加1.py
06b05dff7e9e38a989632355c6b053e0a9ec6136
[]
no_license
Jackson026/AlgorithmQIUZHAO
dea6c58d972bc5039e392a16676ad1d60398e1a8
09feae0783c8d21bf1b9aaad7fa6917f05ff7162
refs/heads/master
2022-12-16T23:40:42.151486
2020-09-02T07:14:21
2020-09-02T07:14:21
279,640,530
1
0
null
2020-07-14T16:41:36
2020-07-14T16:41:35
null
UTF-8
Python
false
false
650
py
# 取巧的办法是转换成字符串然后变为int,最后再转换回去原来的形式,通用性不强,就不作为一种方法写在这里 # 按位运算,倒序,如果是9,就变为0,向前循环,不为9则直接加1; # 如果为999这种特殊形式,则在循环结束后,列表头插入1 .insert(位置,数) def plusOne(self, digits): if not digits: return digits + [1] for i in range(len(digits) - 1, -1, -1): if digits[i] == 9: digits[i] = 0 else: ...
[ "guozijia26@126.com" ]
guozijia26@126.com
152edf169d78c30351a491fd1d68dccb08de71c1
a9ee8b29cc753cbcf3167e2741c779ad43ab22a3
/api/wsgi.py
6a23d3e1ea9a1a6b3e64ad17e9afb8029d5cf9b3
[ "MIT" ]
permissive
josecolinapy/fifa-21-api
f76f06679be9f696f03ce0f3e6e5be5fc5c4c0f4
5ed75b60a8c302ad7d4fde04a07312de18c10b1e
refs/heads/main
2023-03-18T17:03:31.483890
2021-03-14T15:04:56
2021-03-14T15:04:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
""" WSGI config for api 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_SETTINGS_...
[ "othmaane59100@live.fr" ]
othmaane59100@live.fr
374b46162c7dde768082c279d494fa3a42728b61
ff623c438f0089cf23cdb089fde693e340882164
/metabase_ngse/hooks.py
27e6dd5cb62016922011c60514f74400182b1747
[ "MIT" ]
permissive
Suraj787/metabase_ngse
eb1de77ff4e86685db0f2f98bb2a8376b5cd654a
be626804148650af73bb00926ed9052201274c04
refs/heads/master
2023-01-04T12:30:51.092201
2020-10-31T20:47:27
2020-10-31T20:47:27
308,969,125
1
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from . import __version__ as app_version app_name = "metabase_ngse" app_title = "Metabase Ngse" app_publisher = "firsterp" app_description = "Metabase for Nandan GSE" app_icon = "octicon octicon-file-directory" app_color = "grey" app_email = "support@firs...
[ "Anikets@criscoconsulting.in" ]
Anikets@criscoconsulting.in
209cf4447eef471a6961ceff4174497f1acc3937
caa947ea6cbbb44c80f01702a4076708451eaa73
/splider_for_douban.py
3c00e458a309669504c1bf16436621e9837d16df
[]
no_license
lugq1990/chatbot_douban
e2696aa56657fda3d4afdc6775390db691df3e9b
f7d746dfcdd5ea853e99ad96c7dfe7cebc4b31e8
refs/heads/main
2023-08-27T01:36:55.246079
2021-10-25T07:21:17
2021-10-25T07:21:17
418,353,579
0
0
null
null
null
null
UTF-8
Python
false
false
3,285
py
import re from bs4 import BeautifulSoup import requests import time import os from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager import json class DoubanSplider: def __init__(self) -> None: self.base_top_url = "https://movie.douban.com/top250?start={}&filter=" ...
[ "guangqiang.lu@accenture.com" ]
guangqiang.lu@accenture.com
01ed2276aaa8ccf051e68654900f77f99150ae15
4de03eecadc4c69caf792f4773571c2f6dbe9d68
/tests/seahub/share/views/test_send_shared_link.py
c265c943065929d26d603cb4f387bfa7dd71b7aa
[ "Apache-2.0" ]
permissive
Tr-1234/seahub
c1663dfd12f7584f24c160bcf2a83afdbe63a9e2
ed255e0566de054b5570218cb39cc320e99ffa44
refs/heads/master
2022-12-23T16:20:13.138757
2020-10-01T04:13:42
2020-10-01T04:13:42
300,138,290
0
0
Apache-2.0
2020-10-01T04:11:41
2020-10-01T04:11:40
null
UTF-8
Python
false
false
3,204
py
from mock import patch from django.core import mail from django.core.urlresolvers import reverse from django.test import override_settings from seahub.profile.models import Profile from seahub.profile.utils import refresh_cache from seahub.test_utils import BaseTestCase class SendSharedLinkTest(BaseTestCase): de...
[ "colinsippl@gmx.de" ]
colinsippl@gmx.de
9d55ea5cb4addbc1cc6d2fe4e49086c6505e4551
a75f9cf4f03b01f8e7cc12d311434beca1b233e5
/vstools/writers.py
fbfa81a2230924a07bc92e36d66720df61542f97
[ "Apache-2.0" ]
permissive
libyal/vstools
3169dbf62be79eb309f9d23a06e068cb3bd1ed81
f251133b39131735576baad2077bc47821e9b99b
refs/heads/main
2023-04-13T06:54:29.549207
2023-04-10T10:41:06
2023-04-10T10:41:06
95,857,124
4
1
null
null
null
null
UTF-8
Python
false
false
75,608
py
# -*- coding: utf-8 -*- """Project and solution file writer classes.""" import abc import re from vstools import definitions class FileWriter(object): """File writer.""" def __init__(self, encoding='utf-8', end_of_line='\r\n'): """Initializes a file writer. Args: encoding (str): encoding. ...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
38a81091e93b14ef1136031dcd8071060b60dc35
1ff6cd4b1114b530a0f2918f6d2193b2ce270bcf
/Week-2/Day_4/die_roll.py
6d39b06fc9f5660daad7d8d3199b080ad48932b8
[]
no_license
Ace238/python-bootcamp
e8fac460488701eff6453bd81ddab8eb4059a2aa
adea58b8f9b87a52338181f677f01d6cbc802046
refs/heads/master
2020-12-05T15:08:58.366028
2020-01-16T05:22:02
2020-01-16T05:22:02
232,150,937
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
import random def roll_die(dice_max): """ returns a die roll - random integer between 1 and 6 0 through 6 are each side of a standard die """ return random.randint(1,dice_max) def monte_carlo(n): """ performs a monte carlo simulation of a die roll [PARAM]\t n (int) - number of samples [RETURN]\t None - p...
[ "tmilien000@citymail.cuny.edu" ]
tmilien000@citymail.cuny.edu
e54bf365ae9ed61261b9902b687769361a488445
dfbc64250dfdecbf70377b6cf6549e04521795ec
/codingALGO/test_solve.py
02d9f40f03d44be312992c89f5619a2bc3a41fa2
[]
no_license
sagarrshd/mm
60a939d09cc0cef3ce191a3e3b7d387fbcbbcca5
7fb9287c567507a5e6a05b6367bc21b15d03d984
refs/heads/master
2023-04-18T10:11:28.492485
2021-05-01T19:14:15
2021-05-01T19:14:15
363,487,969
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
import pytest from solve import count_sum_lists def test1(): A = [1, 2, 8] k = 1000 B = 2 res = count_sum_lists(A, k, B) assert res == 3 def test2(): A = [5, 17, 10000, 11] k = 1000 B = 4 res = count_sum_lists(A, k, B) assert res == 0
[ "sagarrshd@gmail.com" ]
sagarrshd@gmail.com
848b91f09b40a31a3b9e5798f08cb9dc68841a53
bd8b3d43a465b26f0d86a3007b41d6a3c22345a6
/svsutils/iterators/__init__.py
6bde41920adb8b8446e1ce7254e5cba9a485b1fe
[]
no_license
nathanin/svsutils
aed5d361ff4716390e093d6bab6bf3cc6dd69a9b
5789c3e589ce9244b21a24d6cdc3909bc4e04517
refs/heads/master
2020-06-25T06:06:37.019860
2019-12-17T05:08:35
2019-12-17T05:08:35
199,225,548
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
from .iterator_factory import PythonIterator, TensorflowIterator __all__ = [ 'PythonIterator', 'TensorflowIterator' ]
[ "ing.nathany@gmail.com" ]
ing.nathany@gmail.com
4ae5f578d4843f3c010396030d69aa334d3cb6e3
3fdda7a9a8efb5c41302fe39cf8cd74c09aa2326
/fbhackk.py
dba2d05a9f3a2997c14a7edaf34c360ab584cebd
[]
no_license
RandiSr/dark-fb
330809c38fe713c2d70e1571a17f400ba7e5edf5
0088d24c5b344fc71d8327dcf70ef1717cf224c4
refs/heads/master
2020-07-22T02:51:11.719676
2019-09-08T03:09:14
2019-09-08T03:09:14
207,052,986
1
1
null
null
null
null
UTF-8
Python
false
false
204,567
py
#Coder By: RandiSr #mau Recode silahkan;v #Team: Muslim Cyber Army #Github: https://github.com/RandiSr #Channel Youtube: RANDIOLOYY import marshal exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00sI\x04\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x...
[ "noreply@github.com" ]
noreply@github.com
0187aa1b8fa9854b1f253d952bda031992f4b423
20a3cc1106fa86fc2d45cd1728cc87d5db97e1f7
/old/pddbm/bug3.py
7d0a81d444b74c37e2e621dc7a08f50608b54c18
[]
no_license
sarahboufelja54/galatea
f5664f0b3117629b2c5bbe078a1bd52bb5e359e6
002a9f2905868be25b71770190fb2d5eda11c861
refs/heads/master
2020-12-04T13:45:07.697189
2018-12-12T16:27:09
2018-12-12T16:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
import numpy as np from sklearn.svm import SVC import time rng = np.random.RandomState([1,2,3]) m = 1000 n = 1000 X = rng.randn(m,n) w = rng.randn(n) b = rng.randn(1) y = (np.dot(X,w) + b ) > 0 t1 = time.time() svm = SVC(kernel = 'linear', C = 1.0).fit(X,y) t2 = time.time() print 'train time ',t2 - t1 t1 = time.t...
[ "goodfellow.ian@gmail.com" ]
goodfellow.ian@gmail.com
14af6f90daa0b86d6aa3eb173dd22c4267364a3e
500a32cfae24028417215a79146c04d8cd0f12a3
/Figures/FigureS4.py
05fbe12a5889a12b91b07fcc4905e52285789c73
[]
no_license
daphnar/URA_paper
bd431296d97908483db2f5be2d472074fcd03fe7
c08eba53c63ef7a410797491c60dd6dd0975ad62
refs/heads/master
2021-07-31T20:13:47.490159
2021-07-27T21:27:06
2021-07-27T21:27:06
232,321,758
0
0
null
null
null
null
UTF-8
Python
false
false
5,727
py
import matplotlib.pyplot as plt import seaborn as sns import numpy as np import pandas as pd import os import matplotlib as mpl #from Unicorn.Figures import nature_guidline_utils from dark import cmap_map from URA_paper.Figures import nature_guidline_utils sns.set_style("ticks", {'axes.edgecolor': 'black'}) pd.set_o...
[ "aaaa85Al" ]
aaaa85Al
7085b43ca65f48b5500e2da986e2f06eda812634
b2eaa0024ba6c8c7986bf3e107deb7308e3658d0
/python/06_day/try_guess.py
494995380aa080787578df45b3f4f6c1e3b94487
[]
no_license
olitskevich/szkolenie
aabf9589b0d5114761e77a0a4934821e1ba051ac
0e8d752e9753f262edae58d61795544c34fb6563
refs/heads/master
2020-04-25T05:51:52.234718
2019-03-09T14:42:56
2019-03-09T14:42:56
172,557,290
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import random random_number = random.randint(0,100) attempt = 0 max_attempt = 7 my_number = 555 try: while my_number != random_number: print("Your mumber: ") my_number = int(input()) attempt+=1 if my_number == random_number: print("Congratulation! You've guessed the numbe...
[ "olgalickewicz@uber.com" ]
olgalickewicz@uber.com
7df75a268c13f4de545db13ec51df02cd9cdbda5
ddcc89dc88961f37d50c0f9d893f265bf34afdb3
/test/test_simple_module_pass.py
f6be33ae365cbfb62819b6d08a8740fcd1ff5120
[ "Unlicense", "LicenseRef-scancode-unknown-license-reference", "NCSA", "LicenseRef-scancode-public-domain" ]
permissive
mulle-nat/property-syntax-modernizer
f351319314a0216e5e241fa03f9d95a3764a6590
93445534221840d0df6cfb2d2f4ceb73f37ac962
refs/heads/master
2020-08-07T08:57:02.149734
2019-10-07T12:46:11
2019-10-07T12:46:11
213,381,270
0
0
Unlicense
2019-10-07T13:11:51
2019-10-07T12:47:05
C++
UTF-8
Python
false
false
442
py
import sys, unittest from tools import SamplesTestCase OUTPUT_FOR_GLOBALS = '''\ Found global named "gfloat": type = float* Found global named "gppfloat": type = float*** Found global named "gint": type = i32* ''' PROG = 'simple_module_pass' class TestSimpleModulePass(SamplesTestCase): def test_on_globals(self)...
[ "eliben@gmail.com" ]
eliben@gmail.com
244651275300889c2f7a9b4928af9c1940ad6614
4be9a5bdb8e051001b78c8f127ccc1a7f85c14e7
/bugzilla/migrations/0002_auto_20170205_1515.py
6b518a7b30a1bea8b1cda0d937046f6fe0febbe5
[]
no_license
quentin-david/heimdall
f72a85606e7ab53683df2023ef5eaba762198211
84a429ee52e1891bc2ee4eb07a084dff209c789c
refs/heads/master
2021-01-21T10:26:28.895663
2017-07-21T19:19:46
2017-07-21T19:19:46
83,432,596
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-02-05 15:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bugzilla', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
[ "david@hemdgsa01.local.lan" ]
david@hemdgsa01.local.lan
56949c4db28de69646a0608078ccaa2021987d61
4de645802568e0317654e75afbe6d79db69317e5
/pythonx/snippet_helpers.py
53c12d4bac09f6abed674f1b50d73b5819df9624
[]
no_license
liiil825/dotvim
25da0b499f0b94c69d26336d9917e3019e4c8262
40dea6d8970b02a8d141909207ff72bb1e9723c8
refs/heads/master
2023-04-05T22:31:48.199682
2023-03-29T08:39:04
2023-03-29T08:39:04
34,794,542
2
1
null
null
null
null
UTF-8
Python
false
false
135
py
def fraction( a, b ): try: return "%.1f" % ( float( a ) / float( b ) ) except ( ValueError, ZeroDivisionError ): return "ERR"
[ "40129878@qq.com" ]
40129878@qq.com
5221169cb09ef2c4efb91362996d07102086d2d9
fb8b3a8d5aff40d9d3169e53d94887f3053eb891
/19国赛openmv/main.py
77bf04f6390b17960c8a744531ea18e21cc7f910
[]
no_license
nmgzzy/smart-car-history
e4f887da98bd53a59ac8c0c42cc3933d59d4e8a1
7d5f7eecb9692792a345ef8092add42013e2bb4a
refs/heads/master
2021-04-01T21:15:26.868584
2020-03-18T12:16:15
2020-03-18T12:16:15
248,215,450
0
0
null
null
null
null
UTF-8
Python
false
false
8,989
py
import sensor, image, time, pyb import my_ips, my_file, my_uart, my_key sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framerate(2<<11) sensor.set_framesize(sensor.QQVGA)#160x120 my_ips.init() sensor.skip_frames(time = 500) sensor.set_auto_gain(False) sensor.set_auto_whitebal(False) sensor.skip_frames(t...
[ "283003556@qq.com" ]
283003556@qq.com
a3cf7cefbf7e8537e0c1fe7a704c4158e33f881b
39e03684081b27311385a0ab31afcc2e09883e5c
/configs/reppoints/bbox_r50_grid_center_fpn_1x.py
f971b5b7b8c78a6abca727e7015b96d085b5f33b
[ "MIT", "Python-2.0" ]
permissive
witnessai/MMSceneGraph
8d0b2011a946ddcced95fbe15445b7f4da818509
bc5e0f3385205404c712ae9f702a61a3191da0a1
refs/heads/master
2023-08-12T06:54:00.551237
2021-10-12T03:04:21
2021-10-12T03:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,462
py
# model settings norm_cfg = dict(type='GN', num_groups=32, requires_grad=True) model = dict( type='RepPointsDetector', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, ...
[ "23736866+Kenneth-Wong@users.noreply.github.com" ]
23736866+Kenneth-Wong@users.noreply.github.com
f1c755702c61d3a4c3f5e88391da6a3096250b2f
5399dd4580ea3f528753bc8b52a981743d62f8bb
/keras/keras36_hist3_wine.py
6844fef8e2c4a5ad39b62167985de24abdf45314
[]
no_license
iwillbeaprogramer/Study
3ac7c118ffe3981d78b4ad263cb62432eae13970
3bfe571da5bbfc545b994e5878e217f9306bde14
refs/heads/main
2023-05-07T16:31:05.564973
2021-05-27T14:50:00
2021-05-27T14:50:00
324,044,441
8
1
null
null
null
null
UTF-8
Python
false
false
1,733
py
from sklearn.datasets import load_wine from sklearn.model_selection import train_test_split from sklearn.preprocessing import MinMaxScaler,OneHotEncoder from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras.callbacks import EarlyStopping import matplotlib.pyplot ...
[ "wisixicidi@gmail.com" ]
wisixicidi@gmail.com
ae1a109105467ef139d1001e81abe371486a106d
15e0928f1fad3c4a21823bdce4bc4e76d3d2801a
/teambitionHelp.py
1fe4180389083c096e89e89d77983d59e77ec661
[]
no_license
HuangJT/teambitionApi
a610b70ffa1492804f9b63afe57c844ceb7ece70
12494bba65246f1e548792bc3a02b87e05f59a81
refs/heads/master
2022-07-05T21:59:55.998780
2020-05-11T02:43:58
2020-05-11T02:43:58
262,920,368
1
0
null
null
null
null
UTF-8
Python
false
false
3,090
py
# -*- coding: UTF-8 -*- import requests import json import pymysql from pymysql import cursors import time import urllib import codecs from datetime import datetime, date, timedelta # pip install PyJWT import jwt import sys # reload(sys) # sys.setdefaultencoding('utf8') from settings import SETTINGS class Teambit...
[ "huangjiantao@qinsilk.com" ]
huangjiantao@qinsilk.com
84340a119e8fdb72320174077f9aa1c0605ca64f
9d566e153a254390ed758f4e945781899b6dcd07
/03_django/02_django_crud/articles/views.py
e9c78e872870c579df912051bc9513f1f01afb88
[]
no_license
baambox5/TIL
6f1b0fdc342ed29b85a68404b916fc6f4cace7bf
0419779ccbf506a1e89d581b98658dd07b78388c
refs/heads/master
2023-01-13T01:14:08.125234
2020-01-17T14:36:34
2020-01-17T14:36:34
195,918,108
0
0
null
2023-01-07T11:27:08
2019-07-09T02:31:02
Jupyter Notebook
UTF-8
Python
false
false
2,964
py
from IPython import embed from django.core.exceptions import ValidationError from django.shortcuts import render, redirect from .models import Article, Comment # Create your views here. def index(request): # articles = Article.objects.all() articles = Article.objects.order_by('-pk') # DB가 변경(가능한 권장) # ...
[ "baamboxo@gmail.com" ]
baamboxo@gmail.com
1a978bc0c5339f155784d67e949cf1b613a17034
112b6fbda45328775cde667d084f7c4a2c5898bf
/app.py
9a3521caf6c87e0927ff12566f8c63d9f210161a
[]
no_license
jenienam/Online-Personality-App
5a93fe37075198bf73cdb70f45dac43ed97a8125
1d913f4d9e6bc00beb358153b3f91234cd0176da
refs/heads/master
2022-12-16T05:27:19.138811
2020-09-17T07:17:11
2020-09-17T07:17:11
287,020,047
1
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
# Dependencies import numpy as np from flask import Flask, request, render_template import requests from web_scraper import redditScraper, twitterScraper from data_cleaning import calculateModelParameters from model import personalityTypeResult app = Flask(__name__) @app.route('/') def home(): return (render_temp...
[ "jenien@uci.edu" ]
jenien@uci.edu