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
40a8094797f214895546ecf45393fb3426288015
6ea99c5eff3214b6f424f8b31f802693bb675e6e
/discord chat bot.py
ff8a67b292caa5dfb36c2024030306f8a3402db5
[]
no_license
RajrupDasid/Python-Full
8853ca00d8d49ae4d7ee8be3c2006e3501b63688
c6eb6b14d31591e5319dde774aaad8b1d6a30cf3
refs/heads/master
2023-04-23T15:09:27.156157
2021-05-16T16:02:47
2021-05-16T16:02:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,779
py
Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> import discord import os import requests import json import random from replit import db from keep_alive import keep_alive client = discord.Cli...
[ "rajrupdasid@outlook.com" ]
rajrupdasid@outlook.com
de953e1a133d796d7c348777274fe9a4eb25f67e
ddb7916c3962713471044f03bd76414581dbf801
/Myadmin/templatetags/get_table_rela_name.py
57099dd00e91e49ac1775475fd5f2fe0ad581a24
[]
no_license
so1so2so/SuperCrm
92949819ea2200edd818bfafce8fd2c5ca99076a
ba17faa55b13a611fc579006994af6f0f836764b
refs/heads/master
2020-03-06T18:24:11.238838
2018-05-08T13:42:27
2018-05-08T13:42:27
127,006,380
0
0
null
null
null
null
UTF-8
Python
false
false
10,845
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ from django import template from django.utils.safestring import mark_safe register = template.Library() @register.simple_tag def get_rela_name(table_obj): table_name = table_obj.model._meta.verbose_name_plural or table_obj.verbose_name if not table_name: ...
[ "1037930435@qq.com" ]
1037930435@qq.com
a9e5eb3ab4a218aa683ef5d03c99c1d078421c56
27fbe6c1f5de40022efe05f978c9af2a5d209e91
/bug_trigger_inputs/mxnet/2/mxnet.ndarray.leakyrelu/VI_3c15c5ae85e16b766d42e7183dc7de1816f01cad.py
21b1c28700106da26f921cec370d6a276fb8c6a8
[]
no_license
icse-submit/materials
830ea178351cd3523704ce63edfe18f83936d57c
6a61764cea00470af6f74fb2969e77db023f1e84
refs/heads/master
2022-12-23T10:05:01.618766
2020-09-28T19:28:21
2020-09-28T19:31:07
290,929,497
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import pickle import mxnet data = pickle.load(open('3c15c5ae85e16b766d42e7183dc7de1816f01cad.p', 'rb')) mxnet.ndarray.LeakyReLU(**data)
[ "4icse2021@gmail.com" ]
4icse2021@gmail.com
988b12ee3d4f3d915082fb26172765182b63a80d
57006c285929a9689d6b1db0a32cc20dae43f747
/21数据分析/21源码/11_numpy测试.py
4492b379dd8e40132e1b2ef57e9507ac25520bfc
[]
no_license
ami66/AI-Lab
2c8c20e98461668ae3cbb251fd50e258abbb8108
3b334f7aa2aaa8237e1da3750159fe080c826b6b
refs/heads/master
2020-04-11T07:33:13.505162
2018-09-27T15:09:47
2018-09-27T15:09:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
import numpy as np import random a = np.array([1,2,3]) b = np.array(range(6)) c = np.array(range(9), dtype=float) d = np.array(range(9), dtype="i1") print(a) print(a.dtype) print(b) print(type(b)) print(c) print(c.dtype) print(d) print(d.dtype) t5 = np.array([1,1,0,1,0,0], dtype=bool) print(t5) print(t5.dtype) # 调整...
[ "ufofcz@163.com" ]
ufofcz@163.com
5342ff68bdffe0f8ec7581753bdf1408d1eb68fc
4e2aeea4c941b15617d3633ee5fca69d65119d99
/prg96.py
8dc803ead325935c21f438672fd88dfc0929325d
[]
no_license
kavinandha/kavipriya
d404ff268ce7f552ac7c9bfe374a6fca8fcaa8a9
2447162171535d8230f360343fee4a36e9d0e484
refs/heads/master
2020-05-05T03:10:17.271061
2019-05-18T10:06:19
2019-05-18T10:06:19
179,663,066
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
import math def sum(a,d,b,r,n): sum1=0 for i in range(1,n+1): sum+=((a+(i-1)*d)*(b*math.pow(r,i-1))) a=1 d=1 b=2 r=2 n=3 print(sum(a,d,b,r,n))
[ "noreply@github.com" ]
kavinandha.noreply@github.com
01b7735f6bf8f0b822b06b92b55d992ebdaafcae
f3fef992836191869c851daeacd7f83e41e16142
/venv/lib/python3.6/site-packages/represent/core.py
d1eab4dc165dd8093b035ab08fce9f53c7e158c5
[]
no_license
patrickcshan/TDAHackathon
ea0bdbabe75f4f791617e202148f7d93edb10c78
b0110b6aab9c542ba3b9a4cba96d5cfce0b72720
refs/heads/master
2020-04-05T18:35:48.242483
2018-11-11T17:51:31
2018-11-11T17:51:31
157,105,119
0
1
null
null
null
null
UTF-8
Python
false
false
6,435
py
# code: utf-8 from __future__ import absolute_import, print_function import inspect from copy import copy from functools import partial import six from .compat.contextlib import suppress from .helper import ReprHelper, PrettyReprHelper __all__ = ['ReprHelperMixin', 'autorepr'] def autorepr(*args, **kwargs): ...
[ "patrickshan@gmail.com" ]
patrickshan@gmail.com
433c2c36b3c14566f7590a3fd8c1f0be42e495a7
c79c943c715656ed0dcb0d261df22f0ab0fa9ce5
/PythonCharts/TSplotChart.py
0580f60c0a55a7a97ffe4ec631a54e03095bdd40
[]
no_license
rimon107/PythonCharts
6633d8f09615b36a03ea39306318895b64619a3d
2379425c9aba72488a35705431b89a30bb3caec5
refs/heads/master
2021-08-16T08:45:51.538128
2017-11-19T11:13:58
2017-11-19T11:13:58
111,287,841
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# We can use the pandas library in python to read in the csv file. import matplotlib.pyplot as plt import seaborn as sns import pandas as pd # conventional alias from pandas.tools.plotting import parallel_coordinates from sklearn import datasets def LoadDataset(): dataset = sns.load_dataset("gammas") return d...
[ "nahidulislam107gmail.com" ]
nahidulislam107gmail.com
2faaa07a120d7dc2a149700224cccc25c82a9f18
2967cbb157842713c145c0e3421f328f66e8589a
/reviews/migrations/0002_alter_review_options.py
4bf7f9e0a7afc59a15d71fde9ea44b489b14c96f
[]
no_license
Code-Institute-Submissions/gentleman_mayer
ecd0a120344527dbf9020612bed9342da894a9d2
90ee7a5172bad999b97bc66fad3ad786874df19f
refs/heads/main
2023-07-16T17:14:09.165499
2021-08-27T08:03:36
2021-08-27T08:03:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 3.2.5 on 2021-08-13 01:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reviews', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='review', options={'ordering': ('-date_posted...
[ "adrianc.chiriac@yahoo.com" ]
adrianc.chiriac@yahoo.com
f521862b7446dd9e87cf49a022c0d0482adb5426
9c3043c41ef69503cd4854756bfcaed200ed112a
/catalog_service/src/catalog_service/event_consumer.py
7a585923640f13add5485abefa904e76b6e8c267
[]
no_license
ghedb/monsplit
63a1baae1e625cb2f0e07923b88e56c1f4b26e92
028bdd64b6d48afa2198d9e4303cc829de586a29
refs/heads/master
2020-05-05T11:39:46.836934
2019-09-04T11:57:52
2019-09-04T11:57:52
179,998,508
5
1
null
null
null
null
UTF-8
Python
false
false
5,289
py
import json import logging import os import sys import time from pprint import pprint import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "catalog_service.settings") django.setup() from catalog.const import ProductEventTypes, CONSUMER_GROUP, PRODUCT_TOPIC from dateutil.parser import parse from catalog.mode...
[ "g.h.hedberg@gmail.com" ]
g.h.hedberg@gmail.com
15cb8a3c9ef14ce398b2219a881c3c6bad010d8f
f334fadf8ca44e88992dc4092a34256a957d10b8
/sensorDash/teste/bin/django-admin
a8ea7cbbf3f73694eb4f6f53abcd36e4225decaa
[]
no_license
juniorug/inf627_exercicios
f1f1450ede8764792142f494d597eed91eae4a22
7ab3102ddfb65e411f717a929fd269237dbe195c
refs/heads/master
2021-01-10T09:35:29.632418
2016-04-26T22:16:12
2016-04-26T22:16:17
54,422,773
0
0
null
null
null
null
UTF-8
Python
false
false
327
#!/home/adewale/Especializacao/inf627_exercicios/sensorDash/teste/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_l...
[ "adewale.andrade@gmail.com" ]
adewale.andrade@gmail.com
d06ab34fea0bac11e8aa864a35184490730e2a5a
02b495111594a367405b2bfbf220e38da3a5f7b0
/devel/lib/python2.7/dist-packages/brics_actuator/msg/_JointValue.py
0723b3357a381bbe1f9fbd1dbb79f58932d32bef
[ "BSD-2-Clause" ]
permissive
Ashuditya/Rebellious-Cowards
3f7c6afd314e4bf2ffb72b99ecf58be23f309e97
56ec395147f2fc59a26669a74a04fe02227bc7b7
refs/heads/master
2023-01-24T10:57:47.533839
2020-10-01T15:58:07
2020-10-01T15:58:07
218,202,193
0
3
BSD-2-Clause
2020-10-01T17:07:44
2019-10-29T04:09:46
Makefile
UTF-8
Python
false
false
6,583
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from brics_actuator/JointValue.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import genpy class JointValue(genpy.Message): _md5sum = "c8dad5a006889ad7de711a684999f0c6...
[ "srujannwankhede786@gmail.com" ]
srujannwankhede786@gmail.com
c42393571b709d8b7b7b63c733b9226da1ba6504
c08890939d900901e2b9442969b8260b1083b81d
/go_django/asgi.py
8395ef72e47291374935963302732743fbd5c2b3
[]
no_license
ConaGo/django-starter
71b076d60843c6cf0ab107daef9961d94ff26c77
9018746860fb3bf3fedfa68ae38d4b0862824840
refs/heads/main
2023-08-22T05:42:17.109140
2021-10-22T00:15:11
2021-10-22T00:15:11
419,427,079
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" ASGI config for go_django project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "l_jasper@web.de" ]
l_jasper@web.de
6b2b02a3e562e86899504fd989b8c02b140b8709
1779acf92cdf4b603ef28b0746c53e1c2e174db2
/ThinkPython/py-OOP3.py
f429a0fb97b0bfed10354030feac1a2391bd091d
[]
no_license
antodank/Anto_Python
6306b021781715beb84e527c67a835fbb900d5d9
87823c9c82bebed7fcb2ed2f4a2dfce5c74300a9
refs/heads/master
2020-06-06T12:51:01.212190
2019-08-20T18:15:40
2019-08-20T18:15:40
192,743,734
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
class Point(object): """Represents a point in 2-D space.""" def print_point(p): """Print a Point object in human-readable format.""" #print "(%g, %g", % (p.x, p.y) print("X=%d, Y=%s" % (p.x, p.y)) class Rectangle(object): """Represents a rectangle. """ def find_center(rect):...
[ "ankitkt.47@outlook.com" ]
ankitkt.47@outlook.com
f32e61acab543b074d8350bb2c926e937628cbb7
97f285b6f8016a8d1d2d675fffb771df3c9e37b9
/study/algorithms/sorting/selection_sort.py
b1177b6f5b9e1b1dd7feb0d3974b2999b7447124
[]
no_license
oskomorokhov/python
ef5408499840465d18852954aee9de460d0e7250
8909396c4200bd2fca19d3f216ed5f484fb2192a
refs/heads/master
2021-05-14T09:27:25.413163
2019-12-12T21:00:05
2019-12-12T21:00:05
116,327,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
# selection sort def ssort(lst): """ The algorithm divides the input list into two parts: the sublist of items already sorted, which is built up from left to right at the front (left) of the list, and the sublist of items remaining to be sorted that occupy the rest of the list. Initially, the sorted sublist ...
[ "oskom85@gmail.com" ]
oskom85@gmail.com
5791e759734afcae1c0217d224986a43aee2394e
234b317eb1b8c836a6e3599ee16af92844222301
/ModernArchitecturesFromPyTorch/nb_GRU.py
39712f3ff5d91d3777a4f857d6bb969924b16091
[ "Apache-2.0" ]
permissive
BradleyBrown19/ModernArchitecturesFromScratch
98b9eaf8cea2424d72297044591964cbda061a07
9511c94cc7b6782df4603fd3f7751e653b8e7f20
refs/heads/master
2023-04-14T21:09:28.003507
2021-11-01T14:16:06
2021-11-01T14:16:06
233,241,743
0
0
Apache-2.0
2023-04-11T23:43:00
2020-01-11T14:08:39
Jupyter Notebook
UTF-8
Python
false
false
317
py
################################################# ### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ### ################################################# # file to edit: dev_nb/GRU.ipynb from ModernArchitecturesFromPyTorch.nb_ScratchToPytorch import * from ModernArchitecturesFromScratch.convolutions_pooling_04 import *
[ "bradley19brown@gmail.com" ]
bradley19brown@gmail.com
e6728fd49b3a778b40a7a6fc9cd3ccc3f191a11a
d0b5adc8ff50da360c5cf4927b005690edb74b1d
/conjugation_problem_sp/mainsp.py
102c26ecf0fe3d29cc0614eb77919dc35d623033
[ "MIT" ]
permissive
nikolskydn/discrete_vortex_method_in_2D
a11bb390f4b7291f9b7824c1533931b158660402
68c6672d3744706f4c51a184470bb027ce377f4b
refs/heads/master
2020-12-25T07:28:12.990185
2017-06-18T19:00:53
2017-06-18T19:00:53
61,661,607
0
3
null
null
null
null
UTF-8
Python
false
false
2,062
py
#!/usr/bin/python import numpy as np from sys import path path.append("./../") from smodule.sfunctp import * Kx=1 Hx=1 Px=1 Ky=1 Hy=1 Py=1 Phi1=-0.25/sp.pi*sp.log((x0-y0)**2+(x1-y1)**2)-0.25/sp.pi*sp.log((x0-y0)**2+(x1+y1)**2) Psi2=0.25/sp.pi*sp.log((x0-y0)**2+(x1-y1)**2)-0.25/sp.pi*sp.log((x0-y0)**2+(x1+y1)**2) n=800 ...
[ "nikoslkydn@mail.ru" ]
nikoslkydn@mail.ru
5877c60e529afc0f3fee94588971ca9f8c20a53c
d52a9bae59fb20793237904b2f164be752ce43ff
/plot_install.py
ee6c3bd7f302287ffea3a0e996945745dd99aea0
[]
no_license
torkildr/tools
fda0dbf5654d5152a0c16f3c0b9366e7db4ba66e
cd392989785d4065dee33bcd47eceb70f8825114
refs/heads/master
2020-06-04T16:54:49.447624
2011-06-22T21:05:36
2011-06-22T21:05:43
1,021,633
0
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
#!/usr/bin/env python import datetime import dateutil.rrule as rrule import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.dates as mdates dates = [] totals = [] actives = [] versions = {} f = open("/home/markild/stuff/trommelyd_installs.txt") for line in f: ...
[ "torkild@retvedt.no" ]
torkild@retvedt.no
8ca1e09fb7ee173a14faeb5049dd0aa0737a9ba0
eff2fc11905f6118dcd70050392f168cd7aea086
/leetcode/40_combination_sum_ii/solution1.py
df0fa9abba6a73cfa6548fd39c14982c906e75fb
[]
no_license
algobot76/leetcode-python
28f1e1107fa941a3b40006f074eec6231e674ac1
ec8bff8978d6915bfdf187c760b97ee70f7515af
refs/heads/master
2021-07-05T17:06:40.581977
2020-09-19T22:02:38
2020-09-19T22:02:38
199,255,699
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
class Solution: def combinationSum2(self, candidates, target): candidates.sort() combs = [] self.dfs(candidates, target, 0, [], combs) return combs def dfs(self, candidates, target, start, comb, combs): if target < 0: return if target == 0: ...
[ "xkaitian@gmail.com" ]
xkaitian@gmail.com
0703e5f22212b00ffaf7e02dd00eeaa7b1966ce3
cc578cec7c485e2c1060fd075ccc08eb18124345
/cs15211/TopKFrequentWords.py
7733837228f8d83367a4b89021aa264f1154d5e3
[ "Apache-2.0" ]
permissive
JulyKikuAkita/PythonPrac
18e36bfad934a6112f727b4906a5e4b784182354
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
refs/heads/master
2021-01-21T16:49:01.482561
2019-02-07T06:15:29
2019-02-07T06:15:29
91,907,704
1
1
Apache-2.0
2019-02-07T06:15:30
2017-05-20T18:12:53
Python
UTF-8
Python
false
false
5,923
py
__source__ = 'https://leetcode.com/problems/top-k-frequent-words/' # Time: O() # Space: O() # # Description: Leetcode # 692. Top K Frequent Words # # Given a non-empty list of words, return the k most frequent elements. # # Your answer should be sorted by frequency from highest to lowest. # If two words have the same ...
[ "b92701105@gmail.com" ]
b92701105@gmail.com
ae753451fb6e1386b234a56c92481ab547af11b9
52ec37b5e930165896bc5322ffd8903c3b8bae27
/hello.py
285c3c9717b7cc4e01d02ec35a329fee00294020
[]
no_license
sicardnicolas/pyqt-hello
d4586aa50fed5a14b20e37f098276237effc5325
f5578f90d26bfb112842d9ed1b9e1a84b2b9f1bb
refs/heads/master
2022-12-25T12:23:59.385206
2020-09-22T20:52:46
2020-09-22T20:52:46
297,449,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * import sys class MainWindow(QMainWindow): def __init__(self, *args, **kwargs): super(MainWindow, self).__init__(*args, **kwargs) # SIGNAL: The connected function will be called whenever the window # title i...
[ "nicolas@sicard.me" ]
nicolas@sicard.me
a3e1226d63fcfcf528781ec2ed98b724fb2a041d
d0cc52ff1ae294dc6883b67c33b98f10f16e1f73
/foodplaner/foodApp/migrations/0001_initial.py
50927417a583e967bb4ff144c13ad6d58d9cf75b
[]
no_license
FreshMax9000/Essenswebsite
dc34e7fd7398906625fae689d513fdddf871dcd8
d23d6fa0ace126637aac0f094a16fe4c16a5cbf6
refs/heads/development
2022-12-05T01:20:32.119196
2020-06-05T09:06:03
2020-06-05T09:06:03
245,122,540
2
0
null
2022-11-22T05:53:10
2020-03-05T09:39:03
CSS
UTF-8
Python
false
false
4,478
py
# Generated by Django 3.0.5 on 2020-05-07 19:19 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL)...
[ "philipp@hmreimund.de" ]
philipp@hmreimund.de
01651216a026d86c1a68fac21316efefe8e285b4
6b05bddf2e294c8e1b39846aecadfa06b4ff805d
/kubevirt/models/v1_secret_volume_source.py
a4149f175fdbc18ed8d07833b30451edf27ea370
[ "Apache-2.0" ]
permissive
kubevirt/client-python
5ca82fe55d48c07f62796d2bed3605a7c189922c
235fe17f58d41165010be7e4122cb67bdc866fe7
refs/heads/master
2023-09-03T12:25:27.272479
2023-08-17T00:33:31
2023-08-17T00:33:31
105,017,761
29
25
Apache-2.0
2022-10-20T13:52:10
2017-09-27T12:51:32
Python
UTF-8
Python
false
false
5,318
py
# coding: utf-8 """ KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1Secret...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
478818c9037b20e91668146589a7d716069fa610
364e81cb0c01136ac179ff42e33b2449c491b7e5
/spell/tags/2.0.9/src/server/core/ipc/interfaceserver.py
2e6b16cfaf929891ff700add41005364bc788a31
[]
no_license
unnch/spell-sat
2b06d9ed62b002e02d219bd0784f0a6477e365b4
fb11a6800316b93e22ee8c777fe4733032004a4a
refs/heads/master
2021-01-23T11:49:25.452995
2014-10-14T13:04:18
2014-10-14T13:04:18
42,499,379
0
0
null
null
null
null
UTF-8
Python
false
false
15,221
py
################################################################################### ## MODULE : core.ipc.interfaceserver ## DATE : Mar 18, 2011 ## PROJECT : SPELL ## DESCRIPTION: IPC interface for servers ## -------------------------------------------------------------------------------- ## ## Cop...
[ "rafael.chinchilla@b4576358-0e6a-c6b8-6e87-62523fae65e4" ]
rafael.chinchilla@b4576358-0e6a-c6b8-6e87-62523fae65e4
08777ef56a0df912e73d6c15c9f138bd8b2e87c3
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_pii_entities_async.py
7c580718d21294e4c46f62a5a71fbf2a0867ba92
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
4,031
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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
592954c24d90392accd10d69fa5c5591d6254b29
ccbe9d81fe6e126ccae3e3ecb36b9c04b1544bea
/config/services/configure_web_sockets.py
19605f5afd1b06e9f0f14fef5bebdc1abb61abda
[]
no_license
Silver3310/Aiohttp-sample-chat
9bb3b44f88c39b594afb528cc425bb6741c9e1f1
88f4f93b43f2ddced3af1e6ecf6c227f4756744f
refs/heads/master
2021-06-23T20:39:09.907074
2019-10-05T10:21:44
2019-10-05T10:21:44
212,976,233
0
0
null
2021-03-20T01:51:21
2019-10-05T09:44:04
Python
UTF-8
Python
false
false
369
py
def configure_web_sockets(app): """ Configure WebSockets """ async def on_shutdown(app): for ws in app['websockets']: await ws.close( code=1001, message='Server shutdown' ) app.on_cleanup.append(on_shutdown) # a list of sockets t...
[ "epifanov998@mail.ru" ]
epifanov998@mail.ru
414558f8f2f2f959546e50c46144100f193f178d
6d429c1bc185fc8180fc69f1d49fd781e9a90748
/appuser/codemanager.py
98381f12400d2cfb23c1cb65a163547d03f84290
[]
no_license
FirayMa/store
6bc5d350da4170d0ef87d25748635cd1a32aa717
542a955451f78f9f904010383b1c661e2fbef471
refs/heads/master
2023-05-28T05:33:13.867339
2017-09-07T01:00:30
2017-09-07T01:00:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
from django.db import models import pdb import random import string from django.conf import settings from common.e_mail import EmailEx class CodeManager(models.Manager): """ 验证码的manager """ email = EmailEx() def send_code(self, email): result={} if not self.email.EMAIL_R...
[ "281475120@163.com" ]
281475120@163.com
40ae0947ad0df6b4f4373286bba0699460598253
3ebca13c180f6314189f353b197f177f76c87c38
/Leaderelection.py
5e71b8de897253c412dfdfc226695ee22f1a411e
[]
no_license
gurpradeep/TF
ca87630176a48eb190c1f05e00bf4c868a48ae02
8b0c6364395f3a3d3f18fd929352c0d2fe757355
refs/heads/master
2023-01-20T14:59:19.937144
2020-12-05T17:57:33
2020-12-05T17:57:33
301,216,087
0
0
null
null
null
null
UTF-8
Python
false
false
2,013
py
import etcd3 import sys import time from threading import * LEADER_KEY = "/myleader" def main(server_name): client = etcd3.client (host="localhost", port=2379) while True: is_leader, lease = leader_election(client, server_name) if(is_leader): print("I am the leader") ...
[ "gupta.pradeeep@gmail.com" ]
gupta.pradeeep@gmail.com
10c7be24b3c3c0c17d53b00c3a7c8d0bf4c0e5fc
04bf8241a836af9d56b626d56a477bff41732d7f
/q2/twitter/admin.py
9905e7d3cefad59b556c5ec71a6b9a1b636d84ac
[]
no_license
hiteshmishra708/jiohaptik-assignment
cf950c978897100d2c50c47e4a22bb5a39a50f9e
4da4ac37899a32a1324c506b902170f021d1cfc3
refs/heads/main
2023-04-14T02:16:04.440975
2021-04-04T09:10:48
2021-04-04T09:10:48
354,222,812
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.contrib import admin from .models import People, FollowRecord, Tweet admin.site.register(People) admin.site.register(FollowRecord) admin.site.register(Tweet)
[ "hiteshmishra708@gmail.com" ]
hiteshmishra708@gmail.com
7ff143344ce9306dacdfcea254efe272b77b8201
79ab7c2b50109ed5518e890c8ff56019ebc233a7
/Programs/Program_3/Gage-Halverson-Program3-test.py
8dad5a7b7dbb654a8c8fc6f1c5570fb37971261f
[]
no_license
hi2gage/csci127
8c0d977376c00c8e7eb2adaf739b427ef4b64372
a973f5198e4d6315fa86db585a8e47f953bcf421
refs/heads/master
2020-04-21T11:13:09.291635
2019-05-03T00:08:29
2019-05-03T00:08:29
169,515,779
0
0
null
null
null
null
UTF-8
Python
false
false
9,313
py
# -----------------------------------------+ # CSCI 127, Joy and Beauty of Data | # Program 3: Weather CSV Library | # Gage Halverson | # Last Modified: Feb, 26 2019 | # -----------------------------------------+ # Provide a brief overview of the program. | # Pro...
[ "coolgage@Gages-MacBook-Pro-2.local" ]
coolgage@Gages-MacBook-Pro-2.local
c1c573cf1fe905c86e85038a39dd736d9d842676
e5e8d2741a2c6f5615a563e938e0c53afb019c9f
/kwiiyatta/converter/dataset.py
58398effaa50a1a8a9ea5b936da93e266f6f871a
[ "MIT" ]
permissive
Iselix/kwiiyatta
1d89c8b009f25f7daad4fab3040ee8ff5ab93301
5771c88fffbcfdadb1fb5084be8af220164a01ff
refs/heads/experimental/konokoetuki
2023-05-01T01:20:20.063948
2020-08-16T09:46:37
2020-08-16T09:46:37
184,916,222
2
0
MIT
2023-04-21T20:15:30
2019-05-04T16:03:23
Python
UTF-8
Python
false
false
2,194
py
import copy from nnmnkwii.preprocessing import remove_zeros_frames, trim_zeros_frames import numpy as np import kwiiyatta from . import abc class WavFileDataset(abc.Dataset): def __init__(self, data_dir, Analyzer=None): super().__init__() if Analyzer is None: Analyzer = kwiiyatta.a...
[ "iselix.x17351@gmail.com" ]
iselix.x17351@gmail.com
7e848136723f6fa4f38797ac7246888240d8898f
f579e331f4d8a083843ae4da1bc7bfb1f90b44fb
/main.py
0fcd1bcb390c6ac66ec06455b0849429e9c86368
[]
no_license
yowenter/NotificationFeed
4a71f781412fd046259f45238ebc3e2bbf365140
64d531e03bf2f179d8d343e74bbe9da23d991f44
refs/heads/master
2020-04-24T16:01:28.787966
2019-03-15T06:29:08
2019-03-15T06:29:08
172,091,330
2
0
null
null
null
null
UTF-8
Python
false
false
5,262
py
import os import time import logging import signal import sys from noti_feed import setup_feed setup_feed() from datetime import datetime from watcher.github_service import RepoIssueWatcher from noti_feed.manager import new_issues from noti_feed.feed import ManagerNotificationFeed from models.notification import Issu...
[ "wenter.wu@gmail.com" ]
wenter.wu@gmail.com
5e7a1db37f5eccb027a0eb393996754bacb5bcaf
39b7675802d772748ceede6ec18ad902b6346ecc
/PythonClass/notesonfunction/fourth.py
a06c12dc6f1ce9a2b30fd4806697de392c017c1f
[]
no_license
krishnakarki195/PythonNote
12426fc32aa7ef5a5b2c70ed35bc5db142c55539
1b99ce24f8f46f1d8abe639e6e85b792dd5c5790
refs/heads/master
2020-09-17T23:12:34.333109
2016-09-22T22:53:01
2016-09-22T22:53:01
67,238,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
#!/usr/bin/python # *,**,*args(args),**kwargs(kwargs) def callguy(**kwargs): if 'name' in kwargs: print kwargs['name'] if 'age' in kwargs: print kwargs['age'] if 'gender' in kwargs: print kwargs['gender'] if 'email' in kwargs: print kwargs['email'] callguy(name='kushi',age=1) #callguy(age=1...
[ "krishna.karki195@gmail.com" ]
krishna.karki195@gmail.com
90103b4dfe92fcefbca7e03b61049dfd4b387ab2
cc0c0f99a5cf563ff52a76f2ac17cdad09d22f01
/venv/Lib/site-packages/itk/itkBinaryMask3DMeshSourcePython.py
9b1e3354b60a4ae82b8bc30de79fa59d8b65a3ec
[]
no_license
Marxss/carck_detect_system
9c0d338bde322b4c7304fd0addb524d8697c8a7b
d2480f2108052af8af0aa5265a5239c309885043
refs/heads/master
2022-04-15T23:34:20.988335
2020-03-29T16:24:00
2020-03-29T16:24:00
214,625,168
0
0
null
null
null
null
UTF-8
Python
false
false
96,779
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkB...
[ "274065539@qq.com" ]
274065539@qq.com
cbfdc2132564815458464e1f64c86110d7b3e056
db3d4aa39bc6b3f521ba21afbfedd8164a68e4d5
/asgiref/conformance_async.py
5aeeeeacffef2d0bc4747777b7306d1a0c04b24e
[ "BSD-3-Clause" ]
permissive
EdwardBetts/asgiref
808c55b5089d9c9d8ae33583b0a1728a6313f930
0ad52409735109a85238b5b068c77c0f4e60e59e
refs/heads/master
2021-01-21T22:19:00.404420
2017-08-23T03:33:56
2017-08-23T03:33:56
102,147,619
0
0
null
2017-09-01T19:45:30
2017-09-01T19:45:30
null
UTF-8
Python
false
false
743
py
import asyncio def test_receive_async(self): """ Tests that the asynchronous receive() method works. """ # Make sure we can run asyncio code self.skip_if_no_extension("async") try: import asyncio except ImportError: raise unittest.SkipTest("No asyncio") # Test that recei...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
de6ff1b606ca0939e9cc25ea37d7b88e7f76c315
b9b19792e1890b56679dc167fb99f9612af477f7
/deeppy/graph/nodes.py
17893ad9ede4ed472d8bf3fcd5e5d7a6a94a5bf0
[ "MIT" ]
permissive
fullstackenviormentss/deeppy_experimental
7990674a8eda0655671940d3baf25256af8a384b
dc06e294e37a30340c7d02ac12c4d00653baf96c
refs/heads/master
2020-03-18T22:01:01.964338
2015-08-25T18:15:28
2015-08-25T18:15:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from ..base import Model, ParamMixin, PickleMixin, PhaseMixin class Node(PhaseMixin, PickleMixin): def _setup(self, **shapes): pass def fprop(self, **arrays): pass def bprop(self, **arrays): pass def out_shapes(self, **shapes): pass class SupervisedBatch(Node): d...
[ "anders.bll@gmail.com" ]
anders.bll@gmail.com
ec2c05a3ef7e22b1d5841dfc6f0483ca53a9c40d
41911c73dec55eec3eac36b6d2e4346d949d2d96
/snack machine.py
12b1aefef3218920ce50c0e69db260c1c973573d
[]
no_license
mbarbour0/Practice
cff321a0e5e5090da266016f8e31a1902e1c5cb2
781cf1e10154f43adec59f736ef1716acba6c98d
refs/heads/master
2021-09-07T17:02:37.501748
2018-02-26T14:02:35
2018-02-26T14:02:35
115,876,807
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
sodas = ["Pepsi", "Cherry Coke Zero", "Sprite"] chips = ["Doritos", "Fritos"] candy = ["Snickers", "M&Ms", "Twizzlers"] while True: choice = input("Would you like a SODA, some CHIPS, or a CANDY? ").lower() try: if choice == "soda": snack = sodas.pop() elif choice == "chips": ...
[ "matthew.barbour@icloud.com" ]
matthew.barbour@icloud.com
d6064d20eaf987e05a303a1b57a32eb45ca259b1
2894904e1f4964ac627ac3d892684d8e1e4b5c6d
/plot_together.py
2949b6927e5eb38e09f19b2762624149e2f880a1
[]
no_license
kun0906/activity_recognition-1
5615a4048d53376e6f40a78ae1f766d08adef72d
96b53fda3818ab9d00c0d865a76eb759df3e2bd0
refs/heads/main
2023-08-11T18:55:37.225360
2021-10-06T19:32:13
2021-10-06T19:32:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
#minhui plot fig, ax = plt.subplots(3, 1, figsize=(12, 6)) people = [1, 2, 3, 4, 5, 7, 8, 9] for p in people: xseries_total = x_tot[p] yseries_total = y_tot[p] zseries_total = z_tot[p] ax[0].plot(timevec, xseries_total, marker=".", markersize=3) ax[1].plot(timevec, yseries_total, marker=".", mar...
[ "noreply@github.com" ]
kun0906.noreply@github.com
79065302221ef451fff8e0c6027fe80e53c493f3
345a21611a97ab63d3fbea89c85a0e6968089354
/icbc-sentiment/PeopleCN.py
8831b16785c41cd4d450ad117ae2970c10517b40
[]
no_license
ArP2018/WebCrawling
3484294d53a786d385ed3099488c1812bade6ae5
c92d104eaccdc9fa1507e621ce2c23bdb8df2b03
refs/heads/master
2021-05-16T19:07:17.822029
2020-03-31T03:14:05
2020-03-31T03:14:05
250,432,437
0
0
null
null
null
null
UTF-8
Python
false
false
3,937
py
# 爬取人民网 http://www.people.com.cn/ # author: Yin Yalin import re import threading import time import traceback from bs4 import BeautifulSoup from selenium.common.exceptions import TimeoutException, NoSuchElementException from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from E...
[ "yalin1012@126.com" ]
yalin1012@126.com
1d165ff041aa75e01d583ed5e6a58ca9e318d535
df8d37d670a1494e81eb5b90b30a245aee6d330a
/toolset.py
066651f9a81410feaf7444670145d262f6514e97
[]
no_license
SammieLJ/TDS-RPG-Python
201ab0aa5a382b66a16c1e11c08116ae3e5326eb
463032f4a2d98f03f242716626be2fd0dc36e32f
refs/heads/master
2020-04-24T22:51:38.504127
2019-04-15T20:07:11
2019-04-15T20:07:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
import sys import random def readFileNames(fileName): text_file = open(fileName, "r") lines = text_file.read().split() text_file.close() return lines def random_names_from_list(nameList): OnceOrTwice = random.choice([1, 2]) names = [] for index in range (0, OnceOrTwice): names.a...
[ "samir.subasic@gmail.com" ]
samir.subasic@gmail.com
7d1e1a3f3bcbb68d55b3ecb1da02f2067428146e
11e05ac7640c269ec53af83c626691925b86e992
/tf/cifar10/cifar10.py
1baa1a7e797cd120ff0af81a43cc0158e2dee8d9
[]
no_license
NeverMoes/practice
1b921b9ea165a811cb33ff5d5c04bd1dfaaadca1
9e164bb176faaae99c12aeccaea7bb94de795d5d
refs/heads/master
2021-01-19T23:26:25.268525
2017-05-10T03:27:40
2017-05-10T03:27:40
88,984,951
0
0
null
null
null
null
UTF-8
Python
false
false
4,345
py
import tensorflow as tf import dataloader.path import cifar10_input max_steps = 100 batch_size = 120 data_dir = dataloader.path.CIFAR10 def variable_with_weight_loss(shape, stddev, wl): # 对权重进行正则化 var = tf.Variable(tf.truncated_normal(shape, stddev=stddev)) if wl is not None: weight_loss = tf.mul...
[ "nevermoes@gmail.com" ]
nevermoes@gmail.com
98809dfea4ff4dba9a3ba0d6f49603d5b7cd8938
f1d67722dcd4c2209eedc0a61e5ea0ee27c95470
/examples/farmer/farmer_ama.py
00a79662b473eef48f1d277a7ec361a36bbfb408
[]
no_license
wangcj05/mpi-sppy
08204019b466da5e0812b16dd5cb53da1bdbd793
42aff4c11dc42fcba8a9520da00e48c6e9ab7d85
refs/heads/main
2023-08-25T04:36:58.606490
2021-11-01T21:40:14
2021-11-01T21:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
# Copyright 2021 by B. Knueven, D. Mildebrath, C. Muir, J-P Watson, and D.L. Woodruff # This software is distributed under the 3-clause BSD License. """ An example of using amalgomator and solving directly the EF To execute this: python farmer_ama.py --num-scens=10 --crops-multiplier=3 --farmer-with-integer ...
[ "noreply@github.com" ]
wangcj05.noreply@github.com
410d41b69f42c4a59e75e20e031f715661df380f
0ae0acc1173692ea49127fb00676b8a41aa6b2f2
/cmpreqs/compare_requirements.py
0838f1e89dd93204082586299a68fc0cd1fa4ba8
[ "MIT" ]
permissive
pombredanne/compare-requirements
c796cca4a428fa680dcf021b152ea99a59d6e956
1f95c1779234a65e0f0e732b5fd728c159508aff
refs/heads/master
2021-06-22T19:08:03.429884
2017-01-16T14:32:03
2017-01-16T14:32:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,882
py
#!/usr/bin/env python import subprocess from io import StringIO def get_version(line): if 'git+' in line or 'hg+' in line: return line.split('@')[-1].split('#')[0] else: d = line.split('==') if len(d) > 1: return d[1] else: return def get_package_name(l...
[ "nekmo@alsur.es" ]
nekmo@alsur.es
d3ff67e4264d3034d5ceb38352781f2f524189c2
e2e1da4f241c59d0da8d6c267ea876adfd457f50
/features/environment.py
8c26f892e82fed577d3786edc5882b7c6398c0ba
[]
no_license
one-focus/python-selenium-behave
51751af1875353750159226ffaa3f477bbc711c7
3a08ae526f02a5f27a8f32a48801a0ab77ddd650
refs/heads/main
2023-01-13T17:38:28.036398
2020-11-19T08:57:35
2020-11-19T08:57:35
312,779,333
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
import configparser import allure from selenium import webdriver from selenium.webdriver.chrome.options import Options # TODO check all context attributes on https://behave.readthedocs.io/en/latest/context_attributes.html#user-attributes def before_all(context): # chrome_options = Options() # chrome_options....
[ "sash.kardash@gmail.com" ]
sash.kardash@gmail.com
378fa6b25eaa9e9486b6c7a12858055e6e0933d7
e7e8649259d4aeb86445094099d72a051c4d13f6
/djangoPr/test_git.py
c4de2cf598c64f88555e7a1208fa9c98f629640a
[]
no_license
shadowstarser/testP
63fe12549dc75515fc246ab89230679490621045
5c201064d4391c7c59549e70cd033167a50c83c7
refs/heads/main
2023-06-23T01:41:01.144360
2021-07-19T16:27:42
2021-07-19T16:27:42
386,978,699
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
# test file for commit 555
[ "shadowstarser@gmail.com" ]
shadowstarser@gmail.com
8d10e7491951c0bd46c4a395dc2122f14caff8ef
05effb8a3118d9ea458c2155daf659e73e91b15c
/ann_app/green_card_lot/green_card_lot/asgi.py
152239c5d31cf19b6ea93279a0bdf68829482a65
[]
no_license
Annahuljakevych/WebLabs
01130c2327edf0cf35e25b9d9b6b85c034b3ee42
03e8f63f25b011092d31f4a79c318d86c2f6244e
refs/heads/master
2021-01-08T16:44:02.953568
2020-12-18T00:06:37
2020-12-18T00:06:37
242,082,654
0
1
null
null
null
null
UTF-8
Python
false
false
405
py
""" ASGI config for green_card_lot project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANG...
[ "61308675+Annahuljakevych@users.noreply.github.com" ]
61308675+Annahuljakevych@users.noreply.github.com
a1429e362075e48b30a0d426f80a88982dde38b1
190442b08588d62a154c9f56e13ba334246a870c
/configs/styleganv2/stylegan2_c2_lsun-car_384x512_b4x8.py
2807777b140011dbe488a8ab3f185c823997efc0
[ "Apache-2.0" ]
permissive
youtang1993/mmgeneration
a6260c65075279d2a04959035fed1597469d05e6
0169a9a0c4674229b2c3d3c386c98fd91fce8fa1
refs/heads/master
2023-04-12T14:55:57.908986
2021-04-28T09:06:42
2021-04-28T09:06:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
_base_ = [ '../_base_/datasets/lsun-car_pad_512.py', '../_base_/models/stylegan2_base.py', '../_base_/default_runtime.py' ] model = dict(generator=dict(out_size=512), discriminator=dict(in_size=512)) data = dict( samples_per_gpu=4, train=dict(dataset=dict(imgs_root='./data/lsun/images/car')), val=...
[ "yangyfaker@gmail.com" ]
yangyfaker@gmail.com
339ed0442b7204075d1602bcd7c43bdf220c2b5e
ecf58d3880af1ae484644748579cc77ea54428bd
/codility/triangle_triplet.py
09e9ca69e9b0ba4968555f03e4a42c03df22eebe
[]
no_license
vuamitom/Code-Exercises
0601d186f4f505024d3f46b5c95a1c165d195830
3cc56d2d25c7b0832bd6e01154112bfd88d0ec52
refs/heads/master
2022-12-11T01:49:20.400506
2020-04-15T08:25:40
2020-04-15T08:25:40
8,831,614
13
14
null
2022-12-08T18:17:26
2013-03-17T07:59:58
Jupyter Notebook
UTF-8
Python
false
false
1,576
py
""" A zero-indexed array A consisting of N integers is given. A triplet (P, Q, R) is triangular if 0 ≤ P < Q < R < N and: A[P] + A[Q] > A[R], A[Q] + A[R] > A[P], A[R] + A[P] > A[Q]. For example, consider array A such that: A[0] = 10 A[1] = 2 A[2] = 5 A[3] = 1 A[4] = 8 A[5] = 20 Triplet (0, 2, 4) is t...
[ "tamvu@Tams-MacBook-Pro-9.local" ]
tamvu@Tams-MacBook-Pro-9.local
7ed4820a7660c408e148bacbb5f423e52d2c67b9
0dd26a11895cd96f30ca02fad8dac7469574fdd6
/feature_manager/FeatureManager_class.py
eac4d566bf1a2e6c7659baa14237efe36dec0d15
[]
no_license
marc22alain/G-code-repositories
6612d443962eb07a2139490595c0354c8ae376a2
4947dddd4942299314eeebb2f4895aa4a372ebf3
refs/heads/master
2022-02-01T15:16:13.906770
2021-04-25T01:57:22
2021-04-25T01:58:12
41,597,149
0
0
null
2021-04-11T20:33:18
2015-08-29T15:05:58
Python
UTF-8
Python
false
false
2,154
py
from AbstractFeatureManager_class import AbstractFeatureManager from machines import SimpleMachine from workpieces import SimpleWorkpiece import json class FeatureManager(AbstractFeatureManager): """Feature manager for the app.""" def __init__(self, view_space=None): self.machine = SimpleMachine(self)...
[ "marc22alain@users.noreply.github.com" ]
marc22alain@users.noreply.github.com
4ede039a5f8e824cee79fba2efaf8cbcedf0a1bc
11195ea809c363f834f3fb31eb7de26437e2eb53
/course3/reachability.py
a1a09b13ad880b57067f789a2d3918fe4ab64d7b
[ "MIT" ]
permissive
ropable/algorithmic_toolbox
e8d517dbc00541ef10fdc8c3e586194ebbd1b30b
b4dcf4fda19c394da2baa6eced0732bf50585237
refs/heads/master
2021-09-09T12:15:37.378207
2018-03-16T01:58:41
2018-03-16T01:58:41
110,786,531
1
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# python3 import sys def reach(adj, x, y): # Determine if x can reach y by exploring all of the nodes that x can reach. visited = [False] * len(adj) # List of all the edges, and whether they have been visited. return explore(adj, x, y, visited) def explore(adj, x, y, visited): # Explore each edge ...
[ "ashley@ropable.com" ]
ashley@ropable.com
ba833629540aef748023c997802be077ac85a4ca
8a185473649cb91500d6689fa06489f3187e6378
/Prey-RK.py
001d7e8c5122bfb750817994f397f986135958f9
[]
no_license
Luis7523/Scientific-computting-hw
fbc4cf800c82db8038273a8bfbb34f2318fad88e
e69deb5a07a4d34e2bd02889d21168cf850afd26
refs/heads/master
2016-08-12T18:09:48.407141
2016-04-21T16:32:14
2016-04-21T16:32:14
51,376,797
0
1
null
null
null
null
UTF-8
Python
false
false
690
py
#Marzo 8 cosa esta para la relacion entre depredador y preza #Luis Miguel Parra Rueda import numpy import matplotlib import matplotlib.pyplot x0 = 15 y0 = 100 Ky = 2.0 Kyx = 0.01 Kx = 1.06 Kxy = 0.01 delta = 0.1 y = range(101) x = range(101) t = range(101) def f(x): return (Kyx * y0 * x) - (Kx * x) def f(y): r...
[ "luismi0101@gmail.com" ]
luismi0101@gmail.com
793f9e73ba5caba9ede7ba2ad51bf2b38a7c59fe
1c9957d5b3e59fc8f2e04dc45a171a65d86b191a
/mm.py
cd0134b8e4d93b7972175691d42943c5b5d86a48
[]
no_license
SantaDiver/mapReduce
2d5e2313fbe2f129a55ba6aa65b7008740f3ce01
ac27f782d8d591f58caa5f8e6e694694744745c4
refs/heads/master
2021-05-11T22:02:47.013363
2018-01-15T02:41:12
2018-01-15T02:41:12
117,483,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
#!/usr/bin/python import sys import pandas from nltk.tokenize import RegexpTokenizer import mincemeat import csv import argparse RESULTS_DIRECTORY = './results/' import os directory = os.path.dirname(RESULTS_DIRECTORY) try: os.stat(RESULTS_DIRECTORY) except: os.mkdir(RESULTS_DIRECTORY) PATH_TO_RESULT = RESU...
[ "nik7101@yandex.ru" ]
nik7101@yandex.ru
6c3755b67cc4a7bbc79be33a27724d07313eaf07
72f1a2515222f6e5475fbf2f7d115090b32685b5
/minipnm/__init__.py
6c483278c5cb9d20c6108a8c12e1d661c119d1ea
[ "MIT" ]
permissive
RodericDay/MiniPNM
a654970ee23bd9cc9c2cab484efa4bf63c251db8
c0f89780da96fe7573f78752e8420d344fcc0c46
refs/heads/master
2020-05-17T08:43:07.739483
2015-04-02T22:00:40
2015-04-02T22:00:40
18,856,112
0
1
null
null
null
null
UTF-8
Python
false
false
459
py
# -*- coding: utf-8 -*- from __future__ import absolute_import __title__ = 'minipnm' __version__ = '0.1.0' __author__ = 'PMEAL' __license__ = 'MIT' __copyright__ = 'Copyright 2014 PMEAL' from .network import * from .graphics import Scene from .misc import * from .utils import * from .binary import * from .algorithms i...
[ "roderic.day@gmail.com" ]
roderic.day@gmail.com
f4defd7c3886056da601cb49f0c8fb7fe70a0fc3
c4828ad9d88dab72c8957ea0e36b3a37751724ce
/apps/organization/migrations/0008_teacher_course_nums.py
55b3f4267d73074081416fc97e319f0078705c7e
[]
no_license
laosuaidami/MxOline
be7d5a991427110478095fd1ac744533dc3015e3
eeb5323cf7f76e1a28a05b3c508a67788cd4e0ce
refs/heads/master
2020-04-08T17:48:36.571259
2018-12-09T06:54:50
2018-12-09T06:54:50
159,581,772
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-11-26 11:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organization', '0007_teacher_image'), ] operations = [ migrations.AddField( ...
[ "hewei@penguinsinnovate.com" ]
hewei@penguinsinnovate.com
505cbf08fefd6c5cd0a65def56f233d67ca7365d
d854dbbd23e0d97b4a2d38445ae6694723eed15e
/models/Car.py
005bab4fa6927980d69eca854da9bdc3d6de4d60
[]
no_license
saradogg95/peppbilar
0d50d2d0839f9c9c2d159f54f9fd1e6e2bce8b3d
c4ccc4989944ca14282e46221c25c26720172ef4
refs/heads/master
2020-04-09T11:47:31.307866
2018-12-14T19:26:21
2018-12-14T19:26:21
160,323,824
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
class Car: def __init__(self, reg_num="0", brand="", model="", category="", category_price="", registration_date="", mileage="0"): self.__reg_num = reg_num.upper() self.__brand = brand.upper() self.__model = model.upper() self.__category = category.upper() ...
[ "sveppagreifinn@gmail.com" ]
sveppagreifinn@gmail.com
f8b141b97813164e7f7a1cca232e9e9d9ad3eede
f0a6ce24b9bb306d8f7686033b6fd85ea2ab1f51
/Day 1-Data Types/DataTypes.py
ab4df649f41f77ef764c5bbe6a5a4cf590e89c3b
[]
no_license
Aadi2001/HackerRank30DaysChallenge
d282d4da88009537d38a5f1bf1d7c692015be9a0
9fd8040f210bfe6b79909aa1e7cb7bb19c79cdc2
refs/heads/main
2023-06-20T14:38:10.627828
2021-07-22T06:16:51
2021-07-22T06:19:55
388,338,754
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
''' Task Complete the code in the editor below. The variables i, d, and s are already declared and initialized for you. You must: Declare 3 variables: one of type int, one of type double, and one of type String. Read 3 lines of input from stdin (according to the sequence given in the Input Format section below) and i...
[ "iamadi2001@gmail.com" ]
iamadi2001@gmail.com
f4a6ff61bd09f097e3f78db368e0296793dad68d
f1e9f557c5d724dcabbfa17903de93bb82767e35
/py_opencv_playrtsp.py
48961e3539f940982eb4128f70fc2a9f5ce1a858
[]
no_license
gregsheu/python
e5e9ff83dc0ce90541591e726c940e8a1f71a3d4
4a77295d58a522974ee85b201ab99cdbe410fd08
refs/heads/master
2023-08-18T08:30:15.611727
2023-08-08T06:55:44
2023-08-08T06:55:44
181,270,205
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
import cv2 import ffmpeg import time vcap = cv2.VideoCapture("rtsp://admin:admin12345@192.168.1.77:554/cam/realmonitor?channel=1&subtype=0") while(1): ret, frame = vcap.read() print(frame.tobytes()) cv2.imshow('channel2', frame) cv2.waitKey(1)
[ "greg@mymacpro.bluefinops.io" ]
greg@mymacpro.bluefinops.io
74f3adb28be71f66fce3007a2bdcc98592206f91
c7bcd58b8dbc09b3cbb25571a605074e161abe49
/document/ArticulationPoints/code/Tarjan.py
174f1755106b1b04915c3a3999503289ae3e0b02
[]
no_license
anvalenciao/ArticulationPoints
d3d20f346aa1a5b5df088c68f26a81599d90256c
97d9b824997d80a2bf899baed32dd1a9efd88612
refs/heads/master
2020-09-22T16:47:42.947767
2020-01-22T16:21:40
2020-01-22T16:21:40
225,276,882
0
0
null
null
null
null
UTF-8
Python
false
false
3,328
py
# Python program to find articulation points in an undirected graph from collections import defaultdict from var_dump import var_dump #This class represents an undirected graph #using adjacency list representation class Graph: def __init__(self,vertices): self.V= vertices #No. of vertices self.graph = de...
[ "andres.valencia@farmalisto.com.co" ]
andres.valencia@farmalisto.com.co
689e917e38aef10a089a80107e8c7f64eb0b43f6
3dfb40aaac2388ad1a58a680468c17396f70f9e4
/venv/Scripts/easy_install-3.7-script.py
ca1bdbcfeb723acaa7a0b97650bc512a77a340bf
[]
no_license
ShuherDa/Home-work-9
af6d21cec99d8e1cd15001715b7be05d997920c9
242f881ef1332fde3cd1ccf83bfefa68fa8a1ea1
refs/heads/master
2020-03-25T08:35:42.021791
2018-08-06T14:03:46
2018-08-06T14:03:46
143,622,018
0
0
null
null
null
null
ISO-8859-7
Python
false
false
454
py
#!E:\Ξασχενθε\Home-work-9\venv\Scripts\python.exe -x # 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?|\.exe)?$',...
[ "shuherda@gmail.com" ]
shuherda@gmail.com
9b5332d5c81fce935d7514fe4b9d76576e82731a
77ffb288797e48c4c74b18f69bfd7d5ea19b8929
/INF5620/project_2/project_2.py
0aa958f14c4f78690c4bc0aebf295a848f92a51b
[]
no_license
evenmn/master
59e555a3146997f6e4001e6b863eae69c6ea935a
cd35ea91514afc7557e4f634c0b1823c3c967324
refs/heads/master
2021-09-21T08:37:29.172587
2018-08-22T19:00:19
2018-08-22T19:00:19
105,077,958
0
0
null
null
null
null
UTF-8
Python
false
false
6,433
py
from fenics import * import numpy as np from plot_exact_solutions import * def solve_diffusion(I, f, alpha, rho, T, Nx, Ny, Nz, Nt, elements = 1, dimension = 3, Plot = False): ''' Exercise c This function solves the diffusion equation rho*(du/dt)=grad*(alpha*grad(u)) + f(u...
[ "evenmn@fys.uio.no" ]
evenmn@fys.uio.no
d8404e6a9aae98d70c84bba8bb0af8bf28a4f214
ba0b63d03855ff034d8ac50694680028591b7316
/webui/settings.py
7c37c3020d44be6af3af4e9474ec6703b65f5dc9
[]
no_license
stephenwilley/sge4vfx
3d266e53c37b6d2940b8981c51d81482579aa26b
8aaa4b92db5b2de7c41eaea8307d6ff1be7fc4ab
refs/heads/master
2021-01-09T09:39:03.004604
2012-07-25T09:39:03
2012-07-25T09:39:03
1,156,099
5
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
import logging import tornado import tornado.template import os from tornado.options import define, options import environment import logconfig # Make filepaths relative to settings. path = lambda root,*a: os.path.join(root, *a) ROOT = os.path.dirname(os.path.abspath(__file__)) define("port", default=8888, help="run...
[ "stephen.willey@primefocusworld.com" ]
stephen.willey@primefocusworld.com
35db68f4d801fb29393b71e9e2420fe4bcd46cad
cdd99ef2356d99fbf8c157af58dc3f49bdc9d096
/backend/accounts/admin.py
700c8ff4f7b8f53a832e630a054339b80b960500
[]
no_license
abdullah-mjawaz/HalepliOgluProject
c6e5f44be86db9bb98d8acced65096bf0f0c2473
520d14519d3195c0fe33e2b209956e7ce8142528
refs/heads/master
2023-08-11T17:17:53.781262
2019-12-18T15:55:43
2019-12-18T15:55:43
228,851,540
0
0
null
2023-07-07T23:03:57
2019-12-18T13:58:44
TypeScript
UTF-8
Python
false
false
195
py
from django.contrib import admin from .models import User from django.contrib.auth.models import Permission # Register your models here. admin.site.register(User) admin.site.register(Permission)
[ "abdullah.mjawaz@gmail.com" ]
abdullah.mjawaz@gmail.com
f06068900ed58d8de660a790e7ee15db796b234a
09d4e48c8932bae69302e7d63ac2905ea3407d7a
/JERSF_Analysis/JER/wide_eta_binning/steer.py
3864338dae022a1c363d9dcd5c80acdbd22fa9f7
[]
no_license
anmalara/DiJetJERC
1060f7f6bdd52a9b3bcfdda24fe44d245a4b6e59
2d352ef03d4bbfe5ee4144741bb108164829eaab
refs/heads/master
2022-10-24T13:29:49.541585
2022-09-25T19:47:38
2022-09-25T19:47:38
193,882,709
0
0
null
2019-06-26T10:26:14
2019-06-26T10:26:14
null
UTF-8
Python
false
false
9,272
py
#!/usr/bin/env python import sys import os import time import numpy as np sys.path.append(os.environ["CMSSW_BASE"]+"/src/UHH2/DiJetJERC/conf/") from utils import * def getLabel(sample, year): if year=="2022": if sample == "C": LABEL_LUMI_INV_FB = "[MC 124X] Run2022C 4.48 fb^{-1}" elif ...
[ "andrea.malara@cern.ch" ]
andrea.malara@cern.ch
2daa7490a61cc2719677837eea96644bd3d7879a
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-vod/aliyunsdkvod/request/v20170321/ListDynamicImageRequest.py
ebe94cb925af50eeef533e6e56955b712cd79567
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,447
py
# 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 # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
279e2a94ca6dac62b4adabb84fb8c787243a4149
966a162e2aecb382b0c9599630dc36582f926507
/code/fix_RepeatMasker_breaks.py
11b223fa74009fc230296f332d657bd4c2d961e4
[ "MIT" ]
permissive
knowah/vm-retrotransposons
b64124aaef0344ea873577a8d0111e31341d99c6
3c1fc49efcba34874014ee89da29f2aeb11e49ae
refs/heads/master
2023-01-01T12:23:53.312180
2020-10-22T11:01:16
2020-10-22T11:01:16
306,093,444
1
1
null
null
null
null
UTF-8
Python
false
false
4,879
py
#!/usr/bin/env python3 import argparse import sys import gzip import contextlib RM_FIELDS = ['chrom', 'start', 'end', 'strand', 'repName', 'repClass', 'repFamily', 'repStart', 'repEnd', 'element_ID'] class RM_Entry(object): __slots__ = RM_FIELDS def __str__(self): return "\t".join([str(self.__getattri...
[ "njk40@cam.ac.uk" ]
njk40@cam.ac.uk
c78e0f7af5816b19efcea2334f9803e925c03c0c
d25eebb25595c25b73fdc64447f7cf5998204b0d
/gtkApi/ReportEditor.py
ca6d3ae8746a0c2d9fb7a526f2f18423739f3bc5
[]
no_license
BackupTheBerlios/baseui
a3867c0cc4aa30cf2a7b0dcaf9dbeec68dc5ef0b
a8296aa42f0de42c18f7dfb5d20966bad695709b
refs/heads/master
2021-01-15T22:28:52.114731
2012-12-05T16:31:03
2012-12-05T16:31:03
39,894,612
1
1
null
null
null
null
UTF-8
Python
false
false
1,685
py
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- #=============================================================================== # ReportEditor module. # by Mark Muzenhardt, published under LGPL-License. #=============================================================================== import pygtk pygtk.re...
[ "devnull@localhost" ]
devnull@localhost
56d09969c8320eebcb40434cfaf414b04eb22e28
8f6cf9b74db999a136c4b758d229a992064371e6
/migrations/versions/8c43c5ea96ea_followers.py
8055f7b8368148df6c6331e4da479927e0134534
[]
no_license
hkwiseman/Microblog
0aadfb48061a31402d1459e2a76a35d84e5d24a2
13f149d9cbd8bb6919e9fdef51c39ddb59a49c62
refs/heads/master
2022-11-20T17:45:41.716107
2020-07-23T19:37:53
2020-07-23T19:37:53
275,980,632
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
"""followers Revision ID: 8c43c5ea96ea Revises: 71948c2263cd Create Date: 2020-07-14 16:13:48.173869 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8c43c5ea96ea' down_revision = '71948c2263cd' branch_labels = None depends_on = None def upgrade(): # ### ...
[ "kwiseman@highpoint.edu" ]
kwiseman@highpoint.edu
a19902b87214a992563e457f4968c347081091e4
f77bf89a96ffec6b86900bbe5ce5257746946085
/lab9/1.4.sqs.make.queues.py
21729f28c675f2c6922acb9e5a582f5918a2d97b
[]
no_license
wwdillingham/aws_extension_course
eee568937bb1554e10cbb7a4a76a8190bc5d33bb
977020f0c378812eae0fe486fafacb165c2042d7
refs/heads/master
2021-01-18T19:52:54.977563
2017-05-12T13:18:11
2017-05-12T13:18:11
86,919,103
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
import boto3 client = boto3.client('sqs') #create the queues create_collection_queue_response = client.create_queue( QueueName='CreditCollectionQueue', ) create_notification_queue_response = client.create_queue( QueueName='UserNotificationQueue', ) queues = client.list_queues() print(queues)
[ "wes_dillingham@harvard.edu" ]
wes_dillingham@harvard.edu
553f276cba612be3fbf0e81adef87aa3d04097f5
efec7d7cc21e5653bb9031b9b5611f825bd7cd46
/kaypruning/data/base.py
fcf7d7343cf8f4ae923c51094620f057d5d44dfc
[ "MIT" ]
permissive
AmrMKayid/KayPruning
fbe864e99d6e3ab1d4c41f7d25cb34c2d2b417c0
63439abab57065661b58faba92246e539cf10870
refs/heads/master
2022-12-18T08:25:16.813479
2020-03-14T13:32:40
2020-03-14T13:32:40
211,220,243
2
0
MIT
2022-12-08T06:13:37
2019-09-27T02:30:23
Jupyter Notebook
UTF-8
Python
false
false
1,901
py
import tensorflow as tf import tensorflow_datasets as tfds from kaypruning.configs import * from kaypruning.utils import describe, glogger class DataBunch: r""" DataBunch Class is used to load the dataset, pre-processing and dividing the data to train and test data which will be used inside the train...
[ "amrkayid2027@gmail.com" ]
amrkayid2027@gmail.com
b10a04128fcc917c4304d3f58318355dd33ade8e
937e2a265e42d21a915f9aedf1b4b5e4aa28fb06
/apps/mainApp/models.py
8db7e25a395d3afb7fe02558014f58e7a79b19ab
[]
no_license
Briggs-Py/beltExam
5f900fbef35f8f442400a19d724082aac37467d3
0b7376262266d7397137d60568611f5e0662ef24
refs/heads/master
2021-01-23T03:33:29.166442
2017-03-24T20:37:27
2017-03-24T20:37:27
86,088,664
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
from __future__ import unicode_literals from ..loginAndReg.models import User from django.db import models class Wishlist(models.Model): name = models.CharField(max_length=50) users = models.ManyToManyField(User, related_name="wishes") creator = models.ForeignKey(User, related_name="created_wishes") cr...
[ "briggs.mcknight@gmail.com" ]
briggs.mcknight@gmail.com
519e8b05797206f9dbf3195e0d67c9a1df898f84
806a123fc1e26a9b0509de380f9dab1909f180ac
/aser/extract/raw_parser.py
a64f5147d3ee2e8561ca4eafd7c47e9b10fff33d
[ "MIT" ]
permissive
anshiquanshu66/CSKB-Population
df621b46bde97bf9794fa9c887f91715f591823e
c553bf769da661ff28f5c1cd35e1a683b7da67ad
refs/heads/main
2023-08-13T22:06:05.395192
2021-10-19T05:43:29
2021-10-19T05:43:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,715
py
import os import random import math import errno import argparse from typing import List from multiprocessing import Pool from shutil import copyfile from tqdm import tqdm try: import ujson as json except: import json from aser.extract.utils import get_corenlp_client, parse_sentense_with_stanford from aser.ex...
[ "785850602@qq.com" ]
785850602@qq.com
462a7046e8a050379388b4c55914328f5e45deca
a34df0359b8aa5ef03c010fe91229e4cbb765d1f
/Step X/twilio/rest/studio/v1/flow/engagement/__init__.py
fe27c9983cdfb3ea2a9b071aeb5806fec9df053a
[ "Unlicense" ]
permissive
wrestlerdude/QuackathonRubeGoldberg2019
f881d6c131ca8349946d01be29ff4ad272e11159
fdaafb79add30a3de075fa0ab9c7c88900081f65
refs/heads/master
2020-04-20T11:52:01.937292
2019-02-04T18:10:54
2019-02-04T18:10:54
168,828,471
1
0
Unlicense
2019-02-02T21:50:33
2019-02-02T12:16:32
PHP
UTF-8
Python
false
false
16,098
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import serialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import ...
[ "raishallan2@gmail.com" ]
raishallan2@gmail.com
456514a59068288798944a3a97f656cb83dd4767
af166a14d718fc52b0b4fc51fd07bd00e30be328
/ncaa_basketball/views.py
93900c9c18ad8dfa4f00ec6782d8e984420ff417
[]
no_license
carlosrivera22/basketball-django-analysis
f1bd5f65476e9b0851c4603c85c8e523b6dd383c
51eb8e7042e58c5edb118a4d7b77678fb245898b
refs/heads/master
2022-12-18T10:43:56.547394
2020-09-07T15:52:55
2020-09-07T15:52:55
293,566,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,857
py
from django.shortcuts import render from .models import Team import pandas as pd import seaborn as sns from .utils import get_image,get_correlation_plot import matplotlib.pyplot as plt # Create your views here. def winning_correlation_view(request): graph = None error_message = None df = None corr = No...
[ "carlos.rivera22@upr.edu" ]
carlos.rivera22@upr.edu
54dc0542608fb96fd12bb48b1d4e91e839992097
be47bcdeca864634dfc3576b05d8cd2cc4e57379
/utils.py
4eaf24a995ecd12ee8b4ffee233c7d3e0ae2b285
[ "MIT" ]
permissive
4eyes4u/BouncingBall
955de357904dc9de4c48b7b6c5cbb7c025a5f3c4
b641227d332e3b2c6080b608344880d9cad9c985
refs/heads/master
2022-07-17T02:15:10.435841
2019-05-28T14:02:23
2019-05-28T14:02:23
188,619,804
0
0
MIT
2022-06-21T22:01:06
2019-05-25T23:00:49
Jupyter Notebook
UTF-8
Python
false
false
965
py
from matplotlib import pyplot as plt def singleton_plot(ball, idx): f = plt.figure(num='Singleton') # xy plot ax_xy = f.add_subplot(2, 2, 1) plt.xlabel('t [s]') plt.ylabel('x, y [m]') plt.title('r / t') ball.plot_xy(ax_xy, idx) plt.legend() # E plot ax_E = f.add_su...
[ "noreply@github.com" ]
4eyes4u.noreply@github.com
f5b5d16702bc9a55d4736c220d1bcce79944a381
b20f125ce198fd26b9048152592a6efd5de8aee7
/fix_coverage.py
60275ffdbfeb12880211645717d1a555be404c2b
[ "MIT" ]
permissive
greninger-lab/covid_swift_pipeline
dc39630ea21fe0f421f2d997f63872506350b7b5
ad02013851e154fc8034817382ef6d25d9c921b7
refs/heads/master
2023-06-26T02:20:51.425404
2023-04-20T02:00:26
2023-06-08T16:30:10
286,556,061
5
6
MIT
2022-08-13T20:55:04
2020-08-10T18:58:02
Nextflow
UTF-8
Python
false
false
937
py
import os import sys import argparse if __name__ == '__main__': parser = argparse.ArgumentParser(description='') parser.add_argument('sample_name', help='sample name') args = parser.parse_args() # Grabs name of file. summmary_csv = str(args.sample_name) + "_summary.csv" summary_csv_fixed = open(str(args.sample_...
[ "michellejadelin@gmail.com" ]
michellejadelin@gmail.com
97dc0dee0ef8ce0ada8c9102b035a98d5717adee
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/account_voucher/__manifest__.py
34480401b13ad5043af7067acd03109289d910d1
[]
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,459
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. { 'name' : 'Sale & Purchase Vouchers', 'version' : '1.0', 'summary': 'Manage your debts and credits thanks to simple sale/purchase receipts', 'description': """ TODO old description: Invoicing & Paymen...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
b56d4fe821cd8462bbda70acd89752b0fbce8a74
7c91f92d2d82e0d9fd85af09f9d18226c747f7fa
/rhoci/forms/test.py
bb9d6fe3cf671e23e1b037366251aa9886986d9a
[ "Apache-2.0" ]
permissive
bregman-arie/rhoci
5488afe8d884cb72a3475eef68ebc54944b45453
bae1f1d737a12ede50d263a6496faf2b698515b5
refs/heads/master
2023-02-25T10:53:01.642377
2022-12-10T14:37:40
2022-12-10T14:37:40
90,493,854
12
8
Apache-2.0
2023-02-16T07:11:11
2017-05-06T22:06:20
CSS
UTF-8
Python
false
false
1,117
py
# Copyright 2019 Arie Bregman # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "abregman@redhat.com" ]
abregman@redhat.com
0fa2b8c8ec819233bc34543f46cd4fd13fe8509b
7d75018c3d8e2ac85ea0f5bbaf52ce5eae9761ca
/project/gohelp/settings.py
3bfa30ab59e9abf68240589b9a17501126484713
[]
no_license
AVS18/sdp-sem5
fff484331d9b588558b928e557a974f05652adcb
238dcc7dfe50dda9678383590a43b23bbcd99553
refs/heads/main
2023-01-14T01:01:18.297711
2020-11-14T13:43:55
2020-11-14T13:43:55
288,098,284
1
0
null
null
null
null
UTF-8
Python
false
false
3,850
py
""" Django settings for gohelp 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 pathlib ...
[ "avsadityavardhan18bcs@iiitkottayam.ac.in" ]
avsadityavardhan18bcs@iiitkottayam.ac.in
da538ba6c5ed25378502cecfd4ab8a614450ca6f
702f145cd55e40dd4d1bc9297100e1ba8f940847
/ex12.py
2e7fe5f3f9e5de9b2204fd37db7d9579cfc065f1
[]
no_license
demianvle/PythonExercises
531642a85685779f5f47e3816278d4223d98ee20
dfa04e8b8e237d5460fcf6fd2972cca9d66bf3c4
refs/heads/master
2021-07-17T08:52:22.204963
2018-04-27T04:07:13
2018-04-27T04:07:13
96,750,071
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
import sys ################################################## #http://www.practicepython.org/exercise/2014/04/25/12-list-ends.html """Write a program that takes a list of numbers (for example, a = [5, 10, 15, 20, 25]) and makes a new list of only the first and last elements of the given list. For practice, write this...
[ "demianvle@protonmail.com" ]
demianvle@protonmail.com
82d2e4dc48f033a7b3fd55ba860b7794abfed464
27262c99a938b100ad1dec3fde9bc0fdcf22e23c
/Day5/Lecture/day05_lecture.py
ef6eadd0ba997f336a14dfe5a29740448b50a92e
[]
no_license
weiyedeng/python_summer2021
7a8ac04554f4580438b9bdd5d646803f24f6b186
55d9c3e743d043b44d3495c37f9e2dc06dd49528
refs/heads/main
2023-07-17T10:31:09.360005
2021-09-03T02:15:53
2021-09-03T02:15:53
395,026,184
0
0
null
2021-08-11T14:57:41
2021-08-11T14:57:40
null
UTF-8
Python
false
false
13,149
py
# Python - 2021 Summer Course # Day 5 # Topic: Regular Expressions and Naive Bayes Classifier # Instructor: Ben Noble # Former Instructors: Patrick Cunha Silva, Ryden Buttler, # Erin Rossiter, Michele Torres # David Carlson, and Betul Demirkaya # First Instructor: Matt Dickenson # Set Director...
[ "bennoble@Bens-MBP.attlocal.net" ]
bennoble@Bens-MBP.attlocal.net
cf41492dbc05f545c6e1696e2f82b7b9ed0602ca
85441ad60b397b6dc076a2d19a59c7ad97c6b361
/python/mpu9250.py
3bdf3052f9349a07483c1d075dd6bf3a040c1631
[]
no_license
dangernme/Rover
cde06cfd45cf66cb6ef372b6cda6ba39aebbb89b
89f3b03e736c41c570c669b44110017eb16fa937
refs/heads/master
2021-04-09T10:59:18.292102
2018-12-27T13:48:43
2018-12-27T13:48:43
125,483,848
0
0
null
null
null
null
UTF-8
Python
false
false
2,827
py
import smbus import time # Device addresses mpu_adr = 0x68 ak8963_adr = 0x0c # Mpu9250 register addresses pwr_mgmt_1 = 0x6b # To wake up the 6050 module int_pin_cfg = 0x37 # To enable the ak8963 module # AK8963 register addresses hxl = 0x03 # Magnetometer x axis low byte hyl = 0x05 # Magnetometer y axi...
[ "netking1984@gmx.de" ]
netking1984@gmx.de
0054d4a83babd6133180964e7028d6435c456eb9
402d32031b7a2c24ad7db105f413cf4a1c190210
/Program Control Flow/ifelse_learyear.py
24cd8959bf35334d764648aea95b4fad1d7de988
[]
no_license
Ganes21/pythontAutomation
367302c0e498b1dc3f8d2a9c1c56e9406029a4de
779e554f08644e13215ad8bbabe407d7010914a6
refs/heads/master
2020-04-08T22:45:44.536668
2019-03-14T07:22:57
2019-03-14T07:22:57
159,799,385
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
year=int(input("enter the year")) if (year%4)==0: if(year%100)==0: if(year%400)==0: print("{0} is leap year".format(year)) else: print("{0} is not lear year".format(year)) else: print("{0} is leap year".format(year)) else: print("{0} is not lear year".format(y...
[ "uday.mallampalli@gmail.com" ]
uday.mallampalli@gmail.com
cb6446e424cac36c9370913ccb9d7b99f6b5afde
0c9211cf8422fa5345da54214ccce70007d90341
/Exercise-2/sensor_stick/scripts/template.py
93d79265416dcf036d713e7230ef07fc0b6c6518
[]
no_license
bennybitcoin/RoboND-Perception-Exercises
dd9eb917371756f422b69247be6531b445d9bd01
c60b54ccdeeeab300ea53cda00840e65dd68b2d8
refs/heads/master
2021-08-16T15:39:39.339573
2017-11-20T03:36:02
2017-11-20T03:36:02
111,357,459
0
0
null
2017-11-20T03:30:51
2017-11-20T03:30:51
null
UTF-8
Python
false
false
774
py
#!/usr/bin/env python # Import modules from pcl_helper import * # TODO: Define functions as required # Callback function for your Point Cloud Subscriber def pcl_callback(pcl_msg): # TODO: Convert ROS msg to PCL data # TODO: Voxel Grid Downsampling # TODO: PassThrough Filter # TODO: RANSAC Plane ...
[ "hvpandya@ncsu.edu" ]
hvpandya@ncsu.edu
4443aa6863038875ca5ad3372f122475c4993118
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2015_04_01/aio/_monitor_management_client.py
5640ee566505865cb91ec42008e9408f5e7a74d8
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
5,526
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
225cb8122ed2d03426f8094145ffb23f26efd779
bfba78fdb93d57b6c8d23390ab6a55918201bc34
/CDagency/spiders/cd11_zongjiaoju.py
fb268d4cd03ecdcb935388faf3b672a041b7e55a
[]
no_license
gongdx/CDagency
61ce0359f3b0e735793fff9332106f5e30cc1509
d2d66206d799afbfe68cafcc9bd7cd6d9533685d
refs/heads/master
2021-03-07T14:49:41.810523
2020-03-26T14:24:28
2020-03-26T14:24:28
246,273,589
0
0
null
null
null
null
UTF-8
Python
false
false
3,660
py
# -*- coding: utf-8 -*- #成都市民族宗教事务局 import scrapy from CDagency.items import * import re from .browse_times import getBrowseTimes class CdZongjiaojuSpider(scrapy.Spider): name = 'CD11zongjiaoju' allowed_domains = ['mzzj.chengdu.gov.cn'] start_urls = ['http://mzzj.chengdu.gov.cn/search/s?q=1&qt=%E4%B8%8D%E...
[ "1097456719@qq.com" ]
1097456719@qq.com
712dba93a2621c8f100b375020d6fe1a26b33587
155cfef4bb35d20bc574f63f3443039bfcc1ab7e
/srcs/mahjong/admin/admin/admin.py
dae8ebe48a3a7b3d835c15ac939a653d4622e62b
[]
no_license
rolllyroman/fish_web
3116481a6a16484283f428eb7c98ecea7cee99d4
eb5a05ea3d56c7d9f599009e8ab6f4cb322e9023
refs/heads/master
2020-03-28T01:08:57.346228
2018-09-06T03:34:05
2018-09-06T03:34:05
147,480,922
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
#-*- coding:utf-8 -*- #!/usr/bin/python """ Author:$Author$ Date:$Date$ Revision:$Revision$ Description: 后台APP应用入口 """ from bottle import Bottle from common.install_plugin import install_redis_plugin,install_session_plugin admin_app = Bottle() install_redis_plugin(admin_app) install_session_plugin(admin_app) i...
[ "1983654762@qq.com" ]
1983654762@qq.com
c40becd033d3ea8a15e2c42b16e0245831010393
f173b23a2ac3b05c35185e6071ea7468318be83d
/benchmarks/vote/pqueue/pqueue.py
a21e0e9f5669ecc3a6b03f014b6c78c34a76e61d
[ "Apache-2.0" ]
permissive
danieldzahka/cyclone
d6e550a70458c6d2ce47277ec9daed6577898510
45032a03506c918b2de4fd3846d711d47f56bbf0
refs/heads/master
2022-12-20T21:56:31.093423
2020-10-04T05:20:39
2020-10-04T05:20:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,198
py
def launch_cmds_startup(): print("Configuring for vote application") def launch_cmds_server_gen(f, q, r, m, quorums, replicas, clients, ports): passwd = 'dummy' if os.environ.has_key('CYCLONE_PASS'): passwd=os.environ.get('CYCLONE_PASS') cmd='echo ' + passwd + ' | sudo -S ' cmd= cmd + 'rm ...
[ "pradeepfn@gmail.com" ]
pradeepfn@gmail.com
052c039c8740f46756fb0891f065a5816eba47a9
df0e5307827cf0f3fb4099714ce6f848afc462ca
/main_formal.py
2903fec404314849ebaa844b42702d1ec0b51335
[ "BSD-3-Clause" ]
permissive
prtx/RANE
c80533c744e46df49798a17c8ad4469c78aedeb6
898bb7da2edd2a8b49257b4f0750d176a8b37f04
refs/heads/master
2023-04-28T20:33:35.265257
2021-05-21T19:49:00
2021-05-21T19:49:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
from formal.seq_attack_formal import main from os import path class Config: module_paths = ['benchmarks/verilog/original/lat.v', 'benchmarks/verilog/original/dff.v'] enable_async = False cycsat = False depth = 20 step = 5 # solver = 'jaspergold' solver = 'symbiyosys' ...
[ "shervinrs@gmail.com" ]
shervinrs@gmail.com
d34c789dde64b5b39999009db01b1063b4be7c34
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4458015.3.spec
e9ca614706903a6b3dabcb4a519425f93b2f6d24
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,311
spec
{ "id": "mgm4458015.3", "metadata": { "mgm4458015.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
a9289a1f6b4ed942a127823b3c56eb3e4087cf50
83e372779472742eb5eaa4f4484a51e701b1c684
/.emacs.d/backups/!home!rasorasi!p!q25.py~
0f15c76a3d5623b7b3416e19f48c9bed59f8b187
[]
no_license
rasorasi/dotfiles
168fd1ae40c0258f53381e0932606dbd7dcd10ec
ce89d06fe3d4d2bdbbc8946f42264f7c725ff77d
refs/heads/master
2020-05-17T08:39:42.090089
2015-01-21T06:35:36
2015-01-21T06:35:36
16,072,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
#!/usr/bin/python # -*- coding: utf-8 -*- import sys from PyQt4 import QtGui, QtCore class Button(QtGui.QPushButton): def __init__(self, title, parent): super(Button, self).__init__(title, parent) def mouseMoveEvent(self, e): if e.buttons() != QtCore.Qt.RightButton: return ...
[ "raso_katoh@yahoo.co.jp" ]
raso_katoh@yahoo.co.jp
47231b4f6eff1ab3742c9509b45b9bc88decca39
ed9c561a4b3882010366cd5a77f4f0baabfc077a
/dummylearning/plots/classification.py
5a7f25f7d6890b836dac2fe62df124525863a531
[ "MIT" ]
permissive
JuantonioMS/dummylearning
031ad962e13961d72864554298463ed9e210b475
1780a7ba0f38633bcbfbacd4f35a31cce4c94a87
refs/heads/main
2023-03-08T03:38:32.067454
2021-02-23T16:07:08
2021-02-23T16:07:08
313,150,218
1
0
null
null
null
null
UTF-8
Python
false
false
23,390
py
import sys import matplotlib.pyplot as plt import pandas as pd import numpy as np sys.path.append("../utilities/") from dummylearning.utilities.info import Info from dummylearning.analysis.clasification import Analysis class Plots(Info): def __init__(self, model, verbose = True): super().__init__(ve...
[ "b32masaj@gmail.com" ]
b32masaj@gmail.com
6e84b3bdb7cc737f67e5fd03795a6e4b8bac610f
c485671b5af21327d41458ea3d002682d79d9a9b
/src/basic/process_ubuntu.py
aa86bca2177b1ed250a63abb3f9212e45f902e87
[ "MIT" ]
permissive
dowhilefalse/AdversarialDialogue
d5abef3057d73c60c18a449687d2c27c6ba61145
de406d3b624f9500e79bef7c5bc10e24376fefa8
refs/heads/master
2021-04-04T01:56:22.031175
2019-02-06T03:43:43
2019-02-06T03:43:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,020
py
# coding: utf-8 # In[ ]: # coding: utf-8 # In[25]: """ Todo!! 1. " ".join each utterance 2. Serve turns in order within one dialogue (like in LM) 3. Never filter out examples with long sequence, otherwise turn progression will be lost. 4. Remember to shuffle all the dialogues first 5. When training, no need...
[ "tn66@duke.edu" ]
tn66@duke.edu
0565aa6f020b9a0cec1aadb20a7b89e216fe928b
f0d0ea29240c53b6ce1c4b06095b528ece02fdd7
/core/championship.py
d714983cb55b99879f051866efec7695e0065120
[]
no_license
zhifuliu/dianjing
477529ccd6159329e1bc121aeb2ff328ee499f4a
7b3f6d58f5bc0738651d8d72c9a24df4ade0ed36
refs/heads/master
2020-03-21T09:10:28.343268
2017-03-24T03:06:24
2017-03-24T03:06:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,317
py
# -*- coding: utf-8 -*- """ Author: Wang Chao <yueyoum@gmail.com> Filename: championship Date Created: 2016-12-09 15:13 Description: """ import random import arrow import itertools import requests from django.conf import settings from dianjing.exception import GameException from core.mongo import ( ...
[ "yueyoum@gmail.com" ]
yueyoum@gmail.com
911744a0becf71a9d8142dc9e796c3949f6243a8
26c0f80688f75a188097a232c229a73c8e7cc6ed
/user/migrations/0016_auto_20210511_1700.py
c17235302b993169c5ae1b568f59d2271a6b2144
[]
no_license
creep1g/DjangoWebstore
8207d7ea53c478fb7e5745e1c6ae6699102b5df5
bd27340b86bf2289b8c14216462d932ccdf4986d
refs/heads/main
2023-05-06T09:50:04.846489
2021-05-28T14:40:40
2021-05-28T14:40:40
371,730,158
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# Generated by Django 3.2 on 2021-05-11 17:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('user', '0015_auto_20210511_1655'), ] operations = [ migrations.AlterField( model_name='profile', ...
[ "thorgilshjalmarsson@gmail.com" ]
thorgilshjalmarsson@gmail.com
ea8979d74e418a117695e41be3c993a3908baf15
1965343babd76b97b1ff8206991f3270baa33192
/pos_session_pay_invoice_extend/wizard/cash_invoice_in.py
6aa275837dde17096380c8591c5a3a3dcf2427cd
[]
no_license
leangjia/odoo-addons-1
62774d842561d5ce89a8d3628c29e41135a74415
12082e49ca6f23540d501e4dfa9ca73da28a117a
refs/heads/10.0
2020-04-15T06:23:07.488597
2019-01-04T12:43:26
2019-01-04T12:43:26
164,458,983
0
1
null
2019-01-07T16:20:20
2019-01-07T16:20:19
null
UTF-8
Python
false
false
2,519
py
# -*- encoding: utf-8 -*- # Copyright 2018 Sistemas de Datos - Rodrigo Colombo Vlaeminch <rcolombo@sdatos.es> # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0 from odoo import api, models, _, fields from odoo.exceptions import UserError class CashInvoiceIn(models.TransientModel): _inherit = 'cash...
[ "rodrigo.covl@gmail.com" ]
rodrigo.covl@gmail.com
31c63484ece90ef1a58d4d8a1c917875e71e42ba
0729bc2e2236fadb8fb2eac8b30534d939a45b2e
/DistAnnot/Annot/tests.py
e0c741e72f672231d4fd71b9ee91a723a70a444e
[]
no_license
JudoWill/pyMutF
8ecdc24fbb2efe2a0a721aab164a2b060de11832
aaf41ab41eb897c10a721c62913bb49c79f2cefc
refs/heads/master
2021-01-16T20:34:06.705933
2010-10-11T16:55:08
2010-10-11T16:55:08
710,208
8
1
null
null
null
null
UTF-8
Python
false
false
535
py
""" This file demonstrates two different styles of tests (one doctest and one unittest). These will both pass when you run "manage.py test". Replace these with more appropriate tests for your application. """ from django.test import TestCase from django.core.urlresolvers import reverse from DistAnnot.Interaction.mode...
[ "judowill@gmail.com" ]
judowill@gmail.com
2edffd4600267c56a246b76b1f853487487f3432
e95ef5e61682a947e82d69842f75f4cf002d6203
/lib/networks/net_labeled_fpn_fixed.py
e0be0c709bf3c684c0fc9f5b2734cb1a530c1509
[ "MIT" ]
permissive
daweim0/Just-some-image-features
4aaa4f6674ecb7c925b98d94cb5643de9e44bdcc
23b2bc80f5acf3940a718dc462fb45625b61a853
refs/heads/master
2021-07-18T22:36:27.218646
2017-10-26T02:15:04
2017-10-26T02:15:04
100,301,844
1
0
null
null
null
null
UTF-8
Python
false
false
15,371
py
import tensorflow as tf from networks.network import Network from fcn.config import cfg """ A network that produces dense features. This particular network was heavily inspired by 'Feature Pyramid Networks for Object Detection' and adhere's more closely to the paper than net_labeled_fpn.py """ class custom_network...
[ "daweim0@gmail.com" ]
daweim0@gmail.com
ba0f8b5d3e6818f96a7f42132ea32967e054c957
2f330fc050de11676ab46b963b7878882e9b6614
/memsource_cli/models/create_analyse_list_async_dto.py
0679fd3b864b9449bd836de3615a6545e4f4fed0
[ "Apache-2.0" ]
permissive
zerodayz/memsource-cli-client
609f48c18a2b6daaa639d4cb8a61da43763b5143
c2574f1467539a49e6637c874e88d75c7ef789b3
refs/heads/master
2020-08-01T12:43:06.497982
2019-09-30T11:14:13
2019-09-30T11:14:13
210,999,654
1
0
null
null
null
null
UTF-8
Python
false
false
22,872
py
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
[ "cerninr@gmail.com" ]
cerninr@gmail.com
0dc0c5dfb1070b7e877aca16428197e57351ccdc
41db99b01c461d5d6acfa444eccb7d9cd2d92283
/day_9/day9_pt1.py
cdf2ee5fbf8803330face30ebb406488dbb5dc25
[ "MIT" ]
permissive
allisoncstafford/advent_of_code
412867210fe77207fa3c9ec00c239cb9cbd40134
a0f19a7b23e3112698944512efa2d23794c02a82
refs/heads/master
2022-07-02T00:47:12.283366
2020-05-12T01:05:45
2020-05-12T01:05:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
import sys sys.path.append('/Users/allisonhonold/ds0805/advent_of_code') from day_5.day5_pt2 import get_input from intcode9 import IntcodeComp def main(): # read input puzzle_input = get_input('day9_input.txt') # create intcode computer comp = IntcodeComp(puzzle_input, 1) # run intcode computer...
[ "allisonhonold@gmail.com" ]
allisonhonold@gmail.com
e95d2a546a58bdc936ed45628786ab9b51567146
f0a1d5be3b92427757b8520cc78556e6a510afba
/layers/convolution.py
e02b79f55a8fb1537b002b1e6a08c5e13c3e783b
[]
no_license
yungu-imr/keita
8bbabc91e000d164f688f44f4f45fee580c44c1b
3f027445748eadd06111f3d385cecb1b8e8e5cf4
refs/heads/master
2023-08-17T23:12:52.817848
2017-08-19T17:02:49
2017-08-19T17:02:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
""" Layers to do with convolution. """ from torch import nn import torch.nn.functional as F class SeparableConv2d(nn.Module): """ A depth-wise convolution followed by a point-wise convolution. WARNING: Very slow! Unoptimized for PyTorch. """ def __init__(self, in_channels, out_channels, stride):...
[ "kiwasaki@connect.ust.hk" ]
kiwasaki@connect.ust.hk
a64c441f9fb98b7b2b1f876c18a4cdbd8043064c
e5d7cfc7b7212090d72e0040f30ae5ac89c34550
/ui/ui_camera.py
4344e31c17129ec8c9b4520a9138ec2510fe4e47
[]
no_license
eagleqq/MyCV
bfba91af1a4fe7b7f29a7ab7bf3274b6d13b6216
298402fdd5f564f98fd80fb75875b570d5ae247d
refs/heads/master
2020-12-30T04:24:43.923637
2020-03-11T05:27:08
2020-03-11T05:27:08
238,859,165
3
0
null
null
null
null
UTF-8
Python
false
false
13,664
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_camera.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Main...
[ "2260216684@qq.com" ]
2260216684@qq.com