blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
91aaaa9397546c8f92ae2fd813674cf87646d94c
fe09c822f90bddbead6ed2b9f2023707148f13fc
/day10/Person.py
92ccb3ba2f20c11b4de210b922b8c7621736ad1d
[]
no_license
Bobdfm0126/Python20210713_Bob
89bc67ac1e545283da9dd161692731ac07907640
c4da6abd74d10b20099f28571cdc84d7d4e4cea5
refs/heads/master
2023-07-15T19:24:44.753589
2021-08-26T11:59:28
2021-08-26T11:59:28
385,594,985
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
class Human: def __init__(self, name, age, sex) -> None: self.name = name self.age = age self.sex = sex def __str__(self) -> str: return "name: %s age: %d sex: %s" % (self.name, self.age, self.sex) class Student(Human): def __init__(self, name, age, sex, number, grade) -> ...
[ "bob940126bob@gmail.com" ]
bob940126bob@gmail.com
1ebeccd76c77fb7295b05092f26a7ad953d07807
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2330/60796/280647.py
2ebf0db21d495fb1321ec9d1115f099b73a5cb61
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
2,846
py
import math N=int(input()) ls=[] for i in range(N): ls.append(input().split(",")) ls[i]=[int(x) for x in ls[i]] r=[] for i1 in range(len(ls)-3): for i2 in range(i1+1,len(ls)-2): for i3 in range(i2+1,len(ls)-1): for i4 in range(i3+1,len(ls)): a=ls[i1] b=ls[...
[ "1069583789@qq.com" ]
1069583789@qq.com
69f7ccb625eee40b8adaaf35cde841ca47c70bdb
2ebe9a9972228e5b0b2c316c503b8eb85ddb5b3e
/script.py
caef3e62b3a59cc5fbe8413ee4f4f8723562d17c
[]
no_license
HoloGenesis/BlenderAnimation
e0a40f2fea203f26fa307e01cfed70ec8f373de8
8f5f949dfb1975dd1870ae1315271eb56eb909ea
refs/heads/master
2021-01-19T03:22:09.820674
2013-02-24T17:51:11
2013-02-24T17:51:11
8,789,113
1
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
#---------------------------------------------- # Pythonscript voor de animatie van vogels die # een bepaald object volgen en hindernissen # ontwijken. # # Wouter Pinnoo en Eveline Hoogstoel #---------------------------------------------- import bpy import random # Maken van hindernissen op willekeurige pl...
[ "pinnoo.wouter@gmail.com" ]
pinnoo.wouter@gmail.com
7e1126158e18b8d4e8fd1a814f0c7b1db2c31236
35d9d8bc51755df93f7c2a11fe07ea502dd316f6
/babyshare/catalog/migrations/0003_auto_20200301_0203.py
c3c4087ececda2e58174d762c77f8d00945a4d97
[]
no_license
MEF4232/baby-share
f854333110a366d06fcf47a1ece89686b334abe8
38c630e584e2de9a8623eec209a4d8debc5c26b5
refs/heads/master
2021-02-07T12:25:14.943740
2020-03-01T17:18:08
2020-03-01T17:18:08
244,025,269
0
3
null
2020-03-01T17:18:09
2020-02-29T19:01:17
HTML
UTF-8
Python
false
false
1,836
py
# Generated by Django 3.0.3 on 2020-03-01 02:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_auto_20200229_1954'), ] operations = [ migrations.RemoveField( model_name='item', name='name', ...
[ "noreply@github.com" ]
MEF4232.noreply@github.com
61c8435f832d61befe8894c8dbea7b181fd8b002
b26c41926fa3a7c2c061132d80e91a2750f2f468
/tensorflow_probability/python/internal/backend/numpy/gen/linear_operator_adjoint.py
69c51544cf53762799d4572987b1106ebd7474ad
[ "Apache-2.0" ]
permissive
tensorflow/probability
22e679a4a883e408f8ef237cda56e3e3dfa42b17
42a64ba0d9e0973b1707fcd9b8bd8d14b2d4e3e5
refs/heads/main
2023-09-04T02:06:08.174935
2023-08-31T20:30:00
2023-08-31T20:31:33
108,053,674
4,055
1,269
Apache-2.0
2023-09-13T21:49:49
2017-10-23T23:50:54
Jupyter Notebook
UTF-8
Python
false
false
9,797
py
# Copyright 2020 The TensorFlow Probability Authors. All Rights Reserved. # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ # THIS FILE IS AUTO-GENERATED BY `gen_linear_operators.py`. # DO NOT MODIFY DIRECTLY. # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
475a4838da27863cb4d1120b9af1b225db6ca765
8c1caeff0571245dea78b8d20367f4785754c8a8
/ilmo_app/migrations/0005_auto_20190304_1057.py
26a907cb95d0baf483daae329d89f057bc2b52f8
[ "MIT" ]
permissive
osakunta/django-ilmo-app
56f8bde38e34e8c7e68c336386d214c22390fe27
f36dadd45b3be86b60ceeb7dfeea77f5e39dde5e
refs/heads/master
2023-04-27T07:02:02.947258
2022-03-24T12:14:46
2022-03-24T12:14:46
63,781,597
6
3
MIT
2023-04-21T22:01:15
2016-07-20T12:58:33
Python
UTF-8
Python
false
false
653
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-03-04 08:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ilmo_app', '0004_auto_20190303_1627'), ] operations = [ migrations.AlterFi...
[ "remes@iki.fi" ]
remes@iki.fi
9b3edf70e10697d58b5502bfc9bcc0ca143c381a
09e5611a79e24bbc7ac5cea96590dbc7504db13b
/bootstrap.py
ba2117c64dd7214a7e611ed9329e96789b9f14b3
[]
no_license
UPCnet/supervisor
07b9ebc42359e688e425abab93d48430c9cd4b75
6ebdcbe64a342dec24d73000ea0a3a43978fa5b6
refs/heads/master
2021-01-18T14:11:46.602638
2015-06-17T07:27:38
2015-06-17T07:27:38
27,213,782
0
0
null
null
null
null
UTF-8
Python
false
false
6,830
py
############################################################################## # # Copyright (c) 2006 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "carlesba@gmail.com" ]
carlesba@gmail.com
2136dc07ff505cbe7a9973d1a20d3ba5a0b7c1eb
25d0364f4ac823c0cad2c7d4f2ced403389a162d
/panel/telemetry/hyperbole.py
0269ea24dfc1fbf082fb0ca6521e6e705de1af30
[ "MIT" ]
permissive
Snoo-py/ksp_panel
f1ae3730ccd084981e17b0a4f90d3439ea6379e3
4eee6784c49a6bc14be25275d983d60090795e63
refs/heads/master
2021-05-26T05:29:11.494906
2021-04-22T19:35:31
2021-04-22T19:37:46
127,621,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
import numpy as np from panel.planet_data import PLANET_DATA from panel.telemetry.telemetry import Telemetry, telemetry_cache class HyperboleData(Telemetry): @property def _c3(self): # https://en.wikipedia.org/wiki/Hyperbolic_trajectory return self.speed**2 - 2 * PLANET_DATA[self.ref_body_n...
[ "37975133+Snoo-py@users.noreply.github.com" ]
37975133+Snoo-py@users.noreply.github.com
6a502db19189aa356da1848cb757a2b4f3f9cb10
f41cf763f5302becfd945433d9e1677322a3207b
/covid_cases/covid_cases/spiders/postcode_pop.py
3dcf85c73a8672cf0104b6a042a67b3df04b188a
[]
no_license
k-dhingra/NSW-Health
61d64b04f911df6c37ca45b1a279507f6a1e6734
1ea1b8e860dcf060e8c274ae8bf7fb902510bb18
refs/heads/master
2022-04-27T11:09:32.960244
2020-05-02T09:33:45
2020-05-02T09:33:45
260,655,029
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# -*- coding: utf-8 -*- import scrapy, json from covid_cases.items import CovidCasesItem class PostcodePopSpider(scrapy.Spider): name = 'postcode_pop' def start_requests(self): url = 'https://nswdac-np-covid-19-postcode-heatmap.azurewebsites.net/datafiles/population.json' yield scrapy.Reques...
[ "36874541+k-dhingra@users.noreply.github.com" ]
36874541+k-dhingra@users.noreply.github.com
047b3cc504e6dca0064f248701233f28e807138b
f0cfe73cf2d634389480ea3d480b49196a03bf3f
/scripts/fix_barcode_kaya_okur.py
5764f4eea128f18eb2ccd58ab3d51d85f4c559bc
[]
no_license
valavro/scCut-Tag_2020
e2a1c738920fb92d8c4bffd0b52e5d243f16df44
949c19a44a6e98444d40e5b8cd253f17d2e54aad
refs/heads/master
2023-05-26T04:14:57.784128
2021-02-10T15:24:08
2021-02-10T15:24:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
#!/usr/bin/env python3 import argparse import pysam import sys import gzip parser = argparse.ArgumentParser(description='Process some integers.') parser.add_argument("--bam_file","-b",type=str,action="store") parser.add_argument("--out","-o",type=str,action="store") args = parser.parse_args() def main(args): N=1 ...
[ "bartosovic.marek@gmail.com" ]
bartosovic.marek@gmail.com
d42cbf0bf2afd62a2579620909e70dd12be67b67
935621ea08ac0bd2265e1935f6301fed595d9d3f
/Untitled Folder/tst3.py
f5101269ece9909201aa3e137ccb5fd84952613a
[]
no_license
itsmeadi/neural
3d0b79979385951aa499efd9c89c5e490f2819fe
551b1ee359807f23b0115648ae4ab5f301efcabf
refs/heads/master
2021-01-21T00:11:54.722418
2018-01-15T17:54:40
2018-01-15T17:54:40
101,861,697
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
a=0 def function(): global a a=9 function() print a globvar = 0 def set_globvar_to_one(): global globvar # Needed to modify global copy of globvar globvar = 1 def print_globvar(): print(globvar) # No need for global declaration to read value of globvar set_globvar_to_one() print_globvar()
[ "itsmeadityaagarwal@gmail.com" ]
itsmeadityaagarwal@gmail.com
5af09d318451d19bd9ea7816ce192d7223139fc5
44e91073035047a294b64dd4eccb7ee3c566ed2f
/jina/executors/segmenters/__init__.py
e4e56ccd21cf94d57514f5cb53bfdb21e0ae6715
[ "Apache-2.0" ]
permissive
chunyuema/jina
728131a352956b7de503ae6d6ff70c95834228ec
e01e57df00deda8ea7bbda1f0a26ba25c60782a6
refs/heads/master
2023-04-06T13:37:05.055330
2021-03-05T23:14:25
2021-03-05T23:14:25
344,590,097
0
1
Apache-2.0
2023-04-01T18:18:29
2021-03-04T19:43:53
Python
UTF-8
Python
false
false
809
py
import inspect from typing import Dict, List from .. import BaseExecutor from ...helper import typename class BaseSegmenter(BaseExecutor): """:class:`BaseSegmenter` works on doc-level, it chunks Documents into set of Chunks""" def __init__(self, *args, **kwargs): """Constructor.""" super...
[ "noreply@github.com" ]
chunyuema.noreply@github.com
c5971d938e49b66b654a919ac6e2e69b5337945b
a4a754bb5d2b92707c5b0a7a669246079ab73633
/8_kyu/derive.py
6efcdb1118f8b8cb017f87a2a9c1cd42ddd88128
[]
no_license
halfendt/Codewars
f6e0d81d9b10eb5bc66615eeae082adb093c09b3
8fe4ce76824beece0168eb39776a2f9e078f0785
refs/heads/master
2023-07-11T13:58:18.069265
2021-08-15T18:40:49
2021-08-15T18:40:49
259,995,259
1
0
null
null
null
null
UTF-8
Python
false
false
198
py
def derive(coefficient, exponent): """ Take the Derivative Kata https://www.codewars.com/kata/5963c18ecb97be020b0000a2 """ return str(coefficient*exponent)+'x^'+str(exponent - 1)
[ "36609861+halfendt@users.noreply.github.com" ]
36609861+halfendt@users.noreply.github.com
46276733c353e6830238baf3b508505a6efd2f47
e1ad2b7a7aa64045bec467cecadd99c97c284868
/results/guia3-04.py
eeead95922a376499a49680ca8e608a05ca67661
[]
no_license
juanmzaragoza/ejercicios-simulacion
503d44d966d6189dff38b87275e20e03189d4390
c9a7688a5d7637f0d70f8b59ea077565d9be6fa1
refs/heads/master
2020-05-22T02:16:56.222903
2019-06-30T21:26:10
2019-06-30T21:26:10
186,196,027
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
import numpy as np from scipy import stats from random import random import matplotlib.pyplot as plt # it starts working checks = 40 states = [0] for i in range(checks): u = random() if(states[i-1] == 1): if(u < 0.95): #continue working states.append(1) else: states.append(0) else: if(u < 0.4): # if was...
[ "jzaragoza@fi.uba.ar" ]
jzaragoza@fi.uba.ar
808ac04d8b0105120d3c78e0d0dac9ac656771c7
bbdc377bfe1f94364de4f7edc1cb19942904cb24
/Manifolds2D.py
8e27ee58b4ff17cb0e88be881a86cd8e3c763290
[]
no_license
ctralie/TwistyTakens
e166139f13b25b8a9885dee11b7267017f73dc28
9e1200a1ad9e10b31eb0a32b5073854cacdefcc9
refs/heads/master
2021-03-19T17:34:37.457455
2018-08-28T15:54:22
2018-08-28T15:54:22
93,522,641
1
0
null
null
null
null
UTF-8
Python
false
false
8,285
py
import numpy as np from Utilities import * def getSphereTimeSeries(theta, phi, u, geodesic = False): N = phi.size X = np.zeros((N, 3)) X[:, 0] = np.cos(theta)*np.cos(phi) X[:, 1] = np.sin(theta)*np.cos(phi) X[:, 2] = np.sin(phi) d = X.dot(u) d[d < -1] = -1 d[d > 1] = 1 x = d ...
[ "chris.tralie@gmail.com" ]
chris.tralie@gmail.com
669156f6db99c3a12296788632039ebd7151b2cc
558e577e91fae58b6eb2fd263ef385854d6f71d9
/bookphone/migrations/0009_auto_20180905_1529.py
9bc7997384c42691a4afd18b32caffd73b26ffa5
[]
no_license
NatalyAlvarez8655176/SISTEMA-DE-CONTACTOS
526a426f0e924fbad2abcdbcc96e0e7abd213dcc
c6feb55ff51f691bae926bc1ab0b09ec74086d5d
refs/heads/master
2020-03-29T03:46:54.091966
2018-09-19T19:13:42
2018-09-19T19:13:42
149,500,412
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# Generated by Django 2.0.7 on 2018-09-05 19:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookphone', '0008_auto_20180905_1459'), ] operations = [ migrations.AlterField( model_name='personal_secretaria', na...
[ "naty7sex@gmail.com" ]
naty7sex@gmail.com
884a88e01e635965ec82e70474a4a475242084e0
67ba46673606c3dcc824d3ba50eeee1e63c96810
/visual.py
f7901850c9364404953732d1fc8f449e63a4d1a2
[]
no_license
garrrikkotua/WikiParser_bot
26650c719b195e957c670b1fa11f962ba0a61a9d
d95c2030e40ef7521521429591e381b3799354d7
refs/heads/master
2021-06-20T00:52:59.386961
2019-11-18T15:08:28
2019-11-18T15:08:28
133,263,976
0
0
null
null
null
null
UTF-8
Python
false
false
2,815
py
from wordcloud import WordCloud from matplotlib import pyplot as plt from io import BytesIO """ This class performs operations to make graphs, wordcloud for the bot """ class Visual: @staticmethod def cloud(self, freq, colormap): wc = WordCloud( colormap=colormap).generate_f...
[ "noreply@github.com" ]
garrrikkotua.noreply@github.com
f16f23b6b8819d380f4d6acb22d3f3dd867dbb81
42a5b53a4c18b6d637be763e6eb3b43a1eca9ed8
/hw3/mydecode.py
a11ba563a719ee18729b14b45f484caca9eb0a93
[]
no_license
lelouchmatlab/sp2015.11-731
877ef0e5d5e069b3be2ce2b696a608ee5aabba37
73981e68ac128ae9b54864aea0dcb899b018d0d1
refs/heads/master
2020-12-13T21:46:17.087027
2015-04-23T10:27:08
2015-04-23T10:27:08
29,413,990
0
0
null
2015-01-18T03:06:33
2015-01-18T03:06:32
null
UTF-8
Python
false
false
8,000
py
#!/usr/bin/env python import argparse import sys import models import heapq from collections import namedtuple parser = argparse.ArgumentParser(description='Simple phrase based decoder.') parser.add_argument('-i', '--input', dest='input', default='data/input', help='File containing sentences to translate (default=data...
[ "qhlegendzh@gmail.com" ]
qhlegendzh@gmail.com
4283a1e957fe7ad7a2df4be6c3c809f47be77b75
d37fb3b727a6d438764559e9965d4c640ecc35ef
/Project 3/roipoly.py
a385780e12e6ec63643fd97efe23d0a8c4f16df1
[]
no_license
govindak-umd/ENPM673
ab65a890881682a309b85bb1884663985be5ce82
e39744a4fb062d00eac6cbe3d455e9788aa85bb3
refs/heads/master
2021-01-09T00:46:37.425744
2020-05-11T22:15:38
2020-05-11T22:15:38
242,192,147
3
2
null
null
null
null
UTF-8
Python
false
false
5,688
py
'''Draw polygon regions of interest (ROIs) in matplotlib images, similar to Matlab's roipoly function. See the file example.py for an application. Created by Joerg Doepfert 2014 based on code posted by Daniel Kornhauser. ''' import numpy as np import sys import matplotlib.pyplot as plt import matplo...
[ "noreply@github.com" ]
govindak-umd.noreply@github.com
4392d1adcce1c93371a6728ecfff29e616948c28
ec78f8ab63aec0753b9360715a4276a971b78a82
/py/data_analysis/np/matrix.py
2df729d2746c2ba43d2ec102e1595d3cf8c1e176
[]
no_license
anderscui/ml
4ace7e7b8cf248042d224bd54e81b691963b2e0e
39238ba6d802df7e8bf1089ef3605cfc83b333ac
refs/heads/master
2021-06-03T16:09:55.207202
2018-11-01T18:50:49
2018-11-01T18:50:49
23,989,214
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
import numpy as np arr = np.arange(15).reshape((3, 5)) print(arr.T) print(arr.transpose()) print(np.dot(arr.T, arr)) # also swapaxes()
[ "anderscui@gmail.com" ]
anderscui@gmail.com
9eb67ffe2ea826e54b02aeea668cce466c27be07
172bbf2a6cc463bcc8d94d5782d0c05a6468d7aa
/tennis_court/scripts/__init__.py
3128316586114ef2784109afd30f45b077d9c135
[]
no_license
TilletJ/TennisBallCollector
4638203f1377b1ab61e2683fc37bd23805248632
a2539de240e067bea05408a1a2f06cbe45cab655
refs/heads/master
2023-03-05T12:34:19.709932
2021-02-19T13:32:46
2021-02-19T13:32:46
333,339,012
1
1
null
2021-02-17T09:00:26
2021-01-27T07:29:56
Python
UTF-8
Python
false
false
75
py
from .gazebo_ros_paths import GazeboRosPaths __all__ = ['GazeboRosPaths']
[ "remi.rigal@ensta-bretagne.org" ]
remi.rigal@ensta-bretagne.org
18d455255174074fa25245eff853e14ddcd5ecfb
565c0a7b3916aa9ac322fe444914e7bd3b589b9a
/tests.py
13461a07720164100dd85feb1208384d7318bbc6
[]
no_license
megh2493/zendesk-assignment
66acb761e91638b115049c19f475f0fabc77d6d7
bcb5598edcf5f4f7c8a2a924ec734b647d0ada48
refs/heads/master
2021-01-25T13:41:12.410705
2018-03-07T08:27:41
2018-03-07T08:27:41
123,604,019
0
0
null
null
null
null
UTF-8
Python
false
false
5,547
py
import unittest from unittest.mock import patch from app import app # unit tests with api end points mocked to simulate situations class TestCase(unittest.TestCase): def setUp(self): app.testing = True self.app = app.test_client() def post(self, path, data=None): return self.app.pos...
[ "mmadhusu@usc.edu" ]
mmadhusu@usc.edu
0f84e55319bb87c08589d43b0fb86bcb244e0049
85efec09cae6a8017d2b0a8f69883a8f6e2a988a
/index.py
959c67dfa25d2a5e742d2f2891ea2dd9104df13f
[]
no_license
paulluka/Testgit
04c5c44799c2eccdbc9f302b39c2474cf62e76f8
73c20ee43acbfd6c9611ba736d9ebc3e2f52dc0e
refs/heads/main
2023-05-13T02:45:56.671222
2021-06-02T14:22:12
2021-06-02T14:22:12
373,193,629
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
import streamlit as st import numpy as np import matplotlib.pyplot as plt ''' # This is the document title This is some _markdown_. ''' print("hello world !!!") st.color_picker('Pick a color')
[ "paul.luka@hotmail.fr" ]
paul.luka@hotmail.fr
9e90f539311fbb9565c36deea3caf03511eeacda
1c1c72937fff02bcec56f8d7877d76cdfb339b42
/SemiPy/Documentation/ScientificPaper.py
28cc06d0e6beca0be338e4cd16bf3bc8bce348f6
[]
no_license
aravindhk/SemiPy
0fd7372569dcd121e8ddb7536a3100327405cae5
729c69d4910a43627edaa609127ce673ce4b2821
refs/heads/master
2021-03-23T05:27:15.567487
2020-03-14T00:27:34
2020-03-14T00:27:34
247,426,030
0
0
null
2020-03-15T08:10:33
2020-03-15T08:10:33
null
UTF-8
Python
false
false
1,060
py
""" Module for Scientific Papers """ import warnings list_of_publishers = ['Journal of Applied Physics'] class ScientificPaper(object): name = '' publisher = '' authors = [] date = None doi = '' synopsis = '' def __init__(self, *args, **kwargs): if self.publisher not in list_of_...
[ "cmcclellan1993@gmail.com" ]
cmcclellan1993@gmail.com
b2d0fc494e361edacb2c59246242262a3668aa8e
0eaf0d3f0e96a839f2ef37b92d4db5eddf4b5e02
/abc098/a.py
aeece8b578c7feb1792ec03018003d9edab1c62b
[]
no_license
silphire/atcoder
b7b02798a87048757745d99e8564397d1ca20169
f214ef92f13bc5d6b290746d5a94e2faad20d8b0
refs/heads/master
2023-09-03T17:56:30.885166
2023-09-02T14:16:24
2023-09-02T14:16:24
245,110,029
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
a, b = map(int, input().split()) print(max(a + b, a - b, a * b))
[ "silphire@gmail.com" ]
silphire@gmail.com
eb8ca0533b3576c10c7673e10928c10f18803fac
a1ea4bb213801a2f49e9b3d178f402f108d8a803
/AI(BE)/bullseyes/bullseyes/settings.py
0cd8bb3f9a00a7080b4c0388a0e00b09b89ddf1f
[ "MIT" ]
permissive
osamhack2021/AI_WEB_Bullseyes_Bullseyes
537df4c35550917b963442538926c0b4bbef3cd6
ec6aa6ce093e93b5666a0fd5ede28585c27a3590
refs/heads/master
2023-08-18T10:42:24.212460
2021-10-20T02:49:35
2021-10-20T02:49:35
407,145,903
4
2
MIT
2021-10-17T05:23:18
2021-09-16T11:54:11
JavaScript
UTF-8
Python
false
false
4,101
py
""" Django settings for bullseyes project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "noreply@github.com" ]
osamhack2021.noreply@github.com
583af2270b80a23b7861eecdbe9975aab0e9f02a
61a35093e28e3d626370e06ddc09c6795ed8b1b9
/plots_for_paper.py
90a4a47a1a88b07e54b8df37cfbfa6ee99eab06f
[]
no_license
malelu92/ucnstudy_analysis
fa73227db4961b2a0d66e99f1beb3b7ddf542360
e8c23c497dda31a8a1bdde4bd4c195befda6e52a
refs/heads/master
2021-01-20T15:38:58.645733
2017-06-14T18:23:35
2017-06-14T18:23:35
82,828,365
0
0
null
null
null
null
UTF-8
Python
false
false
2,354
py
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from collections import defaultdict from model.Base import Base from model.Device import Device from model.DnsReq import DnsReq from model.HttpReq import HttpReq from model.User import User from sqlalchemy import create_eng...
[ "mleaoluc@ucn.inria.fr" ]
mleaoluc@ucn.inria.fr
c5867b1bf92f95bbfef2af61fe39616f12e7e28c
7174dccdc3995c06f11ba0a27917fbc0aa0dd689
/2019-08/test_error.py
7b323d115cefc94d7e203876476e2d6a5f6c1c96
[]
no_license
tang2606/Python_Learn
ca6b27fc7a2ace6758209da82c4f637099bcf45d
7178675b2462fe1e91d2a320d75a274be6262a43
refs/heads/master
2021-07-12T00:42:33.846562
2020-07-01T10:27:48
2020-07-01T10:27:48
162,948,294
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# -*- coding: utf-8 -*- # @Time : 2019/8/25 18:32 # @Author : wadedong # @Site : # @File : test_error.py # @Software: PyCharm class wadeError(Exception): def __init__(self,msg): self.err_msg = msg a = 1 try: assert a == 2, '123' raise wadeError('这他妈就不合理') except wadeError as e: pr...
[ "418953115@qq.com" ]
418953115@qq.com
9f2ee51ec4611d5e3aadd1092d033ed0c2af04bf
cfac9b2c72762c9abdb1e9b05a33ab6ff0d58bd6
/tasks/__init__.py
db92059da5d7f4b7c80eb9befeef1a8a52ede756
[]
no_license
ar0ne/task_adventure
48437aa7faf79066166643234f5fb54cd8c68756
3bc16e18a8dcdf4ce21e5e85684d4d8f7955046e
refs/heads/master
2021-01-10T13:54:41.271356
2015-06-06T15:46:22
2015-06-06T15:46:22
36,503,844
1
0
null
null
null
null
UTF-8
Python
false
false
42
py
from task_controller import TaskController
[ "CAMTbITAKOU@yandex.ru" ]
CAMTbITAKOU@yandex.ru
aa244cde75c122a711974787f5c86bc7b61311a9
ca09e068739d473d29061961b4c3f7124a5e2ff1
/lists/forms.py
ad375874a6f30e502ce7510cc5bf200678539248
[]
no_license
edujtm/tdd-django-book
a0d12603261e099d8a01471cfe3dbc7975ea4306
65ecb6317f7483c5f6b7341f7f5323995d2bc24a
refs/heads/master
2021-09-25T04:49:40.858429
2020-12-01T22:49:50
2020-12-01T22:49:50
252,591,425
0
0
null
2021-09-22T18:50:58
2020-04-03T00:01:18
JavaScript
UTF-8
Python
false
false
1,412
py
from django import forms from django.core.exceptions import ValidationError from lists.models import Item, List EMPTY_ITEM_ERROR = "You can't have an empty list item" DUPLICATE_ITEM_ERROR = "You've already got this in your list" class ItemForm(forms.models.ModelForm): class Meta: model = Item f...
[ "eduzemacedo@hotmail.com" ]
eduzemacedo@hotmail.com
391e199af1fa6be6a64f00ab28750cf11324aad2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02660/s614607751.py
34c48997173930d6f69893b65345505f7e034156
[]
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
334
py
N = int(input()) ans = 0 for i in range(2, N): if i * i > N: break e = 0 while N % i == 0: e += 1 N //= i if e > 0: for j in range(1, 10): if e >= j: e -= j ans += 1 else: break if N > 1: ans += ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
33e87fe2280b584f9fab54d1712d053ca31d4dcd
4d8d542058f91bc2a1fede92a7ebc614b61aed22
/environments/mujoco/rand_param_envs/gym/envs/debugging/__init__.py
ebdd5b7c14979e41c5700c705b69cfaddace0c6c
[ "MIT" ]
permissive
NagisaZj/varibad
9ea940e168fea336457636e33f61400d48a18a27
df7cda81588c62a2a3bee69e4173228701bd7000
refs/heads/master
2023-02-07T15:50:47.912644
2020-12-27T01:51:10
2020-12-27T01:51:10
270,474,411
0
0
NOASSERTION
2020-06-08T00:34:09
2020-06-08T00:34:08
null
UTF-8
Python
false
false
552
py
from environments.mujoco.rand_param_envs.gym.envs.debugging.one_round_deterministic_reward import \ OneRoundDeterministicRewardEnv from environments.mujoco.rand_param_envs.gym.envs.debugging.one_round_nondeterministic_reward import \ OneRoundNondeterministicRewardEnv from environments.mujoco.rand_param_envs.gym...
[ "lmzintgraf@gmail.com" ]
lmzintgraf@gmail.com
42ccabfd89b1d00cd7df7184e283bdbb70020766
41777d4d219ea97b4632f4a8a31ab6c82a60772c
/kubernetes-stubs/config/incluster_config.pyi
79a0d4354db777d9f57fa699d05bd128f72a24d2
[ "Apache-2.0" ]
permissive
gordonbondon/kubernetes-typed
501d9c998c266386dc7f66f522f71ac3ba624d89
82995b008daf551a4fe11660018d9c08c69f9e6e
refs/heads/master
2023-07-18T12:06:04.208540
2021-09-05T19:50:05
2021-09-05T19:50:05
319,183,135
24
2
Apache-2.0
2021-09-05T19:50:06
2020-12-07T02:34:12
Python
UTF-8
Python
false
false
635
pyi
# Code generated by `stubgen`. DO NOT EDIT. from .config_exception import ConfigException as ConfigException from kubernetes.client import Configuration as Configuration from typing import Any SERVICE_HOST_ENV_NAME: str SERVICE_PORT_ENV_NAME: str SERVICE_TOKEN_FILENAME: str SERVICE_CERT_FILENAME: str class InClusterC...
[ "noreply@github.com" ]
gordonbondon.noreply@github.com
f2227868f0e190a17b34fc2e26915c2d6ecde170
59ea50070942960aef4781402e748bdc1908c243
/venv/Lib/site-packages/graphene_django/converter.py
11df638bd8731837367323856b7d6013ad8b75e6
[]
no_license
Addy209/ADC_DASHBOARD_BACKEND
7d972610464310928ea2112cea549c1c97bb388d
993b4edb04e9d7f7fbc322e31f711374d1eac32b
refs/heads/main
2023-07-14T00:18:31.300162
2021-08-24T05:49:55
2021-08-24T05:49:55
389,420,682
0
0
null
null
null
null
UTF-8
Python
false
false
10,883
py
from collections import OrderedDict from functools import singledispatch from django.db import models from django.utils.encoding import force_str from django.utils.functional import Promise from django.utils.module_loading import import_string from graphene import ( ID, UUID, Boolean, Date, DateTim...
[ "46429259+Addy209@users.noreply.github.com" ]
46429259+Addy209@users.noreply.github.com
815e520340df997b75851fb782aa353ffe68aa1c
85667d8714a5939925f49067711f10c2d0227ad3
/moon_orbit.py
3553bee9d7ade2b70ed9489fd68354afaecf7c09
[]
no_license
damjan-netizen/dynamics
1a837ee6a950019372f14864334159d4d436d456
84c383ff2c24e8ca50167918f59bc5b1a8b6476b
refs/heads/master
2023-06-24T15:48:04.647752
2021-07-28T09:09:08
2021-07-28T09:09:08
329,882,658
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
# -*- coding: utf-8 -*- """ Created on Sun Jul 25 18:32:29 2021 @author: Gael """ # PROBLEM 1 # # Modify the orbit function below to model # one revolution of the moon around the earth, # assuming that the orbit is circular. # # Use the math.cos(angle) and math.sin(angle) # functions in order to accomplish this. im...
[ "dmustur@protonmail.com" ]
dmustur@protonmail.com
415a1c56bce1ec6d3e7dd0e48149d9e4901900da
3ed8c142eff79649620c014c8b575e976c17cc1a
/jogos/venv/Scripts/easy_install-3.6-script.py
2288dc654f2823f2bad85f02f27ce6eeb1a626e3
[]
no_license
thideoli/python
f7c74075a5663f2f3c5f609881a96208b886d403
8d67477bcc97764f4c15b26438f90a631f68be39
refs/heads/master
2020-03-21T18:26:06.123838
2018-06-28T12:23:57
2018-06-28T12:23:57
138,891,340
1
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!"C:\Thiago Oliveira\Estudo\Python\jogos\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "thiago.oliveira@mult-e.com.br" ]
thiago.oliveira@mult-e.com.br
84ece81cf5a24f822792544c6bd65c49a80e6349
3c7a68285286f3ae9bf7e0a2802c16dcd66bcdf2
/zipfile_workaround.py
daedcd7754dd1e76775ece7adcf831d841ed74cb
[]
no_license
sanderjo/zipfile_encoding_info
05de5c4641787cba4eb2417c803e172f886fade0
38be6e5c7ce408ed103eaf2070dbf03a50df36a2
refs/heads/master
2019-01-21T21:40:07.629259
2016-05-16T20:37:27
2016-05-16T20:37:27
58,886,137
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
#!/usr/bin/python # -*- coding: utf-8 -*- import os import sys import zipfile basedir = u"blabla" inputfile = sys.argv[1] zip=zipfile.ZipFile(inputfile) files = zip.namelist() print files for _file in files: print "file is", _file try: print "join is", os.path.join(basedir, _file) ''' The above can give thi...
[ "sander.jonkers+github@gmail.com" ]
sander.jonkers+github@gmail.com
62d1ae2c46d48bc3d3e16bd9b81e2084798ac493
aa9e71fa553295a9f0bd54b957833af307cf9357
/imageex/algo/featureextraction/color.py
7d97e6ee9bb5bb31aba28b6cf887283e70aa8a58
[]
no_license
tehm28/image-extraction-server
87b3c5355113004fb3b06d0949207cfbbde5a35a
327abb630414b243b454ce91942eb90e0fef38dc
refs/heads/master
2021-01-19T12:07:35.072418
2013-10-25T13:40:46
2013-10-25T13:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
import numpy as np import cv2 import numpy.ma as ma import imageex.util.imtransform as imtransform def extract(img, mask): hsv = imtransform.rgb2hsv(img) h = np.array(hsv[:,:,0]) s = np.array(hsv[:,:,1]) maskedH = ma.array(h, mask=mask) maskedS = ma.array(s, mask=mask) objH = maskedH....
[ "dekervit@gmail.com" ]
dekervit@gmail.com
3fd824655ecc1554eef05797fb63038bf981a58b
c7f80bf70d51a0880975958d026b984fe3cf55c4
/ml/nn/intro/ch4.py
4bcbff5552208f94343c327035c07ed310229a59
[]
no_license
mdaughtrey/personal-projects
a1c5ad723da411bea6b4f55b5d9c26b4feeccfcf
6d082523dad32a52ae6e8c3f5a7335a5a8bd8c06
refs/heads/master
2023-07-24T22:50:51.100441
2023-07-20T02:18:05
2023-07-20T02:18:05
4,237,208
3
0
null
2023-07-06T23:33:31
2012-05-05T23:04:03
C
UTF-8
Python
false
false
2,480
py
#!/usr/bin/env python3 #https://python-course.eu/machine-learning/data-representation-and-visualization-data.php import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np from sklearn.datasets import load_iris import pandas as pd import pdb iris = load_iris() def histogram(): fig...
[ "mattd@pop-os.localdomain" ]
mattd@pop-os.localdomain
e325857a904d0df6ed0627ab009f34fc96c74972
329cc042bb5829ab26a51d0b3a0bd310f05e0671
/main.py
60f84aa47980f4c797b50f2df6697f82314f4908
[]
no_license
bkhoward/WLC-PSK-Change
53afe64e767889ce967679d8aeb798745166fa72
1b92fd1d5afae4bc64bfc61bc4935c635cca12f0
refs/heads/master
2023-03-25T01:33:53.765751
2021-03-11T18:59:03
2021-03-11T18:59:03
345,891,681
0
0
null
null
null
null
UTF-8
Python
false
false
7,263
py
#!/usr/bin/env python # # Author: Brian Howard # Date: 02Feb2021 # Version: 1.0 # Abstract: Create SSH connection to corporate Cisco WLCs and change the PSK used for ONEguest SSID # - Find the WLAN_ID for the ONEguest SSID # - Disable the WLAN_ID for ONEguest # - Modify the e...
[ "bkhoward@live.com" ]
bkhoward@live.com
102450eccb8fcad7b0362df30fb062da3054d97a
779291cb83ec3cab36d8bb66ed46b3afd4907f95
/migration/rnaseq-wf_cleanup.py
7a26326b9cd9e55a223e034fa72a8b9827c72f1c
[]
no_license
Shengqian95/ncbi_remap
ac3258411fda8e9317f3cdf951cc909cc0f1946e
3f2099058bce5d1670a672a69c13efd89d538cd1
refs/heads/master
2023-05-22T06:17:57.900135
2020-11-01T17:16:54
2020-11-01T17:16:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,369
py
import os import re import shutil from pathlib import Path CLEAN_UP = os.environ.get("CLEAN_UP", False) SRR_PATTERN = re.compile(r"^[SED]RR\d+$") TARGETS = [ "../output/rnaseq-wf/aln_stats/{srx}.parquet", "../output/rnaseq-wf/gene_counts/{srx}.parquet", "../output/rnaseq-wf/junction_counts/{srx}.parquet", ...
[ "justin.m.fear@gmail.com" ]
justin.m.fear@gmail.com
9b8e1d93b2f68bc34a67adea4f49a273d934c106
a6b8263a42b96f317b818b3ba7e45bb8cb4458f6
/shipsnake/__main__.py
e0db2bc14affd6ceb307dfe465e53a7f63042a48
[ "MIT" ]
permissive
cole-wilson/test-ship
5002add3b7f84162a064fcc4496f82a512fe4ff3
95f2ff585efd7564e60caad9a4806939923bc525
refs/heads/master
2023-01-30T01:52:55.111219
2020-12-07T05:18:12
2020-12-07T05:18:12
319,211,654
0
0
null
null
null
null
UTF-8
Python
false
false
3,108
py
if __name__ != '__main__': print("Please run shipsnake as script or command, not module.") import toml import os import sys import glob import shutil # mode = sys.argv[1] # mode="upload" version = "" if len(sys.argv) == 1: print("Provide a mode:\n\tshipsnake [wizard | build | dev | upload]") sys.exit(0) mode = sys....
[ "you@example.com" ]
you@example.com
c55a8e2182d5d41cfdec8d784434d47f4767b32e
f1812503a3293037ac5a1f60012c4e803fe8f358
/8-Kyuu/Convert_a_string_to_a_number.py
86fa4dfd690ab0467f91abbda29c94892d617edb
[]
no_license
AgaK1/codewars_python
197ef2a8d92ef058d0a4738756bdd79f9349c1bc
36e6b9bfaa172b4b2434baa855d59f8839cf5f94
refs/heads/master
2023-04-04T13:46:09.262690
2021-04-24T10:50:15
2021-04-24T10:50:15
315,000,601
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
# We need a function that can transform a string into a number. What ways of achieving this do you know? def string_to_number(s): return int(s)
[ "AgaK1@users.noreply.github.com" ]
AgaK1@users.noreply.github.com
199390424fddb7b89b231c304224800f4fb4fb79
3a1c1373d8f1617485893dea46323c9d07dedc4d
/python_algo/프로그래머스/20210429_다리를 지나는 트럭.py
b1fd3a58b2856feedb64be0b86420485b12daf0c
[]
no_license
GaYoung87/Algorithm
28b95c3eed054454a06a14d1a255ea1d57486b22
59abce98ff14879bc88b72ef2e562ce55dae5335
refs/heads/master
2023-08-31T07:52:31.487648
2023-08-29T15:09:04
2023-08-29T15:09:04
199,405,835
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
def solution(bridge_length, weight, truck_weights): bridge_sum = 0 bridge_count = 0 time = 0 while truck_weights: x = truck_weights[0] if bridge_count <= bridge_length: if bridge_sum + x <= weight: bridge_count += 1 return time
[ "gyyoon4u@naver.com" ]
gyyoon4u@naver.com
23c69e00ad46f9ee03768aacfc5cf00056b1c08b
669cb5d54971a3167bb60cb2d5d301c7fd2e3ac5
/keaw/studentclass.py
1bb7c8fd45814eaf08ea1ae9365d4824a874ad01
[ "MIT" ]
permissive
darklord40/keaw
bc98469a77d08c894a1e7ca1c65c65e27f3138fa
1cf290e3cde45432f243eceec6fe49020294a8d3
refs/heads/main
2023-02-16T02:37:25.023478
2021-01-18T03:58:42
2021-01-18T03:58:42
330,548,070
0
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
class Student: def __init__(self,name): #ฟังกชันพิเศษ เพื่อให้สามารถรันได้ self คำพิเศษ เพื่อใช้เเทนตัวมันเอง ใช้คำอืนเเทน self ได้ self.name=name self.exp=0 self.lesson=0 self.AddEXP(10) def Hello(self): print('สวัสดี เราชื่อ {}'.format(self.name)) def...
[ "noreply@github.com" ]
darklord40.noreply@github.com
e72616d937a919a0e6b04d52e831bc5ede17c1d7
75324a206e4369523ff807dae9d8c76e53897eb3
/util/decorators.py
2016522c194291d402be25702627f733df6eaafb
[]
no_license
77dx/selenium_UIAutomation
426300efdae1e7ebbf3875fc3090d0c70fef3095
d6629014726952f2bb7a295abe536cbe1f8a536b
refs/heads/master
2020-08-13T17:47:23.560125
2019-12-06T01:17:01
2019-12-06T01:17:01
215,010,574
1
0
null
null
null
null
UTF-8
Python
false
false
525
py
# -*- coding:utf-8 -*- class Decorators(): def retry(times): def outer(f): def inner(*args, **kwargs): for i in range(times): try: return f(*args, **kwargs) except Exception as e: if (i + 1) ...
[ "396321556@qq.com" ]
396321556@qq.com
b86b6586ed3da7fa83a3a45383ce369cf1633df0
99d436394e47571160340c95d527ecadaae83541
/algorithms_questions/ch17_shortest_path/q39_2.py
841ee2b4be8737f7003f3b85123dcedfc6c83627
[]
no_license
LeeSeok-Jun/Algorithms
b47ba4de5580302e9e2399bcf85d245ebeb1b93d
0e8573bd03c50df3f89dd0ee9eed9cf8716ef8d8
refs/heads/main
2023-03-02T06:47:20.939235
2021-02-08T05:18:24
2021-02-08T05:18:24
299,840,348
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
""" 화성 탐사 - 3회차 """ # 풀이 제한 시간 : 40분 # 2021/01/26 16:06 ~ 16:16 # 정답! import heapq import sys input = sys.stdin.readline dr = [-1, 1, 0, 0] dc = [0, 0, -1, 1] for tc in range(int(input())): n = int(input()) graph = [] for _ in range(n): graph.append(list(map(int, input().split()))) INF = ...
[ "seok9376@gmail.com" ]
seok9376@gmail.com
c45eb5f1c3777c3c501733e0224bf45deaa1c22e
d6589ff7cf647af56938a9598f9e2e674c0ae6b5
/waf-openapi-20190910/setup.py
ecd45e94dd0948313db72333337965dd00c423a0
[ "Apache-2.0" ]
permissive
hazho/alibabacloud-python-sdk
55028a0605b1509941269867a043f8408fa8c296
cddd32154bb8c12e50772fec55429a9a97f3efd9
refs/heads/master
2023-07-01T17:51:57.893326
2021-08-02T08:55:22
2021-08-02T08:55:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
# -*- coding: utf-8 -*- """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "Li...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
3f01fb995de680fe18acd66bcf3883a4dcc1cb2b
74fb8d8e0bc821291773196e967820987ce7333f
/Script2-part 1-calculating-contour-plot-of-size(Figure-3a).py
300af8340e723a5219fe042e049274f910b947a1
[]
no_license
dahaj1897/Heritability
b567df4c38fa7c9ade647e993960a3a9027b55e8
9851eb9e3951a9505c8a743d38c2af8b0aa63696
refs/heads/master
2021-05-12T15:53:01.428552
2020-05-18T08:10:40
2020-05-18T08:10:40
116,995,899
0
0
null
null
null
null
UTF-8
Python
false
false
5,853
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 06 10:26:07 2016 @author: wratcliff3 """ import numpy as np np.set_printoptions(threshold=np.nan) import math from scipy.stats import linregress import matplotlib.pyplot as plt import pandas as pd cell_genos=np.linspace(1,2,10) cluster_size=32 st_dev...
[ "al.dahaj@gatech.edu" ]
al.dahaj@gatech.edu
c43723518c38cd87ae4b9016e72799eb58bbd6dd
607da6730ec5f53d89df43a558906b1ce5fd5aea
/tuples.py
790ceb74f74e1f7195016be12f86606b458b5793
[]
no_license
pavaniakhila01/python-lab
9cbe62a3823b4a9b91cd4278c59c9b1b7ddfc36b
ac517b5911eeffea14768a6dfd1f7ca0826b1dbf
refs/heads/main
2023-08-25T02:08:03.441812
2021-09-22T09:48:18
2021-09-22T09:48:18
400,031,966
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
myList = [(2, 5), (9, 4), (9, 0), (1, 4), (1, 5)] print("Initially the list is : " + str(myList)) # joining tuples if similar initial element joinList = [] for val in myList: if joinList and joinList[-1][0] == val[0]: joinList[-1].extend(val[1:]) else: joinList.append([ele for ele in ...
[ "noreply@github.com" ]
pavaniakhila01.noreply@github.com
a9fe0490d5262902bf3cd11bf5e13fac1b292451
86f2fb885a152b2191fc7d6408981fe697d2e42d
/user_action_tracing/wizard/__init__.py
b834a94892082234db4b0a6d0d08e35c90614a6a
[]
no_license
falconsoft3d/user_action_tracing
efff9dacc3675bf58df15d37dd0aecdc4b9fc2b0
0f37fe2856247486f8b7a846c047cd847a99d3e6
refs/heads/master
2020-03-23T09:21:02.788518
2018-07-18T05:00:05
2018-07-18T05:00:05
141,382,357
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
# -*- coding: utf-8 -*- import user_tracing_wizard
[ "noreply@github.com" ]
falconsoft3d.noreply@github.com
9df4c6c22dd5f1a6617e7d9785b27930315c61e8
09cd0ff99f571ba16da96051d1d6cca9cf224c88
/qtim_tools/qtim_pipelines/deep_learning.py
aa54c7b4ffc8369f1d311625208c58f793526431
[]
no_license
gdcohan/deepmedic-preprocess
eb3511a587b23f54dc1ee4c77653f98586b8bd68
7de3daf84fa7ff5c8b602ad587909f29374a397a
refs/heads/master
2020-07-30T10:53:37.330951
2019-09-12T05:31:55
2019-09-12T05:31:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,014
py
import numpy as np import glob import os import yaml from shutil import copy, rmtree from ..qtim_preprocessing.motion_correction import motion_correction from ..qtim_preprocessing.threshold import crop_with_mask from ..qtim_preprocessing.resample import resample from ..qtim_preprocessing.normalization import zero_mea...
[ "robinwang08@gmail.com" ]
robinwang08@gmail.com
4e130ef31f30b5217fd2709684e34f1155d12ac8
ed6df1997c7ad0c2f68fce9417d172db8f5c343b
/venv/Scripts/easy_install-3.8-script.py
06b717a8cb81939fff4861b2fdedb1827cd95725
[]
no_license
fahadaliawan-nbs/cdkProject
495a74e4dec878a241be8f02d8d5017c6624db27
9e8a43140b30e44d575c22b1707143e538f38e7a
refs/heads/master
2020-09-23T04:41:41.958853
2019-12-02T16:12:45
2019-12-02T16:12:45
225,405,662
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!C:\Users\fahad.awan\PycharmProjects\test\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "fahad.awan@northbaysolutions.net" ]
fahad.awan@northbaysolutions.net
91c6529d48374f097f3ec3fa4d27be96c323c22e
c99b5f97ca44a7ff5584e1ca1d1d9f245199af21
/face_id.py
51a372be2619abf5b478c65b8141e03bbe91b056
[]
no_license
aabdygaziev/facedetection
7073b86e9efd9673502a841fca6b6944ea01d4c3
5b980ac8ccb04487815b743ecd1c1577c1e19d6c
refs/heads/master
2022-11-15T12:37:42.910728
2020-06-28T22:56:54
2020-06-28T22:56:54
275,674,250
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
import cv2 import pickle face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml') cap = cv2.VideoCapture(0) cap.set(cv2.CAP_PROP_FRAME_WIDTH, 500) cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 250) cap.set(cv2.CAP_PROP_FPS, 25) recognizer = cv2.face....
[ "aabdygaziev@gmail.com" ]
aabdygaziev@gmail.com
7c88f4fbc9319188f58c65097529d37b03a66cd0
b3f361e363952584491e899ded6f06aba844d468
/scripts/portal/fantasticPark.py
e9668cb3434a56e6f5410dfc9d84efd9b8216d9f
[]
no_license
AsuraRevenge/Swordie
b18dd6ad3563f94b0135c797ecb20f44233f5ac3
c6af25557c9e5fd06a04592371a7d9fa9bdb917b
refs/heads/master
2020-03-23T04:01:47.777093
2018-07-15T14:46:07
2018-07-15T14:46:07
141,061,559
4
2
null
null
null
null
UTF-8
Python
false
false
387
py
def init(): fieldID = sm.getFieldID() warp = True if fieldID == 220000000: map = 223000000 portal = 0 else: sm.chat("(Portal) This script (fantasticPark.py) is not coded for this map. (ID: " + str(fieldID) + ")") map = sm.getChr().getField().getReturnMap() portal...
[ "camotoad@mail.com" ]
camotoad@mail.com
51d3e25a3f9393e840e9d469bede9f2e2c61a714
ed6a0df62021113c56ef034f43e6a0fb1be1b58e
/venv/Scripts/easy_install-3.7-script.py
6edf0e11b9b9c8436f598459d7a690eb7593e259
[]
no_license
FernandaVaroli/chatbot-Python
cbe1d04499d2c7e45018611e2b6eb9a9f63617c6
d6d5c3c24a7c48df0c46c43345850566b8aa992e
refs/heads/master
2022-11-04T17:16:08.317443
2018-11-02T19:05:30
2018-11-02T19:05:30
155,909,849
0
1
null
2022-10-20T04:05:15
2018-11-02T18:59:42
Python
UTF-8
Python
false
false
458
py
#!C:\Users\ferna\PycharmProjects\Chatbot\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw...
[ "fernandavaroli@gmail.com" ]
fernandavaroli@gmail.com
0444a1b717ec3efb266650f6c6d1c1864efa0795
1c317b0778540a181869765ec0a17a19cdde5244
/Win7TrashClean.py
e1af080105ea89c5f3377096ece2f88efe398631
[]
no_license
myselfyyl/Win7TrashClean
253fcfe7b181ad66e91ecc7f5775ad2e9eba3e58
43237597f90c2b78224fc803d77091b079d71962
refs/heads/master
2021-01-20T09:01:39.232905
2014-12-25T07:57:55
2014-12-25T07:57:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
#!/bin/python import os, exceptions, logging def removeFile( f ): print f try: if os.path.isdir( f ): files = os.listdir( f ) if 0 < len( files ): for t in files: removeFile( f + os.sep + t ) os.removedirs( f ) else: ...
[ "myselfyyl@outlook.com" ]
myselfyyl@outlook.com
113fbb344660632523fa0995cab1d0cf32e4824a
d1886c7ebf431149fc37ce12f01161793459209d
/tester/settings.py
0d58b72bd71315f7db9188a27f6e09915fb38d38
[]
no_license
mostley/rubberpencilgame
303d91589f3e9b0e8086d218a71ce55c87fb0e57
af04479c5fd1bb5eed2e65bb349d91c0fcb0dca1
refs/heads/master
2020-06-05T04:39:35.377715
2009-07-26T09:12:33
2009-07-26T09:12:33
32,443,565
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from pyglet.window import key Settings = { "MapPath": "maps/", "PenetrationForce": 2.0, "Keyboard_Camera_Center": key.C, "Keyboard_Player_Attack": key.X, "Keyboard_Player_Left": key.LEFT, "Keyboard_Player_Right": key.RIGHT, "Keyboard_Player_Up": key.UP, "Keyboard_Player_Down": key.DOWN, } try: file = open("r...
[ "sven.hecht@35ccbd06-6266-11de-9e79-e94433246604" ]
sven.hecht@35ccbd06-6266-11de-9e79-e94433246604
c642bda474582d7a38bff7dcb5c49dbe6fc93d0c
0b9470f9a839d87b21fd575421b5223afb4573c6
/07day/01-捕获输入异常.py
676dc64ff5bbe99306b430ca519aeb1cedf9871d
[]
no_license
ZiHaoYa/1808
351356b4fa920a5075899c8abdce24a61502097f
891582547fef4c6fd4fd4132da033e48e069901f
refs/heads/master
2020-03-30T06:20:46.898840
2018-09-29T08:56:53
2018-09-29T08:56:53
147,603,769
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
try: number = int(input("请输入一个")) except Exception as ret: print("输入有误") print(ret) number = input("请输入一个") if number.isdigit(): print("出数字") number = int(number) else: print("输入有误")
[ "qingyuan@geekniu.com" ]
qingyuan@geekniu.com
615ba348fbfdb06117a47ae2ec12a7560c51a640
825ea684bfb30d423a8af9c9faab3189a1fee350
/bit/image/noise.py
3bf043cad2e38133263ce0ab2754a8d893b53242
[]
no_license
chbrandt/bit
af946cfb3c1aa7317b5d2b1a188c32cd83591b22
57d18b369d3cd3affe6e5fe03d48ff0e07a78d66
refs/heads/master
2021-01-10T18:53:49.618204
2018-02-03T23:30:29
2018-02-03T23:30:29
4,549,827
1
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
# -*- coding:utf-8 -*- """ Methods to simulate(add) different noise models on images """ import numpy as np def gaussian(img, stdev=3.): """ Generate zero-mean additive gaussian noise """ noiz = np.random.normal(0., stdev, img.shape) noisy_img = (1. * img) + noiz return noisy_img def poisso...
[ "carloshenriquebrandt@gmail.com" ]
carloshenriquebrandt@gmail.com
c8d27c67f6cce1958bbca51c37ac39873692a82c
9d443196fdb242d02275ed64574eb0f4e2bb3789
/monty_hall/monty_hall.py
3b8c5fbb9b86bdee4edf3f116d33e8d085a7e266
[]
no_license
bkmy43/python_climbers
31f67199486573746f8664c140eb338be678ecba
436cc635917ea85f6adb083cb9c84ffe4101bce9
refs/heads/master
2021-05-15T02:36:33.663812
2017-01-19T16:26:27
2017-01-19T16:26:27
74,461,065
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
import random __author__ = "Ilya Vladimirskiy" __email__ = "bkmy43@googlemail.com" NUMBER_OR_TRIES = 10000 NUMBER_OF_BOXES = 3 # def new_try(): # return True def main(): total_changed_count = total_unchanged_count = 0 changed_success_count = unchanged_success_count = 0 boxes = [True] + [False] * (N...
[ "bkmy43@googlemail.com" ]
bkmy43@googlemail.com
7e70145cfeb5e6dd6bdd34b22fcb495fefd4b772
1bcbf84572c0c5c6acee906c85809b008415416a
/Api/api.py
749f4911df99567e91b7c7b5bc088d320bc932c0
[]
no_license
s1ntaxe770r/Docker-UI
54a98fa4b9fa8e44e3d839e0e688e5b59e32d5e5
757e1776c24b601dc548c4435e080faed70f38a6
refs/heads/master
2023-03-20T10:09:22.366903
2021-03-17T21:48:30
2021-03-17T21:48:30
304,615,416
4
0
null
null
null
null
UTF-8
Python
false
false
754
py
# Routes return pure json from flask import Blueprint,request from flask.json import jsonify from containerman import ContainerMan as cm api = Blueprint("api", __name__) # @api.route("/containers", methods=["GET"]) # def index(): @api.route("/containers/running",methods=["GET"]) def running(): containers = ...
[ "cyberdev01@protonmail.com" ]
cyberdev01@protonmail.com
1d034b6b06e94315ceda06e8a8cc67681b8b3e9e
6a7d8b67aad59c51dafdfb8bcffd53864a3d65b0
/LeetCode/toeplitzMatrix.py
ef8e74f26346b2369d234c7f7ba1f11b002541a5
[]
no_license
dicao425/algorithmExercise
8bba36c1a08a232678e5085d24bac1dbee7e5364
36cb33af758b1d01da35982481a8bbfbee5c2810
refs/heads/master
2021-10-07T08:56:18.030583
2018-12-04T05:59:17
2018-12-04T05:59:17
103,611,760
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!/usr/bin/python import sys class Solution(object): def isToeplitzMatrix(self, matrix): """ :type matrix: List[List[int]] :rtype: bool """ m = len(matrix) n = len(matrix[0]) for l in range(m-1): if matrix[l][:n-1] != matrix[l+1][1:]: ...
[ "di.cao425@gmail.com" ]
di.cao425@gmail.com
eafcec2d83b6f74f3c5fb1a599b2afcc0e01c2a7
0ef02884177d4d0185be485dbb27c3194e888e49
/Plotting/generateUpDownFake.py
2be0488f98e9fc64b13937c309eb9aaeb5740b36
[]
no_license
pietrzkowskimateusz/my_python_apps
9bd03e2c81eb047bbe9b61c08c51221cb358a6ac
dd98742485041001885a03ba1994888c42e90586
refs/heads/master
2020-08-31T07:11:40.375165
2019-11-27T18:04:31
2019-11-27T18:04:31
218,630,323
0
0
null
null
null
null
UTF-8
Python
false
false
12,070
py
import sys import random x = 250 y = 250 x0=x1=x2=x3=x y0=y1=y2=y3=y delta = 10 delta3 = 100 accuracy1 = 50 accuracy2 = 10 accuracy3 = 800 randomowa = [] if __name__ == '__main__': if len(sys.argv) == 5: try: len1 = int(sys.argv[1]) len2 = int(sys.argv[2]) len3 = int(s...
[ "pietrzkowskimateusz@gmail.com" ]
pietrzkowskimateusz@gmail.com
e3e45a43ed66f41c9fb650e1e3fd424b815ac734
5d5312a0b42016ec918117472399512e6e48e3e3
/pi_zero_w/off_parser.py
50baf49a9e0a922aa5d911a784ddb86563277438
[ "MIT" ]
permissive
jishii14/YezzusFrezzeUs
ac50e0cd16932864101d47fd1c74b332a54abdd5
18094093e6c1fbda97f6649cad7642941f608844
refs/heads/master
2022-01-08T07:06:44.195600
2019-05-01T10:01:13
2019-05-01T10:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
################################################################################ ## OFF_Parser contains utility methods for parsing out the JSON object ## obtained from Open Food Facts into our FoodItem class ################################################################################ import json from off_food_item...
[ "jishii14@apu.edu" ]
jishii14@apu.edu
302567e4bd9eb3e7ffba5d8c54980f1fe599c004
e63b9e6ca4bd729bced324d372a95364839844f7
/v/vdrnfofs-0.8/vdrnfofs/vdr.py
d28eca529ae02c0baeee511370f6f69143484a03
[ "BSD-3-Clause" ]
permissive
annishoelzel/five
a724d5fe5682983fbb8a69b9019ad3775eb3a499
b1db1f2fd78fae6bcdde24ea1bd2e2916adf9d10
refs/heads/master
2023-03-30T09:30:58.930532
2020-11-15T15:52:55
2020-11-15T15:52:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
# -*- coding: utf-8 -*- # # VDR-NFO-FS creates a file system for VDR recordings, which maps each # recording to a single mpg-file and nfo-file containing some meta data. # # Copyright (c) 2010 - 2011 by Tobias Grimm # # Redistribution and use in source and binary forms, with or without # modification, are permitted pro...
[ "mango@mail.com" ]
mango@mail.com
fad0b75b8fe6d36558d2a73428f62c8394b94e6e
c818ffc5613ec8f9918a0280bbb6df2642d83233
/Semantic-differential-scales-generator.py
ff90831b8f2e63f300aa92dfc228d1f3b56178be
[]
no_license
SamSSLF/Semantic-differential-scales-generator
af1a21c4c738a251969201835e253b4e02363fb8
ba7775c1f45522628324b71dd945946a564f9c8c
refs/heads/master
2020-10-01T07:00:24.233661
2019-12-09T23:52:09
2019-12-09T23:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,206
py
import matplotlib.pyplot as plt import numpy as np import random as r import math as m import os import string class Material(): "Class for a material" def __init__(self, material): "Instantiates a material." self.material = material def __repr__(self): return str(self.material) ...
[ "robert.field19@imperial.ac.uk" ]
robert.field19@imperial.ac.uk
6d88d4b61b6122625fc034a6f3aba6e5dd93cae2
ef91abff45756b09946dbb73255760ea39b6438a
/cn/chap9/dog_test.py
780dc9da85c5adee0c4e8cc5d1ac8931a91a7a4f
[]
no_license
qichangjian/PythonLearn
3006f8822161d485e6d1d5c1664cf42efe1bd5f7
7b40bae2a768d92b687376fa01033998d2bf7690
refs/heads/master
2020-03-23T18:59:42.832199
2018-07-23T01:56:18
2018-07-23T01:56:18
141,947,106
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
#ecoding=UTF-8 ''' Created on 2018年7月17日 @author: Administrator ''' #from cn.chap9.dog import * #ctrl + shift + o from cn.chap9.dog import Dog #引用另一个类实例化 my_dog = Dog('dd',6) my_dog.roll_over() you_dog = Dog('qi',4) you_dog.sit()
[ "Administrator@admin-PC" ]
Administrator@admin-PC
3088c511911536432dfcecc2ec111059c1742357
7b274bfb0f13e81034a29cc0c53184fa1c88011e
/security/models.py
ef11d08aead8240ca6d470b958cae8b83ba941fe
[]
no_license
atorrese/FarmacyEcommerce
e4cf83687e82ac2b9cc3dfebc76b3f461019c029
d35e4aef1e77f22841b2d6857e842f1bde4db2ef
refs/heads/master
2023-08-09T19:30:45.305360
2021-09-11T20:25:26
2021-09-11T20:25:26
331,850,989
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
import datetime from django.db import models from django.utils.timezone import datetime #Clase Base Para eliminacion class ModelBase(models.Model): created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) status = models.BooleanField(default=True) class Met...
[ "atorrese@unemi.edu.ec" ]
atorrese@unemi.edu.ec
a659bcedb38bb75845f1a14a480d97ab804d998c
e3b2da692237c02919dd98e7b1aab6b6c3f39597
/rev_list.py
0175241ec765e4cca50c39ebf2b070e02e6fc093
[]
no_license
lavatharini/Project-176051T
b5e6e84de73bf1eed149b9592f2c465d3189e3b2
c098d51812e320885e612c4a518a9a8f6e9e0eaf
refs/heads/master
2022-12-26T03:54:27.481312
2020-10-10T18:51:29
2020-10-10T18:51:29
302,946,636
0
1
null
null
null
null
UTF-8
Python
false
false
98
py
def Reverse(lst): new_lst = lst[::-1] return new_lst #its the reverse list python code
[ "lavatharini.17@business.mrt.ac.lk" ]
lavatharini.17@business.mrt.ac.lk
e8e98afdde5ea6d6625b1b737aa624cfc45ca24c
386a5b505d77c9798aaab78495d0f00c349cf660
/Prognos Project/Working/Latiket Jaronde Git/DJango examples/DynamicUrls/DynamicUrls/urls.py
35264c0f4b24f8a9bef2b8a7b45683a883428d3a
[]
no_license
namratarane20/MachineLearning
2da2c87217618d124fd53f607c20641ba44fb0b7
b561cc74733b655507242cbbf13ea09a2416b9e2
refs/heads/master
2023-01-20T18:54:15.662179
2020-03-09T14:12:44
2020-03-09T14:12:44
237,597,461
0
0
null
2023-01-05T12:37:12
2020-02-01T10:22:20
Python
UTF-8
Python
false
false
801
py
"""DynamicUrls URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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-b...
[ "namrata.ashok@impelsys.com" ]
namrata.ashok@impelsys.com
0a6f6a24a5c718849def667cd7b9fda3075dad7b
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D05B/REBORDD05BUN.py
cff49e05af4ddd814da48c06f274ce8bd1247a17
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,871
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD05BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'GEI', MIN: 1, MAX: 6}, {ID: 'NAD', MIN: 1, MAX: 9, LEVEL: [ {ID: 'CTA', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
fe76267ea42ef325228c25e6645053532e8586d0
b5ac186a6fe29e5b98c58d94213b2c72ee9796d0
/P4/bmv2/targets/simple_switch/tests/CLI_tests/run_one_test.py.in
9b999369cb8b591f147959a4f5b522c6b6002b86
[ "Apache-2.0" ]
permissive
P4Archive/P4_ROHC
41a4735cb68ee93ed3e5304e7397f1156d2905d5
1b7b544928c3fdce3ad48e16708d93561f08977f
refs/heads/master
2021-04-15T08:57:12.378284
2016-08-19T20:46:37
2016-08-19T20:46:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,641
in
#!/usr/bin/env python2 # Copyright 2013-present Barefoot Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "eng.jefersonsantiago@gmail.com" ]
eng.jefersonsantiago@gmail.com
2327b68ca835a0ec379d05b0c398d71e4e0705a7
3ef1b6a2385db90bad1895d65a74965fe6b22a74
/yolo3/yolo_det.py
fe4018976f8ef9484900261d3904b2bee6773230
[]
no_license
jianwu585218/BOT
82f156e3c9c6d83409febaa2b529396935c58116
a82c29088289ad4ad52a7d3097c939e6b9b5c853
refs/heads/master
2020-03-27T19:18:59.704782
2018-09-01T06:37:15
2018-09-01T06:37:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
import cv2 from camera import * ''' 给图片加框和名字 ''' def Image_rectangle(img,c1,c2,name): c1 = tuple(c1.int()) c2 = tuple(c2.int()) color = (0, 0, 255) cv2.rectangle(img, c1, c2, color,1) # 加框 t_size = cv2.getTextSize(str(name), cv2.FONT_HERSHEY_PLAIN, 1, 1)[0] c2 = c1[0] + t_size[0] + 3, c1[1] + t_size[1] + 4 c...
[ "252051347@qq.com" ]
252051347@qq.com
4daef8f80bed480e3d19976990b2156d0cfa204b
546059fa6366015d185420bce9dc4e30768ece70
/my_app/urls.py
e693d6990c9a8f8b50a1834b60cb232eefb1fb0c
[]
no_license
serik867/cragslist_django
c5a02b51e61f62cf6b184e3af3e13b3325a4a3bb
28bdb6cafe385d80da886793072f47f820498388
refs/heads/master
2022-12-18T13:40:40.954233
2020-03-29T19:10:55
2020-03-29T19:10:55
250,866,643
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.urls import path from . import views urlpatterns =[ path('', views.home, name='home'), path('new_search',views.new_search, name='new_search'), ]
[ "serdardurbayev@Serdars-MacBook-Pro.local" ]
serdardurbayev@Serdars-MacBook-Pro.local
62335b2a6fca8cb7f83724b6cf30a376ccc1606e
08121e24b74d426958151a56db8bbb10600a5968
/manage.py
bf20ef2c2edbbd38dbdbbfe71ec0e15c7ee6b59d
[]
no_license
rlichiere/rallyman
d54702e0e1507e1bc181de4d3a6fb840f691a9b8
11b09d79fc341af2ab1be3db9b679d9b9e39fa20
refs/heads/master
2021-06-21T01:38:32.331904
2019-06-09T20:29:20
2019-06-09T20:29:20
189,528,511
1
0
null
2021-03-25T22:41:11
2019-05-31T04:39:16
Python
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "rallyman.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "rlichiere@visiativ.com" ]
rlichiere@visiativ.com
c86f5b433b36f634a6acbc924f55b96e5c83ee72
319817a8d08ade28c443e6da3f2eafdb975dc94e
/main.py
ca8742622a17b68f9d1c12586c61ea8b241c7d13
[]
no_license
srianbury/MFRP
b54e37faa965108587f21d932f4278ce468592ca
047787a72342ce5fddf62a6434d50a3fc7f03561
refs/heads/master
2020-05-01T03:20:46.250602
2019-04-21T14:18:03
2019-04-21T14:18:03
177,242,679
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
import backend import config app = backend.create_app(config) # This is only used when running locally. When running live, gunicorn runs # the application. if __name__ == '__main__': app.run(host='127.0.0.1', port=8080, debug=True)
[ "noreply@github.com" ]
srianbury.noreply@github.com
9b9370b731506ca645cef1f21250d63e763a078f
6f79ee97f230433b83a809e9fe79ffb096b950f1
/DHTClient.py
b7a9aa2ac3c232431661db9d3bc674f172dae5f2
[]
no_license
qq431169079/GetInfo
eb85beffdc6a20a3d69234262ce75ad08c1ea0f9
e347ebe0d38bfac58ddbd5e43b0c69a0399140c0
refs/heads/master
2020-04-27T01:15:35.102257
2014-11-29T09:02:50
2014-11-29T09:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
#encoding: utf-8 #!/usr/bin #!/usr/bin/env python import logging from utility import * from DHTNode import * stdger = logging.getLogger("std_log") fileger = logging.getLogger("file_log") peerger = logging.getLogger("peer_log") #using example class Master(object): def log(self, infohash, address...
[ "moon_well@live.cn" ]
moon_well@live.cn
d2c7b1a404f6c93fed77c4cb510b56f3b6ee5128
b36d7c21908f9a372187c84c8f2e5e38e4b8c4c5
/web_manage/apps.py
46f291a6d3530c4331cbbb8e3a5cd88c4cdb6f29
[]
no_license
markgwaps04/digos-ccts-v2
4d44ccbc13292e73363fe47738a507d76b873874
8d2c4a26b76fc50e7f45fbd700042dd3542af708
refs/heads/master
2023-01-14T01:34:37.478870
2020-11-24T15:10:26
2020-11-24T15:10:26
315,667,179
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from django.apps import AppConfig class WebManageConfig(AppConfig): name = 'web_manage'
[ "marklibres345@gmail.com" ]
marklibres345@gmail.com
87106543b18be244d93c9da08b0590ad94d9143d
e35dabca6d42c4fb6b8b6d36739e5980aba4065c
/Raspberry/RhaegalRaspi/demo_sprint2_rectif/sharedRessources.py
f8e19288cb269101ba64249c776ae73fa779b6e3
[]
no_license
TeamRhaegal/Road-Analysis-Project
b7bcdbe3dd89a583b48e3289060e668aac559db8
945d1f7e9708bcc6aaf0d1b3d88f06582dfa9567
refs/heads/master
2020-08-05T15:31:41.494959
2020-01-09T14:19:45
2020-01-09T14:19:45
212,581,931
1
0
null
null
null
null
UTF-8
Python
false
false
540
py
from mutex import mutex from threading import Lock #Global values wheelSpeed = 0 turbo ="off" joystick = "none" mode = "assist" sign = "none" signWidth = 0 maxDistanceUS = 15 #distance max ultrasons obstacle obstacleRear = 0 obstacleFront = 0 listMessagesToSend = [] listMessagesReceived = [] connectedDevice= Fals...
[ "anais_walle@yahoo.fr" ]
anais_walle@yahoo.fr
d08dcdc3b0c9dc63dfaf73fa44457a1d7af97a27
65b6e843df4c2e8b9abed79b33be24eba1686fa2
/absence/wsgi.py
2d6983105aada3e12ea2bdcaac1b9b198f064d05
[]
no_license
The-Super-Stack/abs-backend
563fba90b36f45a0bac82aa5ace7c7d079309b09
d9335ec0a9fe9fdfa1d416d8277c11c2ac23cb5a
refs/heads/main
2023-08-14T13:33:05.631317
2021-10-11T06:18:44
2021-10-11T06:18:44
415,801,507
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for absence 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "60544749+bintangx1902@users.noreply.github.com" ]
60544749+bintangx1902@users.noreply.github.com
e005b0cdb5dbaf2b1440c37359feb6c7e0913af5
0a0693bed6e81febdee9502ebde4ee1156b105e6
/venv/Scripts/pip-script.py
916f0b6ff9d40eb7462fc7c5097aa1c89d6bf8c5
[]
no_license
laoyouqing/sms_middleground
3755d206bfa9ade24a94f1981cb60c0b393e3767
dbafd3410802135f13e68de43cbc5b0246cb981f
refs/heads/master
2022-12-11T03:52:51.737971
2019-08-21T05:59:55
2019-08-21T05:59:55
203,516,088
0
0
null
2022-12-08T05:20:56
2019-08-21T05:55:43
Python
UTF-8
Python
false
false
392
py
#!E:\sms_middleground\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "lingo.lin@foxmail.com" ]
lingo.lin@foxmail.com
07c7200e0a0385597710e92944ef77aaf0a85a97
8f875bfd80bad1e2dbfa5648c8592141ad4fb711
/Ciclo1/210703/test_sample.py
4fd2afe4136235436306262f8b61f55d3c3ae5b7
[]
no_license
gonsan20/misiontic
02b4a2ed33559d35e1e12d9de391d19b59409fbb
8bceb0d0c4c8aeb6b26aae1e2f71b8432dc097c1
refs/heads/main
2023-06-16T18:19:52.773514
2021-07-13T22:58:17
2021-07-13T22:58:17
371,520,574
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
def inc(x): return x+1 def test_answer(): assert inc(4) == 4
[ "gonsan20@gmail.com" ]
gonsan20@gmail.com
aa481def6a06b873146e9768a76a282d6caa1f0a
7abfa4cf2e1dfd889bddd49bc5190060397ce4dc
/day2/python/part2.py
0999eb4b45df2fb47748e7999ab065c5114b705d
[]
no_license
AshleySetter/AdventOfCode2017
8bbd65550d1ff26af5b2016fe679d2d5dee03761
eed9d756bc85a78832ecb9ad03ec491c2c71fbe6
refs/heads/master
2021-08-28T08:23:36.768487
2017-12-11T17:58:42
2017-12-11T17:58:42
113,334,065
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
def get_equal_dividers(row): for i, num in enumerate(row): for j, div in enumerate(row): if i != j: if num % div == 0: return num/div difference = largest - smallest return difference def string_to_list(string): """ converts strin...
[ "ajs3g11@soton.ac.uk" ]
ajs3g11@soton.ac.uk
f7e439dd8ba455eb23a6391c7473c287767c53a1
e4f8a8d282de50c0132403d56ca1b5f47ee51e96
/Darsh_Clock.py
bd276445ea4c396ceb508a6563c61a111a567a82
[ "BSL-1.0" ]
permissive
DarshPro/Darsh-Clock
2ad84db976ded9991a84e133676b39d58cbfe739
f64987402ce8f1ec4d01d4e37f793e6c076b2409
refs/heads/main
2023-03-22T09:20:06.485110
2021-03-20T11:38:17
2021-03-20T11:38:17
349,705,368
0
0
null
null
null
null
UTF-8
Python
false
false
3,070
py
from turtle import * from datetime import datetime title("Darsh Clock") def jump(distanz, winkel=0): penup() right(winkel) forward(distanz) left(winkel) pendown() def hand(laenge, spitze): fd(laenge*1.15) rt(90) fd(spitze/2.0) lt(120) fd(spitze) lt(120) ...
[ "noreply@github.com" ]
DarshPro.noreply@github.com
9422d64a7fd3b7c00aadf3fc9f3fb39087611d8b
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/qosm/ingrpktshist1qtr.py
52d1c6228888f3285d4b421d6b525367a8d9933a
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
18,745
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
dd84a5790a2a78e6f48019faaa8ff6e1469c0763
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/werkzeug/wrappers/accept.py
9605e637dc682aa6fb376053cb9a80387c566377
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
429
py
import typing as t import warnings class AcceptMixin: def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: warnings.warn( "'AcceptMixin' is deprecated and will be removed in" " Werkzeug 2.1. 'Request' now includes the functionality" " directly.", Depre...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
94f2d43841d6de8c61172de178f2cf83ea40e303
b8a3e758eff2922ff6abc77947d879e3f6d1afa3
/ws_moveit/build/moveit_resources/catkin_generated/pkg.develspace.context.pc.py
1db6f9fe77fc24ca7b6f4cd26bc3b8b329be1584
[]
no_license
rrowlands/ros-baxter-coffee
ab7a496186591e709f88ccfd3b9944428e652f3e
32473c3012b7ec4f91194069303c85844cf1aae7
refs/heads/master
2016-09-05T20:58:20.428241
2013-12-02T23:10:44
2013-12-02T23:10:44
14,313,406
0
1
null
null
null
null
UTF-8
Python
false
false
523
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/p/peth8881/robotics/ws_moveit/build/moveit_resources/include".split(';') if "/home/p/peth8881/robotics/ws_moveit/build/moveit_resources/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(...
[ "peth8881@csel-112-02.csel.loc" ]
peth8881@csel-112-02.csel.loc
7617908ed4d5cf7e73e7be822d4dd57e8b9b26c4
6e1549257568a0ca81b3fc5864e2e1fa65171b06
/salarydk/models/inline_object84.py
d01ba31c4e2de0ed3ff37022127b34bb38a3e313
[]
no_license
tdwizard/salarydk
19d3453de8fbdd886a0189dbf232f98de971e18a
dcf5040101b3e576f1068ea104148651e5c66511
refs/heads/master
2023-08-05T05:40:09.561288
2021-09-24T09:41:43
2021-09-24T09:41:43
409,910,180
0
0
null
null
null
null
UTF-8
Python
false
false
9,024
py
# coding: utf-8 """ Salary.dk API This is the public API for Salary.dk. # General Our API is a JSON-based, REST-like API. Our webapp uses the exact same API, so everything you can do in our webapp, you can do through our API. However, we are slowly opening up the API, so not all endpoints are documented her...
[ "tdrobiszewski@tdwizard.com" ]
tdrobiszewski@tdwizard.com
4a3419b3ac8e6cea68ba90f084889c976e9a5efb
7f35b6bd7454920bcd7a43bc96b39779ea95fbef
/prepare_train_val.py
eafbb2d82a5cdba6ff00396b4fb5c95f115c9987
[]
no_license
gunescepic/InstrumentSegmentation
12341640a85e08d8cb6c43a284515646a04c7e2d
7e63d85dca543240a24f72ffa67db9341e47d84a
refs/heads/master
2022-04-19T18:56:21.124854
2020-04-15T04:04:14
2020-04-15T04:04:14
252,764,208
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from prepare_data import data_path def get_split(fold): folds = {0: [1, 3], 1: [1, 2], 2: [3, 2]} train_path = data_path / 'cropped_train' train_file_names = [] val_file_names = [] for instrument_id in range(1, 4): if instrument_id in folds[fold]: v...
[ "e2171494@gitlab.ceng.metu.edu.tr" ]
e2171494@gitlab.ceng.metu.edu.tr
65a1aca3134f2ea863bbfe28f56950a24a811114
72430ca87464532ba5d3773ec1a81d1d2f308d75
/main.py
dc9b73f90c87eccc167b90439cdfbb79a7ea8de8
[]
no_license
DeanFeathers/Text-Detection
663c665c3ccadb108d14e64ba2d8761da474f747
6ac5205143a77df3111ecd3fbd06b1fdc3aa9d06
refs/heads/main
2023-05-01T19:12:18.707215
2021-05-25T11:41:10
2021-05-25T11:41:10
370,669,781
0
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
from tkinter import * import tkinter.messagebox from nltk.sentiment.vader import SentimentIntensityAnalyzer import nltk nltk.download('vader_lexicon') class analysis_text(): # Main function in the program def center(self, toplevel): toplevel.update_idletasks() w = toplevel.winfo...
[ "noreply@github.com" ]
DeanFeathers.noreply@github.com
9890649bedea303f7b98f0f05c0ab63c869b5d77
2d925a123f948d84fcd547415201f51c9638276f
/20 - Valid Parentheses.py
fdf7691dd4847ec8f91c5b5632a8dd8230f380bd
[]
no_license
idan1ezer/LeetCode
4d4f1326be6cac50aaa281a3f6de228267ec4541
a79e03c7793700349c03854c9b6d040ea2798b1f
refs/heads/master
2023-06-28T20:45:01.554566
2021-08-12T07:55:58
2021-08-12T07:55:58
395,239,679
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
def isValid(s): queue = [] dic = {')':'(',']':'[','}':'{'} for ch in s: if (ch in dic.values()): queue.append(ch) elif (ch in dic.keys()): if((not queue) or dic[ch] != queue.pop()): return False else: return False return (queu...
[ "Idan.Ezer1@s.afeka.ac.il" ]
Idan.Ezer1@s.afeka.ac.il
072492c0333ea6a7591fb949bacadfc5f8e7d64c
eeee555d546abe58edeaacb90e109c0f3879c45e
/decorator_2.py
781452fd9815119c1538440b0f44bc23b7ef8b83
[]
no_license
iPROGRAMMER007/Advanced_Python
5054a1c6c06bb4e6949505d63780b1dda9ee4a08
a202bf99cb4ba7de134735fabbcc9d7be663317b
refs/heads/master
2020-12-04T20:43:06.285969
2020-01-05T10:02:31
2020-01-05T10:02:31
231,897,756
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
def chees_and_buns(orignal_func): def wrap(): print("This is upper bread") orignal_func() print("This is lower bread") return wrap @chees_and_buns def chicken(): print("I am roasted chicken") chicken()
[ "noreply@github.com" ]
iPROGRAMMER007.noreply@github.com
e6a5d11e2d2e2ccb5576e48d4bdb66784f320772
e2e3addb7858678d553339e52ed4ea4502a20f6f
/division_algo.py
17de54ea559db493c02a5a53b23ff488d7177bb3
[]
no_license
djschlicht/Cryptography
503b18bc601ab520ae86eb0475595369a3e79954
89d29d53727ceb18e869637c83616866c3406559
refs/heads/master
2023-02-27T17:24:31.101170
2021-02-03T02:03:55
2021-02-03T02:03:55
243,169,236
0
0
null
null
null
null
UTF-8
Python
false
false
1,745
py
#!/usr/bin/env python3 # division_algo.py - Uses the division algorithm to find the # greatest common divisor of two integers and shows the # intermediate steps in tabular form from prettytable import PrettyTable # Number 1. a = 28056, b = 3032 # Number 2. a = 48432, b = 47376 def division_algorithm(a, b): # S...
[ "noreply@github.com" ]
djschlicht.noreply@github.com
38c802e9a5aa03f8b26c62e5c786bc7ad2c47ed2
3196861aea8da409d4775291ec33ea61574a9604
/oddmanout/solution.py
2e4832e714c1ee44fff90c4acc32009327aa7ebb
[]
no_license
109-marzouk/kattis
f7df72b59cc7bdbb0baab0cef86b5c5d1348a0d0
da1d26541a64210a3d55452db538956e06e47ec1
refs/heads/master
2022-04-21T09:11:41.788688
2020-04-24T10:09:36
2020-04-24T10:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# https://open.kattis.com/problems/oddmanout for x in xrange(1, input()+1): n= input() s = map(int, raw_input().split(" ")) for e in s: if s.count(e) == 1: print "Case #" + str(x) + ": " + str(e); break;
[ "32062205+MohamedMarzouk23@users.noreply.github.com" ]
32062205+MohamedMarzouk23@users.noreply.github.com
4b2039b2583b2258d2f0fea69a7ad4fcde28256d
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/appcenter_sdk/models/AzureSubscriptionPatchRequest.py
12120015c7f4061d120ebe159a0c58a00ab14fa1
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
3,336
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ import pprint import re # noqa: F401 import six class AzureSubscript...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
ab38a960d0a8048f0c08b21c1876de6f501d2193
8f9ec2aa1b423d64a5aa033acf60db842b122398
/编程/python/高级探究/pdf/pdf_pypdf2.py
17d57a22bfa593ddd1811ea396629230c48bd000
[]
no_license
xuysang/learn_python
853c650e3d546437c761bc59007fbb9633b01fc8
84d4ec67b99fb1d697603c04e8d33bae6693c4a8
refs/heads/master
2020-08-20T02:05:05.995711
2020-01-09T08:58:31
2020-01-09T08:58:31
215,974,237
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from PyPDF2 import PdfFileReader def extract_info(pdf_path): with open(pdf_path,'rb') as f: pdf = PdfFileReader(f) information = pdf.getDocumentInfo() title = information.title print(information) extract_info("大成基金大成优势企业混合关于大成优势企业混合型证券投资基金基金合同生效公告.pdf")
[ "807692755@qq.com" ]
807692755@qq.com
5260ab00f8a2ad5cfa467bf282d37fa2f11ed232
13f216cab500ea007c8568d3ddea53cd681bf8fb
/voxelSimple/satTest.py
4b7192e6fd2c4bd1fffa99adac6d95b27deb9c80
[]
no_license
agentqwerty/python_scripts
8895463b1f8e2e799f674b832abf529f2437c3f2
f99f1bcbc8cbe1dbb7b689b5bb1c5c417dfd138a
refs/heads/master
2016-09-06T16:24:29.527166
2013-04-16T17:56:13
2013-04-16T17:56:13
4,854,955
2
1
null
null
null
null
UTF-8
Python
false
false
14,095
py
__doc__ = """ Implementation of SAT (separating axis theorem) to test polygon-bounding box intersection. """ # Standard Imports import math, unittest # Classes class SimpleVec(object): """ A simple vector class for use if we're not in maya. """ def __init__(self, x,y,z): self.x = x self...
[ "qwertyman.01@gmail.com" ]
qwertyman.01@gmail.com
a93cdcce54c0962c262506fda48da79fafe9b647
754691c0b7e57557ffa2b33c00f7ade57330d4d5
/data_splitting_rcv1.py
bdc81afd023ccddf5fade4956d9b294b6705b454
[]
no_license
utamhank1/data_mining_algorithms
a2a34b9e299b5fb7db89b9223be587cd98af212f
01a9e719de980f0fb39f96ace07b7833cec0755c
refs/heads/master
2020-12-29T21:46:29.705800
2020-02-07T20:01:12
2020-02-07T20:01:12
238,743,899
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
# This script takes the rcv1 dataset (www.jmlr.org/papers/volume5/lewis04a/lewis04a.pdf) of 800,000 categorized news # stories and splits it into training and test data. # Import libraries import numpy as np from sklearn.datasets import fetch_rcv1 def main(): # Fetch the rcv1 dataset from sklearn. rcv1 = fet...
[ "utamhank1@gmail.com" ]
utamhank1@gmail.com
a2a5ab237decb693a81f7126c4194036946116cd
b4cb52100df0e253d9423ba3a7a832a2d758b6de
/pixelpics/pixelfy_app/migrations/0002_like.py
fbfca80f00cfff2c7d83d6b713eee75e54e7bb91
[]
no_license
nchanay/Capstone
2e94708b80c33efbf48a1d46af73cbbaa5af706b
ef4832292c788926dde3a87d44fe631cf6d068dd
refs/heads/master
2023-04-26T14:19:41.383260
2019-05-31T01:14:11
2019-05-31T01:14:11
185,299,498
0
0
null
2023-04-21T20:32:03
2019-05-07T01:42:47
JavaScript
UTF-8
Python
false
false
835
py
# Generated by Django 2.2.1 on 2019-05-22 03:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('pixelfy_app', '0001_init...
[ "nchanay@gmail.com" ]
nchanay@gmail.com