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
a263da4dff27642cbba7b2e5ad28a280d0eca142
d8fb2645a62ee9cfb6463db95eb5ec20b964c3a4
/easyBay-Arbitrage/easyBay-Template-Mainpage/Get_api_key.py
fd8b441913d11ea02cac4194e8e62ac83d765508
[]
no_license
StasonJatham/ebay_arbitrage
19588cb91a4fa06bfac27bc8f53182cd03e4d56f
1c5d1bfe8a418cdf8343adab82982351008f6290
refs/heads/master
2022-04-25T06:20:49.649094
2020-04-14T18:59:58
2020-04-14T18:59:58
255,695,389
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
import SQLite_util key_db = "key.db" SQLite_util.make_db(key_db) conn_key = SQLite_util.create_connection(key_db) def insert_key(conn_key, name_key): sql = ('INSERT INTO api(name, key) VALUES(?,?)') cur = conn_key.cursor() cur.execute(sql, name_key) conn_key.commit() return cur.last...
[ "noreply@github.com" ]
noreply@github.com
09e7e5ef47e97306900cdba937855d18616087eb
33b96bf73c17ce990badf7d8d3a1e36e8d6fdf5c
/merger.py
b4d4833d5c21751fce54a71d831ca788fe607b0e
[]
no_license
josch/flowy
a084cacb8853d278d88edc591696044cb8345749
c26650a990a0eb460a85d78ecf572b05232bfde8
refs/heads/master
2016-09-05T19:11:09.286535
2014-06-26T06:47:04
2014-06-26T06:47:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,337
py
class MergerStorage(object): def __init__(self, id, tuples_table, record_class): self.id = id self.tuples_table = tuples_table self.RecordClass = record_class def put(self, gr_rec_tuple): self.tuples_table.append(self.RecordClass(*gr_rec_tuple)) def flush(self): ...
[ "git@cherry.eecs.jacobs-university.de" ]
git@cherry.eecs.jacobs-university.de
95ae0c3b490836892aaaf640b652ddac1f7bccbd
29e2479d56516746710a78925026b77939a648c0
/Simulation.py
884ff36ed0019906a434544d7f0f57abcd6f4fbd
[]
no_license
oboyle-mikey/Darts_Simulation
bcf8366dc4f4875a9c6d6c17bb0d64f212a3efa1
2ea93deea50b34185e365e9ea7e9aaab500b0e13
refs/heads/master
2020-04-18T03:43:36.209989
2019-01-23T16:01:47
2019-01-23T16:01:47
167,210,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
# Simulation Version 4 - Simulate Set Match Best of 9 Sets Between MVG and GA # Encorporate Moving Average import scipy as sp import pandas as pd from scipy.stats import gamma from scipy.stats import dweibull from scipy.stats import dgamma import numpy as np import random # ----- Fit Model ----- dtf_data = pd.read_c...
[ "oboylemi@tcd.ie" ]
oboylemi@tcd.ie
5aec7d812d592d9d37ec207d0ed43b8a3d21710a
58e51a01846176168bcd83175f63b240cd6db916
/apps/news/models.py
070e6feb4346a30d22e857ca08a87b62ba33f7b9
[]
no_license
reddytocode/projectX-backend
7e79795cd0c6951ca39f93e316af7a61b631940d
05fb5f6e14889ecac94ad52c13796eb14c59814d
refs/heads/main
2023-07-18T06:37:16.298857
2021-06-30T20:29:33
2021-06-30T20:29:33
380,374,575
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from django.db import models class News(models.Model): # Todo: inherit guid = models.TextField() title = models.CharField(max_length=100, blank=False) link = models.CharField(max_length=200, blank=False) content = models.TextField() author = models.CharField(max_length=100, blank=False)
[ "aaabeeelooon@gmail.com" ]
aaabeeelooon@gmail.com
96f6f9ac0737834833d02358cf390a717465b92b
b389eef10abe0bd641fa2e0d59d39ea3bbfcc1f8
/3.1.Diploma/classes/config.py
d089d1c80a89711a4f62c5b213b96d5669539c02
[]
no_license
britishpop/py-homework-advanced
d38e4d3e8cee461fa2ea6b084e1586aaed55335f
ebb733f930f3f8a7621f0227ac7bd4bb3d40fdec
refs/heads/master
2020-05-29T17:22:17.244459
2019-09-08T08:28:15
2019-09-08T08:28:15
189,273,190
0
0
null
null
null
null
UTF-8
Python
false
false
2,558
py
# -*- coding: utf-8 -*- class BaseConfig: def __init__(self): self.fields = 'sex, city, country, common_count, \ interests, music, movies, books, domain' def get_sex_for_search(self): while True: try: sex = int(input("Кого будем искать? \ ...
[ "drmakc@gmail.com" ]
drmakc@gmail.com
fbd82173bc020d33c9b494c47ce76065aecd4c95
7982dfa24ed74a529370ba7983bc406453f5c2e3
/CS596/code04_lr/mglearn/plot_linear_svc_regularization.py
5f8e0dcd18b3f294df20fbc36dcbb61b3348f920
[ "MIT" ]
permissive
ko-takahashi/college
0e5c16116b8796bd8bdd16075ecade4214659733
c333f1e1767f1206687f5e9b0fb3f0145b2d5d6a
refs/heads/master
2021-07-16T15:11:45.572037
2021-02-23T19:26:56
2021-02-23T19:26:56
241,546,658
0
0
MIT
2020-10-13T19:40:06
2020-02-19T06:10:56
C#
UTF-8
Python
false
false
1,104
py
import matplotlib.pyplot as plt import numpy as np from sklearn.svm import LinearSVC from sklearn.datasets import make_blobs from .plot_helpers import discrete_scatter def plot_linear_svc_regularization(): X, y = make_blobs(centers=2, random_state=4, n_samples=30) fig, axes = plt.subplots(1, 3, figsize=(12, ...
[ "ko@kotakahashi.com" ]
ko@kotakahashi.com
708ecc8ee8c8d0d1aa5ec7b103cc1b829c2a315c
1fafda83aae5271216fb86ea1d5b707c7da668d4
/main/parameters/params.py
ffc064682813c684f36bfaa47ef04fb27885b0dd
[ "MIT" ]
permissive
gardner-lab/multi-channel-tweetynet
59c7cbec0786dda44db4674d45d62888b884772b
90c48ed3b4c6764d63faba84048d427a6965b3bb
refs/heads/master
2023-06-19T10:18:09.392147
2021-07-16T21:55:16
2021-07-16T21:55:16
357,639,585
5
1
null
2021-04-14T23:36:58
2021-04-13T17:40:21
Python
UTF-8
Python
false
false
1,655
py
"""Global Parameters""" from src.utilities import get_labelset # SPECIFY PATH TO AUDIO FILES AUDIO_DIR_PATH = "" # SPECIFY PATH TO ANNOTATION FILES ANNOT_DIR_PATH = "" # SPECIFY TARGET DIRECTORY FOR GENERATED SPECTROGRAMS SPECT_DIR_PATH = "" # SPECIFY SUBDIRECTORIES FOR SPECTROGRAM WINDOWS AND WINDOW LABELVECTORS W...
[ "lukevs@hey.com" ]
lukevs@hey.com
4437a098d0d85456af03169ebdf8511a93836e30
ce0ce732d00a401a91e2385c7382a4dd62a711c0
/trees/binary_tree_methods.py
0d3dd84052f0fb7874ec358199ac50ed0c87c6c8
[]
no_license
causeyo/algorithms
d8f4544f1abfa6d389bb7f9bf6c5d3e6d168dcd9
ee109a70f16c6402b15c0badbaac97c4888c819b
refs/heads/master
2020-12-22T13:58:45.021132
2020-03-29T21:07:25
2020-03-29T21:07:25
236,809,800
0
0
null
null
null
null
UTF-8
Python
false
false
2,212
py
class BinaryTree(object): def __init__(self, rootObj): self.key = rootObj self.leftChild = None self.rightChild = None def insertLeft(self, newNode): if self.leftChild == None: self.leftChild = BinaryTree(newNode) else: t = BinaryTree(newNode)...
[ "noreply@github.com" ]
noreply@github.com
8d0fe3775c506e3d3501551bd2693ec99edb0d39
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/parties/DistributedPartyFireworksActivity.py
cbe6cf69ed730e33a04c428825cbb5fd222fffe2
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
7,941
py
# 2013.08.22 22:23:22 Pacific Daylight Time # Embedded file name: toontown.parties.DistributedPartyFireworksActivity from pandac.PandaModules import Vec3 from pandac.PandaModules import OmniBoundingVolume from pandac.PandaModules import AlphaTestAttrib from pandac.PandaModules import RenderAttrib from direct.actor.Acto...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
83f6803e4b1251b1ff5c7750399269d0197edd3d
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2449486_0/Python/ynasu/B.py
2540035aa29eb33019f7839e601b4e6d8c3a9332
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
921
py
#!/usr/bin/env python import sys yes = "YES" no = "NO" def solve(heights): N = len(heights) M = len(heights[0]) for y in xrange(N): for x in xrange(M): possible = True for y1 in xrange(N): if heights[y1][x] > heights[y][x]: possible = Fa...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
9b2d5da0da5dd6e9a59db81a603a939fdaf06381
02acf074fe53e821c198bfe8059d8364a099c1cd
/grade_helper.py
9914587e08e770a0af940c31b8c8f39d4f346e07
[]
no_license
kkweon/chinese_grade_helper
0865b38540aa8db1890dd8a4fce5d3ef8fea5b15
b01339052c62133b2e5c9c7515b091f4055083f6
refs/heads/master
2016-09-05T12:13:40.749343
2012-12-08T06:04:37
2012-12-08T06:04:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,822
py
# -*- coding: utf-8 -*- import string import re from Tkinter import * import tkFileDialog REGEX = re.compile('(\d+|\d+\.\d+)\/(\d+|\d+\.\d+)') MODES = [('None', 0), ('+10 EC', 1), ('+20 EC', 2), ('+25 EC', 3)] class App: def __init__(self, master): self.frame = Frame(master) ...
[ "kkweon@gmail.com" ]
kkweon@gmail.com
1ab44fa05ee8fb4d74ffbf8454db090765c102d3
4923451ddb39f22f0b51b91d0a6733b796090afa
/app.py
d76796664885c75bafa98b38f40b58a085e9ae4c
[]
no_license
ohussNJ/Speech-Recognition
d0dd70c79c73f7fc399e764b5adf32741861cda4
74a4a6a6013adf3e64588d402f963549e0781315
refs/heads/main
2023-07-03T03:22:08.218508
2021-08-01T22:59:50
2021-08-01T22:59:50
391,756,901
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
from flask import Flask, render_template, request, redirect import speech_recognition as sr app = Flask(__name__) @app.route("/", methods=["GET", "POST"]) def index(): transcript = "" if request.method == "POST": print("FORM DATA RECEIEVED") if "file" not in request.files: retur...
[ "noreply@github.com" ]
noreply@github.com
a644e82a01c69a984aff593b08e8d64f20f6224f
3b316099f27fc3607a7da5189bb7e5d1f6d265a3
/popclick/migrations/0001_initial.py
ced3c6d0c12705fdcc3d5beed39e3683034c0e41
[]
no_license
phileasme/Mixed-Collaborative-Filtering_PopClick_server
91d14fea6601f114e04a52b461f050cd09fc4675
0721c78cf1f41cf2a84b2523e4e6d585ecf8ef62
refs/heads/master
2021-03-19T18:58:58.805233
2017-04-18T09:41:19
2017-04-18T09:41:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,483
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-08 20:07 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import fernet_fields.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations...
[ "phileas.hocquard@gmail.com" ]
phileas.hocquard@gmail.com
f3060e05d3730329c7b361f942a6baac37354b51
04b4d03b6a2755c00a5172cc239649e6f15b794e
/tests/test_iu.py
4caae975aec097a36a343f580d2731ea7fdfd9a0
[ "MIT" ]
permissive
juacas/irrigation_unlimited
970f70bb201d89b06de68ef7415a06dfbc86cb8d
464d797faa3c3661750fc07a4c27637e5e31a800
refs/heads/master
2023-09-05T00:37:59.951677
2021-11-07T02:04:21
2021-11-07T02:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,162
py
"""Test irrigation_unlimited timing operations.""" import pytest import datetime import homeassistant.core as ha import homeassistant.util.dt as dt from custom_components.irrigation_unlimited.irrigation_unlimited import ( reset_granularity, round_td, time_to_timedelta, wash_dt, wash_t, wash_td,...
[ "rc@bigpond.net.au" ]
rc@bigpond.net.au
20b3d83c7ee40462b15dcb933d054d02c9448f62
f887c58c58153e52276886ec3723c68d3aedac8f
/Test1.py
6686e2636eb7ed1d752ba25fbfe3aa2637f5894f
[]
no_license
brianweku/BrianWeku_ITP2017_FIRSTREPO
48f687b3c153f0dc9099a5f94b31064e1e014790
612a2d7c5c4be7a15b44b5070eef9421593f3946
refs/heads/master
2021-05-16T08:15:03.867343
2017-09-20T09:06:22
2017-09-20T09:06:22
104,027,680
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
x=2000 y=3200 number=[] for i in range (x, y+1): if(i%7==0 and i%5!=0): print(i, end=", ")
[ "brian.weku@yahoo.com" ]
brian.weku@yahoo.com
41e1a56d2699383d73c627f9741b6d6f607a5171
6364bb727b623f06f6998941299c49e7fcb1d437
/msgraph-cli-extensions/src/teamschats/azext_teamschats/vendored_sdks/teamschats/aio/operations_async/_chat_chat_operations_async.py
8306168c06f4e22be9d73ae8046a198361fd26d2
[ "MIT" ]
permissive
kanakanaidu/msgraph-cli
1d6cd640f4e10f4bdf476d44d12a7c48987b1a97
b3b87f40148fb691a4c331f523ca91f8a5cc9224
refs/heads/main
2022-12-25T08:08:26.716914
2020-09-23T14:29:13
2020-09-23T14:29:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,956
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
e03c607825c3e12311b1b500db5767f5d1cfd2e8
a01220b78fc890e13b26dcb6ab7aafbbcc3d9de3
/fiut/models.py
dfe1f7fcda7e5924ebb8c1a4e8d07a567907a4ae
[ "MIT" ]
permissive
v0y/django-FIUT
6e38f00bb23c08cb7fb3aee0ea97e9ed0c7967e4
f346d216238cabd82efbe88dcf277ef991c46444
refs/heads/master
2020-04-06T04:28:23.006399
2015-04-03T12:53:20
2015-04-03T12:53:20
16,783,117
1
1
null
null
null
null
UTF-8
Python
false
false
761
py
#!/usr/bin/env python # encoding: utf-8 from django.db import models from .helpers import slugify class CreatedAtMixin(models.Model): created_at = models.DateTimeField(auto_now_add=True) class Meta: abstract = True class NameMixin(models.Model): name = models.CharField(max_length=128) cl...
[ "voyageur.pl@gmail.com" ]
voyageur.pl@gmail.com
e8f3343984c972680397255f88f803c9500823d0
0c1e039a3f00c536aa4ff9ffb3981c3c3a30bb1a
/Jewels_and_stones.py
b20291c140e1fbb10f1926929cde641499554b3b
[]
no_license
maggieIcoding/leetcode_python
72b4e791dd76ec417117ed9f4462eefeac706e5e
ba30574bb4d88316510e700193bb417bd6c12bed
refs/heads/master
2023-07-17T11:57:14.257668
2021-09-04T02:41:49
2021-09-04T02:41:49
398,702,682
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
def numOfJewelInStone(jewels, stones): jewel_list = [] for i_S in stones: if i_S in jewels: jewel_list.append(i_S) return len(jewel_list) jewels = "aA" stones = "aAAbbbb" ret = numOfJewelInStone(jewels, stones) print(ret)
[ "maggie911228@yahool.com" ]
maggie911228@yahool.com
5d36f50bb1664ed69848f2d53171fa0377b8e72a
887294f0dca5cd09ed764522aebe30f9b349b3c3
/soccerscraper/soccerscraper/settings.py
5c49be24fdbf65d9af2cb4b3ac07706615bf4fec
[]
no_license
yoavar/gambl
45ad8cd920d00d7138ababb5b5799b8a2903b63a
f591d095f1a292d20099498d5ee6531a93e7220f
refs/heads/master
2021-01-17T17:54:39.718997
2016-10-31T05:23:20
2016-10-31T05:23:20
70,708,655
0
0
null
null
null
null
UTF-8
Python
false
false
3,680
py
# -*- coding: utf-8 -*- # Scrapy settings for soccerscraper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en...
[ "yoav.arad@aol.com" ]
yoav.arad@aol.com
eee3ed0cdfe623261a833b1da967a5cb2705933d
30a61c74d5108279af498a181ebc83151f13c033
/one_hundred_eighteen.py
30b365d21d51a1e5aa523f67b58d17a91ffc45e6
[]
no_license
Yanl05/LeetCode
274267cb189813c96fff67d8cbfba4afebd5c2b2
c0807a7f31a265b3090ef3d32a0ad5a2b10579f7
refs/heads/master
2020-03-15T12:25:16.456742
2020-01-20T01:12:35
2020-01-20T01:12:35
132,143,417
0
0
null
2018-12-21T03:01:32
2018-05-04T13:25:24
Python
UTF-8
Python
false
false
704
py
# -*- coding: UTF-8 -*- """ # @Time : 2019-08-28 16:33 # @Author : yanlei # @FileName: one_hundred_eighteen.py 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 """ class Solution(object): def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] ...
[ "756593069@qq.com" ]
756593069@qq.com
bb75b34b56dc7d7f1c98c798d499d1fbb54037a4
22d884af439331a865a79550f5e248c7ce6c3d1c
/red_wine.py
e54e11742475eb6cb6abc23c3f71bf535660666b
[]
no_license
craig1901/v_simple_wine_quality_regression
bb50586fd22a50669daf5835b7931364ca212b66
cb2b70aba0969fa0da5fcdbb6a3c202eff4d3865
refs/heads/master
2021-08-30T01:15:31.512527
2017-12-14T12:41:38
2017-12-14T12:41:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,907
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression from sklearn.linear_model import Lasso from sklearn.feature_selection import SelectKBest from sklearn.feature_selection import f_regression from sklearn.model_selection import KFold from sklearn.metr...
[ "nolancr@tcd.ie" ]
nolancr@tcd.ie
96e4818b5226db7e3431032c31a20239449f8f25
edd4430ecc9fb5d92e5875ac701acce8ae773eb3
/algorithms.master/array : list/Meeting Rooms III ( TV ).py
4c0f4dd9387496dc7beb5f21a35beca3b807403e
[]
no_license
apk2129/_personal
1a1ba8c38bb367d6b37d847546cbf7e3a0df5b12
83f95caa3f7a487e8561e69133772d5add4484e1
refs/heads/master
2021-01-18T03:17:05.180550
2017-10-23T01:04:29
2017-10-23T01:04:29
53,992,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
'''-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- T V ROOM CAREER CUP There's a room with a TV and people are coming in and out to watch it. The TV is on only when there's at least a person in th...
[ "iAnish@Anishs-MacBook-Pro.local" ]
iAnish@Anishs-MacBook-Pro.local
b7c8a3217cc521ebe43e33b8dac058e9e453b55c
f66ca310db65faedb9c097d5b5fa14a9ecddf8f5
/climate/classes/Year.py
7c89422b4afe40c6afaaca9c2d2e01852a2eafd4
[]
no_license
zivatar/thesis
6fdae954007c427da84dce48771030dfd0b80418
19cfe2e56ff21644d97cc9da403614b48de854d9
refs/heads/master
2022-12-13T05:00:02.584101
2020-03-01T13:55:23
2020-03-01T13:55:23
83,134,676
0
0
null
2022-12-07T23:45:41
2017-02-25T13:48:51
Python
UTF-8
Python
false
false
247
py
class Year: """ | Utilities for handling years """ @staticmethod def get_months_of_year(): """ Get the months of the year """ a = [] [a.append(i) for i in range(1, 13)] return a
[ "macgyver1024@gmail.com" ]
macgyver1024@gmail.com
3227e2615e5d6d084156825305359cbcf5e5e377
37c9fe6e2d5d7fc2ee635a0370255cb0af7a9648
/model.py
4deb117b6cc5d3cd922980891db724ca52c4a7f7
[]
no_license
thehawkgriffith/Malaria-Cell-Detector
fd6a67f94eedfb2cd180dbc1fda4d501416f9750
0d0f132ddbd984670c8acffd143e8e58865f9d91
refs/heads/master
2020-04-27T21:01:22.439570
2019-03-09T10:43:44
2019-03-09T10:43:44
174,680,658
1
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
import tensorflow as tf import numpy as np class Model: def __init__(self, conv_size, hidden_size, n_classes): self.compiled = False self.conv_layers = [] self.hidden_layers = [] self.params = [] temp = 3 for size in conv_size: self.conv_layers.append(Co...
[ "noreply@github.com" ]
noreply@github.com
67e55cde96380ab77aa29996f2f41f8affb676bb
8592fa8fd241cd80e967df14a1b3d998eddb8cdd
/AvgDistance/Final Analysis.py
070d80ffa3c0489ab0be0325a2b5040c58da2c59
[]
no_license
siddhartha1710/RuralHealthAnalysis
cff605b852151f983589f26ead7402e5c49eaef7
e6c4f0fbe0ae2586f531d427aad6e67efd3bc51f
refs/heads/master
2022-12-24T13:40:37.382188
2020-09-28T10:55:28
2020-09-28T10:55:28
299,216,241
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
import matplotlib.pyplot as plt import csv x = [] y1 = [] y2 = [] y3 = [] label=[] with open('C:\\Users\\Siddhartha\\PyCharmProjects\\RuralHealthAnalysis\\DataFiles\\Analysis\\New\\Final Analysis new.csv','r') as csvfile: plots = csv.reader(csvfile, delimiter=',') for row in plots: label.append(row[1...
[ "siddharthasriva@gmail.com" ]
siddharthasriva@gmail.com
4bd8c1259f01b2cee69f21c032e8bad3adea73f8
c43ccb7346183f2cd27fe8c6e974f98821f8ae8e
/models/user.py
4b7f8a81dca8b0d73d4052e73130c20bb5a19984
[]
no_license
carlosespup1/SystemManagment-FastAPI
12237213eaa3b7a3a7e72d03bda459d20ab8ec75
c625c3bb732b17d53b158b516e4abc1d66594d03
refs/heads/main
2023-06-27T06:13:35.031063
2021-07-29T18:36:42
2021-07-29T18:36:42
390,816,543
1
0
null
null
null
null
UTF-8
Python
false
false
328
py
from sqlalchemy import Table, Column from sqlalchemy.sql.sqltypes import String, Integer from config.db import meta, engine user = Table('users', meta, Column('id', Integer, primary_key=True), Column('name', String(120)), Column('email', String(255)), Column('password', String(255)), ) meta.create_all...
[ "obandocarlos604@gmail.com" ]
obandocarlos604@gmail.com
8a63ea1009ed11073d6de524a8cc4d3bb0c49c4d
3372f9b8bb2911d03b5755e54d0e5cc73bd115ae
/edwardsja-tcp-server.py
8302fee551e9ca7eb9dc645448b637cce4db577c
[]
no_license
jakerumbles/simple-client-server
cf7ae377e54fb95192c3db6eeb0f43a0c2c412f6
bb3a1cba54091e55be19fab6b0ab6c552937cc4c
refs/heads/master
2020-04-20T18:09:22.696052
2019-02-04T00:34:16
2019-02-04T00:34:16
169,009,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
#Name: Jake Edwards #Date: 2/1/2019 #Professor: Dr. Glendowne #Class: CSC 435-001 import socket import sys from _thread import * print("Server has started") print("Written by Jake Edwards") host = '127.0.0.1' port = 1234 #Create socket with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as server: #bind to p...
[ "edwardsjake@live.com" ]
edwardsjake@live.com
43ffbac49177d18940d1c0821413bd80b37f09a4
e64c89ac71edf3120654b096f3423dbdc84f5daa
/advent_of_code/2017/Day_5-1.py
36a3716f2ee6e9a9d6ee6b8709c57540d38d7b57
[]
no_license
jonaron/Programming
1f29d42d848d84e8f132786770f4391c87b1367b
77abbdc790e5d25e71371df4858351b6630917d0
refs/heads/master
2020-09-23T04:44:03.008461
2019-12-03T14:15:40
2019-12-03T14:15:40
225,405,612
2
0
null
null
null
null
UTF-8
Python
false
false
224
py
import fileinput jumplist = [] for line in fileinput.input(): jumplist.append(int(line)) i = 0 count = 0 while(i >= 0 and i < len(jumplist)): oldjump = jumplist[i] jumplist[i] += 1 i += oldjump count += 1 print(count)
[ "jonaron94@hotmail.com" ]
jonaron94@hotmail.com
118ec18ca6faa45ba3c76abc3cfdb882cd17c0d1
48e281c63be0103dd5a35848f69e793d8d0ea6e1
/files/Segment/workspace/model/FPN/final_models/test/infer_signate.py
9c12549fa3e7b9a640cda0386c41fe8bd9d77237
[ "Apache-2.0" ]
permissive
Vertical-Beach/ai-edge-contest4
e8757d57a9755ce44373d9de152b9e4745f07af0
4b5211a9adb383756acade42c8a8b104f6fd7363
refs/heads/main
2023-02-24T01:04:55.819488
2021-01-31T11:12:09
2021-01-31T11:12:09
325,062,961
3
0
null
null
null
null
UTF-8
Python
false
false
3,695
py
#!/usr/bin/env python # © Copyright (C) 2016-2017 Xilinx, Inc # # Licensed under the Apache License, Version 2.0 (the "License"). You may # not use this file except in compliance with the License. A copy of the # License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "lp6m2014@gmail.com" ]
lp6m2014@gmail.com
e6649b435cda86524354ff8314f1457c94469055
bfca1223edb48b2f98d1a5b76419873d3e7fd9cb
/134_overriding_methods.py
1384b1112fa7dc97a3fa7fe95d858f89ea2aefb5
[]
no_license
jossrodes/PYTHONFORDUMMIES
6adddb9286efea9e8395375b96672e939370930a
5a975ac6e1d061a79076b4608c1a70f309bd97a6
refs/heads/master
2021-07-20T18:35:46.704179
2017-10-31T01:53:52
2017-10-31T01:53:52
107,997,622
0
1
null
null
null
null
UTF-8
Python
false
false
120
py
superclass_inst = NameTag('Lucy') subclass_inst = GeekNameTag('Linus') superclass_inst.say() subclass_inst.say()
[ "noreply@github.com" ]
noreply@github.com
15b0d793d7f3e89dfd897bd74cc06c05560089ae
71ff467abf8d04bc33fd564e3e5fe794af748cf1
/town_days.py
10c88a2bd1856ad922612eebe90cd305200f8307
[]
no_license
nostachio/sob_town
ed2e7228a50a5930c002acec443bb3f298769047
47e4171c32c71bbf28ab52f2f87dbe9894913e35
refs/heads/master
2022-12-13T11:14:49.983204
2020-09-15T03:34:50
2020-09-15T03:34:50
250,307,463
0
0
null
null
null
null
UTF-8
Python
false
false
4,111
py
"""Days. Defines functions for each day in town. """ import random import sys import textwrap import json def initialize_daily_event_deck(): """Set deck to initial deck.""" with open("daily_events.json") as daily_event_deck_json: initialized_event_deck = json.load(daily_event_deck_json) return in...
[ "adam.silkroski@gmail.com" ]
adam.silkroski@gmail.com
c45c814ba4c96e8be9be763a3fecd2212252d580
b57c121f05e81fefd149762a6659b5ea7d6326d3
/08-dynamic_programming/tripath_count.py
1f7240ec8b03d9a0b5df22a7178fc7d000b60981
[]
no_license
DawoonC/algorithmic-problem-solving-strategies
077aeb8ff718c2e64fc9e5c6821f6b26020e203b
4ca160559dc7062b540865406c574650a76fafc5
refs/heads/master
2020-04-16T02:20:11.310556
2018-08-26T16:32:17
2018-08-26T16:32:17
53,761,227
0
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
# Problem ID: TRIPATHCNT # https://algospot.com/judge/problem/read/TRIPATHCNT # 297ms from collections import defaultdict def readline(): return raw_input() def find_biggest_path(y, x, height, triangle, tridict): if y == height-1: return triangle[y][x] result = tridict[(y,x)] if result != -1...
[ "cdw_3@naver.com" ]
cdw_3@naver.com
e1816c2710b111f0d03effc960902ea50e60d696
32226e72c8cbaa734b2bdee081c2a2d4d0322702
/experiments/murtaza/multiworld/camera_ready/pusher/offline_vae_twin_sac.py
621da28adc1a2950fe2cadb66df88816f479d492
[ "MIT" ]
permissive
Asap7772/rail-rl-franka-eval
2b1cbad7adae958b3b53930a837df8a31ab885dc
4bf99072376828193d05b53cf83c7e8f4efbd3ba
refs/heads/master
2022-11-15T07:08:33.416025
2020-07-12T22:05:32
2020-07-12T22:05:32
279,155,722
0
0
null
null
null
null
UTF-8
Python
false
false
4,361
py
import railrl.misc.hyperparameter as hyp from multiworld.envs.mujoco.cameras import sawyer_pusher_camera_upright_v1 from railrl.launchers.launcher_util import run_experiment from railrl.torch.grill.launcher import grill_her_td3_full_experiment, grill_her_twin_sac_full_experiment if __name__ == "__main__": variant ...
[ "asap7772@berkeley.edu" ]
asap7772@berkeley.edu
a5750b6390e0ddacf0935657fac41b425ef3c998
4dca4f8f95f1a76465107562e56f8aa63e6be52f
/cartoon.py
5999bdf89230e3da9054e19c791cbdb7f27f2f0f
[]
no_license
Akashmallareddy/mini-tool
09a964539c69587d65daffd1d3c696528b6ea224
a52120f8a13f6ff30329c741a72ad8efe621fd4b
refs/heads/master
2023-01-28T04:16:13.843270
2020-12-08T14:28:25
2020-12-08T14:28:25
300,680,936
1
0
null
2020-12-08T14:28:26
2020-10-02T16:55:30
Python
UTF-8
Python
false
false
1,639
py
import cv2 as cv import sys, getopt def convert(inputfile, outputfile): img = cv.imread(inputfile) img = cv.GaussianBlur(img,(3,3),0) # hsv = cv.cvtColor(img, cv.COLOR_BGR2HSV) # h, s, v = cv.split(hsv) # lim = 255 - 50 # v[v > lim] = 255 # v[v <= lim] += 50 # final_hsv = cv.merge((h, s, v)) # img...
[ "noreply@github.com" ]
noreply@github.com
efe05d84e80b3c205eaad6cbb005cf317016866d
5f6cd57c692191acfea18c1af9d87e7db8e873f1
/devito/ir/iet/scheduler.py
7f2bf50f2985af84bbae530639c9d5aeae566821
[ "MIT" ]
permissive
Antongk/devito
684b0f4928d47bb6acc6469cc0471b5122c34561
a50c0a8337497cf6d7603cf9beff4a3231e63bee
refs/heads/master
2020-04-19T17:00:18.380108
2019-01-30T09:16:38
2019-01-30T09:16:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,330
py
from collections import OrderedDict from devito.cgen_utils import Allocator from devito.ir.iet import (Expression, Increment, LocalExpression, Element, Iteration, List, Conditional, Section, HaloSpot, ExpressionBundle, MapExpressions, Transformer, FindNodes, FindSy...
[ "f.luporini12@imperial.ac.uk" ]
f.luporini12@imperial.ac.uk
84bc63432e256b9ab47314b3665cdc24a25f3bba
3abb5488a39b47bb1b1497abf142612ce969e494
/ruleExport.py
42a20745b1ee3eae9ba7ba90eb8dd19b6149d3e4
[]
no_license
kolaf/DragonflyRules
2dd0b24240bd5b5c75de8d6199763d8f0a4f12d8
f20131240e8047309e9aed59ac24ccb7d8523985
refs/heads/master
2020-12-31T03:42:43.014676
2015-05-09T09:18:31
2015-05-09T09:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
print "import _ruleExport" from BaseRules import * import inspect # decorator def ExportedRule(exportedRulesContainer): def ContainerFiller(ruleInstanceOrClass): exportedRulesContainer.add(ruleInstanceOrClass) return ContainerFiller class ExportedRules(): def __init__(self): self....
[ "chajadan@fake.chajadan" ]
chajadan@fake.chajadan
e4c526d27823bc31ca2ca48d12f718ebef0f2f2c
3b0665c975aba41f6945b239cc77f6216a7caf57
/county_pop/county_pop/urls.py
6fe309abeb1ad3f6fa7933b8c51d4f83d4e52edc
[]
no_license
davy254/County_map
d238942aba813ceb6f314314ae0f5a9061d3890d
fbd7790248eef8187ce58476230bb721f8ee5361
refs/heads/master
2022-12-07T00:35:56.071685
2020-08-21T09:04:10
2020-08-21T09:04:10
289,222,948
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
"""county_pop URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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-ba...
[ "davidmunyiri2@gmail.com" ]
davidmunyiri2@gmail.com
c69c54ee2046e73751d7629baf168821baf88b2d
27938640053258738fe6585626854603aa3b2a3b
/node_modules/@web3-js/websocket/build/config.gypi
42eaa72006f345fd99cafe240841746422ec45fe
[ "Apache-2.0" ]
permissive
GovtBlockchainAssoc/SteemGateway
7044576fecbef359252bb6a4e8f05988564f7efc
38aeb00ce74880ddf42d3e60dc873e5b9b4e038f
refs/heads/master
2023-01-25T04:20:56.660894
2020-03-14T15:42:47
2020-03-14T15:42:47
243,574,065
1
0
null
2023-01-24T01:37:33
2020-02-27T17:19:08
TypeScript
UTF-8
Python
false
false
5,923
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [], "msbuild_toolset": "v140" }, "variables": { "asan": 0, "build_v8_with_gn": "false", "cov...
[ "mark.waser@wisdom.digital" ]
mark.waser@wisdom.digital
31c43ffbc08c22ed53e86006c913fa22be0249fa
44af5e46256027c01ce26099c51111210316d549
/picScraper/picScraper/spiders/__init__.py
1109639dbb1b5c76e53480aae54b97b2290af96a
[ "MIT" ]
permissive
awyee/AirplaneClassifier
f410242aa6eb9bd002c8c89de6ade5d626199b2e
0c85dd16605ccf434498bce41fd9bc57510fdb74
refs/heads/master
2020-04-03T01:06:26.618708
2019-07-17T00:41:55
2019-07-17T00:41:55
154,919,069
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
# This package will contain the spiders of your Scrapy project # # Please refer to the documentation for information on how to create and manage # your spiders. from .PlaneSpider import * from .PlaneSpider2 import *
[ "alexyee@mit.edu" ]
alexyee@mit.edu
60ab4df8cbc9e67a074e40965ac36bfb628a63d5
ebbde90a390d9e3e8cf6b1554b99368c78b0f6ed
/model.py
eddadd4f30d9c647a3b247bd879dda195267a657
[]
no_license
crooba/unetmembrane
d7366ec1ac18b8b56798ecba27969d6d3d6f0d2b
604eaac798924eef4ddc6a53e25df97e4c2c3381
refs/heads/master
2020-12-22T06:29:48.623630
2020-01-30T15:46:10
2020-01-30T15:46:10
236,696,920
0
0
null
null
null
null
UTF-8
Python
false
false
4,063
py
import numpy as np import os import skimage.io as io import skimage.transform as trans import numpy as np from keras.models import * from keras.layers import * from keras.optimizers import * from keras.callbacks import ModelCheckpoint, LearningRateScheduler from keras import backend as keras #유넷신경망의 전반부(drop5)는 이미지의 ...
[ "noreply@github.com" ]
noreply@github.com
0425eeba98c3d597c0dee946976a2ac37bebc0c0
9b32d75490355e69d97008584c702cab66a221da
/orders/urls.py
589c7c7950c0cb8743f88e71c96de52f27fd46b6
[]
no_license
cferreiras/mexican-delivery
1c37d798d262d8763a183809cd2e4275d64ab33f
54f0af0f53a14c2b0a54024225c916fc0400c265
refs/heads/master
2023-09-06T03:44:40.837527
2021-11-05T22:59:24
2021-11-05T22:59:24
406,971,333
1
0
null
null
null
null
UTF-8
Python
false
false
167
py
from django.urls import path from .views import OrderCreateView app_name = "orders" urlpatterns = [ path("create/", OrderCreateView.as_view(), name="create"), ]
[ "caio.ferreiras@icloud.com" ]
caio.ferreiras@icloud.com
65ef155fd3362fc1c50c132771ecee7547bd2682
3dc85f88a023f4d836f9128a4ffc33b5a6247c0d
/speak function.py
ed91f3a05b966a732a1cda3b53511ab8b21985ff
[]
no_license
BuiltinCoders/PythonTutorial
5326ce02ded8b5e02f8c70af8f561b6a0f460462
d2216b169297292c381b5418e46aa53f4a6c1e3f
refs/heads/master
2023-05-06T08:42:07.844340
2021-05-22T17:17:44
2021-05-22T17:17:44
363,189,404
1
0
null
null
null
null
UTF-8
Python
false
false
247
py
from win32com.client import Dispatch import time def speak(str): speak = Dispatch(("SAPI.SpVoice")) speak.speak(str) for i in range(10): for i in range(10): speak(f"{i+1}") # speak("Kartiik") time.sleep(2)
[ "niteshkr.dot@gmail.com" ]
niteshkr.dot@gmail.com
df6a318eb22e596cc6ec15a9ea602c7fcb441a76
4e0feafc7c5f488bb64c07adafa0eb1efd371b2a
/75 Sort Colors.py
89694c41ca0b44a65d4d82aa403b1522725c0bec
[]
no_license
fahim0120/leetcode
dd52e5ee711f802928cad06f1ffd5d30514c6053
722690850cc7fd3d53981312182cf032983d2575
refs/heads/master
2023-04-03T06:56:32.630324
2021-04-10T04:34:21
2021-04-10T04:34:21
263,259,288
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
""" fahim0120@gmail.com """ # https://leetcode.com/problems/sort-colors/ # Medium # Most Liked # Top Interviews # Array # Two Pointers # Sort # Dutch Flag Partitioning Problem class Solution: def sortColors(self, nums: List[int]) -> None: """ Do not return anything, modify nums ...
[ "fahim0120@gmail.com" ]
fahim0120@gmail.com
6675260043989b79541e252f58df3ec93d44ea90
e991785d8453ffcfffbeb20bec43b2c27d5b0d0b
/python_first_job/job2/flower.py
4032e02d7ccfb660bce171f4c57e71de4e0b2c22
[]
no_license
jinzhe-mu/muwj
a8faf0c75db33fc440c30f6a3b7e564c5fb1042a
beb7606ddde7c82de2437a4af0042ba42e381796
refs/heads/master
2022-10-21T01:06:01.550822
2020-06-13T09:21:58
2020-06-13T09:21:58
258,700,003
0
1
null
null
null
null
UTF-8
Python
false
false
852
py
#定义一个类Flower class Flower: flower_name1 = "玫瑰" # 实例化变量 flower_name2 = "月季" flower_name3 = "尤加利" def dislike1(self): # 定义一个dislike1方法 print("但她不喜欢", self.flower_name3) # 在方法中调用变量flower_name3 def dislike2(self): # 定义一个dislike2方法 print("但她不喜欢", self.flower_name1) # 在方法中调用变量flower...
[ "1421827450@qq.com" ]
1421827450@qq.com
23204cff4c7bd3b25948d7c0b4cb88d89d985e7f
398c5c74862c34244dc8945dd2572c1bc3115b11
/nowcast/final_wip/features.py
5b8e25886d2ab5b11d3975f714a34bfc80ba4611
[]
no_license
Allisterh/nowcasting-machine_learning
0a5de68337750f060a3161f1b055d96501915997
5d80bad88d86d28486f437500ab6708173e09a5c
refs/heads/master
2023-03-29T14:46:09.679467
2018-02-02T11:08:57
2018-02-02T11:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,087
py
#!/usr/bin/python3.5 import calendar import copy import datetime import matplotlib.pyplot as plt import numpy as np import os import pandas as pd import quandl import sklearn from datetime import timedelta from dateutil.relativedelta import relativedelta from sklearn import tree from sklearn.ensemble import RandomFor...
[ "sameer.narang@gmail.com" ]
sameer.narang@gmail.com
64873a6d5b1cac92f77ae9aa8f44af8188202a86
ffdd09a36177233b53cf5a78b8386446127db00d
/Players/Bots/BasicBots.py
4e9f0f60103b93c71fa8657fd46a21aa0c94e135
[]
no_license
Random-Cookie/TransEuropaDiss
195b699dbb2ae965829a4ac210922de141d9dc2e
52cb282b5019bb256fdaa44c225eeaeea7d8145f
refs/heads/main
2023-04-23T09:50:03.375497
2021-05-12T18:32:10
2021-05-12T18:32:10
346,338,795
0
0
null
null
null
null
UTF-8
Python
false
false
8,305
py
from Players.Player import Player import networkx from Structure.GameBoard import GameBoard import copy class BasicBot(Player): def __init__(self, name): Player.__init__(self, name) self._target_cities = [] self._current_path = [] def choose_start_pos(self, game_board: GameBoard) -> str: start_city = self....
[ "sefi100@ntlworld.com" ]
sefi100@ntlworld.com
d8716a29b604d7a9461f900e28120b9c1d0d268f
c1f4df2b4be9350c8f776c4105bef5eba7c34145
/CVA/polls/migrations/0002_auto_20190816_1609.py
f7859f3a08d66093bd554aae9670142213b4ec2f
[]
no_license
LieutenantPorky/sito_CVA
7702bb6a42a79e9e51a51b52d7b1c5c25805dce9
2553dbbf467c0408207f91360e169639ed8d4792
refs/heads/master
2020-07-04T04:56:01.256619
2019-08-28T15:48:23
2019-08-28T15:48:23
202,163,479
0
1
null
null
null
null
UTF-8
Python
false
false
1,142
py
# Generated by Django 2.2.4 on 2019-08-16 16:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0001_initial'), ] operations = [ migrations.AddField( model_name='article', name='slug', field=...
[ "jacopo@siniscalco.eu" ]
jacopo@siniscalco.eu
adb573af788c1c6c076ecb925194fe4efd4ee3b6
2780f5f9c2f09ae194ab00e6b43819211d1c15a1
/src/rqt_rpc/rw_script.py
1ad8932a962ed066e82a60409d223b5777269f6f
[]
no_license
mbharatheesha/sot_robot
f444b3a275ee2c46990c824e9fb145080acb3381
700b4a70ec9031d79b9240c03b23cfd1eaf2a65b
refs/heads/hydro
2021-01-11T08:13:40.172419
2016-02-11T13:47:36
2016-02-11T13:47:36
76,642,967
0
0
null
2016-12-16T10:00:05
2016-12-16T10:00:05
null
UTF-8
Python
false
false
316
py
import xml.etree.ElementTree as ET file = '/home/nemogiftsun/laasinstall/devel/ros/src/sot_robot/src/rqt_rpc/rpc_config.xml' # Parse the configuration file tree = ET.parse(file) root = tree.getroot() if (root.tag == "Trajectories"): trajectories = root.findall('trajectory') count = len(trajectories)
[ "nemogiftsun@nemogiftsun.(none)" ]
nemogiftsun@nemogiftsun.(none)
a86265864b4893259754738fe02624202d5d2073
eb166976684cf7c3e6ce613e17b270334bcdd837
/configs/DOTA/faster_rcnn_r50_fpn_1x_dota.py
7e905b2c0cc4fa43e1cd7846b589a845fdeb687c
[ "Apache-2.0" ]
permissive
dlrudco/AerialDetection
d987c3a301737911e29197065da00c2b8230e423
e9381016113ddf77a09d07209341bb2208481850
refs/heads/master
2023-04-13T16:02:26.331775
2021-04-15T07:00:40
2021-04-15T07:00:40
290,456,718
0
0
Apache-2.0
2020-08-26T09:43:20
2020-08-26T09:43:19
null
UTF-8
Python
false
false
5,037
py
# model settings model = dict( type='FasterRCNN', pretrained='modelzoo://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch'), neck=dict( type='FPN', in_channels=[256, ...
[ "574258651@qq.com" ]
574258651@qq.com
47f6f7e8e5e58e9ec284378184455b78da17930d
bb868d112ac4dc7e1c04c727bdbee85d9315a366
/InsetDB.py
44b08e9da2ed7ed8250a185e3f59e8cce6586454
[]
no_license
subhamcareers/Python_programming
8ea2adae3372385f8158565b90832927b60a9e07
f086c8118fa9202f6896f846c9cfed035db311f5
refs/heads/master
2022-12-03T03:27:30.866238
2020-08-15T12:25:02
2020-08-15T12:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
import sqlite3 MySchool=sqlite3.connect('schooltest.db') curschool=MySchool.cursor() curschool.execute("INSERT INTO student (StudentID, name, house, marks) VALUES (5,'Sherlock',32,50);") MySchool.commit()
[ "noreply@github.com" ]
noreply@github.com
0b48e562d90e2db215135e596b33b26854d881e3
115babcf075b9cea9a6d3631b63d1d0d6c1f869a
/energy_data_visualization_project/database_setup.py
5b8e5a26fdf8fc1b93e7d167766c0c45349db1bb
[]
no_license
rlim1812/Singapore_Airlines_Challenge_Project
3357dc0adedaeba92b211a5c089fd18df29bf1c8
c37626eb3e61d832b606ad970c0b5d02e27dddeb
refs/heads/master
2020-07-06T10:28:11.954402
2019-08-22T05:02:01
2019-08-22T05:02:01
202,986,463
0
1
null
2019-08-22T05:02:04
2019-08-18T09:57:45
Jupyter Notebook
UTF-8
Python
false
false
586
py
# import necessary packages import sqlite3 import pandas as pd # form connection to database conn = sqlite3.connect('EnergyConsumption.db') cur = conn.cursor() # read in LBNL electricity consumption data and store it in the database electricity_data = pd.read_excel('data/lbnl_building_74_electricity_data.xlsx') elect...
[ "rlim1812@gmail.com" ]
rlim1812@gmail.com
745ce5c114180c8dfd4cfc9986795a097c916ddb
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/spiders/movies_20200627213700.py
713340873e0307f55fcf3881bebea59a02cdfb52
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
741
py
# -*- coding: utf-8 -*- import scrapy from maoyanspiders.items import MaoyanspidersItem # import xlml.etree from bs4 import BeautifulSoup as bs class MoviesSpider(scrapy.Spider): name = 'movies' allowed_domains = ['maoyan.com'] start_urls = ['http://maoyan.com/board/4'] # def parse(self, response): ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
47e31f6bb7eb07466e59b28d2599671031808ab9
3b853895c94a6e7cf0f4940c40fb09fb9f3c84aa
/reusable_blog/blog_app/migrations/0003_post_tag.py
3084edc28146c18b36b60ff3b5741156643ee650
[ "LicenseRef-scancode-public-domain" ]
permissive
Zaniron/reusable_blog
247778499d68b62bf99016d80bc8d11cf21c71bc
8079710573fde263b938d0ab2d97143874dc50fa
refs/heads/master
2020-03-22T21:38:41.421701
2018-07-12T11:21:33
2018-07-12T11:21:33
140,703,224
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-18 17:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog_app', '0002_post_views'), ] operations = [ migrations.AddField( ...
[ "tristan.challis@live.co.uk" ]
tristan.challis@live.co.uk
769fe9d3b8a817a0c7db940ae73819b8d3759212
ea954cdd59fef15a1a7de3b05d990d5a896c37e7
/rat.py
0c83dfcf64b02d38841aff8828b9bd9592398fcd
[]
no_license
Jonasgrove/protein_clustering_smale_method
32fcb0e1211da3d0001ea50257d4e99f15e89582
20f0fbf5d0cb3ca8c2be84b35b0283df2f7e76ce
refs/heads/main
2023-01-29T00:45:58.459995
2020-12-04T06:02:09
2020-12-04T06:02:09
318,413,832
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
>NP_036866.1 hexokinase-1 [Rattus norvegicus] MIAAQLLAYYFTELKDDQVKKIDKYLYAMRLSDEILIDILTRFKKEMKNGLSRDYNPTASVKMLPTFVRS IPDGSEKGDFIALDLGGSSFRILRVQVNHEKNQNVSMESEIYDTPENIVHGSGTQLFDHVADCLGDFMEK KKIKDKKLPVGFTFSFPCRQSKIDEAVLITWTKRFKASGVEGADVVKLLNKAIKKRGDYDANIVAVVNDT VGTMMTCGYDDQQCEVGLIIGTGTNACYMEELRHIDLVEGDEGRMCINTEWGAFGDDGSLE...
[ "jonasgrove@gmail.com" ]
jonasgrove@gmail.com
23a51eb4099dcf9e162de23dee758cbf8fd93252
68c90ef853ea415a3c43ca10ebc9c23656907e10
/review_answer/bytedance/maxsubsum.py
e648a009cb628cf631315e6ebde0b9ef517c6cf0
[]
no_license
NJ-zero/LeetCode_Answer
73889f46f4cd0c08f60a1e556c29114495062b2b
1040b5dbbe509abe42df848bc34dd1626d7a05fb
refs/heads/master
2021-08-06T04:33:39.890568
2020-04-14T09:59:39
2020-04-14T09:59:39
145,671,777
1
1
null
null
null
null
UTF-8
Python
false
false
552
py
# coding=utf-8 # Time: 2020-01-19-16:09 # Author: dongshichao ''' 最大连续子数组和 ''' def maxsubsum(nums): n = len(nums) dp = [0] * n dp[0] = max(nums[0],0) for i in range(1,n): dp[i] = max(dp[i-1]+nums[i],nums[i]) return max(dp) print(maxsubsum([-2,1,-3,4,-1,2,1,-5,4])) ''' 最长无重复子数组 ''' def...
[ "dongshichao@qutoutiao.net" ]
dongshichao@qutoutiao.net
d2974097e777a4e406eabe78dffd4f18f27f2d4f
2500a2ab1f43c649fb0b4fe3b9e3420efa017efa
/MPK_mini/config.py
9bd08eee27ccd0fff60ef4fb0ba3349531d15488
[]
no_license
cappytan3/AbletonLive9_RemoteScripts
0ce3e2d728190ba2ff5d2422cd03ae8a5df9d46f
65d08fd4ccdadd8366eca6f3c0fa7932516147bf
refs/heads/master
2021-01-15T11:50:14.152579
2014-04-11T17:37:22
2014-04-11T17:37:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
#Embedded file name: /Users/versonator/Hudson/live/Projects/AppLive/Resources/MIDI Remote Scripts/MPK_mini/config.py from consts import * TRANSPORT_CONTROLS = {'STOP': -1, 'PLAY': -1, 'REC': -1, 'LOOP': -1, 'RWD': -1, 'FFWD': -1} DEVICE_CONTROLS = (GENERIC_ENC1, GENERIC_ENC2, GENERIC_ENC3, GENERIC_ENC4, GENERI...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
18602ec53ec371c3a1f54e71a4162de662fac2b2
3a20a4c7cc60c52730e6cbcbf0febdf0a1536839
/day-1/secondprogram.py
0ae9ea9e5bef471e6bf5efc24a28a3550c8ae2a4
[]
no_license
jixuege/studypython
8de1ef60eab3246cfad36d535b8c5e4dfe1cf785
b298e4132889d0bdbd4888c8ece4f1ef1bea20cd
refs/heads/master
2021-01-23T22:39:08.430639
2016-11-01T17:34:29
2016-11-01T17:34:29
69,094,237
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #Author: Leon xie """ print(input("name:")) print(input("age:")) """ """ name = input("name:") age = input("age:") job = input("job:") hobby = input("hobby:") print(name) print(age) print(job) print(hobby) """ # 传变量 name = input("name:") age = input("age:") job = input(...
[ "xie.di@jyall.com" ]
xie.di@jyall.com
f63d3b091f50788337d5c3cb0719c39c23f0dfba
376b6933872b9110765154094d2c77713da2c853
/assemblies/bad.assemblies/abyss/3abyss.assembly.24.py
61ae7ee6df58578b2948a7ad2b7ef9fbaa8bf97b
[]
no_license
markphuong/geographus-genome
46b037e7789641895f1a99b8bf6dee3418887600
a0ff439fbc0c350279359a51321e40e7778f5170
refs/heads/master
2020-03-19T07:21:29.297458
2018-06-05T04:15:18
2018-06-05T04:15:18
136,107,214
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
#!/usr/bin/env python #flash manual: http://ccb.jhu.edu/software/FLASH/MANUAL #this script cleans reads using trimmomatic, merges reads using flash, and creates a read1 file, read2 file (these represent paired files) and an unpaired file import os import sys import argparse import multiprocessing # an arguments po...
[ "phuong@br006.pvt.bridges.psc.edu" ]
phuong@br006.pvt.bridges.psc.edu
dd0bf35a46141052d3db406f46dba5f26568a6ac
078e12851d7a54a0a4d48aa0494e0e47bd51a5dc
/crowbot/crowbot.py
99b86ded7697952a74b553dac79f6ccec26ddc24
[]
no_license
sam-dixon/crowbot
967b42cbf5631b5c3b8c9c14587a36cad24682b2
692f867d9ef8edb10ff4cc438d31cc90c5096e6c
refs/heads/master
2020-06-21T07:06:13.090896
2016-12-11T02:18:25
2016-12-11T02:18:25
74,799,392
0
1
null
null
null
null
UTF-8
Python
false
false
4,983
py
"""A Slack chatbot for observing""" import os import argparse import time import datetime as dt import yaml from sqlalchemy import create_engine, MetaData, Table, \ Column, Integer, String, DateTime from slackclient import SlackClient from responses import * CONFIGDIR = os.path.join(os.path.dir...
[ "sam.dixon@berkeley.edu" ]
sam.dixon@berkeley.edu
0eeceafe6472fa14ed5584e9b820ca5caf6bcd8f
f6af4dee160aed43afae42c6c7d92542265b26e7
/backend/views/product_views.py
9d4eaf4c842da2b6afc8b31ddc8c0a43395c8aa5
[]
no_license
jasimdipu/django_1st_batch_final_project
8fcd0aad0fe9dc7922ea0692b24679546796748b
c75a80402967a6492433f75392dd0d8a20314601
refs/heads/main
2023-04-07T14:15:03.199353
2021-04-03T04:42:51
2021-04-03T04:42:51
353,403,568
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
from django.shortcuts import render from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import IsAuthenticated, IsAdminUser from rest_framework.response import Response from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from ..models import Product,...
[ "dipu.j247@gmail.com" ]
dipu.j247@gmail.com
8b1820d27a95d40776ef0c21fe1b3fc18a519080
b8cc6d34ad44bf5c28fcca9e0df01d9ebe0ee339
/Pandas_study/p25.py
a87f99f1a432299ee2ff02de0f557417bca76b3c
[]
no_license
python-yc/pycharm_script
ae0e72898ef44a9de47e7548170a030c0a752eb5
c8947849090c71e131df5dc32173ebe9754df951
refs/heads/master
2023-01-05T06:16:33.857668
2020-10-31T08:09:53
2020-10-31T08:09:53
296,778,670
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
# -*- coding: utf-8 -*- """ pycharm无法显示条件格式的情况,jupyter是可以的,这里只写代码 """ import pandas as pd def low_score_red(s): color = 'red' if s < 20 else 'black' return f'color:{color}' def highest_score_green(col): return ['background-color:lime' if s == col.max() else 'backgroud-color:white' for s in c...
[ "15655982512.com" ]
15655982512.com
ed021916ac68c427e8ce293de19f95b7dee19c13
61078410c13405113a0b9c1e2d050bb0ee767018
/books/migrations/0004_auto_20200729_1104.py
d2e6e1f813282c45540011ab47da04dfba476a5d
[]
no_license
gidsey/django_production
7f9c1f429977d727785c9bcfe3e085c1672fbfaf
3aeaad949886d3cd110bda9331dfe0f28beed468
refs/heads/master
2023-09-04T04:32:53.893641
2023-08-17T10:07:09
2023-08-17T10:07:09
286,528,874
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
# Generated by Django 3.0.1 on 2020-07-29 11:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('books', '0003_book_models'), ] operations = [ migrations.RenameField( model_name='book', old_name='models', new_...
[ "chris@chrisguy.co" ]
chris@chrisguy.co
68a15db6f68c4c3463ff0dca4e7e395101c6b4f9
b42193d3382abe6ad531da5a7700db841c5989cc
/rpg/character.py
60f83d6dcd9660bc31fe500f4e4b43bd577dd8d0
[]
no_license
Libby-C/text-adventure-ahoy
0fef98844018a60cddf9c13406bcae1515de1a7f
3d3dfa5c41014eb91ba1ccddf8561b66f3c9d5fe
refs/heads/master
2020-11-25T12:40:08.129701
2019-12-30T12:41:10
2019-12-30T12:41:10
228,665,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,864
py
class Character(): # Create a character def __init__(self, char_name, char_description): self.name = char_name self.description = char_description self.conversation = None # Describe this character def describe(self): print( self.name + " is here!" ) print( self...
[ "libby.cosedge@lobsterpictures.tv" ]
libby.cosedge@lobsterpictures.tv
0e043652c0c6321e999e76558a46f1c3bb9d060d
98f7a31ee122cea4b9ed61300c8ee3be456b4850
/ws-tests/test_study_get.py
4a483310814437cf889f8e5e8a4583590d922dfe
[ "BSD-2-Clause" ]
permissive
BioinformaticsArchive/phylesystem-api
4bd30bd32fba29497ca4c4df4a4cc5e85f0c7dfc
08a77e3f49a1607ec1bc5d835977b1d2c365e291
refs/heads/master
2021-01-16T21:38:30.651003
2015-04-09T18:08:18
2015-04-09T18:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
#!/usr/bin/env python import sys, os from opentreetesting import test_http_json_method, config DOMAIN = config('host', 'apihost') SUBMIT_URI = DOMAIN + '/v1/study/10' data = {'output_nexml2json':'1.2'} if test_http_json_method(SUBMIT_URI, 'GET', data=data, expected_status=200): sys.exit(0) sys.exit(1)
[ "mtholder@gmail.com" ]
mtholder@gmail.com
4c6f2984e0be0d00bc2c0ecd2fc12543e782b8c2
2b170822be27a77e0c47580e8a247f2b541d907d
/python简单银行系统便民版(无界面)/dict.py
b3a0b439f91b4de77dbc7cdafe72832bbdcd623b
[]
no_license
gezhiz/python-master
5d335099a7417bd5bd2b4f4ddae8a35097c45260
fe7d9600096ea40c33e9b64c14f77f7411b8c5ab
refs/heads/master
2020-04-07T20:15:52.711592
2018-11-22T10:23:33
2018-11-22T10:23:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
# import pickle # # f = open("allUsers.txt","rb") # file = pickle.load(f) # print(file) # # print(pickle.dumap()) # # 549572 594220 549572 # # 549572 # #726924 #783080 #426644 #808904 # # dict1 = {'a':"1","b":"2"} # del dict1["a"] # print(dict1)
[ "gezhizheng@mvp01.com" ]
gezhizheng@mvp01.com
a3357feaffebcaaeb80dbf2447ca0e0a1827bf54
57cc84b1d56671b7f6d2505773892fb1549fb31c
/for.py
8b3f497aa7596caab9cb5546c76014fc7804d843
[]
no_license
azs06/PythonLearning
8d2490a9539955c0bcc953c4c231bacb071e0fbc
b1a8014d3ec85d4f28faae1d892282a68067d87d
refs/heads/master
2022-11-29T03:51:46.095224
2020-08-11T06:51:01
2020-08-11T06:51:01
286,668,580
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
for i in range(0, 5): print(i) else: print('for loop is over')
[ "atik.aiub@gmail.com" ]
atik.aiub@gmail.com
e347b438a14fe6fa6b5e8f937b174fef63b4bce5
1a10025612a992a1eab96a969e60e48de6352284
/test.py
8e0b0cbf126a5c113f2e4fcb42a05266489dce42
[]
no_license
wangbincyzj/xihongshi_django
e263791b59e86d3e1bf4e91ca8bec7ece502ca5f
c97ece171e37898765a0fda4b1732db030c2bd08
refs/heads/master
2022-12-14T13:39:02.538044
2020-02-08T09:05:28
2020-02-08T09:05:28
239,097,554
1
0
null
2022-12-08T03:34:33
2020-02-08T09:03:37
Python
UTF-8
Python
false
false
664
py
import datetime def week_get(d): dayscount = datetime.timedelta(days=d.isoweekday()) dayto = d - dayscount sixdays = datetime.timedelta(days=6) dayfrom = dayto - sixdays date_from = datetime.datetime(dayfrom.year, dayfrom.month, dayfrom.day, 0, 0, 0) date_to = datetime.datetime(dayto.year, day...
[ "309567157@qq.com" ]
309567157@qq.com
71f0e4d269af49a0eb68f3f2decd6e53a2beadeb
b2e516fa07edcfe4befabaca1104425784a6621e
/Tools/HyperLoad/pyFlashHyperload.py
02d6c1260b410be0b3f39cc6c42e6132bb2e9768
[]
no_license
rehanashraf/SJOneBoard
1b5d762076db8044cedb84060f1ef3610578b032
2e806391b4a3565e351d2d1808754cc2a74d1b10
refs/heads/master
2021-01-23T19:33:46.007865
2017-09-08T06:46:00
2017-09-08T06:46:00
102,760,806
0
0
null
null
null
null
UTF-8
Python
false
false
20,213
py
#!/usr/bin/env python """ # SJSU - AV # # CHANGELOG: # 2017-02-11 : Added command line settings change support # 2016-02-15 : Working Skeleton for Flashing a Hex file to SJOne comeplete! """ import serial import string import struct import math import serial.serialutil import logging import sys import getopt import p...
[ "rashraf.cheema@gmail.com" ]
rashraf.cheema@gmail.com
110a79d3e7a454e76d913a5ec030dc7e842f5bbf
724df25bf37a834ec892f68d1f69ba7040c8f4a1
/cohort.py
5a59fa3d431eacba1b9ced632f8254a4314282e8
[]
no_license
tstrotherIV/python_student_exercise
5b335005bb0a4a02efc305a73a2e9c1fa21d3307
6b04b5c9d66c9ad25c5edeb952854ba4af1c0c88
refs/heads/master
2022-11-25T02:45:18.908375
2020-08-03T17:09:12
2020-08-03T17:09:12
280,487,676
0
0
null
2020-08-03T17:09:13
2020-07-17T17:36:59
Python
UTF-8
Python
false
false
303
py
class Cohort: def __init__(self, name): self.name = name self.students = list() self.instructors = list() def add_students(self, students): self.students.extend(students) def add_instructors(self, instructors): self.instructors.extend(instructors)
[ "tom_strother@yahoo.com" ]
tom_strother@yahoo.com
d55354fab931785bf8d8bfeeb68f98a9376ee3f0
388f0d601cc7922b471d43f47f9b733726f5da8b
/count_distict.py
a274da3abbe485e782035e38dee6c4683d0f8869
[]
no_license
ramkishor-hosamane/Coding-Practice
b3fa29b099e47d86d63ecf1a084cd52ca3da63d7
6d8295cb0e6469e04f504bac5a105c57ebf73a2d
refs/heads/master
2022-12-02T15:43:02.014492
2020-08-23T14:37:05
2020-08-23T14:37:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# https://practice.geeksforgeeks.org/problems/count-distinct-elements-in-every-window/1 def countDistinct(arr, N, K): i = K h = dict() ans = 0 for x in arr[:i]: if h.get(x): h[x]+=1 else: h[x]=1 ans+=1 res = [ans] while i < N: h[arr[i-K]] = h.get(arr[i-K]...
[ "ramhosamane@gmail.com" ]
ramhosamane@gmail.com
c3929a5af288eccadb0f125969e2289828782aef
7810f1174faf8e1527d96875e7017e750634a40a
/bogo/tests/test_bogo_manager.py
d1d642a921eb610d80204844a02ec05a0a16813e
[ "MIT" ]
permissive
matiaslindgren/not-enough-bogo
dc6b8845d7ef87cb0a6ced83818f403098769abd
6077ccd91fd24e6046e49957b460d3bb9adc0a75
refs/heads/master
2021-01-01T17:52:45.621460
2017-09-17T20:33:22
2017-09-17T20:33:22
79,248,750
0
0
null
null
null
null
UTF-8
Python
false
false
6,016
py
import ast import asyncio import unittest import hypothesis import uvloop from . import strategies from bogoapp.bogo import Bogo from bogoapp.bogo_manager import BogoManager, BogoError class TestBogoManager(unittest.TestCase): def setUp(self): self.loop = uvloop.new_event_loop() asyncio.set_ev...
[ "matias.lindgren@gmail.com" ]
matias.lindgren@gmail.com
407e6d9a060066d308c0fdf509a1569cc7efac24
95f5921ba04a57fc31b75c977322c3f903de6fff
/5_test/8_cnn_rnn_vc/1.py
61d3929a445bf49399436c1ad4e9dea432d19f7f
[]
no_license
one-leaf/tensorflow
78f2c852f6db67c5125aee857b0086d623222333
a42ec6e2018da4f35c42469d0b8b617ed59e8dc0
refs/heads/master
2022-08-07T09:23:45.580296
2022-06-29T03:16:07
2022-06-29T03:16:07
82,270,218
13
12
null
2022-06-22T06:23:53
2017-02-17T07:34:29
Python
UTF-8
Python
false
false
20,892
py
# coding=utf-8 #!/sbin/python ''' 一共需要运行二次,第一次为按64/32/16长度学习,再运行一次预测输出结果 本程序预测的分数是 ? ''' import numpy as np import paddle.v2 as paddle from paddle.trainer_config_helpers import * import json import os import random import sys import time import shutil import logging import pickle import commands, re import threading...
[ "wp@bsw.com.cn" ]
wp@bsw.com.cn
8d7793e068d44fdf86b78fc3ce1096b6349256b3
df15792f5a82fcea25e62714b13e2d502485eb00
/peil/peil/migrations/0009_auto_20170507_2253.py
a180183bba7ba0b86a466b593a969a1c33e7bac5
[]
no_license
acaciawater/peilstok
c6fcdab232d938a3f281e9843c81cfbf59cc4eea
179e1981a656e78a8ebdac6e50ef73f852df7630
refs/heads/master
2020-12-30T17:11:27.871514
2017-12-08T13:14:35
2017-12-08T13:14:35
91,066,224
1
0
null
null
null
null
UTF-8
Python
false
false
498
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-07 20:53 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('peil', '0008_auto_20170507_2159'), ] operations = [ migrations.RemoveField( ...
[ "tkleinen@gmail.com" ]
tkleinen@gmail.com
588c83942621e4ae1c1f96a0ff100768f61c75a4
b449e00f288e1df48c4ec3ae70ecfcb75103e18d
/CT/segmentation/models/deeplab_xception.py
89ce9c774c494aec816084bea3f5fe298b2e49f4
[]
no_license
sara-nl/Covid19-HPML
9e080e23cf00df13e3faf339833d61f5af4b9f14
9f9a69874dec8e112e56c3d2e76f8660513e5e69
refs/heads/master
2022-12-22T22:42:42.186969
2020-07-23T10:22:34
2020-07-23T10:22:34
254,063,618
5
1
null
2022-12-08T10:17:03
2020-04-08T11:04:24
Python
UTF-8
Python
false
false
15,579
py
import math import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.model_zoo as model_zoo class SeparableConv2d(nn.Module): def __init__(self, inplanes, planes, kernel_size=3, stride=1, padding=0, dilation=1, bias=False): super(SeparableConv2d, self).__init__() self...
[ "noreply@github.com" ]
noreply@github.com
2b3bd701e836627440ce9883fac5ebfaf2172fbd
ac3b7990d8241b49814da014377efb3b1fe31b78
/mypkg/tests/test_pdfminerparser.py
0da07846e995c0d86c9c772dc5cb4c4d516039dc
[]
no_license
Suisel/index
c3f511984dfb9656f317770f554021a9c3eb417a
894d31793312a64f8ecd3ed01fe20486a2196b41
refs/heads/master
2020-04-10T01:49:18.133842
2018-12-10T21:34:27
2018-12-10T21:34:27
160,726,415
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Sep 30 19:04:29 2018 @author: mariya """ from pdfminerparser import PDFMinerParser class TestPDFMinerParser: def test_PDFMinerParser(self): pdf = PDFMinerParser() pdf.parse('files/Test.pdf') text = ['i', 'test', 'poop'...
[ "lavelinae@gmail.com" ]
lavelinae@gmail.com
6132c8e773c66f16787162a2358c53b59c71e0b4
21f35a5ff7117ce5a9be77afb97c0a409dcbe80c
/Scripts/cw_utilityfunx.py
2c5fc2f0472b32802b60427f6dd67264f3e8ca79
[]
no_license
JAngiolillo/ChoosingWisely_across_ICDgenerations
cac8cb09f99123c61c7fa0ff1f8838f69c5994fb
1dfb11c65314c404bf9e489c76c1957d96125af9
refs/heads/master
2020-04-12T16:40:31.464063
2019-02-09T13:56:01
2019-02-09T13:56:01
162,620,473
0
0
null
null
null
null
UTF-8
Python
false
false
5,688
py
#import simple utility functions (add_age, add_month, timeBtwnDex, # calculate_age, downloadDemographicsByDate, # subsetByDemographics, ) import pyodbc, os, math import pandas as pd import numpy as np import datetime as dt from datetime import datet...
[ "ja2686@cumc.columbia.edu" ]
ja2686@cumc.columbia.edu
6a0dfc2bcd2f31d37e437424deb6a7b06758725d
ae4976ec9ea1501c22bd45351f02cd869c3de1a4
/hough.py
df790157e59502c7054db7ab7beda170b7842cfd
[]
no_license
ovchinnikovdk/miptcv_course
0e875964fe1104fb375f1bb86f1477c5e0781079
de5321b8d86fb8c5c3afbb6e61420d3a5422e127
refs/heads/master
2021-06-05T17:57:35.791251
2016-11-12T11:45:30
2016-11-12T11:45:30
73,548,412
1
0
null
null
null
null
UTF-8
Python
false
false
2,785
py
from __future__ import print_function from sys import argv import cv2 import numpy as np def gradient_img(img): hor_grad = (img[1:, :] - img[:-1, :])[:, :-1] ver_grad = (img[:, 1:] - img[:, :-1])[:-1:, :] magnitude = np.sqrt(hor_grad ** 2 + ver_grad ** 2) return magnitude def hough_transform(img, t...
[ "ovchinnikov.dk@phystech.edu" ]
ovchinnikov.dk@phystech.edu
c4ce4fffb5bf2ed3792ae58eba4bc636f6d0b196
60d4731a11f3a08d555fb0349ef87efe8d601d1d
/mp3tag/utrn.py
dc6bb475953e9501370b499b9496c45cb4719643
[]
no_license
mifishe/tools
c4d7f8463fd8d7e97d6f311be248e2cf556422ec
cda5b30ac0008be8749d9c541121e9fa008843bb
refs/heads/master
2021-01-13T01:49:12.784010
2015-11-04T11:52:00
2015-11-04T11:52:00
11,250,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
from mutagen.easyid3 import EasyID3 import os, sys, re, core roman_map = { 100 : 'C', 90 : 'XC', 50 : 'L', 40 : 'XL', 10 : 'X', 9 : 'IX', 5 : 'V', 4 : 'IV', 1 : 'I', } #evaluating keys roman_keys = list(reversed(sorted(roman_map.keys()))) def to_rom...
[ "mifishe@gmail.com" ]
mifishe@gmail.com
d45cc04a9c4c3eda7f278f174b72898530bd6927
7187f4294ee306be7d7fbbe63fd0fe99546f932d
/pratice_filter.py
229e87c9b681f0a3e9388179629d0efad09bb389
[]
no_license
samuel-narvaez/python-intermedio
2b726489f042fdd2e9e8932dba12a6413fdd779f
282baed76d97791c9e669c79b1623ba7472166b2
refs/heads/master
2023-06-28T19:48:11.903931
2021-08-11T20:56:21
2021-08-11T20:56:21
395,114,471
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
# Usando list comprehension: my_list = [1, 4, 5, 6, 9, 13, 19, 21] odd_comprehension = [i for i in my_list if i % 2 != 0] print(odd_comprehension) # Usando filter: odd_filter = list(filter(lambda i: i % 2 != 0, my_list)) print(odd_filter)
[ "79264880+webdeveloper-abr-samuel@users.noreply.github.com" ]
79264880+webdeveloper-abr-samuel@users.noreply.github.com
5d49fd435ae7ec0bbe55d65716280de38585f320
66c3ff83c3e3e63bf8642742356f6c1817a30eca
/.vim/tmp/neocomplete/include_cache/=+home=+abel=+.virtualenvs=+django=+lib=+python2.7=+site-packages=+django=+utils=+decorators.py
114714f9021f8e730c05ca6ac3837a9848baf0d0
[]
no_license
pacifi/vim
0a708e8bc741b4510a8da37da0d0e1eabb05ec83
22e706704357b961acb584e74689c7080e86a800
refs/heads/master
2021-05-20T17:18:10.481921
2020-08-06T12:38:58
2020-08-06T12:38:58
30,074,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
[{'word': '_dec', 'menu': '[I]', 'kind': 'f', 'abbr': 'def _dec(func):'}, {'word': '_decorator', 'menu': '[I]', 'kind': 'f', 'abbr': 'def _decorator(view_func):'}, {'word': '_make_decorator', 'menu': '[I]', 'kind': 'f', 'abbr': 'def _make_decorator(*m_args, **m_kwargs):'}, {'word': '_wrapped_view', 'menu': '[I]', 'kind...
[ "pacifi.bnr@gmail.com" ]
pacifi.bnr@gmail.com
d9d098d9fb7eebef77cb4e80498df3812f35e9be
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/mail_bot/models/mail_channel.py
b3486e0f9c67d8c5f70a64944b335d665f4eec2a
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,363
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from odoo import api, models, _ class Channel(models.Model): _inherit = 'mail.channel' def _execute_command_help(self, **kwargs): super(Channel, self)._execute_command_help(**kwargs) self.env...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
1f54cf74eabddcf79a214a67a62ce3b7a1bb8c0f
48af2c95f44fd8f63d754b826a61c20bd247e038
/plotter.py
30287cff3dda753364967179e301c8b80d06383a
[]
no_license
marksteve/xkcdtimegraphs
0bf26c4a32832fed5f61c3c0dc4fc1336b962f04
687d60e6f0b9c48a0a3b3079b107974e5fae6f8c
refs/heads/master
2021-01-01T18:55:48.961949
2013-07-27T08:21:10
2013-07-27T08:21:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
from cStringIO import StringIO import matplotlib.pyplot as plt from datetime import datetime import matplotlib.dates as mdates colors = 'bgrcmyk' markers = 'o^Ds*' def plot_time_series(data): buf = StringIO() plt.xkcd() plt.xlabel("Date") plt.ylabel("Number of events") axes = plt.axes() # loc = mdates.Aut...
[ "myrtactle@gmail.com" ]
myrtactle@gmail.com
ba858d836612f5c7033f224fdde159303b0860e2
ef2e354ae06e9994b7bc65f9685f8769ec56dc28
/offerride/urls.py
62a8e3f206ab88fb18f3719babe863841c06b08e
[]
no_license
akhilpatil123/FareShare
45e634b07749f507a40eeb08be710b2090844ab9
a0d89ba324ef5cf74fe5c54cf641f0d3625bd373
refs/heads/master
2020-04-30T00:21:56.041455
2019-03-19T11:55:56
2019-03-19T11:55:56
176,501,277
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from django.conf.urls import url from . import views app_name = 'offerride' urlpatterns = [ url(r'^$',views.index, name='index'), url(r'^rides/$', views.rides, name='rides'), url(r'^addride/$', views.addride, name='addride'), url(r'^submitride/$', views.submitride, name='submitride'), url(r'^join/...
[ "you@example.com" ]
you@example.com
acba81390f9885788faef08ef3a0b042ce1e6ced
f5cf699c09c4bf2fd94285004ebc7766b9464532
/scripts2/has_release.py
aebe6aa3b0abba1d3f9fea32914f2aa20c91398c
[]
no_license
marcoacierno/autodeploy-tests
056f7351a94d3316d9a984e9307c4d42b0848be6
f3bc97235cc17481ecc9529149ac7b361fbbe701
refs/heads/master
2022-01-08T02:52:41.418328
2019-05-11T10:46:33
2019-05-11T10:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
import sys import os import re sys.path.append(os.path.dirname(__file__)) # noqa from datetime import datetime from base import run_process, RELEASE_FILE, CHANGELOG_FILE if __name__ == "__main__": if not os.path.exists(RELEASE_FILE): print("Not releasing a new version because there isn't a RELEASE.md ...
[ "marcoaciernoemail@gmail.com" ]
marcoaciernoemail@gmail.com
23418341a3629e1c4fd9f693954aefbdcf04ef96
dca737f96a7fe808342424d057f4039b7028e3d8
/2019/01/day01.py
4a14a74802834fadb6bbd937da8dcd43a666c476
[]
no_license
gpadiernos/advent-of-code
9fd6386f06216446043b676cfe1c3d8c7970f97a
09c93fa8a914590b7bc63e0cb7ac98cf9a7b8d09
refs/heads/master
2020-09-23T05:13:12.436986
2019-12-02T16:47:24
2019-12-02T16:47:24
225,413,574
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
#!/usr/bin/python3 # Advent of code 2019 # Day 01 def calculate_fuel(fuel_mass): # recursively calculate the fuel needs to launch a module. new_fuel_mass = fuel_mass // 3 - 2 if new_fuel_mass <= 0: return 0 return new_fuel_mass + calculate_fuel(new_fuel_mass) #read in masses with open ('input...
[ "gpadiernos@gmail.com" ]
gpadiernos@gmail.com
b02a7fb360f025a9d50d587e24b3ba105f84f338
de42a677c1735f566a90c311c8533a860e472cd4
/vicks/user.py
5582038375388088448acd653ac5417abb502c6f
[]
no_license
imvickykumar999/vickschat
fa3ccdab4d47ea67d857e0e03f1bd908b2cd4831
7ff5ba3e721be8554f28672d9c8debd7bfc5f07e
refs/heads/main
2023-05-30T14:09:33.051871
2021-06-22T10:23:48
2021-06-22T10:23:48
326,680,123
1
4
null
null
null
null
UTF-8
Python
false
false
592
py
from werkzeug.security import check_password_hash class User: def __init__(self, username, email, password): self.username = username self.email = email self.password = password @staticmethod def is_authenticated(): return True @staticmethod def is...
[ "noreply@github.com" ]
noreply@github.com
73ce4b0aa5bd1da2a82a5945ab40c2a984e8af2e
f2f26e263da6d3cfe66e78fc326744ac512ff7f9
/boostedhiggs/htautauprocessor.py
bb52be16b21bb403e7687867bb2a4f342a7a3abf
[]
no_license
drankincms/boostedhiggs
64b231a18abd49eee82630501df1ae815d58569f
31d15d7dc165c3eb081793d79a3770973b7abc21
refs/heads/dev
2023-06-25T18:04:01.088815
2021-10-26T15:36:13
2021-10-26T15:36:13
227,409,855
0
4
null
2022-04-15T17:41:58
2019-12-11T16:22:26
Python
UTF-8
Python
false
false
36,333
py
from functools import partial import numpy as np from coffea import processor, hist from uproot_methods import TLorentzVectorArray import awkward from copy import deepcopy from .common import ( getBosons, matchedBosonFlavor, matchedBosonFlavorLep, getHTauTauDecayInfo, isOverlap, ) from .corrections ...
[ "drankin@bu.edu" ]
drankin@bu.edu
62600452f3a7c34462128d6b39766e81e39ba799
15cdd512784691612eaee1749dcd4c0c98897798
/TwoSum1.py
160734d47d5a4b6d9c3cc4a4139d838fccec2a1f
[]
no_license
GUANFULUO/LeetCodes
f23e381b9e5cbafd5563273afb62377f53bcb687
d76ee3773089beb819686fd8ac76ca197dac061c
refs/heads/master
2020-03-25T05:01:13.089857
2018-08-03T12:46:09
2018-08-03T12:46:09
143,425,179
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
''' 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0] + nums[1] = 2 + 7 = 9 所以返回 [0, 1] ''' class Solution: def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ for i in range(len(nums)): for j in range(i+1, len(n...
[ "luolang304019@outlook.com" ]
luolang304019@outlook.com
e291e05c5bc7d1bb9602b61922781b54f61194f1
cc2a00ce7e05245327ce8da85d0e3aa01d9635b9
/P_controller/Tank_2/models/environment.py
4b71bb3680bde2d87dcab15ee3e7ea14fb3ac54f
[]
no_license
puttak/Reinforcement-Learning-in-Process-Control
f7c05a0ed41826cb1d7248caffdb3c47bbe66df0
852967e97b2fb0b6c5022365c9ef62906c099832
refs/heads/master
2020-05-03T21:56:33.515929
2019-03-21T08:28:36
2019-03-21T08:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,962
py
from models.tank_model.tank import Tank from visualize.window import Window import matplotlib.pyplot as plt from drawnow import drawnow class Environment: "Parameters are set in the params.py file" def __init__(self, TANK_PARAMS_LIST, TANK_DIST_LIST, MAIN_PARAMS): self.model = [] for i, TANK_...
[ "eskild.emedd33@gmail.com" ]
eskild.emedd33@gmail.com
ed0e2af1fdd785051602f1169c01fe914561d07e
7c208711405aa6bd99106b94697028734e3fb1f9
/scraping/scraping_highest_searchword.py
2c3da07e8cb80c24b1eead74dad1cffca090c75b
[]
no_license
tb16/fundraising-campaign
8e280dcec7820c6b65ac7ce0b7a4edc68cde735d
a091d67fb3e314d081b6c8d3ec3a447bf134d498
refs/heads/master
2021-01-11T18:17:27.329103
2016-10-18T19:32:35
2016-10-18T19:32:35
69,335,782
0
0
null
null
null
null
UTF-8
Python
false
false
5,624
py
import requests import sys import json import re import time import multiprocessing import multiprocessing.pool import bs4 import pymongo db = pymongo.MongoClient().gfm_database2 # tab = db['campaigns'] _user_agent = ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 ' '(KHTML, like Ge...
[ "Komal@Teks-MacBook-Pro.local" ]
Komal@Teks-MacBook-Pro.local
9005789fda0a638e02068e1626542a3b11031c4f
eedf3dd2a3f3fe97cd2a884fa20b004f1fa47999
/nova/nova_agent.py
f65628a3844845d3fc741812d1629e2f2d195b0c
[]
no_license
hxinhan/Agent
b82e7f82cee5b6d1decff9ebf4df5f35024e5223
e097796b06ab460191102b44e604b48f23a2b8fb
refs/heads/master
2021-05-31T11:14:18.514230
2016-05-15T20:11:51
2016-05-15T20:11:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,745
py
from request import * from common import * from db import * from models import * import uuid from StringIO import StringIO import os import time import re def nova_api_version_discovery(env): # Retrive token from request X_AUTH_TOKEN = env['HTTP_X_AUTH_TOKEN'] # Create request header ...
[ "hxixnhan@gmail.com" ]
hxixnhan@gmail.com
8ef8427dce608ca202784f37cf51bed39ba13aa9
ad5d72e7f03ca89bb73579e074b9b25463164f52
/SY Lab Codes/SEM 3/SEM 3 Python/Assignment 7/A7_3.py
a6fae2bc28d0cf99fad7978672d26b5a4d778fab
[]
no_license
darshancool25/IIIT_Codes
2a6c5e39d822884e94084cb23faa593595efe278
15bb07ffc23d1246be77aaa41abc88348f583b66
refs/heads/master
2020-07-26T22:56:38.036831
2020-07-17T10:15:56
2020-07-17T10:15:56
208,789,709
8
0
null
null
null
null
UTF-8
Python
false
false
108
py
def Darshan(): fname = "Darshan" lname = "Lokhande" age = 21 print(Darshan.__code__.co_nlocals)
[ "lokhande.darshan25@gmail.com" ]
lokhande.darshan25@gmail.com
43daa355f596415d794bf815f82a5c47f5f64f4e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03268/s110149697.py
306d09930e8015c8cc774fe726aa8960b05be863
[]
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
143
py
n, k = map(int, input().split()) if k % 2 == 0: d = k//2 ans = ((n // d)-(n//k)) ** 3 else: ans = 0 ans += (n // k) ** 3 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
70026a40fd339a0274b5f4b28aa1d9800b33d7aa
673f9b85708affe260b892a4eb3b1f6a0bd39d44
/Botnets/App/App Web/PDG-env/lib/python3.6/site-packages/scipy/integrate/_ivp/dop853_coefficients.py
5cc5c9e4c41c8bc9fa2287554b1308777aaa5172
[ "GPL-3.0-or-later", "BSD-3-Clause", "GPL-3.0-only", "BSD-3-Clause-Open-MPI", "BSD-2-Clause", "GCC-exception-3.1", "Qhull", "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "Python-2.0" ]
permissive
i2tResearch/Ciberseguridad_web
feee3fe299029bef96b158d173ce2d28ef1418e4
e6cccba69335816442c515d65d9aedea9e7dc58b
refs/heads/master
2023-07-06T00:43:51.126684
2023-06-26T00:53:53
2023-06-26T00:53:53
94,152,032
14
0
MIT
2023-09-04T02:53:29
2017-06-13T00:21:00
Jupyter Notebook
UTF-8
Python
false
false
7,303
py
from __future__ import absolute_import, division, print_function import numpy as np N_STAGES = 12 N_STAGES_EXTENDED = 16 INTERPOLATOR_POWER = 7 C = np.array([0.0, 0.526001519587677318785587544488e-01, 0.789002279381515978178381316732e-01, 0.118350341907227396726757197510, ...
[ "ulcamilo@gmail.com" ]
ulcamilo@gmail.com
c7c8fc582f5a75e30e7f2c47f17df345151952e9
1a7e6d5e42159df95b2ed240d41fcbc5255f7dfe
/plot_board.py
241ba1672c03f42860a8583d29ea6b4b8315bea2
[]
no_license
javaBin/PollZone
6ac560a862dc53fa0d3531874ad76973763da1d7
8da82ef424846c71ee83561ed3f4bc5584f6af61
refs/heads/master
2020-12-24T07:52:06.549972
2016-09-06T16:31:41
2016-09-06T22:05:48
59,665,096
1
1
null
2016-05-29T15:37:40
2016-05-25T13:23:54
KiCad
UTF-8
Python
false
false
7,585
py
#!/usr/bin/env python ''' Heavily borrowed from this location: https://github.com/blairbonnett-mirrors/kicad/blob/master/demos/python_scripts_examples/plot_board.py Parameters Takes 2 parameters 1. Path to kicad file 2. Location of where to save pdfs A python script example to create various plot files from a bo...
[ "trygvis@inamo.no" ]
trygvis@inamo.no
8d90971cbca3b1ef06ba3bd9ba3366b38bb8ec51
390532540c5dd17e2ec84c8b7ad7c34de052936c
/packing_problem/wsgi.py
bf483ff5cf315b874741004473a383ac993d1b7f
[]
no_license
Stanisz15/bin_packing_problem
7db23c3accb53ea31c93a69852f792f455bf0c5d
f04a16e1eb79c4cc2a90933d8622bb1d00053365
refs/heads/master
2021-04-09T17:55:53.993685
2018-04-09T05:46:22
2018-04-09T05:46:22
125,882,398
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for packing_problem 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/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "lukasz.staniszewski@onet.pl" ]
lukasz.staniszewski@onet.pl
2719bb85ffe7d265a0ce770305af122cefa41917
b892f02283f12104b8bc80699c1cf8dbe8ffad9b
/dataset/ML.py
83a9493f34727aef853e96dad54255465d4ab9cb
[]
no_license
TheExtraSemiColon/DecisionTree
b32711a3744310815ea1be2fceed2c40f3a62b93
693a53efc8e92e366c776e088d0a1b5df538ece8
refs/heads/master
2020-06-29T19:28:19.596175
2019-08-05T07:27:53
2019-08-05T07:27:53
200,603,801
0
0
null
null
null
null
UTF-8
Python
false
false
5,212
py
import csv import numpy import math #import pandas as pd #########Taking imn values######### #readcsv=pd.read_csv('train.csv') #print(readcsv.head(1)) #backtolist=readcsv.values.tolist() #print(backtolist[0][0]) with open('train.csv') as csvfile: readCSV = csv.reader(csvfile, delimiter=',', quotechar='|'...
[ "noreply@github.com" ]
noreply@github.com
6e390379e2ddb018fcbdd577b13d1a8fe9acd13a
22253e2e43fa7540ce601427fd5dda3f5800cf77
/Users/migrations/0001_initial.py
5c358954e6dc8d14e95109e9c78b48e744b085d1
[]
no_license
MugiwaraNoRushi/POE
e805dd21d81f41fe26a8d9c0fdb02e638de6d198
5214db7872fc54384d544f07349833943c7fd43d
refs/heads/master
2022-04-22T02:27:06.666210
2020-04-21T05:49:48
2020-04-21T05:49:48
206,919,244
0
0
null
null
null
null
UTF-8
Python
false
false
4,037
py
# Generated by Django 2.2.3 on 2019-07-17 11:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Master_City', fields=[ ...
[ "devbrainiton@gmail.com" ]
devbrainiton@gmail.com
8a2e361d427501a46d5935226ee01779753093ca
eef3fd0eba25725aa045f4913304c4d2dd93ba7e
/deeplearning_tensorflow_p/p58_transpose_resnet.py
2463164107c0a9da57793cd2bb02a1bff48cb30e
[]
no_license
provenclei/tensorflow_cv
c613e686ab6827a5eedcbaf00ef1317da0b94e81
c8827e74e0db42fa617c91f1d14b71abcff8780a
refs/heads/master
2022-12-01T05:52:31.365257
2020-08-16T00:24:11
2020-08-16T00:24:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,078
py
# -*- coding: utf-8 -*- """ @Author : LEITENG @Version : ------------------------------------ @File : p56_ResNet.py @Description : @CreateTime : 2020/7/10 09:21 ------------------------------------ @ModifyTime : 反 Resnet 框架 """ import tensorflow as tf RESNET18 = 'ResNet18' R...
[ "18565663062@163.com" ]
18565663062@163.com
27386c9534a9368af8aaaea989320140f1507abc
0e80188dd9780d8f1af433183799c85138d2751f
/timerthread.py
d79ed6cd07e2ed99e90aeaa2b214b6db5bc6a43c
[]
no_license
Totoro2205/FreebitcoinClient-1
8731ac03442a4c26750d4b86b08b1daae153cb8c
ef7d756ac69d9a0a0468e2882c8b41694e53f3ec
refs/heads/master
2022-04-26T05:46:43.316171
2019-09-03T08:18:43
2019-09-03T08:18:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,895
py
import logging import threading import typing class TimerThread(threading.Thread): def __init__(self, fn: typing.Callable, interval: float, event: threading.Event, lock: threading.Lock, start_delay: int = 0, lock...
[ "ablack@fastmail.net" ]
ablack@fastmail.net