blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
b28f8c53500179cf517b82a6b50fec1e424e9f82
70b51830c01c25c363b01a8ea18ef0cb177deb26
/Check_Armstrong.py
6b9fd076e974e1eadc8436762dabfd1cca74746c
[]
no_license
sy850811/PythonBasics
2c3da546c91bc617773bd0b2b6f63c40e1d7ff44
a953e45cbb9e19cfceb50925d1774899d41ca548
refs/heads/main
2023-07-13T18:17:38.536597
2021-08-27T19:35:51
2021-08-27T19:35:51
400,584,426
1
0
null
null
null
null
UTF-8
Python
false
false
310
py
n = int(input()) def arm(n,m): armNo = 0 while n!=0: t = n%10 armNo+=t**m n = n//10 return armNo def countDigit(n): count = 0 while n!=0: n=n//10 count+=1 return count if(n == arm(n,countDigit(n))): print("true") else: print("false")
[ "noreply@github.com" ]
noreply@github.com
1287031215a5c2e62234091f3722019c1952123e
3bcc247a2bc1e0720f0344c96f17aa50d4bcdf2d
/第三阶段笔记/x.py
9a4ea86bafae287fe00bb41414f17d9df388718a
[]
no_license
qianpeng-shen/Study_notes
6f77f21a53266476c3c81c9cf4762b2efbf821fa
28fb9a1434899efc2d817ae47e94c31e40723d9c
refs/heads/master
2021-08-16T19:12:57.926127
2021-07-06T03:22:05
2021-07-06T03:22:05
181,856,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import time HTML_ROOT_DIR="./static" PYTHON_DIR="./wsgiPy" class Application(object): def __init__(self,urls): self.urls=urls def __call__(self,env,set_headers): path=env.get('PARH_INFO','/') if path.startswith('static'): file_name=path[7:] try: fd...
[ "shenqianpeng@chengfayun.com" ]
shenqianpeng@chengfayun.com
c0409e2f1ebcd0362d83e57e190ccb744b8b61a9
7e736381f5cc651afe1df8ef21a54c9a0a42e8a4
/svjconesizestudy/logger.py
fdb3d79624d1ceaa30d1d8a7df59c5bebc4b9280
[ "BSD-3-Clause" ]
permissive
tklijnsma/svjconesizestudy
dd5e94bf847244e974f80bba277c0d3e2a44b87d
5cd54d574b9bd086f7f033ed4f3fa365d2141165
refs/heads/master
2021-05-24T11:18:59.260313
2020-04-06T15:15:04
2020-04-06T15:15:04
253,535,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
import logging COLORS = { 'yellow' : '\033[33m', 'red' : '\033[31m', } RESET = '\033[0m' def colored(text, color=None): if not color is None: text = COLORS[color] + text + RESET return text def setup_logger(name='svjcs', fmt=None): if name in logging.Logger.manager.loggerDict: ...
[ "klijnsma@fnal.gov" ]
klijnsma@fnal.gov
f5754099ff2905c976d9a0af1a23d58ea7433e21
84072a7c11babfdc33e7496647eb73fb46f3313b
/09_numpy_intro.py
7d6547a8d2c13d6016d9518fd6bb26c5dcd047a7
[]
no_license
jeffreyleeon/python-tutorials
803bc47a5105221c5dc074eaea674dda918e1b88
bb52ce26fb88b00944c0121809e35e4d5e0c9878
refs/heads/master
2021-01-21T10:22:09.535265
2017-03-19T04:16:30
2017-03-19T04:16:30
83,416,639
0
0
null
null
null
null
UTF-8
Python
false
false
2,815
py
''' Introduction to numpy library Using the technic learnt in 08_using_built_in_library.py to import numpy, use functions in numpy Documentation from numpy quick starter: https://docs.scipy.org/doc/numpy-dev/user/quickstart.html - array - arange - shape - zeros - ones - empty ''' # import the numpy library import nu...
[ "jeffreyleeon@gmail.com" ]
jeffreyleeon@gmail.com
4b227af594df82233bdffce71409ee9b902abd9e
774fccd6bb2369d9d46fb448649ebe68b81542f7
/my_env/bin/pip3
938341b06d6266d4e836ea1d059b8d48a891411e
[]
no_license
lyf0214/mysite
3b49a0d1fb356e1a994c8cb9c3601bcb978af519
40a3ec7d499412fc87e8412426b0146878c8ad93
refs/heads/master
2020-03-24T07:01:44.409449
2018-07-27T11:25:35
2018-07-27T11:25:35
142,550,177
0
0
null
null
null
null
UTF-8
Python
false
false
231
#!/Users/shiny/my_env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "shiny@AppledeMacBook-Pro-3.local" ]
shiny@AppledeMacBook-Pro-3.local
cb02f43cde2d805ac8b14cabc69256dfad851d6a
fec36e7493a78575cd0320bf31c5080649863a06
/src/views/feature_value/list.py
2294b96b083b882991877221f5e144dc233b810e
[]
no_license
teimurjan/eye8-backend
6f44e830dd17dcac8b23acc3b66b9918357f643b
bf0a4c894a5b3770fada269d8b4d7d72367ab1ba
refs/heads/master
2023-06-30T01:34:38.358903
2021-06-23T10:06:29
2021-06-23T10:06:29
273,144,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,287
py
from src.validation_rules.feature_value.create import ( CreateFeatureValueData, CreateFeatureValueDataValidator, ) from typing import Type from src.serializers.feature_value import FeatureValueSerializer from src.constants.status_codes import OK_CODE from src.errors import InvalidEntityFormat from src.services....
[ "teymurgg321@gmail.com" ]
teymurgg321@gmail.com
cf95a73677140afefa5be34f07f063779c6b72bb
0a5add05aad61dd2aa8ff366969f66d6a7f8c42c
/main/views.py
dd31373af50367de5becd8c4f01b11e832556ad4
[]
no_license
PY312/nco
ae3584ee94fd5c6f23a9acbaadea411073ddac11
6374630f608e96d40652ced37224e253eebd89f2
refs/heads/master
2023-07-17T21:08:33.419856
2021-09-08T13:54:25
2021-09-08T13:54:25
404,366,294
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
from django.shortcuts import render from .models import News, ImageNews from .serializers import NewsListSerializer, NewsItemSerializer from rest_framework import generics from rest_framework.pagination import PageNumberPagination # Create your views here. class NewsListApiView(generics.ListAPIView): queryset = ...
[ "83508520+PY312@users.noreply.github.com" ]
83508520+PY312@users.noreply.github.com
458616bff6eea889f3db88f7bced7ffe0e0a3235
67c7bd48588eab5faede849b89501106756a7447
/HP_Power_Manager_bof .py
6b244529caad2bb8eb8ae5dce66434fe2ef4f87a
[]
no_license
sharmaharjeet92/scripts
0df53153823fa781b719b8169fe3d3561e9c90ad
e1f75703cf0b5a02cd9267e88da171e8a8518267
refs/heads/master
2020-04-05T10:23:23.805770
2020-03-04T09:51:25
2020-03-04T09:51:25
156,796,970
0
0
null
null
null
null
UTF-8
Python
false
false
4,740
py
#!/usr/bin/python # HP Power Manager Administration Universal Buffer Overflow Exploit # CVE 2009-2685 # Tested on Windows 7 Ultimate,based on ExploitDB Exploit 10099 developed by Matteo Memelli ryujin Matteo Memelli ryujin __A-T__ offensive-security.com #Tweaked by Harjeet Sharma # This Exploit use the concept of ...
[ "noreply@github.com" ]
noreply@github.com
21796ac535397c38f7262b1929fc6ae5dde8f84a
2f87a8a49f4f26c36cbbfa6381bebb6b8dacc655
/api_basic/urls.py
adbbb878dd0175a7a2830d1f092ad2c7d8b9e15b
[]
no_license
Shrav543/Django-rest
63b537ef0a30b89e8aa846afdaa138d26dc36419
d016570eb759607a1c5451f72bb97fd589a75384
refs/heads/master
2023-07-31T14:51:11.826234
2020-06-12T09:50:10
2020-06-12T09:50:10
271,763,114
0
0
null
2021-09-22T19:12:26
2020-06-12T09:43:30
Python
UTF-8
Python
false
false
1,047
py
from django.urls import path , include #from .views import ArticleAPIVIEW, Article_DetailAPI ,GenericAPIView , ArticleViewSet #from .views import ArticleViewSetGeneric from .views import ArticleViewSetModel from rest_framework.routers import DefaultRouter router = DefaultRouter() #router.register('', ArticleViewSet, ...
[ "er.gauravsharma543@gmail.com" ]
er.gauravsharma543@gmail.com
54fa9a542b276fcf3b2261c362e3d446b891570a
ce9c2603167e1b30b222afd5206ac7fa31d19a77
/imctools/io/errors.py
dfd219570e7d15482e270e2b063e25a27abc5522
[ "MIT" ]
permissive
BodenmillerGroup/imctools
6d07036045a6361e17811d8f675eab01f34ffade
361e49f3e0de4cf9c58c3b6d1024feacd2855d98
refs/heads/master
2022-05-01T23:29:49.302686
2022-03-31T09:58:01
2022-03-31T09:58:01
68,657,395
21
14
MIT
2022-03-31T09:58:02
2016-09-20T00:16:24
Python
UTF-8
Python
false
false
75
py
class AcquisitionError(Exception): """An error with IMC acquisition"""
[ "anton.rau@gmail.com" ]
anton.rau@gmail.com
3901eb30debbc1c94cf3d40f80aa71a9a4ffbaa1
0b514feea82eaa2e341130d9e23d13d72271d644
/2.Jump_to_python/Python07.py
99deebb9aeec73d60845d030c9ca5481a5b33cec
[]
no_license
Jerrykim91/FromZero
f8478012130948a11978a46ab6ec7922cb354a8f
fdd5a0716b29c77019cfcd1e1eab7ed4afd1aed4
refs/heads/master
2022-12-25T15:04:22.656462
2020-10-10T14:35:06
2020-10-10T14:35:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
# 모듈화 + 패키지 # + 모듈가져오기, 테스트 코드 배치 , 모듈가져오기 , 패키지 사용 # 모듈 # 함수나 변수 또는 클래스를 모아 놓은 파일이다. # => 확장자가.py파일 # mod.py,__init__.py,p1.py, p2.py,... # import 모듈이름 # 모듈이름.함수 모듈이름을 안쓰려면 -> from 모듈이름 import 모듈함수 # from mod1 import* -> * (모든것)을 의미 # 모듈화의 대상 => 변수, 함수, 클래스 <= 요소를 가져다 내것 처럼 사용가능 # ...
[ "sun4131@gmail.com" ]
sun4131@gmail.com
c1245a82f33ae2d0ae87149125edee011c5be097
f8d929261ec8cf6671fc5725b91a1b26423d2dbc
/Account_app/migrations/0001_initial.py
5817ac8eea3e2c5dcc1866c072c9eb6ea816ceda
[]
no_license
trak2018z/Web_System-tr
e2091d6e4ae7141a9ebd4a764bc7d33752f50642
92a144580144e491429bc82b517ff22566318a3b
refs/heads/master
2021-05-09T05:28:32.304547
2018-01-08T17:56:29
2018-01-08T17:56:29
119,310,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-01-06 12:01 from __future__ import unicode_literals import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "tomel23@wp.pl" ]
tomel23@wp.pl
0d555fa2eb97724fcc5f3910b125fe5a55b9cea4
2f95c4762e0d57e97da6c291228761e3a8c8e938
/vvdatalab_nifi_flow_generator/models/io_ports/create_io_group.py
d1b0d75d5ab45c4db63aab072544122f16ea43cc
[]
no_license
felipelobasrocha/nifi_flow_generator
9964050a6834fb15434f2f8ece16b1d26afe192c
6dea7c27250e3447e5febf6a6e55625f413ec62c
refs/heads/master
2020-08-24T22:00:43.115585
2019-10-22T21:40:34
2019-10-22T21:40:34
216,914,965
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
from nipyapi import canvas, nifi from vvdatalab_nifi_flow_generator import models from vvdatalab_nifi_flow_generator.models.io_ports.create_input_port import CreateInputPort from vvdatalab_nifi_flow_generator.models.io_ports.create_output_port import CreateOutputPort CreateProcessGroup = models.CreateProcessGroup Crea...
[ "felipelobas@gmail.com" ]
felipelobas@gmail.com
7f3756c05f98afee44bfcc701b9a25e895ada073
2c4c3f777d94157d5a5cf8664907de1a605a1110
/algorithms/GraphSage/layers.py
ca2496d997093716a74acd63b14ed0433a38c949
[ "Apache-2.0" ]
permissive
safe-graph/DGFraud
a86715662d86291c22dae389aa36d72b74042ab6
22b72d75f81dd057762f0c7225a4558a25095b8f
refs/heads/master
2023-08-23T01:01:04.195966
2022-04-20T21:39:08
2022-04-20T21:39:08
223,415,751
632
162
Apache-2.0
2020-07-31T04:10:54
2019-11-22T14:02:36
Python
UTF-8
Python
false
false
3,779
py
from __future__ import division from __future__ import print_function import tensorflow as tf from graphsage.inits import zeros flags = tf.app.flags FLAGS = flags.FLAGS # DISCLAIMER: # Boilerplate parts of this code file were originally forked from # https://github.com/tkipf/gcn # which itself was very inspired by ...
[ "ytongdou@gmail.com" ]
ytongdou@gmail.com
ee9bcfc4389fcb2fb90096118f98f545a41ba488
bb4c4cccf8bcd620aae1a8de4361caa1d749eec5
/setup.py
85704e4597c1f88108fd6bd00dd7f91afb15f886
[ "MIT" ]
permissive
qxlsz/astromath
d9bac05067fdeaaf7e3bf768ef3bcb7fb7a2a547
5ad10de294c44818dde8e865d076fb6eda8f07b2
refs/heads/master
2023-08-22T19:06:36.944268
2020-06-25T15:32:57
2020-06-25T15:32:57
252,310,053
1
0
MIT
2023-09-14T12:31:39
2020-04-01T23:35:07
Python
UTF-8
Python
false
false
1,515
py
#!/usr/bin/env python """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ ] setup_requirements = ['pytest-runner', ] test_requiremen...
[ "rajasekhar.josyula@gmail.com" ]
rajasekhar.josyula@gmail.com
94d03e9f0f7b8cec3c47cc368593566e2ada6fad
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_magnesia.py
9193757fb3463cb627d30a16deadeb1b54c32ebb
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
#calss header class _MAGNESIA(): def __init__(self,): self.name = "MAGNESIA" self.definitions = [u'a white substance used in stomach medicines'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.js...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e4c1794ad74b66d0d7327370b2bf5ff25c80650b
7db9f6b8a1966b08e5bafb7fef8fb3844b3f1471
/multiworld/envs/mujoco/pointmass/pointmass.py
03b6dfc5649846e4e95ed395077cdadd24ede7ef
[]
no_license
newera-001/RIS
a4dd82563e9f5521b6367a7463a2ab94c5203047
9cee42bf28924d4220b143dabf3655a6da260350
refs/heads/main
2023-06-19T09:31:48.215405
2021-07-16T12:28:01
2021-07-16T12:28:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,616
py
import abc import copy import numpy as np from gym.spaces import Box, Dict from multiworld.core.serializable import Serializable from multiworld.envs.mujoco.mujoco_env import MujocoEnv from multiworld.core.multitask_env import MultitaskEnv from multiworld.envs.env_util import get_asset_full_path from collections impo...
[ "elliot.chane-sane@polytechnique.edu" ]
elliot.chane-sane@polytechnique.edu
12d5b08f43173bbade7172ef7a8a5e8bb3df40d1
765929f8e17a39e680592fe461e36b4a296878f2
/sklearn_tests/ml4.py
009e190c710fa9a3525789f29548d01b0c4b99bb
[]
no_license
TontonTremblay/Machine_Learning
ec2b4f0429601cb17e7db0579350eee0809608bd
9e273c9cc373a0919d10ba2a610ec76675ef2a47
refs/heads/master
2016-08-12T11:01:08.664217
2015-11-14T00:22:34
2015-11-14T00:22:34
44,108,762
1
1
null
null
null
null
UTF-8
Python
false
false
420
py
import numpy as np from sklearn import cross_validation, datasets, linear_model from sklearn.grid_search import GridSearchCV diabetes = datasets.load_diabetes() X = diabetes.data[:150] y = diabetes.target[:150] lasso = linear_model.Lasso() alphas = np.logspace(-4, -.5, 30) clf = GridSearchCV(estimator = lasso,param_...
[ "tonton.tremblay@gmail.com" ]
tonton.tremblay@gmail.com
96f571b5a83d21e3d3709c4e9197979323ce8dff
9aaf600dfe71b217e6e218c8033dd79821a8d9c0
/ch0/15requests and API/2pokeapi.py
b1cab7b3af6dcc9deb5610ea80844bad66c48d91
[]
no_license
bonfiglio/introPython
153d4467fbccab33a47a9c1157120ccb035efb9a
a2dae50d4f6efcc02217f8b4597f221164aa9ae5
refs/heads/master
2020-03-23T00:21:32.790040
2018-10-07T09:32:57
2018-10-07T09:32:57
139,994,418
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
import requests import json # https://tutorialedge.net/python/python-http-requests-tutorial/ def main(): req = requests.get('http://pokeapi.co/api/v2/pokemon/1/') print("HTTP Status Code: " + str(req.status_code)) print(req.headers) json_response = json.loads(req.content) print(json_response) ...
[ "bonfiglio.fabrizio@gmail.com" ]
bonfiglio.fabrizio@gmail.com
97a06c5441ff70691bbb29a70ec1cc78d5d5b2d8
7eb6071c56bde2e628e131237182ec2f6c620156
/day7/intcode.py
9751bc41e49e92c0c30bec596efd6b5b55d6a5a7
[]
no_license
sambres/Aoc2019
98f42d9c7828b3a2fc23abeb9e858310c344c587
f8543cb351a27ad4d9e43125ea8d0bcb6c64c7a3
refs/heads/master
2021-10-25T05:27:58.309414
2021-10-11T11:19:38
2021-10-11T11:19:38
231,900,398
1
0
null
null
null
null
UTF-8
Python
false
false
4,295
py
def intCode(program, input): result = None i = 0 while True: # print('op', program[i]) op = int(program[i][-2:]) if op == 99: return result if op == 1 or op == 2 or op == 7 or op == 8: parametersLength = 3 if op == 3 or op == 4: ...
[ "a.sambres@gmail.com" ]
a.sambres@gmail.com
d317b649da9dc9553e5fa5daa23ef2d3ef162554
218eb56cf26d5f22d1fc9e7a1dd9a138ee5cd75b
/python_stuff/tcp_thread_server.py
3375349f729ebf739965ea5f6a575a6eb04f4a1c
[]
no_license
breadpitt/SystemsProgramming
6be7cf23e1e0a6b27d6c5b824c9e0fe60799d0f2
3fd71725842b52f0c45372e5922d0a98e8297ec1
refs/heads/master
2020-03-28T00:07:53.858131
2018-08-17T02:43:59
2018-08-17T02:43:59
147,377,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,998
py
#!/opt/local/bin/python3.7 import sys from socket import socket, SOCK_STREAM, AF_INET from select import select import traceback from threading import Thread class TCPClient(Thread): def __init__(self, client_sock, client_address): # Call parent (thread) constructor super(TCPClient, self).__init__() s...
[ "jashannon10@gmail.com" ]
jashannon10@gmail.com
043b864e84413e434016dad4ed24a7fbdfdc04b6
fbada2dbf3d8963b9bf31accd1ec4a5f7e8f40c1
/detection/models/detection/yolo/utils.py
db71c12addb9a78b7cb0b03d2dc1424377b12cc7
[ "MIT" ]
permissive
stanford-policylab/surveilling-surveillance
fd7cabe2b526f5019e163961e0eef35c0ad29e45
bbb9a147927a6342eecfe07ffa756b3acdb63f35
refs/heads/master
2023-06-17T14:32:22.923890
2021-07-15T16:10:41
2021-07-15T16:10:41
368,739,706
12
1
null
null
null
null
UTF-8
Python
false
false
10,186
py
"""Define Logger class for logging information to stdout and disk.""" import collections import os import json import torch import numpy as np import time import torchvision from os.path import join def xywh2xyxy(x): y = x.new(x.shape) y[..., 0] = x[..., 0] - x[..., 2] / 2 y[..., 1] = x[..., 1] - x[..., 3...
[ "me@hsheng.org" ]
me@hsheng.org
3a6288fd90d84dfdf4c45f2ac3a254ddfdd9051e
3865d338db6caedff9cce9c0ca2ac4b5929ac2d1
/rosetta/filter_fragfold.py
186863f6886335e1ced06a8a1fda526118c532ae
[]
no_license
vam-sin/bioinfo-toolbox
fc90b347da7d733a2e5732b7352f1e8cdbf5b164
79f52038b7eb20337508ee49a87d2677a8ffad9c
refs/heads/master
2022-12-09T18:39:18.743490
2020-08-26T14:14:58
2020-08-26T14:14:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
import sys import parse_vall import parse_cath_clf from time import clock def filter(cath_dom_list, frag_dict): count = 0 for dom_id in cath_dom_list: pdb_id = dom_id[:4] if pdb_id in frag_dict: count += 1 del frag_dict[pdb_id] return frag_dict, count def main...
[ "mirco.michel@scilifelab.se" ]
mirco.michel@scilifelab.se
86157b173385f4d53dbc01fa8e2417b7ee496c95
f952a4583b0b751a1d5e2c5c453b16b1eb790ce5
/networks/resnext_50_share_attention.py
db6b84562b8195c8267425a8f726e74a486801de
[]
no_license
dotpyu/Concept-Sharing-Network
18b636a556cbc2dff887ac3c06110c58064393c8
2c85b312ef7d93a79498b5b3a8bc7b4d008e7b94
refs/heads/master
2022-04-11T02:07:16.387275
2020-03-30T20:44:36
2020-03-30T20:44:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,668
py
import torch import torch.nn as nn from torch.autograd import Variable from functools import reduce import pdb from collections import OrderedDict import torch.nn.functional as f class LambdaBase(nn.Sequential): def __init__(self, fn, *args): super(LambdaBase, self).__init__(*args) self.lambda_fun...
[ "zhaoxiangyun915@gmail.com" ]
zhaoxiangyun915@gmail.com
0904ea7fc406f810b0f0e92cd35e5f4c1d653eee
2eec69f014b2111680904208e0a9bcb4f1c1e922
/module/dropout_wrapper.py
d1e7a882eb2049a8e870f874e99ec7d9a57e57ec
[ "MIT" ]
permissive
UKPLab/mdl-stance-robustness
fc873d2ec95ee02866e03041123d8316bd677411
a8ef3f498e7f238d5224debe9bfce478e480201f
refs/heads/master
2023-07-19T21:51:14.086577
2022-05-17T12:55:18
2022-05-17T12:55:18
229,263,983
37
13
MIT
2023-07-06T21:36:14
2019-12-20T12:48:42
Python
UTF-8
Python
false
false
1,102
py
# Copyright (c) Microsoft. All rights reserved. import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable class DropoutWrapper(nn.Module): """ This is a dropout wrapper which supports the fix mask dropout """ def __init__(self, dropout_p=0, enable_vbp=True):...
[ "schiller@ukp.informatik.tu-darmstadt.de" ]
schiller@ukp.informatik.tu-darmstadt.de
194d93f9b8466fefd1d328db4121c16c65ee9dce
94aa02baa8250861e457482ddcb6a214e57faaf1
/waybackPDF.py
b4d75340f58b7d480b4f6fb0d7bc134b73e63ba0
[]
no_license
atavacron/WaybackPDF
e7fff0784d10019269ec7df57e50c67b506147b2
8db212997c03b8f8c48d77558b9349e975c01ee7
refs/heads/master
2022-10-01T16:39:05.100250
2020-06-08T09:28:26
2020-06-08T09:28:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,996
py
#!/usr/bin/env python3 # coding: utf-8 import json import os import re import requests import argparse class PC: """PC (Print Color) Used to generate some colorful, relevant, nicely formatted status messages. """ green = '\033[92m' blue = '\033[94m' orange = '\033[93m' endc = '\033[0m' ...
[ "haax@mdamail.ch" ]
haax@mdamail.ch
518f828d05ed4b0ac679e36476365de455ed024e
54fb337a7e86bdedd5a6ebad96efe451395d7226
/main.py
a304cdd3e5d1d3258ac60f6c8a17881bd48baa1e
[]
no_license
jes67/flask-intro
d56e4544cfe7e953d147759cce4ec40869825e9c
9d439e024d88db9c23c93d03ba3fa06ce34f8907
refs/heads/master
2021-08-18T04:29:33.704360
2020-03-12T18:46:36
2020-03-12T18:46:36
246,907,442
0
0
null
2021-03-20T03:02:41
2020-03-12T18:44:12
HTML
UTF-8
Python
false
false
214
py
from flask import Flask, render_template from datetime import datetime app = Flask(__name__) @app.route("/about") def about(): return render_template("about.html") if __name__ == '__main__': app.run()
[ "jesusmlg16@gmail.com" ]
jesusmlg16@gmail.com
0b27c96db7260b43fe3d2825059aa046f618a905
1dcb88c3fe76b372b1b74a1139720ab101ee26e3
/queue.py
8b6a114c91103f3682c4550e78a6cd43c637c764
[ "Apache-2.0" ]
permissive
mitre/growthcleanr-web
e771cab7a74aadb196b7a9ef2a0f6333a7026acc
1a495a11fb77605b5ef16c7e7d25644d39e59944
refs/heads/main
2023-08-23T03:15:27.383713
2021-07-09T22:31:20
2021-07-09T22:31:20
280,239,050
2
0
Apache-2.0
2022-10-18T21:10:57
2020-07-16T19:20:41
Jinja
UTF-8
Python
false
false
80
py
from huey import SqliteHuey huey_queue = SqliteHuey(filename="huey_queue.db")
[ "dlchudnov@mitre.org" ]
dlchudnov@mitre.org
80be48414788634625dc938448d454dd2db8ad4f
45fef6ff83aaf11ca670e4eda965e455c3527a24
/JSON-Pgm.py
d70368b0930857b5f7701064a7db07bdd317a896
[]
no_license
Sowmya-1/Python-document
badb808c00fd8f3a8f92aa23376cd3cfc63776f4
fca41bf471f5b82ed1f6a9c45a3957aa0e40e273
refs/heads/master
2021-01-11T15:42:41.311403
2017-02-22T08:01:56
2017-02-22T08:01:56
79,905,109
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
import json list=[1,2,3,4,5] dic={'name':'sowmya','at':'asm','pack':['python','AJS','HTML']} print json.dumps(dic,indent=4)
[ "noreply@github.com" ]
noreply@github.com
b76807ebb8bbbc27d5379ec7046e836931127ca8
56de20f6054038f8ea574962cf87ffb4db7d31ee
/api/migrations/0011_auto_20201231_0150.py
71906673ad04da15d61417b00b46d9602c925f9b
[]
no_license
docker581/api_final_yatube
e5797cac4f3c1be7b79f8f6f9d4d14778a419fe4
2f7d29cc1630c8950be0cd654704cd2dc3844570
refs/heads/master
2023-05-30T16:19:15.323579
2021-06-23T23:51:11
2021-06-23T23:51:11
323,850,968
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
# Generated by Django 3.1.4 on 2020-12-30 22:50 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), ('api', '0010_auto_2020123...
[ "denisd581@gmail.com" ]
denisd581@gmail.com
8ee9314035840f81d9d7478010945151bda3a8df
4e8249081379a1305b7ff91d5692167cb1484dd7
/Hubb_ediff.py
1bc622467332e00de13bf237ef91d8e5d2734da3
[]
no_license
TIm097/Bachelorarbeit
4e7cc264f2052c72542f4db3b77e2e86912c2483
c75f8f117fc9dea39909f568ffe6e812e7ad063c
refs/heads/master
2020-12-25T18:52:11.362052
2017-08-16T13:41:32
2017-08-16T13:41:32
93,999,748
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
import numpy as np import matplotlib.pyplot as plt U, dE = np.genfromtxt('Stationäre_Systeme/Hubb_Eig_Ergebn/Hubb_ediff.txt', unpack = 'True') plt.plot(U,dE,color = (1,0.5,0),label = r'$\Delta E_{0 \to 2}$') plt.legend(loc = 'best') plt.xlim(0,15) plt.ylim(0,1.4) plt.xlabel(r'$U/J$') plt.ylabel(r'$E/J$') plt.tight_la...
[ "timo.graesser@gmx.de" ]
timo.graesser@gmx.de
1cb0796a2e4782fccd381c4b5ee34854cb4ee2ac
20fa87e590e99b03ad210bc1e6bde8fe4c02f47d
/SocialNetworkHarvester/Collection/migrations/0008_auto_20181010_0522.py
362759d3f3a81ea9f6f07c24d557902e4c9e3923
[]
no_license
GRCP-Ulaval/Social-Network-Harvester
e5f30a165d77b2a095bd3f0fed90be38f8bc7760
141ad02e89d8e450e40b05c530ebf965a1ec30e5
refs/heads/master
2020-03-28T16:24:03.617256
2018-12-23T16:31:00
2018-12-23T16:31:00
148,690,734
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# Generated by Django 2.1.1 on 2018-10-10 05:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Collection', '0007_auto_20181005_1716'), ] operations = [ migrations.AlterField( model_name='co...
[ "scloutier@nexapp.ca" ]
scloutier@nexapp.ca
34b0a3903fbab558986e74b115ebb5bf14cae7a3
7c857119fe1505b1d80d6e62969661c06dc1a2f4
/BaseTools/Source/Python/GenFds/VerSection.py
7280e80cb4ef7ce47524af2de67a3c2e84cf5a33
[ "BSD-2-Clause" ]
permissive
CloverHackyColor/CloverBootloader
7042ca7dd6b513d22be591a295e49071ae1482ee
2711170df4f60b2ae5aa20add3e00f35cf57b7e5
refs/heads/master
2023-08-30T22:14:34.590134
2023-08-27T19:14:02
2023-08-27T19:14:02
205,810,121
4,734
770
BSD-2-Clause
2023-09-03T12:41:33
2019-09-02T08:22:14
C
UTF-8
Python
false
false
2,917
py
## @file # process Version section generation # # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # ## # Import Modules # from __future__ import absolute_import from .Ffs import SectionSuffix import Common.LongFilePathOs as os from...
[ "isakov-sl@bk.ru" ]
isakov-sl@bk.ru
e1dbaf7dcd094b4802420ad1fd6fd67bcb521207
1af63dfd09f641cabb1ab6f9ac04eabd564edcfd
/backend/apps/api/views.py
a79186bb61e5027b05e5191b467d2a559c9cfb78
[ "MIT" ]
permissive
MAX-EINSTEIN/django-react-starter
05409f561c4d6410712637d791453373a20b97fa
cba2d7381d27743f0b32d84f673d25d78751eae4
refs/heads/main
2023-06-05T22:49:56.289999
2021-06-18T23:18:10
2021-06-18T23:18:10
376,601,819
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
from rest_framework import generics from backend.apps.blog.models import Post from .serializers import PostSerializer class PostsListView(generics.ListCreateAPIView): queryset = Post.published_posts_objects.all() serializer_class = PostSerializer class PostDetailView(generics.RetrieveUpdateDestroyAPIView): ...
[ "maxeinstein.dev@gmail.com" ]
maxeinstein.dev@gmail.com
b197dbe5eb039338439bb8c6b3e6fb20f0f80e18
db1247a3999e3f22db025639d09a605082ded89d
/grid/urls.py
4da7303e5324e7da6e0f39e3e8d1faa61df9ca6a
[ "MIT" ]
permissive
wise-team/hiveprojects.io
1614deb0e4df5fe19cf62dbdb4d8d2741173c6b0
96e15a53f02c7327fe982a06b2dce56cd130e38c
refs/heads/master
2022-12-12T18:44:35.221892
2020-03-27T21:50:03
2020-03-27T21:50:03
248,597,914
5
1
MIT
2022-11-22T01:59:55
2020-03-19T20:24:59
Python
UTF-8
Python
false
false
2,093
py
"""grid url patterns""" from django.conf.urls import url from grid import views from grid.views import ( add_feature, add_grid, add_grid_package, add_new_grid_package, ajax_grid_list, delete_feature, delete_grid_package, edit_element, edit_grid, ...
[ "noisy.pl@gmail.com" ]
noisy.pl@gmail.com
b770f60b8ee7ddb0eb580e58766ac7eb067ca4d2
cd3c8bf0a875c9393991df64b9eb15659e5093db
/data_retrieve.py
e0cd61eefd601bf2d12f53f98b191ba9345db4f5
[]
no_license
william-hackett/cs1951a
143c06040ce3daf8fb70e19f10c0df1811f575ae
1af5d33cb0a0564d1302ab4ea6d2c80dba711ef9
refs/heads/master
2022-12-11T02:34:13.695662
2019-05-01T20:38:38
2019-05-01T20:38:38
171,779,192
0
0
null
2022-12-08T01:41:11
2019-02-21T01:38:39
Python
UTF-8
Python
false
false
801
py
import oauth2 as oauth import json with open('twitter_auth.json') as json_file: data = json.load(json_file) CONSUMER_KEY = data["CONSUMER-KEY"] CONSUMER_SECRET = data["CONSUMER-SECRET"] # Create your consumer with the proper key/secret. consumer = oauth.Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET) # R...
[ "tymani_ratchford@brown.edu" ]
tymani_ratchford@brown.edu
c5ad1b5d232b6458e70b9d7459d2978fcf989724
1bde114a847c629701e3acd004be5788594e0ef1
/Examples/PatternRefactoring/trashvisitor/Visitor.py
29bc5089c2ffa37d3322ce93d7a97ca546f4a1f4
[]
no_license
BruceEckel/ThinkingInPython
0b234cad088ee144bb8511e1e7db9fd5bba78877
76a1310deaa51e02e9f83ab74520b8269aac6fff
refs/heads/master
2022-02-21T23:01:40.544505
2022-02-08T22:26:52
2022-02-08T22:26:52
97,673,620
106
33
null
2022-02-08T22:26:53
2017-07-19T04:43:50
Python
UTF-8
Python
false
false
215
py
# PatternRefactoring/trashvisitor/Visitor.py # The base class for visitors. class Visitor: def visit(self, Aluminum a) def visit(self, Paper p) def visit(self, Glass g) def visit(self, Cardboard c)
[ "mindviewinc@gmail.com" ]
mindviewinc@gmail.com
d8efecb43d9198e3dd2221f4e39fb241646378fc
0032d988541e85c47b5034c20ecf88220dde5a95
/openbook_posts/migrations/0026_auto_20190414_1620.py
242d6b7b2f6ad2429773288abeaee56f0fb9ccf8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
OkunaOrg/okuna-api
eabd37fef9d2be59b590ed8d72bee084ac377997
f87d8e80d2f182c01dbce68155ded0078ee707e4
refs/heads/master
2022-02-04T21:31:10.577601
2021-12-28T18:20:39
2021-12-28T18:20:39
151,052,951
185
92
MIT
2022-01-13T01:00:40
2018-10-01T07:44:46
Python
UTF-8
Python
false
false
444
py
# Generated by Django 2.2 on 2019-04-14 14:20 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('openbook_posts', '0025_post_is_edited'), ] operations = [ migrations.AlterField( model_name='post', name='...
[ "joel@open-book.org" ]
joel@open-book.org
cf50ca043b86bceb7361c9ed7fa07a000eb8beab
aee5c07c54d03417abbff170eb3f85adc0e3c60b
/torchaudio/datasets/commonvoice.py
33250245c33321a003384484510c1fd57ec9b3b6
[ "BSD-2-Clause" ]
permissive
astaff/audio
118278012e49e86cfe6dcb91d5eeae84eb2941ca
27a0f7653bc2918e314b4225782d2b29ef31ae4a
refs/heads/master
2023-04-25T13:04:27.158545
2020-04-20T15:08:21
2020-04-20T15:08:21
257,380,879
0
0
null
2020-04-20T19:17:28
2020-04-20T19:17:27
null
UTF-8
Python
false
false
4,177
py
import os from typing import List, Dict, Tuple import torchaudio from torchaudio.datasets.utils import download_url, extract_archive, unicode_csv_reader from torch import Tensor from torch.utils.data import Dataset # Default TSV should be one of # dev.tsv # invalidated.tsv # other.tsv # test.tsv # train.tsv # validat...
[ "noreply@github.com" ]
noreply@github.com
cd0886446ab1841e4d9c0e355f95dc0da428673d
4ccd6dba4fd5b38d2cd80836920f177969bc0216
/model.py
874155ad9f220becce242239770767b69a0dbe6c
[]
no_license
Ycblue/TransMIL
37036eadf518efafb06dded29316406360f7d79e
e48481c35b66085fd897e7fb8fb5ede24d60c22f
refs/heads/main
2023-08-29T06:02:56.932474
2021-10-28T13:56:04
2021-10-28T13:56:04
422,216,971
1
0
null
null
null
null
UTF-8
Python
false
false
8,277
py
import torch import torch.nn as nn from argparse import ArgumentParser import numpy as np from nystrom_attention import NystromAttention, Nystromformer # https://github.com/lucidrains/nystrom-attention import torchvision.models as models from torch.optim.optimizer import Optimizer ## Lookahead optimizer + CE Loss cl...
[ "noreply@github.com" ]
noreply@github.com
b116ab0d106d450a2588ca813cf8f785bac5d357
de088c95a043757049dee381ee9a63da9a7c0a61
/bits/NumberOfOneBits/solution.py
8ca6fefb0c196ed269807ebd2b8959c28edda77f
[]
no_license
tstl87/PythonInterviewQuestions
74f8cbf198c5dcc793abe195e1e19fa4fd77c947
35758f897c0e4eb2653617b29cbe23c28447f05f
refs/heads/master
2023-04-04T15:01:35.650611
2021-03-31T16:54:46
2021-03-31T16:54:46
255,759,405
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
def one_bits(n): count = 0 while n > 0: if n & 1: count += 1 n = n >> 1 return count print(one_bits(23)) # 0b10111
[ "Skylar.Trigueiro@gmail.com" ]
Skylar.Trigueiro@gmail.com
d29e69deb81568751f654286b92db80ff300ebf9
49bc52bb78181adad44f2ca4723bf102547cfd0b
/tests/unit/test_routes.py
a4b793b548d7f33f8690170ae88c95c135dd1c60
[ "MIT" ]
permissive
CryptoJones/resources_api
d65ea31f468f9ebfcdd36500db0185e9d6353cf1
f290b165415c08f1fb90ace36cad222549dbe7d5
refs/heads/master
2020-04-09T20:44:07.105219
2018-12-07T02:26:51
2018-12-07T02:26:51
160,582,699
0
0
MIT
2018-12-05T21:45:57
2018-12-05T21:45:56
null
UTF-8
Python
false
false
278
py
import pytest from app.models import Resource, Language, Category def test_does_nothing(): """ GIVEN a User model WHEN a new User is created THEN check the email, hashed_password, authenticated, and role fields are defined correctly """ assert(1 == 1)
[ "wimo7083@colorado.edu" ]
wimo7083@colorado.edu
75f699fc7133cc78df3b45856ce7c1263bde245b
83133aa5638bd29730d10e9d4d1fbdf97f0844b8
/stl_text/datamodule/contrastive_pretraining.py
015b19ccabbbf90ad5e0087278c17f3ffe1c90cc
[]
no_license
hudeven/text
1f38fa81205f727011fe8dd29023acf653773083
9fc5b4962282d7e1dc8d5fa5eb3258f253981060
refs/heads/master
2023-02-27T03:26:46.424043
2021-01-05T22:37:57
2021-01-05T22:37:57
318,316,656
0
4
null
2021-02-23T01:05:18
2020-12-03T20:52:10
Python
UTF-8
Python
false
false
4,619
py
import os import random from collections import defaultdict from typing import Optional import torch import datasets as ds from pytorch_lightning import LightningDataModule from stl_text.ops.tokenizers import WhitespaceTokenizer from stl_text.ops.transforms import LabelTransform from torch.nn.utils.rnn import pad_sequ...
[ "jeanm@fb.com" ]
jeanm@fb.com
ac29b396e23dbd83410cb6934bf7dbe55c6370d4
09b7d73751a87a48e1a624e076465b343a36a137
/python-tutorial/basics/types.py
8cdee3b8b8e16f9cae863c7a124127247b178f78
[]
no_license
sauravpd/python-tutorial
8fa11efce996d05d00ebd4bd77409b9a214224ae
5455bff62ea543ed47b9f8cb9fea67a7b48f8cd2
refs/heads/master
2020-04-09T09:43:21.028083
2020-01-17T05:58:43
2020-01-17T05:58:43
160,244,048
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
x = '48' y = int(x) print(f'x is {type(x)}') print(f'x is {x}') print(f'y is {type(y)}') print(f'y is {y}') # output #x is <class 'str'> #x is 48 #y is <class 'int'> #y is 48
[ "sauravpd58@gmail.com" ]
sauravpd58@gmail.com
d3920d74c46452fd447b57f7c829897273f96be7
5fc25caef429a2a417a2bdcbeb4b5836c888039f
/ch1/chatting/forms/__init__.py
5ef72d0039cd87c5d18cc24b2d066be36d45c77a
[]
no_license
dudrnxps/SLANG
f02329e5961c532ae23a3777a116dc1929ee296b
97d3db6764e80272d9c03b38ff45c5ec55398e9a
refs/heads/master
2021-01-15T15:31:12.747511
2016-06-27T15:48:30
2016-06-27T15:48:30
50,901,344
1
0
null
null
null
null
UTF-8
Python
false
false
113
py
from chatting.forms.register import RegistrationForm from chatting.forms.authentication import AuthenticationForm
[ "mkh9209@naver.com" ]
mkh9209@naver.com
a25e9e320b9dd225167269a092870511465d8631
2099fcc36b619db1ff333042f5ab3bd044c7c542
/client.py
6c4e363752ca011f64bd68b047123f7f6c7687b6
[]
no_license
AlekefromKz/Python-Game-TruthOrFalse
2b27315a5e1b8cf2e261e617d3a5bda50ba87287
203a7800b801a04801b83b15962c879e75cf75aa
refs/heads/master
2023-02-02T19:18:04.556175
2020-12-18T17:37:27
2020-12-18T17:37:27
322,663,406
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from truth_or_false.game import Game from truth_or_false.game_status import GameStatus print('Welcome to my gameY you will be asking questions one by one. In case you will not make more mistakes than you ' 'allowed to make, you will win. Otherwise you will loose!\n\n') game = Game() game.get_data() while game....
[ "kydyrmin.almaz@gmail.com" ]
kydyrmin.almaz@gmail.com
56baa2cdea930d040883beca412dc675f051ecbf
cf4a525ed3f78e50b830fe23642d0127c3e05531
/bucket list/bl-tail.py
d9e9a26151fc448d47827852a6c77e326a341214
[]
no_license
pomann/programming_1_ca116
a41514a72dc35e6011852b94e5454c91048f3252
8a78a5b5d292003272aec004cab1ebe8b012e54c
refs/heads/master
2021-05-04T00:45:51.189173
2018-02-05T19:39:09
2018-02-05T19:39:09
120,350,710
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
import sys n = int(sys.argv[1]) f = raw_input() m = [] i = 0 while f != "end": m.append(f) i += 1 f = raw_input() if n > i: o = 0 else: o = i - n while o < i: print m[o] o += 1
[ "noreply@github.com" ]
noreply@github.com
4501b4fd57612ad8cd33bb4bb8c8a53dd3e26d8b
97b0ddc00ccb6ba1bdf75a683e9abf64659e7229
/src/greengrass/lambda/alert/greengrass_alert.py
423a5acf36c8674cdf73603278a3ffb0feeb30ac
[]
no_license
brenogibson/octank-monitoring-kiosk
75cd9a2d6535ae58e5afbb546be9c5b9bf37d702
54cc06f3da436ff3d05953ab6e0fd81ac9efef8b
refs/heads/master
2022-11-17T13:08:46.256198
2020-07-15T18:42:02
2020-07-15T18:42:02
278,373,741
0
0
null
2020-07-09T14:08:28
2020-07-09T13:34:07
null
UTF-8
Python
false
false
1,385
py
# # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # greengrassHelloWorldCounter.py # Demonstrates a simple publish to a topic using Greengrass core sdk # This lambda function will retrieve underlying platform information and send a hello world message along with the # platform information t...
[ "brenogibson94@gmail.com" ]
brenogibson94@gmail.com
660782ca798d9ea8a567e5e704ec1f94490e19fd
92636e4af15b08dcf1e64d31678cdefe125a99b9
/setup.py
35b73df5e4597e7108ee50a4e77e036eefe56f70
[]
no_license
karpov-sv/fram
7e09a89cbc0c6ac428d1c522e20b22932a71ad66
f4d2ced8194905030d779c11c5f8b411dd2a9966
refs/heads/master
2023-06-22T14:13:45.627062
2023-06-15T12:15:13
2023-06-15T12:15:13
142,578,966
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup, find_packages requirements = [ 'numpy', 'scipy', 'astropy', 'matplotlib', 'sep', 'statsmodels', 'esutil', 'psycopg2-binary', ...
[ "karpov.sv@gmail.com" ]
karpov.sv@gmail.com
08541c40fee9474b87a66113054f486ea71f0e98
ba0e07b34def26c37ee22b9dac1714867f001fa5
/azure-mgmt-network/azure/mgmt/network/models/network_interface.py
fa19b8e2ad03dfa74bef269fdcb7d724b08d0661
[ "MIT" ]
permissive
CharaD7/azure-sdk-for-python
b11a08ac7d24a22a808a18203072b4c7bd264dfa
9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c
refs/heads/master
2023-05-12T12:34:26.172873
2016-10-26T21:35:20
2016-10-26T21:35:20
72,448,760
1
0
MIT
2023-05-04T17:15:01
2016-10-31T15:14:09
Python
UTF-8
Python
false
false
4,531
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
cbc244e711bf6a4c305a2d03973ffb5ac09658b0
85a6fcace7eaff15242595bdf9b9e8f41116dc7f
/Round A/workout.py
7d0a0bd6e2ed76a2a224a03c3a89e1a9f3b430f1
[ "MIT" ]
permissive
Meenadshi/GoogleKickStart-2020
e0dfd4f2e44a39c5c58de034265baf2fc7a81f9b
7c60b5a7a6c9daaf3f20b28d6b60aab19f5f22df
refs/heads/main
2023-08-15T23:41:31.484139
2021-10-17T00:34:58
2021-10-17T00:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
# Copyright (c) 2020 kamyu. All rights reserved. # # Google Kick Start 2020 Round A - Problem C. Workout # https://codingcompetitions.withgoogle.com/kickstart/round/000000000019ffc7/00000000001d3f5b # # Time: O(Nlog(MAX_DIFF)) # Space: O(1) # def check(M, K, target): count = 0 for i in xrange(1, len(M)): ...
[ "kamyu104@gmail.com" ]
kamyu104@gmail.com
a9194341e115335348649466389655b10bc7ccd4
caa05194b8f11f29a19767c94fdc93628be694d5
/nemo/collections/nlp/modules/common/transformer/transformer_decoders.py
910a7104ea24d2870a596d91e46359933d887e99
[ "Apache-2.0" ]
permissive
Jimmy-INL/NeMo
a589ab0ab97b9ccb8921579670e80c470ce7077b
6a3753b3013dc92a3587853d60c5086e2e64d98f
refs/heads/main
2023-04-02T22:28:29.891050
2021-04-13T18:22:24
2021-04-13T18:22:24
357,681,603
1
0
Apache-2.0
2021-04-13T20:34:12
2021-04-13T20:34:12
null
UTF-8
Python
false
false
8,169
py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
[ "noreply@github.com" ]
noreply@github.com
ab81b868a0040eb8cd4674fd20d3f934f5141499
981ecc9cf59dd6f839c3e40d26601efb1d073558
/src/face_recognition/youtube_dl/extractor/tf1.py
e595c4a69b3f03361abc05f6bca61adecb61cf36
[ "MIT" ]
permissive
lodemo/CATANA
469e0684b816f09ac74f186552b463cc77db369e
a349f460772511ccbb16429b40bfb50f774d45d4
refs/heads/master
2023-03-30T04:07:12.070332
2021-02-03T21:47:32
2021-02-03T21:47:32
102,767,095
12
6
MIT
2023-03-24T21:55:24
2017-09-07T17:36:45
Jupyter Notebook
UTF-8
Python
false
false
2,239
py
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor class TF1IE(InfoExtractor): """TF1 uses the wat.tv player.""" _VALID_URL = r'https?://(?:(?:videos|www|lci)\.tf1|(?:www\.)?(?:tfou|ushuaiatv|histoire|tvbreizh))\.fr/(?:[^/]+/)*(?P<id>[^/?#.]+)' _TESTS = [{ '...
[ "moritzlode@gmail.com" ]
moritzlode@gmail.com
90652981b11712f044ed74cc7b84d1c10dba3246
57000e1000311e6428a2eb45732baf265a7d9eb7
/helpers.py
a4b347fe740919052cb0ad10e0e8cb2a5fee69b5
[ "WTFPL" ]
permissive
Khomille/osm-vs-fantoir
d83cf857db37ef21d2c24c28c5205e1876f5f94c
becd2ea3db24994e3a219db9127ba70306509dc0
refs/heads/master
2023-08-19T15:34:58.475507
2023-06-10T13:29:06
2023-06-10T13:29:06
329,862,681
0
0
null
2021-01-17T20:01:10
2021-01-15T09:11:50
null
UTF-8
Python
false
false
215
py
def get_code_dept_from_insee(code_insee): code_dept = code_insee[0:2] if code_dept == '97': code_dept = code_insee[0:3] return code_dept def escape_quotes(s): return s.replace('\'','\'\'')
[ "vdct@laposte.net" ]
vdct@laposte.net
9f153ffb8255b57b288bac74a5076b641f9ce839
355eb0696346912d5b78cad8c2e4d1771ecfc042
/RNN_MINST/RNN.py
8abfc9b99ad7a95454df6a6fed2c2a75dc7ace8f
[]
no_license
Btr-bbit/RNN_MINIST
d4e05eb5d1d5be719a61c37b9c18bb79d6e57c49
4da143e24ff6ea7fa96ea2236f2fe808b5c8c811
refs/heads/master
2020-04-05T17:56:52.600976
2018-11-11T13:36:03
2018-11-11T13:36:03
157,082,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,857
py
#!/usr/bin/env python # coding: utf-8 # In[7]: #coding:utf-8 #识别MINIST数据集,教程多啊(泪流满面) import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from tensorflow.contrib import rnn mnist=input_data.read_data_sets("./data",one_hot=True) train_rate=0.001 train_step=10000 batch_size=1280 dis...
[ "noreply@github.com" ]
noreply@github.com
8ae696da4dbd2dc4ad37c45c7cee3aab8b8b3f79
2b95f85a141804344a4d7e6414f76d6d8b28dc4d
/src/model/module/encoder/lstm_encoder.py
9def6f69d84fba8bad53dd03e54e308bd70637f3
[]
no_license
liangzongchang/pointer-net-for-nested
3c8b6a854f705c5d270b5059ffc4cba1cee6496a
4b9c6c82885e3255d0bee1f69acaace52c28d9fe
refs/heads/main
2023-09-01T07:15:27.677571
2021-10-16T14:47:57
2021-10-16T14:47:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
import torch.nn as nn from supar.modules import LSTM from supar.modules.dropout import IndependentDropout, SharedDropout import torch from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence class LSTMencoder(nn.Module): def __init__(self, conf, input_dim, **kwargs): super(LSTMencoder, sel...
[ "yangsl@shanghaitech.edu.cn" ]
yangsl@shanghaitech.edu.cn
b613607484ff4991e3b7a52462661a1989ffd82b
9b41bd4d829b7b4b5fc7ea2f375089793f34beb0
/lib/googlecloudsdk/api_lib/app/appengine_client.py
baa0ff95581004e5a3dbd6f42446a6baadea863d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
eyalev/gcloud
20a596f9cbf7873eaea652a0b2ad080678f1598c
421ee63a0a6d90a097e8530d53a6df5b905a0205
refs/heads/master
2020-12-25T14:48:11.142544
2016-06-22T08:43:20
2016-06-22T08:43:20
61,703,392
0
2
null
null
null
null
UTF-8
Python
false
false
18,561
py
# Copyright 2015 Google Inc. All Rights Reserved. # # 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 ag...
[ "eyalev@gmail.com" ]
eyalev@gmail.com
88b055f358acb24661e5028b06b5b3a1db141abd
855b3ca4261062df8bd465155bbf71debb4cfc4a
/api_requests_loop.py
248af027122b8724a7b42fce8038a4f655edf436
[]
no_license
seanbradley/JobTests
7310f1fbddd4861b446fb89b28aa8c27812efa91
6acf2c5ea3bf94209210d5e7ac5061d22a8d4b60
refs/heads/master
2021-01-10T18:41:59.486807
2015-01-17T22:01:18
2015-01-17T22:01:18
29,246,514
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
''' QUESTION: Write a function that fetches JSON data returned from an API (in this example, geographic data from the Small Business Association). ''' import requests results = [] states = [ "AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD...
[ "sean@blogblimp.com" ]
sean@blogblimp.com
4595a232fd1799aea5d00a85018eb1cd75e6c634
1d2ee3e36c7cfcfac0279b863a34babfbada1b4c
/spoj-200/pos-neg.py
14f5fd44bd5c1dc68d2edea78dd4e0dcc4bb59ba
[]
no_license
nagarajukusa24/Competitive-Coding
fb186ab1b9c944cd1461e9e3fc6bc65e481661df
080ce69cc9ab087f1f5a124f377ffa173a73601c
refs/heads/master
2023-03-18T06:31:13.879618
2021-03-10T05:11:53
2021-03-10T05:11:53
272,482,971
2
0
null
2020-10-23T16:42:14
2020-06-15T16:00:01
C++
UTF-8
Python
false
false
186
py
t = int(input()) while(t): n = int(input()) if(n>0): print("{} is positive number".format(n)) elif(n<0): print("{} is negative number".format(n)) else: print("n is zero") t-=1
[ "nagarajukusa24@gmail.com" ]
nagarajukusa24@gmail.com
5643825ae66b0749d5819dd56c95da79acd2cb2d
05c90ad10bd805f168fc960334fa59ac8434af9d
/encryption/sieve.py
0306ad16240b4c3791c3acd4d9e49491791af84f
[ "MIT" ]
permissive
didim99/FlaskLearning
f3df41d77bbf79554aba6aa0de2c77ed2b791097
66d9de3729d372ec548ffbaaaff1d50797467361
refs/heads/master
2023-05-13T07:18:54.904336
2020-04-03T09:31:12
2020-04-03T09:31:12
249,192,344
0
0
MIT
2023-05-01T21:22:05
2020-03-22T13:44:58
Python
UTF-8
Python
false
false
1,738
py
# Sieve of Eratosthenes # Code by David Eppstein, UC Irvine, 28 Feb 2002 # http://code.activestate.com/recipes/117119/ class SieveEratosthenes(object): # Maps composites to primes witnessing their compositeness. # This is memory efficient, as the sieve is not "run forward" # indefinitely, but only as long...
[ "didim@eclabs.ru" ]
didim@eclabs.ru
5c4147e18f6cbf6bc084640d1ec95a20dce61064
39aee93aba4206153267e611f6bb81343e952c8d
/07-Social_Analytics/3/Unsolved/02-Stu_Recap_Tweet_Analysis/BreakingNews_Unsolved.py
e1d79a11b93ef28b1e3aa988168f06b42a0179cb
[]
no_license
sHongJung/Data_Analytics
9b357886f6cf15c6b51ad079d7c1af97733346b4
5b544e7d090137371d99d7060ac9e36517854a2e
refs/heads/master
2021-01-25T10:34:37.650233
2018-07-25T22:45:29
2018-07-25T22:45:29
123,358,805
0
1
null
null
null
null
UTF-8
Python
false
false
1,268
py
# Dependencies import tweepy import json import numpy as np import twitter_api as ta # Import and Initialize Sentiment Analyzer from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer analyzer = SentimentIntensityAnalyzer() # Twitter API Keys consumer_key = ta.consumer_key consumer_secret = ta.consumer_s...
[ "ken.sh.jung@gmail.com" ]
ken.sh.jung@gmail.com
e4d0583561a6158725a236905afe2fbba09c6263
d1ad901e1e926d9c92ce4dc7a7ba3c6ee91a65e2
/spytest/apis/qos/qos.py
c4158600f29cdeb92e9d1a8b3ac6ac00fa192bab
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
SubhajitPalKeysight/sonic-mgmt
ff59c2c5baf53cc2575aea2d541278fc9cf56977
e4b308a82572996b531cc09cbc6ba98b9bd283ea
refs/heads/master
2022-12-31T01:03:47.757864
2020-10-15T11:04:37
2020-10-15T11:04:37
286,815,154
1
1
NOASSERTION
2020-08-11T18:08:34
2020-08-11T18:08:33
null
UTF-8
Python
false
false
5,034
py
import re from spytest.utils import filter_and_select from spytest import st import json def verify_qos_queue_counters(dut,port,queue_name,param_list,val_list,tol_list): ''' verifies QOS queue counters in the CLI show qos queue counters :param dut: Device name where the command to be executed :type dut...
[ "noreply@github.com" ]
noreply@github.com
6585fb31b416dfd35f83c956c594528d69b6d742
3fe5046326c0e6a63b9de6ab4de8f094f1e49614
/bin/indent-ged
165c4adbf540abe1e9a436dfd7f6e341711abfa8
[]
no_license
dave-shawley/ged-work
cc7d6b71a58e3ac05d94177c018efe969fc60e0d
1edc7d6c2b871d65668a7ec347a42d3727e615d1
refs/heads/master
2020-03-23T22:01:52.407922
2019-04-21T14:33:06
2019-04-21T14:33:06
142,148,536
1
0
null
null
null
null
UTF-8
Python
false
false
236
#!/usr/bin/env python # import sys with open(sys.argv[1], 'r+') as f: lines = f.readlines() f.seek(0) for line in lines: indent, rest = line.split(None, 1) f.write('\t' * int(indent)) f.write(line)
[ "daveshawley@gmail.com" ]
daveshawley@gmail.com
cefb634734daaaddf09a98024d5ec5e44fb354b5
edb88981aa1420af7e074068ed7818b9d904a3dd
/tags/release-0.4.2/minds/test/test_cachefile.py
550d17ef92064fd5da222650ab9c462809cf2eb8
[]
no_license
BackupTheBerlios/mindretrieve-svn
101c0f1dfc25d20d5f828b6fd0d43301b773af4e
463745fcf1c1d5b1f6c201c30bcc339c99b437ed
refs/heads/master
2021-01-22T13:57:31.225772
2006-04-28T04:24:43
2006-04-28T04:24:43
40,801,743
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
""" """ import os, os.path, sys import unittest from config_help import cfg from minds import cachefile class TestCacheFile(unittest.TestCase): FILE1 = 'testcache' def setUp(self): self.pathname = os.path.join(cfg.getPath('logs'), self.FILE1) self.cleanup() def t...
[ "tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990" ]
tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990
decce59127ee788d769e1ab985ac7c12d47f4947
a0f795a1ef272eb7dbc2b3bab01b900414118fea
/tests/run_gen.py
53cce7444df66935a441ce5aa7ff6b56979b85f6
[ "Apache-2.0" ]
permissive
petanix/clvm_rs
a793e0df1a07d963fdf5014c8fe5d18ec3cd0971
51cac4558172d77dc11fcc2f2ccfed5b54edd11b
refs/heads/main
2023-07-07T09:02:09.817738
2021-08-02T09:08:13
2021-08-02T09:08:13
391,870,474
0
0
Apache-2.0
2021-08-02T08:30:28
2021-08-02T08:30:27
null
UTF-8
Python
false
false
4,094
py
#!/usr/bin/env python3 from clvm_rs import run_generator, STRICT_MODE from clvm.operators import OP_REWRITE from clvm import KEYWORD_FROM_ATOM, KEYWORD_TO_ATOM from time import time from clvm_tools import binutils import sys from run import native_opcode_names_by_opcode def run_gen(fn): # the generator ROM from:...
[ "noreply@github.com" ]
noreply@github.com
7220f69ad40171e2f3b038363316ca5856f0f28a
6d95e2b9617080dbd1a5389fb02bad757e47f868
/os_tkmonitor/os_tkmonitor_nouveau.py
7ade64df569bec61bf3af5b2490d98ecca678c7a
[]
no_license
frank038/os_tkmonitor
88ad22a0a062432f430d578d71c6313e36885222
5c0cfff59703c2023141f16ea130e5728298f4d9
refs/heads/master
2020-06-23T00:06:34.187928
2019-07-23T15:03:41
2019-07-23T15:03:41
198,439,850
2
1
null
null
null
null
UTF-8
Python
false
false
2,926
py
#!/usr/bin/env python3 """ nvidia gpu module - driver nouveau """ import tkinter as tk import tkinter.ttk as ttk import os import sys import shutil import subprocess class FNV(ttk.Frame): def __init__(self, master, root, frg_color): super().__init__(master) self.master = master self.root...
[ "noreply@github.com" ]
noreply@github.com
5d650359e4a6cabc6ceb6bb2ab9f212feb1a9bfe
c9479bdcac0c3ebd1a2d107f4a2e303a36f3eb72
/task1.py
d3cab55da3944d7f6b6ef91c5d03ed71eca62782
[]
no_license
nathanwag15/snowmanandCuboid
1891426d5a9ad5c5fba8b3497d5d0db2211b0101
b81e849e421c55504fc3a447af0acaa90675a7f8
refs/heads/master
2022-11-09T06:49:37.867486
2020-06-09T20:33:52
2020-06-09T20:33:52
271,104,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
#Nathan Wagstaff Assignment #4 # A snowman with two arms and a hat. import turtle #settings turtle.speed(1) turtle.width(10) #base turtle.penup() turtle.goto(0, -300) turtle.pendown() turtle.circle(150) #middle turtle.penup() turtle.goto(0, 0) turtle.pendown() turtle.circle(105) #buttons turtle.penup() turtle.got...
[ "natewagstaff21@gmail.com" ]
natewagstaff21@gmail.com
d4ff66e3840020400fd3bc1f0961d882357aa743
c0598fcf7680dd7919b319f597f3730e1dc56ec7
/Lab2/task13.py
6e03b93c2cc52171b3e032c5b1580373a326f9f5
[]
no_license
Andreev1189/Labs-python-2021
2fc787bb2454d841b42643b9d1d616d0cd4977d8
ba4c178dc79acd8e581064a2c9eb6c0b5c9fc0c3
refs/heads/main
2023-08-05T15:48:48.060674
2021-10-04T07:29:30
2021-10-04T07:29:30
413,296,552
0
0
null
2021-10-04T06:15:41
2021-10-04T06:15:41
null
UTF-8
Python
false
false
1,041
py
import turtle import math from random import * def arc(r): turtle.color('Black') n = 100 for i in range(n): turtle.forward(r) turtle.right(180 / n) def circle(r): turtle.color('Green') turtle.width(2) n = 200 for i in range(n+1): turtle...
[ "noreply@github.com" ]
noreply@github.com
256a78690243b47369486b84acba56ba650f403c
4131625553ff59b4c730ae7148dd5d603d8cb87d
/hackerEarth/challenges/iitKanpurFreshersProgrammingContest2016/pokeluck.py
30419fb90a7798a46de3e00cf2d4155fda419afc
[ "MIT", "Apache-2.0" ]
permissive
odonnmi/learnNPractice
29034304303aab3827e6b3334b1d7d9d65b93e54
eb1c775e4d6e35cebb7b109b46b91f9aecb2d9ec
refs/heads/master
2020-12-04T14:52:00.520219
2019-09-03T06:30:03
2019-09-03T06:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
# Pokeluck ####################################################################################################################### # # Mewtwo is one of the rarest and most famous pokemons in thw pokemon world. If any pokemon gets to fight with # Mewtwo, he is considered to be "1-lucky". A pokemon that gets to fight w...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
ad6fa5571d9c4ecd03ce8e83db718c9c9dde6bb2
2f36dc886195b67fd6fe0de48984e0268b3e0d71
/html-service/html_service.py
15c083d5cc4c0c88804445b6a992a4a2fbbe94af
[]
no_license
aek/zato-labs
84d52b3d1eea515c91fa6e7d4a439af3ee35ca05
302e40b8825f8fba5e3ea065280af742904fb25b
refs/heads/master
2020-12-26T08:17:38.664195
2014-02-16T21:30:27
2014-02-16T21:30:27
16,894,545
0
1
null
null
null
null
UTF-8
Python
false
false
1,093
py
# -*- coding: utf-8 -*- """ Copyright (C) 2013 Dariusz Suchojad <dsuch at zato.io> Licensed under LGPLv3, see LICENSE.txt for terms and conditions. """ # stdlib from cStringIO import StringIO from logging import DEBUG # Django from django.conf import settings from django.template import Context, Template # Zato fr...
[ "dsuch-github@m.zato.io" ]
dsuch-github@m.zato.io
788e4f26f9ce4a49e8009089a81dd509608996ca
1c527a1944264784ba6ed237a723376bdee47f02
/src/utl/strip_csv.py
0c3dc9fa82235b03ec8b3ca868c5a6d64b12ed89
[]
no_license
mikegleen/modes
3544517467b77ddb21ec50c2a624b98e0a7ea308
e77c89f28c623ce8fd30d7727a1b914461c6a0fd
refs/heads/master
2023-09-03T15:10:26.931110
2023-08-27T07:31:42
2023-08-27T07:31:42
139,562,349
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
""" For each cell in a CSV file, strip leading and trailing whitespace. """ import codecs import csv import sys def main(): incsv = codecs.open(sys.argv[1], 'r', 'utf-8-sig') outcsv = codecs.open(sys.argv[2], 'w', 'utf-8-sig') outwriter = csv.writer(outcsv) for row in csv.reader(incsv): fo...
[ "mike.gleen@gmail.com" ]
mike.gleen@gmail.com
931228bd1d0c10ee686af5daf5aa5cbe4bdfae19
96551f7ae1ab0d9bc24bc442dec196caaf328aff
/blog/views.py
8beccf1c0bec9795611be28385c5b537abd3635c
[]
no_license
moaiii/CastawayYourWorries
cd26d4f8535aab478e3fb1bbd3050fa95bd755be
3226622647cdbd0eea55a38540e3b1a7dcdef186
refs/heads/master
2021-01-19T22:47:50.201594
2017-05-22T11:13:44
2017-05-22T11:13:44
88,859,645
2
0
null
null
null
null
UTF-8
Python
false
false
2,062
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from blog.models import Post, General from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from models import Post, Email from rest_framework.renderer...
[ "chris.melville@phntms.com" ]
chris.melville@phntms.com
c490400d7d1cada3e4c8dd3545bcb671952c19dd
e5db9aa8890dd9a584ee2ec6ca79c10f3b33f7c7
/audio_classification.py
96b5449459e5ff88d21ed737dd5a32b6ed194d4b
[]
no_license
Baasant/Audio_classification
d77887702c6ab6ac4f081ac68c05217b3441dedb
993370f8f007937a48b7d463470308897d37d6db
refs/heads/main
2023-08-03T06:21:33.073441
2021-09-18T23:45:53
2021-09-18T23:45:53
407,990,165
0
0
null
null
null
null
UTF-8
Python
false
false
6,004
py
#https://github.com/krishnaik06/Audio-Classification/blob/main/Part%202-%20Audio%20Classification%20Data%20Preprocessing%20And%20Model%20Creation.ipynb #### Extracting MFCC's For every audio file import pandas as pd import os import librosa from tqdm import tqdm import numpy as np from sklearn.preprocessing impo...
[ "noreply@github.com" ]
noreply@github.com
bfcb68987f87927b98914b07904fc10f0cd5aeea
1927bf03784f5b55d1dbfbc375bda95501e3cc4e
/VENV/bin/pip3
2a33998175d9adbfb47f3206649cd7265bf6039f
[]
no_license
szmuschi/Python
5618bf349664f1beed1e53c816cdc3f312d0c790
f57e7d474d7b6ac9b1520378e084e6e17b7370f1
refs/heads/main
2023-01-07T17:45:22.405567
2020-10-27T08:02:37
2020-10-27T08:02:37
301,638,935
0
0
null
null
null
null
UTF-8
Python
false
false
402
#!/home/s/PycharmProjects/Python/Lab1/VENV/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __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...
[ "szmuschi@gmail.com" ]
szmuschi@gmail.com
eb7ae1ac126c5b743c4c5ef5c4ccf26c00e3fe0b
6468584be4f1400ca18dabe59a5c0f05e1f45b03
/dsl/features/create_ngram_matrix.py
6e9dd4263e7604fd6bf0246dd03e788605d20f6d
[ "MIT" ]
permissive
juditacs/dsl
824e04e77d7bf44aab7e0b820b3f36fea9f09e87
d6212cb2ff0755ceed8f37ee2f80ab47c9dc780c
refs/heads/master
2021-01-14T13:21:52.215072
2020-04-16T09:32:02
2020-04-16T09:32:02
35,669,552
2
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
from sys import argv, stderr import cPickle from featurize import Tokenizer, Featurizer from dsl.representation.model import Representation def main(): N = int(argv[1]) if len(argv) > 1 else 3 t = Tokenizer(filter_punct=True, ws_norm=True, strip=True, replace_digits=True) f = Featurizer(t, N=N) f.fea...
[ "judit@sch.bme.hu" ]
judit@sch.bme.hu
c5f52f673df8b19e29beeee459fa1815dba1f7e4
8f139f0f1fd22ab42c2db7d3eb3641e97b73cdb5
/Geometric Distribution I.py
fe69f89f33e5d9d930d795eb1318cf8b964330a3
[ "BSD-3-Clause" ]
permissive
Victory-Organization/HackerRank-10-Days-of-Statistics
28db22842bc778675fd74d00830a5a27c1090522
02e4ba930a4adb77b0fa05556ff7a950c85f3eb4
refs/heads/main
2023-06-18T06:44:42.394028
2021-07-12T18:44:17
2021-07-12T18:44:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
def geometric_distributon(n, p): return ((1-p)**(n-1))*p a, b = list(map(int, input().split())) n = int(input()) print('{:.3f}'.format(geometric_distributon(n, a/b)))
[ "58915216+aash-gates@users.noreply.github.com" ]
58915216+aash-gates@users.noreply.github.com
03ada0e848cb1c19af6d2c1c844f066696db1280
92fac6958ab020d06663598c276d6a1371028c56
/simpleweather/__init__.py
f75e559cd13f51a04e82b4695ad3c3f2b8d9db03
[ "MIT" ]
permissive
CreatorSky/simpleweather
354f28355c5f604d4664946b9e4ce52645e4708a
a79275c4e9a965013fc48b25c3fb9c36fc581f3f
refs/heads/master
2020-07-04T12:29:36.394683
2020-06-11T19:49:05
2020-06-11T19:49:05
202,287,000
2
0
null
null
null
null
UTF-8
Python
false
false
2,844
py
import requests as re from bs4 import BeautifulSoup class Weather(object): def __init__(self, unit='F', cords=None): """ :param unit: F for Fahrenheit, C for Celsius :param cords: Weather of the passed Geocordinates is fetched, If none,automatic Coordinates are fetched by ...
[ "noreply@github.com" ]
noreply@github.com
18ad432e70696eec292c28c163e83e546229485d
45b599cb9828e083e958f0b132fc3e893d81ba87
/TreeParse.py
a0773d154c0a617cc9d5133c6eda2666ed34dfad
[ "BSD-3-Clause" ]
permissive
deaconjs/AlignmentEditor
51beecd3fdfbe96d1b020fd7eb05f63ea7496b02
5d0c2a97aeba40b75e053306827e3d4e860d3f84
refs/heads/master
2021-07-13T19:29:29.096249
2017-10-17T02:55:32
2017-10-17T02:55:32
104,837,812
0
0
null
null
null
null
UTF-8
Python
false
false
3,493
py
class Data: #Class Data is designed to hold an object in a tree # name: the name of the node, generally more for the leaves and root # length: the length of the branch from its top node def __init__( self, name, length, id = 0 ): self.name = name self.length = length s...
[ "deacon.sweeney@gmail.com" ]
deacon.sweeney@gmail.com
8c1d21e127a8369519e07fe11256db5a3fde9c41
adb8ae501aa6a6ff9ba6ab5f5affde701d0c12e2
/snapshot/model.py
9131e06ef6b5c0bf65ae44859e474e99ea0b1da7
[ "Apache-2.0" ]
permissive
rafty/ServerlessEventSoutcing
83d1a4031ac954e6f1b1d17d57f51f93f278ec10
4759a187373af6f0bfded4ff388ba74c09fc4368
refs/heads/master
2020-11-24T06:15:23.874266
2019-12-14T15:43:12
2019-12-14T15:43:12
228,003,694
0
0
null
null
null
null
UTF-8
Python
false
false
6,148
py
# -*- coding: utf-8 -*- import datetime import logging from functools import reduce from pynamodb.models import Model from pynamodb.attributes import ( UnicodeAttribute, NumberAttribute, JSONAttribute ) from exception_handler import ( raise_for_save_exception, raise_for_query_exception, raise_wi...
[ "yagita.takashi@gmail.com" ]
yagita.takashi@gmail.com
4a85b52ba9f626ebd48354c7af531849353182ac
e84446227d42d9cf93ddbdd057ac58af73e96f11
/aasemble/deployment/runner.py
36f07658c4fdaeabbde834e75361b00e3f05a304
[]
no_license
pljensen/python-aasemble.deployment
335d76133a0327695f7afe227864a31f80ab0151
ef42ee4157f1ead79fff75a5c10ecddc761d8d01
refs/heads/master
2020-04-02T00:26:34.930860
2015-10-25T21:40:28
2015-10-25T21:40:28
48,762,074
0
0
null
2015-12-29T18:48:45
2015-12-29T18:48:44
null
UTF-8
Python
false
false
28,972
py
#!/usr/bin/env python # # Copyright 2015 Reliance Jio Infocomm, Ltd. # # 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 ...
[ "Soren.Hansen@ril.com" ]
Soren.Hansen@ril.com
7d21469797bd6dd19ae18a5104d38e6915cec052
d1acce814517a237d9770be067269804b52ebecf
/tests.py
67e605b2a12bb27e831bfaa08fb6698402d81d62
[]
no_license
gpfernandezflorio/incc
4f1d42c29eacaa8cd5521ed9f498d7638b005106
63d304145c65ba6f1910ce2453e65d1548026d33
refs/heads/master
2020-11-25T00:28:25.008786
2016-10-31T10:59:43
2016-10-31T10:59:43
66,871,768
0
0
null
null
null
null
UTF-8
Python
false
false
7,158
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Ir: Índice de relación en un trial = 1/tiempo. # Ir_uxc: Índice de relación de un usuario respecto a una de las cuatro clases = Sum Ir de los trials de ese usuario en los que eligió la clase c. # Ir_cxt: Índice de relación de un choice respecto a un target = Sum Ir de lo...
[ "cyntiab83@gmail.com" ]
cyntiab83@gmail.com
787702abe9f8792377f89128766d2139c6471d3b
4440b2d241d939e4b0a8f6c6abcf4f526d8c056c
/firstpython.py
8db0959598a6bbdcfad6700809b5ba11993efeae
[]
no_license
XmingoZ/allthatjazz
2516d820957cfaf378622a96db36b56a7f5b0477
f19b2a3bffac0f59ba561f2d612c070b4ac75c3f
refs/heads/main
2023-04-22T09:18:46.498594
2021-05-06T13:29:42
2021-05-06T13:29:42
364,875,435
0
0
null
2021-05-06T13:29:43
2021-05-06T10:43:55
Python
UTF-8
Python
false
false
44
py
#display the output print "new python file"
[ "noreply@github.com" ]
noreply@github.com
a95d050d78505518fd176341ec20f39c0b7204e2
f1e86be4aa5b6889b02642d8b554f3ee770db203
/Field.py
7b21c6c733368230e62d849eb4f09b26ee0a2ee8
[]
no_license
solavrov/cfield
02ae193d7563024a9bca54397592628a77d44251
f8eff587643bf9ae10a7efa6be1ea5527e139af2
refs/heads/master
2020-03-30T04:42:01.263695
2018-10-03T13:37:00
2018-10-03T13:37:00
150,757,353
0
0
null
null
null
null
UTF-8
Python
false
false
4,447
py
from kivy.uix.widget import Widget from kivy.graphics import Line, Ellipse, Color, Triangle, Rectangle from kivy.vector import Vector from OVector import OVector from math import inf from kivy.core.window import Window import cdf import rgb class Field(Widget): def __init__(self, field_function, low_left: Vector...
[ "2slavrov@gmail.com" ]
2slavrov@gmail.com
92d788f518b31c7450b6c783c2fe0e6b817f1f9c
8d44166d504bcfb5411f853cb43ee7ca152ba7e1
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build/config.gypi
ae121d3299f74d154c797e24f253a3fd691dc205
[ "Apache-2.0", "MIT" ]
permissive
ChessEvents/player-update-schedule
1030d1393be779c3c79600f762307da3f83c5ad1
c7af402a8fa85d2e34f453fc56e9456252c5f840
refs/heads/master
2021-01-10T18:17:15.087439
2015-12-08T11:58:15
2015-12-08T11:58:15
47,544,134
0
0
null
null
null
null
UTF-8
Python
false
false
3,837
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "mattweb@WH5003167.Adgency-Domain.Ad-Gency.com" ]
mattweb@WH5003167.Adgency-Domain.Ad-Gency.com
4364a1093c7563e3ca1d4b13b6b23db59f3141d7
769d8f3aa2f112fa1b98ce989e80c5bae5dffeba
/calculations.py
4732116e762321debba51817a3eb7c8ff4dc238d
[]
no_license
Babdus/martians
434962e579e51a01c42055b62ace8f03d2c10e71
f07d39a08e84bce4db9cd74e724d171815200acd
refs/heads/master
2022-02-02T23:12:14.756536
2022-01-30T14:43:10
2022-01-30T14:43:10
222,629,248
0
0
null
null
null
null
UTF-8
Python
false
false
8,526
py
import numpy as np import math from scipy.stats import norm constants = ['e', 'pi'] np_functions = [ 'power', 'abs', 'sqrt', 'log10', 'log2', 'log', 'arcsinh', 'arccosh', 'arctanh', 'arcsin', 'arccos', 'arctan', 'sinh', 'cosh', 'tanh', 'sin', 'cos', ...
[ "babdusi@gmail.com" ]
babdusi@gmail.com
88be4411af61e5a31ecce0d735c030caace852a6
4ab2dcfbd4541639f96922ad684f558c64c9ba28
/facedata.py
33f99518985dd6c525ed800d8c9d042de49a3529
[]
no_license
adirayer/Face-Recognition
d3d1839f4aa414c78d2078cbb8cd8d439bf05ba3
913abce48f1bff83e1a978417a1c5e402f806824
refs/heads/main
2023-06-10T21:19:57.547372
2021-07-06T07:34:03
2021-07-06T07:34:03
383,380,343
1
0
null
null
null
null
UTF-8
Python
false
false
1,975
py
# Write a Python Script that captures images from your webcam video stream # Extracts all Faces from the image frame (using haarcascades) # Stores the Face information into numpy arrays # 1. Read and show video stream, capture images # 2. Detect Faces and show bounding box (haarcascade) # 3. Flatten the largest ...
[ "noreply@github.com" ]
noreply@github.com
d7b04cf9763076a4c1f742e7b8007d7ecbca812c
5211bf6e6178b6130d8fc167fd910a50be88bee2
/piglatin/settings_production.py
9baf9da65cf9ea830e1ab47f9d2287cd37f8a5be
[]
no_license
velikooutro/django_translator
fd9c576615093fa56441be3dc2d94789d9291d3f
dc358516d66f57c1eb96bed8f36c1c16b8620103
refs/heads/master
2021-01-23T12:34:45.867714
2017-06-02T17:51:33
2017-06-02T17:51:33
93,176,607
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# Inherit from standard settings file for defaults from piglatin.settings import * # Everything below will override our standard settings: # Parse database configuration from $DATABASE_URL import dj_database_url DATABASES['default'] = dj_database_url.config() # Honor the 'X-Forwarded-Proto' header for request.is_s...
[ "veliko.outro@gmail.com" ]
veliko.outro@gmail.com
12098a4349966f1bb91731bacb395b298b3dec81
04803c70bb97012b7d500a177ac0240fb2ddbe38
/3heptane_pdep/pdep/network42_1.py
ba15fe7bcaabbec6ac0c67a81fd946ab69ff1f2e
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
51,612
py
species( label = 'CCCC(CCC)O[O](138)', structure = SMILES('CCCC(CCC)O[O]'), E0 = (-164.605,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2750,2764.29,2778.57,2792.86,2807.14,2821.43,2835.71,2850,1425,1433.33,1441.67,1450,1225,1241.67,1258.33,1275,1270,1293.33,1316.67,1340,700,733.333,766...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
e57fdecaa8e8af1f6a70af6ad39d54ded1593e07
dec3093213b5586a187035848eb51aafbe62fb5c
/passgenerator.py
f1492a50bbf10aa88e2b6e8319a89760e795aa63
[]
no_license
NikhiSharma/PasswordGeneratorThroughMD5Hash
3beac4b39a82f5d32e774a523e0b08c8515bb4cf
d12fa9d4203899d5d85db4b7a5e8f63eddb2d235
refs/heads/main
2023-01-22T10:35:19.909647
2020-12-07T19:06:01
2020-12-07T19:06:01
319,416,848
2
0
null
null
null
null
UTF-8
Python
false
false
794
py
'''import string,random def generatePassword(num): password='' for n in range(num): x=random.randint(0,94) password+=string.printable[x] return password print(generatePassword(16)) ''' import hashlib flag = 0 pass_hash = input("Enter md5 hash: ") wordlist = input("Fil...
[ "noreply@github.com" ]
noreply@github.com
e9eea4df8f1b7b7476963e1743ec066271cf9a73
9ef6107b62765082fdffa708fc2a8fc9aa6cbe1c
/Tests/interop/net/loadorder/t3h.py
5e290012eae57a5c3727a59a3ec55d5c16b05805
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dsonbill/IronPython3-NETCore
c1f94547c14d0b2f9955ed83a025efaae76cb0e3
8c76bdbec1754233f04b41ecd28e9bae2c862fd0
refs/heads/master
2022-12-23T11:26:17.219724
2017-10-23T11:06:10
2017-10-23T11:06:10
107,932,545
2
1
Apache-2.0
2022-12-12T07:09:07
2017-10-23T04:36:00
Python
UTF-8
Python
false
false
1,606
py
##################################################################################### # # Copyright (c) Microsoft Corporation. All rights reserved. # # This source code is subject to terms and conditions of the Apache License, Version 2.0. A # copy of the license can be found in the License.html file at the root of t...
[ "jdhardy@gmail.com" ]
jdhardy@gmail.com
08a13407b68ca6cda24394e7cdfc4eb4314bec1e
bc64931a5cdfed6d54a8d8828e9b9d4510d7a998
/test/multisig/commands/create_multisig_address_test.py
83ae9dbd6d76cdcf5210d0bea2085f4dc26f7cac
[ "MIT" ]
permissive
valentinlehuger/iota.lib.py
4b9ddfda9c283b4fde6d9ba6ab5d6c1add5cd920
e345de981829a36ceaccf3862835c0dd28486950
refs/heads/master
2021-01-19T12:26:09.709236
2017-07-16T01:19:39
2017-07-16T01:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
# coding=utf-8 from __future__ import absolute_import, division, print_function, \ unicode_literals from unittest import TestCase import filters as f from filters.test import BaseFilterTestCase from iota import TryteString from iota.adapter import MockAdapter from iota.crypto.types import Digest from iota.filters i...
[ "phx@phx.ph" ]
phx@phx.ph
a0815932e8ddab8b8f48ee48ac30b57112bca357
a7f09e36253a6cde37eeddf142bec504f7e7e6f1
/ATM/graphics/tree_converter.py
be9d0a0e6b1d775d7368a1877c2af06d67c62405
[]
no_license
jermcmahan/ATM
326c0a6da2f43e6671738d887bbc2e54ca1b3753
bdc3454e3755c150c4095904f1a9d876b4d282ed
refs/heads/master
2021-10-22T07:02:38.936085
2019-03-08T23:18:55
2019-03-08T23:18:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
from networkx.classes.graph import Graph """ TreeConverter --- class to perform the conversion from an ATM proof-tree to the graphical representation of the tree :author Jeremy McMahan """ class TreeConverter: """ Constructs the graphical representation of the proof-tree from the computation tree :param ...
[ "noreply@github.com" ]
noreply@github.com
0c43fc267f1d0b224ff7fc63b37eaf73652c3cda
e8202ff4594f8d4f9834d6be165b39a8fc3d437d
/week8/codingbat/7_string2/3.py
4f2b097ffc034151fec43c30df85d827dfb38eb6
[]
no_license
as1k/webdev-labs
93e939999f38520fc701e245341fee13dfdd8cb2
393bf4ffdae8d60640a54efabce62db4ba76eeb8
refs/heads/master
2022-04-14T15:38:15.033878
2020-04-16T22:12:17
2020-04-16T22:12:17
237,159,602
1
0
null
null
null
null
UTF-8
Python
false
false
62
py
def cat_dog(str): return str.count("cat")==str.count("dog")
[ "nurmukhambet.ak@gmail.com" ]
nurmukhambet.ak@gmail.com
3c4a77994e80ffff18910f6c7b8dabd80beaa432
5001bcd36f75203956c424eaff0ac135db7e9b5a
/lesson-2/example01.py
431cd11fcabeb4cec48ab25a1978fccdc8a73710
[]
no_license
Andrey-Sherenkov/python_training
cf6d637df1b191761820a62b7c0b8a991f7be815
f776d0c623e2ecb85bacb27baf3f7fa4c61bd658
refs/heads/main
2023-09-03T20:27:07.601982
2021-11-05T15:20:57
2021-11-05T15:20:57
415,219,654
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# 1. Создать список и заполнить его элементами различных типов данных. # Реализовать скрипт проверки типа данных каждого элемента. Использовать функцию type() для проверки типа. # Элементы списка можно не запрашивать у пользователя, а указать явно, в программе. list_of_values = [1, 2, 2.1, 'text', None] print(list_of_...
[ "andrejjag23@mail.ru" ]
andrejjag23@mail.ru
76ae977ac197588171decab53690a43a1b0da206
6f52fdaabac2275bd2f9598b891ad82214f1f7c7
/venv/bin/easy_install
b30eb10755a0b5b290d80251088b23c7b6bae279
[]
no_license
Mone-Lee/python-webapp
75f2340f1b59bd0203fd68b6f3a95bbaba69760d
db0aa3da26bb432aa8770917d9a7233381248e00
refs/heads/master
2023-05-31T14:29:18.879083
2021-06-08T06:56:35
2021-06-08T06:56:35
353,957,737
0
0
null
null
null
null
UTF-8
Python
false
false
280
#!/Users/lee/Documents/project/python/python-webapp/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "1051933474@qq.com" ]
1051933474@qq.com
9c1fdfa1cf187a7a17c2c72acdf43883bcf11dce
78d7e2b47418afe873db61c77241a0094f3bcab0
/circulante/circulante/urls.py
b23e2db39021a3b02652ff6eaa6c245e2b10d698
[]
no_license
Rodrigo-Ornellas/circulante
f239aeefc78c804a3a2e607ae85cbcb99a64cde9
4a2e2813a927a5e1a05c3784e5c9c412b441fe7f
refs/heads/master
2021-01-15T17:42:11.283401
2012-05-09T01:52:04
2012-05-09T01:52:04
4,059,306
1
0
null
null
null
null
UTF-8
Python
false
false
771
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'circulante.views.home', name='home'), # url(r'^circulante/', include('circulante.foo.urls')), ...
[ "rodrigo.ornellas@mail.com" ]
rodrigo.ornellas@mail.com
30fc99c1e299f230a6679c3c4150367665d667e7
30736dab9d8e682e5603d4803349144a5f6a84fb
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2019_08_01/operations/_resources_operations.py
2532fbe114047a2aa4df6e55706d0512029e99c1
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
montgomp/azure-sdk-for-python
6fcaffc59f4321852aa71109691e94ad38c66464
0ffb0b0de095b97cbc5b69309bbce0a3b91d3eb4
refs/heads/master
2020-12-06T11:08:01.683369
2020-01-07T23:24:42
2020-01-07T23:24:42
232,445,563
1
0
MIT
2020-01-08T00:45:33
2020-01-08T00:45:33
null
UTF-8
Python
false
false
64,532
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 ...
[ "zikalino@microsoft.com" ]
zikalino@microsoft.com
af1f62d0bf863e6597fbe007f00340142d4450ce
16b2c2365eff11f34ae260321e6dde78ab09b45d
/api/api_services/PersonService.py
14c5f4056460582f3abd2dd4a7f5dc56475455ed
[]
no_license
laken11/TMS
bf941802e350a16db0f2314330ad315e73ce48f0
c271f2cbb1624ab943c10bacaa6406ec8ca08083
refs/heads/dev
2023-04-27T22:03:38.811267
2021-05-08T12:06:54
2021-05-08T12:06:54
362,518,465
0
0
null
2021-05-05T10:07:54
2021-04-28T15:27:28
Python
UTF-8
Python
false
false
1,823
py
from abc import ABCMeta, abstractmethod from typing import List from api.api_dto.PersonDto import * from api.api_repository.PersonRepository import PersonRepository class PersonManagementService(metaclass=ABCMeta): @abstractmethod def create_person(self, model: CreatePersonDto): """Create a person ob...
[ "omitogunopeyemi@gmail.com" ]
omitogunopeyemi@gmail.com
4f31d3739a8a0169184bb538944118b6f95aec4a
fd4df5cf34f8427153bf01d25c39ded9315b8d6a
/tests/test_ram.py
7a12aff7cec9d97af7a57edbc2623b3b2f0b1518
[ "BSD-2-Clause" ]
permissive
jepebe/nes
9ac00e89cf474b7811020d18bf7fd8f15b556339
79e6ad689473b7a3a4f3b6d7cf2c381220fcf140
refs/heads/master
2023-01-05T22:38:30.714836
2020-10-26T07:33:10
2020-10-26T07:33:10
300,615,959
1
1
null
2020-10-26T07:33:11
2020-10-02T13:01:36
Python
UTF-8
Python
false
false
567
py
from nes.bus import Bus class TestCartridge: def cpu_write(self, addt, value): return None def cpu_read(self, addr): return None def test_ram(): bus = Bus() bus.insert_cartridge(TestCartridge()) for addr in range(0x0000, 0x800): bus.cpu_write(addr, 0xff) assert b...
[ "jepebe@users.noreply.github.com" ]
jepebe@users.noreply.github.com
e48a0f65f7443f01f4836af97597bfa424e10120
eb82bd9ed38ccf06cc2c0aafd1a64b9c88063f5f
/mysite/sign/migrations/0002_auto_20180709_1332.py
278599b58f0e2b085a3944e2a960f8e3a1b5d4dc
[]
no_license
cophoto/pydev
3ca2e1307f20e37ba79869fcbc5ddecacf52a8d0
8b3db7a8f5110a94500f7e50b627408fddc9f80b
refs/heads/master
2020-03-22T15:57:31.820284
2018-07-11T01:41:07
2018-07-11T01:41:07
140,292,089
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# Generated by Django 2.0.7 on 2018-07-09 05:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sign', '0001_initial'), ] operations = [ migrations.AddField( model_name='event', name='limit', ...
[ "davidliu.net@gmail.com" ]
davidliu.net@gmail.com