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
7abf345a31d0ddef1b30276521f26fa294a9afe5
36932de19a1217e1329f66de8f6c598775177a7b
/job_source_resolver/job_source_resolver/urls.py
f689607792447e2768db2604c7964c71c6307c22
[]
no_license
JMahal0/job_source_resolver
1ac40a0517b143f8d30cc0265a90f1b8b46cd278
7286f92d461286b5298b721fe480a85194aa89db
refs/heads/main
2023-03-04T21:24:48.333858
2021-02-09T09:00:17
2021-02-09T09:00:17
337,210,248
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from django.contrib import admin from django.urls import path, include from resolver import views urlpatterns = [ path('admin/', admin.site.urls), path('', views.index, name='Index'), path('jobsource', views.job_source, name='Job Source') ]
[ "tajm27@gmail.com" ]
tajm27@gmail.com
82bd0903b237c435b32e78a3cffc5904f9cd8530
66aab3cd312f3f97467cfc0f5d6d36b2e2c350d5
/billing/migrations/0002_auto_20200612_1811.py
97ee1a3d9ef1efb3ad4eec2820bf1241000546b3
[]
no_license
AlohaOttawa/FoodMenu
511680ee715c1e8fefc3566ac34d26c6cc1b0bbd
ca084dce2a97a15ccdddfb49e604a0b6a1416da9
refs/heads/master
2022-11-28T06:53:41.782337
2020-08-11T22:16:14
2020-08-11T22:16:14
268,637,998
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# Generated by Django 3.0.4 on 2020-06-12 22:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('billing', '0001_initial'...
[ "61981451+AlohaOttawa@users.noreply.github.com" ]
61981451+AlohaOttawa@users.noreply.github.com
37258d2856640a46044547ebbdfce25554c51def
ab3af215296c12b5e1dcfb35c5ac2a7c08094da7
/circular_linked_list.py
1c7f8c8af85a9714be8dae215b5da58f811c2026
[]
no_license
MVReddy/CircularLinkedList
e42c36f647a711e9862cb532ca5589d305094e6f
b502724fae0ac6817699cce8f76dc591c8e2effb
refs/heads/master
2021-01-15T13:18:18.914633
2015-06-09T09:31:20
2015-06-09T09:31:20
37,123,096
0
1
null
null
null
null
UTF-8
Python
false
false
808
py
""" This is a simple python script to identify given linked list is Circular or not. """ class Node(object): def __init__(self, value, n=None): self.next = n self.value = value def create_list(): last = Node(8) head = Node(7, last) head = Node(6, head) head = Node(5, head) head...
[ "venkatareddy.mulam@techmahindra.com" ]
venkatareddy.mulam@techmahindra.com
e0687c401b2a2f41a0d216891d993b549b11f61b
51a37b7108f2f69a1377d98f714711af3c32d0df
/src/leetcode/P3639.py
c1a00d09259b34ab68d74d1c8881c2f67e11c842
[]
no_license
stupidchen/leetcode
1dd2683ba4b1c0382e9263547d6c623e4979a806
72d172ea25777980a49439042dbc39448fcad73d
refs/heads/master
2022-03-14T21:15:47.263954
2022-02-27T15:33:15
2022-02-27T15:33:15
55,680,865
7
1
null
null
null
null
UTF-8
Python
false
false
541
py
class Solution: def isBipartite(self, graph): n = len(graph) c = [-1] * n ret = [True] def color(x, w): for y in graph[x]: if c[y] == -1: c[y] = 1 - w color(y, 1 - w) if not ret[0]: ...
[ "stupidchen@foxmail.com" ]
stupidchen@foxmail.com
e00f59a705bf22b90151588bdfa1d862ad0cf9ce
7479d9b5988f3ab7fbfd4d2aa5966e7d395999fa
/Edge Detection/EdgeDetection.py
2d81149c8d98b66f8c539b691ef3c47856cc58a8
[]
no_license
kuro8bit/Image-Processing
f532c3353b3bb3a5770b8fad444138b1a3d1afaf
c1d3ff29e3bdf3d30b9b0f9c887d05887061c193
refs/heads/master
2023-01-13T10:22:27.328403
2023-01-10T18:15:42
2023-01-10T18:15:42
158,499,137
1
0
null
null
null
null
UTF-8
Python
false
false
3,840
py
import numpy as np import cv2 import time # input image filepath filepath = 'images/input.png' # Edge Detection Class class edge: # available filters (some with horizontal(_h) and vertical(_v) direction) filters = { 'diff_h' : np.array(([0, 0, 0], [0,-1, 1], ...
[ "noreply@github.com" ]
kuro8bit.noreply@github.com
a09e85a9b007d8d8f1876c8ad3143999c4e42bf6
099b57613250ae0a0c3c75cc2a9b8095a5aac312
/leetcode/Graph/Union并查集/500. 朋友圈(并查集).py
771d42fa8d7df2fd6876c58eea3fff89d96ca4bb
[]
no_license
MitsurugiMeiya/Leetcoding
36e41c8d649b777e5c057a5241007d04ad8f61cd
87a6912ab4e21ab9be4dd6e90c2a6f8da9c68663
refs/heads/master
2022-06-17T19:48:41.692320
2020-05-13T16:45:54
2020-05-13T16:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
class UF: parent = {} cnt = 0 def __init__(self, M): # 我们要理解,为什么这里self.parent只构造到n位 # 因为这是本题的特性,因为例如本题的3*3 矩阵,其实这只有3个人 n = len(M) for i in range(n): self.parent[i] = i # 我们每创建一个新的父亲,就把父亲的数量,self.cnt +1 self.cnt += 1 def find(self, x):...
[ "yifu3@ualberta.ca" ]
yifu3@ualberta.ca
97122be51c1ffb6ff79dbc7974cf4f02820372a7
49a6cc88f56cfd7c928c1f474a6df8ecc35d04f8
/setup.py
86260dbc4e0b9b1871e3d286d5863cac1122de8b
[]
no_license
bergkampben/discoverfy
49f924cf7dbbd0b09f60b50e9696bf9ae6492c47
59bc2e97c2995e263c5aa820666612c82e381952
refs/heads/master
2022-12-10T08:15:56.460686
2018-09-17T14:49:59
2018-09-17T14:49:59
259,083,735
0
0
null
2022-12-07T21:39:59
2020-04-26T16:50:47
Python
UTF-8
Python
false
false
487
py
"""Discoverfy python package configuration.""" from setuptools import setup setup( name='discoverfy', version='0.1.0', packages=['discoverfy'], include_package_data=True, install_requires=[ 'Flask==0.12.2', 'html5validator==0.2.8', 'pycodestyle==2.3.1', 'pydocstyle=...
[ "asofian@umich.edu" ]
asofian@umich.edu
ab9badddec57b1934b7655a1a401667740fc1840
7a6d3ce61ff2972246972800807caf21f134c4c4
/tests/test_parse.py
97150fb7c14aaba41e4118e494d2b913383156dc
[]
no_license
mbryla/training-python-basics
090f886e1a4568deaece83a28f5912279f963b46
0bd2378168a5323e88ce556c099f36737ab38d7c
refs/heads/master
2021-05-30T22:16:52.610683
2015-10-14T16:54:47
2015-10-14T16:54:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
from unittest import TestCase, skipUnless from functions.parse import TESTED, Parse __author__ = 'MKVJ48' SKIP_MESSAGE = 'not_yet_implemented' @skipUnless('words_count' in TESTED, SKIP_MESSAGE) class TestWordsCount(TestCase): def test_words_count_simple(self): line = 'To Sherlock Holmes she is always th...
[ "brylamat@gmail.com" ]
brylamat@gmail.com
5fedfa2c0bded81ccf8927ae6cc9219e37655bfa
062a7ecf904b75d45ae08f0b50282d0396b9d5a0
/scratch11/ex04.py
f80fb51af2b01902381538f91b7147caf380e524
[]
no_license
chojiwon1727/lab_python
3ce0da871a01dc3509ed25d4d8552672a7f62917
e997e4f86de8ccebc614f8f0a16849f047728e67
refs/heads/master
2020-12-12T01:59:14.630941
2020-01-15T06:37:58
2020-01-15T06:37:58
234,015,167
0
0
null
null
null
null
UTF-8
Python
false
false
2,618
py
from sklearn.metrics import classification_report, confusion_matrix from scratch11.ex03 import train_test_split, MyScaler, MYKnnClassifier import pandas as pd import numpy as np import matplotlib.pyplot as plt if __name__ == '__main__': # 1. iris데이터 col_name = ['sepal_length', 'sepal_width', 'petal_length', 'p...
[ "56914237+chojiwon1727@users.noreply.github.com" ]
56914237+chojiwon1727@users.noreply.github.com
d0f57b7b7e0be92eaac31a2372c1b34ae089990d
e6da5f6d36c2976e2a31e364ffedec23ad3e8973
/gis_test1/settings/deploy.py
c302993b0022220333defc40ae867aa9b1dbca11
[]
no_license
SeoMinJong/gis_test1
7e8a2aa3c3b5b0f96fa1b8af91a171eab81bfbc6
5ab704d522f579b86c61a2b67df96752873770d0
refs/heads/master
2023-07-30T04:19:22.233362
2021-09-28T01:59:47
2021-09-28T01:59:47
382,846,029
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
from .base import * def read_secret(secret_name): file = open('/run/secrets/'+ secret_name) secret = file.read() secret = secret.lstrip().rstrip() file.close() return secret SECRET_KEY = read_secret('DJANGO_SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = F...
[ "tjalswhd113@naver.com" ]
tjalswhd113@naver.com
903a8a93f9a81e2b437cba9a74911c2df4bbae29
389dfef2204fd925cff51a3f39d626e86159fbe3
/pairs_generator.py
d16ffc0e343b297a2724395fdbd1f9ab369d854c
[]
no_license
DanielSeehausen/pseudo_smart_random_pairing
e18c8728d5903d069e9f94e053d5ea49e5b39d21
f51a043bb046dc96feb7d43d62c8aaa757ebc70a
refs/heads/master
2020-07-23T09:03:33.898337
2017-09-05T18:37:21
2017-09-05T18:37:21
94,354,398
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
def true_random_assign_pairs(arr): print([arr.pop(random.randrange(len(arr))) for _ in range(2)]) if len(arr) > 1: random_assign(arr) else: print(arr) def get_all_pairs(matchee, arr): return {matcher: 0 for matcher in arr if matchee != matcher}
[ "Daniel.Seehausen@gmail.com" ]
Daniel.Seehausen@gmail.com
ff1c9844fbad63c900a19d26273c2232d85ac465
51b82ba56d63f4ed9d705a4b3ffa2423509a6d31
/caloriemeter/asgi.py
ba05a5c38ef277adcab2e352180ebbd61f2c0a7d
[]
no_license
Riya-Regmi/Calorie-Counter-Django-python-project
eff22a46daeb9327ca6831de00ccfaa580a984f0
f63e8042e2c2122003db467c6e3b5af7d6c8c60b
refs/heads/master
2022-11-19T06:02:11.183579
2020-07-22T10:09:55
2020-07-22T10:09:55
281,634,460
3
1
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for caloriemeter 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_...
[ "riyaregmi19@gmail.com" ]
riyaregmi19@gmail.com
a307d1e3e929d878090e28d9d79600c1101e651e
c91e63b1f688aa4efd8db66eda2aff11f2391ed5
/python/helpers/typeshed/stdlib/@python2/site.pyi
c77c9397f61235cd1a6fc8609638fda26a5c0785
[ "Apache-2.0", "MIT" ]
permissive
Mattlk13/intellij-community
c49d9b2742b61e98370ffb8604611db1e680d2e7
43b95d766e988814033b202ebe97a0ad53df59ee
refs/heads/master
2023-08-28T16:52:36.973221
2022-01-27T14:23:41
2022-02-11T13:43:51
83,334,899
0
0
Apache-2.0
2023-03-08T04:13:59
2017-02-27T17:00:46
null
UTF-8
Python
false
false
381
pyi
from typing import Iterable, List PREFIXES: List[str] ENABLE_USER_SITE: bool | None USER_SITE: str | None USER_BASE: str | None def main() -> None: ... def addsitedir(sitedir: str, known_paths: Iterable[str] | None = ...) -> None: ... def getsitepackages(prefixes: Iterable[str] | None = ...) -> List[str]: ... def get...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
e5603077f853e29050a73a1802510f6255dc8019
2adb627cfd97cb3b56ac85f2c1613e64ec8aff2f
/manage.py
fd154b60cac1c1218751f73a59576d89475b3a16
[]
no_license
AthifSaheer/techbyheart-machine-test
28307a103e694965df965aefc8576cd558204585
2cc74e4b9a5dfb3e0a73b1b36b245b8bb92d2b9b
refs/heads/main
2023-08-31T20:12:13.082225
2021-10-23T01:35:48
2021-10-23T01:35:48
420,179,253
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'techbyheart.settings') try: from django.core.management import execute_from_command_line except ...
[ "liteboook@gmail.com" ]
liteboook@gmail.com
a89e7f7411dc4a3e1f3a484b0f92a7d10fc29d16
96342f566349db101ecc4a2965331ace6303dc5a
/5.Overlap.py
ad12f7ce13203a0f0bd8a3812b769d4a3fcae62a
[]
no_license
vinodsundaram/Practise-Python
7fa5e0e2075b73b8fa3826e0d0c6cbe3792a14e8
0195b21de0d3ff5f8f35dfe0b1c03eb4cf19c364
refs/heads/master
2021-01-12T15:54:16.455655
2017-08-22T16:57:43
2017-08-22T16:57:43
71,901,752
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 25 19:50:04 2016 @author: Vinod """ a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] overlap = list() for item in a: if item in b and item not in overlap: overlap.append(item) print(overlap) #...
[ "noreply@github.com" ]
vinodsundaram.noreply@github.com
c7112ce6756cca20d41b9968367c7e41d3461727
c1ce8cdeff0a7ef98a5d229c2adecdab2af4d1b2
/xinke.py
82b062d6e8a4661e4616bfb28df4cae44d7f80ea
[]
no_license
wuruxue/python
f20f04b3239e7db41d44290e7aad16262258ae1f
bd0ba8b72c7231851db0d1f4547cb6dbf7dead83
refs/heads/master
2020-04-08T11:23:42.164248
2018-12-25T06:41:19
2018-12-25T06:41:19
159,304,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,312
py
import os from chardet import detect #a = os.path.isfile(r"C:\Users\Administrator\Desktop\root\a.txt") #print(a) root_path = os.getcwd() dir_count,file_count = 0,0 for root,dirs,files in os.walk(root_path): #print(root) if not os.path.isfile(root): dir_count += 1 for f in files: #print(f) if os.pat...
[ "noreply@github.com" ]
wuruxue.noreply@github.com
ef3c2b3e595325d085987d6e071d1f68922d3a5d
f674eaaf46491ab376199238143e18837d3f85c0
/thesis/figures/friction/coefficientOfFriction.py
9944ff4ee49977026b4d8cbaafe329fb721d2bb9
[]
no_license
filiphl/master-thesis
7402dafb3d2f3ec70f61ec97cd7a235405fc40fc
54aa0d1d49765c82c4dcaea149f2c2cf00f54bec
refs/heads/master
2021-06-18T14:09:08.652591
2017-06-19T08:39:48
2017-06-19T08:39:48
66,485,624
1
1
null
null
null
null
UTF-8
Python
false
false
3,767
py
from matplotlib import pyplot as plt import numpy as np from matplotlib import rc # SMOOTH def smoother(degree, function): smoothed = np.zeros(len(function)) smoothed[0] = function[0] for i in xrange(1,degree+1): smoothed[i] = smooth(i,function, i) for i in xrange(degree, len(function)-deg...
[ "filiphenriklarsen@gmail.com" ]
filiphenriklarsen@gmail.com
508a42fbc1cf17886a1ad5e49ccb90f22ad05950
afa8adc5861bc9e5cfc87cd012a62394d6f8c207
/doctor/views.py
8373cfac92db85a4a488f82020b84c709a3af61e
[]
no_license
ahmedshaabanix/AttendanceForStudent
d92254fe585291147648b940c314213ff880ee56
b2ffcaadd256bb991771274a9cb839c8853d16e1
refs/heads/main
2023-02-12T08:30:43.277746
2021-01-05T17:41:57
2021-01-05T17:41:57
327,072,924
0
0
null
null
null
null
UTF-8
Python
false
false
3,807
py
from django.shortcuts import render,redirect from django.contrib.auth.decorators import login_required import socket from .models import * import pyqrcode import png from django.http import JsonResponse,HttpResponse # from django.http import JsonResponse # from .models import Attendance, exmaple from django.core impo...
[ "gabr40641@gmail.com" ]
gabr40641@gmail.com
32bed7a2c873250a9542737059bba91719dd5bd3
f8ecf2d7a4f3c74286ae2ea7ef592548c7a3b267
/backtrace_subset.py
639a643d366dfedd8a2f515939109a2661d0ab85
[]
no_license
fatterZhang/leetcodeComments
beebec976465986f15ddf119f58fbe7702e55839
1535a92c2e141f86ce6c5a784d7d55ad05ed044f
refs/heads/master
2021-03-25T13:11:09.816365
2020-04-30T02:39:19
2020-04-30T02:39:19
247,621,299
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
# -*- coding: utf-8 -*-# # Name: subset # Author: ARCHI # Date: 2020/4/27 # Description: 回溯法求,数组所有子集 # 参考链接:https://labuladong.gitbook.io/algo/suan-fa-si-wei-xi-lie/zi-ji-pai-lie-zu-he#er-zu-he # ------------------------------------------------------------------------------- from typing import L...
[ "1210188542@qq.com" ]
1210188542@qq.com
9375160007447a6592f95441903e9a34e36f570f
f5e6f9301d0b7ec43a16a2ddcec41f538e16676a
/project/app/db.py
e8c20700e29b6626ee7ae350e2775824de4a5ec7
[]
no_license
daisuke8000/fastapi-tdd-docker
e4b4950bd7674db616c4de67b96b7e283b14d6db
507ef5d6fb958e54fbceca59ad749a0cfb8654b0
refs/heads/master
2023-06-22T13:41:44.268574
2021-07-23T03:36:54
2021-07-23T03:36:54
384,939,690
0
0
null
2021-07-23T08:26:55
2021-07-11T12:13:59
Python
UTF-8
Python
false
false
1,074
py
import logging import os from fastapi import FastAPI from tortoise import Tortoise, run_async from tortoise.contrib.fastapi import register_tortoise log = logging.getLogger("uvicorn") TORTOISE_ORM = { "connections": {"default": os.environ.get("DATABASE_URL")}, "apps": { "models": { "mode...
[ "daisuke12108000@gmail.com" ]
daisuke12108000@gmail.com
2356cdb59ac87dc7e430cfd173d9cad9d664a40e
8f4d46ebd1d61616f9cb50f1d7bf423399e3f614
/run.py
cd7a1fb8f5cd5e5171be3e2df7cc49d116444559
[ "Apache-2.0" ]
permissive
nwinds/demoServer
b089a0d9ea825bb86133d30b79bcfc9a10527f49
73f8f6547bcede5e348bff205d8e48bbd84cf7e1
refs/heads/master
2021-01-01T05:12:32.590055
2016-04-25T07:22:19
2016-04-25T07:22:19
56,697,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
import os.path import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web import tornado.wsgi from tornado.options import define, options define("port", default=8000, help="run on the given port", type=int) class IndexHandler(tornado.web.RequestHandler): def get(self): self...
[ "namingwinds@gmail.com" ]
namingwinds@gmail.com
49cdfb3b2bfc20d46dcb661d3aab44bb1c8e426b
abca56cc77dac9184a6a92bdc6af1059f470d8e1
/bin/wheel
e259bf47fe9b6c3f855276313bb95c2654bf98d5
[]
no_license
maxpeng041/prop-64-analysis
1b5c47fcc9eab6e492f274b50ad5f56d6bec5a2d
c405b6382bc4b8b38b3a500956a1c7ed4f6c7c0c
refs/heads/master
2021-10-10T23:13:24.507109
2019-01-18T20:36:33
2019-01-18T20:36:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/Users/ziyuanpeng/Code/first-python-notebook/bin/python3.6 # -*- 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())
[ "maxpeng041@gmail.com" ]
maxpeng041@gmail.com
0c3823a879ea6b77ccda558c0705ef0127df2273
de28d889d79bddf8e8aff45988a0f67a9bb012fa
/models.py
4240ac64cc61e02ff84696e6e601fcad6727c74f
[]
no_license
smarandi/python-jwt-boilerplate
e8a4b390096195fe707e12eb204782a182dfffb8
3eb6cb8b10e9af41b5814c30998358f55b55c557
refs/heads/master
2020-04-28T16:35:24.138814
2019-03-13T12:31:36
2019-03-13T12:31:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,661
py
from run import db from passlib.hash import pbkdf2_sha256 as sha256 class UserModel(db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key = True) username = db.Column(db.String(120), unique = True, nullable = False) password = db.Column(db.String(120), nullable = False) d...
[ "samuel.marandi@evivehealth.com" ]
samuel.marandi@evivehealth.com
c47893545684fda31f3a7369647c734237e7c93c
f1488619d32e72360deb25c2ae709fdb299e3269
/dvae/bayesian_optimization/sparse_gp.py
027ced2b7b0937ffcbd5a36dfb06c04f8b344f7f
[ "MIT" ]
permissive
animeshbchowdhury/DAGNN
5cf0794d56ff4d989da36e4deab87e9536ddcad3
02062bd2b24c6a23ef1fa8093d082df72ece98cd
refs/heads/main
2023-04-29T10:47:36.050410
2021-05-07T17:41:11
2021-05-07T17:41:11
365,308,808
0
0
MIT
2021-05-07T17:36:10
2021-05-07T17:36:10
null
UTF-8
Python
false
false
14,800
py
## # This class represents a node within the network # from __future__ import print_function # import sys # import os # sys.path.append('%s/Theano-master/' % os.path.dirname(os.path.realpath(__file__))) import pdb import theano import theano.tensor as T from sparse_gp_theano_internal import * import scipy.stats as...
[ "veronika.thost@ibm.com" ]
veronika.thost@ibm.com
1c86de5b1579680f98739fe49ee6fb08a7b50c53
6fdfe2f08732c8a329c2540e00e9a97c1e3e25b0
/Study/login_test.py
499cf79e422a1a373e444e191508915c8abe5275
[]
no_license
yuanjunling/UnittestCaseDemo
33814ed9afef1b32c05580d33e6808370032bd61
464e322b07228480ba3d38658238adb742b3bc13
refs/heads/master
2021-05-16T20:34:28.085907
2020-07-20T09:19:26
2020-07-20T09:19:26
250,458,972
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import requests,json session = requests.session() headers = { "Content-Type": "application/json" } json1 = { "userAccount":151001, "userPassword":"a047a095710f46c941d771898c893eb5" } url = "http://106.75.37.93/user/login" res = session.post(...
[ "admin@890903" ]
admin@890903
f30d5d9533c725600b95a340256eba65211935d5
93173b80d84f317eb7f698e826881b09d5c55f28
/temp.py
446a51a98d1049b4edaf070b7ef29f1d0bb43dbb
[]
no_license
ZhdanovichTimofey/Project-astrofight.-Command-B
8a99835ee309eebe63cbbb49addf1a6fdda1a5ac
492d0cde0b47956ca6393efe1fa8d9c644d5cddd
refs/heads/main
2023-02-10T21:48:47.093787
2021-01-06T15:21:02
2021-01-06T15:21:02
314,564,492
0
1
null
2020-12-18T06:44:53
2020-11-20T13:37:56
Python
UTF-8
Python
false
false
4,424
py
import model import numpy as np import pygame import sys import tkinter as t import pygame.locals class Player: def __init__(self, turn): self.score = 0 self.mistakes = 3 self.turn = turn self.path = np.array([], dtype = '<U13') pygame.init() FPS = 20 stell_graph = model.Graph('D...
[ "reva.sk@phystech.edu" ]
reva.sk@phystech.edu
e63dd89cc048415ede1333d985917602fd401912
46a93de665323f81824806359e350cc07ea43dae
/backend/src/api.py
90d260c6db4a33df4df587e1eed4b5be6285ffad
[]
no_license
ardeshirsaadat/coffee_shop
f8f4cb124150b29548c9fc0004d8ac703c194846
48c16714c784db447b5659a5eacbc3b4716cbb9f
refs/heads/master
2023-02-26T02:12:21.086030
2021-02-04T15:29:26
2021-02-04T15:29:26
335,502,643
0
0
null
null
null
null
UTF-8
Python
false
false
6,395
py
import os from flask import Flask, request, jsonify, abort from sqlalchemy import exc import json from flask_cors import CORS from .database.models import db_drop_and_create_all, setup_db, Drink from .auth.auth import AuthError, requires_auth app = Flask(__name__) setup_db(app) CORS(app) ''' @TODO uncomment the foll...
[ "ardeshirsaadat@gmail.com" ]
ardeshirsaadat@gmail.com
f92beff1f0298c50018c7592ee189f185dca5c4e
0629087901f26f77f6a1f8f11425340715f18bb2
/rectangle_calculator.py
bd0f4b1377199f2db2721ca78c025cf4dbc22fe9
[]
no_license
Douglass-Jeffrey/ICS3U-Unit2-02-Python
47058cc5d27fd265938a9e07b7443c86868c0578
168f9ebd35ad37ef229cfd6d0cc5e98624bb4d9c
refs/heads/master
2020-07-27T14:47:45.605642
2019-09-20T21:55:11
2019-09-20T21:55:11
209,129,598
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
#!/usr/bin/env python3 # Created by: Douglass Jeffrey # Created on: September 2019 # This program calculates the area and perimeter of a rectangle # with user input def main(): # this function calculates area and perimeter # input length = int(input("Enter length of the rectangle (mm): ")) width = in...
[ "ubuntu@ip-172-31-19-198.ec2.internal" ]
ubuntu@ip-172-31-19-198.ec2.internal
e4a64bf109862acc5d6c94db2370558dfead2208
67c32563fad4813f87cfb3f79b09218f93fde244
/intake/tests/models/test_prebuilt_pdf_bundle.py
96330965d777aa37f19248f52e1afb99663e0e37
[]
no_license
codefordayton/intake
a810685a492b4937d8b094e1e105b53c8a93f012
02df2716f4d7622a01127762eaf9d741f44c871c
refs/heads/develop
2021-01-21T19:06:11.541418
2017-07-26T10:09:24
2017-07-26T10:09:24
92,113,879
0
1
null
2017-05-23T01:08:12
2017-05-23T01:08:11
null
UTF-8
Python
false
false
1,778
py
from django.test import TestCase from user_accounts.tests.factories import FakeOrganizationFactory from intake.tests.factories import FormSubmissionWithOrgsFactory from intake import models class TestPrebuiltPDFBundle(TestCase): def test_default_attributes(self): fake_org = FakeOrganizationFactory() ...
[ "jennifermarie@users.noreply.github.com" ]
jennifermarie@users.noreply.github.com
4d958559230bf83817d75a92d948de49ce033433
9360c502531b94e73239f2aed9aedeaf9a8745fd
/Analyse exploratoire.py
6494b30235787bda577b02c60e7880b086d45812
[]
no_license
Marigleta/Simplon
4371129d1161eb4ee1b5bab52525923cf42c2db2
f333d6094ac3b9a05545a7b58fef847a9168207e
refs/heads/main
2023-05-06T22:37:44.460788
2021-05-26T18:27:53
2021-05-26T18:27:53
355,127,621
0
0
null
null
null
null
UTF-8
Python
false
false
7,029
py
#!/usr/bin/env python # coding: utf-8 # In[4]: import pandas as pd fandango=pd.read_csv("fandango_scores.csv") fandango # In[5]: norm_reviews=fandango[["FILM", "RT_user_norm", "Metacritic_user_nom", "IMDB_norm", "Fandango_Ratingvalue", "Fandango_Stars"]] # In[6]: norm_reviews.head() # In[4]: norm_reviews...
[ "Marigleta" ]
Marigleta
075729fc5141abc16128074dd9b5ca0c3afc0c3c
e214a310c1d2430242824d386a149dec63035c99
/6024.py
2abb0f0fbb13a00fac98d108aa6c7aae26ad929c
[]
no_license
JIWON1923/CodeUp_basic100
3704feeb4fdafc8a946eb99b84aa86d3786fa331
81a72eaf62f636032a8ce75560d0302bd37c36ea
refs/heads/main
2023-04-03T19:36:05.989830
2021-04-13T12:38:19
2021-04-13T12:38:19
347,349,150
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
str, num = input().split() print (str + num)
[ "noreply@github.com" ]
JIWON1923.noreply@github.com
385f2663830a41939366cc1c6ae07330af7caa45
aaa4eb09ebb66b51f471ebceb39c2a8e7a22e50a
/Lista 06/exercício 07.py
7c604351ca6dbdf257a20dd0fad89ae1db55590c
[ "MIT" ]
permissive
Brenda-Werneck/Listas-CCF110
c0a079df9c26ec8bfe194072847b86b294a19d4a
271b0930e6cce1aaa279f81378205c5b2d3fa0b6
refs/heads/main
2023-09-03T09:59:05.351611
2021-10-17T00:49:03
2021-10-17T00:49:03
411,115,920
0
1
null
null
null
null
UTF-8
Python
false
false
329
py
#Escreva um algoritmo que armazene em um vetor o quadrado dos números ímpares no intervalo fechado de 1 a 20. Após isso, o algoritmo deve escrever todos os valores armazenados. vetor = [] for i in range(21): quadrado = i ** 2 vetor.append(quadrado) for i in range(21): if i % 2 == 1: print(vet...
[ "89711195+Brenda-Werneck@users.noreply.github.com" ]
89711195+Brenda-Werneck@users.noreply.github.com
5aec1cc5416619cddfec817247ff56252302b835
576a25f30d67f29ef83ad9a493b80816822bcee6
/Output/stats.py
85cf24fc4ddd8d8b819ce68cd198a8bc0a32b763
[]
no_license
yorozultd/hun-eng
c001736a260fd19b3e36777d3f8ff29b778b573d
d922b48ea05bb8c1676ba8dad727d0487934d103
refs/heads/master
2022-02-28T03:05:36.020076
2019-11-15T15:48:52
2019-11-15T15:48:52
208,487,065
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
import xml.etree.ElementTree as ET import json path = './xmlDataSanitized.xml' tree=ET.parse(path); root = tree.getroot() products =root.findall('product') print("Total Number of Products : "+ str(len(products))) stat={} categories=0 for product in products: if product.find('category') != None : if stat...
[ "ch34tc0d3@pop-os.localdomain" ]
ch34tc0d3@pop-os.localdomain
5fc846f4e95988a233b9edc7a92b3c1f81dd76f9
72e497722c5033d15c200436faa39eb574557159
/backend/todo_api/urls.py
35f8edd77995fe77fc1ef188c64d216e89aba6ef
[]
no_license
jhefreyzz/todo
8db820e7b904a132998c0e44685cf37fad491224
5ab17a40cf959694ad405137cff7dc288e374f3f
refs/heads/master
2020-04-14T08:37:35.510293
2019-01-01T13:42:19
2019-01-01T13:42:19
163,739,545
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
"""todo_api URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "jhefreysajot@gmail.com" ]
jhefreysajot@gmail.com
a8579ed8f40715b4fd4a9295b637676a7ce56de3
00e0deb938e17401fa4b94c60080abbcc8ecfc62
/Django/bookAuth/bookAuth/urls.py
e5b77b03398fbe020ed56df907484556f9f86926
[]
no_license
Jacobgives/My_Projects
a818a91c8db7b541e6ecdaf1a6856525ca153aa9
1788e0fa27b202386d6daa1fed25fc820405dd50
refs/heads/master
2021-08-07T05:41:51.426224
2017-11-07T16:06:31
2017-11-07T16:06:31
104,389,185
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
"""bookAuth URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "jacobgives01@gmail.com" ]
jacobgives01@gmail.com
c3465e10e85bb0295360983bd61ab81020a95c4a
aee6e20a3a6c602f1464e72fd0a6c4f684e5edcd
/ArticleProj/ArticleApp/migrations/0001_initial.py
fed8cdcda6ea132962f95de36222ee520933bfa7
[]
no_license
Ataulla/article
fc117d8b7081b42fca8d4f383fd00c8f831c87a2
00f6ed2d865cda72cb4abafcd344a120ebf2dbf9
refs/heads/master
2021-01-13T08:19:15.473797
2016-10-24T13:29:53
2016-10-24T13:29:53
71,789,919
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.AutoField(verb...
[ "ataulla@gmail.com" ]
ataulla@gmail.com
0bf5ad29b1dcadc95381dd3c70d9454c0dd71bec
191a669fa6933e803efddd3b99cb8eff603e4091
/psdf_main/helpers.py
a71f4c23aa4c58abadc404d170fdcda5dabdfdbe
[]
no_license
AbbasHaiderAbidi/PSDF_main
cbbd2369bf06baed8cb875b025225115345b26ec
2ffc6a1de79280f4ab5b3f94ac20f9f31618ec0e
refs/heads/master
2023-09-03T15:06:24.664724
2021-11-01T05:58:58
2021-11-01T05:58:58
339,616,886
0
0
null
null
null
null
UTF-8
Python
false
false
12,614
py
from .helper_imports import * def useronline(request): if (request.session.has_key('user')): return True else: return False def adminonline(request): if (request.session.has_key('user') and request.session.has_key('admin')): return True else: return False def auditoro...
[ "abbashaider2131995@gmail.com" ]
abbashaider2131995@gmail.com
534ba0dcf7a9aeeb061afae9ac534fbab3a2f718
8ed1b95f8f2394ebe0d856dd98405ad2e30485d9
/src/feature_extract/check_features.py
a2363c0281c207e1a5d81f298a0e03e38fb409f8
[ "MIT" ]
permissive
j592213697/Depression-Identification
7c6052b2841c51fcac1eeed906248b6b837faa3a
31b5e6f44ecd6a87b1a181fcd9e8388edb15a176
refs/heads/master
2020-03-14T20:28:06.541618
2017-05-05T05:37:27
2017-05-05T05:37:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
import pandas as pd def get_test_data(): test_data = pd.read_csv('data/classification_data/dev_split.csv') #print test_data test = test_data['Participant_ID'].tolist() #print test #test.append(video) clm_d = pd.read_csv('data/disc_nondisc/discriminative_CLM.csv') covarep_d = pd.read_csv('d...
[ "kamalakumar.indhu@gmail.com" ]
kamalakumar.indhu@gmail.com
1d0ffab25ac94e98b8f050128f92921206c82111
1eb0213140ada1c48edc5fb97b439d6556e6c3a9
/0x04-python-more_data_structures/9-multiply_by_2.py
9888234f55ffbf8f0f04fb4116bee93857f1096a
[]
no_license
HeimerR/holbertonschool-higher_level_programming
53d2a3c536fd9976bb7fea76dd2ecf9a6ba3297e
892c0f314611c0a30765cf673e8413dbee567a2d
refs/heads/master
2020-05-18T02:24:11.829328
2020-04-30T03:59:04
2020-04-30T03:59:04
184,112,468
1
0
null
null
null
null
UTF-8
Python
false
false
270
py
#!/usr/bin/python3 def multiply_by_2(a_dictionary): if a_dictionary is not None: aux = a_dictionary.copy() for k, v in sorted(aux.items()): val = v * 2 tuple_aux = {k: val} aux.update(tuple_aux) return aux
[ "732@holbertonschool.com" ]
732@holbertonschool.com
4a92105125c6c47d36ad1b16a4d42bbca9b1f117
601999cfbbd44292520284dbc69c16d4a1d0955a
/jingdong/JD_summaries/JD_summaries/middlewares.py
6f303e05748059a3d042bcefcc1de0193b62685a
[]
no_license
SwimmingFish96/py2_spider
1a8cd7e97bf472894192b7d93e5648083f778556
c8c263d9343406aa5c285a404f2b75facd6efec1
refs/heads/master
2022-02-20T17:43:55.345922
2017-07-01T11:33:19
2017-07-01T11:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class JdSummariesSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scra...
[ "3071938610@qq.com" ]
3071938610@qq.com
23031e0e20c5400a098bda6953c93140ef4f20e8
a6e004e96506911a58238ed21e30f4cfd0c12148
/project/utils/utils.py
e40be178d3ef6541e2ed20b64b9d9a7e94917cb6
[]
no_license
MuZiLiHui/HybridFeatureSelection
c257f444dd889ef8e0d0f6ce626ad61de4cb76e6
18aefa1762e235125ec54bd31f8a8e86e75194e8
refs/heads/master
2020-12-02T03:21:09.983280
2018-06-21T23:17:39
2018-06-21T23:17:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
import time from project.utils.io import save_pickle from project.utils.io import load_pickle def calculate_time_lapse(function, *args, **kwargs): start = time.time() result = function(*args, **kwargs) lapse = time.time() - start return lapse, result class ResultMixin(object): """Mixin generico ...
[ "daniel.matos@pucp.pe" ]
daniel.matos@pucp.pe
525d22141a592c5bad7e3c9ec2c9dc7adca5fcb0
6ab3d02c6b5426cd122b3d3c7b31faee7ea917d4
/DP_subsetsum.py
63e52ba7a55d50d5251646b8159442d9577f5fe2
[]
no_license
AishwaryalakshmiSureshKumar/DS-Algo
e54967ed24c641059fe15b286359f1b71141eeff
a624b29182c92b5fa8017aae597eb4ad2475deae
refs/heads/main
2023-04-21T17:17:10.342833
2021-04-18T18:03:57
2021-04-18T18:03:57
356,888,335
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
#code def subsetSum(n, val, m): T = [[0 for i in range(m+1)] for i in range(n)] for i in range(n): T[i][0]=1 for i in range(n): for j in range(1, m+1): if j<val[i]: T[i][j] = T[i-1][j] else: T[i][j] = T[i-1][j-val[...
[ "noreply@github.com" ]
AishwaryalakshmiSureshKumar.noreply@github.com
0963622ace28ea6c4ec5df7b4a460444a5def95f
f79fcc48f20625bc30a0e68faeeeb90c0ffdfcda
/Queues/ReverseFirstKInQueue.py
65690f3ebc2c356bd4a1fc92f429c5c7673619fc
[]
no_license
KurinchiMalar/DataStructures
10e6e99e73451d88e932edff8ae40a231ed0f444
db14efa24b98bb0f5121ffcf02340a85d63fb2bb
refs/heads/master
2021-01-21T04:31:45.138640
2016-06-29T02:51:16
2016-06-29T02:51:16
48,610,802
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
''' Given an integer k and a queue of integers, how do you reverse the order of the first k elements of the queue, leaving the other elements in the same relative order? For eg. if k = 4 and queue has the elements [10,20,30,40,50,60,70,80,90] the output should be [40,30,20,10,50,60,70,80,90] ''' from Stac...
[ "kurinchimalar.n@gmail.com" ]
kurinchimalar.n@gmail.com
03b9c005465cd8808120ac82b7a3c858de5579e3
bf0dec26b2459f1cc134173e8fb83cfc84fcee9b
/Issue.py
cc5923e36ce69a54c646d70a764290a5a74e0d67
[]
no_license
Sgrygorczuk/TurkSystemDB
b0153d68cfb67d4685de7474650ba24b3706ef45
ef0754a70da07fa232c138ba132cb6b3206ca7e4
refs/heads/master
2020-06-28T14:30:13.241132
2017-12-05T05:48:46
2017-12-05T05:48:46
200,255,617
0
0
null
null
null
null
UTF-8
Python
false
false
3,423
py
import jsonIO class Issue: db = "issue_db" def __init__(self, referred_id = 'Nan', issue_desc = "", admin_review = "", date_resolved = "", resolved = False): self.id = 'Nan' #might call new_issue later on self.new_issue(referred_id, issue_desc, admin_review, date_resolved, resolved) #create a new issue i...
[ "k.eun121@gmail.com" ]
k.eun121@gmail.com
f20b03ea9f1d88a2917a2b85bbb9d054631dfcf4
b935f118a730130b7111e8a2d4a8e7fabc5be069
/plugins/hipchat/hipchat.py
522c73c9771ba091a6f4679744ea4cedb4237e25
[ "Apache-2.0" ]
permissive
jeanpralo/alerta-contrib
e1e8d6f098a85032ca7fc34d144d59532332b30b
67f6105ab753f5f6b7e505bbd9b092f5a2199a56
refs/heads/master
2021-01-16T20:27:12.540073
2015-08-29T17:17:49
2015-08-29T17:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
import json import requests from alerta.app import app from alerta.plugins import PluginBase LOG = app.logger HIPCHAT_URL = 'https://api.hipchat.com/v2' HIPCHAT_ROOM = 'room' # Room Name or Room API ID HIPCHAT_API_KEY = 'INSERT_API_KEY' # Room Notification Token class SendRoomNotification(PluginBase): def ...
[ "nick.satterly@guardian.co.uk" ]
nick.satterly@guardian.co.uk
81e1a69690f1c4fa4716970b0f68d6bae4f2b0cb
b0ee373987313a540e53a2b964e14cac728e0ce3
/raytracer/matrix.py
6344ec759ce9790f32a670546a8f9ed9bee9d70a
[]
no_license
ozy/tracey
2af621895cecdff66920887eddaec42280997f6b
841d278e36ac35e25a74b9f04fb6c211cd0fff6f
refs/heads/master
2022-01-25T03:39:21.727267
2019-07-20T20:47:26
2019-07-20T20:47:26
197,979,141
0
0
null
2019-07-20T20:42:16
2019-07-20T20:42:16
null
UTF-8
Python
false
false
245
py
from collections import UserList class Matrix(UserList): def __init__(self, width, length, fill_with = None): filler = fill_with or (lambda: 0,) self.data = [([filler[0](*filler[1:])] * width).copy() for _ in range(length)]
[ "btaskaya33@gmail.com" ]
btaskaya33@gmail.com
4ca04415ca82f6c78a49f2c05e33bea128a35396
7ecfc46560944bd327ff206b4300a77a36c34ba8
/homeassistant/components/nam/const.py
a9d044f2c1d1674244cc0ee5aa4d72d5cae01b4c
[ "Apache-2.0" ]
permissive
joshs85/core
228eb9f34a362431a56b9eb61f2c8f3f8516b0c6
1661de5c19875205c77ee427dea28909ebbbec03
refs/heads/dev
2023-07-27T10:22:48.813114
2021-08-17T00:12:45
2021-08-17T00:12:45
334,783,818
0
0
Apache-2.0
2021-08-17T00:27:21
2021-02-01T00:00:07
Python
UTF-8
Python
false
false
7,366
py
"""Constants for Nettigo Air Monitor integration.""" from __future__ import annotations from datetime import timedelta from typing import Final from homeassistant.components.sensor import ( STATE_CLASS_MEASUREMENT, SensorEntityDescription, ) from homeassistant.const import ( CONCENTRATION_MICROGRAMS_PER_C...
[ "noreply@github.com" ]
joshs85.noreply@github.com
847cdbbd6b26df96e6d469bbed90d7705e42b96b
570c80464aaef29b76dbf7836c407da772eb301f
/main/helpers.py
d028b420335ea430143d51b9449dac9900f8663b
[]
no_license
YukkuriC/django_fillin_oj
afcf35d7ee093691f95e65791229c33640dbad34
7e5e1d87633a6ccbef20288c485f200384d1f7d6
refs/heads/master
2020-06-04T05:48:42.384254
2019-07-11T07:01:55
2019-07-11T07:01:55
191,894,297
3
0
null
2019-06-16T16:17:52
2019-06-14T07:12:34
Python
UTF-8
Python
false
false
5,799
py
import os from django.db import models from django.dispatch import receiver from django.contrib import admin, messages from django.shortcuts import redirect from django.http import JsonResponse, HttpRequest from django.utils import timezone from django.core import mail from django.conf import settings from django.temp...
[ "799433638@qq.com" ]
799433638@qq.com
9aefade78806c988cb28e7a2ffcebd4f578c3432
55333fd7ec8d2667a885c21256d894716d3b2c22
/scripts/GMLParser.py
51805ebdd802b318372c146fceffffa368c41428
[]
no_license
jura-g/MultiUAV_Simulator
ffece72747069b5bcada9b8fe64c5d84397d777b
17a918c6270010d582cec308cea0438d3741e1ea
refs/heads/master
2022-12-06T01:15:12.259199
2020-09-03T14:13:55
2020-09-03T14:13:55
254,403,809
1
0
null
null
null
null
UTF-8
Python
false
false
4,717
py
from osgeo import ogr from osgeo.osr import SpatialReference import json class GMLParser: def __init__(self): self.points_dict = {} ''' All functions that start with "getPoints" return list of lists of coordinates MultiPolygon and MultiLineString may have few parcels within them (few lists of ...
[ "ivan.pavlak3@gmail.com" ]
ivan.pavlak3@gmail.com
d8b199029d370056116fe675100bb43ed608dd91
91e31243d4f7f6610fc7bcf4b54ef54432ba9baf
/directory-creation/path2json.py
aef4a5333b9ac0d3dce555cb394d35b8e6013866
[]
no_license
sdhutchins/code-haven
a7c1bda18796f33ba993a9194808901cc2dfeabb
cab72c086e42ec2af22f8b67afb9c2eeb607a6cd
refs/heads/master
2020-06-16T13:54:24.331907
2019-07-30T18:05:10
2019-07-30T18:05:10
195,599,675
1
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
# -*- coding: utf-8 -*- """ File Name: Description: This script creates a shell directory structure similar to the path inserted into the script. Author: shutchins2 Date Created: Wed Apr 5 14:20:49 2017 Project Name: """ import os import json def path_to_dict(path): d = {'name': os.path.basename(path)} if o...
[ "sdhutchins@outlook.com" ]
sdhutchins@outlook.com
ea9b2459a9d48926e1f7b9b548bc3141bafc951f
c3ec150169c7da6a3d8edd942538a3741e8d5c48
/app.py
897d45b9f9697f43c4ad8749daa59d5b9ba17b5d
[]
no_license
Apophus/socialapp
c588a098395ceb964d2e3d7223d14e0ad3a3d61a
644cb82001b7502607d6984a16ed3fdcd7b627d9
refs/heads/master
2020-04-02T13:21:26.700587
2016-07-11T21:02:11
2016-07-11T21:02:11
62,619,856
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
#!usr/bin/python from flask import Flask, g, render_template, redirect, url_for, flash from flask.ext.login import LoginManager import models import forms DEBUG = True PORT = 8000 HOST = '0.0.0.0' app = Flask(__name__) app.secret_key ='hard to guess' login_manager = LoginManager() login_manager.init_app(app) login...
[ "bkilel12@gmail.com" ]
bkilel12@gmail.com
0cd9a166c4c8af939bbc531934e7642245708d0b
976cd1a0a67b94aeeb2eeb88c665475f2f7c6336
/Cursovaya/mysite/orders/migrations/0001_initial.py
d37c7f64c7754d938eaf725751cc8785890272f3
[]
no_license
AygulAzizova/recommendation_system_apriori
7fc75374a14decc32cc2a22b294a418755cdeb50
54d444c08b465b6f999a36f2a6264b962664c316
refs/heads/master
2022-11-10T09:08:19.390543
2019-03-29T18:03:19
2019-03-29T18:03:19
178,451,072
0
1
null
2022-10-29T07:03:45
2019-03-29T17:43:11
Python
UTF-8
Python
false
false
1,875
py
# Generated by Django 2.0.4 on 2018-05-02 12:06 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('catalog', '0005_auto_20180501_1158'), ] operations = [ migrations.CreateModel( ...
[ "aygulazizova8@gmail.com" ]
aygulazizova8@gmail.com
1a82a7750a74dbbc00bab268edae24184b44176d
9ede52351cb6753864e10b1df9c4f3a72e2b7a6d
/Code/Make_Graphs.py
ccb501316e44759712c9dc376eb207dbff7cbbee
[]
no_license
dmfeuerman/Stock_Bot
ca651f2f45c3261a515e5501adb4dded4a932374
7b833ca83650e27a8e2273e6da047fe870eb73de
refs/heads/master
2023-03-16T06:18:09.720724
2021-03-16T20:47:46
2021-03-16T20:47:46
346,143,837
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
import pandas as pd import matplotlib.pyplot as plt def Graph_Count(): df = pd.read_csv('/outfiles/Sorted_data/Graph_total.csv', index_col='Date') df = df.T df.plot(legend=True) # plot usa column plt.savefig("/home/dylan/Documents/StockBot/outfiles/Sorted_data/Graph.pdf") def Graph_Price(): df =...
[ "dmfeuerman@loyola.edu" ]
dmfeuerman@loyola.edu
3b1c725e110cc52229ac85127b2ebf8be1c19994
3aa5b2b1a7b6d3ee66ad6ccebf157363c5f910a0
/Testcases/NetApp_OEM_Chinese/test_cp_5_NetAppHCI/test_cp_5_dashboard_chinese.py
68c4da876c34d85642d0be348df265d07dde0e98
[]
no_license
2sumanthk/PythonAutomationAIQCA
fd04c0b0ea5617c41298ee31d51e3f6fdafdcc6a
60aae6e5a9de9e1eb2ee3d8e507beaf640576d94
refs/heads/master
2023-01-05T02:56:54.685107
2020-10-19T06:06:16
2020-10-19T06:06:16
297,239,630
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
from functions.base_functions_zh import * import pytest import allure from functions.ExcelFunctions import ReadWriteExcel # Reading data from excel data_read = ReadWriteExcel( "C://Users//Sumanth//PycharmProjects//PythonTesting//Resources//configurations//testdata//Test_data.xlsx") # filename to be used in screen...
[ "2sumanthk@gmail.com" ]
2sumanthk@gmail.com
f64dc8b8c4c99f1ad42711b9cde1f13acf3c8314
46ee4291335b92547d95baaf90a0747b5862b861
/packages/pathfinder/package.py
8986347c2aea50da6302c12c7ca291e7284c4bbe
[]
no_license
pkondamudi/proxy-apps-spack
90e87dad19cb2e9c0e12f676f8bd6533447994da
cdfd29033b69c011821e2eb6bfde27cc06d0b522
refs/heads/master
2021-01-21T22:02:14.074001
2017-06-22T20:01:18
2017-06-22T20:01:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
############################################################################## # Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
[ "bhomerding@jlselogin1.ftm.alcf.anl.gov" ]
bhomerding@jlselogin1.ftm.alcf.anl.gov
9e28302446039124857680f45fcc730c89a193f7
a5edf77af0c51f5137ab5c7bc38712d3feed4919
/SVM/svm2.py
815bfe24070c66511e6e7a957165c555f80e5420
[]
no_license
Sumitsami14/NAI
4be4c5b130cd3b5b3de820669040fb2e9605d97f
a3805ca3063b8e836b3b12c8aec1f9b9d91f766a
refs/heads/main
2023-02-21T21:47:58.438178
2021-01-29T19:58:00
2021-01-29T19:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,760
py
#Autorzy : Jan Rygulski , Dominika Stryjewska import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from sklearn import svm from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeClassifier ''' Program ma za zadanie klasyfikować dane za...
[ "noreply@github.com" ]
Sumitsami14.noreply@github.com
e0bfafd57b7eba7ffdb19e13857be41828c5d360
5878062d93a3e9cf150127aa1b4a1f3531183f72
/train.py
68efe4d3ee5e933a9ed8484276fe77b1cb3f2685
[]
no_license
abhijeeetkumar/siamFCR
52c4d2a57ca60c9ea5924070ba3dbd0919811913
deb35af3f9094c13c1b8f705830e5ebd765d8482
refs/heads/master
2023-04-08T17:08:30.001479
2021-04-16T03:16:27
2021-04-16T03:16:27
352,776,215
1
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
import os import sys import torch from torch.utils.data import DataLoader from got10k.datasets import ImageNetVID, GOT10k, VOT from pairwise import Pairwise from siamfc import TrackerSiamFC if __name__ == '__main__': # setup dataset name = 'VOT' assert name in ['VID', 'GOT-10k', 'VOT'] if name == 'GOT...
[ "abhijeet.kumar@psu.edu" ]
abhijeet.kumar@psu.edu
608aeac97db4c8e1695b7f3d1f937739a8d47049
7728ce58c771c4f643b27c2854f13fa4587a7c91
/color.py
7168ef5a9536039c0e25326308b2c366c3c1b629
[ "MIT" ]
permissive
albedo-geo/Image-to-Text
b2a9cbffc25c532fb72695b91110340c00c5e048
7c34f9805aee6d9aa3d7bbcefbd84c2977c4f305
refs/heads/master
2023-07-12T11:22:46.960942
2021-08-25T04:08:14
2021-08-25T04:08:14
399,685,265
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
import numpy as np import cv2 from PIL import Image, ImageFont, ImageDraw, ImageFilter import random from pathlib import Path import time from tqdm import tqdm def get_alphabet(choice) -> str: """get the alphabet used to print on the output image""" if choice == 'uppercase': return 'ABCDEFGHIJKLMNOPQR...
[ "noreply@github.com" ]
albedo-geo.noreply@github.com
3c6382a662d9ee9bc19ec515c982e30fc01b5944
2f61a8cb2200e64adc835c31d8457c3949cd93e0
/tests/test_action_list_teams.py
0710484ae7b7f1a9e6466415b3cfa70d37dfa6f0
[ "Apache-2.0" ]
permissive
syncurity-exchange/stackstorm-github
8b53907f920bd76fcf8a915f6db7da3e99c9b68c
9449332a8cd9e5af98e60d564a2b42e2359ef687
refs/heads/master
2021-02-13T10:27:32.027838
2019-10-31T11:09:30
2019-10-31T11:09:30
244,687,873
0
1
Apache-2.0
2020-03-04T02:00:06
2020-03-03T16:35:47
null
UTF-8
Python
false
false
995
py
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
[ "jon.middleton@pulsant.com" ]
jon.middleton@pulsant.com
3edd11b131a4342745ed19f4bd4d890254793c45
b67dd7bfd64a6c2becffe6cdbbba9c05b033e4a6
/python/test/core/test_core.py
274d18e1dfd85fc8cee390df73e0ae0afd69af9b
[ "MIT" ]
permissive
bo-rc/Open3D
b0eee76cb66535ca0ef9f7a56441d19e2f4353da
e7cad94c7a7c63d07da5bc8637b3bb65e698a5ff
refs/heads/master
2023-03-31T17:11:27.342134
2021-04-07T22:23:58
2021-04-07T22:23:58
343,340,362
0
0
NOASSERTION
2021-04-07T22:23:59
2021-03-01T08:22:13
C++
UTF-8
Python
false
false
45,709
py
# ---------------------------------------------------------------------------- # - Open3D: www.open3d.org - # ---------------------------------------------------------------------------- # The MIT License (MIT) # # Copyright (c) 2020 www.open3d.org # # Permission is her...
[ "noreply@github.com" ]
bo-rc.noreply@github.com
23f21683714939b63d13f3a7a5925a64aa3ce38d
44bad44c25b040b334911b555c573a03bcdad6a6
/qit/lmap.py
d8a8b67494b975360158efe63cc8b4e51a799aa7
[]
no_license
Quantum-Machine-Learning-Initiative/Deep-Learning---Information-theory
5bb37ef073b2dcf89dfeb84adf37856c6c829748
073bcf596e81dda5e325a73cd967a49821c27b94
refs/heads/master
2021-09-03T03:44:39.897599
2018-01-05T08:57:57
2018-01-05T08:57:57
113,054,810
3
0
null
null
null
null
UTF-8
Python
false
false
14,930
py
# -*- coding: utf-8 -*- """ Linear maps (:mod:`qit.lmap`) ============================= Bounded finite-dimensional linear maps are represented using :class:`lmap` class instances. In addition to the matrix representing the map, they contain the dimension vectors of the domain and codomain vector spaces. All the usual ...
[ "vitomichele.leli@skoltech.ru" ]
vitomichele.leli@skoltech.ru
6f165bd3430da5e23e11c2ec05a94fc5c3b910fc
d271deb821403207688d485d642f1dc8faf3502d
/aliens/settings.py
f434c0657354486f76f3e864518fe42904888fd5
[]
no_license
Arturo0911/py_lab
1e003ff4e0ebe8c7cd03f3580a1f301ab732dbe4
8d79f1218f9a240d6e75edf5092231e6cdc653cc
refs/heads/master
2022-11-08T13:03:07.391121
2020-06-30T22:30:00
2020-06-30T22:30:00
276,221,886
1
0
null
null
null
null
UTF-8
Python
false
false
145
py
class settings(): def __init__(self): self.screen_width = 800 self.screen_height = 500 self.bg_color = (230,230,230)
[ "anegreiross@ooutlook.com" ]
anegreiross@ooutlook.com
a45723ce8923e306d911a695fc641f343edcae0f
8645e3c453a860c0afe6d64e1efaa6dbc19fa131
/APIs/Heap/Heap.py
34553c8d660b5968e92bb8e72ee938cb5866e3e3
[]
no_license
vaiarrm/InterviewCodes
614a61143e2d7498996f46cbf898252dc92538ef
3b0ef3964e79b3f3c85d3cbeb9abb518f2c90f44
refs/heads/master
2021-01-12T14:06:40.306789
2016-11-04T17:13:05
2016-11-04T17:13:05
69,568,882
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
# -*- coding: utf-8 -*- """ Created on Tue Nov 1 11:03:13 2016 @author: vaibhavsharma """ from collections import deque class BinHeap(object): def __init__(self): self.heapLst = deque() self.heapLst.append(0) self.size = 0 def insert(self,item): self.heapLst.append(item) ...
[ "vaibhav.s.sharma@outlook.com" ]
vaibhav.s.sharma@outlook.com
d1ea3dfd849246836a3e8246235627cde6c0ee87
86cc17a69213569af670faed7ad531cb599b960d
/hunter24.py
730ac3fef8a685c5e82de2b8e09948cbbdacc764
[]
no_license
LakshmikanthRavi/guvi-lux
ed1c389e27a9ec62e0fd75c140322563f68d311a
5c29f73903aa9adb6484c76103edf18ac165259e
refs/heads/master
2020-04-15T05:07:19.743874
2019-08-13T08:53:00
2019-08-13T08:53:00
164,409,489
0
1
null
null
null
null
UTF-8
Python
false
false
231
py
k,l=map(int,input().split()) g=list(map(int,input().split())) fact=1 c=[] for i in range(0,k-1): for j in range(i+1,k): if g[i]+g[j]==l: c=1 break if c==1: print("YES") else: print("NO")
[ "noreply@github.com" ]
LakshmikanthRavi.noreply@github.com
6ddcfad6a35f76a927cb6e83b266b9c704622adc
b43e6ce94c3824db7cdf3df2fb286ee8c638b4d2
/install.py
6b56d05652f1286b646c85c4a3f8635e1db31e61
[]
no_license
anyonecancode/dotfiles
6b60f0c4523e5805a3aabe4fc69e083cbf22df3a
aed41b4a7faf8babc5c695a0166f088fd9a8f98f
refs/heads/master
2020-03-28T19:01:51.102142
2017-01-23T20:24:11
2017-01-23T20:24:11
5,887,347
0
0
null
2017-01-23T20:24:12
2012-09-20T14:00:44
Shell
UTF-8
Python
false
false
1,689
py
#!/usr/bin/env python from os import mkdir from os import rename from os import symlink from os.path import expanduser from os.path import islink from os.path import exists VERSION = '0.1.0' DESC = 'Creates symlinks from the home directory to the dotfiles repo. TODO: ZSH stuff' FORMAT = '%(asctime)s %(levelname)s %(m...
[ "pschwei1@gmail.com" ]
pschwei1@gmail.com
d7d6fd270e4c91f332031efd49b11ed83c277491
80bcb71937fdb99bd64bc554efaa65997b37ce33
/articles/urls/base_urls.py
88c9d2d8f33e59b3110216f3873f717f0508b9d7
[ "MIT" ]
permissive
audiolion/tango-articles
b7454f57b7a2d1e3eec1c9aee71d9e37394cf38d
79d574600e870e938f080eef8b028c038814cb25
refs/heads/master
2021-01-17T22:00:05.862668
2016-06-29T21:02:26
2016-06-29T21:02:26
62,227,072
0
0
null
2016-06-29T13:15:16
2016-06-29T13:15:16
null
UTF-8
Python
false
false
366
py
from django.conf.urls import patterns, url from django.views.generic import ListView from articles.models import Destination urlpatterns = patterns( '', url( regex=r'^$', view=ListView.as_view( queryset=Destination.objects.all(), template_name='articles/index.html' ...
[ "tim.baxter@cerner.com" ]
tim.baxter@cerner.com
d61b8e01fe0e146724b52c034d77d2e5169c2257
268c6ea0b1e0a34547de6958fbc7af78cf6efeaf
/mosaicTest.py
ef090f993a8bd9adb14cb09fefc9a9c91931bf8f
[]
no_license
rpeng/makeup-hackathon
e3afc3e6f70eb3ce78399f0c028b23779f5627e1
1526097479ea9d4b168ba53adb3c04a5a0c7ae52
refs/heads/master
2021-01-18T14:22:22.780577
2014-05-20T04:17:03
2014-05-20T04:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
from image_processing import process_image from webmakeup import get_image_from_url import glob import os #RefImagePath = "testing/image.jpeg" RefImagePath = "testing/ericProf.jpg" CpntImageDir = "testing/ericPhotos" FileFormats = ["jpg", "jpeg", "gif", "bmp", "png"] MosaicFilename = "eric" def LoadRefImage(): re...
[ "contact@eric-langlois.ca" ]
contact@eric-langlois.ca
44074bfcef80010bf2d8c28e42fb99818a225bf7
72541f87379e3c69347abbebc626b1d2941f1604
/RFID/Store/migrations/0001_initial.py
09e984d316a6f256c616728aba134f169f7b86cf
[]
no_license
Siwadol0408/RFID-new-
2c32473ecf65bb1d0ad6fc4963b481fc9914c124
7eecf1b8299cdc122dc64efbbf6a125badf8d822
refs/heads/main
2023-07-18T04:10:20.205418
2021-09-01T02:04:29
2021-09-01T02:04:29
401,900,299
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Generated by Django 3.2.6 on 2021-08-21 15:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Object', fields=[ ('id', models.BigAutoFiel...
[ "earthzamag@gmaail.com" ]
earthzamag@gmaail.com
8057e4c12af3e4985c2ddbfb1319e1c914d49d16
bae08323817c364e9fd1731ed2890be861e5aab3
/evolutionary.py
a26fa70a97a43cb2cfb6f44b9c6d9d2881470f31
[]
no_license
dvdalilue/qap_optimizations
1bf1fbb782f09b6a63bf78c659ad31abbd2624ee
525cc8c9a560f89d451835c62bec6f63678e7e8a
refs/heads/master
2020-03-19T02:39:02.354676
2018-06-06T23:38:59
2018-06-06T23:38:59
135,648,038
0
0
null
null
null
null
UTF-8
Python
false
false
2,999
py
import random import operator import local_search as local from solution import Solution a_random = random.SystemRandom() def crossover(parent_1, parent_2): n = parent_1.n # == parent_2.n offspring_1 = parent_1.copy() offspring_2 = parent_2.copy() unequal_facilities = [[],[]] for i in xrange(0...
[ "dvdalilue@gmail.com" ]
dvdalilue@gmail.com
a6bea6c892ecefd888c3dd10a0502aad8836ba84
abacbf9798f089cd43fd50c2d577de50cca806d8
/venv/Lib/site-packages/lux/extensions/auth/rest/user.py
f50a5de48ae9f86ae1d30a2a5ec70192bcb2d3fe
[]
no_license
Sarveshr49/ProInternSML
f2bfd82905dd185d82830d4758d69ee2b23f71fb
2ac09e31ebe54dbecd46935818b089a4b8428354
refs/heads/master
2023-08-11T17:36:16.387236
2021-10-16T18:23:04
2021-10-16T18:23:04
373,503,730
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
from pulsar import Http401, MethodNotAllowed from lux.core import route, GET_HEAD from lux.extensions.rest import RestRouter, RestField, user_permissions from lux.forms import get_form_class from . import RestModel full_name = RestField( 'full_name', displayName='Name', field=('first_name', 'last_name',...
[ "sarveshragade@gmail.com" ]
sarveshragade@gmail.com
7fe2ce4f60cc0a49b416d9c0ba9f68755a39b821
c20943fd460c1017fd9f4e291ab1d231d651ca43
/venv/bin/pyrsa-sign
3f64c6cde995f8ff26e208822d368f6837d708eb
[]
no_license
Free-apples/VisaCheckerWebsite
f107f1f1ce89e969ac18d32d13d2203d214d33c3
831f79f89dd392bd0c0c25f46b511c33774dae49
refs/heads/main
2023-02-21T22:40:57.648820
2021-01-26T21:59:45
2021-01-26T21:59:45
332,868,420
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/Users/meganfreedman/PycharmProjects/pythonProject2/venv/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.cli import sign if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(sign())
[ "megan@freedman.co.nz" ]
megan@freedman.co.nz
1a7f5ba4ed1e47739729d838023ab286fd14b45f
7f66a90e3034af7f1ff1b8e777e90912e4e8f30e
/ShortMyUrl/main/admin.py
b963a5f8417f6ea8e26e20ceedf32f67147230d1
[]
no_license
Beketx/URLShortenerDRF
73b62c8a6491a70857c56f433e880b77f6c23528
db83218b65aca3a20d70b300c138aad87101eb0a
refs/heads/master
2023-08-18T15:53:33.055281
2020-05-26T09:52:47
2020-05-26T09:52:47
260,903,383
0
0
null
2021-09-22T18:57:47
2020-05-03T11:59:38
Python
UTF-8
Python
false
false
102
py
from django.contrib import admin from main.models import Model_Short admin.site.register(Model_Short)
[ "beketsk@gmail.com" ]
beketsk@gmail.com
dfd40b1a094a889a8b8b43dba66b85694fe27ee6
6519de5c5b92c55270fcd71262bc4187b9d7cfb5
/hashblast.py
ac2e58513df51f6d441a79e9779f015d0e538747
[]
no_license
kensorrells/HashBlast
6801fa5611049e387ce7cdc2107f61e346d685b4
2da6e94eaf5040cc633e8d615ce8954d650eb859
refs/heads/master
2020-06-17T11:18:12.046868
2019-07-17T12:34:16
2019-07-17T12:34:16
195,908,411
0
0
null
2019-07-17T12:34:17
2019-07-09T01:16:59
Python
UTF-8
Python
false
false
6,763
py
#python3 import hashlib #Character list for decryption chrList = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N', 'O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b', 'c','d','e','f','g','h','i','j','k','l','m','n','o','p', 'q','r','s','t','u','v','w','x','y','z',' ','...
[ "noreply@github.com" ]
kensorrells.noreply@github.com
6ca5de7b034be586122402ff4c89be7c2acd2e45
152476469e822fbad4aae1698529caf8d401cb33
/single-spiking/test.py
1200a6a4ce43b2b47fcc4f8d3cd9b96f93ee042d
[]
no_license
Fulin-Wei/snn-seizure-prediction
0c2a01d66bf3708a2b6514242297a69b709189ff
d031f1d9c5938674d4bb3aeef341f6fc76fc4b73
refs/heads/master
2022-02-07T07:38:08.119336
2019-07-19T18:36:33
2019-07-19T18:36:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
import numpy as np import sys from brian2 import * e_const = 2.718282 def TranslateJsonFile(filename, mode = 'data'): rfile = open(filename,'r') rfiledataset = eval(rfile.read()) rfile.close() ansarr = [] loopnum = len(rfiledataset[0]) for i in range(loopnum): arr = ...
[ "noreply@github.com" ]
Fulin-Wei.noreply@github.com
1ba09c146545ffdbffb7415629daec8ed063d961
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11110005.py
ae4a0998f7cff16a635857ff1662ef26f4d93e53
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11110005.py generated: Wed, 25 Jan 2017 15:25:18 # # Event Type: 11110005 # # ASCII decay Descriptor: {[B0 -> (tau- -> pi- pi- pi+ nu_tau) mu+]cc, [B_s0 -> (tau+ -> pi- pi+ pi+ anti-nu_tau ) mu-]cc} # from Gaudi.Configuration import * importOptions( "...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
c0261aa02a69237783b528ccebe6f84a4bba754a
aca9b78a6fc46cf9c0a51be4c0caf694c7d3b4c6
/PyCTP_Client/PyCTP_ClientCore/Utils.py
d569b32ab68f5416b65e166b21a41c7de4a24114
[]
no_license
15137359541/PyCTP-master
cd3842ef6a7dfe0f9abb888ee40ce5e53473318c
417617c232cdb274c8dec4dbc80ed6e015b1affe
refs/heads/master
2020-03-29T08:16:19.438755
2018-09-21T03:04:04
2018-09-21T03:04:04
149,702,241
0
2
null
null
null
null
UTF-8
Python
false
false
23,206
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 20 08:46:13 2016 @author: YuWanying """ import os import time import DBManager import chardet import re PyCTP_Trade_API_print = False # PyCTP_Trade_API类打印控制 Strategy_print = False # Strategy类打印控制 # 创建套接字,全局变量 socket_file_description = None # 对CTP_API返回的dict结构内部的元素编...
[ "1715338780@qq.com" ]
1715338780@qq.com
c9ea14a259c77d78f844e5eb3259582690b4fdba
777a237f1728cdb4735a08021622ec0b49df218b
/assign3/test/compare_compression.py
0d0cc73d044532f49957268dac35d3cb2d888e19
[]
no_license
joshs333/cs1501
4a0e4be533e90a0fb3f3894a13518874dadd921d
4b99811d84c8ad85937fdde3ddda96e8b7dcae65
refs/heads/master
2022-03-15T03:40:09.083798
2019-11-22T04:21:00
2019-11-22T04:21:00
216,253,179
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!/usr/bin/env python import subprocess import glob import os import shlex import sys if __name__ == "__main__": files = [os.path.split(f)[1] for f in glob.glob("src/*")] for file in files: src = "src/%s"%(file) comp = "comp/%s"%(file) src_size = os.stat(src).st_size comp_size =...
[ "joshs333@live.com" ]
joshs333@live.com
4041b1110a3cf9e9b1683121a4a0e9906da47de9
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/bgp/bgppeerkeepalive1qtr.py
6759bad5eb7c592428c5059694db794b13ec2576
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
21,383
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
5f929a1ba13042372d1b5faccfcbda40cef3f219
d452c00a98b085ae6248270843d587029775e9ca
/todo/todo/urls.py
0cf6eaab54da3a13c56b96eb710f771c24c82f3b
[]
no_license
osmanshaon/todolist_django
2313693476383abb38241367368259406f13d29a
1af999f7e07040991912c032e5b5c15a9c97026e
refs/heads/main
2023-02-07T14:29:06.055911
2021-01-03T00:25:34
2021-01-03T00:25:34
326,295,071
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
"""todo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "noreply@github.com" ]
osmanshaon.noreply@github.com
f8c1961002d5684aaac8b9146edcc8141815f3c3
006341ca12525aa0979d6101600e78c4bd9532ab
/CMS/Zope-3.2.1/Dependencies/zope.schema-Zope-3.2.1/zope.schema/tests/test_equality.py
15ddc59bdbef08a1510e8324cf74ff18b85f5b80
[ "ZPL-2.1", "Python-2.0", "ICU", "LicenseRef-scancode-public-domain", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "ZPL-2.0" ]
permissive
germanfriday/code-examples-sandbox
d0f29e20a3eed1f8430d06441ac2d33bac5e4253
4c538584703754c956ca66392fdcecf0a0ca2314
refs/heads/main
2023-05-30T22:21:57.918503
2021-06-15T15:06:47
2021-06-15T15:06:47
377,200,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
############################################################################## # # Copyright (c) 2001, 2002 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # T...
[ "chris@thegermanfriday.com" ]
chris@thegermanfriday.com
ecfad2b7a5f1e8fc3bac4be71079e14f1ede8d63
e5a511e346f5be8a82fe9cb2edf457aa7e82859c
/PythonNEW/List/TwoListSimultaneously.py
0dfa4f6fd4f78d93eaef150d9da5496a709b24a6
[]
no_license
nekapoor7/Python-and-Django
8397561c78e599abc8755887cbed39ebef8d27dc
8fa4d15f4fa964634ad6a89bd4d8588aa045e24f
refs/heads/master
2022-10-10T20:23:02.673600
2020-06-11T09:06:42
2020-06-11T09:06:42
257,163,996
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
"""Write a Python program to iterate over two lists simultaneously.""" l1 = list(input().split()) l2 = list(input().split()) for l1,l2 in zip(l1,l2): print(l1,l2)
[ "neha.kapoor070789@gmail.com" ]
neha.kapoor070789@gmail.com
60e3c2d1dbc4073fc7d1e547ae44adb9cae2aeeb
f65be296b831982b187cb3c3a1c82740fec15b5a
/ineco_bpe/purchase_requisition.py
229d471699fc983da29a8663afeac5ff9902e655
[]
no_license
nitikarnh/bpe_module
ab05af81f7dae10129ec584233423d4e5c3c7f3d
6b1057495b277dc69023554d5d4e7bf172ba07c1
refs/heads/master
2020-05-21T16:40:05.291099
2017-10-24T09:11:01
2017-10-24T09:11:01
64,814,809
0
0
null
null
null
null
UTF-8
Python
false
false
19,504
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2014 INECO Part., Ltd. (<http://www.ineco.co.th>). # # This program is free software: you can redistribute it and/or modify # it under the terms...
[ "thitithup@gmail.com" ]
thitithup@gmail.com
7a270ed4e75773a84514a7764d32ef29877cf62d
6ad7476e5375af9f76bd062816561b5d2179ce65
/日常练习/ex4.py
6730cd42df9899e85f105ceb12eb8145e1d0392f
[]
no_license
on195594/python
252893a6ef4d4fa386f27c05e01e64af98c6e63f
7e78344caf92f1a44305e430cc1da12a4a1a6b96
refs/heads/master
2021-05-10T18:52:46.568185
2018-01-20T02:32:34
2018-01-20T02:32:34
118,136,913
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
cars = 100 space_in_a_car = 4 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print('There are',cars,'cars available.') print('There are only',drivers,'drivers available.') print('T...
[ "on195594@yahoo.com" ]
on195594@yahoo.com
9609f6507779e812c1f898f8fd28a67585677e35
8e7a897cf27e470197edb2043b18e6e34692c523
/scripts/drug_scraper.py
9c0856eb4b8cbb6ddfe67d6fb8eda36594f238d0
[]
no_license
peggybustamante/python-samples
3541710b179aa35806ff3ab7d91b4186c86d4f55
a0e677398966b0837ce9a3335776706d87d15787
refs/heads/master
2016-09-03T07:27:41.653259
2015-01-06T01:03:21
2015-01-06T01:03:21
28,839,877
0
0
null
null
null
null
UTF-8
Python
false
false
1,593
py
#!/usr/bin/env python """ scraper for Health Widget FDA recalls: http://www.fda.gov/AJAX/DRUGS """ import urllib import json import sys from BeautifulSoup import BeautifulSoup fda_list = [] URL = 'http://www.fda.gov/AJAX/DRUGS/' try: web_cnx = urllib.urlopen(URL) html = web_cnx.read() # sys.exit() except IOErro...
[ "peggybustamante@Peggys-MacBook-Air.local" ]
peggybustamante@Peggys-MacBook-Air.local
5a31f4f2368cf80d1e54ce6cde3cc4df5db704c4
db5a2adf2da8efe6aae6b6d8f93e085f12b2a986
/portfolio/urls.py
1f39c9941b639bba16ce0f510b7d20d2498cf250
[]
no_license
DmitriiGrekov/portfolio_backend
cea951968551004277f7f677758d890e77ed5225
977f1cd3245da0dbac8787a774f286a1248b815f
refs/heads/master
2023-08-16T00:26:55.093400
2021-10-23T17:58:43
2021-10-23T17:58:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from django.contrib import admin from django.urls import path from django.urls.conf import include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('api/', include('main.urls')), ] urlpatterns += static(settings.MEDIA_URL, docu...
[ "grekovdima7@gmail.com" ]
grekovdima7@gmail.com
e77767f3b34ac0cceb230f1f9fe183fc12d42c3e
377c0b5fe3434013a7026d750c6891135c3e1227
/test/test_methods.py
ba2f5c0a17ff703db6946d718c186f282ad8def9
[]
no_license
nahimilega/testing_mirror
80736264e2b7ec37ef197efbcf798100673b7b57
80b30a451d8e2e2c3bd7c4dbd11999d27b71356a
refs/heads/master
2023-07-11T03:57:30.300455
2021-08-12T13:08:28
2021-08-12T13:17:40
396,765,494
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from test_utils import perform_test import os if __name__ == '__main__': parms = { 'method': ['1', '2', '3', '4', '5', '6'], 'verbose': ['3'] } ref_file_name = "../ref/test_methods.ref" test_name = 'test_methods' field_to_compare = ['unfold'] perform_test(parms, ref_file_name, t...
[ "archit18221@iiitd.ac.in" ]
archit18221@iiitd.ac.in
5e52c4ff136799858643059ebd31b635207d611c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/279/83542/submittedfiles/testes.py
3a38cac1f44b845560cd1e275ba2832493e38db4
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO while (True) : while(True) : n=int(input("digite um numero inteiro positivo")) if (n>=0) : break f=1 for i in range (2,n+1,1) : f *= i print("%d!= %d"%(n,f)) opt=input('deseja continuar?[s ou n]') if(opt==...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5fb99139e8655db68ecfcb3c5bc147bf2c229044
38869340d12b858113df4005537a07efc45545f1
/test_multiplier.py
a760af21333e9ec286e88b62a55a88f13195c871
[ "MIT" ]
permissive
beepscore/argparse
c765c345f334d84d61feea99cfb11557ade3e40e
6eeba617bcc263d85030bb24dd3e2f9253d741c8
refs/heads/master
2021-01-01T15:30:09.950746
2013-04-21T20:04:32
2013-04-21T20:04:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
#!/usr/bin/env python3 import multiplier import unittest class TestMultiplier(unittest.TestCase): multiplicand_index = 0 multiplier_index = 1 expected_result_index = 2 test_datas = [ [0,0,0], [1,0,0], [0,1,0], [1,1,1], [2,1,2], [1,2,2], [2,3,6]...
[ "support@beepscore.com" ]
support@beepscore.com
fdeb50ed56695c6bec4052990f11f0eed7e19b01
e2c1665c4a13c66bcc79c4bf4bff21e591e8b6da
/review/urls.py
72812fb0c0742b86099def7de243d936b618f20a
[]
no_license
kim-yejin20/13-watchandchill-backend
22d557b8ff799dbb481d3eba8bb5c4f4150a927a
25ddb5705a0db48c16886856374431148da79d09
refs/heads/main
2023-01-06T08:33:33.862892
2020-11-02T01:48:43
2020-11-02T01:48:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from django.urls import path from .views import ( ReviewView, StarRatingView, MovieRatingView ) urlpatterns = [ path('/<int:movie_id>',MovieRatingView.as_view()), path('/rating', StarRatingView.as_view()), path('/get', ReviewView.as_view()) ]
[ "jin11241124@gmail.com" ]
jin11241124@gmail.com
ba71c968ef470a11726fa3259b5e4cc50eb6c3cb
9d7bf169e2604c009b76bf8667d69dae616a7fba
/ProbeSearch.spec
889ab4f4b1251f2d776abb2b0f0454085c89c38d
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive" ]
permissive
earthinversion/ProbeSearch-Desktop-Application
80fbedb49bfda29bb058b040714d61fd1dba228b
ae08caa1360196ed87c1c6fd810a437e20996aae
refs/heads/master
2023-03-17T07:21:45.943982
2021-03-28T05:06:03
2021-03-28T05:06:03
350,330,028
1
0
null
null
null
null
UTF-8
Python
false
false
1,136
spec
# -*- mode: python ; coding: utf-8 -*- import sys ; sys.setrecursionlimit(sys.getrecursionlimit() * 5) block_cipher = None a = Analysis(['probeSearch.py'], pathex=['/Users/utpalkumar50/Downloads/ProbeSearchTest'], binaries=[('/System/Library/Frameworks/Tk.framework/Tk', 'tk'), ('/System/Libr...
[ "utpalkumar50@gmail.com" ]
utpalkumar50@gmail.com
b6770849ca9f3fe85e001992391269fccaf5f00a
a714ebd86f3b33d848d1b31010b66e298251c44b
/legacy/bin/bin/upgrade_ms_python_language_server.py
bf7e08e0f64ec9bd60cf59483dfe6a448f9fc619
[]
no_license
lbolla/dotfiles
6257c415cc0e211c897cf7ed6fe5f212700b0244
176be09f3c4bc99dfc90a9d8a568a27314cb19bd
refs/heads/master
2023-08-17T17:25:53.722263
2023-08-15T15:36:41
2023-08-15T15:36:41
67,174
8
3
null
null
null
null
UTF-8
Python
false
false
1,775
py
#!/usr/bin/env python3 from packaging import version import re import os import shutil import subprocess import tempfile from urllib.request import urlopen from urllib.parse import urlencode import xml.etree.ElementTree as ET VERSION_RE = re.compile(r'^.+(\d+\.\d+\.\d+)\.nupkg$') base_url = 'https://pvsc.blob.core.w...
[ "lbolla@gmail.com" ]
lbolla@gmail.com
3919dc1e448884fa1d00738b2ce3c698a89f2f7a
c3ca05c5569393b10f8ebf735884291646bac1e8
/snippets/snippets/settings.py
0ceb7c46f472b06b236db4bddcd296158619264f
[]
no_license
weeksghost/snippets
318582bd8a9fa7603c4997fe25620170dc93377b
99e118109779cde3b5c3d057baba34dbf3188cc6
refs/heads/master
2021-01-10T01:36:31.848065
2016-11-02T21:41:31
2016-11-02T21:41:31
36,667,194
0
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
""" Django settings for snippets 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 pat...
[ "emarty@broadway.com" ]
emarty@broadway.com
679ca5decf66912c6107ac392fa5ffc6ae1957ae
e2e16c3854f4881f80d020f3b2f690104d207b70
/online_dict_server.py
b03a0a8aa4abfe4a0620140cf1d46fa5180d1252
[]
no_license
hjj194535/online_dict
3b060c143d56bfbac3b86a0c44f200c2edcaa9e1
c924b38d8a1d2a19a6aecfb4099f72a9ec24717e
refs/heads/master
2020-07-27T19:02:18.771637
2019-09-18T10:42:00
2019-09-18T10:42:00
209,191,407
0
0
null
null
null
null
UTF-8
Python
false
false
2,335
py
from socket import * from multiprocessing import Process import signal,sys from time import sleep from online_dict.dict_db import * ADDR = ('127.0.0.1',8888) class Server: def __init__(self,sockfd): self.sockfd = sockfd self.user = User() def do_listen(self): self.sockfd.setsockopt(SOL...
[ "670890875@qq.com" ]
670890875@qq.com
6a9d533176f0afcae6ab99714b965d09410152aa
5950bc5239d294a88bcbfe221280799245afb1bd
/salary_paid_problem.py
2fca0c37aca1468b14dc80b8d7aa8303a9de00b2
[]
no_license
YaswanthKumarKaja/Janani_Swaroopa
ec738571324362a908368f46f29a17ea43c909eb
48f5cc0a81525571c07d912ff53882445a58906e
refs/heads/master
2022-11-18T09:06:59.925880
2020-07-14T16:58:36
2020-07-14T16:58:36
279,643,233
0
0
null
2020-07-14T16:54:02
2020-07-14T16:54:01
null
UTF-8
Python
false
false
2,748
py
'''Taxation Woes In a country, there are N slabs for Income tax which are common for all age groups and genders. As an income tax officer, investigating a case, you have the amount of tax paid by each employee of an organization. Considering the income tax slabs and rebates offered, you need to find the total amo...
[ "noreply@github.com" ]
YaswanthKumarKaja.noreply@github.com
cc0040785639bb20fd84f983bd3f29829efec656
238aa46846a84ac62c0d8a3d9996778ac31165a4
/NumPy/learningNumPy.py
4e0fb0ec8a47f11e0844417e9e267f4d6f5257c6
[ "MIT" ]
permissive
Ryanho84/Data_Analysis_by_python
13871c964c419dd9e72d5eab3831844ab793494f
fa167d81aaacaab80c79f5ac6b18c1d24c3810e2
refs/heads/master
2020-07-04T14:16:04.345041
2019-09-04T10:12:27
2019-09-04T10:12:27
202,309,045
0
0
null
null
null
null
UTF-8
Python
false
false
10,819
py
""" Numpy是python语言的一个扩展程序库,支持大量的维度数组 和矩阵运算,此外也针对数组运算提供大量的数学函数库。 * 一个强大的N维数组对象ndarray * 广播功能函数 * 整合C/C++/Fortran代码的工具 * 线性代数、傅里叶变换、随机数生成等 """ """ numpy.array: numpy.array(object, dtype = None, copy = True, order = None, subok = False, ndmin = 0) object:数组或嵌套的数列 dtype:数组元素的数据类型,可选 copy:对象是否需要复制,可选 order:创建数组的样式,...
[ "ryanho2013@163.com" ]
ryanho2013@163.com
85ee619c75fe4e001557036234067afc4b23a9db
991c70026dc6c2f1c1a026f0036b1fcc48b7dea6
/solution/__main__.py
54a54c9134533922eeda8f1b6d351fd88c6e9633
[]
no_license
boostcampaitech2/image-classification-level1-08
1cdd74ea7bb75e84b31f5623d7cca52abfc3ace9
909375589e0ed76a6aea9e7ad912ff4bc379f6ff
refs/heads/master
2023-07-21T10:27:31.052436
2021-09-04T15:16:14
2021-09-04T15:16:14
397,467,509
1
2
null
null
null
null
UTF-8
Python
false
false
1,239
py
import sys from importlib import import_module from argparse import ArgumentParser HUGGING_RUN_SCRIPTS = { "image_classification": "run_image_classification", "mask_image_modeling": "run_mask_image_model", "test_module": "run_test_module" } JISOO_RUN_SCRIPTS = { "train": "train", "test": "test", ...
[ "jinmang2@gmail.com" ]
jinmang2@gmail.com
cea5677ccbb0d2267bdf0008be9c86c843017b59
daa8ed992d97d74f4c2deaff6a8951e24c12cf69
/lab_vgg16/models/resnet_PW.py
dc85e426fc3ecc746dcca4fd11a538cce2b7aad2
[]
no_license
SpeagleYao/Symmetry-Property
280f75c46d4aa53fda15ea4af04df2b5ac20051b
94090b4086892a9e92f69dcbdc56d0ab620c715d
refs/heads/master
2023-03-08T19:29:13.179054
2021-02-26T06:15:48
2021-02-26T06:15:48
341,729,857
0
0
null
null
null
null
UTF-8
Python
false
false
4,874
py
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn from torch.nn import Parameter import torch.nn.functional as F class Feat...
[ "SpeagleYao@sjtu.edu.cn" ]
SpeagleYao@sjtu.edu.cn
da8575710a6aa43ee73d564d78fc3d5d2c62f28a
284e3b6e4302e3542edaef473bfd50322244bedf
/boj/1065.py
1d9ae82eba744dd37fb58f165d9cf2a75fec3bbc
[]
no_license
storykim/problem-solving
790fe0e877c7378fa62ebf5dca66c38997a06c34
ed24772c85cee531634593b32f93de91ee558484
refs/heads/master
2021-01-07T09:53:19.540372
2020-03-07T12:43:18
2020-03-07T12:43:18
241,655,951
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
def is_han(num): if num < 100: return True diff = num % 10 - (num // 10) % 10 while num > 9: if num % 10 - (num // 10) % 10 != diff: return False num //= 10 return True count = 0 for i in range(1, int(input()) + 1): if is_han(i): count += 1 print(count)
[ "donghwa.s.kim@gmail.com" ]
donghwa.s.kim@gmail.com
852f27dfb45b3afa594f0f341751b29dca07106c
61c4a57c1aa18b5a1b12e09bf6c370807b81eaac
/liah8_TGB/settings.py
b6cd6d0f9cca094c4da46d17c83c78db08d65ab5
[]
no_license
sih4sing5hong5/huan1-ik8_gian2-kiu3
b8ae048591232e7d4eacb528807f9373fb954f71
98163068b4a410af5544ba860ef6ea0204610e36
refs/heads/master
2020-12-11T08:12:20.231402
2018-07-02T07:25:23
2018-07-02T07:26:48
18,503,539
1
0
null
null
null
null
UTF-8
Python
false
false
558
py
# Scrapy settings for liah8_TGB project # # For simplicity, this file contains only the most important settings by # default. All the other settings are documented here: # # http://doc.scrapy.org/en/latest/topics/settings.html # BOT_NAME = 'liah8_TGB' SPIDER_MODULES = ['liah8_TGB.spiders'] NEWSPIDER_MODULE = 'lia...
[ "Ihc@gmail.com" ]
Ihc@gmail.com
02a98ade50103283feb338edcc0173523845ad64
7e03749969def182e47e1974c9de3b4cbc3ca4ff
/interna/crowdfund/migrations/0009_project_funded.py
d8b876250f32ac5eb2ace47eae0016effc73a605
[]
no_license
coredump-ch/interna
a04dab1b1c92cbbaec666186f2f09c2bbb989b10
63ee3d7bd173368373e3d7c8e20eb962803c8514
refs/heads/master
2021-11-25T08:13:01.780169
2021-11-21T20:49:44
2021-11-21T20:50:13
13,701,826
5
3
null
2021-11-15T22:33:08
2013-10-19T13:53:03
Python
UTF-8
Python
false
false
523
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-10 20:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('crowdfund', '0008_auto_20170906_2346'), ] operations = [ migrations.AddFiel...
[ "mail@dbrgn.ch" ]
mail@dbrgn.ch