blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
0534f9aaf5c3f06811ec0812276d154c0a7d8db6
627a97a5bdf3834ec6c86c76ebde7cc9c5000792
/conll_and_spacy.py
c2077df470c8f81998c85ae4f87ad58a6723ccb6
[]
no_license
c0ntradicti0n/CONNLator
3391c8a570023239078f5dac3bcec41297675d82
1cfe6e4b5fde88d7812c1877521535928bddd85f
refs/heads/master
2020-04-20T06:39:05.313513
2019-02-01T11:51:35
2019-02-01T11:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,715
py
import re import os from itertools import count import numpy as np import pandas as pd import copy import logging logging.getLogger(__name__).addHandler(logging.NullHandler()) def find_position_in_doc_by_approx(doc, text_token, pos, deviation=10): deviator = iterate_away(pos, deviation) for p in deviator: ...
[ "youremail@domain.com" ]
youremail@domain.com
7b3330cc8f55c31d955a9ab01ad82f02f6f12b1f
abaa0bf93a6e38a1dcb814cf5602943875201815
/base/todo/urls.py
482b20a54096f6645647461f9e4b60a78aae4897
[]
no_license
Software78/todoapp
5eeb650ff8b54988299515eb9aea560eca02ba40
ccae67429147c5b3138b091fd7c2a0e93c9b568c
refs/heads/master
2023-06-03T15:34:53.688563
2021-06-25T16:17:19
2021-06-25T16:17:19
380,277,135
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.urls import path from django.urls.conf import include from .views import * urlpatterns = [ path('',Index,name='index'), path('signup/',signup,name='signup'), path("logout", logout, name="logout"), path("update/<int:pk>", UpdateTask.as_view(), name="update"), path("delete/<int:pk>", Dele...
[ "technicatalyst78@gmail.com" ]
technicatalyst78@gmail.com
0b054e68465391b0cd203f872d9230018d7c9c70
6a90c88cd3898a0936f83c7d2a8f713943d440db
/POSTagging-CharEmbed-CRF/dataloader/DataLoader.py
17ec4ecac80046065e54c3979803a42fa4345c20
[ "Apache-2.0" ]
permissive
LindgeW/POS-Tagging
3be4bc5da30444b22722a15e3e39350231d42c76
358570047e8ad8403bcab4a1e9e3b082b9bea5fc
refs/heads/master
2022-02-17T23:21:58.504742
2019-07-25T09:11:03
2019-07-25T09:11:03
186,325,676
0
0
null
null
null
null
UTF-8
Python
false
false
6,501
py
# from collections import Counter, defaultdict import sys sys.path.extend(['./', '../', '../../']) import torch import numpy as np from dataloader.Vocab import POSVocab, CharVocab # 一个Instance对应一行记录 class Instance(object): def __init__(self, words, pos): self.words = words # 保存词序列 self.pos = pos # 保存词序列对应的...
[ "ncu151wlz@qq.com" ]
ncu151wlz@qq.com
a9b647a1a7d01d0fa4c8e0864c95f9bfe21b1832
9f019d4846dd48d1817e36a2dcb23d8456531f2f
/botify_docs/wsgi.py
ea562c977bc3b069457272bd53b94c1be9446759
[]
no_license
botify-hq/developers-docs
ca1a5b240c8bae0103db86e4f601b67fad3a4865
6a2a8eb6cf2fd957cd4768623d9df035d92b9198
refs/heads/master
2023-05-04T13:59:10.225927
2021-08-12T12:44:46
2021-08-12T12:44:46
49,753,427
2
2
null
2023-04-16T23:12:03
2016-01-16T01:08:14
JavaScript
UTF-8
Python
false
false
489
py
""" WSGI config for botify_docs 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/1.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "botify_docs.settings") from djan...
[ "pleasedontbelong@gmail.com" ]
pleasedontbelong@gmail.com
600942b5dd907bd8a3787e1534df6759ee55b663
1c314814e976134af5a4306582823fe6892d0930
/create_similarity_hit.py
7acbae527cd7be832a916aa306e70b1e6ad84338
[]
no_license
floraxue/blow-mel-MOS
7dcc19f1c194d437c1ba93a472a4c8845d9e8094
6bad9d10704b4ef9abb4ed59541f066cdcd27079
refs/heads/master
2022-10-02T09:11:09.020958
2020-06-05T15:21:49
2020-06-05T15:21:49
265,772,107
0
0
null
null
null
null
UTF-8
Python
false
false
5,799
py
import boto3 # from boto.mturk.connection import MTurkConnection # from boto.mturk.question import HTMLQuestion import numpy as np import random import os import argparse from mturk_similarity_html import * tests_f_dir = 'audio_files/tests_f' tests_m_dir = 'audio_files/tests_m' EXTENSION = '.wav' def create_div(di...
[ "xuezhenruo@berkeley.edu" ]
xuezhenruo@berkeley.edu
95a161b0ba89a5c19ce9746208bba8f68afc9bbf
c94d54996e22eb49eee140bd42cae8d472fa6d7b
/moderate_problems/master_mind.py
f4fa3aea23a25e0b6f9c409d111fa65394c8a51a
[]
no_license
nirjharij/cracking-the-coding-interview-in-python
7b9e116c7f0ba47e25072ef245d33370c7b3df08
74738eba62fa7683610ea12b00842889251eebcc
refs/heads/master
2023-04-10T02:04:40.347851
2020-12-03T10:56:52
2020-12-03T10:56:52
360,791,802
3
2
null
null
null
null
UTF-8
Python
false
false
981
py
def result(guess, soln): guess_dict = {} for i in range(len(guess)): item = guess[i] if item in guess_dict: guess_dict[item].append(i) else: guess_dict[item] = [i] soln_dict = {} for i in range(len(soln)): item = soln[i] if item in soln_di...
[ "Nirjhari.Jankar@in.ey.com" ]
Nirjhari.Jankar@in.ey.com
80a9ea7c9a085007351efe187574651f70c7efa9
2dce8389133562c48c183ef9fb89e053b7a3b6d1
/manage.py
53913bb9d1e3997d944e151a66af49fb97eee9cf
[]
no_license
Shatki/backend-evo
a742a9daaacc0a283529c47737057ee1f10228c0
a977b6e346d73db53a21cc1aad094a377041f362
refs/heads/master
2020-06-20T09:41:27.838131
2019-12-02T06:05:59
2019-12-02T06:05:59
197,081,088
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evotor.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "Shatki@mail.ru" ]
Shatki@mail.ru
9dbbdac98da857411f92948a45a89e85d33b525f
f876239ac47cfa201f88e8148bcce2884f6fcadc
/jsonc/generators/models.py
81de422554aa8b658a9337cd4abd2938301af61a
[]
no_license
iancarv/JSON-C
481ea490c9d4dae5a2738eb4e5f4eb4abb1d94c2
fed862cd0630dbd90650c29037f3d82b6f9e3262
refs/heads/master
2021-01-10T10:17:25.241750
2016-02-18T16:39:15
2016-02-18T16:39:15
51,881,222
1
1
null
null
null
null
UTF-8
Python
false
false
607
py
class Class(object): """docstring for Class""" def __init__(self, name, Decorator=None, Superclass='object', Properties={}): super(Class, self).__init__() self.name = name self.decorator = Decorator self.superclass = Superclass self.properties = [] for name, prop in Properties.items(): p = Property(nam...
[ "iancarv@gmail.com" ]
iancarv@gmail.com
14467e999e58538df3a9ace7cfbd2368c1054127
3f9d28984403cdd84b984d7a82eb6136018966a4
/report_account_header/__manifest__.py
2d4752617140bbb3d923feca507bd5b6df96d207
[]
no_license
joevm018/temasq
bee1c69aee4c87de415e66e236b40c28201e2951
74f003c6a009716bf26a6438f5ee48e7dfcbb030
refs/heads/master
2023-03-18T23:42:13.598853
2021-03-11T11:35:16
2021-03-11T11:35:16
346,671,390
0
1
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- coding: utf-8 -*- ############################################################################## # # Author: Al Kidhma Group # you can modify it under the terms of the GNU LESSER # GENERAL PUBLIC LICENSE (LGPL v3), Version 3. # # It is forbidden to publish, distribute, sublicense, or sell copies # ...
[ "esreejishnu@gmail.com" ]
esreejishnu@gmail.com
87e29c358714d587181ceb01527a7a958385f00a
22298f9b11ea3949989942797666239bc52fb12f
/news/views.py
d507c9f360355e5ea8e2851df6aa1e0ea96bd2b7
[]
no_license
AlexPyDev/Task
6694914260952b1d471cac9fb1b36bda6965f47f
e968463ad5f2b210cdeb64c98ab066a8506ab61e
refs/heads/master
2022-12-14T14:21:11.103386
2019-10-29T10:46:07
2019-10-29T10:46:07
216,048,923
0
0
null
2022-04-22T22:30:08
2019-10-18T15:01:00
Python
UTF-8
Python
false
false
1,895
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect, get_object_or_404 from .models import Article from .form import ArticleForm, PostForm from profiles.tasks import send_email def index(request): articles = Article.objects.order_by('id').all() return rende...
[ "Pythonicalex@gmail.com" ]
Pythonicalex@gmail.com
68f4037aa526aad531757e9a55837c620b165268
97e7c5b72154c3fa89c95d7fb4ef4eb295a706ab
/at/ABC/ABC_085_C.py
a980a4f201ebbeb99107255bb50269c18f4e300a
[]
no_license
tamuraryo0126/programing
d679e4c78d970eee45e7524c7a3d7290f7fa6d14
55c4b2a7fb349723626419a26ba1fa4065e46695
refs/heads/master
2020-03-21T15:00:20.478885
2018-11-29T04:37:09
2018-11-29T04:37:09
138,688,605
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
N,Y=map(int,input().split()) for i in range(N+1): for j in range(N+1-i): if 10000*i+5000*j+1000*(N-i-j)==Y: print(i,j,(N-i-j));quit() print("-1 -1 -1")
[ "a5816058@aoyama.jp" ]
a5816058@aoyama.jp
ed7cb93e2ed6141fbeaa78fef4dea002f0fc856e
202e31dd277cd08b1e65f6e990c232602163a529
/godot_rl_agents/tests/zeb_test_ray_wrapper.py
7c31d3f0e03174210342bb0cd0ab13520b4b5034
[ "MIT", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference", "CC-BY-4.0" ]
permissive
cove9988/godot_rl_agents
757f210d6dcaf0adb2f014386fb0cfa15cbe546a
98821bdcd68304ec31350701bba064bbdcdb3ba6
refs/heads/main
2023-08-21T03:55:45.908510
2021-10-17T18:40:04
2021-10-17T18:40:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,507
py
import numpy as np import ray from ray import tune from ray.rllib.utils.annotations import override from ray.rllib.utils.typing import MultiAgentDict, PolicyID, AgentID from ray.rllib.agents import impala from ray.tune.logger import pretty_print import ray.rllib.agents.ppo as ppo from godot_rl_agents.core.utils imp...
[ "edbeeching@gmail.com" ]
edbeeching@gmail.com
6a80f1e4ce6a2892e8d9a978640499904cf163a6
5642a27fb8f0ee5e3e29036c84704e62db90a9a6
/my_project/settings.py
f875f761671fb35fcea152defc1c7cad24e4f6e6
[]
no_license
mayurfinity/django_basic
bff5b8e5a178d86c7553004ef9be7b8861e6bd93
e4ca77163fc4cef0de14594bb76acb24ac95bd75
refs/heads/main
2023-01-19T07:32:19.775269
2020-11-13T14:36:08
2020-11-13T14:36:08
312,298,562
0
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
""" Django settings for my_project project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from path...
[ "65775923+mayur290997-hub@users.noreply.github.com" ]
65775923+mayur290997-hub@users.noreply.github.com
165cc550b88080b62182b10cfb502c6484f69c33
5d83089c29052ba850a08968676826a02b94b64d
/src/python/zquantum/core/wip/circuits/_serde_test.py
3969d141ba9c8aeaf331753ea2d1d024b36bdb0b
[ "Apache-2.0" ]
permissive
koderat/z-quantum-core
35bd27ec3f0597edc65a97dc5b9ed9bd29c2bc81
45aefee4eea05bce8d26c201bd471b76d05db139
refs/heads/master
2023-04-07T02:13:58.204681
2021-03-19T16:26:28
2021-03-19T16:26:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,179
py
import pytest import sympy import numpy as np from . import _gates from . import _builtin_gates from . import _circuit from ._serde import ( serialize_expr, deserialize_expr, circuit_from_dict, custom_gate_def_from_dict, to_dict, ) ALPHA = sympy.Symbol("alpha") GAMMA = sympy.Symbol("gamma") THETA...
[ "noreply@github.com" ]
noreply@github.com
13ad3ac4eec115ca433e8fbc3ddaafc3ae3d0332
23bbaf0207772f1fc9b4519a0982fe976425f7b3
/env/bin/wheel
45226e48b660fcd363f1f31db9deaf8ae0758d67
[]
no_license
nakedlunch/kanban
aa4c45ca45d7dc939e6694076f9da124e82de8f7
a3c82871cad044f7dfa9e5f7a324bf7cdd56f256
refs/heads/master
2020-03-27T07:17:43.377266
2018-08-26T23:47:12
2018-08-26T23:47:12
146,178,768
0
0
null
null
null
null
UTF-8
Python
false
false
239
#!/Users/elliot/dev/Kanban/env/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "elliotmfry@gmail.com" ]
elliotmfry@gmail.com
3b30bf6edad76b99281f9a1bad5845b2575bed29
1dba27f25a5faa46e81638404d9ee4cb793ddf19
/newspaper_project/newspaper_project/settings.py
b7f3997af12db9836317ab982a5d4783e7eb27b5
[]
no_license
aybamidele/newspaper-django-app
efbde3f0964a9ecaca3d35897f4a45a95e94dd57
99fb63a0c1632c15e38058e8faf55e3fb0b3a00a
refs/heads/master
2020-03-31T20:38:11.985351
2018-10-13T12:47:26
2018-10-13T12:47:26
152,548,518
0
0
null
null
null
null
UTF-8
Python
false
false
3,549
py
""" Django settings for newspaper_project project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ im...
[ "aybamidele@gmail.com" ]
aybamidele@gmail.com
5d2eb29592b9ad81a73a8f5da5386f4a23803f30
ddebed6f9aa34f8506c2ac202ceb6b5a04c6b2a0
/yiqi/apps/userOperation/migrations/0002_auto_20181031_1703.py
bf4382195bd28cdc78213389e3c5137a68061be0
[]
no_license
AmirHuang/yiqi
bcd773db02740f83c8f478494500013a36d7d77e
561325a35ca21e9685c9c1a946d5604d7d3afc74
refs/heads/master
2020-04-25T03:56:28.988287
2019-02-25T11:34:00
2019-02-25T11:34:00
172,493,868
1
0
null
null
null
null
UTF-8
Python
false
false
4,003
py
# Generated by Django 2.0.2 on 2018-10-31 09:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('activity', '0002_auto_20181031_1703'), migrations.swappable_dep...
[ "429771087@qq.com" ]
429771087@qq.com
4ae12faf6838569609ce4b6c06aa800853d3ac79
d8d88c5bbe09c0f4fae8987fee0608e2cc96094c
/gui/hello_world.py
674e092543503a8a301ff3476ff654c29e769377
[]
no_license
liushuiluohua/learn-python
03e7b6429162fcac20e1ac66508cfbfcdd766c72
7d864c6713c9aebfc8b2574d0f8fbdedf962b51f
refs/heads/master
2020-12-26T03:43:23.761160
2017-11-09T03:15:44
2017-11-09T03:15:44
25,071,038
2
0
null
null
null
null
UTF-8
Python
false
false
575
py
#!/usr/bin/env python # -*- coding: utf-8 -*- 'a hello world GUI example.' from Tkinter import * class Application(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.pack() self.createWidgets() def createWidgets(self): self.helloLabel = Label(self, tex...
[ "askxuefeng@gmail.com" ]
askxuefeng@gmail.com
98e4fe446852205a84cd13c25111e4153ef15194
460a24c7d34bc3b9632afb8b75922fd4932a9170
/singleton/logger.py
fb60cd7d21d089655a80acd2903c02d00bfd32c9
[]
no_license
jokerTing/python-design-patterns
1476833e745a2a87487bc48b53187e655f70c4ee
3e62d60a99578b88ea78c42a2d89e0c5ecbc32b9
refs/heads/master
2022-01-21T01:01:59.266522
2022-01-18T02:11:43
2022-01-18T02:11:43
182,976,986
1
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
from singleton_object import SingletonObject #record the log #__author__='ShadowDing' class Logger(object): """ A file-based message logger with the following properties Attributes: file_name: a string representing the full path of the log file to which this logger will write its messgae ...
[ "dhc_1991@qq.com" ]
dhc_1991@qq.com
86fe21da6e53357da6f41a5b7d95dd034c2d3284
a9bdddbe65c0f4a9ade6fecf6d88440b43d681d4
/backend/src/geektrade/settings.py
be2279982e4c0c1f3fc3eb966ccc776021af986b
[]
no_license
winiciuscota/GeekTrade
e2d7c1e6a72af5dff59216a721e41355fc47df83
39a6b7b8b1baab8e1c373d8efdf39698c9cda34f
refs/heads/master
2020-04-22T07:17:12.338210
2019-02-12T01:47:48
2019-02-12T01:47:48
170,214,505
0
0
null
null
null
null
UTF-8
Python
false
false
3,769
py
import time """ Django settings for geektrade project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """...
[ "winicius.cota@gmail.com" ]
winicius.cota@gmail.com
f134de3fa0bc09d9841e4fd5d7a76fd6c8d79dbe
ecc3806d0a417bfcc6d37f9bb5107bf9fa72275f
/lyweb/lib/SQLAlchemy-0.8.2/test/orm/inheritance/test_selects.py
dd9c8c8b81ad7af74bf54cb0a9af09dba5a796e2
[ "MIT" ]
permissive
luoyun/LuoYunCloud
ef6fa76e8b3a0880392b71d7569b304009041bf1
ee8fedd988cc39375dda69588c2f7bba1223fbe1
refs/heads/master
2021-12-03T05:26:47.656130
2021-11-30T13:16:34
2021-11-30T13:16:34
3,886,020
6
10
null
2013-06-25T14:04:23
2012-03-31T14:33:55
JavaScript
UTF-8
Python
false
false
1,820
py
from sqlalchemy import * from sqlalchemy.orm import * from sqlalchemy import testing from sqlalchemy.testing import fixtures class InheritingSelectablesTest(fixtures.MappedTest): @classmethod def define_tables(cls, metadata): global foo, bar, baz foo = Table('foo', metadata, ...
[ "lijian.gnu@gmail.com" ]
lijian.gnu@gmail.com
09ee188e0e0198bf781e7d62c16c41f203004684
0b1b3c2fbbbfdfe8a2c807eac16c0987bb72d088
/show_lable.py
0a21a5f66116c5e346df5b4c68c8bba65db2736b
[]
no_license
luceefer/jarvis
0c66e875920c12b6bdb806a25e41d6430126b27b
f9bce1e1fa69eeb5aab093ff4f1af4b3640820c7
refs/heads/master
2020-09-02T09:10:54.984994
2020-03-27T07:57:24
2020-03-27T07:57:24
219,187,100
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
from tkinter import * from tkinter import messagebox def show(): text=inp.get().strip() var.set(inp.get()) if len(text)==0: messagebox.showerror("invalid data","you haven't entered a string") else: var.set(text) inp.delete(0,END) root=Tk() root.title("change Lable") ...
[ "noreply@github.com" ]
noreply@github.com
8509bcc7b74ba994bd01e48425a401c28d9f421d
a38da65c23ae9b68f5c2815c2bd9d98dd6ba2e61
/spider_note/demo-10-登陆百度获取cookies,requests.py
a2774bb00411eadd680996d3fcd382a8465e86e7
[]
no_license
moxue1314/spider_note
64921113e44c6a4a5ddad5b564f35434f4888c54
a12a7bfa1d5cea497df67fbdd58ff8dc705ab5b8
refs/heads/master
2020-03-20T01:50:16.847556
2018-06-12T15:36:51
2018-06-12T15:36:51
137,090,331
0
0
null
null
null
null
UTF-8
Python
false
false
5,489
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import random import time from lxml import etree import requests from requests.cookies import RequestsCookieJar __author__ = 'Jiexun Li' from selenium import webdriver # 作业: # 1. 用 selenium 登录百度,获取cookie,保存cookie # 2. 用 requests 读取cookie,登录百度页面 # 3. 访问 百度指数...
[ "37325634+moxue1314@users.noreply.github.com" ]
37325634+moxue1314@users.noreply.github.com
7a7d82fe392ff8a2344e80d9756c966444e238c8
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/ba/4082c82b28630014154bc3193a2d6330
c36583ab687e3e88509d031ecdd54a0ed18471a8
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
3,833
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This 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 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
5d3ed03203cfe58547c75b642234201ba1430944
20dbb407a606997685bf107044cb21f8cf020701
/todo/migrations/0001_initial.py
7431c728e1a74144822ef08b194ffd6bd6640703
[ "MIT" ]
permissive
pyrush/django_deploy
dfb1378823ce064ac236739b2f59230ae7a90968
a1e09909f46e1fb728c68d87e31d6fb3d75e6fde
refs/heads/main
2023-07-30T17:59:41.948714
2021-10-03T15:11:08
2021-10-03T15:11:08
413,048,844
0
0
MIT
2021-10-03T11:06:36
2021-10-03T10:45:51
null
UTF-8
Python
false
false
493
py
# Generated by Django 3.2.6 on 2021-08-29 08:43 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='TODOModel', fields=[ ('id', models.BigAutoF...
[ "48887655+rtoomuch@users.noreply.github.com" ]
48887655+rtoomuch@users.noreply.github.com
304013664f2c33bb46dc50c1e2c543662bc47a42
96ea5e2025194823b61e248786cf7b1124cfd40a
/.history/store/store_20180419135458.py
18098abfadb30b57b4b620843fe2fcc91e1061f8
[]
no_license
JanBartoszek/ERP
c500c040c4e8d5390ed052d28d68e91af338e71b
b557b6800dd7a3dacf8d78cb729031503149d9d1
refs/heads/master
2020-03-11T08:53:20.264464
2018-04-19T16:21:08
2018-04-19T16:21:08
129,895,254
0
0
null
null
null
null
UTF-8
Python
false
false
5,413
py
# data structure: # id: string # Unique and random generated (at least 2 special char()expect: ';'), 2 number, 2 lower and 2 upper case letter) # title: string # manufacturer: string # price: number (dollars) # in_stock: number # importing everything you need import os # User interface module import ui # data mana...
[ "svetlana.syo@gmail.com" ]
svetlana.syo@gmail.com
c693e6e5b7b2bb5921e37941401c55cea7d8de59
7b14766d7433b3b1099a0df959cab354f75a893b
/DecryptNaN.py
5519a55e81c71a2545989f2bc10c5ad06e6fd3db
[]
no_license
davidxk/DecryptNaN
949b839d4bb521a84d77fbfdfcc3e556bb66dc85
c1dabe06d2ea1a90d87b645e33d38a6b7c088d2c
refs/heads/master
2021-05-04T11:30:10.855498
2017-12-29T11:11:56
2017-12-29T11:11:56
46,795,873
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
#!/usr/bin/python3 import fileinput def given_verify(ciphr_0, plain_0, ciphr_3, plain_3): presumed_key = ciphr_0 ^ plain_0 return ciphr_3 ^ plain_3 == presumed_key def arrage_key(start, keys): for i in range( start ): keys.insert( 0, keys.pop() ) return keys def decrypt(line): ciphers = ...
[ "davidxk@qq.com" ]
davidxk@qq.com
0800911a8ad10d04e48b6389ed205ca42d6a95aa
a090dcc34ace575eed932c573ebbd9cb231acb2e
/av_key.py
d0ed8dc1f3a10013cc1e8b4c14acf02212845040
[]
no_license
twrule/StocksAI
23125d48724acba3f5df42b599d36b699eecbec7
1a0859c1484b1d3ef7505c9cb2c546923b6f0458
refs/heads/master
2021-05-25T23:05:30.386228
2020-04-08T01:54:19
2020-04-08T01:54:19
253,958,457
1
0
null
null
null
null
UTF-8
Python
false
false
27
py
av_key = 'K0J326KZNCYJH0TS'
[ "tylerwrule@gmail.com" ]
tylerwrule@gmail.com
39428fb9dad862a9a21f5e180b5e449aa8fa84c1
759f7993d8b96336d6d19be68deab30e7bd55b55
/python/func-opdir/delete_dir.py
a7b0dbe5a9b8c887a7fb50368f10172ee26a63f9
[]
no_license
wyblhx/study
fc13672a8154981615e8c054d76807956d10355b
42dba01a7a48539cc916908f5b9607ec82bc8781
refs/heads/master
2023-01-13T08:48:15.872526
2020-11-19T09:43:37
2020-11-19T09:43:37
304,700,082
0
1
null
null
null
null
UTF-8
Python
false
false
771
py
import os ''' 递归删除文件下的所有文件及目录,如果目标是文件的话,也删除 ''' def delete_dir(target): # 判断是否为目录 if os.path.isdir(target): for file in os.listdir(target): # os.listdir给出当前文件夹下的所有文件及文件夹 path = os.path.join(target, file) if os.path.isdir(path): ...
[ "2248720753@qq.com" ]
2248720753@qq.com
a021be8a6976430e0f3e878fdbe1bfd54884e888
52792ac61b66a4f94245ffb9622a8fcb511f8d63
/importacao.py
b4bd6972a3a23d6b24e2a64c2253d384597eb867
[]
no_license
lucassouza252/Financial-analysis
07f71350ed53037ef7db90020490430da484dd80
3d60450738b8f3dd3635bb3f864121c6e4b4457d
refs/heads/main
2023-06-09T07:20:07.998729
2021-06-29T22:53:13
2021-06-29T22:53:13
375,542,166
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
# -*- coding: utf-8 -*- """ Importaçao e Organização de Dados @author: lucas """ import pandas as pd import numpy as np import matplotlib.pyplot as plt from pandas_datareader import data as wb ser = pd.Series(np.random.random(5), name="column 01") ser PG = wb.DataReader("PG", data_source="yahoo", start="1995-1-1") P...
[ "lucas252souza@gmail.com" ]
lucas252souza@gmail.com
3541b1cb13351732ae0a10d6dd9c1ed913b043e0
fa14e529a3615b3f21a9aa1f1de372a8f8709a24
/batch_optonose_traces.py
a5ad0f15a126b849b622c5c479bcf3e4d07ba786
[]
no_license
akurnikova/JNP2018
d960923991dc635ced858cddeabb3d83163b1b82
67cb1ba0ecc821856b0df0d4e71793bf13808052
refs/heads/master
2021-06-02T13:16:27.938837
2020-12-15T20:32:07
2020-12-15T20:32:07
151,632,347
0
0
null
null
null
null
UTF-8
Python
false
false
4,829
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Mon Feb 12 14:48:15 2018 @author: asya """ from __future__ import division import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit import os import pandas as pd import seaborn as sns import import_data_for_plots rcParams[...
[ "noreply@github.com" ]
noreply@github.com
d6c2f45c35ed1af835382baa6d6f7442fd1656f7
cd707557631322e60f55fc8c4d4511a7de6ae3ba
/transport_problem.py
a39888a38ad52c16d7042414c046cfda571ad728
[ "Unlicense" ]
permissive
fjanoos/python
7ddd1b08110041651e8aa964b72ba87847fa5de3
d75d6159cbf3c91b1ca3507ee4bc45afc1ab85dc
refs/heads/master
2020-03-13T03:37:28.194922
2018-04-25T03:49:08
2018-04-25T03:49:08
130,947,508
1
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/python import argparse import sys if __name__ == "__main__": ''' build and solve the transportation problem ''' option_parser = argparse.ArgumentParser(description='Transportation problem') option_parser.add_argument("-v", "--verbose", action="store_true", dest="verbose", defa...
[ "fj@fj-msi.localdomain" ]
fj@fj-msi.localdomain
8af3d0540048f1c5a220756d34986e6df7b3a3d4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02389/s554583183.py
44708d73345f1282b250c2bf77474c51419a5e07
[]
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
140
py
def rect(a,b): return a*b, 2*(a+b) n =input() x =n.split() a =int(x[0]) b =int(x[1]) area, perimeter =rect(a,b) print(area, perimeter)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ee2ae116b190a0242e22da1e7baa15c551b36853
270eccc74c24e374186073d84eea9f5d2592f7bc
/dibom.py
b84348dfc1c5a646b528edd16ed3620cd48b7c47
[]
no_license
Dima-dimaa/dibom
359117af20c1202afadbd3e4e3c8bb65af8c2b99
6902cb63fc7cd03b50cb21e22cce7aeb5404e4d0
refs/heads/main
2023-03-26T06:23:32.755965
2021-03-10T20:51:51
2021-03-10T20:51:51
334,630,341
1
0
null
null
null
null
UTF-8
Python
false
false
12,448
py
import requests, time, os, fake_useragent, random from termcolor import colored user = fake_useragent.UserAgent().random headers = {'user_agent': user} t=0 f=0 gg = 0 if t == 0: os.system("clear") banner =""" _ _ _ | (_) | __| |_| |__ ___ _ __ _...
[ "noreply@github.com" ]
noreply@github.com
a132d6e2bec0e88d70cafe8181942a94ddfd3b75
4f9c36da69695ec3acd440f5cc173a4946606453
/src/detect_face_demo.py
69932f5b8d433eeb059ea2e288d72e104a519fdb
[ "MIT" ]
permissive
yuhaoluo/facenet
a219841cd9174a8d329c4387a85c0ff2505ccccc
d3a3087f52ae1a17a77a1dadb81c53911be97b4b
refs/heads/master
2020-04-06T09:19:57.746972
2018-11-13T07:32:41
2018-11-13T07:32:41
157,337,932
0
0
null
null
null
null
UTF-8
Python
false
false
8,861
py
# MIT License # # Copyright (c) 2016 David Sandberg # # 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, me...
[ "lyh1120078784@163.com" ]
lyh1120078784@163.com
e0aa7247ec9ab1a7dd3b83e32c5e207cff94e4b0
74565d83bccccfae0d57d0e947f12db2bcae2999
/phi/tests/test_dsl.py
7de169da513bd1d88114d2556a8ba230e9e7485a
[ "MIT" ]
permissive
iCodeIN/phi
2fe9eaaf21615381e1b1815853adeb76a79fb696
87fd7100a76f823232f4fd8360498b4b80675265
refs/heads/master
2023-03-21T07:50:28.218564
2018-08-13T14:14:07
2018-08-13T14:14:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,615
py
from phi.api import * from phi import dsl import pytest class TestDSL(object): """docstring for TestDSL.""" def test_compile(self): f = Seq(P + 1, P * 2) assert f(2) == 6 def test_read(self): refs = dict( x = 10 ) f = Read('x') y, new_refs = f...
[ "cgarcia.e88@gmail.com" ]
cgarcia.e88@gmail.com
9959840f6b1866b0284ec39f9c306c96ab928a7a
3309fd8a4fcd8bc5a267de55d9c493a4cd875566
/greet.py
d055c3f557175cd941ba1e5c5d60ff61fabd5bee
[]
no_license
asconem/PythonFundamentals.Exercises.Part2
e8f0f933afd901ab354a95f6651c98f5ebc94e18
e1e6cfd4d27cdc27f1cdf7e949f70e9922905a20
refs/heads/master
2022-10-09T23:54:27.960572
2020-06-03T02:45:37
2020-06-03T02:45:37
260,521,446
0
0
null
2020-05-01T17:45:14
2020-05-01T17:45:13
null
UTF-8
Python
false
false
377
py
def name_input(): """ This function requests a user to enter their name via an input prompt """ user_name = input("Please enter your name: ") return user_name def greet(name): """ This function takes in a person's name as a parameter and returns a customized greeting """ print("Hell...
[ "asconem@gmail.com" ]
asconem@gmail.com
94dd16cf8586b81bf968e7826152716ef2c63d58
da8cf50a82a3e18f0b72409ee260de44f9081264
/training.py
940267a6abebb3ba3c6b11695b9cf69150359980
[]
no_license
jamied157/thesispublic
1d838a6a98b0a6e4dd3bd601bb4b008d29bc2f46
319fd6ba1e95267b85f37ca06d8b716264e80f1a
refs/heads/master
2020-07-18T17:07:26.659284
2019-09-04T09:31:56
2019-09-04T09:31:56
206,281,250
0
0
null
null
null
null
UTF-8
Python
false
false
4,014
py
import numpy as np import torch from torch import Tensor from torch.utils import data from sklearn.model_selection import ParameterGrid import logging class UncertaintyDataset(data.Dataset): """ Characterises a dataset for PyTorch """ def __init__(self, X, Y): self.X, self.Y = Tensor(X), Tens...
[ "noreply@github.com" ]
noreply@github.com
c7c8c9f682ca024b8700ca441791a0178cd6a7c8
224ca57f7f0ceeaf93b2ae93bcaedee5e1e8589d
/leetcode/closure.py
67cd61558f7eb0edb72da9f4ba6da07ace8b5774
[]
no_license
myliu/python-algorithm
71fa69502596634464007f64d3ac02826d3b07df
036a29d681cc91f2317d454e04530d7375d55478
refs/heads/master
2021-01-23T11:34:07.732641
2017-02-27T00:27:58
2017-02-27T00:27:58
13,375,481
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# http://www.shutupandship.com/2012/01/python-closures-explained.html def generate_power_func(n): print "id(n): %X" % id(n) def nth_power(x): return x**n print "id(nth_power): %X" % id(nth_power) return nth_power if __name__ == '__main__': raise_to_2 = generate_power_func(2) print rais...
[ "mliu@quantcast.com" ]
mliu@quantcast.com
876bc78f7d3c3f6a9d70df6c7f854fd2c0dc8eb8
fd27119866acf233768d006af100f1fd8027fd14
/tests_inprogress/test_heartbeats.py
3609a6c591eea7e9d8dabafcf31ecc9812c36093
[]
no_license
afrocubanito/cm-python-autoapi
dbdf06c765d46ee932fbd6e35add80d3cb6f8d15
2a0e4335842e08220b1745a459ecc7f627bc8087
refs/heads/master
2020-04-25T12:51:28.900309
2018-09-19T18:03:15
2018-09-19T18:03:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,985
py
__author__ = 'rkaye' from nose import with_setup from nose.tools import nottest import logging import logging.config import configparser from framework.constants import CONFIG_FILE_PATH, LOG_FILE_PATH from framework.authentication_rest import login, logout, get_auth_token from framework.http_rest import * from framewor...
[ "richard.kaye@scala.com" ]
richard.kaye@scala.com
f0a307f6a7c95294fb2c74511822129b3d6ba922
682ef96201c2cb8591b70bc7bed16ccd6e66a56c
/ecommerce/views.py
1fe5cf5c002fb3b9ff178a27f0c8dc99448f5f5a
[]
no_license
leducthanh/Ecommerce
8ea6246f866e97fbb434d23359b495863b06ff5d
50460ace23cb865f1d14c11d5d88afe440092aae
refs/heads/master
2023-01-11T05:25:21.533948
2020-11-14T14:49:10
2020-11-14T14:49:10
286,441,438
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from django.shortcuts import render, redirect from django.contrib.auth import authenticate, get_user_model, login, logout # Create your views here. def home_page(request): context= { } return render(request,'home_page.html',context)
[ "duchtnah2402@gmail.com" ]
duchtnah2402@gmail.com
9278531e90e33fc43aaece367c9562b9b6808285
a7288a7cc1e1a2c480347b7d7736e7264d49a7ce
/youtube_downloader_project/manage.py
4ceec4879d34b51e0034ecffbb1d1d6bfdc6c532
[]
no_license
JosephKhajoo/youtube_project
2b259bf6c35db9a2940de51b52b91b69b5adf65d
0be899be6a8f327e26171e04c4bd1fbccf81d6c6
refs/heads/main
2023-03-10T01:31:20.683766
2021-02-28T22:00:22
2021-02-28T22:00:22
343,223,685
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'youtube_downloader_project.settings') try: from django.core.management import execute_from_command_l...
[ "josephkhajo2003@gmail.com" ]
josephkhajo2003@gmail.com
36d9139dfd9873072c8719ca26c5ebc7c423058e
595fc1fd741666554a6643d60b029855d8e4ea15
/Messenger.py
8b90d8cff35fa719027fa90c127da15e01d62a5e
[]
no_license
CLDXiang/weather_email_notification
31e487d806ce863c231748d5ad64c64ccbe338b8
2d75654fbec777bbc84bf4aae17433e38c26d463
refs/heads/master
2020-12-03T03:55:03.414188
2017-08-18T16:25:48
2017-08-18T16:25:48
93,936,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
# -*- coding:utf-8 -*- # 得到天气信息 import datetime import requests import json class Messenger(): def __init__(self): with open('./config.json', 'r') as f: self.KEY = json.load(f)['HEKey'] self.num2cn = {1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: '日'} def get_wea(self, r...
[ "417198670@qq.com" ]
417198670@qq.com
5a7160d511dd2eb253990b60738b3b9a31a41143
a07ed3f4984e8153219ef25927a5784c127f43a4
/execute_command/venv/bin/easy_install-3.7
f12394a8e18c462b84af11f281a787899d95dae8
[]
no_license
golan1202/Hacking-with-Python
939333b4e86669527f2ccf846caa49601fc05848
98e0b1fef562d64b3e6ec8eab90ed75fb8c3f221
refs/heads/master
2020-08-21T23:41:08.979455
2019-10-19T21:31:11
2019-10-19T21:31:11
216,272,690
1
0
null
null
null
null
UTF-8
Python
false
false
449
7
#!/root/PycharmProjects/execute_command/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
2f46a242dfd599c2ae9d4ba23d46aa9a5036cc3e
4236ced786d9087925880a15e506f0965d7ebdc0
/app/accounts/views.py
5b46b89bcb5200f45e8bfb543b7b95ac8e7f569d
[]
no_license
ArturRejment/django-course
94b3f4f06260dbb60e10fda9e58b84555dc37bc6
05254950160094b70b80837599bfa9407d9a2363
refs/heads/main
2023-05-31T10:07:13.500153
2021-06-18T19:34:01
2021-06-18T19:34:01
376,356,292
1
0
null
null
null
null
UTF-8
Python
false
false
5,613
py
from django.shortcuts import render, redirect from django.http import HttpResponse from django.forms import inlineformset_factory from django.contrib.auth.forms import UserCreationForm from django.contrib import messages from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators imp...
[ "arturrejment1@gmail.com" ]
arturrejment1@gmail.com
e5d73ed435640a6033f68a23bf2813e2f9c10c29
0806383e9809acf99011cca90b1eed7b1a080165
/2018/B2Phi_fragment_hardQCD.py
d81621ee6f6585a7ba6596a7a53eac86d65ac822
[]
no_license
mmasciov/B2PhiSignalProduction
dbfeb436b3ec6efa969bc65b7c3401cfa781c710
4967569f0dd41878c76f0b54bf261f619823376b
refs/heads/master
2022-11-13T05:24:38.492389
2020-07-07T16:07:25
2020-07-07T16:07:25
277,762,369
0
0
null
null
null
null
UTF-8
Python
false
false
3,259
py
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.Eras import eras from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * # Production Info configurationMetadata = cms.untracked.PSet( version = cms.untr...
[ "mario.masciovecchio@cern.ch" ]
mario.masciovecchio@cern.ch
3bd68691d412aeb06306ca53f88dfdcbe655bd24
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/NETSCREEN-SET-GEN-MIB.py
33889b0e14736f295d3c28103487928e28685020
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
5,948
py
# # PySNMP MIB module NETSCREEN-SET-GEN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NETSCREEN-SET-GEN-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:20:23 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
ae92bab68137c027aa8f8979fd89aa003e2c5df6
2c81510e6d3a179ef65888791ba164a840614299
/Network/gamepad/gamepad_client.py
62f1fd836bcc1e3151ddc66d0b0baa9b5587e040
[]
no_license
Alisa712/CYTON-VETA-7-DOF-Robot-Sensing-Touch
fe3e08425126a7fb2d88eafd37cad03d48614342
5a8e586d253465a235da3af4144ac5c0a4b81a71
refs/heads/master
2021-08-30T09:13:20.411681
2017-12-17T06:14:25
2017-12-17T06:14:25
114,512,623
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
import socket import time import pygame pygame.init() joy = pygame.joystick.Joystick(0) joy.init() host = 'localhost' port = 5000 mySocket = socket.socket() mySocket.connect((host,port)) def joystick(): global out out = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] it = 0 #iterator pygame.event.pump() ...
[ "hsh0712@hotmail.com" ]
hsh0712@hotmail.com
6692fcd716647755e1aea133c8bd8b46dc51ecc7
b8c2885a4d8daf34c2049ee727655d6de07857fe
/app/api/response/users.py
aefebe7b93d374cb709c22937cfe6c69ff0454e0
[]
no_license
Ravillatypov/asterisk-integration-api
870b9804b51dcc640b9b9a571d406f26804a6d30
d4abeb5b87ab00c4b371d501f3d117feb5e4d72c
refs/heads/master
2023-06-23T10:55:22.851334
2021-07-22T07:55:52
2021-07-22T08:24:31
264,633,533
2
1
null
2021-01-16T07:54:57
2020-05-17T10:04:40
Python
UTF-8
Python
false
false
720
py
from typing import List from pydantic import BaseModel class ResponseUser(BaseModel): id: int first_name: str last_name: str permissions: List[int] username: str is_active: bool company_id: int = None class Config: orm_mode = True class ResponseUsers(BaseModel): result:...
[ "ravillatypov12@gmail.com" ]
ravillatypov12@gmail.com
2e1b48cbfff274207746ac41229144bc61864cf9
0d87d81067a2d028b4d2c1a105df0518ac156b87
/lab7/task7.py
798a38e1537d8a63d25ff0dc28fbffb7e341806a
[]
no_license
sterliakov/IT-2022-labs-1-sem
3c1c9c6250caef2258f443700a361c19cc3a082c
ee256f03198e39b22e385d8d5377bc3de772cdc9
refs/heads/main
2023-08-20T09:31:18.190399
2021-09-16T08:21:56
2021-09-16T08:21:56
405,976,481
1
0
null
null
null
null
UTF-8
Python
false
false
683
py
STEPS = 2 def walk(x, y, x0, y0, remaining=STEPS): if x == x0 and y == y0: return remaining remaining -= 1 if remaining == -1 or x <= 0 or y <= 0 or x > 8 or y > 8: return -1 return max( walk(x-2, y-1, x0, y0, remaining), walk(x-2, y+1, x0, y0, remaining), walk(...
[ "terlya.stas@gmail.com" ]
terlya.stas@gmail.com
640e4256d48a98d957149e6ac184e44bf66b3a1c
31e8765993b0df9988fab3615b346065c43d77db
/MyMainPackage/SubPackage/mysubscript.py
11a90d17e55bf92b412da5b98055f2a42e305239
[]
no_license
bopopescu/courses-projects-exercises
a4f37f9b96cb3e564c59fce957fa972db1013415
d06e9684a79bd97e43c0f007968e55e4fcf11ce8
refs/heads/master
2022-11-23T14:26:50.059341
2020-04-15T09:56:29
2020-04-15T09:56:29
281,485,877
0
0
null
2020-07-21T19:27:34
2020-07-21T19:27:33
null
UTF-8
Python
false
false
64
py
def sub_report(): print("Hey I am function inside mysubscript")
[ "k.srocki@gmail.com" ]
k.srocki@gmail.com
430e4c22ffcc6af466cbe65051d710988206a800
0a7730b3595d16725366d1492e7526e58f65d859
/docs/conf.py
a492105cb126c004f0e80c07a4c38fb16d531f53
[]
permissive
telebotter/django-telegrambot
f22127e251cac4700eb79e934f0886bf7beb69bd
70e6016b09d1fb91dd45e3cf2dc8fd8e82dbc824
refs/heads/master
2021-12-25T16:39:09.832480
2021-08-02T09:54:16
2021-08-02T09:54:16
212,980,072
15
11
BSD-3-Clause
2021-08-02T09:54:16
2019-10-05T10:17:32
Python
UTF-8
Python
false
false
8,244
py
# -*- coding: utf-8 -*- # # complexity documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
[ "francesco.scarlato@gmail.com" ]
francesco.scarlato@gmail.com
c7885620d3be0baf6a989da71453344360e7faaa
0e6d9b3a64bad502821e267465472dd156007e5f
/mnist.py
f0f0768ea0b63647b2dfc8d564a6cb6d508eb51b
[]
no_license
DuaneNielsen/efficientNet
990894725fcbf80235574fbe87ca3d47a82cfcbc
4b8b387890e470e07e66fb425b1450c011d506ef
refs/heads/master
2023-04-15T02:28:03.716575
2021-05-07T22:43:00
2021-05-07T22:43:00
365,349,451
0
0
null
null
null
null
UTF-8
Python
false
false
3,123
py
import torch import torch.nn as nn from torch.utils.data import DataLoader, Subset from torchvision.datasets import MNIST from torch.optim import Adam from torchvision import transforms from torch.nn.functional import cross_entropy from rich.progress import Progress from collections import deque from statistics import ...
[ "duane.nielsen.rocks@gmail.com" ]
duane.nielsen.rocks@gmail.com
0ebd026476efa34ac486487b217d08e9853ac2aa
df08b73174ff86bacf305a066eab3a33bf833df1
/Python_1/HW4/Les_4_Task_5.py
d59c4873ed426a55040434a2dc757a82df902620
[]
no_license
DanySat/Python
2eb2aa900040fa0c7cd033d45842451061a38027
874e0126ba9eb7d69d906ab0a2895617a5c3477d
refs/heads/master
2020-12-15T02:53:29.739692
2020-03-17T19:01:00
2020-03-17T19:01:00
234,971,390
0
0
null
2020-03-17T19:01:08
2020-01-19T21:33:55
Python
UTF-8
Python
false
false
282
py
while True: number = int(input("Введи целое число от 3 до 20: ")) if 2 < number < 21: print('Пятикратное число равно: ' + str(number * 5)) break else: print('Неверное число.') continue
[ "dany_sat@mail.ru" ]
dany_sat@mail.ru
a979d9410eea53ce04553cf6f644548604644c62
c4ae5fb88fe588912a1e6cb78ce2744c5457b7e8
/scrape.py
b0b5858470927615bd4c12143ed17ef3cb5737a7
[]
no_license
ashingtondc/UrbanDictionaryScraper
bec9ab44d693b6f9c23623ec4f42de7be8d51354
0de4b2e1dd4fa88c4806642533e9d3be7e7ed733
refs/heads/main
2023-02-25T17:22:15.055818
2021-01-29T06:13:22
2021-01-29T06:13:22
334,049,514
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from scrape_utils import scrape_letter import logging import multiprocessing as mp logging.basicConfig( filename='scrape.log', filemode='a', level=logging.INFO, format='%(asctime)s %(levelname)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p') pool = mp.Pool(processes=4) results = [pool.apply_asyn...
[ "aparasa@calpoly.edu" ]
aparasa@calpoly.edu
f10f370d928a81de9544c76c61015dd5327ca8f7
4eddf6a34715752dc652571b1ab274f51ceb5da0
/.history/yjs/test_20210606185816.py
1f68cb0473491ea4a626df30ac2c94945d345bd0
[]
no_license
Suelt/Hust-SE-introduction-to-ML
649aba0e5b41363ceac03330ef02982982a0615d
a66785c3085da573f5748d13608eabf02e616321
refs/heads/master
2023-05-27T13:13:41.058545
2021-06-10T05:44:02
2021-06-10T05:44:02
375,582,438
1
0
null
null
null
null
UTF-8
Python
false
false
991
py
import numpy as np from tensorflow.keras.datasets import mnist def convert_to_one_hot(y, C): return np.eye(C)[y.reshape(-1)].T def sigmoid(inX): from numpy import exp return 1.0 / (1 + exp(-inX)) size=[784,30,10] num=2 weight = [np.random.randn(ch2,ch1) for ch1,ch2 in zip(size[:-1]...
[ "2552925383@qq.com" ]
2552925383@qq.com
c4edc1b7dc0d2e222f4048ccba62a3aa1040b6a0
0306e5ea656a976ed3e23f2eb207a2565efa77c5
/src/moderations/models.py
7f68208f4f3d40e4829db8759dd412963049413c
[ "MIT" ]
permissive
definitelysecure/shipwrecked
7cf28e3dfcd66082746638e7830eeb128fbdc403
3b79c6df63ed3c271ccb1b8a21081c76bcd9f08a
refs/heads/master
2020-03-29T05:14:09.856261
2018-09-20T08:07:52
2018-09-20T08:07:52
149,574,034
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from __future__ import unicode_literals from django.db import models class ModerationManager(models.Manager): """ Provide methods to reduce code in views. """ def get_by_message_id(self, message_id): return self.filter(message_id=message_id).first() class Moderation(models.Model): """ ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d1d54b1b8df0b844653460855a20130d05b2162a
4af115348bf6d3fa5bb4eaefa77cf1cb214085cf
/account/migrations/0007_auto_20211029_1229.py
1941dd729154bc0eb09c633c2f5e01871fc8341e
[]
no_license
Leonlee999/webscraping
e00ceaac3bd4d87c60e011e998dddcf539705caa
6406737f19afdb647d2da13065f49b4e15a8ed94
refs/heads/master
2023-08-28T21:47:31.275403
2021-11-11T03:27:54
2021-11-11T03:27:54
424,569,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
# Generated by Django 3.0 on 2021-10-29 06:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0006_auto_20211028_1541'), ] operations = [ migrations.AddField( model_name='user', name='c_company', ...
[ "nikilhc@gmail.com" ]
nikilhc@gmail.com
9b157c9f8b7dee6f286c8027208406a14e2a6b4f
29e6bb047c5723c6e90a0209305f2167f3cae8be
/Algorithm/stone_division.py
e007c89bf49bffdcd585c4a1cb634c79e5b0cd7b
[]
no_license
basant-kumar/Hackerrank
a42c93e1efc95dd19e0704bf45db4e6492b0b7f2
4b35c62e8942d8887257da5a48f827f337bf08a8
refs/heads/master
2021-01-11T00:12:10.737874
2017-01-06T15:46:45
2017-01-06T15:46:45
70,580,359
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
dp = {} s=[] def recs(n,c,p): l = len(s) pw = False if p==1: q=2 else: q=1 div = False for i in range(0,l): if n%s[i]==0: div = True #print ' n = '+`n`+' n/si = '+`n/s[i]`+' p = '+`p`+' c = '+`c` if not n/s[i] in dp: ...
[ "basantkmeena@gmail.com" ]
basantkmeena@gmail.com
61394911ab48fc156a2ff9b7fdba2e12ffd3cbe1
84d3cc3d2e577d19b471b96f1ea994c069665614
/bin/demo_get_related_pmids.py
1fd5db2aa76a413e36c06053057766cc338383e2
[ "Apache-2.0" ]
permissive
jvansan/metapub
8a5157ff9d95151690c551fbddcebfec3f5cd93e
d5e7a2401c1598b1e2662d2f91491296e605281d
refs/heads/master
2020-11-25T02:51:57.537383
2020-01-09T22:24:39
2020-01-09T22:24:39
228,463,348
0
0
Apache-2.0
2019-12-16T19:48:54
2019-12-16T19:48:54
null
UTF-8
Python
false
false
646
py
from __future__ import absolute_import, print_function, unicode_literals import sys from metapub import PubMedFetcher fetch = PubMedFetcher() try: pmid = sys.argv[1] except IndexError: print("Supply a pubmed ID as the argument to this script.") sys.exit() result = fetch.related_pmids(pmid) for key in ...
[ "naomi@nthmost.com" ]
naomi@nthmost.com
d244482137c56cba1378c26bdda524155e967880
076ba705851d8436151768c793b87156bd8dac64
/motifmark_oop.py
38161f0f408f9adee5bc527b9d906377efb49791
[]
no_license
demiglidden/motif-mark-oop
d94315a69bf25dc203be4c698009aa730305ecbf
93ecd3c575cd40e556622e25ea9394026c560fe3
refs/heads/main
2023-03-15T07:19:20.329551
2021-03-07T02:52:34
2021-03-07T02:52:34
343,573,847
0
0
null
null
null
null
UTF-8
Python
false
false
9,894
py
#!/usr/bin/env python ######################################################################################################### ## This program will take fasta file of genes (where exons are capitalized and introns are lower case) ## ## and a file of motifs (each motif on it's own line) and will produce a visualiztion...
[ "demiglidden@demi.lan" ]
demiglidden@demi.lan
31b149a4ed5f3f4b04509a67768e7fbec1f1c3ab
651bf57e96ce5471919b2d13a450d2692dae2f07
/vacancy/apps.py
c3507b2355507b514f7a2d9a60c837e444320365
[]
no_license
vacuumfull/hh-parser
3cb45cd5a4191cafd38a71489456c9fa69ff641f
4b50be35d4a58d570865fe439af85720ae5410f8
refs/heads/master
2020-03-08T20:11:31.964286
2018-02-28T10:59:09
2018-02-28T10:59:09
128,375,655
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class VacancyConfig(AppConfig): name = 'vacancy'
[ "mr.willentretenmert@gmail.com" ]
mr.willentretenmert@gmail.com
1a81bf4235d3360478e2013bec61e305dbcb00b8
f3acce90044b2745a6f8da0750d0e6dc1e79c225
/natas19.py
02f2a56b84dfef31e3c5df9169cd4aa634855bcf
[]
no_license
aprilian404/Natas
446a18bfdcc44ed24a7acbffc32e51aa5af4b248
43a74293f0eeeb6582e404d048dbfc811d73b094
refs/heads/master
2021-03-06T07:40:54.892754
2020-03-12T14:18:57
2020-03-12T14:18:57
246,189,344
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
# import requests # URL = "http://natas19.natas.labs.overthewire.org/" # Username='natas19' # Password='4IwIrekcuZlA9OsjOkoUtwU6lhokCPYs' # i = 0 # while i < 641: # session = 'PHPSESSID='+''.join([str(30+int(c)) for c in str(i)])+'2d61646d696e' # query = {'username':'admin','password':'a'} # res = reques...
[ "ivy404aprilian@gmail.com" ]
ivy404aprilian@gmail.com
dfcdf54d7cdde78843d63e2e36fc58360aefdfa1
29452669ce7c2ed267e14a9f83bfae999da2c5d8
/Social-Cracker(main code 2018))/Individual Modules/facebook.py
9aaa6e65550cab7f19dcc6b0120a1f65c6f9e717
[]
no_license
Firestormhacker/Large-Social-Cracker
64c5ee0ac7ce17ffca19ec1baf385f0ae0fd68cb
7359885b56092e8a9ec1d31c95487d19fe6ae0e1
refs/heads/master
2020-03-24T22:25:58.625959
2018-08-01T00:57:48
2018-08-01T00:57:48
143,085,291
1
0
null
null
null
null
UTF-8
Python
false
false
7,938
py
#!/usr/bin/env python def facebook(): site = 'Facebook' attempt=0 e = os.system(d) print ""+G+" " d = ''' {}<><><><><><><><><><><><><><><><><><><><><>{} { Facebook-Cracker 3.0| Created by Andrew-El } {}<><><><><><><><><><><><><><><><><><><><><>{} ''' url = 'https://www.facebook.c...
[ "noreply@github.com" ]
noreply@github.com
545e763fa3b1aba8b83bfdcdc1080165f6a633b3
f22d31484a12d001826c1775a6f2d245a720fce8
/Introdução à Programação com Python/Do autor/Códigi fonte e listagem/listagem/capitulo 07/07.01 - Alteração de uma string.py
efae6ebfba495a6cd3c482d6a12c9a1a161a3024
[]
no_license
eduardoprograma/linguagem_Python
9eb55f0a5a432a986e047b091eb7ed7152b7da67
942aba9146800fc33bbea98778467f837396cb93
refs/heads/master
2021-07-07T20:48:37.673101
2020-07-31T21:24:17
2020-07-31T21:24:17
159,852,510
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2017 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpressão - Outubro/2011 # Segunda reimpressão - ...
[ "eduardo.candido@fatec.sp.gov.br" ]
eduardo.candido@fatec.sp.gov.br
56126378c327efcee4599dc7188b51ad58b63710
df0a9f3ad6b74269ff72d8ab5737f8351b52ccbf
/Assignments/Week2_3/Python/binary2img.py
ed0848d449a84e679eeb567c7a723b2a9c073645
[]
no_license
DuongTam1410/IU
bc6794905e9cd95f8d807d8e1d745b882d0ef75c
bdcebda5f3c8516a060a076bea2fa5e7ba5e4d39
refs/heads/main
2023-05-04T15:54:31.777517
2021-06-01T05:26:21
2021-06-01T05:26:21
343,701,522
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import numpy as np import cv2 as cv def rgb2gray(r,g,b): gray = (0.2989*r + 0.5870*g + 0.1140*b) / 255 return gray image = np.zeros((500, 500, 3), np.uint8) f1 = open('Dataset/Text/blue8b.txt', 'r') f2 = open('Dataset/Text/green8b.txt', 'r') f3 = open('Dataset/Text/red8b.txt', 'r') f4 = open('Dataset/Text/Gr...
[ "18521367@gm.uit.edu.vn" ]
18521367@gm.uit.edu.vn
354308ea2dc9307ff4130f508e8b3b3c44281109
3597488b9cb22c6e23528b889f5581f0050b4a7c
/tableService.py
1fa0c01a01a8e40203c6133daed6d483104c2af8
[]
no_license
shawzh/snipa
2e517066756f457092b5aeeea7e57780f24c4b9d
58de9bdece3510360038420e66066f1bb72b2a16
refs/heads/master
2021-01-02T23:09:19.521174
2017-09-19T15:04:32
2017-09-19T15:04:32
99,476,413
1
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
import datetime from PyQt5.QtWidgets import QTableWidgetItem class TableService(): def __init__(self, pcaps, model): self.pcaps = pcaps self.model = model def insertDataToTable(self): preRow = self.model.rowCount() self.model.setRowCount(preRow+self.pcaps.res.__len__()) ...
[ "shawz9655@gmail.com" ]
shawz9655@gmail.com
ca8aab44108b0780f2a4d6b4c46508d630f53073
9dab41a71bf19a9ad17ee3e9f77c0f58aebd1d6d
/python/uline/uline/uline/temp/__init__.py
37069a7e2112b786ada292780a87c95a4cfef7d0
[]
no_license
apollowesley/Demo
f0ef8ec6c4ceb0aec76771da8dd9a62fb579eac8
471c4af95d3a7222d6933afc571a8e52e8fe4aee
refs/heads/master
2021-02-15T04:01:51.590697
2018-01-29T01:44:29
2018-01-29T01:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
#!/usr/bin/env python #-*- coding: utf-8 -*- # Author: Ficapy # Create: '10/10/16'
[ "36821277@qq.com" ]
36821277@qq.com
c7b686029c847611bca34a3e5eda778e122773d4
175075b2e11002808d5948c11620dca702db480b
/HackerRank-Security Encryption Scheme.py
608925e575da347cda2002c44b940443182b96d2
[]
no_license
Jeffreyhung/hackerrank
df6790c2062cdca246e5dc1274e250d229b8186a
1d0b572762466de36226a0341ffa56cd2aea2759
refs/heads/master
2020-04-16T16:18:20.408779
2019-04-01T19:18:18
2019-04-01T19:18:18
165,731,174
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
x = input() num=1 for i in range (1, x+1): num =num* i print num
[ "noreply@github.com" ]
noreply@github.com
1998c9f8bbb023c8ba8846597860434a9280153a
497f9429c56d85e69e97c35b3305a241957bc42a
/qblog/blog/migrations/0001_initial.py
1281e20e3b9d696763e8dc42dc175369b3c39bf5
[]
no_license
chaman1avnish/Github_api
d1a6356c124d0309d48b2b174ecae2c0fe913d4e
90cf4156dcdbcf4b358577e2cebb0b54f48404c8
refs/heads/master
2021-05-16T06:49:37.795155
2017-09-14T07:58:26
2017-09-14T07:58:26
103,503,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-09-09 13:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Entry'...
[ "avkumar1003@gmail.com" ]
avkumar1003@gmail.com
8e5348f8a6abddead38abba9b00f18d658729f14
3e3de2655e7e4602b5309bc563db960134ce79a6
/tempandhumiditythread.py
b4e902fae445238caddd2549b37aca7b2217cefc
[]
no_license
NahidMondol/GardenAutomation
bf95e81cd1fc75ab015438c301f4478dbd12cc21
040cbaa1e5a364525cb8e868a0e3c59ec090325f
refs/heads/master
2023-07-11T11:59:21.386008
2021-08-13T23:58:47
2021-08-13T23:58:47
389,012,333
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
import threading import time import sys from tempandhumidity import TemperatureAndHumidity class TemperatureAndHumidityThread(threading.Thread): stop = False sensor = None currentTemp = None currentHumidity = None def __init__(self, threadID): threading.Thread.__init__(self) self.se...
[ "nahidmondol97@gmail.com" ]
nahidmondol97@gmail.com
4aa25c84448889944cb2c2a57f1b36a06161a03c
4433c8f98a6dfed4a6ae55bcb3f875f103417271
/lib/migrations/backends/jsonfile.py
667db7a920b8b1e3dd9581697f904cadf3f52f1a
[]
no_license
fpliger/migrations
97dd6daf30c198630af59c3125c7df9a35cb43dd
e52ff01778c8e24de5b1724fb93e7fe02898b06b
refs/heads/master
2016-09-06T06:03:07.694523
2014-01-21T09:08:57
2014-01-21T09:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,707
py
import os import json import csv, codecs, cStringIO from sqlalchemy import types import sqlalchemy as sa from .base import MigratorBase class Migrator(MigratorBase): """ Represent data migration from/to one or more CSV files """ # CSV custom options: default_options = dict(MigratorBase.default_o...
[ "fabio.pliger@gmail.com" ]
fabio.pliger@gmail.com
9f1bf0ee8d6eef2d2c7b659a2f06835f5caa48f8
49f1c9002acb01350cf568c42b34cceae886914c
/api/migrations/0001_initial.py
35ef512fa966d27e9ac5fbab94aca94bb48a4add
[]
no_license
sonal-spd/Blog-API
30155a0d1ccfc55be00cd86083c680f4717bc9dd
83cc214accf0b98b7174a705411171ef68bfae84
refs/heads/main
2023-05-08T07:14:44.283158
2021-05-28T15:02:51
2021-05-28T15:02:51
370,421,086
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
# Generated by Django 3.1 on 2021-05-24 10:07 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "sonaldvar@gmail.com" ]
sonaldvar@gmail.com
71ea887c40aaf00fe772c368c29f19ea855a76d6
451e3188ef94bfd106a0194774c23edd0bba84a2
/blog/migrations/0015_auto_20190821_1316.py
703a6cc74f7e2027ad19de428eeb711a4c99d573
[]
no_license
Dolidodzik/Wagtail-Django-Static-Blog
fe9c8caf63275c8f444ac7b898e7e0d67fae018a
db0769da8c7b1c3fc450fe40181bfcf984079ec1
refs/heads/master
2020-06-08T02:13:32.401772
2019-10-29T17:09:09
2019-10-29T17:09:09
193,139,774
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
# Generated by Django 2.2.3 on 2019-08-21 13:16 from django.db import migrations import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('blog', '0014_delete_blogpagecomments'), ] operations = [ migratio...
[ "teethtard321@gmail.com" ]
teethtard321@gmail.com
75171274ba8ba3b055ada05dd765ef6e1bfaf123
2e39bddca6f33832bfc8d08462b8343b6671f542
/Django/Otros/TiendaOnline/gestionPedidos/migrations/0001_initial.py
a87a69a7ccedb25ecef638c63db9248ff8db7be6
[]
no_license
NikorasuOwO/Cursos
be7713eec27646cf0f869979b0837dfc9c8757a1
efa44ed4990419f34f5bb3fc3507877d3b43a4de
refs/heads/master
2023-07-12T01:52:18.090181
2021-08-15T23:55:42
2021-08-15T23:55:42
336,520,775
0
0
null
null
null
null
UTF-8
Python
false
false
1,325
py
# Generated by Django 3.1.7 on 2021-02-26 20:40 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Articulos', fields=[ ('id', models.AutoFiel...
[ "nicolas.bermell@protonmail.com" ]
nicolas.bermell@protonmail.com
fb56e91a66488a740c9644e3a740f403308520da
181b48345df78b989dc6d52fdbebf5b62f753fed
/chat/views.py
52807454ddc3f533edf97acc461a89e8a282ca88
[]
no_license
abhinavdhere/chat_app
a60f8809b5ae0eaa5a674464f1a15fef75b4854f
d437e13e4c836020efc75e6451434c8c2df969d0
refs/heads/master
2021-01-20T15:18:01.623181
2017-05-09T20:57:39
2017-05-09T20:57:39
90,745,744
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
from django.shortcuts import render,get_object_or_404,redirect from django.utils import timezone from .models import message #from .forms import PostForm from .forms import MyRegistrationForm, MessageForm from django.template.context_processors import csrf from django.contrib import auth from django.http import HttpRes...
[ "abhinavdhere@gmail.com" ]
abhinavdhere@gmail.com
5314b1e043f0d4569af3631cca0f45807e1aa1b0
7f958999988d324d9dad9d09cc9b7a180407ad3c
/calibration/camera_calibration.py
a317fffc0f27b97db0b4e88d5072b760f1077746
[]
no_license
nozomikobori/ece4078group_project
bfafc9c736c0ffa59a9c1b7a522b119e64098188
629c2fb1a530c8d498f424843733dfc099732489
refs/heads/main
2023-01-09T19:16:29.888732
2020-11-07T11:37:32
2020-11-07T11:37:32
310,830,718
0
1
null
null
null
null
UTF-8
Python
false
false
3,998
py
import numpy as np import cv2 from cv2 import aruco import matplotlib.pyplot as plt import os import sys import penguinPiC ppi = penguinPiC.PenguinPi() def camera_calibration(dataDir): # This file can be used to generate camera calibration parameters # to improve the default values fileNa...
[ "nozomikobori@Nozomis-MacBook-Pro.local" ]
nozomikobori@Nozomis-MacBook-Pro.local
a59a26961da45950666c07f9b6d5376b456082a1
441a84571670913ce168a895eaed94a0b208f916
/cgi-bin/rp_current.py
f2ea06de4b27bb81d55e4435f3a0cb532cb88ff7
[]
no_license
sluedtke/cedim
ad88467be660a4f2af4217200729da12e626da0e
1d31dc472a9ce5f8da5be875cd3598ad245bec87
refs/heads/master
2016-09-10T15:37:15.046093
2015-08-03T15:17:48
2015-08-03T15:17:48
23,461,327
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
#!/usr/bin/python ###################################################################### # Author: Kai Schroeter # Created: Tuesday 26 August 2014 # Last modified: Tuesday 02 September 2014 21:41:41 CEST ############################# PURPOSE ###################### # # evaluate online ...
[ "stefan-luedtke@gmx.de" ]
stefan-luedtke@gmx.de
054b85228723f89d5d938a9365b057b05b9f52aa
67de204b7f0550def8eea7d6ca605f43aed653fc
/app/tests/lib/nlp/test_postagger.py
3984b4960c71babfbcc24754b4549b5efb09f059
[]
no_license
andymeneely/sira-nlp
b1b1bb8a783adac6a69001565d49d8357a4dd8c5
b027a5d7407043b6541e2aa02704a7239f109485
refs/heads/master
2021-01-11T05:29:16.209735
2017-12-09T17:13:19
2017-12-09T17:13:19
69,055,241
1
1
null
2017-06-19T18:42:12
2016-09-23T19:36:51
Python
UTF-8
Python
false
false
1,657
py
from unittest import TestCase from app.lib.nlp import postagger class PosTaggerTestCase(TestCase): def setUp(self): pass def test_execute(self): data = [ 'Gulf', 'Applied', 'Technologies', 'Inc', 'said', 'it', 'sold', 'its', 'subsidiaries', 'engaged', 'in', 'p...
[ "nuthan.munaiah@live.com" ]
nuthan.munaiah@live.com
24e7016c20f1d6e87624409258a5c85ebc441447
a066134017b7d4cb7ac6f342b18f75c3b768fb87
/1-python-basics/1-baby-steps/3-numbers/WorkingWithNumbers.py
c3f031764b997efcc566f68317b8c8c86d73188d
[]
no_license
akyare/Python-Students-IoT
e6612af05629a32bae841225f17c5076a4499ca9
3886e7cced42622e3989873749d33476cc6b5f6f
refs/heads/main
2023-01-22T04:43:41.723276
2020-12-03T10:56:01
2020-12-03T10:56:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
# !Second part! has some useful methods, for complex mathematical computations import math # Lets declare a variable that represents a constant # This does not exist in Python but our naming convention hints it[so that other programmers know]: PI = 3.14 # We can round a number as follows: print(round(PI)) # Lets m...
[ "intec.alexander.keisse@gmail.com" ]
intec.alexander.keisse@gmail.com
76f5cd7a8c6492d738ef5a9ad5159c49de5bd054
85df99004c7d38f410955813f51ca922f58d8f17
/artist/migrations/0014_auto_20180615_0726.py
bf1d4469c3076d783d81be0e01df8914241f3d35
[]
no_license
kathryn-choi/AppleMusic_Ticket
faf5d25d41997e22be17f11d1e5b8eca5006019c
383160f318afdd66daeeea5356ec912d01ee89a8
refs/heads/master
2020-03-21T02:57:32.013846
2018-06-21T05:44:57
2018-06-21T05:44:57
138,030,422
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# Generated by Django 2.0.6 on 2018-06-15 07:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('artist', '0013_remove_artist_published_date'), ] operations = [ migrations.AlterField( model_name='artist', name='im...
[ "mody123@naver.com" ]
mody123@naver.com
34d86f8f53ca6b7fd54d7302f48943d82757b990
17acb8e20f9a24b16ce3651302fc2d7fc7b887a6
/test/programytest/utils/regex/regex_tests.py
1a671a536fc6bf0234bd6cb3da2aa838bc783644
[ "MIT" ]
permissive
cen-ai/program-y
91052fdc11aec0f60311e3429895fac489d8ce54
a753667638147544c54dbebd9f1c8f9ae7f2159e
refs/heads/master
2020-03-22T15:11:07.896885
2018-10-15T22:13:58
2018-10-15T22:13:58
140,234,173
5
5
NOASSERTION
2019-01-03T09:09:07
2018-07-09T05:11:08
Python
UTF-8
Python
false
false
2,376
py
import unittest import re class RegularExpressionTests(unittest.TestCase): def test_anything(self): pattern = re.compile(r"^.*$", re.IGNORECASE) self.assertIsNotNone(pattern.match("")) self.assertIsNotNone(pattern.match("This")) self.assertIsNotNone(pattern.match("This That")) ...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
db3e1c1bf678195a26227a8b3f35f06a6f8444f7
b41dc1d763fe94b0959c9dfc2e41e8da773fec99
/choose_lunch.py
a387906ee3626365870c5f843d68852a34d7a4a1
[]
no_license
axschech/code_snippets
862e482bc86ad65d8a77a901bcbae33013916958
483e1d9e2fd4b2daaf394d5c5233b579e4509408
refs/heads/master
2021-01-10T20:35:14.040349
2018-10-05T00:56:30
2018-10-05T00:56:30
22,748,263
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
import random def getChoices(): choices = [] def buildChoices(): def getChoice(): choice = raw_input("Please enter a choice\n") return choice choices.append(getChoice()) if len(choices)>0: check = raw_input("Would you like to add another? Choose y/n") if(check=="y") : buildChoices() el...
[ "dev@dev-VirtualBox.(none)" ]
dev@dev-VirtualBox.(none)
390d10cf1c012a53d3d4ac7e3f687bf9f6f4905c
5797d503ec5801ec7d323db499480f6eb568d604
/music/urls.py
918f92a97ed0606dd5efe237013947d43d6f0ef9
[]
no_license
Babak-khezri/Django-music
c9f0460ca02532cc2ec7c3b9e736778fe060edac
2cade155c736c2a4e5511d1f6913c7d789a84cd4
refs/heads/main
2023-03-03T18:09:22.738140
2021-02-14T04:29:26
2021-02-14T04:29:26
338,692,031
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
from django.urls import path from .views import home, music_list,search_list app_name = 'music' urlpatterns = [ path('', home, name='home'), path('music_list/', music_list, name='music_list'), path('music_list/page/<int:page>', music_list, name='music_list'), path('search_list/', search_list, name='search_lis...
[ "babak.khezri7@gmail.com" ]
babak.khezri7@gmail.com
eab50f4ea49819066bf4e3a96edb904d2d1a6707
00eff4e0d1a4bce6f36e68c62c617b01417bf63a
/tests/eucaby_api/test_models.py
468348146df2be9ab6df5170fa5533775fbe43ff
[]
no_license
tayduivn/eucaby
f6aac260993bbc0e48a54e12981cb7c05f0e05e6
e3947eaf035c2b06b2cee22f18fdec81c434ee84
refs/heads/master
2021-09-13T13:08:40.669341
2017-12-17T19:28:40
2017-12-17T19:28:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,983
py
# -*- coding: utf-8 -*- """Tests for Eucaby API models.""" import flask import mock import unittest from google.appengine.api import memcache from sqlalchemy.orm import exc as orm_exc from eucaby_api import args as api_args from eucaby_api import models from tests.eucaby_api import base as test_base from tests.euca...
[ "dexity@gmail.com" ]
dexity@gmail.com
706ea96b1d69e63a0c8a768ea8843ab3bd9e5428
8d1309e560216fb84aee6b5fac4f7d8fac07f5d6
/jiangyuan/图像分类/keras/图像分类sequential.py
74c8f7d99dfab48c1d04a4f3040b771f1569b333
[]
no_license
NWU-SMART/2019TEAMNEW-TrainCodes
2dfb4d160d6419d96538f033b1332c2cb171e3e0
91a6c8b9395fff72079f21c4a26401179f3ad8a6
refs/heads/master
2022-12-23T22:03:39.030888
2020-10-05T07:06:00
2020-10-05T07:06:00
270,465,529
6
0
null
null
null
null
UTF-8
Python
false
false
6,847
py
# ----------------开发者信息--------------------------------# # 开发者:姜媛 # 开发日期:2020年6月2日 # 修改日期: # 修改人: # 修改内容: # ----------------开发者信息--------------------------------# # ---------------------- 代码布局: ---------------------- # 1、导入 Keras, matplotlib, numpy, sklearn 和 panda的包 # 2、招聘数据数据导入 # 3、分词和提取关键词 # 4、建立字典,并使用 # 5、训练模型 #...
[ "lizhan@nwu.edu.cn" ]
lizhan@nwu.edu.cn
6c8cece88b3055b1d1d13c390ef8bd89c64cf8cf
84d2ff947263d3007c0591a4243fd00169e0c8e0
/Course_Material/Machine Learning A-Z Template Folder/Part 8 - Deep Learning/Section 39 - Artificial Neural Networks (ANN)/ann.py
311eb24ffac8ac9c40d063baf701d8a2d0dc39fa
[]
no_license
ZackMinott/Machine-Learning-Course
8480e68daa8d271823d386bd5b95b14fdcc6d291
4908a461e48997a0dee1ea18fe4c86bf9997e4af
refs/heads/master
2020-06-28T19:54:28.293282
2020-02-04T00:28:36
2020-02-04T00:28:36
200,324,972
1
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
# Artificial Neural Network #Installing Theano # pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git #Installing TensorFlow # Install Tensorflow from the website: https://www.tensorflow.org/versions/r0.11/get_started # Installing Keras # pip install --upgrade keras # TensorFlow and Theano now co...
[ "zacharyminott1997@gmail.com" ]
zacharyminott1997@gmail.com
5476d32819913f1e2e7c00acefab8291cbb72934
69636805a67ed244e13d61d838b56791018dee62
/exercises/0013-sorted-names/a.py
a7fab637a9477ecdb1851e2b96ca69d16d3a6c27
[]
no_license
anacrochas1/compciv-2016
2176306d774642f7d9a22f02c9d6a599a9942a18
abd94d0bfcc6c1612ada06f3f563c0764b2fe2b9
refs/heads/master
2021-01-18T21:09:33.755755
2016-06-02T05:54:18
2016-06-02T05:54:18
49,533,363
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
import requests import os if not os.path.exists("tempdata"): os.makedirs("tempdata") if not os.path.exists("0013-sorted-names/tempdata"): os.makedirs("0013-sorted-names/tempdata") burl = 'http://stash.compciv.org/ssa_baby_names/ssa-babynames-nationwide-2014.txt' resp = requests.get(burl) bname = "tempdata/ssa-baby...
[ "anasantos@stanford.edu" ]
anasantos@stanford.edu
94701c45eae3bf2704f4487b4dc17c05e69b14a1
54f2d0d51d7e422e04572da271b83cf35d7c597c
/Reptile/Demo01/实战案例/Demo02破解百度翻译/破解百度翻译.py
2a1a734ac5d703a64cb1ed078dd4bff8b4f4fcd9
[]
no_license
wangzilong2019/PythonReptile
875a3b45369d129b28caf8aa1c286d2dea769f7f
e8d8acc98ebe09997a8f469c8901e7ca9d0411b5
refs/heads/main
2023-02-11T23:11:05.991416
2021-01-05T15:35:06
2021-01-05T15:35:06
326,437,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
import requests import json if __name__ == "__main__": # 1、指定URL,注意这里url不是从页面直接获取,而是从抓包里获取的 post_url = 'https://fanyi.baidu.com/sug' #2、进行 UA伪装 headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36' } ...
[ "1428075063@qq.com" ]
1428075063@qq.com
bf54f402c2a55b37664570d4572f8e6fb5371525
0309260a78facd92b832158c75dd9bd904ea650d
/drchrono-terminal.py
b629bb171247b64990e308de6f18a775c127cf98
[]
no_license
YiqinZhang/DrChrono
3bcd08335979ec7eacedeba4ca34e1396669f2a1
26d1c7a19169c4f75d24bbb5b8f4e62414cb5126
refs/heads/main
2023-02-22T00:49:01.010733
2021-01-18T21:21:42
2021-01-18T21:21:42
330,784,056
0
0
null
null
null
null
UTF-8
Python
false
false
4,003
py
import requests, json, datetime, pytz, subprocess, sys, urllib3 urllib3.disable_warnings() def main_app(access_token, refresh_token): doc_url = 'https://app.drchrono.com/api/doctors' json_res = make_request(doc_url, access_token) doc_id = json_res['results'][0]['id'] doc_firstname = json_res['re...
[ "noreply@github.com" ]
noreply@github.com
1b71e36135253692cdf852abf5a83de796cd8cc8
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp69_9500.py
5d980c46f0efa2cef312dec32e7fecc008b51e79
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,936
py
ITEM: TIMESTEP 9500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 5.1115624967957274e-01 4.6688843750315684e+01 5.1115624967957274e-01 4.6688843750315684e+01 5.1115624967957274e-01 4.6688843750315684e+01 ITEM: ATOMS id type xs ys zs 8 1 0.122891 0.0692552 0.0594138 35 1 0.0660705 0.12858 0.0643852 130 1 0.065842...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
531c869b8d3f9fe70205838abde06be395c48c31
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connection_peerings_operations.py
08a8881447d83d94b97f3db5ac473f1b5a9e0a4e
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
22,711
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
5f5dde92fc0731fe57b059f701415c7b9373889a
21579091a548f9ee5dd085050c5627811d27c22b
/cubert/unified_tokenizer.py
065f1eedc313ae3c86e52c7a18c96c8f38a8d544
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
lethaiq/google-research
0e78ab28d153709d12efcfafdec189d86f5200af
8f1c8664a1423aa734218ab7e34997dcf01341ce
refs/heads/master
2022-12-16T05:52:45.912470
2020-09-16T16:36:38
2020-09-16T16:36:38
295,827,269
0
0
null
2020-09-15T19:19:12
2020-09-15T19:19:12
null
UTF-8
Python
false
false
29,313
py
# coding=utf-8 # Copyright 2020 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
aa465a02610476af0dba1e81cf7e50be67ac7255
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/rg3_youtube-dl/youtube-dl-master/youtube_dl/extractor/common.py
eb3c091aaab5d84ab8972003877ffd1d38827fca
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
114,911
py
from __future__ import unicode_literals import base64 import datetime import hashlib import json import netrc import os import random import re import socket import sys import time import math from ..compat import ( compat_cookiejar, compat_cookies, compat_etree_fromstring, compat_getpass, compat_...
[ "659338505@qq.com" ]
659338505@qq.com
7439984021e52c258bfe0ac54ba406557a88457c
e3403b060d5dce65c9b1266286696347f385ceb7
/main.py
73d91b808af8f684f50a2ecdbad0d59c488bd6da
[]
no_license
NoxHarmonium/multi-domain-appengine
c93597bceba2fc248eb65bc29f4ee6d5eceb6626
5922c600d52213f93bd679604ac096180c441cb8
refs/heads/master
2021-03-12T22:53:58.961324
2013-04-27T08:25:08
2013-04-27T08:25:08
9,670,566
2
0
null
null
null
null
UTF-8
Python
false
false
2,216
py
# # Main Handler File # # Python imports import os import webapp2 from webapp2_extras import routes from google.appengine.ext.webapp import template import mimetypes import logging import time from datetime import date from datetime import timedelta # User code imports import utils # Constants subpath = 'html' c...
[ "sean.dawson@noxharmonium.com" ]
sean.dawson@noxharmonium.com
bf7fb37e08aca3711b940fd4a7d4b95a285874fe
3345a3e7a11f9e547553da06293c2684f7654205
/music/truncate(1).py
2fe2c6cc02988606b77a82463abbbc3c66135720
[]
no_license
abhilekh703/Music-Recommendation
c04c73937d15f9db8652922bacaaa0e38d94e807
45ff061d5290eb77c7963546170aae75eec74b0d
refs/heads/master
2021-01-20T05:47:10.499243
2017-08-26T08:10:38
2017-08-26T08:10:38
101,472,252
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
from numpy import genfromtxt import numpy as np original_filename = "train_triples.txt" trunc_filename = "truncated_data.txt" def similarity(u,v): # print "Calculating sim between " + str(u) + " and " + str(v), numerator = float(np.inner(u,v)) norm_u = np.linalg.norm(u) norm_v = np.linalg.norm(v) denominator = ...
[ "abhilekhshrivastava703@gmail.com" ]
abhilekhshrivastava703@gmail.com
a59f67af7c6e66b884de632bed8d46528b4d7eb6
a503267bd227c9f1e98d59dac87e269cae9135fc
/ProgramaHBSIS/Cadastro.py
12f72f44bcf61309365f62fce5dd7ce27ed3b603
[]
no_license
JuniorCardoso-py/PythonCourse
6d4316f6467c9b638548a5fa562245818dc0694b
8c608bcde6b005372a431544c0955ffcd95f2a05
refs/heads/master
2023-03-23T16:42:20.477303
2020-02-27T14:10:15
2020-02-27T14:10:15
223,630,556
1
0
null
2021-03-20T02:49:09
2019-11-23T17:54:28
Python
UTF-8
Python
false
false
77
py
def cadastro(): n1 = input('\nDigite a opção desejada: ') return n1
[ "juniorcardoso.sc@outlook.com" ]
juniorcardoso.sc@outlook.com
147c8df2d553cdf7a94eb4d84d3569c0ecc0be56
f8366d126fb6bdf1be73263876ac8b543f998a8d
/examples/bengali/bengali_deepoffense.py
5d0a861414d7e275160a19ef1abb1956892750d1
[]
no_license
prajwal2495/DeepOffense
45335ad398bdc90ab9601fb4bff9a2520f910b97
f2cac7f7bd8ff3688f0577bcaeeedfbad0d20b62
refs/heads/master
2023-01-10T00:02:53.905109
2020-11-06T23:13:43
2020-11-06T23:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,542
py
import os import shutil import time import csv import numpy as np import pandas as pd import sklearn import torch from sklearn.model_selection import train_test_split from deepoffense.classification import ClassificationModel from deepoffense.language_modeling.language_modeling_model import LanguageModelingModel from ...
[ "rhtdranasinghe@gmail.com" ]
rhtdranasinghe@gmail.com
8f47991f3ec2e4d47399e69353ada822a5c8e29f
48e835e6f176a8ac9ae3ca718e8922891f1e5a18
/src/main/python/june-2017/read_select_classes.py
83cfb6b4fd5d29cacc2acc6ccd907b0aab582509
[]
no_license
STAMP-project/dspot-experiments
f2c7a639d6616ae0adfc491b4cb4eefcb83d04e5
121487e65cdce6988081b67f21bbc6731354a47f
refs/heads/master
2023-02-07T14:40:12.919811
2019-11-06T07:17:09
2019-11-06T07:17:09
75,710,758
14
19
null
2023-01-26T23:57:41
2016-12-06T08:27:42
null
UTF-8
Python
false
false
737
py
import sys import json def read(projects): with open("dataset/selected_classes.json") as data_file: classes = json.load(data_file) top = [] worst = [] for project in projects: top.append(classes[project]["top_1"]) top.append(classes[project]["top_2"]) worst.append(class...
[ "bdanglot@gmail.com" ]
bdanglot@gmail.com
1882b184748ee446bd085cf2194daea584aa6a8b
bfa5cf2640d41588bede186eaf8c6e281fd00b51
/setup.py
edff89059a5e3094aebcb6e6409df31342c0a8f9
[ "MIT" ]
permissive
artiya4u/huntertray
e796661eb54be067a8099afbb911de2088cb68aa
492e0da06f89a393e3c68ff713df11cac23b1c15
refs/heads/master
2020-04-28T18:09:40.666263
2019-06-22T08:52:48
2019-06-22T08:52:48
175,469,839
4
0
null
null
null
null
UTF-8
Python
false
false
859
py
import sys from setuptools import setup from setuptools import find_packages requirements = ['requests'] if sys.version_info < (2, 7): requirements.append('argparse') setup(name='huntertray', version='0.0.3', description='ProductHunt in your System Tray', long_description='ProductHunt in your S...
[ "artiya4u@gmail.com" ]
artiya4u@gmail.com