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 220
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 257
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b589561a43da25d1488e6df1ed498a404fc4c4c2 | 696b8436e158b5cafb9f7b284fd4be19839daba1 | /venv/Scripts/pip3-script.py | 631385b277812037ef2417c8f97e0983e3e59909 | [] | no_license | alexzhukovwork/GraphicEditor | bc6742d870fda1138eb7d27c76a0262355f2ac9a | b43bfb7c86ebc7ae8baefcf95aa3334dbb7c8dd0 | refs/heads/master | 2020-04-07T14:45:21.150110 | 2020-04-06T11:31:08 | 2020-04-06T11:31:08 | 158,459,867 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 407 | py | #!D:\GraphicEditor\QTGraphicEditor\venv\Scripts\python.exe
# 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])
... | [
"alexzhukovwork@yandex.ru"
] | alexzhukovwork@yandex.ru |
ae826f84a28f60703dfd8b7a588908ab5afe9b35 | 660e268c396726e01047ba5d306a550c4f861562 | /users/serializers.py | e9da2f526f220daf68449970dd938cd669d2fa02 | [] | no_license | elunicorom/frikr | 3397a93b6c9959c1b775cb103e993521d178a0e4 | 06e596a4f0107ff1c7dfca5c14ea205821ffb97a | refs/heads/master | 2020-01-23T21:58:07.383486 | 2016-12-20T21:51:40 | 2016-12-20T21:51:40 | 74,724,643 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,608 | py | # -*- coding: utf-8 -*-
from rest_framework import serializers
from django.contrib.auth.models import User
class UserSerializer(serializers.Serializer):
id=serializers.ReadOnlyField() # solo lectura
first_name=serializers.CharField()
last_name=serializers.CharField()
username=serializers.CharField()
email=serial... | [
"barsa_real_31@hotmail.com"
] | barsa_real_31@hotmail.com |
bc730a8da9729cbccb9fe2bd4763e6dd87f15209 | 810791df9beb0e7b8cb6eedb18649e9f193f62e9 | /TreeCategories/settings.py | 1f10c77caca4d2a4ff53cda84c680e202c222a48 | [] | no_license | BritishAirlines/CategoryTree | 76016214a3fae9aab6a4068aa7bee73acfe8eaa4 | 135fc0f8128616ef133dcc29ec30edffd69f8b63 | refs/heads/main | 2023-01-23T05:43:19.729372 | 2020-11-26T13:34:44 | 2020-11-26T13:34:44 | 315,663,158 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,385 | py | """
Django settings for TreeCategories 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 ... | [
"ilya_brykau@epam.com"
] | ilya_brykau@epam.com |
625503a03627d64011aea425012ca81ad2393fa7 | ddc3d2502a4a579324f289f36076b1c8148ac49b | /ngram_viewer_app/urls.py | ce2c07d8afd7bc031e7ae15afe7318875f3924a5 | [] | no_license | Chitz/Ngram-Viewer | fdab6956dcb6d3eb77510e467607c10fff628de7 | f071eff0b1af45cd47440e7cb17987652591d0e6 | refs/heads/master | 2020-12-31T00:29:57.090042 | 2017-03-20T07:30:41 | 2017-03-20T07:30:41 | 85,506,556 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 128 | py | from django.conf.urls import url
from ngram_viewer_app import views
urlpatterns = [
url(r'^$', views.get, name = "get"),
] | [
"chiteshtewani@gmail.com"
] | chiteshtewani@gmail.com |
f3ed7239fcf50a6d20f734ebe24f87aa0ad4b72f | edf44e3ef936cc3afad5226f788462d166c997be | /linearSolvers/AMORE.py | 510933d06e349a984b927035c10fed20d24bf7ea | [
"MIT"
] | permissive | Computational-Mathematics-Research/MOFEM | b9c473eb3d5770f1d7a33cc705ccb5ffcb21ced2 | 6ed2ea5b7a8fbb1f8f0954636f6326c706da302c | refs/heads/master | 2022-09-12T14:00:42.476935 | 2020-05-29T01:49:50 | 2020-05-29T01:49:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 54,873 | py | # The AMORE scheme for linear problems.
import numpy as np
import math
import scipy
# from sksparse.cholmod import cholesky # It works.
from scipy.sparse.linalg import spsolve
import time
import sys, os
sys.path.append(os.path.dirname(sys.path[0]))
from elementLibrary import stiffnessMatrix, shapeFunction, invShapeFun... | [
"jun-bin_huang@outlook.com"
] | jun-bin_huang@outlook.com |
4135bcf778ec0432ade7263d9e8d322bbbc7a395 | f4df91e2fb285f9582af7f969243cbbd5397adf4 | /dict_flattener.py | db4cb35f9c45eb1022f2c71f78830259c309c9d0 | [] | no_license | Pinozerg/lama_scripts | cedd5523cef5cd172d9f18b47d3697f6d85b26a8 | 1fec86869d540bbc3cbb3885d81f7fe1fa5c173f | refs/heads/master | 2021-02-27T19:09:05.508133 | 2020-03-23T10:02:09 | 2020-03-23T10:02:09 | 245,628,946 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | #! python3
# dict, nested dict tranformed into text lines
def dict_flattener_v3(nested_dictionary, line_prefix='', key_separator='__', value_prefix='='):
if isinstance(nested_dictionary, dict):
for k, v in nested_dictionary.items():
yield from dict_flattener_v3(v, line_prefix=line_prefix ... | [
"noreply@github.com"
] | Pinozerg.noreply@github.com |
d78b8ac24c093f12b1ac5b5411620c0f589fe4cc | 89a90707983bdd1ae253f7c59cd4b7543c9eda7e | /fluent_python/attic/strings-bytes/plane_count.py | dac414b93c5d84ddd35ad15b932051af53a9aa7a | [] | no_license | timothyshull/python_reference_code | 692a7c29608cadfd46a6cc409a000023e95b9458 | f3e2205dd070fd3210316f5f470d371950945028 | refs/heads/master | 2021-01-22T20:44:07.018811 | 2017-03-17T19:17:22 | 2017-03-17T19:17:22 | 85,346,735 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 349 | py | import sys
from unicodedata import name
total_count = 0
bmp_count = 0
for i in range(sys.maxunicode):
char = chr(i)
char_name = name(char, None)
if char_name is None:
continue
total_count += 1
if i <= 0xffff:
bmp_count += 1
print(total_count, bmp_count, bmp_count / total_count, bm... | [
"timothyshull@gmail.com"
] | timothyshull@gmail.com |
0e7f752c591d0d5b8b50eace5d57f26fe33d84f2 | c0aa93101a21877f79cdd90c28321f50a80ae6f3 | /core/models/st_gcn/ops/graph.py | 7bf7486ee9f8ac5c6340866e60b58de950e8b46a | [] | no_license | chuangg/Foley-Music | a9c4bc1721db42fbdd5d86d531175a7e4cc31093 | dcc2638fddad0c268a70510f698ec8d86e6a4cae | refs/heads/main | 2023-01-31T01:42:01.787289 | 2020-12-15T05:21:11 | 2020-12-15T05:21:11 | 321,561,725 | 39 | 8 | null | null | null | null | UTF-8 | Python | false | false | 9,325 | py | import numpy as np
class Graph():
""" The Graph to model the skeletons extracted by the openpose
Args:
strategy (string): must be one of the follow candidates
- uniform: Uniform Labeling
- distance: Distance Partitioning
- spatial: Spatial Configuration
For more inform... | [
"ganchuang1990@gmail.com"
] | ganchuang1990@gmail.com |
3f6f3c360fb85b42a63ded6ebad5f08d50c847a6 | d618bcfbac15840a9f6f3c5971e718aaf425fc06 | /upload_server/settings.py | 5b620241fc4a07bd918551aec984f2ac393c5359 | [] | no_license | mingyuLi97/upload_server | 825d605df9d2c7c72a17ce78a0f55bd3c9d6c1bb | 6fc26190df235530a21396004d38d3d2c03086bd | refs/heads/master | 2020-09-28T22:02:37.606321 | 2019-12-12T06:04:42 | 2019-12-12T06:04:42 | 226,875,132 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,218 | py | """
Django settings for upload_server project.
Generated by 'django-admin startproject' using Django 2.0.
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/
"""
import o... | [
"1154479896@qq.com"
] | 1154479896@qq.com |
3891f5f8d8f95e10516ee69ee0954f024ea8f52c | e30c8ac00382257e261ba99127923c6e20667d15 | /LearnPythonTheHardWay/projects/ex47/setup.py | 383d9151961ff18b39962b344912c477f014bc8b | [] | no_license | binglei5367/LearningPython | ed00efbdd3a898425508806277266509c875f14b | b7392999ca053d6af7afc03ace37fac32b1cd403 | refs/heads/master | 2020-06-28T19:36:36.849971 | 2016-11-28T16:08:15 | 2016-11-28T16:08:15 | 74,479,205 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 384 | py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'ex47',
'author': 'S e e k',
'url': 'URL to get it at.',
'download_url': 'Where to download it.',
'author_email': '15327700930m0@sina.cn',
'version': '0.1',
'install_requires': ['nose'],
'packages... | [
"15327700930m0@sina.cn"
] | 15327700930m0@sina.cn |
692a05ab93258f57e88c08a76b28e892501d2e9f | 9083176d4e7f27cdf579fe20f0e473a2b1a19f81 | /fcw.py | 3c0e39d72ed4a7532ef26e5d6a07450b78d204d2 | [
"MIT"
] | permissive | lxxxxl/FeedlyClient | e4b164b37dadaac4cdf0eacea0a0eab222186655 | 5b23cf78085290fe06b7bd962056e080c45e8142 | refs/heads/master | 2020-12-28T09:38:02.526991 | 2020-02-06T18:08:38 | 2020-02-06T18:08:38 | 238,271,610 | 0 | 0 | MIT | 2020-02-04T18:05:07 | 2020-02-04T18:05:07 | null | UTF-8 | Python | false | false | 4,453 | py | from client import FeedlyClient
import webbrowser
from bottle import template
import json
import datetime
import re
import pdfkit
import signal
class FeedlyClientWrapper(object):
config_filename = 'config.json'
config = None
feedly_client = None
sandbox = False
sigint_received = False
... | [
"lxxxxl"
] | lxxxxl |
065653bd83e3294aa3c38f6cf48f8ece93f51edd | 854da1bbabc83d4506febe01932177f54f163399 | /extapps/xadmin/plugins/ueditor.py | 745f7814a207baf3ee53f697922cb502bb541560 | [] | no_license | RainysLiu/XinJuKe | abdefbf67513f5192e5716ebf547e0797a86af6f | 9decde1fe5e6020d31e18264795d640c9ff77383 | refs/heads/master | 2021-07-18T13:59:05.414626 | 2020-07-01T12:36:22 | 2020-07-01T12:36:22 | 188,654,087 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,388 | py | import xadmin
from xadmin.views import (
BaseAdminPlugin,
CreateAdminView,
ModelFormAdminView,
UpdateAdminView,
)
from DjangoUeditor.models import UEditorField
from DjangoUeditor.widgets import UEditorWidget
from django.conf import settings
class XadminUEditorWidget(UEditorWidget):
def __init__(se... | [
"1072799939@qq.com"
] | 1072799939@qq.com |
edfd6ac4b0788da0fffdf589b84ea891b80d16d4 | 0e37ae346ccf5704493e72ed075a2ba3a8d3650d | /finals/csit2/xpl.py | 3c5bb6315edbc3f3b77442c2abe9c615d91f6455 | [] | no_license | rootkie/xctf2017-writeups | 8afb1ed18a1a1b8f3c1061da3873ec425277f0ac | 49f56e12778d0d8377bd208a3d10b6daf1ed7e54 | refs/heads/master | 2021-03-27T13:44:05.132570 | 2017-08-01T14:17:40 | 2017-08-01T14:17:40 | 91,338,964 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,179 | py | from pwn import *
import sys
LOCAL = True
HOST = '128.199.72.218'
PORT = 12345
def add(s):
r.sendline('add '+ s)
def show(idx):
r.sendline('show ' + str(idx))
#data = r.recvuntil('>')
#return data
def copy(fr,to):
r.sendline('copy '+str(fr)+' '+str(to))
#r.recvuntil('>')
def exploi... | [
"rkxuanfeng@gmail.com"
] | rkxuanfeng@gmail.com |
74e261b28d77cb52dec221a193a9542e8d5192a4 | 1aeaeaac5c8a66ad4cb940d0d6061e961609265e | /test_train.py | 97cd3eca250cf73c9f9fe0b88ac698d2c0a16a8c | [] | no_license | zxc916443179/STAE-abnormal-detection | c6fa378f0e83a423ebe9d681378c972a8a11a12f | edfc367123dce6568e5321611cbe066198e0ad90 | refs/heads/master | 2020-04-17T21:30:08.689440 | 2019-01-22T11:58:05 | 2019-01-22T11:58:05 | 166,952,712 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,540 | py | import tensorflow as tf
import os
import sys
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
LOG_DIR = os.path.join(ROOT_DIR, 'log')
if not os.path.isdir(LOG_DIR):
os.makedirs(LOG_DIR, exist_ok=True)
sys.path.append(ROOT_DIR)
import model, processing
LOG_FOUT = open(os.path.join(LOG_DIR, 'train_log.txt'), 'w... | [
"zxc916443179@163.com"
] | zxc916443179@163.com |
3024ec90b32cad54c5e971139ce41b32e6777f5b | 5c53ab863965041a45e91b64aedf0dd52118496f | /ocrtoc_motion_planning/scripts/one_shot_grasp_with_object_pose_server.py | 4e506662cc6c46eabbb4f6ac9cd096ef73f9423f | [] | no_license | MiaoDragon/ocrtoc_motion_planning | 70fe04538600a39b5d321afa1fa9902800721627 | c32542c5f37b84c8555b475c0cf07f2fc453ab5e | refs/heads/master | 2023-02-27T02:04:39.688302 | 2021-02-03T22:23:18 | 2021-02-03T22:23:18 | 291,616,166 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,966 | py | #!/usr/bin/env python
from __future__ import print_function
from motion_planning.srv import OneShotGraspPlanWithObjectPose, OneShotGraspPlanWithObjectPoseResponse
from motion_planning_functions import one_shot_grasp_with_object_pose
from trajectory_msgs.msg import JointTrajectory, JointTrajectoryPoint
from control_m... | [
"innocentmyl@gmail.com"
] | innocentmyl@gmail.com |
dc51cca1327c27bef64e3434b98898b1bda20d4d | 62e58c051128baef9452e7e0eb0b5a83367add26 | /edifact/D03B/CUSEXPD03BUN.py | 15e7b3ed5e7dda7f9d69367842f3c0e6d1a041dc | [] | no_license | dougvanhorn/bots-grammars | 2eb6c0a6b5231c14a6faf194b932aa614809076c | 09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d | refs/heads/master | 2021-05-16T12:55:58.022904 | 2019-05-17T15:22:23 | 2019-05-17T15:22:23 | 105,274,633 | 0 | 0 | null | 2017-09-29T13:21:21 | 2017-09-29T13:21:21 | null | UTF-8 | Python | false | false | 2,519 | py | #Generated by bots open source edi translator from UN-docs.
from bots.botsconfig import *
from edifact import syntax
from recordsD03BUN import recorddefs
structure = [
{ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [
{ID: 'BGM', MIN: 1, MAX: 1},
{ID: 'DTM', MIN: 0, MAX: 5},
{ID: 'LOC', MIN: 0, MAX: 5},
{ID: 'CNT'... | [
"jason.capriotti@gmail.com"
] | jason.capriotti@gmail.com |
bbdca6c4a8306d84b8821edbff3a1ccaaf6b8713 | 1edbae33d73cd2bd189530ce116d733cb1add3c8 | /EChat/wsgi.py | e19f0c995375cd3a00f093117b89e04c25a0940a | [] | no_license | Nereus-Minos/EChatNow | 8f922e01fd71758a84e7e0ce519449bdab682836 | 1a4161b3e2a80ef71d911eb47060e7203a59813d | refs/heads/master | 2020-06-10T14:11:10.333210 | 2019-06-29T00:55:57 | 2019-06-29T00:55:57 | 193,655,033 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 387 | py | """
WSGI config for EChat project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTING... | [
"1328856085@qq.com"
] | 1328856085@qq.com |
4b7e502e87dd289be7683e1984debce1217b294d | ed6625148299e759f39359db9f932dd391b8e86f | /personal_env/lib/python3.8/site-packages/pylint/checkers/logging.py | b8661fdfccc31adbf385fa3341e90f8938745c63 | [
"MIT"
] | permissive | jestinmwilson/personal-website | 128c4717b21fa6fff9df8295b1137f32bbe44b55 | 6e47a7f33ed3b1ca5c1d42c89c5380d22992ed74 | refs/heads/main | 2023-08-28T11:31:07.916714 | 2021-10-14T09:41:13 | 2021-10-14T09:41:13 | 414,847,553 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,334 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2009-2011, 2013-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
# Copyright (c) 2009, 2012, 2014 Google, Inc.
# Copyright (c) 2012 Mike Bryant <leachim@leachim.info>
# Copyright (c) 2014 Brett Cannon <brett@python.org>
# Copyright (c) 2014 Arun Persaud <arun@nubati.ne... | [
"noreply@github.com"
] | jestinmwilson.noreply@github.com |
e0354a074c35bf415297f6963026d64d5812ad18 | c28e98131b006f7664b9788f19734aa8eb7d1ece | /Calvin/deepmnist.py | 8e7b685084a79fb877876c126dbea1729efc587f | [] | no_license | puskasmate/Prog2_forrasok | f589b9454e26cc3baf74e071419c6fa771846d7d | 853131e56ea77b899bc2de9054b0cca3fef5a7bf | refs/heads/master | 2020-09-19T18:37:24.970748 | 2019-11-26T19:08:28 | 2019-11-26T19:08:28 | 224,265,289 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,110 | py | """A deep MNIST classifier using convolutional layers.
See extensive documentation at
https://www.tensorflow.org/get_started/mnist/pros
"""
# Disable linter warnings to maintain consistency with tutorial.
# pylint: disable=invalid-name
# pylint: disable=g-bad-import-order
from __future__ import absolute_import
from __... | [
"puskasmate2000@gmail.com"
] | puskasmate2000@gmail.com |
f0ac7f36ebe9a2ecc3df8f36c5b37c55347462fa | cec10c52b4f879161928da88ed9294007874f50f | /libs/configs/cfgs_fcos_coco_res50_1x_v3.py | a950340aa0304fd7c7051b6c4b5437e073af1639 | [
"MIT"
] | permissive | g-thebest/FCOS_Tensorflow | 676ea7ec358de248860238c0c00817dd6176bfb7 | b39b621c9a84dcb4baad25637e7758dcd31707f5 | refs/heads/master | 2021-11-04T21:39:47.093239 | 2019-04-28T09:25:26 | 2019-04-28T09:25:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,115 | py | # -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
import os
import math
import tensorflow as tf
import numpy as np
# ------------------------------------------------
VERSION = 'FCOS_Res50_20190427'
NET_NAME = 'resnet50_v1d' # 'resnet_v1_50'
ADD_BOX_IN_TENSORBOARD = True
# ----... | [
"yangxue@megvii.com"
] | yangxue@megvii.com |
8be1160af684daaf374ea320ee7eae6bce15e6f0 | f44084804739a9b1c2952624d9dfe3c248bb7700 | /Facial/convert_csv2gray.py | 89281a289c07a74f18c806c51d1ac34a0b49ca4b | [] | no_license | jmnie/DeepGlint-Work | b83c4e5dbe9718254be24e89ca34f2f367124e0d | 7a7739f8f2ab21d180ad00b9c4a2fc0a79dc1e40 | refs/heads/master | 2020-03-17T12:34:23.649144 | 2018-07-25T09:56:44 | 2018-07-25T09:56:44 | 133,594,372 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,137 | py | # -*- coding: utf-8 -*-
import csv
import os
from PIL import Image
import numpy as np
datasets_path = r'.\datasets'
train_csv = os.path.join(datasets_path, 'train.csv')
val_csv = os.path.join(datasets_path, 'val.csv')
test_csv = os.path.join(datasets_path, 'test.csv')
train_set = os.path.join(datasets_path, 'train')... | [
"jiaming.nie13@gmail.com"
] | jiaming.nie13@gmail.com |
8706f15c31d0c88f51da90fa5368df63aa62b52c | 8ae9849c50e9a552de5342e023ad80bb5f45bbc7 | /gigasecond/gigasecond_test.py | 99f0d3f8ead9428df05f882f8715bc0c9e2e8f0f | [] | no_license | smbsimon/python-practice | bf2c287371167568ae32ecf5b5f7b006c7b71a62 | 62e694d7fd497bd2d09e7deffd705937c0fbad22 | refs/heads/master | 2016-09-11T02:59:40.377743 | 2015-05-29T03:25:44 | 2015-05-29T03:25:44 | 35,074,413 | 3 | 3 | null | null | null | null | UTF-8 | Python | false | false | 972 | py | from datetime import datetime
import unittest
from gigasecond import add_gigasecond
class GigasecondTest(unittest.TestCase):
def test_1(self):
self.assertEqual(
datetime(2043, 1, 1, 1, 46, 40),
add_gigasecond(datetime(2011, 4, 25))
)
def test_2(self):
self.ass... | [
"smbsimon@gmail.com"
] | smbsimon@gmail.com |
2b7b0c03769197c728e027963b851c9584041103 | 3d5c6d8e24dd8905e70d8a9d76d5019912123627 | /Python/02_DataEngineering/Pandas/04_read_clipboard.py | 361cf33eea2299ab955a00cc48f40392d4e6fe1f | [] | no_license | xiaolongjia/techTrees | 5c684bbf77b0800a4dd946b3739114d7d15fb9e3 | 86bc4d3466d648caa93f8591619b5ca3b06a6470 | refs/heads/master | 2023-03-16T11:29:46.866850 | 2022-02-19T16:26:45 | 2022-02-19T16:26:45 | 235,251,689 | 0 | 0 | null | 2023-03-07T10:04:50 | 2020-01-21T03:55:13 | HTML | UTF-8 | Python | false | false | 442 | py | #!C:\Anaconda3\python.exe
import numpy as np
import pandas as pd
import os
cp = pd.read_clipboard(sep='\t')
print(cp)
cp.to_json('df.json', orient='records', lines=True)
os.remove("./df.json")
# Data
textMatrix = [("Earth", "Sphere", "Geoid"), ("Matter", "Particle", "Wave"), ("Magnet", "Flex", "Electricity")];
# ... | [
"jiaxiaolong@gmail.com"
] | jiaxiaolong@gmail.com |
2eceb12bbf0a752e6c08467492c21b7d4620cbc5 | d91f23534d9af0128011d38132dbefd8b508f1c1 | /trade_algorithm/multi_algo_simple_20180709.py | 4528cab760c004a0c372c59d2c89bfbdd34ccea4 | [] | no_license | tomoyanp/oanda_dev | 06bd904cd0d60e072a0627a81b1db384e1e292a5 | c35da11f30e6b4160d16f768ce5d8d0714c2b55d | refs/heads/master | 2021-01-10T22:55:51.639812 | 2018-08-21T01:03:27 | 2018-08-21T01:03:27 | 70,463,447 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,729 | py | # coding: utf-8
####################################################
# Trade Decision
# trade timing: at 13, 14, 15, 20, 21 o'clock
# if endprice over bollinger band 2sigma 2 times
# stoploss rate: 20pips
# takeprofit rate: 50pips
####################################################
from super_algo import SuperAlgo
f... | [
"tomoyanpy@gmail.com"
] | tomoyanpy@gmail.com |
addc002a7f3d8d394abb90d6c6298ef91d7d0c55 | a075b20c2c7bee1655c30bd5d2c1c3634755bd48 | /utils.py | 8bb0b9c56833eab7a2fa5d85081e2c4f9b7a83fd | [] | no_license | gitter-badger/style-transfer | 96d4b337c662055cb275dadf3846c58ab5227252 | e7518d6a718d06c5f537602307ffa37abaa58a15 | refs/heads/master | 2021-01-20T10:18:32.335649 | 2017-08-28T06:45:13 | 2017-08-28T06:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,890 | py | import scipy.misc, numpy as np, os, sys
from shutil import rmtree, move
import tensorflow as tf
from PIL import Image
import glob, random, bcolz
from six.moves import urllib as six_urllib
try:
import urllib2 as urllib
except ImportError:
import urllib.request as urllib
from collections import OrderedDict
import... | [
"noreply@github.com"
] | gitter-badger.noreply@github.com |
90ebd3affb72458dc57353b0c7de189c1bd3b8ad | c0ef6f25dc158e69e3d5cf056cd864eb2a8d2f7f | /src/needs refactoring/flyingcarpet.install_gh_releases.py | 7e4da93ef2afb166b0eb86fb85311fb6c9ad5c4c | [] | no_license | Starz0r/ChocolateyPackagingScripts | 6db8bdbd9cb5c6bdf663b82251e430e3d015b7c2 | 29cd7b4a1e8369c265f85915d9351cf6c89e1975 | refs/heads/master | 2023-05-28T07:01:35.233880 | 2023-05-15T22:03:10 | 2023-05-15T22:03:10 | 244,997,143 | 4 | 2 | null | 2022-12-08T07:44:39 | 2020-03-04T20:27:53 | Python | UTF-8 | Python | false | false | 2,918 | py | import os
import io
import tempfile
import subprocess
import checksum
from pathlib import Path
from string import Template
from common.common import find_and_replace_templates
from common.common import abort_on_nonzero
from common.common import get_correct_release_asset
from github import Github
def main():
# i... | [
"starz0r@starz0r.com"
] | starz0r@starz0r.com |
6edf173e645aa482d70942d9c14aeff463c3997c | 6a5ce7d885db1baa5a9d43b26f0ae623a5ef0f01 | /azure-mgmt-network/azure/mgmt/network/operations/virtual_networks_operations.py | 1456322d7c77268112526c588cb0e745cae281e7 | [
"Apache-2.0"
] | permissive | JammyBrand82/azure-sdk-for-python | 333af194ff9143ec77f49203a5a71f15c399f278 | c65e189cd41bd3464556b17bfcdee1303867996c | refs/heads/master | 2021-01-17T18:31:10.661151 | 2016-03-17T21:03:08 | 2016-03-17T21:03:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,268 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of ... | [
"lmazuel@microsoft.com"
] | lmazuel@microsoft.com |
593284d3bb1f3982f388cb411d8df955f615f388 | 442487f384070c6e23b0b30d40113e111a8cfa01 | /ChessMain.py | 6984bb7ab6aefb2c5c12deb091b70d275fbb51cc | [] | no_license | xelathan/ChessPython | df800e88a070fca8e57925d347ae5da0616b0901 | f4ec33784d58a9e0190d65071ffeeedc2cb30623 | refs/heads/master | 2023-07-27T06:32:58.026874 | 2021-09-08T20:31:07 | 2021-09-08T20:31:07 | 402,913,574 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,809 | py | """
driver file - handles user input and displays current GameState object
"""
import sys
import pygame as p
import pygame.image
import ChessEngine
WIDTH = HEIGHT = 512
DIMENSION = 8 #Chessboard 8x8
SQ_SIZE = HEIGHT // DIMENSION #Size of squares
MAX_FPS = 15 #For animations
IMAGES = {}
"""
Load Images - init... | [
"alex.t.tran@gmail.com"
] | alex.t.tran@gmail.com |
af154728bd515ec99a95eaccb6c8f24f5d068a0c | e4b2ffb898f199765aa5d565767b865cd67b9be8 | /d006.py | 80f3fe437b9ad3fe23b5f8c31bab2827832ffbbd | [] | no_license | sh9in4/paiza_D-rank | d9735da6f3beece2eb39188cbc1f54629c854ca0 | cde1a976b44e6e7816b770a8237b7e8bee75225a | refs/heads/master | 2022-07-26T17:09:13.258464 | 2020-05-24T16:40:42 | 2020-05-24T16:40:42 | 265,299,320 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 136 | py | n,s = map(str,input().split(" "))
if s=="km":
print(int(n)*1000000)
elif s=="m":
print(int(n)*1000)
else:
print(int(n)*10)
| [
"65352081+sh9in4@users.noreply.github.com"
] | 65352081+sh9in4@users.noreply.github.com |
a039c87a5a88189abe2b4e273680d7baae5b9f8b | 17268419060d62dabb6e9b9ca70742f0a5ba1494 | /pp/samples/21_add_fiber_array.py | 36357d855e4a117e710cb118a97380217da53c98 | [
"MIT"
] | permissive | TrendingTechnology/gdsfactory | a19124423b12cbbb4f35b61f33303e9a012f82e5 | c968558dba1bae7a0421bdf49dc192068147b776 | refs/heads/master | 2023-02-22T03:05:16.412440 | 2021-01-24T03:38:00 | 2021-01-24T03:38:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 365 | py | """Connecting a component with I/O.
"""
import pp
from pp.samples.big_device import big_device
def test_big_device():
component = big_device(N=10)
bend_radius = 5.0
c = pp.routing.add_fiber_array(
component, bend_radius=bend_radius, fanout_length=50.0
)
return c
if __name__ == "__main__... | [
"noreply@github.com"
] | TrendingTechnology.noreply@github.com |
35f29c45b197e4548a136c41d7327713ec3fd161 | 8ca3384f8f46d66686ad9e81718b1fcdf69d087b | /Lab4/4.2.py | b91bcaacae7875da8839f0fd1a84edb529054bc7 | [] | no_license | DudekKonrad/Python2020 | e133f417781ad2eaae5f9a8648144059375900ed | 9eea613bda6b1682dc47f086806e77ce11a41b7f | refs/heads/main | 2023-03-05T05:54:13.907396 | 2021-02-09T20:01:18 | 2021-02-09T20:01:18 | 307,467,084 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 669 | py | def draw_table():
x = input("Enter x value: ")
y = input("Enter y value: ")
top = ""
mid = ""
result = ""
for i in range(int(y)):
top += "+---"
mid += "| "
result += top + "+\n"
for i in range(int(x)):
result += mid + "|\n"
result += top + "+\n"
return result
def draw_ruler():
x = input("Enter leng... | [
"noreply@github.com"
] | DudekKonrad.noreply@github.com |
e47c7fcfa88f67e8520c7b7102a906e6aebfbad0 | e085fc94f5295c08e02cbd883b7b360ddd691306 | /ch04/simpleNet.py | b2cdabf6a93131feb53c2a21584144012b8fb9ae | [] | no_license | HarvestGuo/DeepLearn | 40b46445f31ac5b7698ee79f1f3aa18aa44add4f | 7b2e03561409fb1dd15998eba4a96422bb3e85d3 | refs/heads/master | 2022-10-22T23:50:21.973073 | 2020-05-28T10:01:48 | 2020-05-28T10:01:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 702 | py | import sys,os
sys.path.append(os.getcwd()) #父目录
import numpy as np
from common.functions import softmax,cross_entropy_error
from common.gradient import numerical_gradient
class simpleNet:
def __init__(self):
self.W=np.random.rand(2,3) #用高斯分布进行初始化
def predict(self,x):
return np.dot(x,se... | [
"yufeiran1999@gmail.com"
] | yufeiran1999@gmail.com |
a90fc3355d83895807935a549c13a581710de1b4 | f76efdb77f816b6536bdb0d218d307523f5e5d5d | /NNModel.py | bf4dc64b24d851d2c408cc31a82e26b1236856d3 | [] | no_license | maigovannon/DeepLearning | 5cf9a453f772e7b0fc88c3caac1c8c0c5ebc6636 | 6547980d53e290a3f34093010110e5721aff524a | refs/heads/master | 2021-05-12T15:25:33.653139 | 2018-01-18T17:48:31 | 2018-01-18T17:48:31 | 116,983,247 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,213 | py | from Interface import *
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from pandas import DataFrame as df
from sklearn import preprocessing
from sklearn.model_selection import train_test_split
def L_layer_model(X, Y, layer_dims, learning_rate=0.0075, num_iterations=3000, print_cost=False):
... | [
"abhinandsundar@gmail.com"
] | abhinandsundar@gmail.com |
007b4b4741e2d36de78e21ce4688e4a3f887380b | bf1b86892834cc85607ff9cc5fd878e9c8daade6 | /nested_inlines/admin.py | d1afb89e38c3b5406e9695a5ebbd3ab620539115 | [] | no_license | nino-c/nino.cc | b45c18fad9b1bed4a5f37495c9ba28ae17cfe09c | f8cc0a1c247271c1de35fbf926a96f4a98e9d511 | refs/heads/master | 2022-12-07T10:14:56.274113 | 2014-07-01T23:50:05 | 2014-07-01T23:50:05 | 21,405,517 | 2 | 0 | null | 2022-11-22T00:26:03 | 2014-07-01T23:41:00 | JavaScript | UTF-8 | Python | false | false | 16,409 | py | from django.contrib.admin.options import (ModelAdmin, InlineModelAdmin,
csrf_protect_m, models, transaction, all_valid,
PermissionDenied, unquote, escape, Http404, reverse)
# Fix to make Django 1.5 compatible, maintain backwards compatibility
try:
from django.contrib.admin.options import force_unicode
excep... | [
"root@vps-1157506-21335.manage.myhosting.com"
] | root@vps-1157506-21335.manage.myhosting.com |
ddd01a61030f24111e49e364619d2ef2c2d0cc22 | 0b417582d01ab93549fd8c344665ac26dc80120a | /core/Saver.py | 856c5f6fd38b5f8f5f66636d2a87339e429d797f | [] | no_license | mt-cly/itis | 1b8b081f1e4cd32b5cd9904c250d1fe3574dbfea | 39cfbf18579c99d50433f5414a2098f74e0bbc34 | refs/heads/master | 2022-02-17T23:27:47.209334 | 2019-08-29T07:43:46 | 2019-08-29T07:43:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,005 | py | import glob
import numpy as np
import tensorflow as tf
import pickle
from tensorflow.contrib.framework import list_variables, load_variable
from core.Log import log
class Saver:
def __init__(self, config, session):
self.session = session
max_saves_to_keep = config.int("max_saves_to_keep", 0)
self.tf_sa... | [
"¨sabarinath.mahadevan@rwth-aachen.de¨"
] | ¨sabarinath.mahadevan@rwth-aachen.de¨ |
6070e4e48e65eb12c684f7bfe90cb20eb613fe22 | 8999b1ef8c7a115e2f4de24b7271ce055d89acc4 | /usma_files/serverSide/WrathServerModel/wrath_to_kml.py | 80a04069047745cc5f7d48897e2ca7bfba9d34c1 | [
"Apache-2.0"
] | permissive | ebnerl1/usma_swarm | e76e79ea8d452045799f85d3fddb5b7c1955e316 | cb3bc7e5cb554f79c5c952f450013321d15fcca1 | refs/heads/master | 2022-11-24T22:42:06.042683 | 2020-07-29T13:46:39 | 2020-07-29T13:46:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,384 | py | #!/usr/bin/pyhton
#Malik "Herbie" Hancock 4February2020
import simplekml
import math
import time
#import gmaps
#import gmplot
#create kml
# add point, line segment
# save
from Collections import Graph
kml = None
#fig = None #gmaps.figure() #gmap is the work around for blending the heatmap
# fig is a different file ... | [
"andrew.kopeikin@usma.edu"
] | andrew.kopeikin@usma.edu |
28cdf23ba6932205fb87d039285223d685aa7c3b | edd367661e286d2a9eaea28cb181ac8b8f8d79f6 | /listas2.py | 3dac1268735b141d96ec201be3633be28e696bf9 | [] | no_license | Angelooger/Tarea-07-2 | 8bf4213e7db8da9a2a41c82a727b82d2262f9348 | 384d86a17a2860d8c162b96d5a773622328ea21f | refs/heads/master | 2021-08-14T20:14:04.007019 | 2017-11-16T17:42:51 | 2017-11-16T17:42:51 | 109,539,312 | 0 | 0 | null | 2017-11-05T00:05:54 | 2017-11-05T00:05:53 | null | UTF-8 | Python | false | false | 7,733 | py | # encondig:UTF-8
#Autor Angel Ramírez Martínez A01273759
#Descripción: Programa que realiza diferentes operaciones con listas
#Determinación de variables globales con listas.
lista1 = [1,2,3,4,5]
lista2 = []
lista3 = [5]
lista4=[1,0,3,2,8,5]
lista5=[1,1,1,2,3,4,5,6,6,6,7]
lista6=[1,2,3]
lista7=[1,3,2,4,8,6,9,7,8]
lis... | [
"angelooger@gmail.com"
] | angelooger@gmail.com |
8f6eb903f27861c546fd13331fa65729abc6dc37 | 1c5fdabf183c5eb3a9d6577049e674c3757c00db | /Блэк_Джек_4/Lucky_Jack_4_3.py | 88c2918e249e7140b7b03160d396b46a1c59a2c4 | [] | no_license | Bhaney44/Blackjack | b997b46bb92fc71f1471cf6d82048df72a32d342 | ca64e41af0669f2e364d80a206682481c2951771 | refs/heads/master | 2022-12-11T06:58:16.716447 | 2020-09-15T01:03:47 | 2020-09-15T01:03:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,628 | py | #LuckyJack
#Copyright Brian S. Haney 2020
#Import Random
#Import Prototype GUI and Data Storage Library
from tkinter import *
from tkinter.messagebox import *
import csv
#Factor Labels
master = Tk()
#Dealer
#Labels
label0 = Label(master, text = 'Dealer', relief = 'groove', width = 20)
label1 = Label(master, text = '... | [
"noreply@github.com"
] | Bhaney44.noreply@github.com |
d35dd36cfbef2715687c172d9521c17c1d3c0907 | c16d929c49092955af2841d55aa93d57989fb7d1 | /sesion_04/users/urls.py | 3ee31354b87bbf6e9894f8810682f547d69051da | [] | no_license | PilarMont/modulo-django-dw-pt-21-01 | ae4a3b97dc0cd3ec0fd6745b413e03310ea29fe4 | f606885e53ab65475ad372a512598365a54d50f9 | refs/heads/main | 2023-07-16T22:04:28.271396 | 2021-08-18T03:50:03 | 2021-08-18T03:50:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 622 | py | """Users app URLS"""
from django.urls import path
from . import views
app_name = "users"
urlpatterns = [
# Function Based Views
# path("login", views.users_login, name="login"),
# path("logout", views.users_logout, name="logout"),
# path("signup", views.sign_up, name="signup"),
# path("me", view... | [
"30444800+ultr4nerd@users.noreply.github.com"
] | 30444800+ultr4nerd@users.noreply.github.com |
ccd137343ed60e23598ec8c8ad814ccd1564fa22 | 15d5c79bc5094ab25a9d3f286bb99d30b2598cfa | /network/smurfcoin.py | 65c6b19e7bba2ca327a36fa4bfa8bfa33e4274ad | [] | no_license | jabef/clove_bounty | 1d4f660969e905fc5fc50e10273d2f2d55df0723 | b58bc10b46ba983b890d8e599fb548c7aea2695b | refs/heads/master | 2021-04-27T21:41:29.952341 | 2018-02-19T17:14:15 | 2018-02-19T17:14:15 | 122,404,779 | 0 | 0 | null | 2018-02-21T23:01:22 | 2018-02-21T23:01:21 | null | UTF-8 | Python | false | false | 373 | py | from clove.network.bitcoin import Bitcoin
class SmurfCoin(Bitcoin):
"""
Class with all the necessary SmurfCoin network information based on
https://github.com/smurfscoin/smf/blob/master/src/net.cpp
(date of access: 02/18/2018)
"""
name = 'smurfcoin'
symbols = ('SMF', )
seeds... | [
"noreply@github.com"
] | jabef.noreply@github.com |
730831214770a763d3554ee1ee2122f2b13c9e96 | b69d2ad1466704b2a49ded131b5ff64a449aa514 | /COMBINE/combine_buy_sell_book_finder.py | 2e526d411359cc70bdb0c138c81d178d97f1008f | [] | no_license | SMcDick/Buy-Sell-Books | 1cc803bbc9ed3556a0d76ce2da4f9557433ed688 | cae7dcb43bce6372cfae58336e7f84bd0f0155f5 | refs/heads/master | 2020-06-28T05:57:45.145518 | 2018-08-25T04:43:15 | 2018-08-25T04:43:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,671 | py | # -*- coding: utf-8 -*-
import glob
import os
import json
import datetime
import pytz
import re
import csv
BUY_PATH = "/home/FM/results/Trade_In/Amazon_Buy/*"
SELL_PATH = "/home/FM/results/Trade_In/Bookfinder_Sell/*"
COMBINE_PATH = "/home/FM/results/Trade_In/Combine_Amazon Buy_Bookfinder Sell"
# BUY_PATH = '/Users/Pa... | [
"umesh.pathak@logpoint.com"
] | umesh.pathak@logpoint.com |
8dca9087e171fa1b749b0a1f3bf37d20d7458830 | f201aa7b963cd6c22fabdc9c301cbf75942f5b91 | /Algorithms/Initial/snowtide_initial.py | 64e3a311dde8612554bb63d36e2a6d143d6bb7ed | [
"MIT"
] | permissive | Kanavoy/UODS | 5a4e0d5ec52e8be7467702222f3fa13767eaaf91 | 2da38b749e721b051aeaa6a7bcb3a921aeb5a09c | refs/heads/master | 2022-12-09T18:49:24.534122 | 2020-09-08T18:04:26 | 2020-09-08T18:04:26 | 286,434,948 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 744 | py | from random import uniform, randint
def set_initial(graph, opts):
mi = opts.initial.min
ma = opts.initial.max
n = range(0,opts.graph.n)
opinion = [uniform(mi, ma) for node in n]
uncertainty = [opts.initial.uncertainty for node in n]
extremists = int((len(n)*opts.initial.extreme)//1)
tolerance = [opts.initial.un... | [
"adammatthewcoates@gmail.com"
] | adammatthewcoates@gmail.com |
d4760ff4c833f78ede6feab4c7e69ea26fb96a7c | 586a67650102938663f79290f02467ad8a683b43 | /invoice/views/invoices.py | 5042e0fa85e79d4a9192a039b308238a037e447c | [] | no_license | Shokr/yalla_invoice | 64956d886a5056455e519f7c1cfaf364138609d3 | 5a668963f4cb2a42e4111d855543a680ceec90c4 | refs/heads/master | 2022-10-04T09:50:32.517524 | 2021-05-03T20:06:42 | 2021-05-03T20:06:42 | 241,491,107 | 1 | 0 | null | 2022-09-23T22:36:00 | 2020-02-18T23:38:39 | Python | UTF-8 | Python | false | false | 4,101 | py | from django.http import HttpResponseRedirect
from django.shortcuts import get_object_or_404, render
from django.urls import reverse
from django.contrib.auth.decorators import login_required
from django.contrib.auth.decorators import login_required, user_passes_test
import datetime
# Local Applications imports
from ..... | [
"mohammedshokr2014@gmail.com"
] | mohammedshokr2014@gmail.com |
c600a8797ffb79802db532d90eb401002c2cdff3 | d3b0ca56c6aa8c9976918a87597fa6e8848a8801 | /clases/MiembroCp.py | 0cac2f97963c05ad9d44e12ce06b596107a2e8b3 | [] | no_license | MichelleFernandez/Software | 9bba5de319f80f84ed0d30f4fc8b20f5fa9a93b9 | 7b9649b6ef1a826d85e7ac12e48efc8d385eab83 | refs/heads/master | 2016-09-15T23:20:48.710293 | 2013-12-21T05:13:41 | 2013-12-21T05:13:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,988 | py | #! /usr/bin/python
# ------------------------------------------------------------
# Ingenieria de Software
# Tarea 3
# Miembro_CP.py
# Clase que representa un Miembro CP.
# Autores: Michelle Fernandez, 09-10279.
# Donato Rolo, 10-10640.
# Carla Barazarte, 08-10096
# Alejandro Garbi, 08-10398
# Jose Figuere... | [
"micafe.go@gmail.com"
] | micafe.go@gmail.com |
b425e1bec71d4f7296ca73e7de4ff0aff113ea1b | c8d0adb0e306ff1b858d7ba70a5e1f9bc530058b | /backend/Wekker_API/settings/production.py | acae613e06bf8101cc3db9fb3c04636027788a3f | [] | no_license | CirXe0N/Wekker | 205ff14702988eaa6646fcb3e532065cb469c34b | 328ef409911b2a80ce3de926386c93511c6d1793 | refs/heads/master | 2021-03-27T08:49:51.140003 | 2017-03-02T11:39:37 | 2017-03-02T11:39:37 | 77,297,044 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 943 | py | from .base import *
DEBUG = False
ADMIN_ENABLED = False
ALLOWED_HOSTS = ['*']
INSTALLED_APPS += [
'storages',
]
# AWS S3 Bucket settings
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
AWS_ACCESS_KEY_ID = get_env('AWS_ACCESS_KE... | [
"dw1ls@outlook.com"
] | dw1ls@outlook.com |
d62a68b191ae65ecc775ca8247553999fe66a077 | 4d207973b555327563291377bcae629d13b82999 | /Official/main.py | 210985db369327062fe28a0be26a0f7e36ce5d8f | [] | no_license | yijaein/cnn_classification | f482366b680c645313634183be0b7b26f7e1d49e | 98bd10c7029539a9e09325c20d0b828fffdd0861 | refs/heads/master | 2020-04-25T03:08:26.222400 | 2019-06-18T00:21:31 | 2019-06-18T00:21:31 | 172,465,408 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,014 | py | import argparse
import random
import time
import warnings
import torch.backends.cudnn as cudnn
import torch.nn as nn
import torchvision.datasets as datasets
import torchvision.transforms as transforms
from PIL import Image
from Official.densenet import DenseNet
from Official.utils import *
parser = argparse.Argument... | [
"jiyi.nexys@gmail.com"
] | jiyi.nexys@gmail.com |
75a6d5e4fa9d09bca96df632809baf921651227a | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/verbs/_arousing.py | 40991d3cd0e5d6d4556cec52531935097102e368 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 240 | py |
from xai.brain.wordbase.verbs._arouse import _AROUSE
#calss header
class _AROUSING(_AROUSE, ):
def __init__(self,):
_AROUSE.__init__(self)
self.name = "AROUSING"
self.specie = 'verbs'
self.basic = "arouse"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
0a7c0c0a959a4008c1d319a8ee7af16ae421bbe7 | 2e93c1cfdc30d77aeeb289a6d063503a96b0227e | /blog/migrations/0003_auto_20161030_1304.py | 547d57358d37b81b00cf5dd605a1717b853c5935 | [] | no_license | shubhpy/DjProject | f2862de04c832bf248b5cdcb6fd5ff4b00666323 | da9510227fe9c13c5186cc6ac0e40a602a53561e | refs/heads/master | 2021-01-12T16:07:33.858392 | 2016-10-31T17:09:14 | 2016-10-31T17:09:14 | 71,944,343 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,162 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-10-30 13:04
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_employee'),
]
operations = [
... | [
"shubhpycode@gmail.com"
] | shubhpycode@gmail.com |
ebdfc114bd2251bf6944a6c88ca73df90c5fd21c | 494f8c775c0ed911ae9841215d9890129a0cf4fb | /OMP/app/__init__.py | e48239f981108e2f11e040dfb1ec37a3a7ffc5ba | [] | no_license | cmdev90/RCMS | 72e5f25ef702af601b39ae2db4a71a049a3f7cd3 | 8b75c6776e486ccecaf6bf2e6ea8e07ffd412f9a | refs/heads/master | 2021-05-28T20:10:31.542102 | 2014-12-09T03:24:10 | 2014-12-09T03:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 115 | py | from flask import Flask
# app = Flask(__name__)
app = Flask(__name__, static_url_path = "")
from app import views
| [
"nicholas.chamansingh@gmail.com"
] | nicholas.chamansingh@gmail.com |
41c70e9309c3776bec2dea935e8102a58ae2d215 | cfb4e8721137a096a23d151f2ff27240b218c34c | /mypower/matpower_ported/lib/mpoption_info_fmincon.py | 072799309556c4b95076795f10756ceb343dc4ee | [
"Apache-2.0"
] | permissive | suryo12/mypower | eaebe1d13f94c0b947a3c022a98bab936a23f5d3 | ee79dfffc057118d25f30ef85a45370dfdbab7d5 | refs/heads/master | 2022-11-25T16:30:02.643830 | 2020-08-02T13:16:20 | 2020-08-02T13:16:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 176 | py | def mpoption_info_fmincon(*args,nout=1,oc=None):
if oc == None:
from ...oc_matpower import oc_matpower
oc = oc_matpower()
return oc.mpoption_info_fmincon(*args,nout=nout)
| [
"muhammadyasirroni@gmail.com"
] | muhammadyasirroni@gmail.com |
f4d39011134f503659ec40b2af2034a888a04fd1 | 413d0b90efcc875ebac3875e1b4749b3c6018329 | /accounts/views.py | eb6dcc2c75bf2b8cb13ceac5a0508a57afd0a8ee | [] | no_license | Hythlodaeus/WeAreSocialNoMore | 231498aeb56a6bb9688626b5d4ac919ab56552a8 | 265a86ccd395a7d4cb799364938e5f6705d4d0fc | refs/heads/master | 2021-01-21T09:46:59.195722 | 2015-12-15T12:32:25 | 2015-12-15T12:32:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,325 | py | from django.contrib import messages, auth
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.shortcuts import render, redirect
from django.template.context_processors import csrf
from django.views.decorators.csrf import csrf_exempt
from accounts.forms impo... | [
"tangneyjohn@gmail.com"
] | tangneyjohn@gmail.com |
2f71d7a5fe7eae2229bf5f1af66d76a5f5e0f205 | 1a091b6222012fd0a1cfcb3ae68334e2c17b1d79 | /last_try/visualizer.py | f3f25d49a7deb8b5218e6f02c2bf70c507eb876e | [] | no_license | shubhMaheshwari/Image_Tampering | a9ff0ccda686ffda720fbbddd95b496d141aede0 | 4fccc8ce900c58092f6bd464dfe18286b0153e4d | refs/heads/master | 2021-08-07T09:52:30.763632 | 2020-04-14T12:31:24 | 2020-04-14T12:31:24 | 151,753,142 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,270 | py | import numpy as np
import os
import time
import visdom
import cv2
class Visualizer():
def __init__(self, opt):
self.opt = opt
self.vis = visdom.Visdom()
self.vis = visdom.Visdom(server=opt.display_server, port=opt.display_port)
# Loss
self.loss_list = []
self.loss_s... | [
"maheshwarishubh98@gmail.com"
] | maheshwarishubh98@gmail.com |
aff4479d37dc208ca6b04405e12454ff3bc5832c | 52467ce7f31661965a6d4267b0a8183bc3245752 | /Rectangle.py | efd7b487d14bf969a36cf736672cc1c30930ae2d | [] | no_license | samuelmckean/GeoObject-Inheritance | b1f4546d5ab8cbe7c7e01dd54e715c3c5061285d | 1591182a2f69b504fd68725d4d8625a227ee2d67 | refs/heads/master | 2020-04-07T06:30:39.968347 | 2018-03-07T06:33:52 | 2018-03-07T06:33:52 | 124,189,213 | 0 | 0 | null | 2018-03-07T06:33:53 | 2018-03-07T06:21:17 | Python | UTF-8 | Python | false | false | 815 | py | # import all data fields and methods from superclass
from GeometricObject import GeometricObject
class Rectangle(GeometricObject):
def __init__(self, width=1, height=1):
super().__init__()
self.__width = width
self.__height = height
def __str__(self):
return super()._... | [
"noreply@github.com"
] | samuelmckean.noreply@github.com |
1b72274245ff18b5551db7c3c249ebc482c5838a | 1bdbcc3954ed75574eea1af5bf49f03cce4af198 | /class_work_problems/num_to_letter.py | 815b33cda3e3d34cf20083c0ba916bd11eead0bc | [] | no_license | skreynolds/uta_cse_1309x | d73bbadb012147e6196e2320d4d635bee81d28f4 | 40c1221fdcc192fe66c7e60c636b08a8cfbebb2d | refs/heads/master | 2020-12-22T20:19:31.977554 | 2020-01-29T06:50:24 | 2020-01-29T06:50:24 | 236,921,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,664 | py | # Type your code here
n=int(input('please enter an integer between 1 and 9999: '))
units = ['','one','two','three','four','five','six','seven','eight','nine']
teens = ['','eleven','twelve','thirteen','fourteen','fifteen','sixteen', 'seventeen','eighteen','nineteen']
tens = ['','ten','twenty','thirty','forty','fifty','... | [
"shane.k.reynolds@gmail.com"
] | shane.k.reynolds@gmail.com |
83d63cde77ee5b9077e9c4b18c19102b489b45b1 | 404dafce5a75559cbc13f914fd90ec496ada7ae6 | /setup.py | 4feeaf55b950ffb64f4a41e184d4a9d6cc5235d8 | [
"MIT"
] | permissive | ppinard/django-login-otp | e81e25b77f9bdd2fced90d92a18b65d2d51091c9 | ccc40bff874eb752f2ba88b0abd6b68a13c3096f | refs/heads/master | 2023-07-10T11:19:14.741196 | 2021-08-21T10:19:56 | 2021-08-21T10:19:56 | 302,738,010 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,742 | py | #!/usr/bin/env python
# Standard library modules.
from pathlib import Path
# Third party modules.
from setuptools import setup
# Local modules.
import versioneer
# Globals and constants variables.
BASEDIR = Path(__file__).parent.resolve()
with open(BASEDIR.joinpath("README.md"), "r") as fp:
LONG_DESCRIPTION = ... | [
"Philippe.PINARD@oxinst.com"
] | Philippe.PINARD@oxinst.com |
62e40235228c53143cd46bc282718e6f767e019d | c3dc08fe8319c9d71f10473d80b055ac8132530e | /challenge-107/roger-bell-west/python/ch-1.py | e638dd33c91314e47cd0245efcf95f3d3d7ef792 | [] | no_license | southpawgeek/perlweeklychallenge-club | d4b70d9d8e4314c4dfc4cf7a60ddf457bcaa7a1e | 63fb76188e132564e50feefd2d9d5b8491568948 | refs/heads/master | 2023-01-08T19:43:56.982828 | 2022-12-26T07:13:05 | 2022-12-26T07:13:05 | 241,471,631 | 1 | 0 | null | 2020-02-18T21:30:34 | 2020-02-18T21:30:33 | null | UTF-8 | Python | false | false | 703 | py | #! /usr/bin/python3
def sdn(count):
r=list()
n=10
while len(r) < count:
ns=[int(i) for i in "{:d}".format(n)]
d=[0]*10
for i in ns:
d[i]+=1
sd=True
for i in range(len(ns)):
if d[i] != ns[i]:
sd=False
break
... | [
"roger@firedrake.org"
] | roger@firedrake.org |
57bfcec31889ced05861f4bd4a159df7e448a82b | 2fe37b71c486d4e2de6fb263d89993c9b99f0d37 | /02Backstage/Python/00Test/Basic/ObjectMore.py | 809bf5681426a69d65a912b13c9f37d2167f1f09 | [] | no_license | smart-town/MyNotes | 87cb058753163ab7df41f73389af4e31f8288a52 | 87a0e689c1dcf9a79ef1059e6332c1a89a309ecc | refs/heads/master | 2022-07-19T19:48:15.055165 | 2022-07-17T00:15:09 | 2022-07-17T00:15:09 | 160,528,670 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 705 | py | class Person(object):
def __init__(self,name,age):
self._name = name
self._age = age
@property
def name(self):
return self._name
@property
def age(self):
print("You will get age ")
return self._age
@age.setter
def age(self,age):
print... | [
"1213408659@qq.com"
] | 1213408659@qq.com |
005244a5c5d12b02f581e3def7e0800a49c4992d | 85b1d0553f9a914f7bfe9777cb4f35d7ae4244e1 | /flask_restful_demo_cookbook.py | 3beb22d6224dffc46056c6bbc0f0d0ff425cb0f2 | [] | no_license | gboleslavsky/POC_RESTful_Flask_API | 8b1769dfed410647eada00e6fa5844b39be192b8 | 7fc92558048393f496a8aaab1cd636224c076fa5 | refs/heads/master | 2021-01-10T11:21:11.015540 | 2016-02-01T14:48:09 | 2016-02-01T14:48:09 | 50,839,308 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,586 | py | #!flask/bin/python
from flask import Flask, jsonify, abort, make_response
from flask.ext.restful import Api, Resource, reqparse, fields, marshal
from flask.ext.httpauth import HTTPBasicAuth
####################################### global reusable functions, static data and constants
flask_demo = Flask(__name__)
api = A... | [
"gregboleslavsky@gmail.com"
] | gregboleslavsky@gmail.com |
af04626fbf64b19bf1abe99c30b6144727cd2489 | 51ce07a419abe50f49e7bb6a6c036af291ea2ef5 | /3.Algorithm/08. 비트&진수/이진수.py | 672c8c01e566a544904cc9057c3b3d923e469569 | [] | no_license | salee1023/TIL | c902869e1359246b6dd926166f5ac9209af7b1aa | 2905bd331e451673cbbe87a19e658510b4fd47da | refs/heads/master | 2023-03-10T09:48:41.377704 | 2021-02-24T10:47:27 | 2021-02-24T10:47:27 | 341,129,838 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 332 | py | T = int(input())
for tc in range(1, 1+T):
N, numbers = input().split()
N = int(N)
print(f'#{tc} ', end='')
for n in range(N):
t = format(int(numbers[n], 16), '03b')
# if len(t) < 4:
# print('0'*(4-len(t)), end='')
print(t, end='')
print()
'''
3
4 47FE
5 79E12
8 ... | [
"dltmddk1023@gmail.com"
] | dltmddk1023@gmail.com |
167ad65029dceab8baa37d92c7b02fbc7f7bdf9c | 25d898bc3a75572054e0290d4baa31d27d867b3d | /invoice/migrations/0006_invoice_is_cancelled.py | d3417675ce75feb377e5e6840e1eeda70e3ed5d8 | [] | no_license | kyomoeliezer/mtelemko | cb989502f385b9c5744f75076d50945930ed78fa | 7b299df79a4f495afbe011b6571dae83b4f8f845 | refs/heads/master | 2023-06-12T11:21:43.594176 | 2023-05-25T22:03:12 | 2023-05-25T22:03:12 | 142,018,745 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 400 | py | # Generated by Django 2.2 on 2020-11-20 09:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('invoice', '0005_invoice_invoice_start_date'),
]
operations = [
migrations.AddField(
model_name='invoice',
name='is_can... | [
"kyomoeliezer"
] | kyomoeliezer |
4223f5fc882d4296ccb2e417549c8e1239b28d2d | 429dbe6fdbabe69951f00475a790ab33bafa5dfb | /Myokit/MyokitHearSimulation/env/lib/python3.7/site-packages/myokit/_progress.py | ab159d0e6608ad6703c37c8be7fe43b32a86f163 | [] | no_license | bopopescu/Project-Design-and-Implementation | f476b3a34a40563613181eba4e62cec52c3a9ab5 | cea0c19d5dfa238b1725957cbb2922f1377a9b5a | refs/heads/master | 2022-11-17T18:52:30.521294 | 2019-07-30T20:38:56 | 2019-07-30T20:38:56 | 281,189,781 | 0 | 0 | null | 2020-07-20T17:59:59 | 2020-07-20T17:59:58 | null | UTF-8 | Python | false | false | 5,106 | py | #
# Contains classes for progress reporting during long operations.
#
# This file is part of Myokit
# Copyright 2011-2018 Maastricht University, University of Oxford
# Licensed under the GNU General Public License v3.0
# See: http://myokit.org
#
from __future__ import absolute_import, division
from __future__ import... | [
"yid164@mail.usask.ca"
] | yid164@mail.usask.ca |
76e82c15daa30b0a37073c20c9abe4c4c7c2b4dd | 9023909d2776e708755f98d5485c4cffb3a56000 | /oneflow/compatible_single_client_python/eager/interpreter_callback.py | 4295829ee25c69fc8856e2d0462ad1e2a31c31cd | [
"Apache-2.0"
] | permissive | sailfish009/oneflow | f6cf95afe67e284d9f79f1a941e7251dfc58b0f7 | 4780aae50ab389472bd0b76c4333e7e0a1a56ef7 | refs/heads/master | 2023-06-24T02:06:40.957297 | 2021-07-26T09:35:29 | 2021-07-26T09:35:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,285 | py | """
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | [
"noreply@github.com"
] | sailfish009.noreply@github.com |
59a3ac71665f4cd796c5dfc0dae8754f0a8297b0 | 14ea14f84079c7c7f306a0c68c9b59df1d266437 | /website/models.py | 75fcf6a7b758023ed2c8e836d60eb700136b0fe7 | [] | no_license | KeerMom/COSC6353-Project | 38a42d21607f34ba8db7e4aedc7ba2a609ccd641 | 37e2456e2df6cb301a17afb374d04f858cade9ee | refs/heads/main | 2023-07-02T23:50:50.833117 | 2021-08-06T21:44:39 | 2021-08-06T21:44:39 | 382,210,595 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,199 | py | from . import db
from flask_login import UserMixin
# from sqlalchemy.sql import func
class User(db.Model, UserMixin):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(150), unique=True)
password = db.Column(db.String(150))
first_name = db.Column(db.String(50))
user_profile ... | [
"xqliu.g@gmail.com"
] | xqliu.g@gmail.com |
7769f940c0f1da313194a71f11023fba6e738523 | 6338c2a2158a3140382169b436d7b575bc29ab17 | /Pygame/InvaSion_codigo_fuente.py | 94b9f7e91cf8a62fd755b3fe5dc24897b9a9385a | [] | no_license | epichardoq/DS-Course | 22990ddc24225f2989f52607536f0cbca50205d3 | 64302246b8466a02ab603edcccb00fff6a677a42 | refs/heads/master | 2022-04-07T22:02:45.252730 | 2020-03-20T03:12:34 | 2020-03-20T03:12:34 | 220,868,467 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,051 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 2 20:16:34 2020
@author: emmanuel
"""
import pygame, random, sys
from pygame.locals import *
ANCHOVENTANA = 900
ALTOVENTANA = 900
COLORVENTANA = (255, 255, 255)
COLORTEXTO = (130, 130,130)
COLORFONDO = (0, 255, 255)
FPS = 40
TAMAÑOMINMISIL = 10
T... | [
"noreply@github.com"
] | epichardoq.noreply@github.com |
e2f2f54ee6bccba72c0171950d6e10e9c19c5da0 | b70f1eee3cbf42f7342d3ad3be58e20aa9082b65 | /problem2_18_1.py | 7f65ab589d266d42cee248a008a9f75f19ba27e0 | [] | no_license | suryansh2020/drakepy | a9ae8dc27806835c338d13b38bae8026d849b2f4 | 0e2a7409f80162524b4496b896673cbb0c6e0183 | refs/heads/master | 2021-01-20T02:42:47.484685 | 2010-06-10T13:37:58 | 2010-06-10T13:37:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,411 | py |
def problem2_18():
from math import *
## Input
print "A baseball hit from a bat in air with varying air pressure and a crosswind"
print "The crosswind is a 10mph crosswind"
print "10 mph is 4.4704m/s"
print "The depenent variables are the initial velocity vector, decomposed into a speed scalar and a direction,... | [
"krum.spencer@gmail.com"
] | krum.spencer@gmail.com |
f95b1db477221b266acb3b6625b8e046e4a0551d | 2c21780619518259596aa240232ce51f2588f53e | /sample.py | 61afab7d2dbb44bbea5b798964c82931472f37d6 | [] | no_license | miahuangyanyan/weibo_flask | e49a1eb2d773df2e827cfffafd8162280f6b7501 | 6d7574a05b48abe66b45c80b4262929a1f3296ee | refs/heads/master | 2021-09-02T23:24:23.150992 | 2018-01-04T03:17:32 | 2018-01-04T03:17:32 | 109,588,713 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,332 | py | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
version: python2.7 software: PyCharm
file: monitor.py time: 2017/3/5 19:56
"""
import psutil
import sqlite3
import time
db_name = 'mydb.db'
def create_db():
# 连接
conn = sqlite3.connect(db_name)
c = conn.cursor()
# 创建表
c.execute('''... | [
"245053992@qq.com"
] | 245053992@qq.com |
63a598ddc892cd5cbe109366464ae65200f8b6b3 | 64d411d5859feb0c94ff5b262c015156e544f200 | /MigatteNoGokui/UltraInstinct/UltraInstinct/asgi.py | f8f7e3422c08a9e68053bfe088dc14ce8229953d | [] | no_license | migattenogokui/git-tut | d9b6a9e410d3b1b43bd4e490ba68c60e761eabf4 | a991dce6ca3f02afd8bf67823421c6241d9680d5 | refs/heads/master | 2023-03-20T06:30:13.598661 | 2021-03-13T14:20:28 | 2021-03-13T14:20:28 | 347,340,611 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 403 | py | """
ASGI config for UltraInstinct project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO... | [
"joratdhavtoski@protonmail.com"
] | joratdhavtoski@protonmail.com |
7a0a3b166c74d76a97a3cf2dd59fa5948907f805 | ecda8b2158fae86c7d5f74c4b2d138fb44db7e1c | /test.py | f5251f7c1adc1e2adc854244d6effe2d6b30d85d | [] | no_license | hyeineee/COVID__ | 732b69f98951ee895ddd46d620c8f693c028130a | da3ad627f9c166d699f880de33bf6715723b737d | refs/heads/master | 2022-11-26T19:24:20.162902 | 2020-08-11T02:56:11 | 2020-08-11T02:56:11 | 286,629,512 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 74 | py | def main():
print("1")
#test
if __name__ == "__main__":
main() | [
"qorgpdls97@naver.com"
] | qorgpdls97@naver.com |
2d169025b193e12aed0d659dc60d693d4ff91353 | b156c2f5ee7417dfa1f6cdcf14e9773a25397544 | /GeneVisualization/venv2/Lib/site-packages/itk/itkInPlaceImageFilterAPython.py | 4faf0e090f3bfd257e6c260302d98225443a6739 | [] | no_license | PinarTurkyilmaz/Vis | 1115d9426e9c8eeb5d07949241713d6f58a7721b | 4dd4426a70c0bd0a6e405ffe923afee29630aa67 | refs/heads/master | 2022-11-18T13:16:18.668065 | 2020-07-06T21:04:10 | 2020-07-06T21:04:10 | 226,217,392 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 377,610 | py | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (3, 0, 0):
new_instancemethod = lambda func, inst, cls: _itkI... | [
"pinar.turkyilmaz@estudiant.upc.edu"
] | pinar.turkyilmaz@estudiant.upc.edu |
15fb6788ed674d7fe2dfd6fcf2b8be443d9b1ea1 | 2b42b40ae2e84b438146003bf231532973f1081d | /spec/mgm4458310.3.spec | 00ad46b77e340a73163f728374ab21471d1a13f0 | [] | no_license | MG-RAST/mtf | 0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a | e2ddb3b145068f22808ef43e2bbbbaeec7abccff | refs/heads/master | 2020-05-20T15:32:04.334532 | 2012-03-05T09:51:49 | 2012-03-05T09:51:49 | 3,625,755 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 14,691 | spec | {
"id": "mgm4458310.3",
"metadata": {
"mgm4458310.3.metadata.json": {
"format": "json",
"provider": "metagenomics.anl.gov"
}
},
"providers": {
"metagenomics.anl.gov": {
"files": {
"100.preprocess.info": {
... | [
"jared.wilkening@gmail.com"
] | jared.wilkening@gmail.com |
cd317c87a7351bef4e25f07e011eef84eac127a7 | 84b902dd4eb690f525911a903377573b007a0bdb | /ch04/mymodules/setup.py | 53892179aabea1cf67defbc32b92e89fb4b882c7 | [] | no_license | lorajoler/HeadFirstPython | e33e83693bb428a46c8dc75dd65bd87d5b3c82a1 | f9d0719a7ec5ace63f488e533e0dc0d91a1f7962 | refs/heads/master | 2020-04-06T15:49:54.334177 | 2019-04-04T11:39:50 | 2019-04-04T11:39:50 | 129,223,901 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 276 | py | from setuptools import setup
setup (
name = 'vsearch',
version = '1.0',
description = 'The Head First Python Search Tools',
author = 'HF Python 2e',
author_email = 'hfpy2e@gmail.com',
url = 'headfirstpython.com',
py_modules = ['vsearch'],
)
| [
"lorajoler@paranoici.org"
] | lorajoler@paranoici.org |
a473b352d7a7297d8448f74401a9c4d56ac3d8d6 | 631704126a545331b7d1fb59a7c89ec3919361a4 | /PythonAPI/test/Lane_detection/detect_lines2.py | ef45f18dfd8585594f9dbcd45c5471eb0108fe0b | [
"MIT"
] | permissive | Maveric4/Carla | 6548e7acfee86c8b54643964be4d16468d79fb09 | c7eb9df5fb5a784bfbadb2f0544c1cf062ca6bb5 | refs/heads/master | 2020-11-27T12:35:40.618088 | 2019-12-23T16:47:45 | 2019-12-23T16:47:45 | 229,442,345 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,283 | py | #importing some useful packages
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
import cv2
import glob
import math
def grayscale(img):
"""Applies the Grayscale transform
This will return an image with only one color channel
but NOTE: to see the returned image as graysca... | [
"maveriok@student.agh.edu.pl"
] | maveriok@student.agh.edu.pl |
49377535fc22c5ee93cad59f6aa76251d7a6bdee | 451c79cfe8cbf4a9e4301c8b8c8c4c99768274c1 | /posenet_pytorch_evaluate.py | d0b7a83e5d6017047b66c3a55a5b58e5cb4a9eeb | [] | no_license | wang422003/Code_Master_Thesis | 0662f41e24cb169b2e62215898037cae70e37cef | 62735f606b2220003b5d1aed0cb2f1330c4453d7 | refs/heads/master | 2022-04-17T18:43:41.462140 | 2020-04-16T14:31:52 | 2020-04-16T14:31:52 | 256,230,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,481 | py | import os
import argparse
from pytorch_data import get_loader
from posenet_torch_solver import SolverPoseNetEvaluate
from torch.backends import cudnn
def main(config):
cudnn.benchmark = True
data_loader = get_loader(config.model, config.image_path, config.metadata_path, config.mode, config.batch_size... | [
"noreply@github.com"
] | wang422003.noreply@github.com |
e00f1ced658aee28cc3ec94cf7fab51e0163e962 | f552e437c63d14dda5c707a34856481a7b9acb99 | /alg_CEJal.py | 2d673d8151f793ff310cbecd935199259497da69 | [] | no_license | jasonTu/dexas_ai_sc | 344847fd71f541d414cb2fe5f83be3fe29c14176 | 8ae1aaa0ff019ad596217ad87e0381fc7807f257 | refs/heads/master | 2021-07-13T01:05:16.483657 | 2020-05-29T03:33:10 | 2020-05-29T03:33:10 | 140,309,120 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,377 | py | #! /usr/bin/env python
# -*- coding:utf-8 -*-
import time
import json
import sys
import traceback
import random
from termcolor import colored
#from websocket import create_connection
from importlib import import_module
from evaluepoker import EvaluePoker
from deuces import Card
import datetime
class ... | [
"jason_tu@puyacn.com"
] | jason_tu@puyacn.com |
afbca3f98f29ecf57fea0bb57ac052a0d95cad69 | ff2d86d51c0e69a1d53e658fb3d2fbe2b0b585dd | /api/test/test_put_api.py | 5becc1aa0d995575107b7cd679072af30c286936 | [
"MIT"
] | permissive | wujood/AquaPi | 988b512b07095702c4a2867fd825ac7673dcd52e | 6b81291eed2341f9757cbb75f5f9ad48c4c4e83a | refs/heads/master | 2020-03-11T14:08:22.445770 | 2018-07-03T21:51:57 | 2018-07-03T21:51:57 | 130,045,147 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,234 | py | # coding: utf-8
"""
AquaPi Swagger API
REST API for the AquaPi
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import swagger_client
from swagger_client.rest import Ap... | [
"sw714201@fh-muenster.de"
] | sw714201@fh-muenster.de |
4dd4ef0331f98f983cbcd659ff8e1be4bc3723c5 | f382030d3e054490c46da8e6a2a86c3f13149cfb | /Test/Profile/views.py | 9cc36837f5b8a7537160d20e7a7b36544613373c | [] | no_license | Astily/TestTask_Django | 048c2c4c48daacfbf93f39ce74b57833e3538ba2 | ccaf2d6703b7a6a86afe7169c12ad1f62e0b8fbd | refs/heads/master | 2020-04-03T17:13:23.593912 | 2018-10-31T14:54:34 | 2018-10-31T14:54:34 | 155,435,455 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,492 | py | from django.contrib.auth.decorators import login_required
from django.http import HttpResponse
from django.shortcuts import render, get_object_or_404, redirect
from django.http import Http404
from django.urls import reverse
from .forms import CustomUserForm
from .models import CustomUser, IpUsers
def index(request):... | [
"nikita@novikoff.pp.ua"
] | nikita@novikoff.pp.ua |
5fa8083c771b118d03d567b6878554f82c71120c | bd187ecc8a94460cd17d3c13aa469c25a3f3be3a | /mainsite/migrations/0006_auto_20191127_0915.py | 75e8efb19fdb91c2f6c2a2354e86433dc4c9a946 | [] | no_license | ozkilim/DinosaurDating | 3226acb3f4987534ce5ceed7649d76d47b51065e | 44bb4583f50e7a5c903040ab80a63ba390330d35 | refs/heads/master | 2021-11-06T16:18:25.192520 | 2019-12-10T14:47:22 | 2019-12-10T14:47:22 | 224,671,044 | 0 | 0 | null | 2021-09-08T01:28:17 | 2019-11-28T14:30:07 | Python | UTF-8 | Python | false | false | 389 | py | # Generated by Django 2.2.7 on 2019-11-27 09:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mainsite', '0005_atendee_event'),
]
operations = [
migrations.AlterField(
model_name='atendee',
name='looking_for',
... | [
"ozkilim@hotmail.co.uk"
] | ozkilim@hotmail.co.uk |
7d201b6089d5c2d7d4f81efd39e2d8b13d4eb4b8 | bb33e6be8316f35decbb2b81badf2b6dcf7df515 | /source/res/scripts/client/circularflyer.py | 9a0d228924714e4ed8bf49c022803e589020bcde | [] | no_license | StranikS-Scan/WorldOfTanks-Decompiled | 999c9567de38c32c760ab72c21c00ea7bc20990c | d2fe9c195825ececc728e87a02983908b7ea9199 | refs/heads/1.18 | 2023-08-25T17:39:27.718097 | 2022-09-22T06:49:44 | 2022-09-22T06:49:44 | 148,696,315 | 103 | 39 | null | 2022-09-14T17:50:03 | 2018-09-13T20:49:11 | Python | UTF-8 | Python | false | false | 4,298 | py | # Python bytecode 2.7 (decompiled from Python 2.7)
# Embedded file name: scripts/client/CircularFlyer.py
import math
import BigWorld
import AnimationSequence
from Math import Matrix, Vector3
from debug_utils import LOG_CURRENT_EXCEPTION
from vehicle_systems.stricted_loading import makeCallbackWeak
import SoundGroups
c... | [
"StranikS_Scan@mail.ru"
] | StranikS_Scan@mail.ru |
13b774da8dcc15f01c6f64b8aa5c47de5f569201 | 0d1770ccdf66058360a06905c4f5713f93a70dd4 | /Gl_api_project/testcase/test_03order_pay_jicaihuodong.py | 8c775979d6227c921b94937deb66f9d5bfb10f0e | [] | no_license | balckwoo/pythoncode | cce08ec03af8835deed99df1307720e91823fbff | 31520f3cba14faeb583636cd26c28ef6cefcb555 | refs/heads/master | 2023-03-23T11:16:38.270347 | 2021-03-23T04:16:06 | 2021-03-23T04:16:06 | 328,590,899 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,335 | py | """
========================================
# Author: Alem
# Date:2021/3/11 0011
# Time:下午 12:01
# Email: chengrichong@foxmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Two roads diverged in a wood,and I
# I took the one less traveled by,
# And that has made all the difference.
============================... | [
"18797763626@163.com"
] | 18797763626@163.com |
0b53a2dd76f8d99d925bb162548bc01e3f6553b1 | 91483aeea3761368b852bc544fb558db84fbbca1 | /mysite/settings.py | 6bcf17a6dd43653bff1ec8b8b240f53d7bc14a3e | [] | no_license | nra-16/myfirstblog | 7a68efcae540055da7337c1c4de44f8e0511a146 | a3f358bca37253b5c4b99911847061239d3d32ee | refs/heads/master | 2021-01-10T05:45:09.381908 | 2016-03-05T14:59:22 | 2016-03-05T14:59:22 | 53,207,328 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,236 | py | """
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 1.9.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
"""
import os
# Bu... | [
"punitharamani@hotmail.co.uk"
] | punitharamani@hotmail.co.uk |
48a73da0886034bf90716950527d561d32bbab82 | dce8531d0e9665a09205f70a909ac1424f7e09eb | /preprocess.py | d6a53884fddf97d075c2264cc801f41dff0d4b95 | [
"MIT"
] | permissive | keonlee9420/Comprehensive-Tacotron2 | 40a6e5fcecf55ee02a8523a7e2701b6124748bee | 1eff7f08c41a2127bbe300b6d66ce5c966422b25 | refs/heads/main | 2023-08-07T16:10:15.133301 | 2022-02-20T14:30:07 | 2022-02-20T14:44:36 | 388,990,172 | 39 | 17 | MIT | 2023-07-31T13:08:05 | 2021-07-24T03:36:08 | Python | UTF-8 | Python | false | false | 640 | py | import argparse
from utils.tools import get_configs_of
from preprocessor import ljspeech, vctk
def main(config):
if "LJSpeech" in config["dataset"]:
preprocessor = ljspeech.Preprocessor(config)
if "VCTK" in config["dataset"]:
preprocessor = vctk.Preprocessor(config)
preprocessor.build_fr... | [
"keonlee9420@gmail.com"
] | keonlee9420@gmail.com |
13ba32c6e2a103795a5cafba7f437334176ac67e | d5fbb40c8fa95970a6b1dd10920071a3330c6de8 | /src_d21c/in_theta.py | 428938d97f7d9d9e57abdd3f26b45e3ee98844aa | [] | no_license | Pooleyo/theta.py | 622000e04a7834a7b12d371337992f6063c3f332 | 7bdf96f7494db7fda8dbe8d1e8bb536a5b39e39d | refs/heads/master | 2021-06-18T06:03:47.176742 | 2019-09-18T16:02:02 | 2019-09-18T16:02:02 | 137,497,437 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,561 | py | test_mode = True
image_files = ['3x3_pixel_value_1.tif'] # "PSL_plate4_s10257_BBXRD.tif"#"3x3_white_test_image.tif"##"Nb_test_image.png"
# #"PSL_plate4_s10257_BBXRD.tif"#"Nb_test_image.png"#
source_position = [[50.0, 0.0, 49.8]] # In mm
normal = [[-25.6, 0.0, 12.7078]] # [-10.0, 0.0, 10.0] # The normal to the pl... | [
"ajp560@york.ac.uk"
] | ajp560@york.ac.uk |
377b54e77c82a1e6af952880cf1817eb944f7fe3 | ea7f0b643d6e43f432eb49ef7f0c62899ebdd026 | /conans/test/util/output_test.py | 65a29d32d1f4ccfd5bd5c286a3c2e77fba71b7c3 | [
"MIT"
] | permissive | jbaruch/conan | 0b43a4dd789547bd51e2387beed9095f4df195e4 | 263722b5284828c49774ffe18d314b24ee11e178 | refs/heads/develop | 2021-01-19T21:15:37.429340 | 2017-04-18T14:27:33 | 2017-04-18T14:27:33 | 88,635,196 | 0 | 1 | null | 2017-04-18T14:34:03 | 2017-04-18T14:34:02 | null | UTF-8 | Python | false | false | 2,625 | py | # -*- coding: utf-8 -*-
import unittest
from conans.client.output import ConanOutput
from six import StringIO
from conans.client.rest.uploader_downloader import print_progress
from conans.test.utils.test_files import temp_folder
from conans import tools
import zipfile
import os
from conans.util.files import save, load
... | [
"lasote@gmail.com"
] | lasote@gmail.com |
627323e27a09dc5c117409415c9142032f3337b7 | bbf0f7cc8afd4d8de241211617051923d540e701 | /Licenta2020CrivoiAndrei/Piano Follower/PianoManagerToplevel.py | 4adbe94d5c44342bb36ff34349d2a46a88f6d352 | [] | no_license | Crivoi/PianoFollower | f1c0e11a9cd7a23ec11018676ebadd9fce4fb2b1 | 90601bef5969f188d9d53fdceaa061147233f786 | refs/heads/master | 2022-03-31T18:56:40.816825 | 2020-02-12T16:39:58 | 2020-02-12T16:39:58 | 238,552,661 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,616 | py | try:
import Tkinter as tk
import TkFileDialog
except ImportError:
import tkinter as tk
from tkinter import filedialog
from DefaultToplevel import DefaultToplevel
from MidiManager import MidiManager
class PianoManagerToplevel(DefaultToplevel):
def __init__(self, parent):
self.midi_object =... | [
"andrei.crivoi1997@gmail.com"
] | andrei.crivoi1997@gmail.com |
6938f0bc75372893e1b90af44297d7efdbdabe3c | 2d2ef049d450ef9ac6459bcdd1ea25fccc0305d5 | /loadTimeEstimator.py | b1f03e7172b7ba44449aeb4afa1aa99899599ebb | [] | no_license | iotmember/code-fights | fc119f53cc42f9fea8a40f43335d93d076c92e9d | e7f1fdb9d5068bd2ed67d9df07541f306097bd19 | refs/heads/master | 2021-05-31T06:03:41.497371 | 2016-04-08T05:40:39 | 2016-04-08T05:40:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,074 | py | import sys
def loadTimeEstimator(sizes, uploadingStart, V):
finish_time = [x for x in uploadingStart]
t = [0 for x in uploadingStart]
c = len(sizes)
time_ = 0
curr_time = uploadingStart[0]
while (c > 0):
index_of_uploading_start = [i for i, x in enumerate(uploadingStart) if x == curr_ti... | [
"nasa.freaks@gmail.com"
] | nasa.freaks@gmail.com |
44efa17d2f52a95bd7265e1773831210ac6db66a | a06c9d95093f8c33aefb13d5a46c1466c43cc1e8 | /Aulas/aula 3/aula3.py | fc75a2811210d51ced11feea1e4e87795a300c9f | [] | no_license | danrleydaniel/pygame | 3b7062a24ce1659f1c23bff70af0a372fba0f5c7 | 9de33102920d021a5f28b79a8fd04ba89e9c07f2 | refs/heads/main | 2023-08-14T16:27:00.766939 | 2021-09-30T17:08:56 | 2021-09-30T17:08:56 | 307,095,908 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 470 | py | import pygame
def main():
pygame.init()
tela = pygame.display.set_mode([300, 300])
pygame.display.set_caption("Iniciando com Pygame")
relogio = pygame.time.Clock()
cor_branca = (255,255,255)
sup = pygame.Surface((200, 200))
sair = False
while sair != True:
for event in pygame.event.get():
if event.type ... | [
"noreply@github.com"
] | danrleydaniel.noreply@github.com |
472327499a42ace71b4610362be969074821b053 | 8d9c8fd1f8bbdee01bf0bb685feee7f5980484a8 | /RNN_generacion_nombres.py | 3a4fe0bf8dbf2b00a8324320f8970842e4fe12d7 | [] | no_license | avenegascaleron/ejemploRNN | e2784afa2539c959a9799916ecd32bf91fb5dd87 | 8c8e6823bf6adac7b32d892e88ce13203a7e11c5 | refs/heads/main | 2023-01-28T08:59:29.230064 | 2020-12-01T12:53:20 | 2020-12-01T12:53:20 | 317,540,069 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,988 | py | import numpy as np
np.random.seed(5)
from keras.layers import Input, Dense, SimpleRNN
from keras.models import Model
from keras.optimizers import SGD
from keras.utils import to_categorical
from keras import backend as K
# 1. LECTURA DEL SET DE DATOS
# =======================================================... | [
"noreply@github.com"
] | avenegascaleron.noreply@github.com |
c56c704d3722285022a8133baa4cc84a6102a7ec | 05f7f004ccd926c1611dc03473e0778d8c332e14 | /asset_allocation_chengtong/shell/criteria_ct.py | c71a9e78d84aa9d38b0ed9058c79d9b90086c435 | [] | no_license | tongch8819/lcmf_projects | 06cd875e5b001a871cc11cdc8cf45a32f7faa105 | a7243aee94da9bbf9651e1365351c5b4ef364b80 | refs/heads/master | 2022-04-04T22:15:26.726761 | 2020-02-24T03:51:23 | 2020-02-24T03:51:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,594 | py | #encoding=utf8
import numpy as np
import pandas as pd
from ipdb import set_trace
from sqlalchemy.orm import sessionmaker
from db import database
from db import asset_allocate
import trade_date
engine_asset = database.connection('asset')
engine_mofang = database.connection('base')
engine_readonly = database.connect... | [
"tong.cheng.8819@outlook.com"
] | tong.cheng.8819@outlook.com |
6251d68f138a9b14476759cfdce97fd773872ec8 | 12123592a54c4f292ed6a8df4bcc0df33e082206 | /py3/pgms/sec8/Extend/ctypes/convs.py | 616830fa1e5821bc2a04d9cde8ded2752fa0ab67 | [] | no_license | alvinooo/advpython | b44b7322915f832c8dce72fe63ae6ac7c99ef3d4 | df95e06fd7ba11b0d2329f4b113863a9c866fbae | refs/heads/master | 2021-01-23T01:17:22.487514 | 2017-05-30T17:51:47 | 2017-05-30T17:51:47 | 92,860,630 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 354 | py | #!/usr/bin/env python3
# convs.py - ctype conversions
from ctypes import *
# load shared library
mylib = CDLL("./mylib.so")
# double mult(double, double)
mylib.mult.argtypes = (c_double, c_double)
mylib.mult.restype = c_double
# call C mult() function
print(mylib.mult(2.5, 3.5))
####################################... | [
"alvin.heng@teradata.com"
] | alvin.heng@teradata.com |
e3c70a06800823605b23e90caeeb6c3cb91014cd | ca7d9df0890b0eed1b153737bc67afcd5494d11e | /iocpuller.py | 9461edc31b6e0e7e00f513b673acc24a4ff58bd6 | [] | no_license | KMCGamer/iocpuller | b219bdaf5ca412c9b910a3d46d911d079bb791f6 | 0c2ded1bb5f6611d932a5c62c7968f9fe949bfe8 | refs/heads/master | 2021-03-27T10:36:01.346459 | 2018-02-05T21:28:31 | 2018-02-05T21:28:31 | 120,359,665 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,791 | py | #!/usr/bin/python -u
# -*- coding: utf-8 -*-
import bisect
import logging
import re
import requests
import argparse
class color:
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
END = '\033[0m'
# -----------------------------------------------------------------------------
# Locations and Constants
VERSION = "2.1.1"
INTEL... | [
"KMCGamer@live.com"
] | KMCGamer@live.com |
86b6e7d3332dc5f4925a2df4a4b96fb09ce525fd | 5eb8c1f285837846a8fad3c08b7e9d89019ea2f8 | /character.py | ff633ed151b34f4aa96727b54fc995962db94d70 | [
"MIT"
] | permissive | RitikShah/hopper | cdd9e516eae39bd3d078aa30055433e32d384528 | 85503f9fae11124d40a7c1433102a7bdf56ba420 | refs/heads/master | 2020-03-07T21:06:07.870001 | 2018-04-02T18:33:58 | 2018-04-02T18:34:26 | 127,717,485 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,282 | py | from color import *
import random
from entity import *
import pygame
class Character(Entity):
def __init__(self, posx, posy):
super().__init__(posx, posy, 5)
self.grav = 1
self.xspeed = 5
self.floorlevel = 100
self.jumpheight = 15
self.jumps = 0
self.maxjumps = 1
self.spacehold = False
def u... | [
"shah10.ritik@gmail.com"
] | shah10.ritik@gmail.com |
c625c91f36b9023bdda7ad7f8346b9bde769ae1b | 63b0fed007d152fe5e96640b844081c07ca20a11 | /ABC/ABC300~ABC399/ABC300/e.py | 9ba33d532fb2e724f862b0ad868328126a7e1249 | [] | no_license | Nikkuniku/AtcoderProgramming | 8ff54541c8e65d0c93ce42f3a98aec061adf2f05 | fbaf7b40084c52e35c803b6b03346f2a06fb5367 | refs/heads/master | 2023-08-21T10:20:43.520468 | 2023-08-12T09:53:07 | 2023-08-12T09:53:07 | 254,373,698 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 718 | py | from functools import lru_cache
def modinv(a: int, m: int) -> int:
'''
モジュラ逆元
ax mod m =1の解x=a^(-1)を返す
Parameters
----------
a:int
m:int
'''
x, y, u, v = 1, 0, 0, 1
M = m
while m > 0:
k = a//m
x -= k*u
y -= k*v
x, u = u, x
y, v = v, ... | [
"ymdysk911@gmail.com"
] | ymdysk911@gmail.com |
02cf011d3d9b1895c848c8f25e71c77dc301fdcf | 5182897b2f107f4fd919af59c6762d66c9be5f1d | /.history/src/Simulador_20200708161311.py | cbf32fa7cf0f64a93631d4928bd7f10dc6a1caf5 | [
"MIT"
] | permissive | eduardodut/Trabalho_final_estatistica_cd | 422b7e702f96291f522bcc68d2e961d80d328c14 | fbedbbea6bdd7a79e1d62030cde0fab4e93fc338 | refs/heads/master | 2022-11-23T03:14:05.493054 | 2020-07-16T23:49:26 | 2020-07-16T23:49:26 | 277,867,096 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,983 | py | import pandas as pd
import numpy as np
from Matriz_esferica import Matriz_esferica
from Individuo import Individuo, Fabrica_individuo
import random
from itertools import permutations
import matplotlib.pyplot as plt
from matplotlib.colors import ListedColormap
class Simulador():
def __init__(
self,
... | [
"eduardo_dut@edu.unifor.br"
] | eduardo_dut@edu.unifor.br |
7f6063443980fa7eed25912a3dd0b1c477be9440 | 9940a37b520a57ed00e85e2d54991b117ce1a646 | /leetcode/python/binary_tree_postorder_traversal.py | 0dd3ecf67a7204502c52faa593b7ddf21fa20923 | [] | no_license | rioshen/Problems | e36e528f49912ff233f5f5052a7ca8ac95be4f0a | 1269b05a51e834e620d0adf4c3a10fe1a917b458 | refs/heads/master | 2020-12-03T19:37:38.281260 | 2015-04-09T17:46:59 | 2015-04-09T17:46:59 | 29,544,782 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 512 | py | #!/usr/bin/env python
class Solution:
def postorderTraversal(self, root):
if not root:
return []
result, stack = [], []
prev, curr = None, root
while curr or stack:
if curr:
stack.append(curr)
curr = curr.left
else:... | [
"rioxshen@gmail.com"
] | rioxshen@gmail.com |
1eb48a906c41d240228e260d96f74a91e308d423 | 2afb1095de2b03b05c8b96f98f38ddeca889fbff | /web_scrapping/try_steam_parse.py | f76504a9eb079147e18d2455c67b424ba847329a | [] | no_license | draganmoo/trypython | 187316f8823296b12e1df60ef92c54b7a04aa3e7 | 90cb0fc8626e333c6ea430e32aa21af7d189d975 | refs/heads/master | 2023-09-03T16:24:33.548172 | 2021-11-04T21:21:12 | 2021-11-04T21:21:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,267 | py | import glob
import pandas as pd
from bs4 import BeautifulSoup
df = pd.DataFrame()
df1 = pd.DataFrame()
df2 = pd.DataFrame()
for one_file in glob.glob("steam_html_file/*.html"):
f = open(one_file, "r", encoding= "utf-8")
soup = BeautifulSoup(f.read(),"html.parser")
items = soup.find("div... | [
"13701304462@163.com"
] | 13701304462@163.com |
9d086a9a5e0386554d865c16beaba00a2871db2a | b2eddd579b39c68884372f71808453d6f50668ae | /step_1_capture_tweets.py | 1c627d8604c2638e383b809d5c952e809c27ef47 | [] | no_license | PhilipGuo1992/csci_5408_assign_2 | 32214185b43ca9086c48ae0ecfb5d291b1afc23b | 39eb825a2768288746bc678892146fe0a067e384 | refs/heads/master | 2020-03-19T12:23:03.344155 | 2018-06-07T21:16:03 | 2018-06-07T21:16:03 | 136,513,989 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,594 | py | import tweepy
import time
import json
import csv
consumer_key = "z56cu40Jq1XxntXeGKLfhNZnk"
consumer_secret = "NWsAOtbQ4lVGPq7xooVbE21XEeMnDuFBtdTfyZzc85Czh4wKnm"
access_key = "1003752992171024386-lsvEB53AROSLhKGJgEchdgajkBJTIC"
access_secret = "NV7vVHJX3FrGJFm1fx7hivxKBLOfVom34gYAJeaUEklX1"
auth = tweepy.OAuthHandl... | [
"philipguo1992@gmail.com"
] | philipguo1992@gmail.com |
c6b5593b63f105914856900aebbc5be8af1a513d | 7e90a1f8280618b97729d0b49b80c6814d0466e2 | /workspace_pc/catkin_ws/cartographer_ws/build_isolated/jackal_navigation/catkin_generated/generate_cached_setup.py | 4daf5fb9eb5f1b0d60987d0c7e079fc39de7971f | [] | no_license | IreneYIN7/Map-Tracer | 91909f4649a8b65afed56ae3803f0c0602dd89ff | cbbe9acf067757116ec74c3aebdd672fd3df62ed | refs/heads/master | 2022-04-02T09:53:15.650365 | 2019-12-19T07:31:31 | 2019-12-19T07:31:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,410 | py | # -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')):
sys.... | [
"sh9339@outlook.com"
] | sh9339@outlook.com |
44b8b15712428540ec8bb8881ed03e41fb5bbabc | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit2167.py | 0d743940a6f806b63db35149af9e8542d6728277 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,035 | py | # qubit number=4
# total number=37
import cirq
import qiskit
from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit import BasicAer, execute, transpile
from pprint import pprint
from qiskit.test.mock import FakeVigo
from math import log2
import numpy as np
import networkx as nx
def bitwise_... | [
"wangjiyuan123@yeah.net"
] | wangjiyuan123@yeah.net |
a24704b833d23a859af9ec1629f1226377f8c7ea | 5dfbfa153f22b3f58f8138f62edaeef30bad46d3 | /bill_ws/build/bill_description/catkin_generated/pkg.develspace.context.pc.py | d846aac1c29db5d24fa24af24e101a5ae58bdccd | [] | no_license | adubredu/rascapp_robot | f09e67626bd5a617a569c9a049504285cecdee98 | 29ace46657dd3a0a6736e086ff09daa29e9cf10f | refs/heads/master | 2022-01-19T07:52:58.511741 | 2019-04-01T19:22:48 | 2019-04-01T19:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 383 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "bill_description"
PROJECT_SPACE_DIR =... | [
"alphonsusbq436@gmail.com"
] | alphonsusbq436@gmail.com |
1a321791650a05c8b77ab5c95f563d2f6b201961 | 0dcbcf0ed0e19a7406e85f1f5f4f957ab2a6975b | /plasTeX/Packages/listings.py | 2f163dd70fae8b9761fbc3de9bcdb434e5da17b3 | [
"MIT"
] | permissive | rsbowman/plastex-mobi | aa3762ffb9e48f8c2120a79c7ed4c2e2717e3308 | 8ea054c63e9deb9dd302d950e636256f9e5e75e9 | refs/heads/master | 2021-01-19T18:32:12.720364 | 2014-06-30T12:07:45 | 2014-06-30T12:07:45 | 21,349,475 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,849 | py | #!/usr/bin/env python
import sys, re, codecs
from plasTeX import Base
try: import pygments
except: pygments = None
class listingsname(Base.Command):
unicode = 'Listing'
PackageOptions = {}
def ProcessOptions(options, document):
document.context.newcounter('listings',
re... | [
"r.sean.bowman@gmail.com"
] | r.sean.bowman@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.