blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
cef272c84d2416ecb65b2c9f24ab13e451d85b70
daeba3d908791f0feedb04afbd36f350f7fdaffe
/super/super_usage01.py
6d9b60ab0fed0d9731f96711c64c5f8f0eaa9a8c
[]
no_license
alanwooo/lab
03295de1a04f5736f0312aebaeb302bdb687ff97
d7f2697bb411ce39d8e61104f0593506e62fc7c0
refs/heads/master
2021-01-17T08:27:51.142468
2020-03-10T05:56:11
2020-03-10T05:56:11
65,275,751
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# python3.5 class A: def __init__(self): print ("in A") print ("out A") class B(A): def __init__(self): print ("in B") super().__init__() print ("out B") class D(B): def __init__(self): print ("in D") super().__init__() print ("out D") clas...
[ "herobzyy@gmail.com" ]
herobzyy@gmail.com
955d3f259f31f1eb653a375005ec6f630af12c82
023f7dc61aaa75ac1b9d4a5a63b3e35e9c0c4f9c
/p10/p10.py
5e253d411ed8638078b65bc5aeac8e06210bb795
[]
no_license
JoseTomasTocino/tuenti-challenge-2012
23d0519fd8192b0d55ab8cef1dbc84e86b2f48fa
20fa081d49db0571e4093b6ecbb13cdd9508ae15
refs/heads/master
2021-01-22T07:27:35.474194
2012-05-06T17:11:48
2012-05-06T17:11:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,777
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2011 José Tomás Tocino García <theom3ga@gmail.com> # Autor: José Tomás Tocino García # This program 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 Foundati...
[ "jose@minty.(none)" ]
jose@minty.(none)
3f3244a1de687250b0c8157664915e60fdef8dfb
497ead1ee1e09a2530aa771ae059989e341684d7
/python/cuml/tests/test_adapters.py
16dd1fce1a2a7d226cfdd6bc421dff8539280e07
[ "Apache-2.0" ]
permissive
xieliaing/cuml
193f5753696bbfd4de8e3eaef919c18da2fd1d1a
78092ddde28d5a810e45d6186f049c1309121408
refs/heads/master
2022-11-10T16:45:38.818055
2022-11-03T23:12:07
2022-11-03T23:12:07
159,592,316
0
0
Apache-2.0
2018-11-29T01:59:07
2018-11-29T01:59:07
null
UTF-8
Python
false
false
7,586
py
# # Copyright (c) 2020-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "noreply@github.com" ]
xieliaing.noreply@github.com
ffc6a5ef9fe085d32afb8e7786aaba1a6ab7a4ed
97aefba1d8eb779cafbaa46744b436668cb3e544
/GenomicSegmentVector.py
949bc7bb1c3e4e2871fced213bc48bd2645483d2
[]
no_license
ucscCancer/cgDataV2
9a6e835aceaf4c0c6f50092a4e76bb4d8127a922
82f13fa5a6d57412d39a8773c2cfea830f6f4b8e
refs/heads/master
2020-05-17T16:55:38.984987
2012-07-31T17:29:09
2012-07-31T17:29:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,930
py
import cgDataV2.Exceptions class GenomicSegmentVector(object): """GenomicSegmentVector objects indicate which segments were present in the indicated samples, and with what score For example, copy number data can be represented as GenomicSegmentVectors. Each GenomicSegmentVector contains the following ...
[ "cline@soe.ucsc.edu" ]
cline@soe.ucsc.edu
d40a97402a952bbd38692329a69dfc90a2057125
6e7ad01744a4590da9380ff4cba9c709863fd159
/home/models.py
60ab83a98285e1b79bbb39c65d32202a987ff228
[]
no_license
MDRasel-Al-Mamun/Multi-Image-Upload
0312a967a9566635b96bbf8ac4afc27829481524
3c81749f405d18c6a5df908d54265ccbfca9d5cf
refs/heads/master
2023-01-09T13:07:07.371035
2020-10-31T04:49:17
2020-10-31T04:49:17
308,805,905
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from django.db import models class Doc(models.Model): upload = models.FileField(upload_to='images/') def __str__(self): return str(self.pk)
[ "djangoprojectbd@gmail.com" ]
djangoprojectbd@gmail.com
1f8cfb3290576d3377f6f48f96fb1c3d222fc897
fa5712725ebaf0d219f9752c24b34ed96c68c242
/FDTD-tranmission-lines.py
3a4180bf2c8e0ebc950162dc698684cef45cc269
[]
no_license
andrebpradof/FDTD-transmission-lines
e5811571b9d42c1c3d05aeba445b6be794a3cace
b36a7e02bdf8e2325763ed0aeb2a619dc9266246
refs/heads/master
2022-07-20T13:18:44.046272
2020-05-25T01:00:20
2020-05-25T01:00:20
266,454,392
1
0
null
null
null
null
UTF-8
Python
false
false
5,567
py
# ////////////////////////////////////////////////////////////////// # // SEL0612 - Ondas eletromagneticas (2020) // # // Trabalho 01 - Linhas de trasmissao // # // // # // Alunos: ...
[ "andrebpf@usp.br" ]
andrebpf@usp.br
c10a18eb79c5b64d24b77b0797b8913909e5ade6
229b5bb81cdaad731b9ab823d4bccc9c2f26c159
/todo/models.py
0b0da82167b1479423a0ebf278d9890ef665e9d9
[]
no_license
kirbyeggs/todosite
1d3619e78d4b16d636cee76aef303d93cf53752c
c506c4f9ed328e3ed7c6e490e5cfe8c1f734d880
refs/heads/master
2021-01-10T08:26:23.577811
2015-12-02T00:01:44
2015-12-02T00:01:44
45,493,483
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from django.db import models from django.core.validators import MinValueValidator # Create your models here. class To_do(models.Model): priority = models.PositiveSmallIntegerField(validators=[MinValueValidator(1)], verbose_name = 'Priority', default = 1) date = models.DateTimeField(verbose_name = 'Date', auto_...
[ "kirbyeggs0@gmail.com" ]
kirbyeggs0@gmail.com
897b7d818bbdc047c3a5c7aa83382dce201a5c58
b52bf66bef5ce6fdd7f5e0674a625e8719acbac3
/01-24/ranking/ranking/pipelines.py
54b006523813fa923be6d7c766ce6295db52090c
[]
no_license
itarvin/spider
18b8ee811f698769bb189557d8b642d39e08f53c
a38c4e61c52da630b7103edd4fad5f4b2bf1ccb7
refs/heads/master
2021-07-06T10:59:12.636360
2018-04-23T23:52:34
2018-04-23T23:52:34
282,765,355
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html # 文件处理类库,可以指定编码格式 import codecs import json class RankingPipeline(object): # def process_item(self, item, spider): ...
[ "itarvin@126.com" ]
itarvin@126.com
e2db0757093e0a624f48128fa8d25b79ce224b38
1e525380cce54ae61b34e0b8ae30c93fe5bfb885
/tests/unit/test_buildah.py
1d122e0e6a267d90f6ae663dae3961a5b090d355
[ "MIT" ]
permissive
TomasTomecek/ansible-bender
376d8c760cbb78f52888cefebb56f280c32c585f
dffcde94f6fc04de149051444fd62bf0414314b5
refs/heads/master
2023-04-28T11:44:29.180807
2020-04-01T11:32:50
2020-04-01T12:42:11
176,808,595
19
2
MIT
2021-11-19T15:57:11
2019-03-20T20:05:15
Python
UTF-8
Python
false
false
585
py
import json from ansible_bender.builders import buildah_builder from ansible_bender.builders.buildah_builder import get_buildah_image_id from flexmock import flexmock from tests.spellbook import buildah_inspect_data_path def mock_inspect(): with open(buildah_inspect_data_path) as fd: buildah_inspect_dat...
[ "ttomecek@redhat.com" ]
ttomecek@redhat.com
74041fbece6bee0a5c02a587c5b6f1e21ef4dee4
267f80e1510e6de06a2c2cf2e2a08d3db8a7811e
/venv/bin/wheel
52017e250d4f40ac4215328f6160d9c3e2e092d1
[ "CC-BY-2.5", "Apache-2.0" ]
permissive
NalediMadlopha/google-python-exercises
ef9503b041fb81bf9401da6db867f208d3ea4e59
9ad88c1c539111f0b6dd52109114bde875dacc71
refs/heads/master
2020-08-07T02:38:47.868274
2019-10-06T23:26:34
2019-10-06T23:26:34
213,258,801
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Users/naledi/Workspace/practise/Python/google-python-exercises/venv/bin/python # -*- 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())
[ "naledi.madlopha@gmail.com" ]
naledi.madlopha@gmail.com
1d4a814e2190852e8387ad1a5acc052de015b9a0
9907672fcd81ab73ac63b2a83422a82bf31eadde
/hackerrank/punctuation-corrector-its.py
f3595458821fabfefedcbda7b611ad3230426d7b
[ "0BSD" ]
permissive
cielavenir/procon
bbe1974b9bddb51b76d58722a0686a5b477c4456
746e1a91f574f20647e8aaaac0d9e6173f741176
refs/heads/master
2023-06-21T23:11:24.562546
2023-06-11T13:15:15
2023-06-11T13:15:15
7,557,464
137
136
null
2020-10-20T09:35:52
2013-01-11T09:40:26
C++
UTF-8
Python
false
false
234
py
#!/usr/bin/python #coding:utf-8 import sys if sys.version_info[0]>=3: raw_input=input for i in range(int(raw_input())): s=raw_input().rstrip() if s[0:3]=='???': print(s.replace('???',"It's")) else: print(s.replace('???','its'))
[ "cielartisan@gmail.com" ]
cielartisan@gmail.com
64a1d271708de64b04bc1ae03232247c989b365d
fcbb60497db52eafc0ce5ff7e3ed65b7f6d4e42b
/05 decorators/contextlib_with1.py
5a95ae5b28d695e79753527fbca7ada6b50df61e
[]
no_license
bambrikii/test-python-2
dfbd16dfd536fd2e841f39d004f0d499ed08ed09
12fac97a5e111abcf3be7cfbed141e4d1b7d0fa8
refs/heads/master
2020-03-27T06:41:03.654213
2016-11-20T18:52:21
2016-11-20T18:52:44
146,126,848
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
#!/bin/python from __future__ import print_function import contextlib @contextlib.contextmanager def open_context_manager(filename, mode="r"): fh = open(filename, mode) yield fh fh.close() with open_context_manager("contextlib_with1-1.txt", "w") as fh: print('The test 1 is complete!', file=fh); # ...
[ "bambrikii@gmail.com" ]
bambrikii@gmail.com
096663da95904bba3e537f0a95908b2c43e1ff77
9e40da51a8897562ce4e9fac4fd3076dde6f87af
/app/mod_auth/forms.py
69c2da533430c24fe9a657bdc19c5a0d417dcedc
[]
no_license
Sanchit-Trivedi/nursery_management_project-1
01c92dfcc542c9a268dab8739d0798e7a66771e5
774cae522ae27726eda7966ca74273eea06adfbd
refs/heads/master
2022-11-13T23:54:32.740694
2020-07-07T21:29:45
2020-07-07T21:29:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
# Import Form and RecaptchaField (optional) # , RecaptchaField # Import Form elements such as TextField and BooleanField (optional) # BooleanField # Import Form validators from wtforms.validators import Required, Email, EqualTo from wtforms import TextField, Form, BooleanField, StringField, PasswordField, validators ...
[ "nikunj18249@iiitd.ac.in" ]
nikunj18249@iiitd.ac.in
3ab459e404bd2ac66d52f4c12ebd7653ecdeb7ed
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/run_locally.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/text/python/ops/__init__.py
eba90bf6317a8929a63a56d0b1e0e601abd2b6aa
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
187
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/text/python/ops/__init__.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
4638417263f9ca1124e3c02943f4dcd4fb9596f5
56c758efde4ed4037a47c1ea6143dd948be81a37
/lambda/Web/Web005/Web005.py
718e21fe806e1760e43472fd0460ed64eb83e065
[]
no_license
umaxyon/pac-job
45bf06bffd2f434fb838f0272704f2f782174d0b
22bef2c2ea61184e25276859a4f93b3941053c9e
refs/heads/master
2023-02-27T04:06:29.268008
2021-02-10T04:23:36
2021-02-10T04:23:36
337,614,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
# -*- coding:utf-8 -*- import os from common.pacjson import JSON from common.datetime_util import DateTimeUtil from common.dao import Dao from common.price_logic import PriceLogic def response(body): return { "isBase64Encoded": False, "statusCode": 200, "headers": { "Access-Cont...
[ "umaxyon@gmail.com" ]
umaxyon@gmail.com
0f8a80c93d8c3b668c311e6bcd30c6ab0ad43955
e17d9d944508b39e74243bf94c5fe34ccf81c99a
/tools/codeformat.py
f3efb5df75c620a3716d196593ab9f68bf43d760
[ "MIT" ]
permissive
rlourette/micropython
9f3b4a0895c93f9dd8ae5fe83b92920d3db2d7da
dbaaed1697d22046e06a6f3f7ff9a1fbc1d73ee7
refs/heads/master
2021-02-14T13:11:23.909501
2020-03-18T00:07:19
2020-03-18T00:07:19
244,805,958
0
0
MIT
2020-03-04T04:19:58
2020-03-04T04:19:57
null
UTF-8
Python
false
false
6,006
py
#!/usr/bin/env python3 # # This file is part of the MicroPython project, http://micropython.org/ # # The MIT License (MIT) # # Copyright (c) 2020 Damien P. George # Copyright (c) 2020 Jim Mussared # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated document...
[ "damien.p.george@gmail.com" ]
damien.p.george@gmail.com
2544eeb4281cc5170bf4eb4b998c5a686d6703d3
8dd5a2ea25367f06dc1c7752fd22c5d7902cdd54
/ask/models.py
05dfda568b6d8a9415c0f10328b188b9c163d147
[]
no_license
sng1996/DjangoProject
7b61f939bc9b1d2a1f8df1593a3946c10846431b
ca828e4c6ed179b7bf833f59057440fad5a06a9c
refs/heads/master
2021-01-20T19:56:38.877644
2016-06-12T00:44:32
2016-06-12T00:44:32
61,306,909
0
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
from django.db import models from django.contrib.auth.models import User import datetime import MySQLdb from PIL import Image # Create your models here. class QuestionQuerySet(models.QuerySet): def rating(self): return self.order_by('-rating') def added(self): return self.order_by('-added_at') def tags(self...
[ "seregagavrilko@mail.ru" ]
seregagavrilko@mail.ru
b42422ce5b50e86a6946a8365a3504f6f01362d7
df387dcd8815dc632b07d862d693d1f2453af939
/conf.py
c2223494bcf2900fdd34f1e7698ec9f58a774faf
[ "AFL-2.1", "Python-2.0", "MIT" ]
permissive
sporty/simplejson
805d7b7b39576f16696d7039cc807bc7fc42b89c
3eaa8d54dfed8cd64c9f439451f5514f45cd4dd4
refs/heads/master
2021-01-20T22:02:42.749599
2014-07-21T07:33:51
2014-07-21T07:33:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,681
py
# -*- coding: utf-8 -*- # # simplejson documentation build configuration file, created by # sphinx-quickstart on Fri Sep 26 18:58:30 2008. # # This file is execfile()d with the current directory set to its containing dir. # # The contents of this file are pickled, so don't put values in the namespace # that aren't pick...
[ "bob@redivi.com" ]
bob@redivi.com
32f152b39e4dc9d912646e98e62dbdb51f4d2eb6
6eca0e7fe3978f666744c9bd6ea4d85cf234e0f4
/python/app/plugins/http/Typecho/Typecho_Install_Code_Exec.py
0e9738e06ab87419089b2e56d9f88b9fb48f87e5
[ "MIT" ]
permissive
encore2005/linbing
1003459c803316754a86f640821ba237e3d4fb9b
46cb780479c6a6908e3ca6fb90d116434dd4d4ce
refs/heads/master
2023-09-05T16:05:36.668878
2021-11-27T15:49:15
2021-11-27T15:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
#!/usr/bin/env python3 from app.lib.utils.request import request from app.lib.utils.common import get_useragent class Typecho_Install_Code_Exec_BaseVerify: def __init__(self, url): self.info = { 'name': 'typecho install.php反序列化命令执行漏洞', 'description': 'typecho install.php反序列化命令执行漏洞,...
[ "taomujian@protonmail.com" ]
taomujian@protonmail.com
da64379108d10ffcce480826867a05edd566bdd1
895f4befd11c8169f818d229e42bda9c18bdc15d
/thndr/api/withdraw.py
268400db656a291f7d52d5cfda257ce3c5af9fa0
[]
no_license
MostafaMhmod/stocks-exchange-app
69fdd0d9ac6ed76537e70cf583ffb4503829cba2
0b7134b180cb75b37a3eb0234920da0d1f468019
refs/heads/master
2023-03-01T00:16:00.658957
2021-02-09T00:57:46
2021-02-09T00:57:46
336,931,433
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from rest_framework.decorators import api_view from rest_framework.response import Response from thndr.serializers.transaction_serializer import TransactionWalletCreateSerializer @api_view(["POST"]) def withdraw(request): data = {} data['user'] = request.data.get('user_id') data['amount'] = request.data...
[ "moustafa.mahm@gmail.com" ]
moustafa.mahm@gmail.com
2d745cb89d987b4929a5b6b26b7b4039b93fac08
ef2f632f814928ff8160c9afd11f55b9b5f4d216
/Algorithms/Implementations/my_queue.py
01da9166d27c3cd17a65bf9ec99378672fca339c
[]
no_license
CBASoftwareDevolopment2020/Exam-Notes
319a4f2b445654d4fb56e27c1fb18a40aa0323a4
cfc8223377e9a5741a4272c0cd255bd9cae04f85
refs/heads/master
2022-09-27T22:43:40.757221
2020-05-29T11:19:02
2020-05-29T11:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
from utils import Node class ArrayQueue: def __init__(self): self._items = [] self._size = 0 def enqueue(self, item): self._items.append(item) self._size += 1 def dequeue(self): item = self._items.pop(0) self._size -= 1 return item def is_empt...
[ "supernikolaj@hotmail.com" ]
supernikolaj@hotmail.com
376e914eb4817ac06c5395b2987741fbc5b63b80
4e2b343558ed8f342bdc3ae79bc70a837bd5eb93
/AppEngine_lessons/app-engine-starter/main.py
4af85521ed36d1795fd71fb5e5e5d9d0e528346a
[]
no_license
xmaslzq/CSSI
670d9fb8d533ef83418cf3e74725edc9ad1c94e8
83c58ca56e17ec4d3abc249369339d28661d1528
refs/heads/master
2022-01-25T23:04:22.594830
2019-06-20T17:11:55
2019-06-20T17:11:55
192,957,782
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
#!/usr/bin/python # # Copyright 2018 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 ag...
[ "noreply@github.com" ]
xmaslzq.noreply@github.com
badb20af55295ca775c372a5144771fd92c5ef52
d3700e19ac03dee2b53b5f094105a785a5ac7d6c
/source/accounts/forms.py
4ed06e720d8bd33fa1290c1259ca2dc40c7c1eaf
[]
no_license
emilrakaev/final_exam
7ed571f8d073150ba0d0871a5c51556ba077aa8e
01b3fa63cdd1d28ce725a6bcc0c1aca5d1fd512d
refs/heads/master
2023-02-18T03:18:12.760590
2021-01-23T17:30:43
2021-01-23T17:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,752
py
from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import AbstractUser from django.core.exceptions import ValidationError from django.urls import reverse from django.conf import settings from django import forms from django.contrib.auth import get_user_model from .models import Auth...
[ "emilrakaev@gmail.com" ]
emilrakaev@gmail.com
7e78b16e6f13e52f35217553facf6e447114f404
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2536/60692/284231.py
f5965072cfb32c524819a0b6b6eb56e9052005d5
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
374
py
from collections import defaultdict list1 = input()[3:-3].split("\"], [\"") list1 = [i.split("\", \"") for i in list1] list1.sort() res = [] g = defaultdict(list) print(list1) ''' for i in range(len(list1)): g[list1[i][0]].append(list1[i][1]) def dfs(x): while g[x]: r = g[x].pop() dfs(r) r...
[ "1069583789@qq.com" ]
1069583789@qq.com
7dc30a8675b6bdd42f226f0d1ba0f8e14ae70ca4
e82af0b3f84b66278c232f1d4407d7e6fb67343f
/src/aws_scatter_gather/util/jsonstream.py
58cbf247e4698690e832aadfd50d83c0f4f588ff
[ "Apache-2.0" ]
permissive
cbuschka/aws-scatter-gather
5dbe73c1672b786e5d74696cc6a8df6fad859840
abebd22aa6449369845a08d4260607745098bb28
refs/heads/master
2022-12-25T04:00:17.299495
2020-09-18T20:33:58
2020-09-18T20:55:28
271,099,237
3
0
null
null
null
null
UTF-8
Python
false
false
5,048
py
import json from enum import Enum class _State(Enum): INITIAL = 0 OBJECT_STARTED = 1 OBJECT_PROPERTY_STARTED = 2 OBJECT_PROPERTY_AFTER_NAME = 3 OBJECT_PROPERTY_AFTER_VALUE = 4 ARRAY_STARTED = 5 ARRAY_AFTER_VALUE = 6 DONE = 7 class JsonStream(object): def __init__(self, fp, encode...
[ "cbuschka@gmail.com" ]
cbuschka@gmail.com
17b0c4bb31a2b73c753b146078a95266e2007669
846aa5f955058b6bef8a6f0b7824c7d1bdec2310
/coronagraph-master/old/readsmart/gas_info.py
4bb1b99f2c1a09ca965580df43a92d2604e3a54d
[]
no_license
giadasprink/luvoir_simtools
ba96c7a5542d4c7e43d49c0050de0e5c84eb42fd
fa7d58de958d36eeb81975172b33964e114d1700
refs/heads/master
2021-01-12T14:40:23.621431
2016-11-04T17:11:07
2016-11-04T17:11:07
72,046,880
2
0
null
null
null
null
UTF-8
Python
false
false
2,596
py
def gas_info(): """ Loads and returns HITRAN gas information (description) Parameters ---------- None Returns ------- load_gases.gas_info(): tuple array (mixed type) Notes ------- This program loads the gas codes, formula code, descriptor string (formula name), mean mo...
[ "tumlinson@stsci.edu" ]
tumlinson@stsci.edu
2c859b253fac52407a7a2212bb929210128fbe9b
c5e8e718f594356c34ea129dff00cc309ba0ac9c
/python352/myenv/lib/python3.5/tokenize.py
896bb4117f26e08aaf66e19238414085ddc27393
[]
no_license
melnikaite/benchmarks
7f605039273bc5b0638c14f7d9bed56b7eda0186
d9c87873b0f6de4204030aeaeb35582ab6d9ca3d
refs/heads/master
2020-04-15T12:43:04.256491
2018-02-08T00:01:19
2018-02-12T10:35:11
65,220,513
3
4
null
2018-02-12T10:35:12
2016-08-08T16:28:34
Python
UTF-8
Python
false
false
65
py
/Users/melnikaite/.pyenv/versions/3.5.2/lib/python3.5/tokenize.py
[ "melnikaite.melnikaite@gmail.com" ]
melnikaite.melnikaite@gmail.com
9a257d7cfb13814c6d325e4427720b746db62afa
0ff95a63f29b05ff8a894effcb3760de876deb42
/Pickle_Graffiti/graph_txt_files/txt_functions/vertex_cover_number.py
7dafe5ed1a06aacbe2e8ee0d2ed843597fab3089
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RandyRDavila/Pickle_Graffiti
5e956031422918312215b7691e21b1307d3e0161
c54128d36eac1f013e9c544fabc81fd15056c250
refs/heads/master
2020-03-18T15:22:28.288345
2018-06-17T21:49:47
2018-06-17T21:49:47
134,903,705
0
1
null
null
null
null
UTF-8
Python
false
false
2,613
py
# -*- coding: utf-8 -*- # Copyright (C) 2017 by # David Amos <somacdivad@gmail.com> # Randy Davila <davilar@uhd.edu> # BSD license. # # Authors: David Amos <somacdivad@gmail.com> # Randy Davila <davilar@uhd.edu> """Functions for computing vertex covers and related invariants in a graph.""" from...
[ "randydavila@Randys-MacBook-Pro.local" ]
randydavila@Randys-MacBook-Pro.local
5a9f2c65fb8af43f7235e7e8c0937d9c97e3caa7
2591b2b409b8cefedd6b226f0381aafea2aa123c
/leads/forms.py
11814485238e54ca5315f97dcd17215e7a3eb24f
[ "MIT" ]
permissive
coderj001/Django-CRM
ae5f0cb6b6c5b5dba1e0713c32978f49b021e39f
7cca0df5d39b92082781047c1f0a11129179f257
refs/heads/master
2023-08-14T02:38:26.534561
2021-09-15T06:38:45
2021-09-15T06:38:45
369,114,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
from django import forms from django.contrib.auth.forms import UserCreationForm, UsernameField from leads.models import Agent, Lead, User class LeadModelForm(forms.ModelForm): class Meta: model = Lead fields = ( 'first_name', 'last_name', 'age', 'ag...
[ "amirajubolchi001@gmail.com" ]
amirajubolchi001@gmail.com
ed3a392122a91de6cdf437e0aae63e716e4b07fa
cce6fe18b46418de3df3384bd08707ca37dc85d8
/venv/lib/python2.7/copy_reg.py
ac6440875a567528d4c7b788bdea18c4372ca098
[]
no_license
kyorgancioglu/CerebroServer
805bb4b6d3980bfd12ee02d5ee3627cb2f475da5
077fac942d5e20874e26468a0ceebf1f9fd94521
refs/heads/master
2021-01-19T18:14:02.638900
2017-05-08T14:48:10
2017-05-08T14:48:10
88,349,015
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
/Users/kaanyorgancioglu/anaconda2/lib/python2.7/copy_reg.py
[ "yorgancioglu.kaan@gmail.com" ]
yorgancioglu.kaan@gmail.com
3aa284408b648d5cc4ba72c6e62f10f1f8ec9043
826d8196891852edf4e1ebe364120b916e320bb0
/blog/apps/views_staff.py
ff13e16848799f8c8a6c2b1859f7ef03a1c9d962
[]
no_license
mtien10/flyandrew
6f1acdda37de44935d493945cb90ad99a6aea414
b3820d7a8069feb76efe3107398930e23d03614c
refs/heads/master
2023-08-24T12:49:58.732673
2021-09-24T06:52:15
2021-09-24T06:52:15
390,921,201
0
0
null
null
null
null
UTF-8
Python
false
false
3,981
py
import json from django.shortcuts import render from django.shortcuts import HttpResponse from django.shortcuts import get_object_or_404 from django.contrib.auth.decorators import login_required from .models import * from django.views.generic.edit import CreateView from django.views.generic.edit import UpdateView from ...
[ "tao.gboy@gmail.com" ]
tao.gboy@gmail.com
12c623c20c5499450064a7ba06592696cd33d4a4
5abe97395fa199f652568ed13bae922ed4143737
/string3.py
33d378be2b9a29817e385208a92edf34ac537fb3
[]
no_license
XanderEagle/unit7
7aa0590eec1e52712c85e85472a44444b98912cb
7d8ccc1a05ad9ad0002167f465c275109b4e5e22
refs/heads/master
2020-09-05T07:22:43.706795
2019-11-15T15:16:42
2019-11-15T15:16:42
220,025,095
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
def without_end(word): return word[1:len(word)-1] print(without_end("Hello")) print(without_end("Python")) print(without_end("coding"))
[ "alexander.eagle@ssfs.org" ]
alexander.eagle@ssfs.org
2d53ca54d3805eb81d7ede0b47f643a341a88008
b1aa3c599c5d831444e0ae4e434f35f57b4c6c45
/month1/week2/class5/pillow5.py
45a028b539a26bd107597ff2defa4b69744fdd06
[]
no_license
yunyusha/xunxibiji
2346d7f2406312363216c5bddbf97f35c1e2c238
f6c3ffb4df2387b8359b67d5e15e5e33e81e3f7d
refs/heads/master
2020-03-28T12:31:17.429159
2018-09-11T11:35:19
2018-09-11T11:35:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
from PIL import Image, ImageChops, ImageDraw, ImageFont img = Image.open('img/1.jpg') # 切换图片模式 img = img.convert('RGBA') # 创建一个背景完全透明的图片模板,大小和原始图片一样大 w, h = img.size new_img = Image.new('RGBA', (w, h), (0, 0, 0, 0)) # 使用ImageDraw生成一个画笔 # 此过程需要用户提前指定需要操作的图片 draw_1 = ImageDraw.Draw(new_img) # 绘制文字 # 使用imageFont生成对应的字...
[ "576462286@qq.com" ]
576462286@qq.com
47a14850a6883ecc86d83ddb8afe50e0011f8b56
b7947f82403adc72ee2413971272cb7cd0c7c685
/docs/examples/example.py
ad05bc5073c22d878b87d30729c83a883901e072
[ "Apache-2.0" ]
permissive
WISDEM/RotorSE
e752f3ff77c0bdf768a96340036dbbc367d7af66
a4f75ed79f5ca10c869ed803037b52d5e74f0927
refs/heads/master
2021-06-03T12:52:19.847283
2019-09-04T14:15:44
2019-09-04T14:15:44
16,748,519
3
14
NOASSERTION
2019-07-26T16:50:33
2014-02-11T22:51:25
Python
UTF-8
Python
false
false
281
py
#!/usr/bin/env python # encoding: utf-8 import sys import os # just to temporarily change PYTHONPATH without installing sys.path.append(os.path.expanduser('~') + '/Dropbox/NREL/RotorSE/src/rotorse') # 1 --- from rotoraero import RotorAeroVSVP rotor = RotorAeroVSVP() # 1 ---
[ "andrew.ning@nrel.gov" ]
andrew.ning@nrel.gov
7f3f1ecdf11cd198d1eca349180cc1b2698f1eb2
89e47e1a0dd8ca96dbaf236340dd1c7732bf62db
/depgraph.py
3e06a8e5882d7cf7e8b89a80823d5763de43df8c
[]
no_license
cmps143-nlp/homework_8
44f2f8e515a02134765e2f5563a8417052e6ea90
da037a754212545405db8a084ecb91659f47bad3
refs/heads/master
2021-01-10T13:06:17.416478
2015-06-06T20:32:01
2015-06-06T20:32:01
36,994,378
0
0
null
2015-06-08T22:20:06
2015-06-06T20:36:12
Python
UTF-8
Python
false
false
10,171
py
#!/usr/bin/env python ''' Created on May 14, 2014 @author: reid ''' import os, re, sys, nltk, operator from nltk.parse import DependencyGraph from nltk.stem.wordnet import WordNetLemmatizer import utils import baseline as bl import hw6 # Note: the dependency tags return by Stanford Parser are slightly ...
[ "davan108@yahoo.com" ]
davan108@yahoo.com
52d16b684f2d333ae0f84ce5dc7dc796dd3d14e9
f7c462bf748bf4e2d59f460cda61b357f40059fb
/Realtime Graph.py
efe195af25e1593f06e837e64d51042c97d8a147
[]
no_license
bormanjo/Project-Gamma
80aca334c82d9fdc971fc23e2db90b962e6ec603
f8bf7d1f53360bb46ab74aedbff36698c1b3491a
refs/heads/master
2016-08-11T20:14:07.299798
2016-02-02T19:03:59
2016-02-02T19:03:59
44,758,088
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import sys sys.path.append('/Users/jzmanrulz/anaconda/lib/python3.4/site-packages') import matplotlib.pyplot as plt import numpy as np import time fig = plt.figure() ax = fig.add_subplot(111) x = np.arange(10000) y = np.random.randn(10000) li, = ax.plot(x,y) fig.canvas.draw() plt.show() while True: try: ...
[ "jzmanrulz@gmail.com" ]
jzmanrulz@gmail.com
7b434b2719c36ca20ea15fa5da601a27eef6411d
155cbccc3ef3b8cba80629f2a26d7e76968a639c
/thelma/tests/functional/test_rack.py
e40ebb879314b508491ce9ef3818b992627c074b
[ "MIT" ]
permissive
papagr/TheLMA
1fc65f0a7d3a4b7f9bb2d201259efe5568c2bf78
d2dc7a478ee5d24ccf3cc680888e712d482321d0
refs/heads/master
2022-12-24T20:05:28.229303
2020-09-26T13:57:48
2020-09-26T13:57:48
279,159,864
1
0
MIT
2020-07-12T22:40:36
2020-07-12T22:40:35
null
UTF-8
Python
false
false
1,605
py
""" Created on Dec 09, 2014. """ from pyramid.httpexceptions import HTTPOk from everest.mime import XmlMime from everest.resources.utils import get_root_collection from thelma.interfaces import ITubeRack from thelma.tests.functional.conftest import TestFunctionalBase class TestRackFunctional(TestFunctionalBase): ...
[ "fogathmann@gmail.com" ]
fogathmann@gmail.com
a5aa4f455c320dad648c0b6b8b039c70ad37babc
2c956da7e4ebd03ba1bdaa9f72d58c5b5d8190f4
/logica.py
6e70615e0061ae35b94a3bc91ae1085ecb101e2b
[]
no_license
jlcastr/dacodeslogica
f1c9ef04df815a7727915575c194c3c7ee03d3b4
d632d2c94e392c2ab9a24fc175645471c312a794
refs/heads/master
2022-11-29T11:24:54.125335
2020-07-30T16:54:28
2020-07-30T16:54:28
283,722,418
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
#esquina superior de una cuadricula N x M #mirando a la derecha, sigue camiando un cuadro a la vez en la direccion que esta mirando #(dirección derecha) #---------------------- #|(0,0)|(0,1)|(0,2)| #|(1,0)|(1,1)|(1,2)| #|(2,0)|(2,1)|(2,2)| #--------------------- def recorrido(N,M): if (N > M): if (M % 2 =...
[ "jlcastr7@gmail.com" ]
jlcastr7@gmail.com
8d9df479c2b41b52b6d9e48842ac8f49b3981495
a1565d1736ed9ce98c2bec48fcd21b9ad491aca5
/MediaTrailers/MediaTrailers/runserver.py
3fc9d6fb157f32afde80c22d5668e7f698fc347a
[]
no_license
dmatis/media-trailers
5461f81c7a01b09511c377f08dc1cf191b569031
5d16694cc67dc2602b93938e915233bedab6b6e6
refs/heads/master
2020-07-03T17:28:32.258258
2016-09-02T21:09:12
2016-09-02T21:09:12
66,577,999
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
""" This script runs the MediaTrailers application using a development server. """ from os import environ from MediaTrailers import app if __name__ == '__main__': HOST = environ.get('SERVER_HOST', 'localhost') try: PORT = int(environ.get('SERVER_PORT', '5555')) except ValueError: PORT = 55...
[ "darren.matis@gmail.com" ]
darren.matis@gmail.com
1b23c7b7ea9eb0f9ac3e173e043db613b169fb22
1a4fb457cdbd1ac5851a6a7cf7a8824f5c3cb946
/numpy/npOperation.py
545a5472e2a29e3c5a74e428b93a985295510c4b
[]
no_license
nlhsueh/Learn-Python
2cce28b1c3afb39280da647cae8314efa3f8f5fa
fded46c9553691370fff443a6748b7f73195c766
refs/heads/master
2021-09-12T06:52:34.988760
2018-04-15T02:35:24
2018-04-15T02:35:24
105,233,608
2
5
null
null
null
null
UTF-8
Python
false
false
845
py
import numpy as np # +-*/ a = np.arange(5) b = np.arange(5) c = a + b print (c) # [0 2 4 6 8] c = a - b print (c) # [0 0 0 0 0] c = a * b print (c) # [0 1 4 9 16] c = a**3 print (c) # [0 1 8 27 64] c = a > 3 print (c) # [False False False False True] # reshape a = np.arange(6).reshape(2,3) print (a) # [[0 1 2] ...
[ "nlhsueh@fcu.edu.tw" ]
nlhsueh@fcu.edu.tw
cf53086f857ba3246e025162e7ecf389e4e1067e
5ecaa750834898e8c58bd00d1e820c6e6bd4ef94
/gene_selection/sort_snp_list.py
546f5000a6aabe7634eb515da568d65b811bf419
[]
no_license
SaundersLab/MARPLE_plant_pathogen_diagnostics
d7cbe4aa5a59a24773d1f6f8556ed4fd6fdf7b09
4896ed9ecf9b71c561aa387d5fd8e0b357ae3df4
refs/heads/master
2022-04-14T22:07:11.994622
2020-02-20T21:06:53
2020-02-20T21:06:53
171,909,384
0
2
null
null
null
null
UTF-8
Python
false
false
234
py
#!/usr/bin/env python import pandas as pd import sys input_table = pd.read_table(sys.argv[1],header=0) sorted_table=input_table.sort_values(['Gene', 'Position']) sorted_table.to_csv(sys.argv[1]+'.sorted.tsv',index=False, sep='\t')
[ "gradhakr@users.noreply.github.com" ]
gradhakr@users.noreply.github.com
e545e3353d0b386f0cd6a6971d5403a849d55d35
7e7661c1f4ba682291ddf46851cd319777f33ca0
/week_one/print.py
447843549021409edfc89715124f6d521466f2d9
[]
no_license
MikeDrewitt/python_seminar
87c57d335001e95a4d30b9b57c5a6a35dd80a1ac
9be405699468fc9701aaab33a2d0de4ed9da1b9c
refs/heads/master
2021-01-21T09:06:55.403066
2017-05-02T23:06:36
2017-05-02T23:06:36
82,864,654
1
0
null
null
null
null
UTF-8
Python
false
false
56
py
# This is how you print in python print("hello world!")
[ "mikedrewitt@gmail.com" ]
mikedrewitt@gmail.com
11a7e8f0fb7b4ee2f2cd6194fa11e6cfa562f5f0
e325822e10d8343486cff3276c240272f4d6e3a0
/flask/tutorial/app.py
763f335afb76ab231c1a9b76d4e024eed7c96e85
[]
no_license
EunhaKyeong/studyRepo
c9b25d19c8a9c62351b48bef3417177adad8a933
f8a252cff479d828bb2811f47419ea7d0d5f7718
refs/heads/master
2023-02-22T01:57:41.939452
2021-01-19T11:33:16
2021-01-19T11:33:16
301,754,097
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
from flask import Flask, render_template, request #Flask 객체 인스턴스 생성 app = Flask(__name__) #localhost/ url에 접속해 index.html 페이지로 이동. #웹 페이지를 하나씩 추가할 때마다 @app.rount()를 추가하고 아래 함수를 작성해야 함. @app.route('/') def index(): return render_template('index.html') @app.route("/post", methods=['POST']) def post(): user =...
[ "eunha4685@naver.com" ]
eunha4685@naver.com
ca0ce7609cecd3ff3ec45ee5766b4208758b3485
dc82eb85df2342ef904b2993cf0ee619b2a470eb
/lab6/numberorder.py
1f60c5087477f14b815ee67b0311f931aff6e713
[]
no_license
djstull/COMS127
e643037ae778632d7b8f9ff3a8d509129f3aa4ef
4c5129bee3f55c11f96b870ab354b565e6f2297b
refs/heads/master
2020-03-28T02:24:23.963125
2018-12-06T21:33:23
2018-12-06T21:33:23
147,567,738
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
def numberorder(numbers): for i in range( len(numbers) - 1): if numbers[i] < numbers[i+1]: return False return True print(numberorder([3, 2, 1]) print(numberorder([1, 2, ]))
[ "djstull@iastate.edu" ]
djstull@iastate.edu
ff13c2abde11b7d35c4fe06755453b0a10b65b15
83d6dd1343f708994541ece6390cef6fa9f56131
/blackjack/api/event/after_turn_event.py
30e83a3effcd06b74f60d501844864f9305792db
[]
no_license
egorklimov/blackjack
e33340d91aac75bf8d4d7f2200496fce54712662
30fd62974be59e889078d796bc87e201633992fa
refs/heads/master
2023-04-25T11:05:38.902072
2021-05-04T22:50:07
2021-05-04T22:50:07
341,987,129
0
0
null
2021-05-04T19:24:34
2021-02-24T17:54:28
Python
UTF-8
Python
false
false
33
py
class AfterTurnEvent(): pass
[ "klimovgeor@yandex.ru" ]
klimovgeor@yandex.ru
7fb4e3e6d436cb17f649d2fc95b4196a1cf239a4
f53fbf82c8c028f5493bcfdf710578d0d3cb686e
/mysite/settings.py
9c787f84c688b0a6f8aca8d8641d3b58de290c23
[]
no_license
window-dragon/blog
4479f0d1afecaf0447f8972385634ee7d658e0aa
c58748f1c9dd5fd371e276063f7a131093a9e21f
refs/heads/master
2022-05-11T13:50:02.545032
2019-03-05T12:59:39
2019-03-05T12:59:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1.7. 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/ """ import os # ...
[ "core.jeong@samsung.com" ]
core.jeong@samsung.com
88b482164e4af4a7796048ebb8cd38c827e1e1e6
10580fdc5ab97755220910c30016493f76359ad6
/portfolio/settings.py
d90db1e3f722415037c64da86d81d48a4ae62f7a
[]
no_license
zhlooooo/portfolio
650632d0f7065afaa907e14f654dabe8bf4af2ee
c16aaa57d40d3b7a8a8d89b1407b6929266466fa
refs/heads/master
2020-08-13T10:07:40.430908
2019-10-14T08:50:50
2019-10-14T08:50:50
214,383,005
0
0
null
null
null
null
UTF-8
Python
false
false
3,211
py
""" Django settings for portfolio project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "zhlooooo@126.com" ]
zhlooooo@126.com
3295098797be67f18cbf21f8eccd11345ce99a07
c68a31a97fdd126261f5d12004f1477073ca4058
/box_office.py
ef956b80a376ef64aab0ea9bc3160fd9a545c8d6
[]
no_license
zhuo2015/box_office_predicate
4f03efb1bc1e003809b9a977d9a28ffb3d215ea3
0a6c25de55a55e90be8949477ed4d86b349ec8da
refs/heads/master
2021-01-23T07:51:42.821240
2017-01-31T15:28:54
2017-01-31T15:28:54
80,519,273
1
0
null
null
null
null
UTF-8
Python
false
false
494
py
# coding:uft-8 import pandas as pd import requests json11 = "http://www.cbooo.cn/BoxOffice/GetHourBoxOffice?d=1485874026355" url_xml = 'http://www.cbooo.cn/BoxOffice/GetHourBoxOffice' tt = requests.get(url_xml) ss = tt.json() ddf = pd.DataFrame(ss['data2']) ddf.columns =['实时票房','排名', 'xxx','片名','票房占比','xxx','上映天数', ...
[ "lizhuo.guo@gmail.com" ]
lizhuo.guo@gmail.com
3a76e89ee62728238df4a79fdf06721e3beb38c3
9dc02b09fd114db62539346fe1e048094511958a
/sql_orm/manage.py
cf62761fd3c18a0fce70316f963967e165cdad7d
[]
no_license
jscpy/PythonRules
afa88bfb3d736b6af5cbb082bd27c2f949fb97b6
72cb9bad837a33d8e778151d7017632013ca6ad7
refs/heads/master
2021-01-10T09:24:55.223882
2016-01-31T20:13:47
2016-01-31T20:13:47
46,196,617
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sql_orm.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "jsc.py.14@gmail.com" ]
jsc.py.14@gmail.com
54b0d750a04237f92f7be27b78755fc8b5a6a181
ea0d1c159f93e4b0eed5b370632ed64c9306d969
/raspberry/test/sensor/find_device.py
a5be6cda7ade5515bd9064b7361c4b2c3d0651b6
[]
no_license
jes9401/UleungCare
0e00ef7eac3a4ee5b3414f77bc3a95b7fe1065db
ce2161056d8aef9b0778ef5cbdc76413f53a092d
refs/heads/master
2022-11-23T20:37:10.852977
2020-08-01T04:49:50
2020-08-01T04:49:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
import subprocess def find_dev(): cmd = ['ls', '/sys/bus/usb-serial/devices/'] #ls /sys/bus/usb-serial/devices/ | sed "s/^/\/dev\//g" fd_popen = subprocess.Popen(cmd,stdout=subprocess.PIPE).stdout data = fd_popen.read().strip() fd_popen.close() print(data.decode('utf-8')) return(data.decode('utf-8'))
[ "wjrmffldrhrl@gmail.com" ]
wjrmffldrhrl@gmail.com
d9f089ba5012ba7812eb465dae6271303b65bc12
2cbdab70099d227a229bbd355c44b3a12dcea8ea
/mapred/results/aap.py
952b4262f3e21b928b716f7138dc78ed108e0d34
[]
no_license
Mitan/CS5344-StockTweets
559345353566f9eb7266109bf11dc04cb15f2482
5ad9ce63ac98ee06d70a9d2f6589e5519a1e0093
refs/heads/master
2020-06-02T15:20:19.384521
2015-04-30T08:42:09
2015-04-30T08:42:09
30,401,074
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
from collections import OrderedDict p = OrderedDict() with open("appl.txt") as f: for i in f: l=i.rstrip().split() k=l[0] v=l[1] if p.has_key(k): p[k] = int(p[k]) + int(v) else: p[k] = int(v) for h,a in p.iteritems(): print h,a
[ "kalraritz@hotmail.com" ]
kalraritz@hotmail.com
df6051ac1a7d4ce35f0afbcc52ffb91a7cc50b5a
9dde95007fe49ba5b8457a8b9672cd66303e9daa
/managevm/urls.py
69db3673ad5ed0bd0ee2bbf9ffbc93360d8a1ded
[ "MIT" ]
permissive
peacedata0/manage-vm
7c033cdc52b2de22fe0b089cac9f4a591a94591b
bab2d3e1b6fca9fbe1aa9d53dc555abc67f58ba1
refs/heads/master
2020-05-24T11:24:26.544652
2016-04-17T19:40:19
2016-04-17T19:40:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
"""managevm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "zujko@csh.rit.edu" ]
zujko@csh.rit.edu
b13c0ad324dfe1dea4cb7bac8b46b4b8f2f757cf
5d9dd59ccb74745976f5d13c00ac9c9bb5b22f7b
/genData.py
3718c74dfac46be532244289e7fa181b216dcc87
[]
no_license
Supeking/vgg19-preTrain
0270eb86e8a0fa75f915aa393cb643cc7ec60614
459700968e812a3848938a58ed414d907b529817
refs/heads/master
2020-07-06T10:05:44.315065
2019-08-18T09:14:51
2019-08-18T09:14:51
202,980,936
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
import cv2 from glob import glob import os import random path_P = './task7_insulator/P' path_N = './task7_insulator/N' def readImg_P(): P = glob(os.path.join(path_P, '*.jpg')) N = glob(os.path.join(path_N, '*.jpg')) while 1: random.shuffle(P) for imgPath in P: img = cv2.imread(...
[ "noreply@github.com" ]
Supeking.noreply@github.com
0324e1ecee3ef141ffae62cecdf089f009b2bb68
de95e9ace929f6279f5364260630e4bf7a658c1c
/stack.py
89f33daacded1cf737e1c66b1c1acc59e93f24a9
[]
no_license
ludwigwittgenstein2/Algorithms-Python
ceaf0739b8582f7bd749a9b3f52f283765044744
c5bed8b2e398c218d1f36e72b05a3f5545cf783a
refs/heads/master
2021-06-19T11:40:31.012268
2017-07-02T04:59:20
2017-07-02T04:59:20
75,953,711
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
class Stack: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def push(self, item): self.items.append(item) def pop(self): self.items.pop() def peek(self): return self.items[len(self.items)-1] def size(self): return le...
[ "penpals.oranges14@gmail.com" ]
penpals.oranges14@gmail.com
520a7fec37510d48d644de979c7f5d4f4a79ab30
b3c30e4683df07096c0aa0ecf6be1443dfa60de9
/high_vs_low_performer_dup_coverage.py
c38daea203fbea669d07ba8d198d2ee8e25ded6d
[]
no_license
B-Rich/Suecica
cd26cacf90daa546dc74d64e7ff79e696f9278a6
bbd3b66750b03f3cefe06e10b60370f08a06df2e
refs/heads/master
2021-01-22T02:12:47.790301
2013-06-14T16:27:43
2013-06-14T16:27:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,417
py
#!/usr/bin/env python3 from collections import Counter import gzip import sys; sys.path.append('../Packages/') from GenomeTools import GFF #dup_filename = "" #dup_filename = "Data/As_Duplications_Meiosis_Genes_(Aa_Filtered).txt" dup_filename = "Data/As_Duplications_(Aa_Filtered).txt" high_filename = "Data/Sue...
[ "mdporter@ucdavis.edu" ]
mdporter@ucdavis.edu
060911f150471af95103a2ef84238b3cda7db2d3
425985723e44ada0de949b12c42f01308ca6adbe
/poco/main/media/course_1/module_3/assessmentFiles/challenge_2.py
b0e0ac1c743eba93c6fc9553831f145adb5bbb2d
[]
no_license
Bharathkumar-nb/Poco-Localization
d5f900bff3abae51fe187a2678b6b5375e2d870b
8a9264b87d243c5f42765f1281b8674de353da83
refs/heads/master
2022-12-10T07:18:25.243018
2017-05-02T22:07:58
2017-05-02T22:07:58
89,995,931
1
0
null
2022-12-07T23:40:35
2017-05-02T05:45:29
HTML
UTF-8
Python
false
false
777
py
#Module 0 #Challenge 2 ''' x = '23' ''' import sys def report( name, shortd, longd): d = {'Name': name, 'Short': shortd, 'Long': longd} print(str(d)) #Mock data goes first try: &&& # paste user code here except Exception as e: report('Generic error', 'On your own', 'Look for typos') sys.exit(1) try: y #...
[ "bharathkmr.nb@gmail.com" ]
bharathkmr.nb@gmail.com
ebfac981b788884abacf358c0e34af682a4c3c70
d7fc794b9fd3635ee403999af75bfb7ace8c0963
/codes/allMycats1.py
182c6300882229536b855a57dcfb2f27e29f7a67
[]
no_license
gbt1988/PythonToWork
ff29d7bbb20397d1745ef1211dbe07a525eb3554
0944fcc3f991c2cd6352404bc55175316e2c19e2
refs/heads/master
2021-01-09T12:40:09.995303
2020-03-08T13:20:07
2020-03-08T13:20:07
242,303,958
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
print('Enter the name of cat 1:') catName1 = input() print('Enter the name of cat 2:') catName2 = input() print('Enter the name of cat 3:') catName3 = input() print('Enter the name of cat 4:') catName4 = input() print('Enter the name of cat 5:') catName5 = input() print('Enter the name of cat 6:') catName6 = input() pr...
[ "kaihuasun@163.com" ]
kaihuasun@163.com
f11d2fe34d4382c50aa6e64282213993a90932ca
f869fb919cf506cbb55ef911841a97487837a87c
/model/data_utils.py
a9428af30bf4673d400ccce9708a957258d3431c
[]
no_license
Won-Andwon/RNN_Mood_QA
7c3175de471e0515cfeabc4196186e18bec5dcf7
f1ebb392a45d2a48c9faf86ff013ae049a9d6009
refs/heads/master
2021-01-14T08:06:04.195959
2017-08-02T12:35:43
2017-08-02T12:35:43
81,922,793
0
0
null
2017-08-27T02:52:29
2017-02-14T08:27:20
Python
UTF-8
Python
false
false
12,932
py
# 此处部分代码部分来源于 # https://github.com/tensorflow/models/tree/master/tutorials/rnn/translate # 有改动和添加 因为是源码改动 所以没有import 借鉴的部分的链接如上 from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import re import sys from tensorflow.python.platform import gfile impor...
[ "perfect0penguin@gmail.com" ]
perfect0penguin@gmail.com
d2c95d546b0c5d0ae023efb6cf4793ed337de2ea
f5cdcface93fa1b1899b66354c4eb84dc6cb9a25
/Database_flask/app.py
f0c84485f936e2cfa2be1377416d76fefe680150
[]
no_license
shivanshjayara/Flask_DB
d90445bdd8164be8a82bca58ef94c2729641b2c1
b92d36e972a56b3da32184f0c70016a64b13da2e
refs/heads/main
2023-05-22T02:45:23.374693
2021-06-14T06:51:00
2021-06-14T06:51:00
376,554,932
0
0
null
null
null
null
UTF-8
Python
false
false
10,936
py
from flask import Flask, request, jsonify from mongo_db import mongo_db_class from mysql_db import mysql_db_class import logging as lg app = Flask(__name__) lg.basicConfig(filename='flask_log_file.txt', level=lg.INFO, format='%(asctime)s, %(name)s, %(levelname)s, %(message)s', datefmt='%Y-%m-%d')...
[ "noreply@github.com" ]
shivanshjayara.noreply@github.com
a4fd143ac6a588f4c5a3d5b50de9587e087d6074
8359d0ade9f5338259e473a53f5482307d14d12f
/src/core/jupiter/core/use_cases/big_plans/remove.py
75eef43ec1f93e69fa082b54a705e7480212f079
[ "MIT" ]
permissive
horia141/jupiter
0cba46b1aee24bf73e037335709fa0fce120b097
5be2f692e851ce18ad65df40a6c00afc00ae86ae
refs/heads/master
2023-08-15T16:09:10.631254
2023-06-27T05:36:02
2023-06-27T05:36:02
240,745,415
16
2
MIT
2023-09-06T20:44:17
2020-02-15T16:12:06
Python
UTF-8
Python
false
false
1,037
py
"""The command for removing a big plan.""" from dataclasses import dataclass from jupiter.core.domain.big_plans.service.remove_service import BigPlanRemoveService from jupiter.core.framework.base.entity_id import EntityId from jupiter.core.framework.use_case import ( ContextProgressReporter, UseCaseArgsBase, )...
[ "horia141@gmail.com" ]
horia141@gmail.com
49ee8bc9cf6de2e556cd422f44a0a4c69fe2bc91
5b35d91bd83faa9d8cd9acef8d4fe87f07455bf5
/userauth/basicapp/views.py
fedcce68ece0d1e415c8ef505b4f89ce6a0b61f2
[]
no_license
akshaykalucha/django-auth-forms
1d5c7c86e358fbedc1f373c58920df63ad8afc49
5562a259a0d5c9c022839c4eef6a9517fccc2e61
refs/heads/master
2022-09-23T00:10:33.004793
2019-06-02T18:34:53
2019-06-02T18:34:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
from django.shortcuts import render from .models import Contact def index(request): if request.method== 'POST': email = request.POST.get('email') message = request.POST.get('message') c = Contact(email=email, message=message) c.save() return render(request, 'basicapp/index.h...
[ "akshaykalucha@gmail.com" ]
akshaykalucha@gmail.com
51497c27b205b81f1442f42dbecaaa0425b9188c
a81eb1d8decb2319a76778f4cfbd5624aaf0919b
/trax/rl/envs/online_tune.py
bcef89fe032444d83f9d88545f5308b1869d94a5
[ "Apache-2.0" ]
permissive
modyharshit23/trax
9beecf9ec950d50b481d000cf8de50e41db95c30
2e6783a4674209b57482ec41e1c533a420aa6fe6
refs/heads/master
2020-08-07T19:34:23.943648
2019-10-08T06:39:01
2019-10-08T06:39:01
213,566,294
0
0
Apache-2.0
2019-10-08T06:36:36
2019-10-08T06:36:36
null
UTF-8
Python
false
false
2,086
py
# coding=utf-8 # Copyright 2019 The Trax 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 a...
[ "afrozm@google.com" ]
afrozm@google.com
ffcbae29cb8d77f2e922cd933f47cef28b20c062
60d3c8f118c7fe3cade97165377c968c36ae4e81
/hask_ideas/Data/Traversable.py
8dbc037de79772a058515fb6cc70d90fb0fbd922
[ "BSD-2-Clause", "MIT" ]
permissive
billpmurphy/hask-archive
d6e7363dd6086ebeabf4c0c7713c1cc2e446c4a5
1dbecd7070cdf6e946df4236688c46ccd70d329b
refs/heads/master
2021-01-24T15:22:59.416785
2015-08-10T19:04:26
2015-08-10T19:04:26
33,465,919
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
from ..lang import build_instance from ..Control.Applicative import Applicative from ..Control.Monad import Monad from Foldable import Foldable from Functor import Functor class Traversable(Foldable, Functor): """ Functors representing data structures that can be traversed from left to right. Depende...
[ "billpmurphy92@gmail.com" ]
billpmurphy92@gmail.com
b2851b1a304be6b047b9a8356ef027bc98cc0f95
f9ed608c620093b9f6b5058bcedf7ae610c09c8d
/953-Verifying_an_Alien_Dictionary.py
b29bd1cd3017ead5212ad421027fb92b3d98447b
[]
no_license
chanyoonzhu/leetcode-python
9b88d7f2749e1ae3ed597759b1bf9f7fa4912c35
085d868ba0458fc8e6b5549aa00fa151c335fa7f
refs/heads/master
2022-05-24T11:20:35.927915
2022-04-16T06:02:33
2022-04-16T06:02:33
166,224,197
0
1
null
null
null
null
UTF-8
Python
false
false
732
py
""" - array sorting + hashmap """ class Solution: def isAlienSorted(self, words: List[str], order: str) -> bool: ind = {c: i for i, c in enumerate(order)} for a, b in zip(words, words[1:]): if len(a) > len(b) and a[:len(b)] == b: return False for s1, s2 in zip...
[ "zhuchanyoon@gmail.com" ]
zhuchanyoon@gmail.com
aba602a73bce2f3d700ad3f704a27f5a026008bd
fea398a9638acdfa2fb06e7a9695d5894452ded7
/0x07-python-test_driven_development/3-say_my_name.py
b408ac9688f6adf53264cf935daaaaf536e3d9a1
[]
no_license
OscarDRT/holbertonschool-higher_level_programming
d15585aa93ced9bc04464ced9bfd4197e73c42fa
f57ef3344df6350bded78ffce975eea693e67727
refs/heads/master
2020-09-30T19:56:30.788311
2020-05-14T19:52:10
2020-05-14T19:52:10
227,360,960
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
#!/usr/bin/python3 """Function that prints My name is <first name> <last name> first_name and last_name must be strings otherwise, raise a TypeError exception with the message first_name must be a string or last_name must be a string """ def say_my_name(first_name, last_name=""): """ first_name and last_n...
[ "oscarnetworkingpro@gmail.com" ]
oscarnetworkingpro@gmail.com
d3f804833db7e3655c2793a2465fc9a003792e38
625bcba8922a6d0bd4c34721354f1f87977437ad
/scripts/transform_ushmm_transcripts/get_text_units.py
ad0900650bcf18113474a0b44ae2fee962df5179
[]
no_license
toth12/data_processing_lts
2970805d101154b5aa2283061da970d45538571a
831c3d3ccfd745606f4cc855623086b3d3c07a01
refs/heads/master
2023-04-16T06:19:18.410693
2021-05-04T07:55:53
2021-05-04T07:55:53
353,973,950
0
0
null
null
null
null
UTF-8
Python
false
false
4,472
py
import sys, glob, os root_path = os.path.join("..", "..") sys.path.insert(0, root_path) from docx import Document from subprocess import call import pprint import constants import re import pdb import os,sys helper_path = os.path.join("..", "..", "utils") sys.path.insert(0, helper_path) import helper_mongo as h import...
[ "gabor.toth@yale.edu" ]
gabor.toth@yale.edu
7f4c175b19ad6ad75136ed55c2d937ad98f43682
ffadd004f779aa6aca925d8d39775a8bd8abfc37
/yolo_face/TrainYamlModel.py
5fe750404fbe4ec97a5249753b2cd88f76fb7593
[]
no_license
xinyunmian/face-detection
9b111f82916bd75ae2e2e9036f69d0ed2b0539a8
615c90284f3283c4764c5851e66a7a47ae0f7494
refs/heads/main
2023-08-25T18:59:23.164984
2021-09-13T07:27:19
2021-09-13T07:27:19
405,872,139
0
0
null
null
null
null
UTF-8
Python
false
false
2,681
py
import torch import os import random import numpy as np import torch.utils.data as data from FaceDataLoader import LoadFace, collate_face from ParseYamlModel import Yaml2Pytorch from FaceConfig import facecfg from FaceLoss import compute_FaceLoss #cuda torch.cuda.set_device(0) def adjust_learning_rate(epoch, optimizer...
[ "18806181003@163.com" ]
18806181003@163.com
472971efc2470876da78591fcbfce41064a3e72b
5e64a98207ac9a8ffcc1ab25fc3715bb898d3a65
/tests/json.tst.py
ae1bba4be20cb244ea93b306bd1a6124082a3c65
[]
no_license
chernevik/python-sanity
9de267cb125a82ad336892ec5b6cb736a23bc430
849f212df509420d2b83c87d29a73faf13a7d477
refs/heads/master
2021-01-18T14:06:32.026238
2012-04-06T00:34:49
2012-04-06T00:34:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
#/usr/bin/python # -*- coding: utf-8 #============================================================================= # Imports import unittest2 import sanity.formats.json_format as specificier #============================================================================= class SpecifierT...
[ "gordon@practicalhorseshoeing.com" ]
gordon@practicalhorseshoeing.com
c2434b2fb11ee9aa0070bcf9e30821461857f313
6a898e59343d0b3ea4f9580f489ef76d888b2b7e
/ecommerce/migrations/0028_auto_20180511_0449.py
cbda4df1aaf00a8a9f7564b2bb435064e9fe1db2
[]
no_license
oujri/ecommerce
4b08b0316671e24206e810a38728d71c77fdc396
3fd8095dd2ed771a6951ed7fff08ca11ef0b94a1
refs/heads/master
2020-03-19T03:39:36.002373
2018-06-01T22:09:31
2018-06-01T22:09:31
135,749,651
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
# Generated by Django 2.0.4 on 2018-05-11 03:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ecommerce', '0027_auto_20180511_0424'), ] operations = [ migrations.RemoveField( model_name='ad...
[ "anass.urh@outlook.fr" ]
anass.urh@outlook.fr
2f499a87544c0540ba44690864ef78272d33db8b
d90af0def0e29ebaebcf986399fcee65e1e2916c
/com_alias/noeout2txt
40e55f474367f57e12461898d4f86a7f367a2b25
[]
no_license
Zaiyong/csrosetta
2fdbbdd7da24ce971f7f2297a7cd14723cdd59d6
539c60664dba3972062002ff4e636c7f029927cb
refs/heads/master
2020-12-25T15:18:39.274689
2020-02-25T09:15:35
2020-02-25T09:15:35
65,408,072
1
0
null
null
null
null
UTF-8
Python
false
false
9,184
#!/usr/bin/env python2.7 ##-*- mode:python;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t;python-indent:2 -*-' from os.path import basename import os import string import argparse import sys #sys.path.append('/home/zak/Downloads/numpy-1.6.2') import library import StringIO from assignme...
[ "zaiyong@jianings-MacBook-Air.local" ]
zaiyong@jianings-MacBook-Air.local
cdd317914e0c97fedd74e5edd3234da9f79bb229
dc025df4a433b82c96fa7a4e064f46ecc948d1a2
/binary_tree_right_side_view.py
eea8357910654bf349af38a2f8072bfe778cc925
[]
no_license
bingh0616/algorithms
c9d3babd6cbf3aefd40fa28a3c839c7201f1028c
3b16c72d9361c4bb063e4b2789db695f1e0149bf
refs/heads/master
2021-01-18T14:10:45.125905
2015-11-19T06:03:48
2015-11-19T06:03:48
35,512,148
1
0
null
null
null
null
UTF-8
Python
false
false
844
py
# problem description: https://leetcode.com/problems/binary-tree-right-side-view/ # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param {TreeNode} root # @return {integer[]} ...
[ "bingh0616@gmail.com" ]
bingh0616@gmail.com
70f25dc75dafc450b9bbde6a2976aa94936cb471
5b9420eb9cb1578c4baeee313e78c07a87e9e27c
/mandatory1/code/ex2.py
50b70026cbb04e6e1bae2c6b03e1a7716699caf9
[]
no_license
christian-pedersen/mek4250
d612b803ee39c6dfe44d109bd7750165c12b39ad
afff12221e3f29e2b5e5d0f4789283167b293d69
refs/heads/master
2023-03-15T12:17:24.663547
2016-07-10T06:21:05
2016-07-10T06:21:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,554
py
# Mandatory assignment 1 # exercise 2 from dolfin import * import numpy as np import matplotlib.pyplot as plt set_log_active(False) def BC(mesh, V): mf = FacetFunction("size_t", mesh) mf.set_all(0) class Left(SubDomain): def inside(self, x, on_boundary): return near(x[0], 0) and ...
[ "christian_pedersen21@hotmail.com" ]
christian_pedersen21@hotmail.com
c47001c1ab51e1ae3d183da4d7f294b8b89d784c
0545e8fe5a602f75a2ea150d0178c8db5a3c59d6
/go/settings.example.py
6e9f629635fd52e090ccd701536101e04b672e71
[]
no_license
forgeries/go
c52849ace8d9df7d00254ecf8b4b1cb974bff0cb
44255a0dcf768415efd685340e26a7693dae4f8d
refs/heads/master
2021-09-15T04:40:11.476468
2018-05-26T07:23:48
2018-05-26T07:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,243
py
""" Django settings for go project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths ins...
[ "552388264@qq.com" ]
552388264@qq.com
ac5e85e8b73484f3000a082e60602809d0f23ad9
663d5dc88b1b07599fd79665c45cf2831bdcf47f
/sol/solution (4)/main.py
e545ca81d9bf75e26b7e1e7cbf8ea1b4d486c1fd
[]
no_license
l-arkadiy-l/some-examples
c5392ba1cf5cf6afbf8f887a39c8be3801595edc
616813129177724b12a910d8abe65119b085a8a1
refs/heads/main
2023-02-01T21:16:34.235364
2020-12-18T15:10:46
2020-12-18T15:10:46
322,626,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
import random import pygame class Boom(pygame.sprite.Sprite): def __init__(self, pos, image, *group): super(Boom, self).__init__(*group) self.image = pygame.image.load('data/{}'.format(image)) # self.image.fill(pygame.Color('red')) self.pos = pygame.Vector2(pos) ...
[ "noreply@github.com" ]
l-arkadiy-l.noreply@github.com
6733e5adc71aa5c82d018f128009f8ac5f45c9e7
df5184a4581cece37e8cde2a3ae647211e4b4d21
/src/config/celery.py
08783a9ac8394849083f94b3228c956c167c160b
[]
no_license
miloszsobiczewski/Beholder
e2fa920d0233abb103ac406f709267cf754dd61d
cb523e928c91b7ee44fa201e0118477e61129305
refs/heads/master
2022-02-09T20:46:45.000558
2021-07-26T20:00:40
2021-07-26T20:00:40
240,501,693
0
0
null
2022-01-06T22:41:32
2020-02-14T12:19:04
Python
UTF-8
Python
false
false
565
py
import os from celery import Celery # set the default Django settings module for the 'celery' program. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") app = Celery("config") # Using a string here means the worker doesn't have to serialize # the configuration object to child processes. # - namespa...
[ "sobiczewski.milosz@gmail.com" ]
sobiczewski.milosz@gmail.com
e8e79a0ba665cfd8c009197b6ba367bd8c058fed
3a74764c3fc38f87cd2ed0ba9e96b23ad9a0677e
/bite_69/bite_69.py
fd3d78955afe129be34c1d79adc8d0c38e260367
[]
no_license
nalwayv/bitesofpy
7dbc7cb55c9bc3c111f67243759cf56a2b785f51
56b0f7f85fd4b18d11a1b5df8da0a95e5ba2dcaa
refs/heads/master
2023-05-26T05:46:06.859108
2020-02-05T00:02:35
2020-02-05T00:02:35
216,651,358
2
0
null
2023-05-22T22:43:16
2019-10-21T19:41:25
HTML
UTF-8
Python
false
false
3,840
py
""" Bite 69. Regex Fun - part II """ import re from typing import List def has_timestamp(text: str) -> bool: """Return True if text has a timestamp of this format: 2014-07-03T23:30:37""" # has_stamp = 'INFO 2014-07-03T23:27:51 Shutdown initiated.' if re.search(r'\d{4}-\d{2}-[0-9A-Z]+:[0-9]{2}:[0-...
[ "nalwayv@googlemail.com" ]
nalwayv@googlemail.com
9a94c24fa6adb96b19038922aa59abc025baf07d
201c3db3d299acf32ac8e44f7d93d9f48aeb4708
/lstm2.py
7b5751b60b75eb5590b611713e7d7e15c8917133
[]
no_license
PKUSZ-PR/LastWorkofPR
a31d4e7d9d9512498b2bd1fc7e45657d1a7da1fa
eea41366647c345666046025d4e43d3f9b151dfe
refs/heads/master
2021-05-14T14:59:58.525460
2018-01-03T11:03:21
2018-01-03T11:03:21
115,981,325
0
0
null
null
null
null
UTF-8
Python
false
false
6,730
py
# -*- coding:utf-8 -*- from __future__ import print_function, division import tensorflow as tf import numpy as np import matplotlib.pyplot as plt import random import os import struct import util ''' This is the first version to use lstm and crf to sovle ner problem ''' #-------------------------function definition...
[ "pandigreat@163.com" ]
pandigreat@163.com
be673d1dcd97eac46f96a396b361d2d97fb3ded2
f0700a5cdb1be9f23fd80785908e6abe757458b7
/deduce/config.py
a822809e08cbef959138864890a64eed2e1d2ce4
[ "MIT" ]
permissive
AevoHQ/deduce
50a396512e3ff99b1553be452374d74f48990891
a94a2afa29a19b5a5e66b45de2e567eecf0cea51
refs/heads/master
2021-07-07T09:04:41.665084
2017-10-01T02:24:11
2017-10-01T02:24:11
105,410,586
1
0
null
null
null
null
UTF-8
Python
false
false
303
py
"""Aevo Deduce configuration.""" import argparse def _build_parser(): parser = argparse.ArgumentParser() parser.add_argument( "--vault_ip", help="the IP address of Aevo Vault", default="http://localhost:3000") return parser ARGS = _build_parser().parse_args()
[ "grodinh@winchesterthurston.org" ]
grodinh@winchesterthurston.org
8177c9db7f001dff1d8952ae1b336edc002bc305
e5ea1c22088e292d9644ba6884530eceaeb41e78
/dictionaries 2.py
34101a5085d1dfe3ccfa59f012ff0cf1ee341a12
[]
no_license
motolanialimi/Northwestern-Data
1239687bd3135bcca541f4f1499ef8549a4e338f
4e46452b089caf9344767ca449af9b580db424ca
refs/heads/master
2020-03-14T04:07:10.029089
2018-04-28T19:18:13
2018-04-28T19:18:13
131,434,595
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
# Generating Email Addresses In this activity, you will write a Python script to generate an email address using fields from a csv data file. ## Instructions * Use csv.DictReader to read the contents of a csv file into a dictionary. * Use the first_name and last_name keys to create a new email address using the f...
[ "mgbenro@gmail.com" ]
mgbenro@gmail.com
e09a235d7587fa48e4b2ee716bed5829d094224c
a923cd0cbff345a558215256764ffde0b2c33582
/cms/test_utils/project/placeholderapp/models.py
f01b2f989921fcc4fa9c3db4c606ae423bdf4921
[]
no_license
manufacturedba/thinkcrunch
9b83b78285437500ce22ab277a2a765f61aca61c
9bfbc32e9387af8f147c14417641261c0d66d500
refs/heads/master
2021-03-24T13:33:04.173771
2015-05-05T01:44:09
2015-05-05T01:44:09
17,045,023
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
from django.core.urlresolvers import reverse from cms.utils.compat.dj import python_2_unicode_compatible from django.db import models from cms.models.fields import PlaceholderField from hvad.models import TranslatableModel, TranslatedFields def dynamic_placeholder_1(instance): return instance.char_1 def dynamic...
[ "manufacturedba@gmail.com" ]
manufacturedba@gmail.com
6fe15fd3c7e16d3a37c5b48ffe8dd2b5102ea873
45b4fb25f4cd0e74715a2a811354ff9c45888e73
/Old_Py_Files/Check.py
12523d8dd988af9f61d33a4a2d53bf467a35ca82
[]
no_license
Excloudx6/Measuring_Mobile_Advertisement
062577dd97f88b5e51b266289e613312d9c78b18
5790eaa04ee12a0cdc7b7752bbf29bd0c03efea6
refs/heads/master
2023-03-18T15:43:35.364235
2015-04-22T04:22:11
2015-04-22T04:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,349
py
#!/usr/bin/env python import dpkt import sys import socket import pcap import zlib import struct def connection_id_to_str (cid, v=4) : """This converts the connection ID cid which is a tuple of (source_ip_address, source_tcp_port, destination_ip_address, destination_tcp_port) to a string. v is either 4 fo...
[ "hchawla@localhost.localdomain" ]
hchawla@localhost.localdomain
49d70620d371ad7f8707c9050d28c5921813b845
371b3e735d34c1204e1e26391d378ba01f64fa88
/list_iteration.py
c6633b46279ed4978949bbc265761c8e6a5f6f94
[]
no_license
phperes28/TwilioQuest_Pythonic_Temple
1b1509f384396e41dae64b8d50122eba1989a757
8c31d743093afa6df70c8b0f165fb1d27c0bede3
refs/heads/main
2023-05-02T19:22:36.249543
2021-05-19T22:18:15
2021-05-19T22:18:15
369,010,335
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
import sys # Set up a list for our code to work with that omits the first CLI argument, # which is the name of our script (list_iteration.py) order_of_succession = sys.argv order_of_succession.pop(0) # Now, order_of_succession is ready for us to work with for number, name in enumerate(order_of_succession, ...
[ "noreply@github.com" ]
phperes28.noreply@github.com
f0b7d7e7fc94ffb6f353f980d51003d24f13f2dc
5a9c19c8ff43a37549c187bd1a1f28ca3ea8c5f9
/Diena_1_4_thonny/d3_g2_u1.py
768d80ecc9c0bcea3a2e5ad03f857697aedb7ced
[ "MIT" ]
permissive
komunikator1984/Python_RTU_08_20
a570e5a1b15b9289f277173245be1b189828adbf
773314e2586cc63fcb659aa8466bad7d3f8910c9
refs/heads/master
2023-07-22T04:24:56.544299
2021-08-30T18:02:38
2021-08-30T18:02:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
#1 Uzdevums # temper = float(input("What is your temperature? ")) # if temper < 35: # print('nav par aukstu') # elif 35 <= temper <= 37: # print('viss kārtībā') # else: # print('iespējams drudzis') temp=float(input("Nelabi izskaties, negribi pamērīt temperatūru!")) low_temp=35 high_temp=36.9 if temp < low_...
[ "valdis.s.coding@gmail.com" ]
valdis.s.coding@gmail.com
86646b40c2a9ea4e540a82176126cb6e6246a07d
3ca540f95c470007258a1e3bb4207dc9b19bae8a
/SCRAM/BuildSystem/BuildData.py
1da3fd611c44a33dabafcfb5d54830d2333d5b58
[ "MIT" ]
permissive
cms-sw/SCRAM
41a23e9a1ecc3c17c1352008ab0f703aea58d406
e52fe9958b62fae3531fa8f62f2d554218f3fe02
refs/heads/SCRAMV3
2023-08-07T17:17:03.613656
2023-07-25T23:39:26
2023-07-25T23:39:26
9,367,918
9
3
NOASSERTION
2023-07-25T23:39:28
2013-04-11T10:38:28
Python
UTF-8
Python
false
false
899
py
from os.path import dirname from os import environ from SCRAM.BuildSystem import get_safename class BuildData(object): def __init__(self, bf, cdata): self.branch = {} self.branch["template"] = cdata[0] self.branch["name"] = get_safename(cdata[1]) self.branch["class"] = cdata[0].upp...
[ "Shahzad.Malik.Muzaffar@cern.ch" ]
Shahzad.Malik.Muzaffar@cern.ch
68244c76a59c4421feddac89c052dcdb8d338699
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_237/ch4_2019_02_26_19_03_15_156978.py
c0123d5ee4920cd345436ace4c8de2d22e6fb36d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
def classifica_idade(idade): if idade <= 11: return "crianca" elif 12<= idade <18: return "adolescente" elif idade>=18: return "adulto"
[ "you@example.com" ]
you@example.com
889e8ac4ad1efe5805a9d7a41d93b49b525b40fa
46076543cb0b7d602d83dba23f6441683cabf24a
/PycharmProjects/aerology/__Files__/__init__.py
0ba9d1c19b915180aacf0ce89993c5b3896d4a52
[]
no_license
gaurBrijesh/Python
5838ee7e8d427597a915e73d3f39f22ce20da9c3
0d97068aa95218e96e17b919def7ed2573acba2f
refs/heads/master
2021-01-25T07:48:46.844872
2017-07-17T10:44:14
2017-07-17T10:44:14
93,660,503
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
file1 = open('/home/brijesh/Downloads/text.txt','r') data = file1.read() print (data)
[ "nanosoft10@gmail.com" ]
nanosoft10@gmail.com
81cc8e61b33e55e7f9fe5aa8e1b9ccb893a5294b
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/paloalto_wildfire/komand_paloalto_wildfire/actions/get_report/action.py
0cdc2266a782da05d0b112d30b11a1bf2e0dd4a4
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
1,615
py
import komand from .schema import GetReportInput, GetReportOutput # Custom imports below import requests import base64 class GetReport(komand.Action): def __init__(self): super(self.__class__, self).__init__( name='get_report', description='Query for an XML or PDF report fo...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
0c95a06f5f6200635c3986d24ecc5e8183e403eb
f9609ff4f2bbea570f3cb4cd3f9fe6b3595d4145
/commands/cmd_wizhelp.py
b0ab54a543e9859900087165a76b11ca5f6ca68b
[]
no_license
VladThePaler/PythonWars-1996
2628bd2fb302faacc91688ad942799537c974f50
d8fbc27d90f1deb9755c0ad0e1cf2c110f406e28
refs/heads/master
2023-05-08T19:51:28.586440
2021-05-14T04:19:17
2021-05-14T04:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
# PythonWars copyright © 2020, 2021 by Paul Penner. All rights reserved. # In order to use this codebase you must comply with all licenses. # # Original Diku Mud copyright © 1990, 1991 by Sebastian Hammer, # Michael Seifert, Hans Henrik Stærfeldt, Tom Madsen, and Katja Nyboe. # # Merc Diku Mud improvements copyrig...
[ "jindrak@gmail.com" ]
jindrak@gmail.com
5c271c70118c583d3b6474323b81753d0d70e29a
9f8221151b05e5acdf870cd7dd20a57323600deb
/lab_1_stub/fizzbuzzgolf.py
3e94ef4367bc431a32eb373d297dd5d702d4c486
[]
no_license
HUFGhani/Software-Engineering-Concepts-In-Practice
b35e62e2b55af580eca93fc39fe197c729551406
1ed0d7c2f7a30c2bc9216127a39d2370013c9d6c
refs/heads/master
2021-07-24T15:00:25.962591
2017-10-13T09:31:29
2017-10-13T09:31:29
104,791,206
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
print ('\n'.join("Fizz"*(i%3==0)+"Buzz"*(i%5==0) or str(i) for i in range(1,101)))
[ "h.u.f.ghani@gmail.com" ]
h.u.f.ghani@gmail.com
57c4ea5eb70c15ea7a90b28b122de6a2f363a5f5
3756357852562a6c8fe48f983e0da1610d10ce9c
/DeepSecuritySDK/DeepSecurityAPI/models/interface.py
5686431ca3f436bd5cd0364a5e04242e5ed876dc
[]
no_license
johnsobm/deepsecuritySDK
5de8c788d190fa8c5b67fb0bb6b4c545ba74c754
d15ef79aea91d0c9a3a2bb4ac71b8060e0b67bfd
refs/heads/master
2020-04-03T22:53:11.692909
2018-10-31T23:40:47
2018-10-31T23:40:47
155,612,514
0
0
null
null
null
null
UTF-8
Python
false
false
7,780
py
# coding: utf-8 """ Trend Micro Deep Security API Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate Deep Security into your CI/CD pipeline. # noqa: E501 ...
[ "brendanj@US-BRENDANJ-MAC.local" ]
brendanj@US-BRENDANJ-MAC.local
69dacb4f5f1477c11add891b9db600180cf21595
d45b5fed94ebcce2757142498023fa6bae9c1f4d
/cogs/customhelp.py
41cae4e56c08920c35a1869427018e5aa5c041a6
[]
no_license
Some1NamedNate/Inkxbot
56ed79cef68bc45bbe1b8b24369b03ed932254b3
d12555daca7f484b26b4502e5c760a97dd897909
HEAD
2018-09-01T13:40:54.546502
2018-06-04T00:04:15
2018-06-04T00:04:15
110,290,139
0
0
null
null
null
null
UTF-8
Python
false
false
10,958
py
import discord from discord.ext import commands from discord.ext.commands import formatter import sys import re import inspect import itertools import traceback empty = u'\u200b' _mentions_transforms = { '@everyone': '@\u200beveryone', '@here': '@\u200bhere' } def rewrite(): return discord.version_inf...
[ "inkxthesquid@mail.com" ]
inkxthesquid@mail.com
8090c20bccf212d15cf84a33921731317bd42fbf
969675dd8c44c5897f9113d982e87b08bd38353f
/EAD/aspace_migration/post_digital_objects.py
285df46dceac1f2046fdccfcbb5a30a3bade53d9
[]
no_license
bentley-historical-library/archivesspace_migration
571b087dae3457329d4157351e7d037454550192
84b508f4f14aeb84b0efeebf4c00532122972771
refs/heads/master
2016-08-11T21:49:03.958670
2016-04-04T12:53:43
2016-04-04T12:53:43
52,303,628
0
1
null
2016-04-04T12:53:44
2016-02-22T20:34:02
Python
UTF-8
Python
false
false
9,556
py
import requests from lxml import etree import os from os.path import join import json import re import csv import urlparse import urllib2 import uuid import getpass import time def post_digital_objects(ead_dir, digital_objects_dir, dspace_mets_dir, aspace_url, username, password,delete_csvs=False): if not os.path...
[ "djpillen@umich.edu" ]
djpillen@umich.edu
03c6e0153ad4f0cfa7f2fcabcc34786572fbc82e
6f3140e1b0ab08930c31d9f36e85ffbb1b78e92b
/apps/teams/urls.py
535dc43dbf8e86e0d24523be0305e46b20be5a85
[]
no_license
RossLote/propertymanager
337660ff05dfe99947873d1ddc3f786372eb41e6
d0f30a3156307249a04c4ffaa0eea83b4512b9cd
refs/heads/master
2021-01-10T15:28:20.396760
2016-02-15T09:21:43
2016-02-15T09:21:43
52,165,971
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
from django.conf.urls import url from . import views urlpatterns = [ # url(r'^$', views.TeamsListView.as_view(), name='list'), ]
[ "rosslote@gmail.com" ]
rosslote@gmail.com
2290f2fe24175f18adb69573d33225ba9b6bbf96
fba6e390dd9a91109cb6ee81b418c59d10af9d8a
/Implementing a Planning Search/my_air_cargo_problems.py
cc089f0ad465fbf332e9ce175743f609cad799bc
[]
no_license
ExtremeGenerationIT/Artificial-Intelligence
8c5d056ac19cf4656b87ee22d527f1c479c8c596
c56db6b4aef69855c3fdc43d392edef7d7044fab
refs/heads/master
2021-01-21T17:29:56.653106
2017-11-26T16:49:42
2017-11-26T16:49:42
91,956,673
0
0
null
null
null
null
UTF-8
Python
false
false
11,868
py
from aimacode.logic import PropKB from aimacode.planning import Action from aimacode.search import ( Node, Problem, ) from aimacode.utils import expr from lp_utils import ( FluentState, encode_state, decode_state, ) from my_planning_graph import PlanningGraph from functools import lru_cache class AirCargoPro...
[ "noreply@github.com" ]
ExtremeGenerationIT.noreply@github.com
93fdfd28e2583d1f9ebae34e83d4595222d66227
d09b20bfd71c82dd8c19201c2d84254e1ea9a3a7
/iotpy/splashscreen.py
5fa9a38eb21799cbe14e449c9e329bf7fcbeb3b6
[ "MIT" ]
permissive
panManfredini/IOTpy
a5790a54ecfcf856feb6be95a41fb9c32eb60fda
dbe382d37035b4bd66d76333bf1dcf800af76a43
refs/heads/main
2023-05-17T17:45:33.263396
2021-06-10T09:26:28
2021-06-10T09:26:28
305,758,389
0
0
null
2020-10-28T18:33:55
2020-10-20T15:49:35
Python
UTF-8
Python
false
false
570
py
splashscreen = """\n\n ***************************************** * * * * * IOTpy * ...
[ "pan.manfredini@gmail.com" ]
pan.manfredini@gmail.com
64d4abdb227b51cbc78882cd5754188c72f80b1e
9e0659a9c8417d64355d428583c81073548517ac
/Voice-Recognition/voice.py
8fa1d45660f562527f867c3eca67005b65cccab8
[]
no_license
errpv78/Scene-Depiction
1304550efcd4b6db32c839cc0ff58745056cb694
078392901cf9c051116026dcfd905c50a7cceeb8
refs/heads/master
2023-01-08T07:32:13.924760
2020-11-17T04:40:29
2020-11-17T04:40:29
288,084,310
1
0
null
2020-11-02T10:34:53
2020-08-17T04:37:24
Jupyter Notebook
UTF-8
Python
false
false
415
py
# Using SpeechRecognition from pynput.keyboard import Key, Controller import speech_recognition as sr r = sr.Recognizer() keyboard = Controller() # r.recognize_google() mic = sr.Microphone() with mic as source: audio = r.listen(source) try: query = r.recognize_google(audio) print(query) keyboard.press(...
[ "parikhgoyal13@gmail.com" ]
parikhgoyal13@gmail.com
87158830bce904828ce8e203db90dabce46c3f4c
248190817aaf1cc2c0bfc5a1344130c7027e86ce
/src/loyers/migrations/0006_auto_20160710_0721.py
ac86e849622f3c7a4cdfb97dbb868f012a223ace
[]
no_license
ouhouhsami/loyer-api
9ec99e3506c766c99e3ec49f78509bf223b9ad9b
3345308f4c005ce2dd97e4264317ab44aaa8257b
refs/heads/master
2020-04-06T06:58:24.078949
2016-09-02T10:37:37
2016-09-02T10:37:37
63,017,827
0
0
null
null
null
null
UTF-8
Python
false
false
4,309
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-10 07:21 from __future__ import unicode_literals from django.db import migrations def transfer(apps, schema_editor): Loyer = apps.get_model("loyers", "Loyer") Observatory = apps.get_model("loyers", "Observatory") Agglomeration = apps.get_model...
[ "samuel.goldszmidt@gmail.com" ]
samuel.goldszmidt@gmail.com
c9df50cdb48d32427e35b390bad7889adff5d66c
d8e9b245973bd742d0c25e4cae76c7b0a9640ebe
/calc1.py
6adddb78ef7b2784e0f020f1178cea6be1147db7
[]
no_license
Vikas1233321/Project1
245c851540a5ce51db82709a04e1aaf12a46b127
af9bcf78138c0d354cc6faba2ccc43b091209bec
refs/heads/master
2021-03-03T16:27:18.834633
2020-03-09T11:23:23
2020-03-09T11:23:23
245,973,417
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
def add(x, y): """add function""" pass def subtract(x, y): """Subtract Function""" return x - y
[ "vi12@in.ibm.com" ]
vi12@in.ibm.com
1d2ef80120f2a20c97ea62068f073c5fff3be405
00e1beb7980b2e9246433f7304a30624290a1670
/mediumlevel.py
e5ba3fc6a3f34acc6169d04cd43b68703e2965db
[]
no_license
brettmcdowell/SimpleGame
13da4ad23a75d55a9889f7c43e5483d563068c7b
2d6d997d951a83a6abd929a7ffdd9548e90f6f00
refs/heads/main
2023-01-14T17:38:32.074649
2020-11-18T09:43:40
2020-11-18T09:43:40
312,881,813
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
import sys import pygame from player import Human_Player from screen import Screen from game import Game, HardGame from main import play_game if __name__ == "__main__": pygame.init() screen = Screen() player = Human_Player(screen.width/2, screen.height-100) game = HardGame(max_enemies=15) play_gam...
[ "noreply@github.com" ]
brettmcdowell.noreply@github.com
a80c321de193ab741a4881d2d2c49543455c03b1
1d30f51c4434d7ba90387d9caf838e590d87c991
/venv/bin/pip3
0339d8bfbd540e3888efe5a7b4fbbacee9a00ecc
[]
no_license
eewig/parsing_zno
ce035be7c36c3670ce9d4ed715cc82e7fe6cfa24
c1bbff87bac6292905e909fdc174ee4e5a4ce1ab
refs/heads/master
2022-02-14T10:51:14.868560
2019-07-30T17:45:06
2019-07-30T17:45:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
#!/home/alex/PycharmProjects/parsing_zno/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "alosha.alosh@ukr.net" ]
alosha.alosh@ukr.net