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
687052a1711a288135716995285386d0849b8c02
c89ffb9eff94c3d17a87edaaeb7e8d5383cff249
/test.py
2f14abf7e4c51fdc9437960d7046e14e6da0b018
[]
no_license
LukeMiles49/Buzz-Words
d9eb95377c76249db135e03dfe2440aeef2adbab
a53e745554ea0e5e2a2434a5c22bf2e8549e8b1a
refs/heads/main
2023-03-06T20:22:27.058995
2021-02-28T00:27:55
2021-02-28T00:27:55
342,924,361
0
1
null
null
null
null
UTF-8
Python
false
false
460
py
import torch from transformers import GPT2LMHeadModel, GPT2Tokenizer # initialize tokenizer and model from pretrained GPT2 model tokenizer = GPT2Tokenizer.from_pretrained('gpt2') model = GPT2LMHeadModel.from_pretrained('gpt2') def predict(input): inputs = tokenizer.encode(input, return_tensors='pt') outputs = model...
[ "luke.49@live.co.uk" ]
luke.49@live.co.uk
77936d27233ecb6692cf71a0edc03f93a9bed8ae
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/130_Fluent_Python/fp2-utf8/bloccode/example 13-14.py
98a7540674b5e587a7df1e47f5cf78c41d0e53e3
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# Example 13-14. typing.SupportsComplex protocol source code @runtime_checkable class SupportsComplex(Protocol): """An ABC with one abstract method __complex__.""" __slots__ = () @abstractmethod def __complex__(self) -> complex: pass
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
6558b05697dcd764faf069be18b8ccd43daaab96
1f55df5c958331d0a548e1c0223fbaad4eff17bc
/readFromFile.py
8cc5c3746013fef2d18b5d78cce8028f4546cace
[ "MIT" ]
permissive
aero-error/DS18B20_10x10_Array
24b0b166b8eb19c018bfe833091e4a978a959da2
527b14e128b7e22e5d1130ab5ce4fa2b4becf6bd
refs/heads/master
2020-09-12T21:23:13.088481
2020-04-11T02:28:22
2020-04-11T02:28:22
222,560,396
1
0
null
null
null
null
UTF-8
Python
false
false
1,707
py
# Michael Gromski # This program reads data from a text file and converts it to a useful form and makes a contour plot import matplotlib.pyplot as plt import numpy as np from matplotlib import cm import matplotlib file_name = input("Enter the name of the file you want to read from: ") fvar = open(file_name,"...
[ "noreply@github.com" ]
noreply@github.com
ed70c705ec8d9478a07185a53de1b135ddca0511
c4f0409c27bfde56af5426b378c0a6eea7b1d79f
/main.py
f5875c45d8e88f2aa573f16a9a5cf2b696ec9dc0
[]
no_license
Rodrigofz/Tarea2Grafica
bdd792ea85f633dab7a3bcfe1e763b6eff7c6e3a
fe1393ea52c0cc5045f2fe3d1b205f9c59ca7bdb
refs/heads/master
2021-09-17T11:28:02.275866
2018-07-01T17:30:54
2018-07-01T17:30:54
133,091,733
0
0
null
null
null
null
UTF-8
Python
false
false
2,968
py
#!/usr/bin/env python from Resources.CC3501Utils import * from View.Window import Window from Model.Escena import Escena from Model.Pelota import Pelota from Model.Aro import Aro import random def main(): ancho = 800 alto = 600 init(ancho, alto, "Flappy dunk") vista = Window() items = [] pelo...
[ "rodrigo.fuentes.z@ug.uchile.cl" ]
rodrigo.fuentes.z@ug.uchile.cl
f3d83b764de388da70960460a57852996ffc4068
addbc64d41d1975d82f5bd284ceb8c64c4e6d128
/englishdictionary/dictionary/views.py
25bd240be8c2edd09a15449da4650727e31de581
[ "MIT" ]
permissive
iamansoni/Django-ProjectYard
dff8ff1926223426df0180f36d2e5d51101d9552
bf9f7613aa98b1709fe7e3be917a1ae30f69e518
refs/heads/master
2023-05-09T11:50:47.846036
2021-05-14T12:34:03
2021-05-14T12:34:03
363,965,518
2
0
null
null
null
null
UTF-8
Python
false
false
535
py
from django.shortcuts import render from PyDictionary import PyDictionary # Create your views here. def index(request): return render(request, 'index.html') def word(request): search = request.GET.get('search') dictionary = PyDictionary() meaning = dictionary.meaning(search) synonyms = dictionary....
[ "amansoni162001@gmail.com" ]
amansoni162001@gmail.com
352e1986d5a4bcac3ff903fd27c91bb9134f049b
a904e99110721719d9ca493fdb91679d09577b8d
/month04/project/day01-note/django-redis-4.10.0/tests/test_sqlite_herd.py
8a053dfdee6155fadba6c8df1a27d172aada7270
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
chaofan-zheng/tedu-python-demo
7c7c64a355e5380d1f8b6464affeddfde0d27be7
abe983ddc52690f4726cf42cc6390cba815026d8
refs/heads/main
2023-03-12T05:17:34.596664
2021-02-27T08:33:31
2021-02-27T08:33:31
323,350,480
4
1
null
null
null
null
UTF-8
Python
false
false
1,113
py
SECRET_KEY = "django_tests_secret_key" CACHES = { 'default': { 'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': [ '127.0.0.1:6379:5', ], 'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.HerdClient', } }, "doesnotexist": { "BACK...
[ "417355570@qq.com" ]
417355570@qq.com
863e45c0783451eb725d9e5182ae2b3154aabdaf
c2634ebec1d4448e372d174f459c3cbc03fd1edc
/lib/node_modules/@stdlib/math/base/special/cosm1/benchmark/python/scipy/benchmark.py
0f15a4ea4a9a905870399f1ccf3964f8e9ad5d86
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "SunPro", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
stdlib-js/stdlib
ede11aee78f08e4f78a0bb939cb0bc244850b55b
f10c6e7db1a2b15cdd2b6237dd0927466ebd7278
refs/heads/develop
2023-09-05T03:29:36.368208
2023-09-03T22:42:11
2023-09-03T22:42:11
54,614,238
4,163
230
Apache-2.0
2023-09-13T21:26:07
2016-03-24T04:19:52
JavaScript
UTF-8
Python
false
false
2,198
py
#!/usr/bin/env python # # @license Apache-2.0 # # Copyright (c) 2018 The Stdlib Authors. # # 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 # # ...
[ "kgryte@gmail.com" ]
kgryte@gmail.com
7ab813efd20e559f09194ee7be752e1706a4e176
f48a7bb8bfab291c5bfae6cb32e0afec3a39f32f
/example.py
01285e4e6e83ca0505853dda6977da9227fee83c
[]
no_license
gravitino/cuda_tensorflow_op
ee784f2b877cecfbb09c845163a75188ea0c7c55
99250dd00221ce74cc239fcc2a9cf86f89008627
refs/heads/master
2021-01-25T05:09:02.934010
2017-06-06T10:50:28
2017-06-06T10:50:28
93,508,184
1
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import tensorflow as tf module = tf.load_op_library('./cuda_op_kernel.so') # make sure you have tensorflow with GPU support with tf.Session('') as sess: ret = module.add_one([[1, 2], [3, 4]]).eval() print(ret) exit(0)
[ "christian@iaimz105.Informatik.Uni-Mainz.DE" ]
christian@iaimz105.Informatik.Uni-Mainz.DE
b33c0a3e1bd79d3a99d2baea18f3b07db8702741
422dd5d3c48a608b093cbfa92085e95a105a5752
/students/WesleyM/Lesson09/get_news_threading.py
f7fbb7bae0a6e39d86f51d35eb3239abf6f498c7
[]
no_license
UWPCE-PythonCert-ClassRepos/SP_Online_Course2_2018
a2052fdecd187d7dd6dbe6f1387b4f7341623e93
b1fea0309b3495b3e1dc167d7029bc9e4b6f00f1
refs/heads/master
2021-06-07T09:06:21.100330
2019-11-08T23:42:42
2019-11-08T23:42:42
130,731,872
4
70
null
2021-06-01T22:29:19
2018-04-23T17:24:22
Python
UTF-8
Python
false
false
1,439
py
import threading import queue import requests WORD = "trump" NEWS_API_KEY = '2d36b604aa1d49cfab25f38a286ae252' base_url = 'https://newsapi.org/v1/' def get_sources(): url = base_url + "sources" params = {"language": "en", "apiKey": NEWS_API_KEY} resp = requests.get(url, params=params) d...
[ "wesmoy@uw.edu" ]
wesmoy@uw.edu
33a3b799a3950bfde4f6cd3d7c033db3c2a57f6f
d77625d9d104022f83ab8fb5e2d7a7f5a24f5527
/test.py
194187e36d0d808745f23df7e35e45330a804a53
[]
no_license
KonradRomanski/python_tasks
9e4ab047f86c18b056eaa7debdd2e5427068c1d4
2bc59ee74430b85e8a473eeec02ca5a88f89c247
refs/heads/master
2022-09-30T06:18:37.309348
2020-06-08T11:38:28
2020-06-08T11:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
def main(): Students = {} Tests = {} N = int(input()) for i in range(N): li = input().split() if not li[0] in Students: Students[li[0]] = [0, 0] for j in li[1:]: newli = j.split(":") if not newli[0] in Tests: Tests[newli[0]] = [0, 0] ...
[ "konrad.romanski4@gmail.com" ]
konrad.romanski4@gmail.com
be6e9cd5df70141c29b35669beebe80bfc35281e
863bea017a940375c38bec185c5e7da80b6d7191
/handlers/peliculas/search.py
72b5b6ddedc76945b7a262b57de35a043c643e3a
[]
no_license
Iagosevic/TopPelis
f4a8d52d75ccc602563c6d82aff4e9e68b90e478
10945003e5f0b35932c88beac9bd8ce263a83798
refs/heads/main
2023-05-04T22:49:12.001081
2021-05-21T16:23:31
2021-05-21T16:23:31
366,488,263
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
# coding: utf-8 # Busca una pelicula #Librerias importadas import webapp2 from webapp2_extras import jinja2 from model.pelicula import Pelicula from webapp2_extras.users import users class SearchPeliculaHandler(webapp2.RequestHandler): #Datos que obtenemos def get(self): #Usuario conectado...
[ "noreply@github.com" ]
noreply@github.com
880d293bb0d9e36550170f299a152867bfe0641e
3fc642d275e7688b64919737dc3544646cc8730d
/skplot.py
cb7f2418db58a9f53b52821b48f943b9a1a02286
[]
no_license
AshishShenoy/skplot
4b1231d69889b3d421a4802be0131cfd37716b52
64e340520a0a879da541d89b0b87e553379027c1
refs/heads/master
2020-04-13T23:11:21.299184
2019-05-07T06:28:30
2019-05-07T06:28:30
163,499,706
1
0
null
null
null
null
UTF-8
Python
false
false
6,834
py
""" Created on Nov 02 18:27:52 2018 Project: Plotting a best fit line through a set of points. This is a program which aims to plot a best-fit fit line through a scatter plot. The user may input the co-ordinate points either a .csv file or may enter them manually one at a time. An example result has been provided as w...
[ "ashish1shenoy@gmail.com" ]
ashish1shenoy@gmail.com
169eefc9524590604288b8376f8c1f4d487c5c88
fa78cd539cade5bba07e393c8d1184be58a6477a
/waste_collection/admin.py
a67fc1b7b28aa161d2dfddec85b68688bc9f5d76
[]
no_license
iLabs-Makerere-University/tilenga-crm-django
e2c3e8777f012052a8cd77af5e06b9ae2180f805
f764153e9c5877e20be1a1c1459de9fcb2b9df07
refs/heads/master
2020-04-29T22:08:04.113720
2019-04-01T08:18:15
2019-04-01T08:18:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from django.contrib import admin from . models import WasteManagementProcedure class WasteManagementProcedureAdmin(admin.ModelAdmin): pass admin.site.register(WasteManagementProcedure, WasteManagementProcedureAdmin)
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
929169ddee7131e5d77a178db50fa36f3c20ccdb
eeebae33ee2da583b464bb675cb6c81119524635
/fsdet/utils/env.py
8a7a212881580a89aa54c059d7b25b66f452ff7a
[ "Apache-2.0" ]
permissive
rakshitsakhuja/fsodet-run
1fe37c752ddc41b3b08cc6e706876edd0606372f
f663f701fb44915eb6de6e3bf8a9b5860db1f4c0
refs/heads/master
2023-04-10T23:08:58.718076
2021-04-25T09:33:58
2021-04-25T09:33:58
341,829,584
1
0
null
null
null
null
UTF-8
Python
false
false
3,263
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import importlib import importlib.util import logging import numpy as np import os import random import sys from datetime import datetime import torch __all__ = ["seed_all_rng"] def seed_all_rng(seed=None): """ Set the random seed for the...
[ "masterkidster@gmail.com" ]
masterkidster@gmail.com
61cfe6f18ab635a11a0e052d6d4160784fee45a5
22425a720986a746ddc2250295821023f53b74ef
/lanparty/lanparty_server/controllers/__init__.py
d50bf5c90bc29160f52f69bf9157f8ec52bbb0d6
[]
no_license
thehellnet/lanparty-server
bd877ad4693e27434d340116af25a3d7f661aa68
2cd64e650fed92faf4e586f2fce5f9fb23822126
refs/heads/master
2020-04-08T18:48:47.958466
2019-05-17T13:22:24
2019-05-17T13:22:24
159,626,137
1
0
null
null
null
null
UTF-8
Python
false
false
19
py
from . import tool
[ "sardylan@gmail.com" ]
sardylan@gmail.com
5d1c155d585d3b0a1036f0568b04008eafae631a
5ccd63bc0a51f6cbf8431395e69d263b88c3434d
/agents/policy_gradient/modules/generalized_onpolicy_loss.py
f72276336ffbfb188fb8f2fe5c2ebb405446b09d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-research/seed_rl
12076a223365c700772e9e1ec5fdf6e6aa3dc67d
0e1e0ac9178a670ad1e1463baed92020e88905ec
refs/heads/master
2023-08-25T05:07:19.775923
2022-11-29T12:41:08
2022-11-29T12:41:08
215,027,338
818
164
Apache-2.0
2023-01-16T11:48:01
2019-10-14T11:35:42
Python
UTF-8
Python
false
false
11,465
py
# coding=utf-8 # Copyright 2019 The SEED Authors # 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 agre...
[ "stanczyk@google.com" ]
stanczyk@google.com
d7b781bab6353a104d0b726b33244a8255434f2b
d47cd584579452a8212a19ffee462f0c2e792a9c
/fluent_contents/utils/tagparsing.py
0267274366501f593eb3eb2a955f356a98482d1c
[ "Apache-2.0" ]
permissive
kerin/django-fluent-contents
9db6d397c3b5aeebc4691e3b8ad6f09fbbd50c41
d760e7d1648f4583bdd8ba4c3078a3f5d9f544b4
refs/heads/master
2021-01-15T17:55:28.346869
2013-02-11T14:26:04
2013-02-11T14:26:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
from django.template.base import TemplateSyntaxError, Token import re kwarg_re = re.compile('^(?P<name>\w+)=') def parse_token_kwargs(parser, token, compile_args=False, compile_kwargs=False, allowed_kwargs=None): """ Allow the template tag arguments to be like a normal Python function, with *args and **kwargs...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
4df8edf8fd0b18807fd1e09544c4b2f48e36594d
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/battle_control/arena_info/invitations.py
b1b060087fc9dc86befe5e49b3490250cc218ed0
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
10,226
py
# 2017.08.29 21:44:26 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/battle_control/arena_info/invitations.py import BattleReplay from adisp import process from constants import PREBATTLE_TYPE, INVITATION_TYPE from gui.battle_control.arena_info.settings import INVITATION_DELIVERY_STATUS from gui.ba...
[ "info@webium.sk" ]
info@webium.sk
c0048d8b6c66c64ca5af65eba38528e645253d6b
a7625f86f3cc944b56f2862fad83e758d259baf9
/chapter5/q20.py
980149e8ec494ac30e3a62d6aa4ace021074f761
[]
no_license
luke-mao/Data-Structures-and-Algorithms-in-Python
a517a2a87136002475489ee4c2924073daab4508
a60ea0ccaa85bf4ca288736b3a55d5396213a408
refs/heads/master
2022-08-28T18:51:33.515450
2020-05-27T04:46:06
2020-05-27T04:46:06
264,062,695
1
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
""" test 4 different methods to construct a long string """ import time def method1(n): letters = "" for _ in range(n): letters += "a" return letters def method2(n): temp = [] for _ in range(n): temp.append("a") return "".join(temp) def method3(n): return "".join([...
[ "55699548+luke-mao@users.noreply.github.com" ]
55699548+luke-mao@users.noreply.github.com
601dc711804496f547111d1d953946085dd3b498
e07da133c4efa517e716af2bdf67a46f88a65b42
/hub20/apps/ethereum_money/management/commands/load_tracked_tokens.py
5701e391f3f536030bd13c896353e2c518edd93a
[ "MIT" ]
permissive
cryptobuks1/hub20
be1da5f77a884f70068fd41edaa45d5e65b7c35e
3a4d9cf16ed9d91495ac1a28c464ffb05e9f837b
refs/heads/master
2022-04-19T21:26:15.386567
2020-04-19T07:17:47
2020-04-19T07:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
import logging from django.core.management.base import BaseCommand from eth_utils import to_checksum_address from hub20.apps.ethereum_money.app_settings import TRACKED_TOKENS from hub20.apps.ethereum_money.models import EthereumToken logger = logging.getLogger(__name__) class Command(BaseCommand): help = "Load...
[ "raphael@lullis.net" ]
raphael@lullis.net
790e5e58745705e85b5e870e38166ed8d9fd690c
b1a38b9a4ede490f0c680ba5f7ee2eb9f689f35a
/assignment-2/best_friends.py
efbd7631751cf43e661feb33a34ac4cf46936a22
[]
no_license
jencmart/mff-nlp1-npfl124
e6e2836d57f40a5afe260694b422dfe5645e89bc
be913089f95fd9799c7576a2bc9c26f6a235d255
refs/heads/master
2023-03-12T11:14:01.930363
2021-03-06T10:31:03
2021-03-06T10:31:03
306,836,452
0
0
null
null
null
null
UTF-8
Python
false
false
3,712
py
import errno import os import numpy as np from utils import * def compute_counts(dataset, min_dist=1, max_dist=1, reverse=False): # 2 51 bigram_count_dict = CountDict() unigram_count_dict = CountDict() max_index = len(dataset) - 1 for idx, first_word in enumerate(dataset): unigram_count_dict....
[ "martin.jenc@getmanta.com" ]
martin.jenc@getmanta.com
6ef6540bd2180186c923cbd1e76bfd2414db3f1d
ec6b94f8fa4558f2156f5cdf1ab0347fb5573241
/tests/clickhouse/query_dsl/test_project_id.py
ce274c9a8930b4499e68fc3e9dba3946378cca79
[ "Apache-2.0", "BUSL-1.1" ]
permissive
pombredanne/snuba
8e9a55bf38b3ac84407d0c2755e3c0ac226688de
eb1d25bc52320bf57a40fd6efc3da3dd5e9f1612
refs/heads/master
2021-08-27T20:55:46.392979
2021-08-14T08:21:47
2021-08-14T08:21:47
171,631,594
0
0
Apache-2.0
2020-01-10T10:42:17
2019-02-20T08:26:17
Python
UTF-8
Python
false
false
4,583
py
from typing import Any, MutableMapping, Set import pytest from snuba.clickhouse.query_dsl.accessors import get_object_ids_in_query_ast from snuba.datasets.factory import get_dataset from snuba.datasets.plans.translator.query import identity_translate from snuba.query.parser import parse_query test_cases = [ ( ...
[ "noreply@github.com" ]
noreply@github.com
fee6c4374d7d6e9eceaa09cf64c3bf93594efe6c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/9960b43c9cc1e2a2e58da7952283f93d09a1fdc0-<f_regression>-bug.py
1f2d5280f165e64d4a762027a36feb370bb04cf1
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
def f_regression(X, y, center=True): 'Univariate linear regression tests.\n\n Linear model for testing the individual effect of each of many regressors.\n This is a scoring function to be used in a feature seletion procedure, not\n a free standing feature selection procedure.\n\n This is done in 2 ste...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
51e2a1aef863002583ef59c35412aaf0cd607aec
465192ba0485123e7b87f0a2636fadd343fd4723
/transfer.py
a07ce47e8ea029b4c361aa903b95183604c3696e
[]
no_license
sunset233/FringerprintCode
05cc519eb6fc36abdaa607d07b778f4925c76767
88342bcd9b5bd3b7e9d93ff812567c2d6596a771
refs/heads/master
2022-06-28T14:48:25.248197
2020-05-09T14:43:55
2020-05-09T14:43:55
257,637,347
0
0
null
null
null
null
UTF-8
Python
false
false
2,857
py
import matplotlib from matplotlib import pyplot as plt matplotlib.rcParams['font.size'] = 18 matplotlib.rcParams['figure.titlesize'] = 18 matplotlib.rcParams['figure.figsize'] = [9, 7] matplotlib.rcParams['font.family'] = ['KaiTi'] matplotlib.rcParams['axes.unicode_minus']=False import os import tensorflow as...
[ "786678906@qq.com" ]
786678906@qq.com
a4dfd68fde668dcfdee308b7d26cd714302bba38
a4b185c5a7d5e386c3b8f738a3e79257e36fd015
/scapy/config.py
836de46831e7b8c5c4d2bf0d525aa704af0a77c1
[]
no_license
sh0wrun/scapy
d640dccc22ebf04510fcf3406e88ffcce6da5f9b
2adc641a37022b267275eb41330a0bbf9b683d21
refs/heads/master
2021-01-01T20:16:11.995257
2013-01-13T05:34:29
2013-01-13T05:34:29
12,031,321
1
1
null
null
null
null
UTF-8
Python
false
false
13,032
py
## This file is part of Scapy ## See http://www.secdev.org/projects/scapy for more informations ## Copyright (C) Philippe Biondi <phil@secdev.org> ## This program is published under a GPLv2 license """ Implementation for of the configuration object. """ import os,time,socket,sys from data import * import base_classes...
[ "db@d1b.org" ]
db@d1b.org
b41f6497620dac2bc9d6fd9ccbf1f73d47a95d85
a14251a744f54752608d458addb4c4bccaac40d1
/design.py
b1e12dd8f7d74796b5630555affc095c0bfdcb99
[]
no_license
menardiluis/valida-cria-cpf
488285520c80aae45b0cdda78ccf0a33dd8f62ea
59086634030563e1ce002d83427483d21cb53180
refs/heads/master
2022-10-01T12:49:35.712640
2020-06-12T15:30:57
2020-06-12T15:30:57
271,826,760
0
0
null
null
null
null
UTF-8
Python
false
false
4,086
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'design.ui' # # Created by: PyQt5 UI code generator 5.14.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_mainWindow(object): def setupUi(self, mainWindow): mainWin...
[ "luisfelipemenardi@gmail.com" ]
luisfelipemenardi@gmail.com
e25792216f15f7cbbb8cbb007b836e573f7926a2
ed8a6d4c4f7e2852bd9d2bd29da2030b0de6b78d
/InnovApplication/styleSheet.py
535d62806b5a014b453c742b4a0a639b43c7fa58
[]
no_license
CrippledCoder/Innovation-Control-Station
9e36cda44740e8f36e6ecebac81cc4e1f43c818f
02f5702ec8829b71d40879186fa407af6077b755
refs/heads/master
2020-10-01T09:41:12.353605
2020-01-20T06:42:31
2020-01-20T06:42:31
227,510,841
0
0
null
null
null
null
UTF-8
Python
false
false
5,757
py
buttonStyle = '''QPushButton { box-shadow: 3px 4px 0px 0px #1564ad; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0.05 #79bbff, stop:1 #378de5); border-radius:10px; ...
[ "emontano07@gmail.com" ]
emontano07@gmail.com
d7a325770fdcbe57186119e3f58637592af06199
2821a44dbb4ced3ed3c09bc34f2506a98460bdb7
/myapp/api/controllers.py
4f86a6f76da2e2938bc4f3d265c0a7d33d41cc21
[]
no_license
frylion007/flask-template
81159f742049031dc6a021f3d686ebc76bc5dd97
a26e5f5a13c3f433b7cf359ea628b5f050c427f5
refs/heads/master
2020-04-16T02:59:14.265247
2018-03-20T09:34:38
2018-03-20T09:34:38
165,215,910
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
from flask import Blueprint from views import TestApiView api_bp = Blueprint("api", __name__, url_prefix="/api") api_bp.add_url_rule("/<user_name>/", view_func=TestApiView, methods=["GET", "POST"])
[ "nib@yoozoo.com" ]
nib@yoozoo.com
b8d323d0decccbe9ef3af3f5071207f3446049e5
bc1e9812575b2e75e63c518c707774d82a033ad7
/compiler/scanner.py
082c4728496231d10df020c9f0e89109cc356751
[ "MIT" ]
permissive
julien-klaus/karel_the_robot
98fff949acea48db90a5a748adc9daa0030dacfc
a9faa528330152e0a7862e9f2b6727abfb6d3c31
refs/heads/master
2022-11-09T12:11:22.513985
2020-06-16T09:15:55
2020-06-16T09:15:55
270,610,152
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
import string SYMBOLS = { "m": "command", # move, no effect at barrier "l": "command", # turn left 90 degree "i": "command", # if <condition> (<program>) (<program>) "u": "command", # until <condition> (<program>) "b": "condition", # TRUE if next is barrier "n": "condition", # TRUE current head...
[ "julien.klaus@uni-jena.de" ]
julien.klaus@uni-jena.de
4cf33718ef8b8bd7a8a0b1a563669018b615f109
9d4f68edfe2b68689f27fbf8d4601b5e759c9b07
/restful_dailyfresh/apps/user/migrations/0001_initial.py
fb8fea353230fb69877bbb8bf707e5f21693a8c5
[]
no_license
javerthu/demo
8cb9a7eadadde70c3117b2d598f47d4b977450d7
06335132e75c4df4ee2be535e255d9bc762e0087
refs/heads/master
2020-08-15T01:23:38.717143
2020-04-02T15:36:19
2020-04-02T15:36:19
215,259,562
2
0
null
2019-10-15T15:31:25
2019-10-15T09:29:38
Python
UTF-8
Python
false
false
4,536
py
# Generated by Django 2.2.6 on 2020-02-08 06:25 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "867216905@qq.com" ]
867216905@qq.com
a04bcc8f85cb55607cb8959f387f42c8434a5ffa
1cb9c9ad628bd2d890abc82a4a9849fc390d9d8a
/python tutorial/buyLotsOfFruit.py
d4a50cf6e3e163e4b6fa10b73a6469a2233ebb15
[]
no_license
Krantipaudyal/AI
48463dac95e6081ce6e527bbd2d3ac168a5f045f
d3eb4e2ab2046f757fc1b83d1e4d6c5ba7dcead5
refs/heads/main
2023-04-26T18:53:17.927678
2021-05-24T17:48:49
2021-05-24T17:48:49
370,430,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,672
py
# buyLotsOfFruit.py # ----------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berk...
[ "krantipaudyal@gmail.com" ]
krantipaudyal@gmail.com
9ab4ed47cb64a9963e3b6bcb5959c964797d8b3e
71d406a01a0646c14e4a94491e73f148872a97ec
/blogs/views.py
624e1838f7747473cce1e85b883b45fa154ec34e
[]
no_license
sriganesh/bearblog
db203ba463a8f83eb00eb4c1ff04657a3ff65c30
a5900441ba94b70aad7d995e736ab424c0e0a619
refs/heads/master
2022-08-22T08:58:24.398971
2020-05-26T20:20:44
2020-05-26T20:20:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,319
py
from django.contrib.auth import login, authenticate from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import AuthenticationForm from django.shortcuts import get_object_or_404, redirect, render from django.views.generic.edit import DeleteView from django.utils import timezone from ...
[ "hfbmartinus@gmail.com" ]
hfbmartinus@gmail.com
2060dd1eb8b6b28482c5449d396292c1ec40fab1
b2a9df531ce9f29a481328abc48e363dfd76337d
/ndnrtc_stream/commands/base.py
c98ccf40cd9e4170085dba2d2f506bdde00e3e3c
[]
no_license
peetonn/ndnrtc-stream
1901998e8f8484decf7f9b2e829b74f47f61dfcf
3632c5fe91a14f8e0f67b519585beb53787693a8
refs/heads/master
2020-03-28T16:26:11.237276
2018-10-22T23:52:45
2018-10-22T23:52:45
148,694,770
2
1
null
null
null
null
UTF-8
Python
false
false
1,603
py
"""The base command.""" from utils import * from json import dumps import logging, os, signal, sys, time, tempfile logger = logging.getLogger(__name__) class Base(object): """A base command.""" def __init__(self, options, *args, **kwargs): global logger checkNfdIsRunning() self.optio...
[ "gpeetonn@gmail.com" ]
gpeetonn@gmail.com
3f4a3c4adb1d52cd5be7908542272346281dd5fd
2209d0974c4e692669159209de62606667853b2e
/lesson/lesson06b.py
b796b5f7655d4db3e2750b342e9165aca1c525b2
[]
no_license
g8gg/PythonLearning
022f0e773881aef276ddf61ebe660cceb9476dfd
2ae28caea50c152515d0f3d1ffcda2fad302dd48
refs/heads/master
2021-01-10T11:13:37.944765
2016-02-02T15:51:18
2016-02-02T15:51:18
47,162,981
0
0
null
null
null
null
UTF-8
Python
false
false
5,105
py
# Object & Class # Lesson 06 b # Class method & Static method # Polymorphic # named tuple 命名元组 from collections import namedtuple from this import s import codecs print('rot-13', "-" * 70) print(s) # rot13 encoding ! print("-" * 80) print(codecs.decode(s, "rot-13")) class A: count = 0 def __init__(self): ...
[ "fomalhaut@gmail.com" ]
fomalhaut@gmail.com
8a2eb7cfab390a2f709d7eb3419c08fa0e6dd095
0eb599c3bbfa6e5b31516913b88cc9db3a1311ce
/ABC_6q/abc169f.py
ad9eed03c6ee61e3f204ed1ab80452f68d22e136
[]
no_license
Linus-MK/AtCoder
5b84dc88c2d2773d0f97ed18265d303290da7879
a587e89a9e0c2ab4d36b09176bcc95e901e14326
refs/heads/master
2022-11-25T05:37:12.148722
2022-11-17T16:04:10
2022-11-17T16:04:10
169,840,698
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
n, s = list(map(int, input().split())) nums = list(map(int, input().split())) dp = [[0 for i in range(s+1)] for j in range(n+1)] mod = 998244353 dp[0][0] = 1 for i in range(n): for summ in range(s+1): if summ - nums[i] >= 0: dp[i+1][summ] = (2 * dp[i][summ] + dp[i][summ - nums[i]]) % mod ...
[ "13600386+Linus-MK@users.noreply.github.com" ]
13600386+Linus-MK@users.noreply.github.com
6cec2962afd83940865d9b5121ea405fb2a72374
c5dae77bb3ec7b39dca5c5c0522e101c4cb6d5a8
/rooms/permissions.py
8e1b5f8ec4de3e3507e9a1b899d0fbe75120a6cc
[]
no_license
Parkyes90/airbnb-api
f0726018738aad8eaf4ea891bb3de076ad875a36
f80864757433d0ea0421b2f47d2daab9cf02915f
refs/heads/master
2023-04-28T21:53:31.687273
2022-12-24T01:38:24
2022-12-24T01:38:24
243,207,499
0
0
null
2023-08-17T17:23:51
2020-02-26T08:19:24
Python
UTF-8
Python
false
false
320
py
from rest_framework.permissions import BasePermission class IsOwner(BasePermission): def has_object_permission(self, request, view, obj): if not hasattr(obj, "user"): raise Exception("해당 모델이 사용자 필드를 가지고 있지 않습니다.") return obj.user == request.user
[ "parkyes90@gmail.com" ]
parkyes90@gmail.com
f6a713af97406d8dfa4ac81eebb0b71130ec20fe
e80c5a1f6073a24d59bdce3bcf00935320502c13
/tests/integration/test_create_user_and_login/test.py
e1bc99ca75bffdccc08e23e636441c376bede7d9
[ "Apache-2.0" ]
permissive
manmitya/ClickHouse
3284828935099dc395da41c7d6c81f506b04d144
85e260286651bd6151d1e18f6f7a5160df300cd0
refs/heads/master
2022-11-10T09:57:06.882929
2020-07-02T21:57:41
2020-07-02T21:57:41
276,752,421
0
0
Apache-2.0
2020-07-02T21:55:36
2020-07-02T21:55:35
null
UTF-8
Python
false
false
5,696
py
import pytest from helpers.cluster import ClickHouseCluster from helpers.test_tools import TSV import re cluster = ClickHouseCluster(__file__) instance = cluster.add_instance('instance') @pytest.fixture(scope="module", autouse=True) def started_cluster(): try: cluster.start() instance.qu...
[ "vitbar@yandex-team.ru" ]
vitbar@yandex-team.ru
ec400920cda9509c5c17882288afd3c75cf06cba
73da198ccfca2d0d77b7c48399fc051d180cdeb6
/main.py
82672ba635aa06e8f148a83eb7fbb92557b4535f
[]
no_license
nfsrules/AxionautV1
186a2f397ec903a8ab27eecebbb9c8dee973d7c8
2fbd69ae1d5c880bca47363bb8460e7d97d0aa00
refs/heads/master
2020-03-07T14:54:39.769936
2018-04-09T08:56:02
2018-04-09T08:56:02
127,539,420
1
0
null
2018-03-31T14:30:08
2018-03-31T14:30:07
null
UTF-8
Python
false
false
3,723
py
# coding=utf-8 import os import sys sys.path.append('Modules/') sys.path.append('Databases/') sys.path.append('Architectures/') sys.path.append('Models/') from utils import load_autopilot, get_commands import architectures import vehicles import argparse import warnings warnings.filterwarnings("ignore") models_path...
[ "nelson.fernandez@axionable.com" ]
nelson.fernandez@axionable.com
a84b905e0ab1f6527347ae02f73f29c344cdc327
243833b82131b1d45d54df72a1a6772f5497c904
/Tree/matrix to Tree.py
27966c2362042228f939a9533e737b10bbfed901
[]
no_license
Kumarved123/Basic-Data-Structure-Algorithm
e0c874c5ef2b5617449496887226d2816428e5ef
f2ba838472a484e982848dff3ee44cd38cd669cd
refs/heads/master
2020-05-19T03:15:45.289941
2020-01-19T17:06:43
2020-01-19T17:06:43
184,795,113
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
class Node: def __init__(self, data): self.data = data self.left = None self.right = None def findroot(matrix): n = len(matrix) zero = [0]*n for i in range(n): if matrix[i] == zero: return i def Tree(matrix): n = len(matrix) root = findroot(matrix) d...
[ "vkumar@ar.iitr.ac.in" ]
vkumar@ar.iitr.ac.in
9be35d2a711c8eb0700d7ddfc54912967c9d4596
ff81a9d7880f1b85a1dc19d5eba5ac72d7179c86
/pychron/options/views/flux_visualization_views.py
208b66906956dcd975359ab479acc112319b92dd
[ "Apache-2.0" ]
permissive
UManPychron/pychron
2fb7e479a9f492423c0f458c70102c499e1062c4
b84c9fd70072f9cbda30abe2c471e64fe3dd75d8
refs/heads/develop
2022-12-03T23:32:45.579326
2020-01-29T19:02:20
2020-01-29T19:02:20
36,100,637
0
0
null
2015-05-23T00:10:06
2015-05-23T00:10:05
null
UTF-8
Python
false
false
2,220
py
# =============================================================================== # Copyright 2015 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
1cb53ce92897d65d05b8eb78e9534d4bee7e0ba5
0fd9644616b5658ea960ef86f28b94cc95ce55e0
/djangoprj/mikrotik/migrations/0005_mtusers.py
744c7b72dff4e87a2d85c4bf78cfde2cdfeb1802
[]
no_license
zdimon/time-control
f4db6f26f15a18c89b91dba3f69a696a9d3a6c28
3a212d26dcaae13d3ca5a18247a425f63938fd7c
refs/heads/master
2020-05-13T16:33:53.011992
2019-04-19T07:05:01
2019-04-19T07:05:01
181,640,210
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
# Generated by Django 2.2 on 2019-04-17 07:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mikrotik', '0004_auto_20190417_0640'), ] operations = [ migrations.CreateModel( name='MTUsers', fields=[ ...
[ "zdimon@example.com" ]
zdimon@example.com
ccbb30f2c4537be943b2123987f1b949590019ab
4fd5415bc03bd03ecfd44bfc4160a2f7712b594e
/build/rosserial_embeddedlinux/catkin_generated/pkg.installspace.context.pc.py
ff6f007b1e60d030a434f140b8946315d75348c3
[]
no_license
z0sani/R-York
772beb715edbb942882dcf43cb9cd8c090f5d2cf
bac7758c2b89764e3208e5899d2b3c8820af370a
refs/heads/master
2020-03-28T06:31:17.660568
2018-09-07T15:35:30
2018-09-07T15:35:30
147,840,798
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rosserial_embeddedlinux" PROJECT_SPAC...
[ "matthew@fricke.co.uk" ]
matthew@fricke.co.uk
caa434acc7d304b0c285e9a771010088d560dbc5
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ReverseRepo/YW_NHG_SHHG_019_GC003.py
9f23f2cae281cc74a7cff9d8df2f7abdba2b90e2
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,025
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
226311f958f485ae3e09e79dde03c03782a6b7fc
2f0e14f919dd01aad3e48c5543c81eb3c5c5a348
/apitest/__init__.py
536c4e7f37cc1eee633b9948289f1996162f3dc2
[]
no_license
wangzhatian/DjangoDemo
d6542d4ebf54e05b19dc8d56127931b46d48b386
4471c59ab32f76a0f21df1ac3fb03ca60f5a0ff1
refs/heads/master
2020-12-03T14:45:22.588169
2020-12-03T09:40:15
2020-12-03T09:40:15
231,358,892
3
0
null
null
null
null
UTF-8
Python
false
false
47
py
default_app_config="apitest.apps.ApitestConfig"
[ "17630366020@163.com" ]
17630366020@163.com
b39aaecd5ccb3f941f78537dc62d06709bf9d156
dafbe82a8b21323e28b0912ad0896f504ba5fc7a
/4/is_palindrome_list.py
b575ba9996dab433a0243d1548c0a8137c7b6238
[]
no_license
lxyshuai/Algorithm-primary-class-python
4598d857eeff8f65af1ba42e13f72b7c16ab1fae
36730e37a920459ca9e1d923611160f6346f4131
refs/heads/master
2020-03-28T10:58:37.562337
2018-10-14T11:57:46
2018-10-14T11:57:46
148,165,013
2
0
null
null
null
null
UTF-8
Python
false
false
1,632
py
# coding=utf8 """ 判断一个链表是否为回文结构 【题目】 给定一个链表的头节点head,请判断该链表是否为回文结构。 例如: 1->2->1,返回true。 1->2->2->1,返回true。 15->6->15,返回true。 1->2->3,返回false。 进阶: 如果链表长度为N,时间复杂度达到O(N),额外空间复杂度达到O(1)。 """ class Node(object): def __init__(self, value): self.value = value self.next = None def is_palindrome(head): ...
[ "kobexyluo@tencent.com" ]
kobexyluo@tencent.com
a74807dd1e81c528164b688e80edeb4cc803d732
e16c4a24c3bf0ea0db23935c645381c59670b029
/experiments/python/vibrationdata_gui_python_4_6_15/vb_pink_noise_gui.py
ddfb68c5e8df9f38d4674fa2e8f6f18fdfcf3a1c
[]
no_license
ceramicspeed/vibrationanalysis
6b00efa39eb4430e596235b4302f2803606c8d8d
248500f40e4aed886eb2732f86654c0f138c8e93
refs/heads/master
2021-01-25T05:56:10.450358
2017-04-05T15:44:32
2017-04-05T15:44:32
80,701,922
1
1
null
null
null
null
UTF-8
Python
false
false
13,891
py
################################################################################ # program: vb_pink_noise_gui.py # author: Tom Irvine # Email: tom@vibrationdata.com # version: 1.2 # date: September 5, 2014 # description: Generate pink noise # ####################################################################...
[ "mortenopprudjakobsen@mortens-MacBook-Pro.local" ]
mortenopprudjakobsen@mortens-MacBook-Pro.local
e28c6068b08233751108e44a68f3829d31617344
8229176ba618c08e23e47ca4b0a7c1ebeef4d994
/src/DescriptiveStats.py
6430639afb563b8258f98091b749e8a170eef2d0
[]
no_license
benblamey/ben_phd_python
703997daef090941b2e679dfee1cff78d475fa5f
7518784270410e2afdb2adfebf97fa1f4286449f
refs/heads/master
2021-05-04T11:09:21.582715
2017-09-18T20:43:32
2017-09-18T20:43:32
47,449,544
0
0
null
null
null
null
UTF-8
Python
false
false
17,702
py
from core import * # Import Datum Types from CSV file def do_descriptiveStats(): global total_gt_datums # See: ExportGroundTruthDatumEventTypes in Java. # a table of the different kinds of datums was exported to CSV (for all user lifestories) # { ID : datum-classname } # all the datums -- n...
[ "blamey.ben@gmail.com" ]
blamey.ben@gmail.com
4e807ffc55a08ee93c326f17f8af5422fe962403
e940d45bb3af60d90371ea3721a93d892778be8e
/setup.py
06f1a0b76ed3c6c47986cf191ddecabc0510aab7
[]
no_license
jmartens/fail2map
0905191a4b8fc6a22ace59c72a02b0a2d88f123a
8c9e6f04e39a3cc138dc88168d65d3bfecb8a836
refs/heads/master
2022-12-05T03:39:20.035771
2022-11-19T09:35:30
2022-11-19T09:35:30
204,539,431
0
1
null
2022-11-19T09:35:31
2019-08-26T18:46:01
Python
UTF-8
Python
false
false
290
py
from setuptools import setup, find_packages setup( name='fail2map', version='0.1', packages=find_packages(), include_package_data=True, install_requires=[ 'Click', ], entry_points=''' [console_scripts] fail2map=scripts.cli:cli ''', )
[ "jonathan@snetram.nl" ]
jonathan@snetram.nl
7e51c318ad5eaadbc941369304e8d88bd41bbca3
30556827b68e9241c6e4045668158809b4bc9670
/medicar/specialties/migrations/0001_initial.py
8f85efdd77d63e62c2e25494e5e76253ed34fd0c
[]
no_license
gabrielloliveira/medicar
434ea47a5ebde2e797522ffd3b86b67c46de96f5
4b6e7d38d2ad569d1ca087a4a7f6e2c1ee0feedf
refs/heads/main
2023-08-25T03:50:35.035474
2021-09-16T21:54:47
2021-09-16T21:54:47
406,541,106
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
# Generated by Django 3.2.7 on 2021-09-14 23:42 from django.db import migrations, models import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Specialty', fields=[ ('id', mod...
[ "gabrielloliveira097@gmail.com" ]
gabrielloliveira097@gmail.com
a13a4d56104bd687f7c9c1b4efa6c7b4fb4ee4e4
2020c9c6958d9cc338b72f62e24d9ad30c1a8cad
/python/0101.symmetric-tree/symmetric-tree.py
8cf51e4680551dbd6d293ddb24a39ee7fa4c43f7
[]
no_license
ysmintor/leetcode
b2d87db932b77e72504ffa07d7bf1b0d8c09b661
434889037fe3e405a8cbc71cd822eb1bda9aa606
refs/heads/master
2020-05-30T21:03:03.886279
2019-10-31T08:46:23
2019-10-31T09:02:24
189,963,050
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
class Solution: """ recursive solution """ def isSymmetric(self, root: TreeNode) -> bool: if root == None: return True return self.isMirror(root.left, root.right) def isMirror(self, t1: TreeNode, t2:TreeNode ) -> bool: if t1 == None and t2 == None: re...
[ "ysmintor@gmail.com" ]
ysmintor@gmail.com
f86011e920527fade4c0b894ea3f406f6ca86766
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/10_Imbalanced_Classification_with_Python/13/03_balanced_decision_tree.py
723ce924b4ed4330ac7a194e25defea465a60bfa
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
# decision tree with class weight on an imbalanced classification dataset from numpy import mean from sklearn.datasets import make_classification from sklearn.model_selection import RepeatedStratifiedKFold from sklearn.model_selection import cross_val_score from sklearn.tree import DecisionTreeClassifier # generate da...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
7c847d5608c0383cb74ad877bd64cbdd8ac68671
5b8893290c0688d9db512865f2b124355eccc06e
/news_recommendation_service/click_log_processor_test.py
9b5e5f205d2d69549274ea03c38ca3db2ee10cce
[]
no_license
aaronmarveller/News-Secretary-
52dddeb729ddff91b4f4f79741f3412c2ab96ae8
5ab079976a5545bc1a965bb81d195ac6dfb7e0b2
refs/heads/master
2022-12-14T22:24:15.119183
2019-12-02T19:05:55
2019-12-02T19:05:55
211,028,401
0
0
null
2022-11-21T21:39:06
2019-09-26T07:33:32
Jupyter Notebook
UTF-8
Python
false
false
911
py
import click_log_processor import os import sys from datetime import datetime # import common package in parent directory sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common')) import mongodb_client PREFERENCE_MODEL_TABLE_NAME = "user_preference_model" NEWS_TABLE_NAME = "news" NUM_OF_CLASSES = 8 ...
[ "peiyuanl@usc.edu" ]
peiyuanl@usc.edu
68bfd4e76590f1df88be225c2f0c12f57e6d3a86
6b42fdcd2f61eaee2d80cd1372233b5cc5c66f0c
/Caption's_shield(turtle).py
ff92820f0defb182ae5be3f345e2c210df8e056b
[]
no_license
Anaa29/Python-codes
984ba797c0f308d57d4a2fd40c08db1d402d55e8
af7e7af85f59e7a527892039def395c1b9cce7ec
refs/heads/main
2023-08-06T06:07:17.586635
2021-10-11T14:05:44
2021-10-11T14:05:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
from turtle import * bgcolor("white") pencolor("red") hideturtle() speed(0) penup() goto(0,-200) pendown() pensize(5) circle(240) penup() goto(0,-160) pendown() circle(200) penup() goto(0,-120) pendown() circle(160) penup() goto(0,-80) pendown() circle(120) penup() goto(0,40) pendown()...
[ "noreply@github.com" ]
noreply@github.com
6aec32137b0b9097f9eb10fc15dc24b304330007
8b0c8d30fb6182b564f516127ebd4bccd7b4e97d
/flasky/models/hold.py
d2e5ea7cbc3e9cbae9beebea0d61a1953c941cde
[]
no_license
rthoward/flasky
fbac5d5f68580135aa0893514a6ee48ad0a49e63
20a61df2f4f9ecbfea5988e8984a08bdb1e37742
refs/heads/master
2020-05-26T17:53:27.657831
2019-06-02T02:53:39
2019-06-02T02:53:39
188,326,987
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
import typing from sqlalchemy import String, Column, Integer, ForeignKey, UniqueConstraint, TIMESTAMP from sqlalchemy.orm import relationship from . import Base from .mixins import TimestampsMixin if typing.TYPE_CHECKING: from .event import Event from .user import User class Hold(Base, TimestampsMixin): # ...
[ "richard@howard.io" ]
richard@howard.io
30dea1db000cc40ea6b735e332cf15c6d2f4bace
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/graph_objs/layout/ternary/aaxis/__init__.py
797a36fb417fb76496384beb1c5bdf6c09acee6b
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
159
py
from ._title import Title from plotly.graph_objs.layout.ternary.aaxis import title from ._tickformatstop import Tickformatstop from ._tickfont import Tickfont
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
11b41900468b82ef7940e02e889324872ea46a3f
f44a1cbb48952ce466310859234f73cb2769ef2c
/backend/mobile_5_oct_1723/wsgi.py
b09e1b28f4e63a9fbc6f3a96c61672bb2582051a
[]
no_license
crowdbotics-apps/mobile-5-oct-1723
ea496e71e634a67dccfb39019dd50d9351247943
94ddd875afaa86d5810d24644a35e23db6b231d1
refs/heads/master
2022-12-25T10:00:21.575101
2020-10-05T05:14:39
2020-10-05T05:14:39
301,300,030
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for mobile_5_oct_1723 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d459bddbd0f3aa4b8e20ce26a6a7fd7c6bba651b
f393e818e1e7043fe6612717355e3d4aa60e4b20
/3.3.py
2b6f9fe07943843e09ff55d78daa445e57d51dfb
[]
no_license
janejh/PY4E
f76ea87eb87f31c1b9fb3d302ceae57785c7d702
7cf9d3e42e7579777a9f031d00486ae47e215234
refs/heads/master
2020-04-04T23:17:22.477365
2018-11-26T04:51:19
2018-11-26T04:51:19
156,353,372
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
#3.3 Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error. If the score is between 0.0 and 1.0, print a grade using the following table: #Score Grade #>= 0.9 A #>= 0.8 B #>= 0.7 C #>= 0.6 D #< 0.6 F #If the user enters a value out of range, print a suitable error messa...
[ "noreply@github.com" ]
noreply@github.com
03094c11f0802ec69b127a4e182849ed912ba923
8284ad49884e5f47ecb3f673846d616997adec61
/gen-py/flaptor/indextank/rpc/Indexer.py
a3eda578cf644eb152204f88775f3a4e3af5d8e2
[ "Apache-2.0" ]
permissive
kemitche/indextank-service
aa0a5f556ed3a2ac248bbb85182893354143d919
80c47e52520ad0c8c988c35e23ce62696e327266
refs/heads/master
2021-01-15T21:02:35.420570
2012-01-03T13:27:03
2012-01-03T13:27:03
3,103,835
0
1
null
null
null
null
UTF-8
Python
false
false
83,755
py
# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # from thrift.Thrift import * from ttypes import * from thrift.Thrift import TProcessor from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol, TProtocol try: from thrift.protocol import fast...
[ "adrian@ghosthack.com" ]
adrian@ghosthack.com
716813bc48c41feec512bf5d75c9c1fef2654e12
0f9d7f7d57055228688cdac61f8b3d65b657994a
/task1.py
1fcd46efc38ca5348df69253fedcda0a6eefadee
[]
no_license
alex-chugunov/LR1
7053d70df135abb382dc1f451cf2017e60a09b93
a0f8f1e4d9474114834483ac4ae009068eeaff6a
refs/heads/master
2022-12-23T17:47:44.579714
2020-09-20T08:24:14
2020-09-20T08:24:14
296,906,441
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
import math as mt expr19 = 124 / ((45 * 3 + 7) - 2 / 5) print(expr19) a = float(input("Введите a: \n")) b = float(input("Введите b: \n")) c = float(input("Введите c: \n")) d = float(input("Введите d: \n")) e = float(input("Введите e: \n")) m = float(input("Введите m: \n")) n = float(input("Введите n: \n")) p = float(...
[ "57045051+alex-chugunov@users.noreply.github.com" ]
57045051+alex-chugunov@users.noreply.github.com
3fd31d51426d4a90ef31e02a3b42f541f6e7c801
fc528608295ec9f2accd7c3b9c0d16de07843ed6
/legacy/LSTM_autoencoder.py
ac75e6f5374c9c81c0893f299745ed8be50979ac
[]
no_license
irijije/Thesis_Master
77ae6c1899613ac1fd517dfcd21ea99401bdc6da
cc6cd583f311fc5b6d1cb75210eac3660945df52
refs/heads/main
2023-05-03T12:54:26.575975
2021-05-27T13:59:42
2021-05-27T13:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,813
py
import os import sys import pandas as pd import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from sklearn.preprocessing import StandardScaler from sklearn.model_selection import train_test_split from config import Config from preprocess import show_tsne os.environ["CUDA_VISIBLE_DEVICES"] = '1'...
[ "wnsrud3611@gmail.com" ]
wnsrud3611@gmail.com
ccf91ec29fce9d8bcf26eaf56f6445a4a54c28d3
c1dd9d57da11ac57f0a2096204c3c781be34ef9d
/src/doc-break.py
f91534f3293e093125e1f1ad67e939328fdb30e2
[ "MIT" ]
permissive
andreblue/doc-breaker
f70116ad1515691f6a5acd8fb424168510034311
bf847a3b4e0a5effca718dc03c4cac418ccaed23
refs/heads/master
2020-05-16T00:55:17.190916
2019-04-22T00:44:12
2019-04-22T00:44:12
182,590,787
6
2
null
null
null
null
UTF-8
Python
false
false
4,155
py
import msoffcrypto import sys, getopt import os import urllib.request def download_PasswordList(): #Grabbed from https://github.com/danielmiessler/SecLists url = 'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Passwords/Common-Credentials/10-million-password-list-top-10000.txt' try: ...
[ "andreblue2u@live.com" ]
andreblue2u@live.com
f9856b6be880ab2550bdebc36c6b1103c01b7923
3cf5f15725ea0904d8ca0f212c2c42ad95397410
/480/main.py
20fe107202ce1d5b2d1ff2d3e3bbf789f54a45a9
[]
no_license
zxch3n/Leetcode
e7cd26395630fc43852224d6b50d7c870b839fa6
d5c2378979c2db6ab8f0a3eecd98737a2a974e53
refs/heads/master
2021-09-05T08:03:45.272515
2018-01-25T13:37:32
2018-01-25T13:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,639
py
# -*- coding: utf-8 -*- """ @author: Rem @contack: remch183@outlook.com @time: 2017/02/21/ 21:39 """ __author__ = "Rem" class TreeNode(): def __init__(self, f, v): self.v = v self.f = f self.l = None self.r = None self.ln = 0 self.rn = 0 def __repr__(self): ...
[ "remch183@outlook.com" ]
remch183@outlook.com
08538abd543b41ee4eecc902a9b4ea375ebe66a3
d971220d09d0c3c9866c1f1d98b85295e00ac2af
/painting_spliter.py
03d23ae1c58eaa56151d908b7dfc0ecb43d5d6f7
[]
no_license
j0sephmerheb/python_art_gallery
a716a22f0d82d73502d458d4c5d1c003618589bc
51521ae7fb59ac3b5385bcf6e5310b95304114d0
refs/heads/master
2022-08-03T10:38:17.774192
2020-05-22T09:38:15
2020-05-22T09:38:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,715
py
# coding: utf-8 # ### Students: Anh Tu NGUYEN - Joseph MERHEB - Sita SHRESTHA # In[13]: class Reader: def __init__(self, input_file): self.input_file = input_file; self.portrait_list = ''; self.landscape_list = ''; self.new_text = ''; file = open(input_file, "r"); ...
[ "joseph@merheb.net" ]
joseph@merheb.net
fc634bba5340c74cb6a09b7f1f12da4e18979c57
f2772c7e8f74d521d839c75a02d27f1a9457e695
/main.py
23fb379db5d8ddf2f1d2f324715f48ddfb953577
[ "MIT" ]
permissive
sodaprairie0x0/Celeba-attributes-prediction
6f8bfd87539f38189e8029709ec8dea5614f091d
c97fdf2c926eab137e7b6938659a877d3b7dc3f5
refs/heads/main
2022-12-31T11:26:59.996240
2020-10-21T08:06:19
2020-10-21T08:06:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,695
py
import os import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import numpy as np import torchvision from torchvision import datasets, models, transforms import time import os import copy from random import randint from celeba import CelebA from utils import * f...
[ "aprilgng@gmail.com" ]
aprilgng@gmail.com
8cc1dfe36365b07007f5930cd5143387e3556979
95932a51c20b91d32e609d3660a1b5be24df89ea
/utils/__init__.py
6c2f202869f20d81f090cd577f902cc5074661fa
[ "MIT" ]
permissive
XiaohangZhan/Switchable-Whitening
ea176a9d64ca58d4e43f500aead35b2303740c5c
8369d884af907495dc1f67f9c5d47d2d712ddffa
refs/heads/master
2020-09-01T08:37:52.321472
2019-10-23T05:14:00
2019-10-23T05:14:00
218,922,053
0
0
MIT
2019-11-01T05:54:36
2019-11-01T05:54:36
null
UTF-8
Python
false
false
60
py
from .common_utils import * from .distributed_utils import *
[ "xingangpan1994@gmail.com" ]
xingangpan1994@gmail.com
03fcf0fdd9e8c379eaed44a632ac506afab87888
53ab3451fba139c002b631ff33aaf8b4e3c53628
/Strike/Mission.py
7fa00b3218eac5321078393d27b686ec9f5d28cb
[]
no_license
GreyPredator/DroneSimulation
c09eac5432f5be8cc647df408b5441c006afb2f2
b20eba5734b373f403ed2739f5db70daa8a01df7
refs/heads/master
2020-03-08T10:59:47.560385
2018-08-18T18:25:57
2018-08-18T18:25:57
127,912,634
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
class Mission: def __init__(self): pass
[ "noreply@github.com" ]
noreply@github.com
28952444eae1d539b344fe6d8e4f677565bf2bda
c86de1ee41895651d274f9d08d39db77af9ebd5f
/WhatToWear/news/migrations/0004_auto_20200110_1350.py
f4fedcd4428ea9af1dd8c99125c75ff6fad8e132
[]
no_license
mayorov-andrey/WhatToWear
5577b87059f77e088bbe312ddd498d6f4cd1077f
6738a674d19204ed30ed30a354d5647885a5fff7
refs/heads/master
2020-12-29T15:19:51.270813
2020-02-08T11:57:34
2020-02-08T11:57:34
238,651,475
1
0
null
null
null
null
UTF-8
Python
false
false
501
py
# Generated by Django 2.2.7 on 2020-01-10 10:50 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0003_auto_20200109_1917'), ] operations = [ migrations.AlterField( model_name='new', name='p...
[ "58735025+mayorov-andrey@users.noreply.github.com" ]
58735025+mayorov-andrey@users.noreply.github.com
ecae1e41c1a4dbea1e9f916e518c7a30df863ebe
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/third_party/google/cloud/pubsublite_v1/types/topic_stats.py
1ad03e069c7d8a1f576f2e229fdb25414030148e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
5,658
py
# -*- coding: utf-8 -*- # 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...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
fd0a6ba9360c28449fd6b0848a7aecadab2791fb
1e998b8aa40e29dd21e97b1071fc5dc46d4746c2
/example/example/urls.py
3f3d7176338ff3f5b14369d3c51078945a69d240
[ "MIT" ]
permissive
PragmaticMates/django-templates-i18n
61786d0e3daf304316609fbf17f87f27457fdaae
0dac1b8da498dc414d4836c1cf6cb82cb1597c26
refs/heads/master
2016-09-06T15:47:46.161242
2014-09-26T12:14:02
2014-09-26T12:14:02
22,213,677
3
0
null
null
null
null
UTF-8
Python
false
false
632
py
from django.conf.urls import include, url from django.conf.urls.i18n import i18n_patterns # Uncomment the next two lines to enable the admin: from django.contrib import admin from views import HomeView, MyView admin.autodiscover() urlpatterns = i18n_patterns('', # Uncomment the admin/doc line below to enable a...
[ "erik.telepovsky@gmail.com" ]
erik.telepovsky@gmail.com
3b43b227b7faa549f674979711bdaec0a30fe8d9
aaf7e8f9ec5856241930c98167071e424967b486
/src/lib/glfs-web/app/snmp.py
f9fa73d88593c3e76f64161535626ffe193a8b58
[]
no_license
ShenDezhou/PyCRM
e32826d143598227910c6a13bbc70140ec7f56d2
36b9411d9d5372b59fed00afdbc74607fb010df9
refs/heads/master
2022-02-10T02:29:45.876818
2018-06-17T10:09:43
2018-06-17T10:09:43
72,261,079
1
1
null
null
null
null
UTF-8
Python
false
false
250
py
import netsnmp def snmp_query(oid, dest_host, community,version=2): varbind = netsnmp.Varbind(oid) result = netsnmp.snmpwalk(varbind, Version=version, DestHost=dest_host, Community=community) return result
[ "bangtech@sina.com" ]
bangtech@sina.com
191a89e669e5fe009d41c0ba2a0ba203049cadab
b23c01fa8d96871bb2e3f56c52cd97b85cb4966a
/bin/easy_install
f93562d323772eae2324c1cd8b04239c434042e3
[]
no_license
denyherianto/88spares-account-django
00413ae78f4cd6ac7c0574091f3decd32e110381
94adba9197c71cf84486f6f3c5eba7ccc201a066
refs/heads/master
2021-08-15T06:53:49.707136
2017-11-17T15:10:08
2017-11-17T15:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/mnt/d/devs/repo/python/django_test/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())
[ "deny.hrnt@gmail.com" ]
deny.hrnt@gmail.com
e911966219e03ac805ec70a13721b29ec8e85374
79b9965006b2aed0d85db23ab5551baf20379d29
/Days/Day23_Calculator/Day23_Calculator.py
e833e312c06e326aa692b3f0824bbd58c61a7eac
[]
no_license
gervanna/100daysofcode
f7ef3087ab50dbf3869606d771906a4103002b1e
deaebce1e8d98b7d5b474facca5a5c2c45872886
refs/heads/main
2023-06-17T00:47:27.772161
2021-07-09T01:26:11
2021-07-09T01:26:11
315,077,257
1
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
import os from calc_art import logo def add(n1, n2): return n1 + n2 def subtract(n1, n2): return n1 - n2 def multiply(n1, n2): return n1 * n2 def divide(n1, n2): return n1 / n2 operations = {"+" : add, "-" : subtract, "*" : multiply, "/" : divide, } def calculator(): print(logo) unv...
[ "stephenslavern@gmail.com" ]
stephenslavern@gmail.com
f04fded2fc33732e2058d245b2bf7265fd3e890c
24698622d602c78a95fded3642bb81f510f8a6f7
/Dataset.py
3e52cb4716f5e9f8c2507e01de181103299653f4
[]
no_license
shyamsn97/TalkingFaceModels
781e66b1907ba62d949eb8a960c320e3235c7685
1e3f090615048890cce6ca454cd657dbb63b094f
refs/heads/master
2020-06-04T12:02:36.082069
2019-07-30T19:58:45
2019-07-30T19:58:45
192,013,747
0
0
null
2019-07-30T19:58:46
2019-06-14T22:51:53
Python
UTF-8
Python
false
false
2,222
py
import numpy as np import skimage import cv2 from data_processing import * from torch.utils.data import Dataset from torch.utils.data import DataLoader class MetaDataset(Dataset): def __init__(self,reshaped_frame_sequences,landmark_frame_sequences,num_videos,k): """ Args ""...
[ "SSudhakaran@us.fujitsu.com" ]
SSudhakaran@us.fujitsu.com
06c48cfb1fcdccc96982be21c4fd77acb14efe77
177e8944037da5d21bc325c2d4ecae149ba32d2a
/Blogapp/migrations/0008_auto_20200813_1726.py
1ed1f66d10bd68dfda14f5587c60245ce3285cea
[]
no_license
priya-tech/My_Awesome_Blog
42e054c4f9d60f8474355e96434ab16e9216e0aa
24994cbafec9d1b891c572f7a647231d0b53f5d4
refs/heads/master
2023-02-13T01:23:19.948908
2021-01-08T05:54:36
2021-01-08T05:54:36
293,492,320
1
0
null
null
null
null
UTF-8
Python
false
false
564
py
# Generated by Django 2.2.5 on 2020-08-13 17:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Blogapp', '0007_post_snippet'), ] operations = [ migrations.AddField( model_name='post', name='header_image', ...
[ "priyavadhanisankar@gmail.com" ]
priyavadhanisankar@gmail.com
996e69c5148b5df26512a00ee71bb6d5b3048f9e
b805ded84cff8878ae70d772e50cface0c3aa45c
/proxy_pool/proxy_pool/settings.py
b6ecc4f6634f97f0ee761b1fd95cd587f2e5db95
[]
no_license
CNZedChou/python-web-crawl-learning
74f014fe95797d3f534e373de8451d2dfcc0600c
5edf8f53e1bb9df3661ec007bb4d7f0ba04ab013
refs/heads/master
2022-11-10T08:26:53.275547
2020-07-06T02:33:03
2020-07-06T02:33:03
275,563,035
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# !/usr/bin/python3 # -*- coding: utf-8 -*- """ @Author : Zed @Version : V1.0.0 ------------------------------------ @File : settings.py @Description : redis的密码,如果为空则表示没有密码 @CreateTime : 2020-6-30 11:22 ------------------------------------ @ModifyTime : """ PASSWORD = '' HOST ...
[ "1021844583@qq.com" ]
1021844583@qq.com
af80e333fa1ab4339159aceac4aadf6d4670d924
289ab4b6eeb1a4f845ba66bd21c4a82670d554f3
/cart/admin.py
f65101b164ca8b59688bd1c3ca5e5d1f7b65aeb2
[]
no_license
1arshan/project-e_com
1d0765b28800ccf645dfe67ffa311ce7a6605309
632ed6bc4bf716777fab7c98113f754f47468705
refs/heads/master
2022-11-08T17:20:22.726675
2020-06-25T15:04:37
2020-06-25T15:04:37
270,087,413
3
0
null
null
null
null
UTF-8
Python
false
false
453
py
from django.contrib import admin from .models import * from django_better_admin_arrayfield.admin.mixins import DynamicArrayMixin @admin.register(Sub1) class Sub1Admin(admin.ModelAdmin): list_display = ("name", "link",) list_filter = ("link",) admin.site.register(CartObject) @admin.register(FinalProduct) c...
[ "1arshanahmad@gmail.com" ]
1arshanahmad@gmail.com
e81efcf1d9371dcc4c93cc298cb1fde203cd023e
5202dacbfe047602531a32a1404061f7738e1c9a
/PersonalActivityAssistant_SourceCode/PAA/appointments/migrations/0001_initial.py
6796684eb3a1dfef59d59230e539764c9de8745e
[]
no_license
bhna2713/CSCI-5448-OOAD-PROJECT-GROUP
90bbec5b83db2e326fa9a6b5399d047a4a50b1fc
95f7d658b3b1e9bae67e9a423c024e43fe22f5fb
refs/heads/master
2016-08-11T21:22:31.269028
2016-04-28T14:58:08
2016-04-28T14:58:08
51,010,773
0
1
null
null
null
null
UTF-8
Python
false
false
739
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-03-26 21:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Appointme...
[ "bharatnc@gmail.com" ]
bharatnc@gmail.com
593eff5c51f3663c6b63401945d8e42c0bd744e9
1e9de96619592ed25c3a4ff57b6a78717882a709
/app/resources/database.py
970e203f904febf5289d936283299a350e6346e4
[]
no_license
AntoineDao/example-service
503d08788f7e557ee12f72fabfa537136b927d3f
8b088ecd0a67642737a883d7f035722a8cd7a0b4
refs/heads/master
2020-04-22T07:13:59.199629
2019-02-07T17:36:17
2019-02-07T17:36:17
170,213,289
0
0
null
2019-02-11T22:32:16
2019-02-11T22:32:16
null
UTF-8
Python
false
false
988
py
import os import datetime import uuid from flask_sqlalchemy import SQLAlchemy import app db = SQLAlchemy() class Example(db.Model): """ Example Model for storing example related details """ __tablename__ = "example" id = db.Column(db.String(), primary_key=True, default=str(uuid.uuid4())) email = db....
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
699f3bf4ddcf39bc85c986fc35c789f2dd92398e
a3d98b7885df577e18f8f798fe6374720524c0fa
/topology/migrations/0006_remove_machine_slug.py
b5651243e55811df6df586413284efe7d9f7545e
[ "MIT" ]
permissive
DylanWatson/VENT
296276c025ad54aaea803f03e48dd5e0ece401b7
0f26876b1790abfb217c3db79455fe1416730bff
refs/heads/master
2021-01-20T12:22:51.580395
2015-05-05T20:44:33
2015-05-05T20:44:33
30,122,860
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('topology', '0005_machine_slug'), ] operations = [ migrations.RemoveField( model_name='machine', name...
[ "watson93@gmail.com" ]
watson93@gmail.com
c58f04c352758ec38036a3158f57cde81fbbd04f
3879d1ca43c573c209f962182cd1e7f7fe978fbf
/leetcode/1973. Count Nodes Equal to Sum of Descendants/1973.py
0b8f98e6fa4a8d999bcefc23edcbc239a22b78c5
[]
no_license
DoctorLai/ACM
34a5600a5adf22660c5d81b2d8b7a358be537ecf
aefa170f74c55c1230eb6f352770512b1e3f469e
refs/heads/master
2023-09-01T02:13:01.604508
2023-08-31T15:42:07
2023-08-31T15:42:07
146,173,024
62
18
null
2020-10-11T13:19:57
2018-08-26T11:00:36
C++
UTF-8
Python
false
false
864
py
# https://helloacm.com/teaching-kids-programming-count-nodes-equal-to-sum-of-descendants-recursive-depth-first-search-algorithm/ # https://leetcode.com/problems/count-nodes-equal-to-sum-of-descendants/ # MEDIUM, DFS, RECURSION # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=...
[ "noreply@github.com" ]
noreply@github.com
ef5e7324a1148561025d0b287b395e8274acc7da
4fb5bbde4e1edaadbb1b1debe4cfcb31362001ed
/IsarMainDisp/PythonVersiyonu/Tekrar/Tekrar1.py
bca68c85a6b9cd62e911d1ed40ad87667c9f5bc6
[]
no_license
develooper1994/RCScalculator1
ce285a4bf95eaeca5af1d8c90e45ce5d702b3e79
be7cb0dc436db8378003ddfe41c61cd96c3d6b4f
refs/heads/master
2020-05-04T18:55:00.531640
2019-04-03T21:44:14
2019-04-03T21:44:14
179,371,600
6
1
null
null
null
null
UTF-8
Python
false
false
1,046
py
from typing import List print("Selçuk") def passing_example(a_list, an_int=2, a_string="A default string"): a_list.append("A new item") an_int = 4 return a_list, an_int, a_string mylist: List[int] = [1, 23, 85] myist: int = 10 print(passing_example(mylist, myist)) # ------------ Class...
[ "noreply@github.com" ]
noreply@github.com
00c8f30dba2a82f7e67cb93f025e52e09d9e17d1
692fbe4ff8076718460e94c22f334a9d36b82b5d
/AnonWork/masterimport.py
341e96ba26a2b7e6e02f74e2b577e3d06f10176b
[]
no_license
Harandi6135/ZooData
8971ebffb5a7adcd16dbe9d2298101da7f072ea3
44e262f8ac3be54559f395ad99eb012db2a6b217
refs/heads/master
2020-12-24T06:08:02.691146
2016-11-03T14:14:48
2016-11-03T14:14:48
73,226,156
1
0
null
2016-11-08T20:54:22
2016-11-08T20:54:21
null
UTF-8
Python
false
false
3,957
py
import pandas as pd import numpy as np import re import datetime from itertools import tee, islice, chain, izip # This is a test ############## Import Raw datafile ############## %cd "/Users/coreyjackson/Dropbox/ZooSOCS dropbox/Papers/CSCW 2017 (AnonWork)/RawData/Archive" raw_data = pd.read_csv('HiggsHuntersClassifi...
[ "cjacks04@syr.edu" ]
cjacks04@syr.edu
a0bb22d75043b02cc63c5177d8cb32a240dfb49c
bef6f2e5b47ccb21b5be4d0a9e5443363448c2fa
/uartToFile/uart_qt.py
3a1f5deed697c97681384c4b6863f7d532f101c4
[]
no_license
cyang812/tools
cd7b7ff1c0014f79975116445aa05cc1fb5b4d59
5fc5b6533ea2486324884905d81a605c7ca5f5db
refs/heads/master
2023-02-04T10:05:49.796267
2023-01-10T09:25:56
2023-01-10T09:25:56
133,904,026
12
12
null
null
null
null
UTF-8
Python
false
false
3,155
py
# -*- coding: utf-8 -*- # @Author: cyang812 # @Date: 2018-05-20 20:52:16 # @Last Modified by: ygh # @Last Modified time: 2018-06-05 09:45:20 import sys import threading import serial import time import ctypes import win32 import win32file import win32con import pywintypes from PyQt5.QtWidgets import (QWidget, QP...
[ "cy950812@gmail.com" ]
cy950812@gmail.com
deb423ef918c9bc40f37e909aebdb85cb4286e76
62546d6e9083c4d531cee69c52135ef291b54443
/Guess_Game.py
916fb8ca689a1820a08a80ef003ebdf31dfec153
[]
no_license
Yaelbm-Git/World_Of_Games
0b466ced65e2b0800ba68bcf5d9e02436b11a0fa
f5b4410fe45617bb8ad12295ed1a777daeaabe7f
refs/heads/master
2023-02-06T19:10:05.225142
2020-12-28T23:37:34
2020-12-28T23:37:34
321,633,390
0
1
null
2020-12-17T09:00:37
2020-12-15T10:31:16
Python
UTF-8
Python
false
false
1,038
py
import random from myAbstract import MyAbstract class Guess_Game(MyAbstract): def __init__(self, diff): self.diff = diff def welcome(self): print("\nWelcome to the Guess Game! \n") def get_input_from_pc(self): secret_number = random.randint(1, self.diff) return secret_num...
[ "yael.ben-michael@gmail.com" ]
yael.ben-michael@gmail.com
0b205c12342378f7ce7b47dbe339627f706f8e2f
dd73faa1c747089c44dbe85e081de5a089046329
/api_app/views/index_view.py
afa13a27813919ffbd4ba28140a04fb8d96188ab
[]
no_license
spaun299/api_tv_web
34aaa6da5fc0f3154a5830953ec8e9ee90d1a3b0
a19c0079e06a7c823236fda5ffe9d1e46a5e829d
refs/heads/master
2021-01-10T03:39:25.309627
2016-02-12T10:26:34
2016-02-12T10:26:34
51,149,276
0
1
null
null
null
null
UTF-8
Python
false
false
260
py
from ..urls.blueprints import index_bp from flask import render_template, g from ..constants.constants import ACTIVE_PAGES @index_bp.route('/') @index_bp.route('/index') def index(): return render_template('index.html', active_page=ACTIVE_PAGES['main'])
[ "you@example.com" ]
you@example.com
8f5bfbe91a76e854fc4c00a22b6e106d54e1f08f
1dd9ab4f92ad4fbaa4cba329924013b84c932857
/operator_precedence.py
bb0dc677a0fde7273c84298872c5b427b7957f1a
[]
no_license
royalbhati/PythonScripts
ddae90abff6a123f7b7f6c4e801cbc8f15e4b7ff
f2e8ad977b7ad88b589960c360c4df469952856f
refs/heads/master
2021-09-14T00:20:05.428995
2018-05-06T13:37:19
2018-05-06T13:37:19
121,004,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,561
py
import sys import shlex import csv import pprint class Stack: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def push(self, item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return self.i...
[ "noreply@github.com" ]
noreply@github.com
b5c4f9532ae6f0269e6d76b4acf677bf009ad9f1
d8874483816989dd796ab3f9f09af068ae9cea5d
/elevent_model.py
4c81037b013dcf9c93ec123edd62f9cbf7bbd23d
[]
no_license
cnn911/tmp
9cf015665d1a134a190514abb5a3daa2d8177c63
873c8ccd7f1e29e6be5209c63039172c94a4dc69
refs/heads/master
2023-07-19T14:24:44.017693
2021-09-22T11:06:45
2021-09-22T11:06:45
110,768,079
1
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
# -*- encoding: utf-8 -*- """ Created on Tue Jan 23 21:51:57 2018 @author: Administrator """ ''' 策略模式:它是一种行为型模式。用接口类来实现算法的大体框架,然后根据不同的需求来实现具体的细节。。 他主要是针对行为,活动,算法这类动态内容,所以被称之为行为型模式? 他不同与工厂模式的地方可能在于他针对的是类行为型的对象。 有的时候子类里的行为、状态是不断更新,增加的,所以如果从父类继承的话需要不断的增加所以并不合适,这时候就需要 把变化的部分抽象出来,然后独自形成一个框架。 完成一个事物我需要的是什么? ''' from abc im...
[ "605543116@qq.com" ]
605543116@qq.com
178406f49b84e6e5e2631898d1ca498baa7ecabf
00feeddadc58382e8f71ca5e1da0815ddf913f20
/twitter.py
144e565f391d23dd424f537bbe4707bad3528354
[]
no_license
aimoa/moadb
a229731cd02855352ffb141d22dc76298fcb4892
9d66bb3fd76d266681d42f23ad0d033f2acb15e3
refs/heads/master
2021-01-18T21:07:24.965515
2016-05-19T06:21:52
2016-05-19T06:21:52
55,277,120
3
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
import requests import json from tweepy import StreamListener from tweepy import OAuthHandler from tweepy import Stream from config import * from ghash import ghash class ImageListener(StreamListener): self.subject = 0 def on_data(self, data): data = json.loads(data) if "extended_entities" in ...
[ "amakalf@gmail.com" ]
amakalf@gmail.com
ab481e70c1de1b4accd23c0718be1f5394c6a1f3
b87a6c007e4f64c892f9ecbccba7c90b2d12a1f9
/src/settings/main.py
e9ab37cb8085db1dac10b37f6e71167ee03a27ff
[]
no_license
labmiriade/bot-cli
430d5598b69138655a44bd732db920f42d53e9fb
9c665a1397f030684e20279174a5d5e4c1c7fda4
refs/heads/main
2023-06-26T08:07:30.893753
2021-06-19T14:31:12
2021-06-19T14:31:12
344,878,365
1
0
null
2023-03-20T16:49:25
2021-03-05T17:03:42
Python
UTF-8
Python
false
false
369
py
import click from .autocompletion import auto_completamento from .empty_cache import svuota_cache from .whoami import whoami @click.group(help="Impostazioni della cli") def settings(): """ The group for holding commands on rapportini """ pass settings.add_command(auto_completamento) settings.add_co...
[ "tom139@users.noreply.github.com" ]
tom139@users.noreply.github.com
2e6887fd13a2e9a511bc09f740624b798cb447da
44c49a36d548ded98adfc5b5bf358d85d43c1592
/Insurance-Server/myInsurance/mySurance/views.py
50ab16582e4edaf11da04381288f61ba4cf71317
[]
no_license
crowdhackathon-insurance/The-Bitles
48e08a41d855332146ca602559f5331764eb6f06
6b166a29ee20540fd5b7f822548c380b00f997c2
refs/heads/master
2021-01-24T10:18:23.307024
2016-10-02T14:48:02
2016-10-02T14:48:02
69,738,811
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.shortcuts import render from django.http import HttpResponse def index(request): return HttpResponse("Welcome to mySurance!") # Create your views here.
[ "orfetheo@gmail.com" ]
orfetheo@gmail.com
cfb31542806e913e6bbdca1f11f714d5f1879477
461142279535ac9194138abd69c0c4cac05d5094
/DocumentHandler/src/retrieval/extractors_per_dataset/federalist_papers_extractor.py
6cd62967e95fdab7d0901237de3e69469638bf24
[ "MIT" ]
permissive
ygorcanalli/documenthandler
8e926607b94bacef33e7970e5e34378c64293761
7fb29747aa6c1000875ff7c332974d3d8618f6d4
refs/heads/master
2020-12-24T15:05:02.033594
2014-12-31T12:54:56
2014-12-31T12:54:56
18,921,800
2
0
null
null
null
null
UTF-8
Python
false
false
2,157
py
''' Created on 21/03/2014 @author: fellipe ''' import os import csv import xml.dom.minidom import html.parser from pprint import pprint from ufrrj.extractors_per_dataset import write_on_file if __name__ == '__main__': path = "/media/fellipe/dados/Colecoes de Dados/Authorship/Federalist Papers/papers" f ...
[ "ygor.canalli@gmail.com" ]
ygor.canalli@gmail.com
e36a279c7da1ddf582be9cd6892c444d8c89ff99
f7cf5647517d5d728a306967bf7531cc86525d5a
/sdc_scale.py
2bba7f66631bbd7661779f25b465819206148b11
[]
no_license
khokhlov/seismic_data_converter
c6b4663efcf091eb2f76f260374a94cde961accf
b904f8cfa6e846beaa1c82643638886ca2dd6baa
refs/heads/master
2021-06-08T05:22:34.945126
2020-06-19T14:05:27
2020-06-19T14:05:27
95,864,892
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python # (C) Nikolay Khokhlov <k_h@inbox.ru> 2017 import argparse import numpy as np import sys from binjson import load_bin, save_bin def main(): parser = argparse.ArgumentParser(description = 'Scale all values at bin file.') parser.add_argument('input', help='input file') parser.add_arg...
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
1d9cfd061ea4127fdb15f3e00a26392d4a007edf
94bca958f08a662ecdd5005b89644e93408d4ca2
/stock.py
4daa61550e7051c5a6d4d2c57e669e765efd06d7
[]
no_license
SunnyNagam/StockMarketSimulator
0f014a55f9cddf4c941291c01630d4600246951a
19a9deac322bb0927e66884bdc5c0fe05230d1f2
refs/heads/master
2020-09-30T11:07:29.226903
2020-01-04T07:18:53
2020-01-04T07:18:53
227,275,660
0
0
null
2019-12-11T07:58:40
2019-12-11T04:21:38
Python
UTF-8
Python
false
false
2,439
py
import pandas as pd import matplotlib.pyplot as plt import matplotlib.ticker as ticker import matplotlib.dates as mdates import datetime as dt from pandas.plotting import register_matplotlib_converters register_matplotlib_converters() class Stock: fileTemplate = "data/individual_Stocks_5yr/%s_data.csv" def __init...
[ "sunnynagam1@gmail.com" ]
sunnynagam1@gmail.com
ef00828694b672147ec72468ca0e0060e9d1e187
0d2c2703ebf2ef6440ce3bcbf8063248e6dec68d
/boy.py
29677eb735439a7510a08eaa0a7220b713656987
[]
no_license
mrsaqib/hackerboy
7804c588635723ec995c5a94d1849d72e8a86151
9ed0da5d53ef1d4f6bc79a7d892f1d36a4f72370
refs/heads/master
2022-07-12T04:29:39.232408
2020-05-13T04:05:50
2020-05-13T04:05:50
263,517,606
0
0
null
null
null
null
UTF-8
Python
false
false
16,734
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
noreply@github.com
b11bdcd4a134220f51a7db78eb753012b6bf3114
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedrouteipv6_fdef4758ad13bb42ae07821a7635e378.py
ce66b77a40c84a94b26b3eb20ccb5a7f7182c9a5
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
6,444
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
dcfa00094dc418701fe53e2eac198128c1366eb9
9a8e7f01fa24622d1ae1f9abd0043cf89993c449
/Textgame/tresureChest.py
5261b2a93aa68861cbd3f847c9d8f08d58e57139
[]
no_license
AlAtEX/Infinite_Dungeon_Experience
5038736659df1a6654ba20631429f90c6e720349
e92647b860842676bdf8a8129b3e80129adf5980
refs/heads/master
2021-01-17T13:00:56.902536
2016-11-16T00:05:50
2016-11-16T00:05:50
59,617,308
1
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
import itemGen, time def get(Weapon,Armor,hp,mhp,xp,level,mi,ma): print('You found a tresure chest!') items = itemGen.tresureGen(level,mi,ma,mhp) for item in items: print(item['desc']) time.sleep(1) if item['type'] == 'st': if Weapon < item['mod']: ...
[ "noreply@github.com" ]
noreply@github.com
33d7d3984074154f1458954d817c4aad253d0a81
aab991d3e69703c309675bcbe62a0582f9f344bb
/base/app/app_functions/__init__.py
835ace44cf8724c0cb2b60ffdbc3375e7934c3c9
[]
no_license
fren46/custom-control-vnf-k8s
395ff8166495e62b844a2b8dcd0e2436d1166cae
811300177718a83ee75f8662e20b6378f746601c
refs/heads/master
2022-12-24T07:02:04.534314
2020-10-10T09:08:02
2020-10-10T09:08:02
298,087,231
0
0
null
null
null
null
UTF-8
Python
false
false
4,313
py
import json import os from datetime import datetime, timedelta #import redis from requests import post from base64 import b64decode from krules_core.base_functions import RuleFunctionBase, DispatchPolicyConst from krules_core.base_functions.misc import PyCall from krules_core.providers import subject_factory, event_...
[ "francesco.valente95@gmail.com" ]
francesco.valente95@gmail.com
03a3e0ebe12bd7266956a59797984f584b2c24bb
deb6a9900bf5767ca9be40c658eab1fa7ae1ea40
/formatml/parsing/parser.py
d2e19c5add03c5abd0577ce12cce4174cb4a6f30
[ "Apache-2.0" ]
permissive
isabella232/formatml
fb73306f18614865401768be96d928cd8bc838f2
f052313391a5a2ca47af7859520f968c423024f1
refs/heads/master
2022-02-22T17:27:52.829956
2019-09-10T16:22:44
2019-09-10T16:22:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,292
py
from difflib import context_diff as unified_diff from itertools import islice from logging import getLogger from os import environ from pathlib import Path from re import compile as re_compile, escape as re_escape from typing import Any, Callable, Dict, List, NamedTuple, Optional, Set from bblfsh import BblfshClient, ...
[ "142691+m09@users.noreply.github.com" ]
142691+m09@users.noreply.github.com
69484baf224d613ae89357045b4d223942efb5f2
06e8f017c2a20a1b816997f095ce81c9e123465c
/peak_searching/lib/positive_diff_peak_remover.py
fff93b767810850948c9659f74d54cfdae5590ec
[]
no_license
charliebury/garmanwork
14a9357d9f7f81373423811be714b39ec1f51fa3
df665c5b6f3445653aa0cd11c610561175fda48f
refs/heads/master
2020-04-16T02:01:06.639127
2015-03-01T19:42:18
2015-03-01T19:42:18
28,575,918
0
0
null
null
null
null
UTF-8
Python
false
false
3,331
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 23 23:35:57 2014 @author: charlie """ from termcolor import colored import sys ###################################################################################################################################################### #########################################...
[ "csbury@me.com" ]
csbury@me.com
8e8638190f9f4e57c66537cf4152141a91fe3c67
8a045d3c5437fbb7138a028745464149d6b8c217
/animation/helper.py
cb12b878dd659bd2f1ff7659e3914c9b521e3b2b
[ "MIT" ]
permissive
jzboylxj/XDLibs
14b10329683517762dc75a72694a16c856b1b88f
76ab640502d7e254bc98930d6ebb9e870476ed9a
refs/heads/master
2023-03-24T02:09:32.575609
2021-03-11T02:14:50
2021-03-11T02:14:50
279,275,167
1
0
null
null
null
null
UTF-8
Python
false
false
105,941
py
# coding=utf-8 """ JSON数据管理工具 """ import json import os from imp import reload from animation import common from animation import test_node from pymel import core as pm reload(common) reload(test_node) version = 0.2 def str_to_list(str): """ 解析字符串,将字符串转换成列表 :param str: 需要解析的字符串 :return: List ...
[ "jzboylxj@163.com" ]
jzboylxj@163.com