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
ab785e4e8925050be7cb054a2f3c4655d668e8c4
6bf79c4a7d2f44e4932c8a41cb2b69d909ed29b8
/tests/test_post.py
1130351259d0745751b19ac6e0a7f7808b19a8b3
[ "MIT" ]
permissive
beli302/Pitches
7995cbc33c73dc2f3b2ba6a5fc095d670a9b2501
68d488950714163b02d960a4f3249ec366b7c8e9
refs/heads/master
2022-10-13T07:09:31.273372
2020-02-21T13:35:36
2020-02-21T13:35:36
238,943,056
0
0
MIT
2021-03-20T02:58:43
2020-02-07T14:25:22
Python
UTF-8
Python
false
false
651
py
import unittest from app.models import Post class PostModelTest(unittest.TestCase): """ Test Class to test the behaviour of the class """ def setUp(self): """ Set up method that will run before every Test """ self.post= Post(title = 'This is a heading', content = 'T...
[ "belindashirkiz2@gmail.com" ]
belindashirkiz2@gmail.com
af30bd9609124f4e5b5d8875b39026c3d7f66fae
b0691f14d2c03435beec9ac7f9d045eceac01f93
/ML-Research/Archives/download_lung_data.py
414ede9c75f82b3fd5a2f841f643300cda8d7738
[ "Apache-2.0" ]
permissive
haichandar/MachineLearning
148b04014897aa6c556ada071ae1ca8efcdb40a5
658e65ea0a4bc5bd98fd1db5f8b513d9e2e84e2b
refs/heads/master
2022-01-07T17:38:00.262584
2019-05-18T16:46:05
2019-05-18T16:46:05
166,527,765
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
from urllib.request import urlopen import os urls = {'pneumothorax_test':'https://www.dropbox.com/s/x74ykyivipwnozs/pneumothorax_test.h5?dl=1', 'pneumothorax_train':'https://www.dropbox.com/s/pnwf67qzztd1slc/pneumothorax_train.h5?dl=1'} data_dir = '.\Lung_Data\\' for (name,url) in urls.items(): if not os...
[ "Chandar_S@ad.infosys.com" ]
Chandar_S@ad.infosys.com
46401c4b722d15dc36268249a4d8ee52d0eed3aa
a94c7b5e47d0880858b422d5d6dd3ed32f6c4ca7
/Temp_UI/cpu_ui.py
a8306df705219088341bee454aeaf41c85df7af6
[]
no_license
YuriyGoryachkin/prototype
22a540d56cfad43c65f5b110e49875795fc4f319
e65e4caa5c67c2d0e5c75cfd540fd6f3bacab377
refs/heads/master
2020-04-23T08:11:50.577624
2019-02-17T16:00:42
2019-02-17T16:00:42
170,882,761
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
import cpuinfo import psutil print(cpuinfo.get_cpu_info()['hz_actual']) print(psutil.cpu_freq())
[ "monguste@gmail.com" ]
monguste@gmail.com
6904be9b78af333bc697a4294e9e16882663dcdb
c4a752b1291b0ac9c45928f5ebe6c46c9cbd0d5a
/django_policies/exceptions.py
61c8ad3e083c2a8adad562894befad70dc477595
[ "MIT" ]
permissive
fedenko/django-policies
f3947afa848450e52bf04c9581a566c1c5521ef1
97a2ed378af20d4c9cf2638893d3f319003e173a
refs/heads/main
2023-04-13T14:33:35.992518
2021-04-25T16:03:57
2021-04-25T16:03:57
361,409,966
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
class PolicyAlreadyRegistered(Exception): pass class PolicyNotRegistered(KeyError): pass
[ "cfedenko@gmail.com" ]
cfedenko@gmail.com
59b265a6b37a1d3ca27525a1826488ed52ce1794
2915e5a34da17dab218ad615dc30cebaf80ccaf5
/model/CNN_BN.py
d31d8d1e660e059525d4f75800b6de3525133aee
[]
no_license
NanoporeAna/EEGBaseDL
cef074a410bf679c681547141a012b578daa2602
c663e70cbefe1f82695d3978cb5213ba95b6b07f
refs/heads/master
2023-02-09T01:46:56.665085
2019-07-10T02:33:43
2019-07-10T02:33:43
195,966,600
0
0
null
null
null
null
UTF-8
Python
false
false
16,020
py
import os import tensorflow as tf import numpy as np from tensorflow.python.ops import control_flow_ops from tensorflow.python.training import moving_averages from data.Tailor_Test_Data import tailor_test_batch from data.Tailor_Train_Data import tailor_train_batch from data.test_data import test_batch from data.train_...
[ "17888808985@163.com" ]
17888808985@163.com
f7f87f6e23d10dd65ab01b555e144d39934285c9
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/exceptions/error_codes.py
faca39a3c0924d90bce9ef83a30fe5a758a7f70c
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
61,855
py
__all__ = () __doc__ = """ The possible json error codes received from Discord HTTP API requests. Import it as `ERROR_CODES`. Examples -------- Sending a direct message to a user. ```py from hata import ERROR_CODES, DiscordException async def try_send_private_message(client, user, content): private_channel = ...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
0c766cc55b91d47cac770418a24cf7240e8dc7e0
b61994fee5c28b1e2d0c25c61e90af1f8bbbfd85
/mymodules/myclass/augmentations/mydataAugmentation_difSpe.py
4a779b281c7aae0aed9236c9d3d4b1947615054e
[]
no_license
ZhaoJinyu96/DNN_RGBStokes
f083bde8559303b3112dfc1b62c35575031018df
31c1d7cd963632a9b1aacd14dd46bb360b02c75f
refs/heads/master
2020-07-17T07:11:05.493759
2019-09-06T00:42:05
2019-09-06T00:42:05
205,968,325
0
0
null
null
null
null
UTF-8
Python
false
false
10,499
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 7 15:38:09 2019 @author: 0000145046 """ # add path import sys import pathlib current_dir = pathlib.Path(__file__).resolve().parent sys.path.append(str(current_dir.joinpath("../../"))) import cv2 import numpy as np import mymodules.myclass.augmentations.d...
[ "noreply@github.com" ]
noreply@github.com
c296bcf5d763803370519dbc7b0cfa134d9b4fc7
fd3f0fdc6af4d0b0205a70b7706caccab2c46dc0
/0x08-python-more_classes/1-rectangle.py
89807a014a51f03ba7255d4d66673efba41e72ac
[]
no_license
Maynot2/holbertonschool-higher_level_programming
b41c0454a1d27fe34596fe4aacadf6fc8612cd23
230c3df96413cd22771d1c1b4c344961b4886a61
refs/heads/main
2023-05-04T05:43:19.457819
2021-05-12T14:51:56
2021-05-12T14:51:56
319,291,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
#!/usr/bin/python3 """This module contains geometric shape classe(s)""" class Rectangle: """Simulates a real world rectangle""" def __init__(self, width=0, height=0): """Initialises a rectangle of a given width and height""" self.width = width self.height = height @property de...
[ "paulmanot@gmail.com" ]
paulmanot@gmail.com
a93d3736a5ccc63da05905c27982a9691a5a88c9
251b9ca6e4bab3e55146aad9376dbdac878b0bfd
/solr/app.py
1bf018290933fffb6fe9a201d6446dd0c83bc1f9
[ "MIT" ]
permissive
romanchyla/solr-service
1637bea95b3bdb3976de33c8d583a5bb77d37e41
5df2f8a0afcc191b94ee1917053a5b3155df181c
refs/heads/master
2021-01-18T00:57:32.681050
2015-01-26T14:39:19
2015-01-26T14:39:19
29,889,261
0
0
null
2015-01-27T00:23:25
2015-01-27T00:23:25
null
UTF-8
Python
false
false
914
py
import os from flask import Blueprint from flask import Flask, g from views import StatusView, Resources, Tvrh, Search, Qtree from flask.ext.restful import Api def _create_blueprint_(): return Blueprint( 'solr', __name__, static_folder=None, ) def create_app(blueprint_only=False): app = Flask(__name...
[ "vsudilovsky@gmail.com" ]
vsudilovsky@gmail.com
0739b43c2a2b79b8090050a8acbd7aadc5e93df2
341e9638416d6687344ed2ef2ebb70cf107ea429
/python/recommendation/mmoe.py
56821d878dc5464ae4cc6589ca676d1cc5c8e314
[]
no_license
xiaoSUM/PyTorch-On-Angel
2825d9afb750d710e4b63afa69eca0a8c83857f9
cbb7f09deb4e3ee390afc1f04321eae6dc1a1022
refs/heads/master
2023-07-27T17:07:47.598975
2021-09-11T06:59:22
2021-09-11T06:59:22
385,549,679
0
0
null
2021-07-13T09:31:20
2021-07-13T09:31:19
null
UTF-8
Python
false
false
6,142
py
from __future__ import print_function import argparse from torch import Tensor from typing import List import torch import torch.nn.functional as F class MMOE(torch.nn.Module): def __init__(self, input_dim, experts_num, experts_out, experts_hidden, towers_hidden, tasks): super(MMOE, self).__init__() ...
[ "862054822@qq.com" ]
862054822@qq.com
5cf4b3a383932495d6f8c960f9b90062fb7988b3
2fed297f777ac6a01f21870d74e4259ed0c17dfd
/probability/calculations/calculation_types/array_calculations/mean.py
3db060ba4e5169924bf6ce7ee5d3fa1917b30fc6
[ "MIT" ]
permissive
vahndi/probability
1bf4e5e7835d5dc57b5a5a43d76ded2b23975ec5
ff3f5434d3da0d46b127b02cf733699e5a43c904
refs/heads/master
2023-05-24T17:04:00.430326
2023-05-22T13:53:41
2023-05-22T13:53:41
231,456,036
3
0
null
null
null
null
UTF-8
Python
false
false
241
py
from probability.calculations.calculation_types.array_calculation import \ ArrayCalculation from probability.calculations.operators.array_operators import MeanOperator class Mean(ArrayCalculation, object): operator = MeanOperator
[ "vahndi.minah@gmail.com" ]
vahndi.minah@gmail.com
9f9b0420444650d8f9ce67002d4ec0cb16000ab6
c1ccf743b07e21ef86a1d7d2f68e63cdd2af0dce
/uboone/UBFlashFinder/mac/unit/check_ophits_to_flashes.py
9102576cb84a11e31bcb5f29e1ed74b0cd65fb8f
[]
no_license
MicroBooNE/uboonecode
383425806d3ae0a89f3930e20b87016deda1d478
b575e518da1098a274cb1f4cef57e9f76c11c279
refs/heads/master
2021-01-12T03:19:44.325785
2017-01-30T19:25:50
2017-01-30T19:25:50
78,196,104
2
0
null
null
null
null
UTF-8
Python
false
false
2,946
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.pyplot as plt import matplotlib.colors as mpc import matplotlib.dates as dts import matplotlib.patches as patches import numpy as np import ROOT as rt from larlite import larlite as fmwk event_ophit = rt.larlite.event_ophit() channel = int(np.f...
[ "marco.deltutto@physics.ox.ac.uk" ]
marco.deltutto@physics.ox.ac.uk
2f1a1b08c185b1b0d92dabc6b7e9c8bbfc679679
a8628a26a551c3407fd68257606d415c7c48437e
/python core programming 3/chapter 6/6-1.py
c0c9a1c15023c127ced6223244ca31d41cc52fe4
[]
no_license
GitForBruce/notes
40a531de2f0255b71bbbfd1c95dfcf4928d24838
13942723829f2cfb44190df3fb61b8c4ccc155d9
refs/heads/master
2023-04-10T05:03:42.507179
2021-04-26T06:37:11
2021-04-26T06:37:11
354,271,850
0
0
null
null
null
null
UTF-8
Python
false
false
6,472
py
# -*- coding: utf-8 -*- import os from random import randrange as rand import builtins from pymysql import err if isinstance(builtins, dict) and 'raw_input' in builtins: scanf = raw_input elif hasattr(builtins, 'raw_input'): scanf = raw_input else: scanf = input COLSIZ = 10 FIELDS = ('login', 'userid', '...
[ "google_he@hotmail.com" ]
google_he@hotmail.com
790b490a8f37ce4083ad561170267da2bb515c8c
decc8806df35aa8519166b04abc8cb44f046da05
/Round 1/9.GlobalsAndBooleans/startscript.py
c1066034ad751d5d366d52937e28b9612da4d74e
[ "Unlicense" ]
permissive
beetlesoup/udemy-python-scripting-a-car
2b24925769c918141bba03430c8768d2c2439ffc
ae41491161821a8f4e63fc86c368a71bb3d6cc15
refs/heads/main
2023-01-19T10:37:36.727543
2020-11-28T10:57:22
2020-11-28T10:57:22
316,712,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
from browser import document, window, alert, aio print("hello world!") env = window.env env.step(0) async def sleep(): await aio.sleep(0.2) def isRoadAheadAvailable(): lidarState = env.getState().lidar lidarState.reverse() carFrontLidarLine = lidarState[2] # Radar line rigth in front o...
[ "sairafi.b@gmail.com" ]
sairafi.b@gmail.com
e7cbf7f5f296c665afe04f9b2bdb65a83f0e22d5
217493eca509bd7ae2280e1aaa1ac0fa9e0fc491
/project/project/urls.py
64a272d6daca90086d366ac3624e0dbf3a3f416b
[]
no_license
sonnynomnom/myrepo
6792702a91547fed11edbacb502d249751c84336
ea09c52e18a198307972d188078c40eb301d528e
refs/heads/master
2021-01-21T08:24:47.648353
2017-05-17T22:48:15
2017-05-17T22:48:15
91,626,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "sonnynomnom@gmail.com" ]
sonnynomnom@gmail.com
899b81818d8f74f3bee4c7e2334d4d9090a0628c
96eaab9d51545ca68441da29979779339b939233
/tree/cart.py
8aced3f42850c42394d74f636d536f01e8def698
[]
no_license
wangkainlp/MachineLearning
c85ad605f21656313deaa20394152109534a2700
efeaf4b15ab3e32ff4df8567679b8f55258d36cd
refs/heads/master
2021-04-15T03:08:18.478331
2019-11-25T11:04:26
2019-11-25T11:04:26
126,273,787
0
0
null
null
null
null
UTF-8
Python
false
false
3,782
py
#coding:utf-8 import sys import numpy as np # from tree_node import TreeNode from tree_node import * from ccp import * def variance(numList): if len(numList) <= 1: return 0. avg = 1.0 * sum(numList) / len(numList) varSum = sum(map(lambda i : (i - avg) ** 2, numList)) return varSum def dataVa...
[ "wangkainlp@gmail.com" ]
wangkainlp@gmail.com
d8fd4caa1881767fdbdb3243b826d95602368b79
246e9200a834261eebcf1aaa54da5080981a24ea
/project-euler/26-50/quadratic-primes.py
687b00c3053fa2d1e6a26428025f06a178f6a92c
[]
no_license
kalsotra2001/practice
db435514b7b57ce549b96a8baf64fad8f579da18
bbc8a458718ad875ce5b7caa0e56afe94ae6fa68
refs/heads/master
2021-12-15T20:48:21.186658
2017-09-07T23:01:56
2017-09-07T23:01:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from math import sqrt def prime(n): if n < 2: return False if n == 2: return True else: for div in range(2, int(sqrt(n)) + 1): if n % div == 0: return False return True max_primes = 0 product = 0 for i in range(-999, 1001): for j in range(-9...
[ "jacquelineluo95@gmail.com" ]
jacquelineluo95@gmail.com
6d47fc113aa0e87777b1fe5c74c0a6126631db97
218cdd10062f7c1c859c9a2e51c048884d5b1c4f
/4/item.py
767f84af4d3e7b3a4d2505c4570356412da806ff
[]
no_license
Jecosine/python-couse
b13c32fe86e29d6cba5af771a6e2d16ebb7388c8
4ddabc3b47df8c8cc01c56da87682259545553b3
refs/heads/master
2020-07-25T05:43:35.840681
2019-12-10T05:12:25
2019-12-10T05:12:25
208,184,613
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
s = [10, 12, 15, 11, 14] w = [210, 240, 270, 230, 300] items = {} for i, j in zip(s, w): v = j / i items[v] = i sorted_value = sorted(items.keys(), key = lambda k:k, reverse = True) method = {} for i in sorted_value: method[i] = [0, int(i*items[i])] # print(sorted_value) # print(items) result = 0 total = 48...
[ "mj_ol@outlook.com" ]
mj_ol@outlook.com
15f29ca53b049d9f402631c910ef1bf5da7b06bd
a2b4021104477a791e6e813fecfae76b739b9e0e
/firstapp/forms.py
4df704f2bdccd49c97f9f283495340c94b278b9e
[]
no_license
mainuddinrussel73/Flea_Mart
5ada456c536376d084f6937099ae821f76a736f8
47382715a4ca4228fba87073bd9c5fe22e0e3bae
refs/heads/master
2021-05-12T03:41:33.893609
2019-04-30T03:42:09
2019-04-30T03:42:09
117,624,397
1
0
null
null
null
null
UTF-8
Python
false
false
519
py
from django.contrib.auth.models import User from django import forms from firstapp.models import UserProfileInfo from django.views.generic.edit import UpdateView class UserForm(forms.ModelForm): password = forms.CharField(widget=forms.PasswordInput()) class Meta(): model = User fields = ('...
[ "mainuddinrusselbuet73@yahoo.com" ]
mainuddinrusselbuet73@yahoo.com
cddbe265c29f7b94fc144a9b12d20bbd7d13e296
3afc61e1ee2ca7152f0adaf8d3ad8709843b5823
/take/tutorial12/train_hmm_percep.py
21bd250700355052b4e83797a8dec7011c4f2cf7
[]
no_license
tmu-nlp/NLPtutorial2017
87114aa96c03faa5023b44228aed939a1f017f0b
c31011ab55a85f81a078c7c9ed64807e258d3b94
refs/heads/master
2021-01-19T22:39:59.991612
2018-07-02T05:52:21
2018-07-02T05:52:21
88,833,788
1
1
null
null
null
null
UTF-8
Python
false
false
5,877
py
from collections import defaultdict from pprint import pprint import random # unknown smoothing lambda_coef = 0.95 lambda_unk = 1. - lambda_coef V = 10**6 emission = defaultdict(lambda : lambda_unk/V) # initialize with lambda param. transition = defaultdict(float) possible_tags = dict() train_input = '../../data/wik...
[ "take" ]
take
5023d19ebac999654492258beacf94e2dad6ccac
53ae08f886b3b803471b8a8d27148b542844134a
/indicator_heuristic_strategy/indicator_analysis/indicatorManager.py
be9f155b72d3eb6f17b0a2bfd7c9db492c518aa2
[]
no_license
suku-h/quant
ead6fc819baee69c6d6828332c4c0bf1df314742
8e478c34a22edaa60776cf7d35e5d38d7cfd1600
refs/heads/master
2021-01-20T09:49:23.442304
2017-11-17T01:23:26
2017-11-17T01:23:26
90,290,004
1
0
null
null
null
null
UTF-8
Python
false
false
6,871
py
import pickle import talib import pandas as pd import numpy as np import csv # Check the answer https://stackoverflow.com/a/20627316/5512020 # to prevent the warning: A value is trying to be set on a copy of a slice from a DataFrame. pd.options.mode.chained_assignment = None # default='warn' total_res = np.zeros(13)...
[ "sukumar.honkote@gmail.com" ]
sukumar.honkote@gmail.com
0ee4d64d9b1e4ffc0fcbe7cb06b71dad025f7e6b
95f0d18cfabeb3806d6a54f80a47aa3b7f996dfb
/forum/migrations/0075_comraderybetainvitation.py
f60750797ee261e012e6d049a12d98c66f488daf
[ "MIT" ]
permissive
thedeadwoods/Comradery-API
14eade52bc41b4b5e2fdbf5746bff468c62c75d0
0d30df376f5542d01a04b96c5fdf9363d3103679
refs/heads/master
2023-03-23T07:52:27.476182
2021-03-06T20:01:36
2021-03-06T20:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# Generated by Django 2.2.7 on 2020-03-29 07:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('forum', '0074_auto_20200329_0435'), ] operations = [ migrations.CreateModel( name='ComraderyBetaInvitation', fields=...
[ "rishabhegde@Rishabs-MacBook-Pro.local" ]
rishabhegde@Rishabs-MacBook-Pro.local
54c4dc43a68b2bd716177955582c0550c3a14108
a9cb9599d6114186ce8b07c234e9fe561f47d933
/start_docker_agent.py
2cf5597c36c1eacdaade46b01f07e7e553585ed0
[]
no_license
mstefferson/prefect-demo
9a91a65b40225fd67259571d17182109713c957f
d10cfbdf5ad03c09486e6b7235964ee5bdc30060
refs/heads/master
2023-07-19T07:10:34.121458
2021-08-30T00:26:44
2021-08-30T00:26:44
400,655,266
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
import os from prefect.agent.docker import DockerAgent volumes = [] # volumes = [f"{os.getcwd()}:/mnt"] DockerAgent(labels=["docker"], volumes=volumes, show_flow_logs=True).start()
[ "mstefferson@gmail.com" ]
mstefferson@gmail.com
5c6620edec199d9f5d5a8418a074133844d17c7c
e34d69f33d9bf3d9de99343ba24ad78bc5197a93
/scripts/cmp_lj_sync
f25d123129b22ec54a527691be2a502d7f0f1e29
[]
no_license
cms-ttH/ttH-TauRoast
8e8728a49d02d9e8d7dc119376a4aefb6e8fd77d
3fe6529d7270dc091db00f95997ca6add8b95ac9
refs/heads/master
2021-01-24T06:13:06.485445
2017-10-11T14:04:05
2017-10-11T14:04:05
10,819,593
2
5
null
2016-09-15T07:19:20
2013-06-20T12:46:59
Python
UTF-8
Python
false
false
656
#!/usr/bin/env python import sys def read(fn): evts = {} with open(fn) as f: for line in f: if not line.startswith('1'): continue run, lumi, event, stub = line.split(',', 3) evts[(run, lumi, event)] = stub return evts me = read(sys.argv[1]) kit ...
[ "matthias@sushinara.net" ]
matthias@sushinara.net
c692de65698326ab9e089d44a441e077f6fc5116
358d21d74a5a58c68e06b08226d293e155cc0d7b
/pyless/pyless/settings.py
2e79eaa8bcebc44eea762656db93c6188e417b3c
[]
no_license
nymoral/pyless
bfd8a5b3c77e67759c13cb606d082d119bf26f1a
8abbb0bb80ae59d66cadf5ac5f6b9e31ecb62856
refs/heads/master
2021-01-17T17:20:15.940478
2016-06-16T18:37:18
2016-06-16T18:37:18
60,605,406
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 't5vd^#!f30ihkqd3a#uu^*a+9n^v+)ud67iebkg$#u*!kh8c4a' DEBUG = True ALLOWED_HOSTS = ['localhost'] INSTALLED_APPS = [ 'football.apps.FootballConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.con...
[ "aivaras.saulius@gmail.com" ]
aivaras.saulius@gmail.com
0b592ad4dde20b7cd79e54e5e4af78da19171daa
8768c33255a58603509754a4e24a90f00ad7562e
/posthog/api/instance_status.py
2c0082f37ef4e2f3a5932a1c64d6c1f00b51e044
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
EDsCODE/posthog
73422230a9ea459525b0faf7a26409c3f560668b
75b86cae6a545c2ce319b2b830776d0945a87d05
refs/heads/master
2021-07-15T02:16:40.062146
2021-07-12T21:06:28
2021-07-12T21:06:28
251,130,346
0
0
MIT
2020-03-29T20:43:44
2020-03-29T20:43:44
null
UTF-8
Python
false
false
7,333
py
from typing import Any, Dict, List, Union from django.db import connection from rest_framework import viewsets from rest_framework.decorators import action from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework.request import Request from rest_framework.response import Response from post...
[ "noreply@github.com" ]
noreply@github.com
165c12e14da405727a906d3e419de0a1d7201897
37279a0ac59daab785f1d1583851eb3f5dad30e1
/workflow/oer_analysis/oer_scaling/oer_scaling.py
4e2df538b6004a0966af53cec1e2bb3ef03c7538
[ "MIT" ]
permissive
flash-jaehyun/PROJ_IrOx_OER
50269e34f428e4c54b34afe3e07aae77e6ff82fc
e0b3ef8e69deeb41d62059a92f466477238efbed
refs/heads/master
2023-02-09T05:45:11.969160
2020-12-30T23:18:54
2020-12-30T23:18:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,594
py
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.4.2 # kernelspec: # display_name: Python [conda env:PROJ_irox_oer] * # language: python # ...
[ "raulf2012@gmail.com" ]
raulf2012@gmail.com
b9f4c1ee05705264d5c2b945f6b48035a79bbcbf
1f0e94ab15f00dc02f94420e374a8328723f95bb
/Sorting/mergesort.py
4166122c89fa0b5c6eb011241c94d80bb26101b3
[]
no_license
fdelaros/Lab2_202010
5bdf5a7a75ddad5de384be43779c7b8ff12b5909
7a4ba7edd52f61ec98b405d33f63fbb38a1c2947
refs/heads/master
2022-11-23T17:15:06.525186
2020-07-28T19:12:32
2020-07-28T19:12:32
280,005,240
0
0
null
2020-07-15T23:35:41
2020-07-15T23:35:40
null
UTF-8
Python
false
false
2,350
py
import config as cf from ADT import list as lt from DataStructures import listnode as node def mergeSort (lst, lessfunction): lstaux = lt.subList (lst, 1, lt.size(lst)) #crear una lista auxiliar del mismo tamaNo y con el mismo contenido sort(lst, lstaux, lessfunction, 1, lt.size(lst)) def sort (lst, auxls...
[ "fde@uniandes.edu.co" ]
fde@uniandes.edu.co
6d4fde5671e5072285e7d7257570788ad7fdcaa1
724e1cb403ff723130ba8746df657e21da05349c
/scripts/f_logger.py
751d79cf22337fe121b7c529e62f904e1817e82d
[ "MIT" ]
permissive
bereketkibru/Pharmaceutical-Sales-Prediction
3f670634647bedcb89beac3224a762bd7ccdf8e1
056a832a46cc6a74bd9314d69f25f071a54e9cd5
refs/heads/main
2023-07-13T13:28:28.334620
2021-08-25T17:48:44
2021-08-25T17:48:44
389,676,518
0
1
null
null
null
null
UTF-8
Python
false
false
592
py
import logging class F_Logger: def __init__(self, file_name: str, basic_level=logging.INFO): # Gets or creates a logger logger = logging.getLogger(__name__) # set log level logger.setLevel(basic_level) # define file handler and set formatter file_handler = logging.FileHandler(file_name)...
[ "bekakibru2@gmail.com" ]
bekakibru2@gmail.com
0ab2eb81e04a15ed1db8d179bf11f3e13a7dd7d0
defc76148d2fb22162e61ab34657f169c52be666
/journalism_workflow/v1/adjust_photos.py
82b4cb3af3e25cd00f3216b5df0cd8b9d95c58df
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
skamille/orchestra
e29b4b2e6319476c145f5d305c347cd62ced0a29
c9a58bf76c4521b41ce38b23db2ba93180ee9000
refs/heads/master
2021-01-16T21:12:57.205991
2016-02-01T19:08:24
2016-02-01T19:08:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,652
py
import os import tempfile from django.conf import settings from PIL import Image from orchestra.google_apps.convenience import create_folder_with_permissions from orchestra.google_apps.convenience import download_file from orchestra.google_apps.convenience import upload_file from orchestra.google_apps.permissions imp...
[ "dhaas@eecs.berkeley.edu" ]
dhaas@eecs.berkeley.edu
3118897c4d67a9ea8aec95354c48a5a19f5ba665
08244f684b9be8c8d0f05f5100f273c78467b748
/currency.py
b487ed3d525b986b1057c55a5fdd73c3d1df9c4b
[]
no_license
Adroso/Python-Utility-App
54b3d04dda09f3d5f1a0e038f91a0fb2ed5a619b
0e8ded5d87c10c8a16a52d9411ba8988469ab958
refs/heads/master
2021-03-30T17:03:27.018427
2015-11-06T01:18:42
2015-11-06T01:18:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
__author__ = 'Adroso' import web_utility def convert(amount, home_currency_code, location_currency_code): """ This function takes in an amount, generates a url to use Goggles currency conversion service and extracts the converted value """ amount_as_string = str(amount) # Convert to string here because...
[ "adrian.lapico@my.jcu.edu.au" ]
adrian.lapico@my.jcu.edu.au
37104a18852afc5a21815369e7dd0b0f5adc9217
1f5659544eebcf5ed67c8b2a52d2803cb01588f2
/rule_induction_classifier/rule_induction_classifier/__init__.py
224d4dcb8000b3cdd4345e9d3df4250bc604dffc
[]
no_license
Apokrbk/rule_classifier
3e8077dff643512ba1d6eb3e4ae4577d80aae5ed
13db09418abb8875390a1f8e9d31274539e9eda1
refs/heads/master
2020-03-20T22:24:36.883422
2019-01-26T18:38:32
2019-01-26T18:38:32
137,796,976
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
name="rule_induction_classifier"
[ "damian.portasinski@gmail.com" ]
damian.portasinski@gmail.com
6b542f6ede6cde3cb763bfadd5e6b97c989bfb7f
051293c8772878ec04d9e7a81839ac1b4b7b01ee
/samples/sample_cli.py
dae2abcd1f8a8089cb4c7e33b9935f299b292489
[ "Apache-2.0" ]
permissive
siliconjesus/TCGstorageAPI
055b70b8db1de313137dc40017ed68f745f363f3
7fd3096d152e604bb836921f7cf3a03ffc987cab
refs/heads/master
2022-04-25T02:26:33.950835
2020-04-27T17:16:13
2020-04-27T17:16:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,386
py
#---------------------------------------------------------------------------- # Do NOT modify or remove this copyright # # Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License...
[ "keerthana.a.bidarakoppa@seagate.com" ]
keerthana.a.bidarakoppa@seagate.com
6ff2b89d3fcdd2f0c997fad4706a19b7a18525b0
3068d24ee80e0f5719306476f7495c8fede02592
/google_test/bunny_escape/bunnyEscape.py
2fb40cfe7a818ebb945810ad3de9c1b68da2d07c
[ "Artistic-2.0" ]
permissive
perlygatekeeper/glowing-robot
1926a8143168fee58e83ae78c72674a7bd1c10ed
1c15dbc4f4f7a160c226734f5b258b8e17acfc7f
refs/heads/master
2023-08-21T19:57:41.861644
2023-08-12T01:21:13
2023-08-12T01:21:13
27,408,610
3
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
def pathFinder(x, y, map, steps, lastX, lastY, wall): # count possible moves options = [] if x-1 >= 0: # East options.append([-1, 0]) if x+1 <= lastX: # West options.append([ 1, 0]) if y-1 >= 0: # North options.append([ 0,-1]) if y+1 <= lastY: # South op...
[ "perlygatekeeper@gmail.com" ]
perlygatekeeper@gmail.com
d0be707b6b95674e7a55339a7774568045b2a525
6a7058009587e78b5c758ff783410325ad7c2a4b
/educative/slidingWindow/non_repeat_substring.py
2883b8e112151f20e144a97d63367dc9680d312d
[ "Apache-2.0" ]
permissive
stacykutyepov/python-cp-cheatsheet
8b96b76403c501f5579befd07b3c4a4c69fe914e
a00a57e1b36433648d1cace331e15ff276cef189
refs/heads/master
2023-07-16T13:26:35.130763
2021-08-30T11:23:39
2021-08-30T11:23:39
401,442,535
2
0
null
null
null
null
UTF-8
Python
false
false
537
py
""" time: 13 min errors: none! """ def non_repeat_substring(str): maxLen, i = 0, 0 ht = {} for i, c in enumerate(str): if c in ht: maxLen = max(maxLen, len(ht)) ht.clear() ht[c] = True maxLen = max(len(ht), maxLen) return maxLen def main(): print("Length of the longest substring...
[ "peterrlamar@gmail.com" ]
peterrlamar@gmail.com
22d8d701e93efaddc5bfc903051441ed4376ae45
719b657774faec0d8e353d49bc44e6f4cd7ba5c2
/Treap(Random Binary Search Tree) implementation.py
b0427349da5e700b2148a09081b1bda7d851a517
[]
no_license
ayesha607/Treap-Random-Binary-Search-Tree-
378c322d8fddce0aa09341be574de5be1d750b6c
6c23c3b47e559ab77f6ed2c73038f09909b0a30f
refs/heads/main
2023-02-28T03:48:06.678257
2021-02-05T20:18:35
2021-02-05T20:18:35
336,376,656
0
0
null
null
null
null
UTF-8
Python
false
false
3,263
py
#!/usr/bin/env python # coding: utf-8 # In[36]: import random class Node: def __init__(self, key, value): self.key = key self.p = random.random() self.value = value self.left = None self.right = None def leftrotate(self): x = self y = x.right ...
[ "noreply@github.com" ]
noreply@github.com
d2c9feb3215b5259ef876c741186d832dd828a33
b4da11e5acb90a3d698f05870643c37674a32eaf
/Alibaba/Alibaba/urls.py
1bd21809679a1792707591d7f0a15e546c66b471
[]
no_license
joae/fiuba-robots
d4446e157f61621565d7c3c2227c3e7e0b830378
6b4bf93dc505bf5d3bd54cdd3e6ef093a3d5ea94
refs/heads/master
2020-05-18T11:23:24.453136
2015-07-05T13:35:47
2015-07-05T13:35:47
35,906,107
0
0
null
2015-07-05T13:35:48
2015-05-19T20:15:36
Python
UTF-8
Python
false
false
757
py
"""Alibaba URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "giopromolla@gmail.com" ]
giopromolla@gmail.com
6cc1398e6926a640d43d204cf2e3cac3e631e85f
b5bbf6f6ea96fc3de9230d90f02e23c5da873c22
/tango_with_django_project/urls.py
2bf93c81cc5a80c33e43c7a2ff4b2b2f75d9faf5
[]
no_license
harshgupta16/Tango-with-Django
b6e2bcf01febd05285076bee6b94fea979f98dae
cbd592f8a238d02021eccfede33837587a397437
refs/heads/master
2020-07-07T10:22:47.993977
2015-02-14T14:21:31
2015-02-14T14:21:31
30,798,278
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'tango_with_django_project.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^rango/', include('rango.urls')), url(r'^admin/', include(admi...
[ "harshgupta.ggmu@gmail.com" ]
harshgupta.ggmu@gmail.com
d7e3d08b747976c322d9047ebd236257f13e0442
e0370bd9d08a5307678f08110b0919e4f9c60750
/dao/user_mapper.py
e95d82d6070a60354b3d7066cb85f3e97630e149
[]
no_license
wangyingsm/flasksql
cadc1f3d014f2218c04990bc55db2991919cf665
914bd50720adbb7b439c6cf0d44e5b3040713ad2
refs/heads/master
2021-04-15T13:07:57.652078
2018-03-24T20:46:28
2018-03-24T20:46:28
126,487,784
1
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
# -*- coding: utf8 -*- from app import db from model.User import User from sqlalchemy.exc import DatabaseError from sqlalchemy import text from traceback import print_exc def findAllUsers(): return db.session.query(User).all() def findUserById(id): return db.session.query(User).filter(User.id == id).one_or_n...
[ "wangying" ]
wangying
02b6251c2bd8c8129cb29b2bdc91c06ec9f699d9
7d586f404967e98a498f6cb8654fb00abcab12a0
/blog/views.py
f046b44b45c8ee4f0137d46ae3f27ca4b76c5e49
[]
no_license
shoaibshrafi/Python-Django-Blog-App
ba6ef57f473b0b0cb28b7cce0f2d11bbee7a3f6a
54fb2b10abd952b581bb52f12f240bbe13cb1352
refs/heads/master
2020-03-28T17:32:16.397668
2018-09-14T14:28:12
2018-09-14T14:28:12
148,799,110
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
from django.shortcuts import render def home(request): posts = [ { 'author' : 'Shoaib', 'date_posted' : 'September 14, 2018', 'title' : 'Blog Title 1', 'content' : 'First blog post' }, { 'author' : 'Najib', ...
[ "shoaibashrafi@yahoo.com" ]
shoaibashrafi@yahoo.com
2b0dff7ddd5721512ac228512d41790c5aedf75a
be0ec4f1621aca800d1cf90deccf262f55251911
/GUI_PKSS_v3/GUI_PKSS/Python_projekty/entry_box.py
d9d49860c87dc9b9b537b9fbf2cf20eca1cd0c7b
[]
no_license
dorotawejdman/Heating-System--model-GUI-
9e12076fa17834915343df389199de6b6fe11b6e
e69bfad4fbfdc49494783a5438a09f316bb0afc5
refs/heads/master
2022-11-15T04:52:25.016976
2020-07-13T19:41:08
2020-07-13T19:41:08
279,396,128
0
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 7 16:18:21 2019 @author: dorot """ from tkinter import * import sys, os, csv, time #Um #P_Um=0.1 #I_Um=0.005 #D_Um=0.05 # ##Ub1 #P_Ub1=0.1 #I_Ub1=0.005 #D_Ub1=0.05 # ##Ub2 #P_Ub2=0.1 #I_Ub2=0.005 #D_Ub2=0.05 nastawy=[[0.1,0.005,0.05], [0.1,0.005,0.05], [0.1,0.005,0.05]...
[ "dorota.wejdman@gmail.com" ]
dorota.wejdman@gmail.com
60cb82c1e51bb3a3fdb94a776df5958da5755132
fe7153e1738c2c09f76aa270ae6417f432ab70c5
/taxes/models/tax.py
4dcc3e7527b7164c4ead46e90cf287e8bd3ee794
[]
no_license
mdzakir/mysuru
9e83e12d02e13bb0e9abaf859c9b25bf420eb795
d6121a79f42d5fd57172f4b39f482927f5fedd62
refs/heads/master
2021-01-13T16:37:41.396037
2017-07-18T15:59:58
2017-07-18T15:59:58
79,259,805
1
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
import datetime from collections import defaultdict from collections import namedtuple import json from django.conf import settings from mongoengine import * class RatePlanTaxDetails(EmbeddedDocument): tax_type = FloatField() tax_value = FloatField() rate_id = StringField() def get_tax_type(self): ...
[ "ghanshyam.pathak@axisrooms.com" ]
ghanshyam.pathak@axisrooms.com
da06c4db439c1b85c8eec435a58a63d8d792b9b4
b2b55f2aea101c050852de97e06b230e1f918014
/number40.py
011ffcd027840e8fc929133548a8c1a7916823b2
[]
no_license
hansol4412/algorithm
d505e202969417fdb0da10421989ef84aa937dbe
a6194b55b1a8f2cf21c91b1f02d92abb3bd10cd2
refs/heads/master
2023-03-22T11:45:01.257350
2021-03-21T11:19:42
2021-03-21T11:19:42
268,396,247
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
# 40. 교집합 (투포인트 알고리즘) # 두 집합 A, B가 주어지면 두 집합의 교집합을 출력하는 프로그램을 작성하세요. # 교집합은 오름차순으로 정렬하시오. # 교집합 구한 후 정렬하시오. a=[] b=[] c=[] n=int(input("첫번째 배열의 크기를 입력하세요.:")) for i in range(0,n): a.append(int(input())) m=int(input("두번째 배열의 크기를 입력하세요.:")) for i in range(0,m): b.append(int(input())) for i in range(0,n): f...
[ "hansol4412@naver.com" ]
hansol4412@naver.com
94b4c2e35a301f411b1555575ce77c4ce920d0e0
1a48b9b03463eb1b34628e1cc76239dba875e32f
/Parallel computing/使用ProcessPoolExecutor并发执行任务.py
dab13e723dc33e2b4ed8d8280d7ed3407b254187
[]
no_license
songyachun/Python-Workbook
e25dd021dd669e234356c859aa0f416b259e2ae6
ad13c35030fc0754bbe01557bc86eb29c83d0179
refs/heads/master
2021-05-20T02:00:05.654599
2020-06-16T12:32:33
2020-06-16T12:32:33
252,138,216
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
""" # @Author : SYACHUN # @Date : 2020-06-16 19:45:15 # @LastEditTime: 2020-06-16 19:53:51 # @LastEditors: SYACHUN # @Description : 求解最大公约数 # @FilePath : \weikeban\使用ProcessPoolExecutor并发执行任务.py """ import time import concurrent.futures as cf def gcd(pair): a, b = pair low = min(a, ...
[ "noreply@github.com" ]
noreply@github.com
bbbf2ff35e64f1f9cf83d0315339612b100e6464
ae43b412092c4a417bd46573942ff261d00ecb26
/ML/appleorange.py
560d8e9ab5aab733566b92562844b4466edcef3c
[]
no_license
hydrophyl/Python-1.0
1bb191456b4a53b8c420593392236a262cc969aa
b1f3ff5a5e06ed5d589fc12b29f3a1672b257749
refs/heads/master
2020-05-02T10:10:21.394958
2019-09-24T20:25:52
2019-09-24T20:25:52
177,890,139
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
#Scikit-learn from sklearn import tree #1 is 'smooth' 0 is 'bumpy' features = [[140,1], [130, 1], [150,0], [170,0]] #0 is 'apple, 1 is orange labels = [0, 0, 1, 1] #Train classifier clf = tree.DecisionTreeClassifier() clf = clf.fit(features,labels) print(clf.predict([[155,0]]))
[ "forever_mind@live.com" ]
forever_mind@live.com
57483cde5bfd742605f867681de8e02461cca452
38098dfc4da17b8c65575cfec033ad3ecc9ebb9b
/Intermediate Python /exceptions/try_with_finally.py
92e03b0fbef01c09e14e8aacb778d00905d93d19
[]
no_license
milena-marcinik/review_SDA
3db1a348e8d606586ac63a5d233d611fa0bf1b02
d5017fd694ec7f25861bdeb89d57c93680c8d748
refs/heads/main
2023-01-28T05:03:30.444484
2020-12-03T21:42:28
2020-12-03T21:42:28
312,909,277
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
# The try block will raise an error when trying to write to a read-only file try: file = open("temp.txt") file.write("I saw a lion") except FileNotFoundError: print("An error occurred while processing the file!") finally: file.close() # The program can continue, without leaving the file object open
[ "milena.marcinik@gmail.com" ]
milena.marcinik@gmail.com
bcc7c1b0c6a0c863489a0d79114e5dac8fc93df1
4ca5211d80d5c4c8c068b3384307b809388b30c1
/pegSolitaireUtils.py
37bf544cddce5d6d69ac671f6f7889999d33e0d9
[]
no_license
atanu1991/Peg-Solitaire
6f82183ac12c74083cb89dac69213f6d18101085
64ee81642f0e0c75d3f1b71aef414657b1a8465b
refs/heads/master
2016-08-12T03:23:23.664380
2016-01-24T03:05:04
2016-01-24T03:05:04
50,269,554
0
0
null
null
null
null
UTF-8
Python
false
false
6,842
py
import readGame class game: def __init__(self, filePath): self.gameState = readGame.readGameState(filePath) self.nodesExpanded = 0 self.trace = [] def get_gameState(self): return self.gameState def manhattan_distance_heuristic(self): """This heuristic calculates the sum of ...
[ "atanu1991@gmail.com" ]
atanu1991@gmail.com
80287b28c93d6db5eda425b2514c0bcdac242368
7224f601a074d62d1ca27bc3dcee454163532202
/miscellaneous/Raspberry-Pi/Cloud server/mqttt/mqttt client.py
b1d589bb433a997a5b4493b5c0d17e08b5e67a89
[]
no_license
abuzneid/IoT-Lab---Spring-2019
ac37b264e10969b8ba98c6184d417174834de5b4
aef0fc8097e4650a36a1fda9d59cb3cd5cb387b1
refs/heads/master
2020-04-23T18:20:19.321428
2019-07-01T20:45:44
2019-07-01T20:45:44
171,363,593
0
1
null
null
null
null
UTF-8
Python
false
false
1,272
py
import paho.mqtt.client as mqtt import encodings # The callback for when the client receives a CONNACK response from the server. def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # Subscribing in on_connect() - if we lose the connection and # reconnect then subscrip...
[ "abuzneid@bridgeport.edu" ]
abuzneid@bridgeport.edu
9610d71e683b7cf6ba117adf541c9de69f52aee6
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/core/sims4/gsi/command_buffer.py
e1301ea4581704ced936304f7533eab0b6fbd36f
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
import collections try: import threading _threading_enabled = True except ImportError: import dummy_threading as threading _threading_enabled = False import sims4.commands import sims4.log import sims4.service_manager logger = sims4.log.Logger('GSI') _Command = collections.namedtuple('_Command', ('...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
6f2fb33ac581df43102825b6f3735508999d4a00
144f2c0f977d5c1537bfaca8c6f108af783dc06e
/tests/test_qtile_tools.py
16e2a40c936c8804d4080338c7deb79b854db5ab
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
frostidaho/python-qtile-tools
b3abf70de692e59f57a9fc6ca0347ad68e4b48c7
d36e8f4dd2afbb52f5d719bfbac8040979806df7
refs/heads/master
2021-01-19T01:15:34.399209
2017-04-05T01:07:04
2017-04-05T01:07:04
87,235,732
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
from qtile_tools.cli import main def test_main(): main([])
[ "frostidaho@gmail.com" ]
frostidaho@gmail.com
309cd04173b4d096eb7b590ed67fc399ef2c0877
cf668ede675f5b5a49912e8ca2170b5d5dba85c3
/FullDesign/LsRand_OnlyTau_4.py
3d9e3b41a25a22b071485ba0d01de3c81c709d52
[]
no_license
amemil/MasterThesisRaw
b6c97a671e740871be541539384192684f5f1966
bb357481cc47ef3a2b241f4b1df85fd0a4ff1de0
refs/heads/main
2023-06-09T22:49:06.082380
2021-06-25T09:38:20
2021-06-25T09:38:20
327,104,381
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 12 19:29:28 2021 @author: emilam """ import sys, os import numpy as np sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))) import UtilitiesMaster as ut s1init1 = np.load('s1init_16.npy') s2init1 = np.load('s2init_16.npy')...
[ "emilalvar.myhre@gmail.com" ]
emilalvar.myhre@gmail.com
a5ca186385d589d484d9ce43724d8471804013cc
949999ba1f6afb82f652b2287c8de3ddd37f79aa
/templates/ikev1_pcapReader.py
e7ae26be9986d0d0a3c98d0222a5dd7dba99fe1c
[]
no_license
OnurOzcan35/ikev1-psk-aggressive-mode-dict-attack
5eba3b6c025cfa42fbb5e72da78e0022e666c8b6
b593300e05d7f3c7bb064ce5dfdd9def16c23fca
refs/heads/main
2023-02-27T01:23:46.451956
2021-02-04T12:54:04
2021-02-04T12:54:04
335,952,525
1
0
null
null
null
null
UTF-8
Python
false
false
710
py
from scapy.all import * def openPCAPFile(path: str) -> scapy.plist.PacketList: #TODO Read a pcap or pcapng file and return a packet list try: return rdpcap(path) except: raise Exception("File is not found") raise NotImplementedError('Reading packets not implemented.') def getISAKMPPacke...
[ "noreply@github.com" ]
noreply@github.com
9652dc3c1561ddace6104626a615a020f3d8d906
21b5ab9a8e7c1534c4a92cb97a30b0e30a424777
/djblogapp/articles/admin.py
09fd4f4ddbd87b05dc271bc1644dd675addd6c97
[]
no_license
Gazalkhan/BloggingApp
afa7190abf75b3eb854becebf3a43feda71a9dc0
c9d6e813c3c0f39d455568ebc20a2c6e4b534d0e
refs/heads/master
2020-03-19T09:50:09.901586
2018-06-06T11:26:47
2018-06-06T11:26:47
136,320,795
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Article # Register your models here. admin.site.register(Article)
[ "khangazal.gk@gmail.com" ]
khangazal.gk@gmail.com
0431fea0e0dcf9db6c90a0cf03b79cb49f3e17e8
b1cb67067656271be22c293f51c1373293a28795
/tests/test_planner.py
e7f5ab4629d2368ea3ac3811344b1185f16c697d
[ "BSD-2-Clause" ]
permissive
NPRA/EmissionCalculatorLib
b4b5445984ead114236715c3f8ed895c360a2bc5
750e7137c8115d26b2eec354ab3f5a65f76a8e21
refs/heads/master
2022-07-11T06:01:47.857745
2021-02-09T10:43:41
2021-02-09T10:43:41
99,795,865
10
5
BSD-2-Clause
2022-06-21T21:11:31
2017-08-09T10:24:36
Python
UTF-8
Python
false
false
480
py
from emission import Planner from emission import PollutantTypes from emission import vehicles class TestPlanner: def test_construct(self): start = [271809.847394, 7039133.17755] stop = [265385.432115, 7031118.13344] vehicle = vehicles.Car(vehicles.FuelTypes.PETROL) planner = Plan...
[ "asbjorn@fellinghaug.com" ]
asbjorn@fellinghaug.com
9eb21a225d99d72d993744068321b270fe85c8e0
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/mysql_forwarding.py
1bd1a82ee4f076d2f13ebb0d6b9e7b5b2c2a94ed
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
8,910
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class MysqlForwarding: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute na...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
654f45649174dbb73f30e8600f1607e86a067184
160b41b070344658c1f8e1cca3ec2eb8fc0ad253
/commander.py
b48d0e4890be20701d2d9b92c8ed0bb25038e1f6
[]
no_license
lemin2601/easyTools
c1e6fec40703d1e016659ece64746d7a451a172d
c16e16300dcb0cb939376bef899ccf4390186e0b
refs/heads/master
2020-04-09T02:15:11.132072
2018-12-17T15:41:03
2018-12-17T15:41:03
159,934,045
0
0
null
null
null
null
UTF-8
Python
false
false
2,440
py
from logger import L from parse import Parser from utils import parse_args import config import json import sys import gen import os import gv import utils import update_manifest import info import http_server import network import android_build def execute_func(key, args): key = key.strip().lower() if key in...
[ "lemin2601@gmail.com" ]
lemin2601@gmail.com
6fb3a746e9ba0290370ef755c66cb55f09785135
7cda87756f0b0621e2aae1a5bd627b8ec386dff6
/flaskLogin/app.py
79038bbf9c55ee97127ad9e9a5c4ee069a973733
[]
no_license
angshukdutta92/python-projects
9bf9d191a5a85efd18f2293fa41ed08ff79ec130
4eb108d3d66f5106fc64e45ca190b41cb0742ff7
refs/heads/master
2021-05-20T00:21:39.702393
2016-05-03T16:12:24
2016-05-03T16:12:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
# import the Flask class from the flask module from flask import Flask, render_template, redirect, url_for, request, session, flash from functools import wraps # create the application object app = Flask(__name__) # config app.secret_key = 'my precious' # login required decorator def login_required(f): ...
[ "studyonlyonline@gmail.com" ]
studyonlyonline@gmail.com
a7a8a4fc6a4d8860a7cbcf0990e903217b21bb30
fd40d6375ddae5c8613004a411341f0c984e80d5
/src/visions/core/implementations/types/visions_datetime.py
f8a11f0c6b5bf06f1ed01080801bdba0c704c5d0
[ "LicenseRef-scancode-public-domain", "MIT" ]
permissive
ieaves/tenzing
93c3353e62621c90adefc5a174a2dcde9aacbc46
92d39c1c3a5633d8074e0ffe8c2687c465aebbc8
refs/heads/master
2020-04-25T07:14:31.388737
2020-01-07T02:51:13
2020-01-07T02:51:13
172,608,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
import pandas.api.types as pdt import pandas as pd from typing import Sequence from visions.core.model.relations import ( IdentityRelation, InferenceRelation, TypeRelation, ) from visions.core.model.type import VisionsBaseType from visions.core.implementations.types import visions_string from visions.utils...
[ "ian.k.eaves@gmail.com" ]
ian.k.eaves@gmail.com
633b89e36668336997acfca2e4957d233f54f0c5
fb0b9a1137b5aaaff9842e9aeeb1dee98a8dafa6
/step-8/app.py
1d414ceff6610126066b82efe8f2226fe1451466
[]
no_license
davinirjr/treinamento-python
86f90b10352a602be95f3bb09417dcb0224b0c1f
9176452726d801e56ace8783a83baf1647913467
refs/heads/master
2021-01-18T19:09:40.824159
2013-10-09T20:55:18
2013-10-09T20:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
#!/usr/bin/env python # coding: utf-8 from time import strftime from bottle import route, run def fat(number): if number in [0, 1]: return 1 return number * fat(number - 1) @route('/') @route('/<name>') def index(name='Esquecidinho'): return 'Hello world, %s. São %s.' % (name, strftime('%H:%M:...
[ "deniscostadsc@gmail.com" ]
deniscostadsc@gmail.com
463f2f0409cff14924c1315fe6bb57f0ec627eab
e8c256cc56b72a35eae6676fa12fd1e89ecd9eb4
/main.py
ce2c5cc175db1a25d309d96fa373f9e8336504c8
[]
no_license
abdulfataiaka/spider-task-python
6b26e404c0fa5ca173bd9a8d2f677b5537630b58
52ddc3f4e4fa67b12b908df20529b3774e5c61c9
refs/heads/main
2022-12-22T13:42:39.363274
2020-09-23T21:33:31
2020-09-23T21:35:18
298,099,847
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
# Show examples of how you would use ALL your implementations here
[ "abdulfataiaka@gmail.com" ]
abdulfataiaka@gmail.com
118d8bcfddca20813b19f8d6d4567735c4ac5899
10c1760dd158ce9b9450b45c8d79335596d68035
/web1/migrations/0011_customer_profile_picture.py
55efd49ff82e9b3b2fab58e3cc1d6894cb3f1701
[]
no_license
dalemesser/Mycode
239508ce3feac579d65537480bd3f5d5e810f190
d83d10278d02f50eb2fcc970079c9e710fca6e14
refs/heads/main
2023-03-01T10:16:14.099413
2021-02-09T10:44:36
2021-02-09T10:44:36
330,345,745
1
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.1.4 on 2021-01-20 15:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('web1', '0010_customer_user'), ] operations = [ migrations.AddField( model_name='customer', name='profile_picture', ...
[ "sachithra@gmail.com" ]
sachithra@gmail.com
193e2e78f289aa1bb05e4b344b5c7d17b61c984e
6b0161214e4db57a81d3b4432d82c874c7106f13
/couchbase/_pyport.py
20700a813860e5ed162b08ac93b31aa54775c92d
[ "Apache-2.0" ]
permissive
neilalbrock/couchbase-python-client
de9d6115d1240f56f4cb7b57aee7e8765c5c7d1f
95789e3d49c42613fe719bbd02e6d9ad30216334
refs/heads/master
2021-01-15T18:51:31.311163
2013-10-14T13:58:28
2013-10-14T13:58:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
# # Copyright 2013, Couchbase, 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 l...
[ "mnunberg@haskalah.org" ]
mnunberg@haskalah.org
045849a6dcf37e6dfd8deaa91796aebe1f3f2334
c6609c161df66949656ca91d8a3d9f4d27a4c399
/rates_project_04122021/rates_client/rates_client/rate_client.py
71771ba20ad4886144213eb414be5cd5d7451817
[ "MIT" ]
permissive
t4d-classes/advanced-python_04122021
b93ea38c5b35af2b1eb06bc1d5fe6d3f0c1cf39f
07b27aea8ac3c7170eb66d5243c5cd841f41322c
refs/heads/master
2023-04-11T11:45:18.114381
2021-04-20T12:36:04
2021-04-20T12:36:04
357,016,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
""" rate client module """ import socket import sys import pathlib import yaml from rates_shared.utils import read_config def main() -> None: """Main Function""" try: config = read_config() host = config["server"]["host"] port = int(config["server"]["port"]) with socket.soc...
[ "eric@t4d.io" ]
eric@t4d.io
6ebdda91bfa552e387b3967c6aef821e345699a3
97e6c6c61154f7d40846c01b34e6cec7bb09d980
/quickdb/sql2mapreduce/agg.py
465fef43f1a3fc8014a4bf6c6e5b462102ac9185
[]
no_license
michitaro/quickdb
f975f0a979517299911f797c519fea78f9c48168
6444795ddb869545bf166c870f5ba0d1f0d56944
refs/heads/master
2020-06-15T14:00:38.701760
2020-02-19T01:13:07
2020-02-19T01:13:07
195,318,222
0
0
null
null
null
null
UTF-8
Python
false
false
7,521
py
import abc from quickdb.datarake.safeevent import SafeEvent from typing import ( Any, Callable, Dict, List, NamedTuple, Optional, Tuple, Type, Union, cast) import numpy from quickdb.datarake.interface import Progress, ProgressCB, RunMakeEnv from quickdb.sql2mapreduce.numpy_context import NumpyContext from quickdb...
[ "michitaro.nike@gmail.com" ]
michitaro.nike@gmail.com
055cbaf2ea541c498797309600cdf56c93d6dad9
d81d06298965eaf773d16b31fd3ee63bf726a82b
/nexus_test/utils/other.py
1c2d896e6b581e7263efc2b6c2f444271011a1ec
[]
no_license
MakhmoodSodikov/nexus-test
081ddcd7181beef2be2dc6ffff977b3e44b3df27
c15530269ef237fb6fb3144a97dea1ea4cad7609
refs/heads/master
2023-06-18T00:09:27.806493
2021-07-04T15:49:35
2021-07-04T15:49:35
382,351,811
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import os from logging import getLogger logger = getLogger('main logger') def write_lines_to_file(text: list, filepath: str) -> int: """ :param text: Text to be written to the file :param filepath: Path to the file :return: 1 if Done correctly, -1 otherwise """ try: with open(filepath...
[ "sodikov.mmo@phystech.edu" ]
sodikov.mmo@phystech.edu
84c1a89c806b2cba9d39dadc938e2b05f0a7bd4f
e7ce192fb7a4c980af71b42a3a89383f4a3f1396
/EmployeeWage.py
b48614e6adcc9a741540e97e4906d3b0d41c2965
[]
no_license
Archana-Bhamare/Employee_Wage_Python
112c2152c9f97b42ddc5b93da1d40e8ae66ae213
7ece8ccdcbbc4ba1ba0237e4d3d1d4341a41760a
refs/heads/master
2023-01-19T00:45:09.222132
2020-11-29T13:11:18
2020-11-29T13:11:18
316,681,224
0
0
null
2020-11-29T13:11:19
2020-11-28T07:33:44
Python
UTF-8
Python
false
false
1,685
py
import random class EmployeeWage: IS_FULL_TIME = 1 IS_PART_TIME = 2 empHours = 0 EMP_WAGE_PER_HOUR = 20 NUM_OF_WORKING_DAYS = 20 MAX_HRS_IN_MONTH = 100 dailyWages = [] day = {} def checkEmpAttendance(self): attendance = random.randint(0, 2) if attendance == Employe...
[ "archusonar2@gmail.com" ]
archusonar2@gmail.com
d0be37c6a1df802e6cf7ddcc9ab9bcf87b07dd64
3aed304ea163b9b910133bb8e33c29028a5ca8c0
/setup.py
8d64c26b2060fb79e23fda1bcf245264cc5fab5a
[ "ISC" ]
permissive
arnaudrenaud/django-djaffar
cce4e3cb6922783d9e2dc92079dedd46cb0c20bd
068851951729d4a1de0b8beca4fbde510517ac59
refs/heads/master
2022-07-12T22:06:52.456444
2017-01-04T11:28:21
2017-01-04T11:28:21
77,291,688
1
0
ISC
2019-11-15T09:28:17
2016-12-24T16:37:59
Python
UTF-8
Python
false
false
2,512
py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) package = 'djaffar' def get_packages(p...
[ "arnaud.renaud@gmail.com" ]
arnaud.renaud@gmail.com
abe2dcd4cac371c04bab58961142da554d221fc3
6cc14ff36ef4a6f46000e2b5b1ecbe9d9ffa289d
/Python/Regular_Expressions.py
57420cb310a87f716551312c2c8dc9f51ab1d162
[]
no_license
mominpasha/Practice-Code-Samples
bc45b5b49b68252c67b57a7a031b27d1018c6474
f241a4e35a35d414fee0ee529dd090a438d0dbee
refs/heads/master
2021-08-28T14:14:30.519680
2017-12-12T12:42:24
2017-12-12T12:42:24
103,299,216
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
#%% import re result = re.match("Momin","My name is Momin Pasha") print(result) #%% result = re.search("Momin","My name is Momin Pasha") print(result) #%% result.group() result.start() result.end() result.span() #%% result = re.findall("the","The history of the great king of the kingdom of the apes lies in...
[ "noreply@github.com" ]
noreply@github.com
f9ed10bc581a959ecacc6f7e395dd6fef7ea68b0
016f96e528141db111f15a4c00a0fc46e61cdff6
/lib/emailses/urls.py
5fb0d6077dd92bf4cd7ecabb113f5b0498156de9
[ "BSD-2-Clause" ]
permissive
hdknr/emailqueue
3d02407b06a492cdf9b89fde2b06c766cd500555
05e108562f4fb612440f769973b9a3d02c11afcd
refs/heads/master
2021-01-23T20:13:04.807258
2015-10-08T08:41:51
2015-10-08T08:41:51
20,243,165
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
from django.conf.urls import url import views urlpatterns = [ url(r'(?P<topic>.+)', views.notify, name='emailses_notify'), ]
[ "gmail@hdknr.com" ]
gmail@hdknr.com
29ae359c329e7ea32fa6df4622e13b1757dc1c55
caa13ef90cff357108cb55286faf8e7f5b69e13d
/11-ejercicios/ejercicio4.py
c785dee035add7d32003a48feaf01df16709dacc
[]
no_license
Terminal-Redux/master-python
f075bc11408e5d8234763182244e2bc92bb4fc6c
bd4dee2b3d6e2a3e5669f0f412fb12812228cd74
refs/heads/master
2022-11-20T01:39:08.722004
2020-07-21T00:57:25
2020-07-21T00:57:25
281,259,245
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
""" Ejercicio 4. Crear un script que tenga 4 variables, una lista, un string, un etnero y un booleano y que imprima un mensaje segun el tipo de dato de cada variable """ def traducirTipo(tipo): result = "" if tipo == list: result = "LISTA" elif tipo == str: result = "CADENA DE TEXTO" e...
[ "joseamilcargonzalezmiranda@iMac-de-Juan.local" ]
joseamilcargonzalezmiranda@iMac-de-Juan.local
7e768dbc4e7dc51e1a08a60fbd0065f7bdc79ec2
c2ebcd88d1ba2324530ab9e6ff89a63a5242900f
/plugins/gavanna_plugin.py
c535bd0920161def32ca6b0f86235ac54ba25cc1
[ "MIT" ]
permissive
joel-wright/DDRPi
83ddc326f7be4871f46a076909452be8ed4bcf8b
9d51f0f8702af0fba068f0346e051d6579e05e16
refs/heads/master
2016-09-06T15:08:38.974215
2013-02-17T16:49:24
2013-02-17T16:49:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
__authors__ = ['Andrew Taylor'] import logging import pygame import random import time from datetime import datetime from DDRPi import DDRPiPlugin class GavannaPlugin(DDRPiPlugin): pulse_rate = 2000 pulse_increasing = 1 pulse_last_ratio = 0 def post_invalidate(self): self.changed = 1 def configure(self, co...
[ "joel.wright@gmail.com" ]
joel.wright@gmail.com
b274c5b6d77f22cc1da6e46b67d0d9571653bfef
b82c7b44c28e27519626e29bb74ec0d7dfae1177
/snmpdesk/traffic.py
a6c7339e4b456920bcee3eb3fa0567dfd51bab73
[]
no_license
uralbash/snmpdesk
77f59f80ce550390cb7689cb737f4899333d0b4c
afde63a3060d4405e1033092900229b205bf9e6d
refs/heads/master
2020-04-06T04:22:12.387805
2012-03-15T06:24:23
2012-03-15T06:24:23
3,039,100
0
0
null
null
null
null
UTF-8
Python
false
false
3,440
py
import sys import collections from pysnmp.entity.rfc3413.oneliner import cmdgen '''def datafrommib(mib, community, ip): value = tuple([int(i) for i in mib.split('.')]) generator = cmdgen.CommandGenerator() comm_data = cmdgen.CommunityData('server', community, 1) # 1 means version SNMP v2c transport = c...
[ "spam@19216801.ru" ]
spam@19216801.ru
219d2f333e3269a900b48b27c08cc48a24363b80
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02707/s167454120.py
27b53e15e36617817a3cd3b043a523410132faad
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
import math n = int(input()) c= [0]*n s = map(int,input().split()) for i in s: c[i-1]+=1 for i in c: print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6c1b90f51e34233524e5e26a5c9a8f7430194532
30e7adc325de1f52c624047dfd8775d9713ef74f
/bin/rename_contigs.py
fbfd52a6e67c1443ba7e599e61f23f7daa20e904
[ "MIT" ]
permissive
Arcadia-Science/metagenomics
f44572e256baf7125d48c7984d2399754605c866
3f49be3a1706a9561a68051d34065c2464acf726
refs/heads/main
2023-06-11T08:31:48.251809
2023-05-25T18:28:00
2023-05-25T18:28:00
550,378,025
27
2
MIT
2023-05-24T21:51:22
2022-10-12T16:57:58
Nextflow
UTF-8
Python
false
false
1,926
py
#!/usr/bin/env python3 import argparse import os import sys import gzip from Bio import SeqIO from Bio.SeqRecord import SeqRecord # Arguments def parse_args(args=None): Description = "Rename contigs in a FASTA file after assembly." Epilog = "Example usage: rename_contigs.py <FASTA> <ASSEMBLER> <OUTPUT>" ...
[ "elizabethmcd93@gmail.com" ]
elizabethmcd93@gmail.com
3055ffae2a22fc351a17eea8579fba30bbc3769e
d6f67251c016e7d105f8ce2fd3a94af449657e8e
/2021/day_02/__init__.py
9ca25cf3a85cf0452b140ce915fa65f028fe97ab
[]
no_license
DanaMC18/advent_of_code
6f8dedec0907f34bd99a4b50798cdbb852f800b6
32ab8170e25bf375db8ddc5e42fb6cc9379fce4a
refs/heads/master
2022-12-15T14:27:16.524364
2022-12-08T04:14:52
2022-12-08T04:14:52
225,783,965
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
"""Init 2021 day 2."""
[ "danaczinsky@gmail.com" ]
danaczinsky@gmail.com
bf90be02d2fafe1561a49ed955d60d56bb46aba3
466114a10af7b2e148cc39a4af1461fd169d42af
/apps/movies/urls.py
f40b4e2921541aaa75d58c8c657d193fa9fef670
[]
no_license
peter-zsn/api_test
0c46b91d7ed5f98d15c67c5caa9cee994ea2e880
4bc4e866a79810affa5020d9da8fbabcec2c7bb3
refs/heads/master
2023-02-24T10:32:46.156718
2021-01-25T08:02:08
2021-01-25T08:02:08
209,009,071
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
# coding: utf-8 from django.conf.urls import url, include from apps.movies import views urlpatterns = [ url(r'^getList$', views.getList), # 获取电影列表信息接口 ]
[ "zhangshuainan@tbkt.cn" ]
zhangshuainan@tbkt.cn
9cfda2d3b33fe057ffac602c8a45eb41a9ec05e5
adea9fc9697f5201f4cb215571025b0493e96b25
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/interfaces/interface/levels/level/afi_safi/af/segment_routing/prefix_sids/prefix_sid/config/__init__.py
2c88a90da723c84456e7fd1bc37de0086e2d37c7
[ "Apache-2.0" ]
permissive
andyjsharp/napalm-yang
d8a8b51896ef7c6490f011fe265db46f63f54248
ef80ebbfb50e188f09486380c88b058db673c896
refs/heads/develop
2021-09-09T02:09:36.151629
2018-03-08T22:44:04
2018-03-08T22:44:04
114,273,455
0
0
null
2018-03-08T22:44:05
2017-12-14T16:33:35
Python
UTF-8
Python
false
false
34,558
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.y...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
b49a99e04713d520e0e7809f8c87bf5075857b17
059f13774530ba14cac8da46baf60aecabf48770
/lang/preprocess_lm.py
e12fbc1233c8728b48a43ecd8ef569a2a5e23912
[ "BSD-3-Clause" ]
permissive
rainyrainyguo/ARAE
76796501ee8180d20dac44225e6bb9ddf891a43a
f12499d70f5fe61ca36bae4d2f57ccae28b1c5bc
refs/heads/master
2020-03-27T05:45:18.550942
2018-08-24T23:41:41
2018-08-24T23:41:41
146,047,307
0
1
BSD-3-Clause
2018-08-24T23:04:36
2018-08-24T23:04:36
null
UTF-8
Python
false
false
8,788
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Create the data for the LSTM. """ import os import sys import argparse import numpy as np import h5py import itertools from collections import defaultdict class Indexer: def __init__(self, symbols = ["<pad>","<unk>","<s>","</s>"]): self.vocab = defaultdict...
[ "yoonkim@rushgpu02.rc.fas.harvard.edu" ]
yoonkim@rushgpu02.rc.fas.harvard.edu
b055872ca036b87a5294a9e1ff3502871bb0dbd5
6b7efc1fbc4ec9fa47e9b91876a8abd319fa762a
/manage.py
1b022f576275907781a701bd98e87bf82c21ccf1
[]
no_license
hectwor/API_sneapp-DJango
6cd6bbca12c4c337c44edfdac141c7ba65a93fb9
a5a3cc177050b23dbf6232929db215542e24b434
refs/heads/master
2020-03-23T06:46:53.795678
2018-07-17T03:59:43
2018-07-17T03:59:43
141,229,235
1
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "API_sneapp.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "hectorh.danielv@gmail.com" ]
hectorh.danielv@gmail.com
930737c12616f230b3bc3b9803ca7fc4d51929cc
390d2a378fd60d35f34d4e140887451ba74cc9e7
/gamestonk_terminal/stocks/technical_analysis/finnhub_model.py
f344acf2f2601118b994c50f387f8c28144df069
[ "MIT" ]
permissive
sechours/GamestonkTerminal
ebb7ae44c7ede1bbf40d7b3802cbf63cfa4be2cf
0b554c6893aa4e805c27b606f7de7ae6c0eb454d
refs/heads/main
2023-07-31T18:19:09.487365
2021-09-13T18:07:00
2021-09-13T18:07:00
406,403,995
1
0
MIT
2021-09-14T14:37:11
2021-09-14T14:37:10
null
UTF-8
Python
false
false
1,074
py
"""Finnhub model""" __docformat__ = "numpy" import requests import pandas as pd from gamestonk_terminal import config_terminal as cfg def get_pattern_recognition(ticker: str, resolution: str) -> pd.DataFrame: """Get pattern recognition data Parameters ---------- ticker : str Ticker to get p...
[ "noreply@github.com" ]
noreply@github.com
2f0c54950c0ab91c97cc12a6797f81d91b85ec0b
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/stmt_for_str_same_var-9.py
f87144cd7e69039ad5482181a2f622e922dcd6a8
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
x:str = $STRING for x in x: print(x)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
4b2f0957666496d3fd757c2ee95c3310fcc03314
173624dde6173ac15d2bf5b9737d3934116dc6cd
/Leetcode题解/31. 下一个排列.py
363ce4f96f1300d4c01ee006cda5cf4f4e012a70
[]
no_license
jiufang7/git_repository
79bb780e563f1aad5fe91ce53b091abaaf5b9a31
e3d69ec8640f1caab74f1a4473888022f72de644
refs/heads/master
2023-01-21T01:31:18.265359
2020-12-01T05:21:31
2020-12-01T05:21:31
304,177,217
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
class Solution: def nextPermutation(self, nums): """ Do not return anything, modify nums in-place instead. """ if len(nums) < 2: return i = len(nums) - 1 while i > 0 and nums[i] <= nums[i-1]: i -= 1 a, b = i, len(nums)-1 ...
[ "noreply@github.com" ]
noreply@github.com
2d9971c4c44a021182d7e06c30a1b9cfe7dff063
cfb08ae8db8f20985ce3f6aa6426642f9891f67d
/apps/users/auth.py
1fced72c4d1c82603d506af2eeddd3ec9e94abac
[]
no_license
mylove132/web_backed
707b7df236c2ffaddf2720a0f5df45530629273b
f30a32d33bd0eabcb2cae515ac1c57897cd4bc21
refs/heads/master
2022-05-01T16:46:21.597813
2019-06-26T09:55:43
2019-06-26T09:55:43
188,396,244
0
0
null
2022-04-22T21:19:48
2019-05-24T09:44:45
Python
UTF-8
Python
false
false
1,545
py
from rest_framework.authentication import BaseAuthentication from rest_framework import exceptions from .models import Token class TokenAuthentication(BaseAuthentication): def authenticate(self, request): token = request.META.get("HTTP_TOKEN") if not token: raise exceptions.Authenticat...
[ "liuzhanhui@okay.cn" ]
liuzhanhui@okay.cn
e83b9d3c0be7a33e00b85393338fd4d1bb2d0e8d
cbc7ca332ff4cb8c98cb9eb37af654ee63297802
/torch/_C/_distributed_c10d.pyi
1cbf030e4afedebc674b36fe035faa072792c35e
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
yfzheng11/pytorch
307ebedbf6c5f23ed49584cf9536e47cff0a3ab0
1aa14fcb14dd1ecc8382f747de6f2070d929ed02
refs/heads/master
2023-05-26T14:07:05.459920
2021-06-03T20:28:45
2021-06-03T20:30:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,379
pyi
from datetime import timedelta from enum import Enum from typing import Optional, List, Any, Tuple, overload from torch import Tensor # This module is defined in torch/csrc/distributed/c10d/init.cpp _DEFAULT_FIRST_BUCKET_BYTES: int _DEFAULT_NO_TIMEOUT: timedelta _DEFAULT_PG_TIMEOUT: timedelta class BuiltinCommHookT...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1bfe7aea8483c772458514da7fd037f980ab3784
9a77adbac4aa41a3a230d551369f613bda796473
/codes/MyPoisson.py
66390b21deeb57354e857e98850ffb9646fa13f4
[ "MIT" ]
permissive
statcompute/py_countreg
6d74565ff6042cd1cf621c1a4cd0c0837b064a66
3f62b8f16b95be5be46cacb93f544bbca6b1ec55
refs/heads/main
2023-03-01T15:59:06.107550
2021-02-07T04:21:30
2021-02-07T04:21:30
328,307,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
import numpy, scipy from statsmodels.base.model import GenericLikelihoodModel def _negll_poisson(y, X, beta): mu = numpy.exp(numpy.dot(X, beta)) pr = numpy.exp(-mu) * numpy.power(mu, y) / scipy.special.factorial(y) ll = numpy.log(pr) return(-ll) class StdPoisson(GenericLikelihoodModel): def __init__(self,...
[ "noreply@github.com" ]
noreply@github.com
08f55e2eb709522cf7653be85bcdd8dc564d7a75
c2ec0817c6a9573a67f616860bb18bde23b5ef91
/BossSpider/pipelines.py
1e92c7b57cf012052c0be5f1bdf02035599b8716
[]
no_license
shuguo-ma/BossSpider
a3437d1a523af75cbf986c2459fb45dd9e17a360
3b429c797bc39a6343f941a04072f0e111916982
refs/heads/master
2020-03-18T21:47:47.798886
2018-05-29T13:54:11
2018-05-29T13:54:11
135,303,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html ''' import sqlite3 class BossspiderPipeline(object): #打开爬虫时,连接数据库connect('database_name') def open_spider(self,spider...
[ "wahlmzr@163.com" ]
wahlmzr@163.com
50682e61b81b2e670fa3d045ccd01007692a04f2
9b3160cf14c2be19cd4bb573272de22e2cbfc58e
/catkin_ws/build/catkin_generated/generate_cached_setup.py
69aad08a3b4171c8ddd89ecf4e94b5bd12ff42e3
[]
no_license
tdnvl/ROS
4395628252da32fa6e0aada1182adf7ec9bcb418
95f2ca2003279f719757be191fd19942ea8113ce
refs/heads/master
2021-01-02T23:01:48.193996
2017-09-08T11:30:04
2017-09-08T11:30:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "bummel1889@gmail.com" ]
bummel1889@gmail.com
6c6e0e149c60270d3573a57dfa2fd3aa115c5361
e1fe1ed4f2ba8ab0146ce7c08d65bc7947150fc8
/credit11315/spiders/no_redis_detail_info_scrapy.py
3fb233a4bbd3603929edc4969dbae24a6847b673
[]
no_license
yidun55/credit11315
0d88ceef314efa444de58eb5da8939c1acff3abe
b048ec9db036a382287d5faacb9490ccbf50735c
refs/heads/master
2021-01-20T01:03:30.617914
2015-07-31T09:58:24
2015-07-31T09:58:24
38,853,611
0
1
null
null
null
null
UTF-8
Python
false
false
5,621
py
#!usr/bin/env python #coding: utf-8 """ 从11315全国企业征信系统http://www.11315.com/上 爬取企业信息 """ from scrapy.spider import Spider from scrapy.http import Request from scrapy import log from scrapy import signals from scrapy import Selector from scrapy.exceptions import DontCloseSpider import sys from credit11315.items import *...
[ "heshang1203@sina.com" ]
heshang1203@sina.com
733be284b833d1981ed58e617f84b58ca2f8dc00
d7a6502e2bad57aefa1a509e13074f014821abfd
/00x-isolate_digits_from_number.py
d6486ccd0a9989a6235762b25840b6e3f5284dda
[]
no_license
anibalvy/katas
5d63d5db6d7ec784f1e60de9c380be318fcb04f7
a28c26e8e2c9c174594fa4b81e14d9733ba44dc3
refs/heads/main
2023-07-16T08:47:31.494670
2021-08-24T06:44:28
2021-08-24T06:44:28
399,362,593
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
>> 1234//1000 1 >> 1234%1000//100 ...
[ "anibalvy@gmail.com" ]
anibalvy@gmail.com
86ed1a431a9ff503d5f122745fcd477b8c57065b
a379f5c5578ebd50998f634345f77f519c6b31a6
/share/gnuradio/examples/digital/ofdm/tunnel.py
aaf7ca5ee5e83217c9b78b60295d1565a29327a1
[]
no_license
bjarkimb/EQ2443-2445-Project-Group2
867cf3533ee2325b9966232cead6b3531031b3dc
dcbabc70fd0c865ab6e6ac724c6be606f9c61a38
refs/heads/master
2020-04-12T09:54:11.257264
2018-12-19T10:58:43
2018-12-19T10:58:43
162,412,306
1
1
null
null
null
null
UTF-8
Python
false
false
9,352
py
#!/usr/bin/python2 # # Copyright 2005,2006,2011 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your o...
[ "bjarkimb@gmail.com" ]
bjarkimb@gmail.com
eaea7564dec27050ddfd3d3746903d8608f0a40b
c842ae21582fb91a19605744d3d9b026b5bf9cc5
/cl3/settings.py
ae097bc7e618daea589f8c37329b6d28b6d8b32d
[]
no_license
Carlos-Daniel260/cl3
2e94bdf3254e38d646f8634092d2d3302886ee1a
bdaf12b3b88078e62cc6f59470892e01c653209f
refs/heads/master
2022-04-05T16:02:20.765358
2020-02-22T18:13:03
2020-02-22T18:13:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,128
py
""" Django settings for cl3 project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bui...
[ "183403@ids.upchiapas.edu.mx" ]
183403@ids.upchiapas.edu.mx
dd755e188ecdc91d717143c7321fa6eaf8bdb91a
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/.sample_configs/param_handlers/cancel_data_labeling_job_sample.py
b11a0a22ff20d8c981aefa487bf8a6a00db46715
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
716
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
noreply@github.com
392cb84f7fb97fc10dd40ee30b52ea4dccc43d0f
990ae6fd62d25eefe033003716827951c5fdac16
/HW3/hw2/attention.py
332eee2b39e92c972e19bf9936dc50d33ae61f42
[]
no_license
wwzoe/MT
3df537b609bd028392868597cffee16c3cb78dee
acd437b23bc1d756f621692d41c6c41a98253d35
refs/heads/master
2021-01-01T06:19:25.100293
2017-07-16T20:12:12
2017-07-16T20:12:12
97,404,501
0
0
null
null
null
null
UTF-8
Python
false
false
12,689
py
# coding: utf-8 #--------------------------------------------------------------------- ''' Neural Machine Translation - Encoder Decoder model Chainer implementation of an encoder-decoder sequence to sequence model using bi-directional LSTM encoder ''' #-----------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
6ed1bc1d026edbcc0983015edc3b0d6b6c053af7
ea8e945af461ae6e5a2dcd9dce244391f14ec695
/koyama/chapter10/knock98.py
e465cc971c6708ec9fbbc0331c437272abe9da90
[]
no_license
tmu-nlp/100knock2020
b5a98485e52b88003fa97966c8d6eef292c9f036
1133fa833ea32ad3e54833e420bcb1433f3ec2f3
refs/heads/master
2023-04-09T06:48:04.571566
2020-08-13T05:38:25
2020-08-13T05:38:25
258,825,143
1
2
null
2020-08-12T15:56:56
2020-04-25T16:43:13
Python
UTF-8
Python
false
false
1,304
py
# 98. ドメイン適応 # Japanese-English Subtitle Corpus (JESC)やJParaCrawlなどの翻訳データを活用し, # KFTTのテストデータの性能向上を試みよ. ''' CUDA_VISIBLE_DEVICES=6 nohup fairseq-train \ /work/aomi/100knock2020/chapter10/data/JESC/processed/bin \ --save-dir /work/aomi/100knock2020/chapter10/knock98/models/model_1111/pretraining \ --arch transform...
[ "aomiabracadabra@gmail.com" ]
aomiabracadabra@gmail.com
e0b5ee0cd516322f32a722536ad76fe2471c92fa
f682815bff031cf04e958ac39380d73b2e671fe5
/ml_experiment.py
01388edb34d76c41b99b015822717c06d053d5dd
[]
no_license
crocodoyle/deep-mri-qc
8ec6665d48d8f92ea5baf034027dc04e4ac5e3d7
35058166ef1460f841728bd97a676d0758d13317
refs/heads/master
2020-06-28T18:39:13.509219
2018-12-06T22:54:21
2018-12-06T22:54:21
74,483,623
5
7
null
2018-01-12T01:33:55
2016-11-22T15:00:58
Python
UTF-8
Python
false
false
573
py
import os, pickle def setup_experiment(workdir): try: experiment_number = pickle.load(open(workdir + 'experiment_number.pkl', 'rb')) experiment_number += 1 except: print('Couldnt find the file to load experiment number') experiment_number = 0 print('This is experiment numbe...
[ "doyle.andrew@gmail.com" ]
doyle.andrew@gmail.com
0a458cffdfd12e0e313827f589640df8bbc8290b
b2b532b74a89510d71e108cf7d20507384d115d4
/print_index.py
5ddb8aa6ad516d27e645ef43e5c3f7a38368fbe2
[]
no_license
jyurick/cmput397Assignment1
6b624cc2fb187be4cbae0e52cd3e5a4fbf5801cf
363985076fd251d7a623a6826f933f325c8c7f2c
refs/heads/master
2020-04-06T05:47:16.724276
2017-02-28T06:09:15
2017-02-28T06:09:15
82,961,893
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
import sqlite3 import sys #takes in system argument as the sqlite3 db_Name and connects to it db_name = sys.argv[1] conn = sqlite3.connect(db_name) #selects data required and orders it by term and docid stmt = """ SELECT TERM, DOCID, POSITIONS FROM LISTINGS ORDER BY TERM, DOCID ASC; """ curs = conn.execute(...
[ "jyurick@ualberta.ca" ]
jyurick@ualberta.ca
f36e4bac20c903f91a082d88b22b765caafeac35
a708f1d36586d2b01c99f2cb44aa4612b10192f6
/周赛/week183/5376非递增顺序.py
eb36dbf409919c8981dd21302f726a93af63edc0
[]
no_license
LeopoldACC/Algorithm
2477e8a371e9cdc5a47b582ca2a454539b96071e
fc1b0bec0e28d31e9a6ff722b3a66eacb0278148
refs/heads/master
2023-01-25T02:28:14.422447
2020-12-03T15:01:10
2020-12-03T15:01:10
197,297,197
2
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
class Solution:###最终版 def minSubsequence(self, nums): nums = sorted(nums) prefix_sum = nums[:] for i in range(len(nums)-2,-1,-1): prefix_sum[i]+=prefix_sum[i+1] index = -1 for i in range(len(nums)-1,-1,-1): if prefix_sum[i]>prefix_sum[0]//2: ...
[ "zhenggong9831@gmail.com" ]
zhenggong9831@gmail.com
80f832455983b37492aabb45c118bac2cd8e5ae4
e49f2251e07a70c943b70bbae27c439631a31552
/tfx/components/model_validator/component.py
d6bc178a4182f17e0e083067fa3c9cd3df96c6b5
[ "Apache-2.0" ]
permissive
hephaex/tfx
eac03c1ab670368088ec2a49af28ff374dc95c4a
76d8731cb54be3451e10d270d8bcb0589401135f
refs/heads/master
2020-09-16T11:52:06.198631
2019-11-23T21:01:50
2019-11-23T21:45:46
223,760,941
1
0
Apache-2.0
2019-11-24T14:53:08
2019-11-24T14:53:08
null
UTF-8
Python
false
false
4,026
py
# Lint as: python2, python3 # Copyright 2019 Google LLC. 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 req...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
02275546e99d17fd7465ff2cbf3e4eacf57003e3
a64757759a7170478ad3e9c71429c484491426be
/autoconv.py
85e7b1b45b29a9ad766ab17c57193b68b5453c93
[]
no_license
fy0/autoconv
940928810bcda472bf401c14c2452ef64359fd9c
1073934a0d03eba5e5192ffb583629308ff74d13
refs/heads/master
2021-07-01T01:30:25.249292
2017-09-18T08:11:57
2017-09-18T08:11:57
103,892,929
1
1
null
null
null
null
UTF-8
Python
false
false
2,704
py
""" { "global": { "encoder": "opusenc.exe", "input_dir": "input", "output_dir": "output", "watch_ext": [".wav"], "output_ext": ".opus" }, "types": { "music": { "--title": "track title" } } } """ import os import json import time impor...
[ "fy0@qq.com" ]
fy0@qq.com
6cfeff895436cedefcd17101ee2bfb6460f6e66d
da4dcd5dc90c8b3bbcc4b250da65017e090aafd5
/9.27/scrapy/scrapyboss/scrapyboss/pipelines.py
33d0caf8124ddacaacf491d9dcea3527ae61f6d2
[]
no_license
yuebanwanwan/9.27
2a8100d987597056d1611590256114c67e77e24f
1ee29ac21371524764c4be43c5dd90a3082e1ac6
refs/heads/master
2020-03-29T23:55:00.608808
2018-09-26T22:12:43
2018-09-26T22:12:43
150,495,992
0
0
null
null
null
null
UTF-8
Python
false
false
2,333
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import pymongo import pymysql from scrapy.exceptions import DropItem class MongoPipeline(object): def __init__(self, mong...
[ "943804417@qq.com" ]
943804417@qq.com