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
c87488b7851b45888bf821b022a61e1ba46019a0
9c6ede34ef2027259924a231c805d36b22ab6a76
/mainTest.py
b4faf0ac52f74c46e3c1b8fe4f62802941786251
[]
no_license
Chanaka-Sandeepa/MultiLevel-K-way-partitioning-FYP
3810197e367784c500aabc7332c2f24e9117e4d1
5becf1456f27f366778e5b8fc08cdbb40626b659
refs/heads/master
2020-03-15T21:17:00.624112
2018-05-12T04:47:40
2018-05-12T04:47:40
132,351,688
0
0
null
null
null
null
UTF-8
Python
false
false
4,306
py
import networkx as nx from CSVHandlers import ColomboNodesMarker from GraphControllers import RoadGraph from CSVHandlers import CSVReader from GraphControllers.Graph import Graph from PartitionHandler import Partition from Utils import MapMarker if __name__ == '__main__': # Creating initial graphs # colNodes ...
[ "chanaka.14@cse.mrt.ac.lk" ]
chanaka.14@cse.mrt.ac.lk
5b1898ad002efc03e96baeb9e1bc3aefda60bc4f
8bda65732ed8afb45a9eabe602474c29ecf3100e
/makeDS.py
682bc8a2230984cbf709237b85577da3f5b473c5
[]
no_license
epsln/chiner_models
0c05237c58a752e53df27c4f858f7b7fa84c312d
aff6ae055683bf6310b0cccfe5f9795b4a67e5c4
refs/heads/main
2023-07-07T00:54:37.934109
2021-08-10T14:00:03
2021-08-10T14:00:03
394,417,528
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
#Create a dataset of normalised spectrograms from files import os import numpy as np import librosa import random import audiofile as af import configparser from utils.audioTools import getSpectro debugFlag = False def main(): config = configparser.ConfigParser() if debugFlag == True: config.read(...
[ "martin.olivier1997@gmail.com" ]
martin.olivier1997@gmail.com
2252b90ba8deb223db2d75fe3370861ede934d35
bcc5ebe8c5d0b78c43087f0c292e329cb8d78e6a
/venv/bin/pasteurize
fbc9fe65369d9648f41dfaf9c689c7a6bbe36855
[ "MIT" ]
permissive
RaymondDashWu/generative-structures-dapp
1ce0fc0028c97de49c2843d4b3e30c84e92fb769
06819e9333c663a8be3eca444b55dd244d31f87b
refs/heads/master
2022-12-26T22:59:14.699771
2019-08-09T20:13:59
2019-08-09T20:13:59
193,174,106
0
0
MIT
2022-12-03T14:43:11
2019-06-22T00:27:31
Python
UTF-8
Python
false
false
320
#!/Users/raymondmbp/makeschool/BEW-2.4-Decentralized-Apps-Distributed-Protocols/generative-structures/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from libpasteurize.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "raymond31670@hotmail.com" ]
raymond31670@hotmail.com
f1c3b687cccb87797fcf6751fc883f9f3bb75051
db89a13a9194e7a0ee48192720084eb2453fa7c5
/lib/LangCombo_Stats.py
c3aa004f922629b26b93a35772d113097839b501
[]
no_license
www-jrtorres042-github-enterprise-org/MlsTool
33c24b8cbfb133e573e081adfc18a98cffbfdebd
1d7553211a9ec53b1860842c03457eda9cb7502b
refs/heads/master
2023-08-05T11:16:47.356117
2021-10-02T11:08:32
2021-10-02T11:08:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
##### Language_Stats.py ##### from lib.Process_Data import Process_Data class LangCombo_Stats(): Header_Names = ["id", "combination", "count", "distribution"] def __init__(self, id, combination): self.combo_id = id self.combination = combination self.count = 0 self.distributi...
[ "li.wen@wsu.edu" ]
li.wen@wsu.edu
ff7bf13a043bf04e722acae623f0deffee48f7b3
6bdffbfa7656bbc9d200f7609894385c86f8d6b5
/Demo/Exercise05/ex05.py
bb0136ef227e169e71002358d226357df805906a
[]
no_license
jackyin68/Business-Intelligence-1641
21f65ea54816f1671c9d87add76a3337ed26fb94
e89ca7e5dc98252057e8a7b9632e293ce9412395
refs/heads/master
2021-03-10T11:37:47.126486
2019-08-21T09:11:24
2019-08-21T09:11:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
import numpy as np # Create a dictionary with keys as student names and values as student GPA (float) students = {'John':7.5, 'Paul':6.5, 'Ringo':8.0, 'George':6.0} name = input("Enter new student name: ") gpa = float(input("Enter student GPA: ")) students[name] = gpa name = input("Enter new student name: ") gpa = f...
[ "49477836+Duytv081298@users.noreply.github.com" ]
49477836+Duytv081298@users.noreply.github.com
69b5d17e2073ac65996477fd224f24a330a7b6ed
04bffeaf52f193800b84363ce3cff5b6afef0893
/user/models.py
7f0d38708eded5aeeb378078b642607de7bab1e8
[]
no_license
lumpy6494/guapstudent-
a7b2c1eaf30cd558a3bfd44426728981612b4d62
20dcd25a0d758a2ea6e4b2e763363332d2b7f5c5
refs/heads/master
2023-07-26T22:06:14.069961
2021-09-09T18:16:01
2021-09-09T18:16:01
395,648,571
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
import uuid from django.contrib.auth.models import AbstractUser, Group from django.db import models # Create your models here. class CastomUser(AbstractUser): two_name = models.CharField(max_length=255, verbose_name='Отчество') birthday = models.DateField(blank=True, null=True, verbose_name='День Рождения'...
[ "superpolicay@gmail.com" ]
superpolicay@gmail.com
8d06121e1ae462fafa60e6eb568930d5ff08b018
0fd71e96aa665d6600d5d1ef584bff0f65989c8c
/setup.py
dc7cd4b62780472c45df78187745a21f3034a184
[]
no_license
alacrity2001/TSB-UAD
07d6a77e9a30d7a2c333a3b60b0c0f0711127322
b61e91efc80be2d1766cc44f6a121c1b662ba67e
refs/heads/main
2023-08-31T01:40:22.927314
2021-10-03T19:37:19
2021-10-03T19:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from setuptools import setup, find_packages setup(name='TSB-AD', version='0.1', author='Yuhao Kang', author_email='yuhaok@uchicago.edu', url='https://github.com/yuhao12345/TSB-AD', packages = find_packages() )
[ "john@paparrizos.org" ]
john@paparrizos.org
515f571aec0c41aa280a7ad4f155a691de756151
e7efae2b83216d9621bd93390959d652de779c3d
/datadog_checks_dev/datadog_checks/dev/tooling/commands/agent/__init__.py
8153698063f3e5affe147fad62925b3a12cfa3e0
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause-Modification", "Unlicense", "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
617
py
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import click from ..console import CONTEXT_SETTINGS from .changelog import changelog from .integrations import integrations from .integrations_changelog import integrations_changelog from .requirements im...
[ "noreply@github.com" ]
DataDog.noreply@github.com
11373250ede4c3b0baff36ef1700e6e7a0c70db1
06cda71707e5f4ac040ae89f63f00cdab48d2577
/one-isp-fairness/ispNet.py
2ff8c8e458631228b49cfc0cfb01f9eec9cd0d32
[]
no_license
YimengZhao/interdomain-TE
9c4a1ef19549a39c8a7c9fecbd6a277c7d2073d4
cc1a000c8c967a8608a0fa8bf740c5c200eb358e
refs/heads/master
2020-03-08T11:44:08.136833
2018-04-04T18:54:33
2018-04-04T18:54:33
128,106,586
0
0
null
null
null
null
UTF-8
Python
false
false
5,041
py
from topology import Topology from traffic import TrafficMatrix from generatePath import * from initopt import * from predicates import nullPredicate from provisioning import generateTrafficClasses, provisionLinks from optHelper import * import copy import math import networkx CITY_TRAFFIC_VOLUME = 10 class IspNetw...
[ "yzhao389@eros.cc.gatech.edu" ]
yzhao389@eros.cc.gatech.edu
3dcb93fd4c95d948f08630db348b27d9952302ab
82c7bdcfba82dc7755e24860da75c881ee9e4809
/scalpr/database/depth.py
dde72560cd524e0c3a6bfa50384ce8e01c0fe6ad
[ "MIT" ]
permissive
ersineser/scalpr
acc043841d8a001223572cf56f6d260a1591d81a
b6864c20a3772e5ea253b3db8361cffb732c4e8c
refs/heads/main
2023-08-25T10:02:44.942282
2021-10-30T07:46:10
2021-10-30T07:46:10
459,350,863
1
0
MIT
2022-02-14T22:49:01
2022-02-14T22:49:00
null
UTF-8
Python
false
false
799
py
# pylint: disable=no-name-in-module from collections import deque from typing import Deque from pydantic import BaseModel class Bid(BaseModel): price: float quantity: float class Ask(BaseModel): price: float quantity: float class Depth(BaseModel): """Depthcache, showing the best bids an...
[ "tvanmeer123@gmail.com" ]
tvanmeer123@gmail.com
cb04b6b46e60fcdf9bd5b7f6dadcbdfb3e65af0e
1edaf48fb81223513b386e81927d51c70f09b8f9
/problems_30s/problem_32.py
481614641baa21fa94eed126d4350bda4a8de98f
[]
no_license
famalhaut/ProjectEuler
4392cc50ac88a168e9a2d7889e4a8da201afaf72
9c6be56f0fed472472d08bd35f488d8b94f684ff
refs/heads/master
2020-05-26T11:50:52.711715
2017-04-21T16:01:58
2017-04-21T16:01:58
84,996,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
""" Pandigital products Problem 32 We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once; for example, the 5-digit number, 15234, is 1 through 5 pandigital. The product 7254 is unusual, as the identity, 39 × 186 = 7254, containing multiplicand, multiplier, and produ...
[ "famalhaut.ru@gmail.com" ]
famalhaut.ru@gmail.com
459ecb5a6a85606d81ff832ccbdfa3e50996919d
3c004cf2138de007160320ef61b9581fb242a861
/gettime.py
34a115776d7bf8387080e6cb431fed4d6fc546c5
[]
no_license
deepforce/pythonscript
e41c23ccc64cd875f7dcccfe95b1509e7eacf431
15764faac13a2ebbc52a1b513317e373ebb58be9
refs/heads/master
2021-01-10T21:36:09.453267
2015-09-24T02:09:30
2015-09-24T02:09:30
42,761,126
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
# coding = utf-8 import time import datetime #打印当前时间 print(time.ctime()) #当前时间 now_time = datetime.datetime.now() print(now_time) #昨天的现在 yesterday = now_time +datetime.timedelta(days = -1) print(yesterday) #现在的前一秒 now_old = now_time + datetime.timedelta(seconds = -1) print(now_old)
[ "zyq81678593@126.com" ]
zyq81678593@126.com
99aed070a6cf826c3b0eee7ddd0310c2e249e97d
b72d35ff8980ea49b9d3e4c081ce0743361b5f1c
/settings/development.py
66ba55d7590977bcd4a3058ed546ddaf4c68b406
[]
no_license
miguelguzmanr/django-project-template
7d770ccda8463abb47f4be59da554dc6ca966b8d
2df5fccaada417804ea199e0f672b6353ee2de8a
refs/heads/master
2020-06-07T13:21:34.478579
2019-08-18T22:54:13
2019-08-18T22:54:13
193,031,647
0
0
null
2019-12-04T23:23:30
2019-06-21T04:41:20
Python
UTF-8
Python
false
false
866
py
import os from settings.base import ( BASE_DIR, INSTALLED_APPS, MIDDLEWARE, ROOT_URLCONF, TEMPLATES, WSGI_APPLICATION, AUTH_PASSWORD_VALIDATORS, LANGUAGE_CODE, TIME_ZONE, USE_I18N, USE_L10N, USE_TZ, STATIC_URL) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject...
[ "miguelguzman@protonmail.com" ]
miguelguzman@protonmail.com
fc4c311d5bc2234566bf6da99f3a670bf2e645f9
f20e965e19b749e84281cb35baea6787f815f777
/Phys/Phys/Swimming/example/DecayTreeTuple.py
a4ae76a442a7beeeb7f791472b3bd885ae9713a1
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
## ## Static Configuration ## from Gaudi.Configuration import * from Configurables import ( ApplicationMgr, CondDB, HistogramPersistencySvc, DaVinci, MessageSvc, GaudiSequencer, ...
[ "rlambert@cern.ch" ]
rlambert@cern.ch
fff4f9cefdd1de227ec424125d5f987dbf243342
19ea7c14a53506d2138ccb2dd1f0fc5588f8d935
/itcload.py
c3522a61f2a54c9c6c1e164e90ff6809e7605848
[]
no_license
cpatrickking/python_itunesconnect
046223e6e45c57e665ea67f81c9838064070034a
45a328e0cbbc30a8637a805c0fb250c17b39064d
refs/heads/master
2016-09-11T03:21:22.887474
2013-08-28T18:48:26
2013-08-28T18:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,778
py
# Insert this script into the folder to which you want to download the files along with config.cfg, # Autoingestion.properties and Autoingestion.class (java file downloadable from Apple) # Call from the CMD prompt import glob import re import os import datetime import ConfigParser import MySQLdb as mysql ...
[ "cpatrick.king@gmail.com" ]
cpatrick.king@gmail.com
5c45beebc5a8b8fbca99765efaec7ff97e62dca0
156dbd988cf76f1566812915536c87797f470beb
/Estruturas repetitivas/For/Problema_divisao.py
7cdc69dfdc7d9b5981f392ff3b55746a23d0d5fa
[]
no_license
RAFAELSPAULA/Exercicios-introdutorio-Python
b3cf5332adffa7e051e4114bbc480e3f67f9d2cd
1880144e7394ceda5af85a4323a132ff92eb581d
refs/heads/main
2023-08-16T18:30:06.265684
2021-09-23T18:54:39
2021-09-23T18:54:39
407,629,121
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# Escreva um algoritmo que leia dois números e imprima o resultado da divisão do primeiro pelo # segundo. Caso não for possível, mostre a mensagem “DIVISAO IMPOSSIVEL”. x = int(input('Quantos casos voce vai digitar?')) for i in range(0,x): a = float(input('Entre com o numerador:')) b = float(input('Ent...
[ "noreply@github.com" ]
RAFAELSPAULA.noreply@github.com
70926b02978529fa9edc66e2ea1a2862ddad1222
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_074/ch153_2020_04_13_20_39_02_324902.py
7c41c4092f5c5dbd3653ad6e6e0f0b55a83b2984
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
def agrupa_por_idade(dicio): dicio={[nome]:idade} key=nome dic={} if idade<=11: dic.update={criança:[nome]} return dic if idade>=12 and idade>=17: dic.update={adolescente:[nome]} return dic if idade>=18 and idade<=59: dic.update={adulto:[nome]} ret...
[ "you@example.com" ]
you@example.com
83fec668e56fcdff66e94ad5af3d22793aba1ac8
2e67bdd45c0427490880ca02f913a923a0890cdf
/foodcartapp/migrations/0043_order_products.py
759a18dabb4d27be55133c80f21cd2960ebab509
[]
no_license
KozhevnikovM/devman-star-burger
5ed72c2a8a99bee12770bd2d28aa35c92be0cff8
54836d0216ea1117ea12ddfff11afbef15e7a3b5
refs/heads/master
2023-04-12T23:23:28.862134
2021-04-19T13:17:15
2021-04-19T13:17:15
355,147,980
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# Generated by Django 3.0.7 on 2021-03-23 12:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('foodcartapp', '0042_auto_20210317_1251'), ] operations = [ migrations.AddField( model_name='order', name='products',...
[ "admin@example.com" ]
admin@example.com
3701f72a30e5f04542e1240b6580880b2851145c
63898f79a6ed0bebf9f2fed134d80a15dc46d513
/lib/comandos.py
a33c10e874644f5d59554794bee969ccfaa9ef00
[]
no_license
seblaz/fiuba-algo2-tp3
ba7f280698fea76da58c3d2028e5fac07a68b4fa
39f761759ceb9237ae8d0d502547065d916aaf6a
refs/heads/master
2021-06-10T14:32:18.491468
2016-12-13T21:28:27
2016-12-13T21:28:27
74,316,566
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
from lib.grafo import Grafo class Comandos(object): """Clase que ejecuta los comandos del grafo.""" def __init__(self, grafo): self.grafo = grafo def similares(self, vertice, cantidad): return self.grafo.n_similares(vertice, cantidad) def recomendar(self, vertice, cantidad): r...
[ "seby_1996@hotmail.com" ]
seby_1996@hotmail.com
66ed557c3999fc31103d9c4d0ddcf63768b354cd
45de13a618813455a3ea1e65c5dd31066b311cd7
/Jaccorot/0020/0020.py
336126ebf442c8574f662d06677b3203fc16022b
[]
permissive
luhralive/python
bbee0a3e7d0ac9845db484595362bba41923c2a4
b74bdc4c7bc8e75aee9530c27d621a773a71ac67
refs/heads/master
2020-05-19T12:48:17.144882
2019-05-05T11:53:46
2019-05-05T11:53:46
185,023,995
1
0
MIT
2019-05-05T11:45:42
2019-05-05T11:45:41
null
UTF-8
Python
false
false
834
py
#!/usr/bin/python # coding=utf-8 """ 第 0020 题: 登陆中国联通网上营业厅 后选择「自助服务」 --> 「详单查询」,然后选择你要查询的时间段, 点击「查询」按钮,查询结果页面的最下方,点击「导出」,就会生成类似于 2014年10月01日~2014年10月31日 通话详单.xls 文件。写代码,对每月通话时间做个统计。 """ import xlrd def count_the_dail_time(filename): excel = xlrd.open_workbook(filename) sheet = excel.sheet_by_index(0) row...
[ "caozijun007@163.com" ]
caozijun007@163.com
31210d8e9ca34adeac2eb884389740c085812bb4
377fc6e13101a2a45826cd118110c790f396a805
/joi2006yo-a.py
76c9acea6c793943ca033f4c33a8547e23ddc800
[]
no_license
number09/atcoder
4076e7223f424b9923754e73992d6442e0bb0de7
f521ca1205b254d99744abaf6a7a5bfe69845fe0
refs/heads/master
2021-06-04T23:16:39.021645
2021-01-19T08:30:39
2021-01-19T08:30:39
132,128,927
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
n = int(input()) li_cards = [] for _ in range(n): li_cards.append(list(map(int, input().split()))) score_a = 0 score_b = 0 for c in li_cards: if c[0] > c[1]: score_a += sum(c) elif c[0] < c[1]: score_b += sum(c) else: score_a += c[0] score_b += c[1] print(score_a, score...
[ "12413803+number09@users.noreply.github.com" ]
12413803+number09@users.noreply.github.com
fd79e1ac0a286ca45b1d4946256e9a1e4aba4141
a1a7e8c2f086f7706b82d7d4206efa6a3bd8befa
/coin/exchange/mtgox.py
a65b27736c22a15976cd0ed1b85589b71a32e59d
[ "MIT" ]
permissive
aitoraznar/coinprice-indicator
1d29aa99e68cf2eb0f58f52d97396ba6dfd7bc5a
c8f6021bed7832dc7251386bbaeb907af245e6aa
refs/heads/master
2021-01-17T18:08:15.329411
2017-06-27T09:40:08
2017-06-27T09:40:08
95,542,549
0
0
null
2017-06-27T09:39:11
2017-06-27T09:39:11
null
UTF-8
Python
false
false
1,966
py
# -*- coding: utf-8 -*- # MtGox # https://en.bitcoin.it/wiki/MtGox/API/HTTP/v2 # Legacy code __author__ = "nil.gradisnik@gmail.com" from gi.repository import GLib import requests import utils from exchange.error import Error from alarm import Alarm CONFIG = { 'ticker': 'http://data.mtgox.com/api/2/', 'ticker...
[ "nil.gradisnik@gmail.com" ]
nil.gradisnik@gmail.com
4961fb73566b13cf8d008c649a41c4206e23a2cb
b9f2b8478e84ab78b93faa703433f8034fd65444
/crystalyzation.py
29d63276ed62d9d7e5bbf20d5108baab47a312d6
[]
no_license
leloulight/inasra
301d3b87f66010474ab4c95c54b2fd01fb3450e8
fd5a3201919fd61f5f4d3667607292f8678cf48b
refs/heads/master
2021-01-23T20:44:08.867791
2016-01-15T17:12:36
2016-01-15T17:12:36
49,732,933
0
0
null
2016-01-15T17:07:12
2016-01-15T17:07:11
null
UTF-8
Python
false
false
1,683
py
#!/usr/bin/env python import json import re import pdb from glob import glob as glob import random import socket board = json.loads(open("xwordspine.json").read()) def boardtrim(board): destroy = 1 for each in board[-1]: if each is ' ': pass else: destroy = 0 if des...
[ "deifius@github.com" ]
deifius@github.com
363e3d0afb2659005eb948006061e1de157752ed
e1fc3c9332122b43664ef64ed7e3b03848a9f5ba
/IMAPTest.py
13114084fb1b150406262e0577bbd5371d6584ea
[ "MIT" ]
permissive
ModischFabrications/ReMailer
3adea28e27cab1bd7e488450826ba7483a6b9628
68cf1ad6f5d2aca67832810a196f43c2cf610fda
refs/heads/master
2020-03-27T05:19:56.160939
2019-03-05T19:27:33
2019-03-05T19:27:33
146,011,744
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
"""" simple test cases for receiving messages """ import unittest from main import * domain = "mailrobot@mail.xing.com" class IMAPTEST(unittest.TestCase): def test_loading(self): logger = get_logger() mail_address, password = read_login() imap_client = connect_imap(logger, mail_address,...
[ "magicmanfoli@gmail.com" ]
magicmanfoli@gmail.com
c8b010348985198cd32bc04897b0599058a05f38
4635ee166ff05ca3d1c85de0d1bf90fb1707dd3c
/mango/metrics/confusion_matrix.py
80b75888cb9f049ac553e8e4b3b397dbdb8fe3e9
[]
no_license
Pedrexus/MangoFIL
be9a8018ba2ab7e4086f6414e71f8d7a9eceb820
8f6b3f64d2469cbd69fa381425f1d756969b416a
refs/heads/master
2022-11-21T13:12:57.710178
2020-06-26T18:17:59
2020-06-26T18:17:59
255,701,407
0
0
null
2020-04-17T02:50:35
2020-04-14T19:08:59
Python
UTF-8
Python
false
false
1,911
py
import tensorflow as tf # make confusion matrix metric # make sparse categorical Precision, Recall and F1 class SparseCategoricalTruePositives(tf.keras.metrics.Metric): def __init__(self, print_tensor=False, name="sparse_categorical_true_positives", **kwargs): super().__init__(name=name, **kwargs) ...
[ "vaz.valois@df.ufscar.br" ]
vaz.valois@df.ufscar.br
35672d6ef46b07f7dea34b4daa56da0c887a86fb
e874c16913e9554786c75d80884533e1db4dbd49
/job/quality/width.py
3f32b78b0f457f77a888e1e56679466eb59650ac
[]
no_license
lamsh/misc
f307c34526173766631d0f50b128d3bd7e8724dc
a426a231a008aa1b2b803955f18460e8b0b358ab
refs/heads/master
2021-01-20T09:21:49.969220
2017-11-25T14:00:37
2017-11-25T14:00:37
90,244,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,185
py
#!/usr/bin/env python3 # coding: utf-8 # (File name: width.py) # Author: SENOO, Ken # License: MIT # (Last update: 2015-01-26T15:44+09:00) """ Excelの地形データからwidth.prnを作成する 入力:input.xls 出力:width.prn """ import sys import xlrd FR = "./input.xls" START_ROW = 5 START_COL = 4 MAX_NO = 35 # No.の個数 MAX_HEIGHT_INDEX = 32...
[ "mslamsh20131029@outlook.jp" ]
mslamsh20131029@outlook.jp
849bc3bb90ec4d300eed4c9ce126e2b3ed2aeef5
b483c598fa375e9af02348960f210b9f482bd655
/pythonbrasil/exercicios/listas/LT resp 06.py
4a956fe6704cf8f89b2b9ac2bdcf1bef84176545
[ "MIT" ]
permissive
brunofonsousa/python
6f766d08bf193180ea9a4903cb93ffd167db588d
8f2f26c77015c0baaa76174e004406b4115272c7
refs/heads/master
2022-09-30T14:58:01.080749
2020-06-08T09:55:35
2020-06-08T09:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
''' Faça um Programa que peça as quatro notas de 10 alunos, calcule e armazene num vetor a média de cada aluno, imprima o número de alunos com média maior ou igual a 7.0. ''' alunos = 2 nota = 0 soma = 0 for i in range(1,3): notas = [] for j in range(1,3): nota += float(input("Digite a %iª nota do alu...
[ "brunofonsousa@gmail.com" ]
brunofonsousa@gmail.com
683033b34e5ba82571bedabf75dda4cfedc1e88c
bb62f4738e32b82904b61d4be9d21b41d05ed694
/motion_planners/rrt_connect.py
bb1702b156f42c9066f8eda37cc052634eb5eeba
[ "MIT" ]
permissive
yhome22/motion-planners
34049b1f65cb8f45d656ce61d94e4a605d861615
891423418a9c6ac5d6fbe2bbc9c51087ae7d9b03
refs/heads/master
2023-06-11T10:38:10.807421
2021-06-15T23:54:51
2021-06-15T23:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,461
py
import time from .primitives import extend_towards from .rrt import TreeNode, configs from .utils import irange, RRT_ITERATIONS, INF, elapsed_time def wrap_collision_fn(collision_fn): # TODO: joint limits # import inspect # print(inspect.getargspec(collision_fn)) # print(dir(collision_fn)) def fn(...
[ "caelan@mit.edu" ]
caelan@mit.edu
a113f792beca5c6c69a940ec55db1bb98da0b3e2
c2186b2d1c3853a5f3bd964738d5be042b34fe02
/Plot/Plot/Plot.py
49763173ab1d2ea76f0ceaff28f90aeb3ac39e60
[]
no_license
TwentyO/plot_test
666336d1feb83f22b19c783de4a2f7a11d2d35ba
e345f886705b9820ca8715a1731906161c7fb85a
refs/heads/master
2020-12-02T05:18:38.667673
2019-12-30T11:27:02
2019-12-30T11:27:02
230,902,605
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
import matplotlib.pyplot as plt X=range(-100,101) Y=[x**2 for x in X] plt.plot(X,Y) plt.show()
[ "934733443@qq.com" ]
934733443@qq.com
c4d6c81822cc229ff05f3173a338729020ce79ce
7f6790144891fcd48d0394a5272b2a8a6bf17d02
/warmups/api_call.py
d0eecdca4da90babb0e8c63c0c959ae489a24015
[]
no_license
Ismaelleyva/Project2
47e53cac242ac0593c1e2da1f94b243348c5a21d
241517015e417a95c35da9b755720cf51fb0a1af
refs/heads/master
2020-04-04T11:23:08.564971
2018-11-02T15:58:57
2018-11-02T15:58:57
155,889,049
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
api_token = '6iEWZ7RYlmZ2XGj56Q38GiymIDVkG61WlrSR7SLn' url= "https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&camera=fhaz&" for api_token in url: print(url+api_token)
[ "2020ileyva@01889.dwight.edu" ]
2020ileyva@01889.dwight.edu
28e707de27e0fe1f7588660aebc250a2a516e8ce
a70d42ddfc84715e1e8ee680d349c49956508ca4
/accounts/urls.py
c66a0da314140da6b4f3f77093b8ab3e6c669e9d
[]
no_license
SinghSujitkumar/Art-De-Galler
5bf1814d8342ca6e9009b13090a29bc0c7551007
92b76b79aa639f7c1097340278362975c8c0076a
refs/heads/master
2020-05-18T13:39:20.997094
2019-05-01T16:25:21
2019-05-01T16:25:21
184,445,399
1
0
null
null
null
null
UTF-8
Python
false
false
277
py
from django.urls import path from . import views urlpatterns = [ path('login', views.login, name='login'), path('register', views.register, name="register"), path('logout', views.logout, name="logout"), path('dashboard', views.dashboard, name="dashboard"), ]
[ "2017.sujitkumar.singh@ves.ac.in" ]
2017.sujitkumar.singh@ves.ac.in
45421fee2f3fe62e4799b14fe5137854032b46cb
7de678a702845e555e1d24e6791224af9bb2a5c0
/server/common/db.py
8687c8780ed75eb5e9a0d467b8cef9d87cff0884
[]
no_license
kongfy/dolphind
198d93707f96b839c29ea983737c97cbfbe1f44b
abdf75c273fc6fb9901d8856a2db48a74ca90ec0
refs/heads/master
2021-01-17T04:51:38.472626
2014-12-11T11:00:19
2014-12-11T11:00:19
25,820,993
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
# -*- coding: utf-8 -*- """ Database model, contain a global database connection pool DBPOOL : global database connection pool for dolphin """ from twisted.enterprise import adbapi from common import config DBPOOL = adbapi.ConnectionPool("MySQLdb", host=config.CFG['database']['host']...
[ "njukongfy@gmail.com" ]
njukongfy@gmail.com
9dbb15b3b965cae663cb4e6bca1426395e761504
0655ce817527b7d6e7a946004dfe83a5454286c4
/mysite/child/migrations/0012_state.py
897c02b37cfaace62896612698d87d3b60780051
[]
no_license
manicdepravity/ChildCarePortal
3c06006e30639bdce730f5fb774fc43de9550152
16216c4a80303af247e94add6782bea8ddf3b988
refs/heads/master
2023-03-18T03:19:38.605379
2019-10-28T05:43:33
2019-10-28T05:43:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-01-10 10:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('child', '0011_auto_20180110_0855'), ] operations = [ migrations.CreateModel...
[ "kjatin6599@gmail.com" ]
kjatin6599@gmail.com
a355e886eb3b0f015d09b83db9569c0bdae3699d
e963e938ce5e049f768ae6cf3bb74c7dd85bace0
/QML_DQN_FROZEN_LAKE.py
3803b2838dcf9af7c38ec1113f05cef943bed749
[ "MIT" ]
permissive
michelangelo21/QHack-open_hackaton-QUBIT
b1625b7ae5ad19641d2ca7ea729545451fc44367
49043e78892985877cea78e371bf989b25b833d0
refs/heads/main
2023-03-08T09:19:43.206784
2021-02-26T22:42:04
2021-02-26T22:42:04
341,231,946
2
0
null
null
null
null
UTF-8
Python
false
false
18,298
py
# QML as Q Learning function approximator # Need to specify STATE input format # Computational Basis Encoding # action output is still softmax [a_0, a_1, a_2, a_3, a_4, a_5] # Deep Q-Learning DQN # Experimence Replay (For i.i.d sampling) # Target Network (Updata every C episodes) ==> Another Circuit Parameter Set # T...
[ "michal.lukomski21@gmail.com" ]
michal.lukomski21@gmail.com
3ce88a41f23fa6766fa5dbb26e09c2c515d7c943
67fcccbd835b97e374665cfe56f645ae9eed4e92
/ely/wsgi.py
d63386fc694340786b991b1d0784efff568f6d38
[]
no_license
muscatinedev/ely
c8273fd90dea1bc5e990e1c9624760d0061532c1
b36a514ad3fcea138d3456ac1bff51f22b87ff24
refs/heads/master
2023-03-21T02:29:06.174185
2021-03-03T19:38:48
2021-03-03T19:38:48
323,563,373
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for ely 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "muscatinedev@gmail.com" ]
muscatinedev@gmail.com
0351cd3111edde020d59f07b80c3ec3bb06fbf0e
30d642ef779d361644456ee8ae95d8c1d091e4f4
/ex26.py
0f27c5c55ebfbbff2576339b18076b22722ff243
[]
no_license
maggiebzt/learn-python-the-hard-way
966ff240917931a69512ae8549785016d6ee6849
ae2263559ecfc2bfac29c5814da363d670384533
refs/heads/master
2020-03-22T19:01:04.617936
2018-08-08T22:31:43
2018-08-08T22:31:43
139,933,067
1
0
null
null
null
null
UTF-8
Python
false
false
2,882
py
def break_words(stuff): """This function will break up words for us.""" words = stuff.split(' ') return words def sort_words(words): """Sorts the words.""" return sorted(words) def print_first_word(words): # error 1: missing a colon """Prints the first word after popping it off.""" word = ...
[ "22149904+maggiebzt@users.noreply.github.com" ]
22149904+maggiebzt@users.noreply.github.com
14d930c07ef672a334e9d2cd6db46037ca679856
f659075076dd629862d062963ccbefbf717fa656
/solvers/annealing.py
181210dcb7f235977cbdec563cc325d0a51ac193
[]
no_license
miquelfarre/tsp_mayhem
35d09d5533388219ead8e12d6aa9f2326e6bef50
b3888bb874484172a606d0ef4dbb0f58a0c460c4
refs/heads/master
2022-12-07T14:00:17.125979
2020-08-19T05:02:31
2020-08-19T05:02:31
288,636,272
0
0
null
2020-08-19T04:50:39
2020-08-19T04:50:39
null
UTF-8
Python
false
false
1,437
py
import random import math def acceptance_criteria(distance, new_distance, temp): if new_distance < distance: return 1.0 return math.exp((distance - new_distance) / temp) def get_distance(current_list, cost_matrix): distance = 0 pre_j = 0 for index in current_list: distance = dist...
[ "miquelfarre@Miquels-MacBook-Pro.local" ]
miquelfarre@Miquels-MacBook-Pro.local
cca4eb53ee84c89cc60dd78279f630ce2adc308d
aea37c205cd97404f2a564fcebaf25cd284c5586
/Toxicbug/Charlotte/division.py
099427d714a34d942acc26ba9c015d0190920341
[]
no_license
kanhaichun/ICS4U
b9457d001f9cdde84894f004409621023bea91ab
bf3e29364707f52fcd5f7b20c7ba6ca1d848af31
refs/heads/master
2020-07-31T02:15:38.211002
2018-04-26T17:18:25
2018-04-26T17:18:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ (a)Name: chenquancheng (b)Date: Created on Wed Jan 10 12:41:32 2018 (c)Program Title: division (d)Purpose: loops through 1000 numbers and determines whether they are divisible by 3 and 19 """ for i in range(0,1000): #This makes the program loop through 1000 numbers. ...
[ "31779684+Charlotte418@users.noreply.github.com" ]
31779684+Charlotte418@users.noreply.github.com
938d74f683b6899da1a3a4e45a9ca95feeccf13d
5b777b268b804bc984f87d714ef25677ab10fab1
/causallib/estimation/marginal_outcome.py
6c83f15371c3f78daa5f11e480dbc6c2d0148bae
[ "Apache-2.0" ]
permissive
vishalbelsare/causallib
71c06cafbf9d3f2163c4921d64cab8d36413ca67
9f0ddb4696d580cf0a529a6c6ce98b40b34e3796
refs/heads/master
2023-07-10T09:57:57.293064
2022-12-19T15:19:28
2022-12-19T15:19:28
230,206,247
0
0
Apache-2.0
2022-12-22T00:45:47
2019-12-26T06:14:10
Python
UTF-8
Python
false
false
3,669
py
""" (C) Copyright 2019 IBM Corp. 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 agreed to in writing, software ...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
6ad33e0ac4718ca5543b334da5ad303ac0225538
6c1b4bf688d7a27a3d516f32e1b3a331004b5c52
/invoke.py
e5e362e3fe92f4ef66c25023d1a9463919883e60
[]
no_license
paoloo/invoke
ea07b4111b7f06ab5eaa64cbf3e7daf7e9558659
ffadb7f60fcdc0287f3752d4182dc93e0c3460c7
refs/heads/master
2021-01-10T05:23:25.854204
2016-01-23T03:12:11
2016-01-23T03:12:11
48,082,120
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
# -*- coding: utf-8 -*- import ctypes, sys def _invoke(_obj , _metodo , _parms): try: _cobj=ctypes.CDLL(_obj) _func=eval('_cobj.%s' % _metodo) return _func('%s' % ''.join(str(_k) for _k in _parms)) except: raise if __name__=='__main__': if len(sys.argv) < 3: print 'invoke.py - exec a functio...
[ "paolo@lit.ifce.edu.br" ]
paolo@lit.ifce.edu.br
8c5c957d383f279a40df2c3cb710efbc071c3fff
f8f1c6d3b02c3a6bb30b303ada6c9fb298c72407
/Socket/client.py
c30dcdd0ab9c1f2b5b86f977bb0c17478139ccfb
[]
no_license
tianlin95310/python-demo
974c9a2ed31f7e13255b360376c1ce25dbb5b000
1d9935ff3db99172e398e46b08126b24ce9ac772
refs/heads/master
2023-06-04T18:12:18.097848
2021-06-15T08:41:21
2021-06-15T08:41:21
377,094,240
1
0
null
null
null
null
UTF-8
Python
false
false
882
py
import socket client = socket.socket(socket.AF_INET,socket.SOCK_STREAM) # host = socket.gethostname() host = '192.168.1.2' # host = '27.23.227.74' # host = 'localhost' port = 10005 client.connect((host, port)) while True: try: data = client.recv(1024) print ('recv', data.decode()) msg = '{"...
[ "953108373@qq.com" ]
953108373@qq.com
ee41c038533ccef5d22ccaccdf725ac037a50d82
dd2a1b07eaafa49fb304c14cb7f110ffa581f8b5
/Valid Binary String.py
173e952b59b8084830722f5a2252ec929c923ea8
[]
no_license
miraajkadam/Hack-the-Interview-IV--Asia-Pacific
b5b053ce0fff89296a09e61d44d41d94cf2eeaa4
f3b54acad0fa8890d39b13bee8742593346e6a2d
refs/heads/master
2022-09-03T09:13:20.245825
2020-05-31T14:59:35
2020-05-31T14:59:35
268,086,221
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
import sys import math def minimumMoves(s,d): count=0 flag=False for i in range(len(s)): if(i>=(d-1) and i<=(len(s)-d)): for j in range(i-(d-1),i+(d-1)+1): if(s[j]==1): flag=True print(flag) if __name__ == '__main__': sys.stdin=open("pyIn.txt","r") fout=open("pyOut.txt","w") #--------------...
[ "61474583+miraajkadam@users.noreply.github.com" ]
61474583+miraajkadam@users.noreply.github.com
ba4ee69d23fd61ba86aa9bc91e62b37f7c42bdcf
69b1c873d8e8ea64dbab662866466a0b971ce41d
/utils.py
7292966a069fa52645c7bdd436a7bb1a68075e44
[]
no_license
Coder2Programmer/WANA-Develop
9800e415561d81b7ba6d3584b03955fac02b7fcc
e1a8bf933216ba3aba5c828f1205a9b77f3d770e
refs/heads/master
2023-02-24T01:52:48.336405
2021-01-26T03:27:47
2021-01-26T03:27:47
294,609,019
2
0
null
null
null
null
UTF-8
Python
false
false
4,072
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ The utils module includes functions to help symbolic execution, such as transformation function for transform truly value to symbolic value and versa. """ import ctypes from typing import Union import six import z3 import bin_format def is_int(value: int) -...
[ "wangdong17@foxmail.com" ]
wangdong17@foxmail.com
9e2d106caf576c763e11e32eb14eb27cc379899f
3c0fb20d77a8b4b63691fc8233cce44a50ecf36b
/src/core/geom/data/transform.py
124b6149b51c0042e0b47a1a0325c7e1461de25c
[]
no_license
jorjuato/panda3dstudio
8a9b35000b8850c0d2968f529a983b66ad01f2f8
b6cf2a1d126273ca64ecec29f23eba7bf297f418
refs/heads/master
2020-12-06T19:16:42.105673
2016-04-26T18:14:44
2016-04-26T18:14:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,187
py
from ...base import * class GeomTransformBase(BaseObject): def __init__(self): self._verts_to_transf = {"vert": {}, "edge": {}, "poly": {}} self._rows_to_transf = {"vert": None, "edge": None, "poly": None} self._transf_start_data = {"bbox": None, "pos_array": None} def _update_verts...
[ "Epihaius@users.noreply.github.com" ]
Epihaius@users.noreply.github.com
d627be799d34ca09b15dbb8a8ba4999497693d40
babc3e26d66a8084c9f84a0431338bafabae6ffd
/TaeJuneJoung/COD/lv2.OddOccurrencesInArray.py
d4d409749fec81fd81fda721db9af44dc3514b7c
[]
no_license
hoteldelluna/AlgoStudy
5c23a1bfb07dbfbabc5bedd541d61784d58d3edc
49ec098cecf2b775727d5648161f773e5488089b
refs/heads/dev
2022-10-09T14:29:00.580834
2020-01-25T14:40:55
2020-01-25T14:40:55
201,632,052
5
0
null
2020-01-25T14:40:57
2019-08-10T13:11:41
Python
UTF-8
Python
false
false
1,356
py
""" 무조건 하나만 홀수가 발생하니 마지막 index는 짝수일 수밖에 없다.(0부터 시작이니) [조건] 1. A의 크기가 1인 경우 2. 홀수가 중간에 있는 경우 3. 홀수가 맨 마지막에 있는 경우 """ def solution(A): A.sort() for i in range(0, len(A)-1, 2): if A[i] != A[i+1]: # 조건2 - 홀수가 1개밖에 없으니 답이 아니라면 짝수개이므로 앞에 것이 틀리다. return A[i] # 조건1, 3 - 조건2에서 ...
[ "jtj0525@gmail.com" ]
jtj0525@gmail.com
f106b629624edb3a15da57a5b1456cc17682108b
55e3b57df5914896b5a5cb92ea09c11b67e5dad8
/news/migrations/0002_auto_20201027_0850.py
c041a5521ed602568593f881701ed88ebe687d14
[]
no_license
MrFlava/newsproject
04ed04ee1c286c7bfeb6f42173184aa519cb5dec
fe3dc6c0de37345ddd6bb9032dae683dea84445b
refs/heads/master
2023-06-19T06:18:59.106112
2021-07-21T17:46:16
2021-07-21T17:46:16
307,322,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
# Generated by Django 3.1.2 on 2020-10-27 08:50 import datetime 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), ('news', '...
[ "thatelitemaili33t@gmail.com" ]
thatelitemaili33t@gmail.com
f4607a41d07b6d11c28e5dd35ef3709e1afe0892
faf86cf09d1b7414782b86991d0390a628c88e07
/strategy.py
da981f8478bfc9315e650ae2119c44a714ab86d7
[]
no_license
quan8tum/DFCF_TRADER
42494ba846d1db6dddc62ee66564407304b9116b
fbabeb39a64e3965a90fd6fcc8cf2dd7a6fc920e
refs/heads/master
2020-04-30T14:54:47.092540
2017-12-14T15:37:21
2017-12-14T15:37:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,442
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import requests import sys,time import json stdi, stdo, stde = sys.stdin, sys.stdout, sys.stderr # 获取标准输入、标准输出和标准错误输出 reload(sys) sys.stdin, sys.stdout, sys.stderr = stdi, stdo, stde # 保持标准输入、标准输出和标准错误输出 sys.setdefaultencoding('utf8') class Strategy(object): """ ...
[ "wangych_qd@163.com" ]
wangych_qd@163.com
13694a3733a922c55f5a0c8e4f7846f56af8cd4d
b55c72bc94c6464a1b4461a3d11051f7dce98cd4
/source/205.py
4c7d38f39594d3843d917d34579f356922c8d57c
[]
no_license
ilkerkesen/euler
d886a53d3df3922e4ddaff6ab9b767e547c0eca2
b9e54412492cfcee9dbf5a017cf94e5da65ad0d3
refs/heads/master
2020-05-21T12:49:31.939194
2016-08-14T17:25:17
2016-08-14T17:25:17
6,717,398
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from itertools import product def list_to_dict(totals): result = dict() for t in totals: if result.has_key(t): result[t] += 1 else: result[t] = 1 return result def get_won_count(n, d): return sum(map(lambda x: x[1...
[ "ilkerksn@gmail.com" ]
ilkerksn@gmail.com
92ea82d00e3baa47f0708f8943155310bef045d0
eda9187adfd53c03f55207ad05d09d2d118baa4f
/python3_base/exception.py
78bffed238c1ab8437126e7d6c33d8e406d2aae6
[]
no_license
HuiZhaozh/python_tutorials
168761c9d21ad127a604512d7c6c6b38b4faa3c7
bde4245741081656875bcba2e4e4fcb6b711a3d9
refs/heads/master
2023-07-07T20:36:20.137647
2020-04-24T07:18:25
2020-04-24T07:18:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding:utf-8 -*- # /usr/bin/python ''' Author:Yan Errol Email:2681506@gmail.com Wechat:qq260187357 Date:2019-04-29--21:59 Describe:异常诊断 ''' import time def func(): try: for i in range(5): if i >3: raise Exception("数字大于3了==") except Exception as ret: print (re...
[ "2681506@gmail.com" ]
2681506@gmail.com
ddf360009afd0063737c2c6a97016a8406234f17
89fcb62b3f3a0a75854388c1a840bd7abb30b058
/boot.py
e3656b7ab0ce61bb02b5d0516e65b90e88563f6f
[ "MIT" ]
permissive
KevinMidboe/esp-stereo-api
17b66d7f8093bc155cafcb9121da7e34f28b10bd
55972dbf2377ac5962bd24e4120b83c2e107f5e1
refs/heads/master
2020-07-06T02:16:04.466656
2019-08-17T09:06:03
2019-08-17T09:06:03
202,856,963
0
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
import socket from time import sleep_ms html = b""" <!DOCTYPE html><html><body> <h1>hello world</h1> <button onclick="navigate('on')">on</button> <button onclick="navigate('off')">off</button> </body> <script type="text/javascript"> function toggle(value) { console.log('posting', value) window.fetch('/', { ...
[ "kevin.midboe@gmail.com" ]
kevin.midboe@gmail.com
a57afd6f9e44073212a1310e56d731461175265f
fcb18bd1e0461e041739b472aef82d8f015a9e80
/manage.py
483d210979b01ad8f15a8c3f1d66b81ba278e00f
[]
no_license
gengue/ayremin
02039c961766662b19e8c81b13a7ebaabf7d83f4
4d70b6de025d7f4a3c5f22d48d4b543ea64282f7
refs/heads/master
2021-01-20T11:00:18.308601
2013-09-26T22:57:46
2013-09-26T22:57:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ayremin.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "labso@labso.(none)" ]
labso@labso.(none)
3e0296ac48ed41c8dffac6ce628f3f1ecc939d27
62bb7e30d5fc0f393357f71f83ce8b450877e854
/client/ctf_remote_engine.py
0cd11475f450d176133e2ce12ad0bde3f42455e1
[]
no_license
leoche666/CTFClient
8f95fbdf8ef6cc0b620ec1bb5bb62eea09c2f93c
be1450c403fcea8fdb6bbcd47892f0774a3f2da9
refs/heads/master
2020-03-28T20:58:46.480380
2018-09-18T06:04:11
2018-09-18T06:04:11
149,119,594
4
2
null
null
null
null
UTF-8
Python
false
false
18,243
py
# -*- coding: utf-8 -*- import re import time import socket import struct import logging import json import threading import xml.etree.ElementTree as ET from collections import Iterable from client.libs import socks from functools import wraps from abc import ABCMeta, abstractmethod from wpyscripts.wetest.engine import...
[ "673965587@qq.com" ]
673965587@qq.com
023952c2d3a6d5959b48481d39fda48a0ff3ea33
815668204d46e6b9d90525ae3ab0338519bee2b5
/pyaltt2/converters.py
03dbbb8e20841884f4b6fbdaa0515694fb732999
[ "MIT" ]
permissive
alttch/pyaltt2
b1e74da7a38e981e2d0462c48841b5497ea03fb2
da51459b01c6729a866ca2bb4731d94c031854d1
refs/heads/master
2022-05-19T06:37:00.238630
2022-05-06T20:11:42
2022-05-06T20:11:42
225,089,993
1
0
null
null
null
null
UTF-8
Python
false
false
5,059
py
def merge_dict(*args, add_keys=True): """ Safely merge two dictionaries Args: dct0...n: dicts to merge add_keys: merge dict keys (default: True) Returns: merged dict """ if len(args) < 1: return None dct = args[0].copy() from collections.abc import Mappin...
[ "div@altertech.com" ]
div@altertech.com
da0d5d11aab1727c85b3e10826ba2d3bf070478d
819c3415009cc2119d8962e415a47ef0d477bd39
/api/migrations/0001_initial.py
02dd29775b07ccdc42fcb67fa66a5624662dee31
[]
no_license
harshitksrivastava/MovieRaterProject
ae739aa686063edc43215054eb017a1e4ddbfc67
c3a31357defd3d27fd344697438273211908849c
refs/heads/master
2021-09-29T12:26:31.012420
2020-08-03T20:40:14
2020-08-03T20:40:14
252,273,767
0
0
null
2021-09-22T18:48:46
2020-04-01T19:57:20
Python
UTF-8
Python
false
false
1,462
py
# Generated by Django 3.0.4 on 2020-03-31 19:16 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AU...
[ "harsh0311@gmail.com" ]
harsh0311@gmail.com
d8ee58373b62a9ed7b7bfb582e09a2d53b076001
4eb76b7327aa9383dbfd6d76aa3bc1f890ceb269
/bot.py
ff9565aa6ba1ea76cc5c1e87a7723cde7a61f670
[]
no_license
catatonicTrepidation/IrudiaEditor
c99af1cee7b33b9456a79143e030d7be96f15221
926d52a902ec2ad5cfcec30af970d5e5191ec1c6
refs/heads/master
2020-03-28T19:20:40.276957
2018-09-16T05:38:41
2018-09-16T05:38:41
148,966,473
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
import discord from discord.ext import commands import json # my code from opencv import filters, imgtools, kernelparse import filter_switchboard import contextparse config_data = json.load(open('data/config.json','r',encoding="utf-8_sig")) TOKEN = config_data['token'] description = '''Apply filters, transform, and...
[ "catatonictrepidation@gmail.com" ]
catatonictrepidation@gmail.com
23470986e0d975fc77b67f88b1d926e6e829517a
b2a5af52edbef6ebcd81d541dd891e0eeaab90f6
/2019/5b.py
82cf24faf1d993bcc57fd0da3174eab2033a5475
[]
no_license
balshetzer/AdventOfCode
1fbed0798fe34e336d660f8e307f479b32f56670
5348a65ae5ae94fa48bf1f1119c7ba28bf937536
refs/heads/master
2022-12-11T08:37:39.982059
2022-12-04T15:33:32
2022-12-04T15:33:32
227,736,960
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
#!/usr/bin/env python3 import fileinput import intcode print(intcode.Interpreter(next(fileinput.input())).run(input=5, output=True))
[ "hesky@hesky-macbookpro.roam.corp.google.com" ]
hesky@hesky-macbookpro.roam.corp.google.com
9aad4b162dea01375c98a8d3e8a080cee17f46b4
e0ff1acb2d6cd05e639a6d9bc4d367a059e15113
/backend/api/views_util.py
9d8f7106970cd51af5769559d184bbfa4532d8fa
[]
no_license
majh0/product_graduation
961f7826840a69a5b848a9cd10333c8e6daa8722
2a8f19010bcbeffdc77e2462b74385d0106725e0
refs/heads/master
2023-08-25T13:21:18.084708
2021-10-28T04:22:15
2021-10-28T04:22:15
416,997,791
0
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
def obj_to_post(obj): post = dict(vars(obj)) if obj.modify_dt: post['modify_dt'] = obj.modify_dt.strftime('%Y-%m-%d %H:%M') else: post['modify_dt'] = '' if obj.tags: post['tags'] = [tag.name for tag in obj.tags.all()] else: post['tags'] = [] if obj.owner: ...
[ "majh00@naver.com" ]
majh00@naver.com
3dcf0a2a5e0e815380124ab0ef3fdcff617882b5
6f701256f47be8a8779669e81a9467a02523f747
/views/app.py
fd187ef584fcf853abbf698c3090c74ccdb1876e
[]
no_license
yvesjordan06/automata_python
7b52ec440359f2c73c3a51086afc40056513a6a0
07f80486137d188238651f9f8c52a197cbab0468
refs/heads/master
2020-09-19T17:53:58.661117
2019-12-21T02:49:36
2019-12-21T02:49:36
224,257,460
0
0
null
null
null
null
UTF-8
Python
false
false
2,947
py
#!/usr/bin/python3.7 # -*- coding: utf-8 -*- """ Automata 304 This is an assignment on Automata Author: Yves Jordan Nguejip Mukete email: yvesjordan06@gmail.com Last edited: December 2019 """ from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import * from views import Pages from views.Components import HErrorDial...
[ "yvesjordan06@gmail.com" ]
yvesjordan06@gmail.com
268ee4217c663eceae027c1a73c3fd4d5134936f
784a6f72e7f75fff24d6e3f5dc686a2a0b97849a
/webot工程/完整训练和测试代码/hjk_real_facing_people_webots_pioneer3_4layers_restore.py
f6fa509450666f88738f8d00d67ca07cbb07f2e7
[]
no_license
ruclion/follow_geek_tactron
3546521c28f0d0229fabc9b99083776498b82530
5ab7a9fdaf3a3f0f9d33888a467497953c71ed56
refs/heads/master
2021-09-04T11:52:05.118377
2017-12-26T09:21:25
2017-12-26T09:21:25
109,073,119
3
0
null
null
null
null
UTF-8
Python
false
false
12,809
py
from __future__ import print_function from collections import deque from hjk_real_facing_people_webots_env_obstacle import WebotsLidarNnEnv from hjk_saved_neural_qlearning import NeuralQLearner from hjk_real_facing_people_webots_env_obstacle import actionoutPath import tensorflow as tf import numpy as np import sys im...
[ "ruclion@163.com" ]
ruclion@163.com
46a9ea2d394fede56dd4689d643f5f6492dbb5d8
9e05aa78126e76040e4afdd83c1eba95a9c787f5
/generator/list2.py
9ddb23a03b2684eb7ade8a8f5033cda8d41be041
[ "MIT" ]
permissive
lreis2415/geovalidator
8df4cb4671288b1242d0035cf1cde1944676e1df
dd64b0577aa458b39022afa503e890e966eb56d8
refs/heads/master
2022-12-10T18:32:41.293337
2021-03-10T01:04:20
2021-03-10T01:04:20
233,007,264
0
0
MIT
2022-12-08T08:04:28
2020-01-10T09:00:31
Python
UTF-8
Python
false
false
1,131
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # author: houzhiwei # time: 2020/1/4 16:10 from rdflib import BNode, Graph, RDF, Namespace, Literal from rdflib.namespace import DCTERMS g = Graph() # namespaces data = Namespace("http://www.egc.org/ont/data#") saga = Namespace("http://www.egc.org/ont/process/saga#") sh =...
[ "yesqincheng@sina.com" ]
yesqincheng@sina.com
f5f1c76db9c43e020437e9648bba1815b6f4a874
441c16a4636eb4e2bdd92095173635139910dbb3
/jwt_py/resources/item.py
4c7b1f60d05e2d4317c8793fb578093f7c92af31
[]
no_license
Srishtii-Srivastava/Python
8fb5b17ba79b13bb9f169b33d4608c11a3ffa739
a1783f4801ad053f94f8ab1bfd319c6b05cdd67c
refs/heads/master
2021-09-27T16:49:08.458087
2021-03-15T10:51:23
2021-03-15T10:51:23
230,907,955
0
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
import sqlite3 from flask_restful import Resource,reqparse from flask_jwt import jwt_required from flask import request from models.item import ItemModel class Item(Resource): parser = reqparse.RequestParser() parser.add_argument('price',type=float,required=True,help='This feild cannot be left blank') pa...
[ "srishti.srivastava25@icloud.com" ]
srishti.srivastava25@icloud.com
80b8867d668de3ba11170cad58921cd389bef6d3
2e5b5738853a3ebf186421c5f870d2595ef77d06
/server/dessa_model/utils.py
b395937b61be483fd253216d11fa8ba5efc843b7
[]
no_license
David-Happel/realtime_deepfake_audio_detection
44b62380696c06b0ed290ea3a398b33ddd0a6a3e
1d1b4a73e7e235c830288a3b9b24f2066dd724ef
refs/heads/master
2023-02-19T22:24:49.779306
2021-01-14T15:43:53
2021-01-14T15:43:53
297,591,770
0
0
null
null
null
null
UTF-8
Python
false
false
46,654
py
import os import numpy as np import matplotlib import nlpaug.augmenter.audio as naa import tensorflow as tf from keras.layers import Add, Lambda, Concatenate, SpatialDropout1D import keras from keras.layers import Input, Activation, Dense, Conv1D, Dropout, BatchNormalization from keras.callbacks import EarlyStopping, ...
[ "davidvhappel1@gmail.com" ]
davidvhappel1@gmail.com
05dd1d8270322ebb4719a83756fb0b5d1e7ce34b
9580f5194f3251bebe44c97df2c86e6ea73cfd83
/app/__init__.py
696477f66f4e4f7fd6d4a4be3e27a946a49f68f0
[]
no_license
Sakuoz/Myblog
ada2659d2a2ea717879faa0b3383dbb59890c5d3
7ed454b2b7b2e3eefd7788630d95b426c0c3a5da
refs/heads/master
2021-01-12T06:22:31.062389
2017-03-06T09:50:37
2017-03-06T09:50:37
77,349,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
import os from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login import LoginManager from flask.ext.openid import OpenID from config import basedir, ADMINS, MAIL_SERVER, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD app = Flask(__name__) app.config.from_object('config') db = SQLAlchemy(app)...
[ "sakuoz@163.com" ]
sakuoz@163.com
4d84009041db6676138b1de259e5c129c4ec8dbe
abbab4a61a530bdce6959264cb98a6f61eb7d284
/src/social/migrations/0006_auto_20180621_1858.py
91f54c4d7a4a3299dfe1bd57a0f25a1ab3996a61
[]
no_license
KozhonazarRysbaev/kvn
f41ff87ea73c561a15de197e7e3ccb513e1fd85b
24711afbd48baf585d7748863ae20096197209e6
refs/heads/master
2020-12-15T09:47:28.191233
2018-09-27T20:07:47
2018-09-27T20:07:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# Generated by Django 2.0.6 on 2018-06-21 12:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('social', '0005_auto_20180620_2211'), ] operations = [ migrations.AlterField( model_name='post', name='title', ...
[ "kairatomurbek2@gmail.com" ]
kairatomurbek2@gmail.com
9a0bef543cc1d04d8dfb77e6c44b5ab77b83c037
b30996c01747e6259501e1fd6647724addfce7dc
/src/features/feature_extractor.py
d9eb8bcbd8e9b823ee1ac9126c808534f7ec45e5
[]
no_license
lichenyu/Two-stage_Popularity_Prediction
23a3a9161a34540e6a6df906d0f0009bf86d18cf
e4263747514a6184bb3d8cdaf6380c05a68ca291
refs/heads/master
2021-01-01T05:43:41.063932
2016-05-14T03:30:08
2016-05-14T03:30:08
57,261,511
0
0
null
null
null
null
UTF-8
Python
false
false
36,830
py
# -*- coding: utf-8 -*- import json import re import jieba import jieba.posseg as pseg from snownlp import SnowNLP from datetime import date from datetime import timedelta import data.data_extractor # extract features for videos published on certain date # video features # user features # topic features # text feat...
[ "ouyangshuxin@gmail.com" ]
ouyangshuxin@gmail.com
8d3238d6ea928ddc31a5a446dc96770ccb003b9c
eb6129ed33b467f0882b0c690ae0e23ed0738a40
/src/image_adaptor/srv/_normalImage.py
409c93330c291f032b04e020821302d51650a640
[]
no_license
Michi05/image_adaptor-deprecated-
db5ef7ee0954978d43185f6629251f75946ae391
662442f1c1ef6dbd88acc23a6ec9828172d2db6b
refs/heads/master
2020-03-30T18:49:55.509798
2012-05-31T12:43:30
2012-05-31T12:43:30
3,694,339
1
1
null
null
null
null
UTF-8
Python
false
false
13,143
py
"""autogenerated by genmsg_py from normalImageRequest.msg. Do not edit.""" import roslib.message import struct class normalImageRequest(roslib.message.Message): _md5sum = "af8ad02b46d61aef136a826c5d08279b" _type = "image_adaptor/normalImageRequest" _has_header = False #flag to mark the presence of a Header obje...
[ "cibermichi@gmail.com" ]
cibermichi@gmail.com
b5fe46abd8d9ae411adef6c9e83d0aec6768af4e
d37123396d07c9fc7470763857f8ed7739d7c885
/examples/example1/example.py
947db099f88956930b8b2aa0a27945ee0c95f81a
[ "Apache-2.0" ]
permissive
Panaetius/python-profiling-presentation
8bf07bed3b07e9a71199cb71b006ea078ddaf067
0ed7a20fcefbb3bb5afc2fe7f99b603e458a0575
refs/heads/main
2023-08-20T03:18:07.583527
2021-10-07T12:34:04
2021-10-07T12:34:04
414,101,169
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
from typing import List def top_level() -> List[int]: result = [] for i in range(15000): l = lower_level(i) s = sum(l) result.append(s) return result def lower_level(i: int) -> List[int]: result = [] for j in range(i): result.append(j) return result if __...
[ "ralf.grubenmann@sdsc.ethz.ch" ]
ralf.grubenmann@sdsc.ethz.ch
c050d236e13cb1e6d2c399fb599e3352abb6595f
9801207478d671b7380bbc60f00eb76b3eb83367
/main3.py
891a2479ac8be2821785e2cd97abf0cebfd8f127
[ "MIT" ]
permissive
mdpe-ir/mdVpn
0131d089e659c9085eccfeb83300519507a64d5f
febc718c2b3e0142ebe9cecc08c2739ea0f78774
refs/heads/main
2023-03-13T04:27:26.434903
2021-03-06T21:49:37
2021-03-06T21:51:49
345,194,931
1
0
null
null
null
null
UTF-8
Python
false
false
3,066
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, ...
[ "mdpe84.ir@gmail.com" ]
mdpe84.ir@gmail.com
763d6410b4189a1a5acdeb4c468f957584048877
02f8d733759bf57cab2e08026e68a7e1c8fa5812
/tf-rex/one_step_actor_critic.py
97ed832f284217a5fde6e45b6880583739473078
[]
no_license
Lumotheninja/dino-reinforcement-learning
b18faaa7fcc210d7d5d51b51027383df1fbb5632
927d7b534e2f2ff52f2ea8b6cdd8e4a27eb232a0
refs/heads/master
2022-12-01T10:32:19.201343
2019-08-12T14:40:14
2019-08-12T14:40:14
199,822,824
3
2
null
2022-11-22T04:09:52
2019-07-31T09:21:27
JavaScript
UTF-8
Python
false
false
7,195
py
from environment import Environment from preprocessor import Preprocessor import math import random import numpy as np import matplotlib import matplotlib.pyplot as plt from collections import namedtuple from itertools import count from PIL import Image import torch import torch.nn as nn import torch.op...
[ "wentat126@yahoo.com" ]
wentat126@yahoo.com
f94750a8ca196b2ccb9a794de4f5b8392ae32303
99abd35b33b7cdeb3ff2006fe0ea99b6501571fb
/stabilizer_search/stabilizers/eigenstates.py
d9942c009c3927bdf53536f8c6f1077986952168
[]
no_license
daochenw/rl-stabilizer
72e37adc5325bfff3e765b655f0f11f2185e5dc6
9a5531fc1c5d39a3b54fab46feb405eee797a49b
refs/heads/main
2023-08-16T23:05:23.678315
2021-08-05T14:23:52
2021-08-05T14:23:52
393,067,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
"""Module which defines methods for converting the QObj Pauli Operators that generate each stabilizer group, building a projector and finding the associated +1 eigenstate.""" from math import pow as fpow from numpy import allclose, imag, isclose, real from numpy.linalg import eig, norm from ..mat import qeye def f...
[ "wdaochen@gmail.com" ]
wdaochen@gmail.com
098b677bf2fa4b7b1ccee658537382ae24bf7ec1
d5e54f1a01e307347ccd2b250cbdd500018c1cbc
/parse_cli_parameter.py
a713272caee16d44336f5e2225013b7c73ec3154
[]
no_license
cyru8/cloudguru
0ad21770363ae1b09628ceb1fb50d6abfb474838
8c2921fa6e78dd80384110b6f498550aac7c3fb0
refs/heads/main
2023-01-06T07:19:14.704044
2020-11-09T02:33:03
2020-11-09T02:33:03
311,202,645
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
#/usr/bin/env python3 import sys print(f"Positional argument: {sys.argv[:1]}") print(f"First argument: {sys.argv[1]} ")
[ "olumide.adetiba@live.com" ]
olumide.adetiba@live.com
18a3c808b9a37fa071cde60a38bdb476e43b92f8
e57e52007f79603264dc839bb932b2cbd1681b01
/blog/token.py
752a0e4406b28062ec69c269aaba8adf865de836
[]
no_license
Sanjarbek-AI/Fast-API
6ba22851446a9f29ed2002b07efa00e49c131f45
b8171fbb05c8ba6540d0f12bf28679706ce45aba
refs/heads/master
2023-07-18T19:08:52.336704
2021-09-23T05:12:20
2021-09-23T05:12:20
408,771,814
2
0
null
null
null
null
UTF-8
Python
false
false
995
py
from datetime import datetime, timedelta from typing import Optional from jose import jwt, JWTError from . import schemes SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 30 def create_access_token(data: dict, expires_delta: Optional[...
[ "sanjarbekmohinaxon0205@gmail.com" ]
sanjarbekmohinaxon0205@gmail.com
d6ef24a15f6ab1e5fd02c5785f469825d298a0cb
f4fad88ca529fd11d91fa8f45b176a3011c1f350
/test/circuit/library/ansatzes/test_uccsd.py
2b9a1cdd047661020eeb80c3f1f7a667388c8c3b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
eggerdj/qiskit-nature
03d77d303ac6894a59ebf69ea7ac8ccedc930a11
c24a85140eb514628e2b9b1a5f0e03a689f8ade7
refs/heads/main
2023-04-17T08:02:00.762509
2021-04-30T16:07:18
2021-04-30T16:07:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,979
py
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
eggerdj.noreply@github.com
3420af5543cff2284f020349d8d24d5e938e69be
4bfbeb2370a7235ababb71d12b5b1d685b27e3f4
/user/migrations/0001_initial.py
6e158f0da1dcf10baf0c348c644cb5e79330aadf
[]
no_license
dawoodsiddiq786/python-apis
f3e08d1de4c1378f1c2bb35e6b88b486b5d68213
67812a0fbf9497abc7bfa53fd2b3fb029c28b6fe
refs/heads/main
2023-01-24T01:13:18.220421
2020-12-06T19:34:51
2020-12-06T19:34:51
319,114,981
0
0
null
null
null
null
UTF-8
Python
false
false
5,372
py
# Generated by Django 2.2.4 on 2020-08-28 13:59 import django.contrib.auth.models from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ...
[ "tasfiqul.ghani@northsouth.edu" ]
tasfiqul.ghani@northsouth.edu
62393888a82435bbcb27916ed36a8bed00d86eeb
e754a93652eeca77074c621376aeb8ebbe5926ec
/Project_oNe/urls.py
1fc4416b6593019ca15d965c3b1ce4216e059dd0
[]
no_license
obiwills/my_custom_user
b56404a747fdc17bd0661f9c70d1f3271f231e3f
df4e55048466c59444e0e53afb98321d299c5f7f
refs/heads/master
2021-05-10T14:35:46.287479
2018-01-22T23:19:35
2018-01-22T23:19:35
118,523,021
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
"""Project_oNe URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-b...
[ "mtk902@yahoo.com" ]
mtk902@yahoo.com
bb442bea8780dda7af20ef8d7a2dc8ae075f8043
f3dcbf16a83224045796026fff14b44d943fe30d
/AI/jarvis.py
eb6eb7076bfdc6d841a722ac5fab3e5bcf06f281
[]
no_license
keithchad/Javris-AI
1256981bcaf31035b18950d22e9b603a54f10825
b7f1573a949f5f1b6c5c916dff3a7f72e501a4d8
refs/heads/master
2022-11-16T21:27:50.354068
2020-07-17T15:46:51
2020-07-17T15:46:51
279,426,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
import pyttsx3 # pip install pyttsx3 import datetime import speech_recognition as sr import wikipedia engine = pyttsx3.init() def speak(audio): engine.say(audio) #Speaks what is in the brackets engine.runAndWait() def time(): Time = datetime.datetime.now().strftime("%I:%M:%S") speak("the curre...
[ "63049827+keithchad@users.noreply.github.com" ]
63049827+keithchad@users.noreply.github.com
7562eab065b565fc40986e5b85bde0cffe2bf27d
dfcb65de02953afaac24cc926ee32fcdede1ac21
/src/pyrin/caching/local/handlers/__init__.py
4f7d9594e8de35a0a70f0749192b9e0b9fa7c5d4
[ "BSD-3-Clause" ]
permissive
mononobi/pyrin
031d0c38da945b76b07ea100554ffc7f8081b05e
9d4776498225de4f3d16a4600b5b19212abe8562
refs/heads/master
2023-08-31T03:56:44.700142
2023-08-20T22:20:06
2023-08-20T22:20:06
185,481,041
20
8
null
null
null
null
UTF-8
Python
false
false
348
py
# -*- coding: utf-8 -*- """ caching local handlers package. """ from pyrin.packaging.base import Package class CachingLocalHandlersPackage(Package): """ caching local handlers package class. """ NAME = __name__ DEPENDS = ['pyrin.configuration', 'pyrin.globalization.datetime', ...
[ "mohamadnobakht@gmail.com" ]
mohamadnobakht@gmail.com
3071a6ed8d24d42ac210dd4efe459091ab880013
a574b04497e597b8fb9b8698f89fe24afa7d13cc
/preProcessing/Make3D/checkcaffeIO.py
46ae1a9aac92b4ae240ae02f108a7b0eb36ae91c
[ "BSD-2-Clause" ]
permissive
myBestLove/FCRN-DepthPrediction
0aff250ef6fe061b7fddbbde63ddaeb13be59e25
2527c900f13bf150d4ffc048a9ebab8bfb79c808
refs/heads/master
2021-06-12T03:52:50.181080
2016-12-24T09:16:40
2016-12-24T09:16:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
#!/home/zhujun/python27/bin/python import caffe import skimage.io as io import sys test_proto = sys.argv[1] model_file = sys.argv[2] ''' mode 1: check input mode 2: check output mode 3: check internal ''' mode = int(sys.argv[3]) net = caffe.Net(test_proto, model_file, caffe.TEST) out = net.forward() if mode == 1: ...
[ "zhujun@bigdata-gpu-server24.xg01" ]
zhujun@bigdata-gpu-server24.xg01
7e1f5288db8d09ad2fb7d6daa8f7910887c01bb7
b5c6fcff7d71970c5623773986a0b5f7da3e7ff5
/manage.py
5c87cb9bff1b33efb5e1c10f416c9b532d3b1951
[]
no_license
MargaSandor/TimeSpeck
2b5f2fdcbba3ec273dd5532ac63317c7690b4d42
2db3e2270b7af93bda4600cdabdd6dea86fefef0
refs/heads/master
2021-01-10T16:17:11.235281
2016-02-14T14:57:01
2016-02-14T14:57:01
51,696,924
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "TimeSpeck.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "Margareta.Sandor@icclowe.com" ]
Margareta.Sandor@icclowe.com
ed6907e93a4cbb9e708a12f97eb53533aba7cde3
95560b466177a48b7a530fc83619851babfbd9d6
/rotate_elements.py
ff3b4748b9f4db7c0d5ba684a6dd3b673fdb5ff3
[]
no_license
br-anupama/vmware
aee888f301e9d77922a11b85d9f10d238910ca17
08df4fd63eed53b4d643b6c0cd4f940f8db4e13e
refs/heads/master
2021-09-02T04:12:44.957528
2017-12-30T07:38:33
2017-12-30T07:38:33
115,680,050
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
#!/usr/bin/python import sys def rotate_by_pos(list_elements, pos): res = list_elements[pos:] + list_elements[:pos] try: print "Enter list elements" elements = raw_input() elements = [int(x) for x in elements.split()] if not elements: print "You have not entered list elements" sys....
[ "branupama@gmail.com" ]
branupama@gmail.com
9d15d8f6e11e71cdaa1e1fd5f39f363fc13f5201
e62167fa2622a8ddb19c7ea1b9586938c5b4ecfc
/core/migrations/0004_auto_20181028_2304.py
2ffbb5a4f618d6bd34e8bf39fffcc1e5a598f777
[]
no_license
lmillar2i2/misperris_entrega_2
4e50b5e7d4eed79b007aa85ba107ae7b153e661f
aa0029f328daf94d53dae02372633cfecec1875e
refs/heads/master
2021-09-26T13:54:26.188344
2018-10-30T21:45:20
2018-10-30T21:45:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Generated by Django 2.1.2 on 2018-10-29 02:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20181028_2123'), ] operations = [ migrations.AlterField( model_name='rescatado', name='fotografia'...
[ "l.millar@alumnos.duoc.cl" ]
l.millar@alumnos.duoc.cl
d39cecf19b930a068268f3a8b8b196e83ee284fb
4178af016a66e156666aadfeae3cd9d34bc1f00d
/ex12.py
a3c8456b96fd7d1559a431d35d7654542c976251
[]
no_license
SandarAungMyint/python-exercise
a03a54dab4e38ccc93b04d1e5110c293c352140a
b27ac9866ceae885224d76f8a36646d4e3d71d69
refs/heads/master
2020-03-19T19:41:26.740212
2018-06-29T15:40:47
2018-06-29T15:40:47
136,869,654
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
age = raw_input("How old are you? ") height = raw_input("How tall are you? ") weight = raw_input("How much do you weight? ") print "So, you're %r old, %r tall and %r heavy." % ( age, height, weight)
[ "sandar27141995@gmail.com" ]
sandar27141995@gmail.com
2c2f5c4f8873a1160414558e7986756aa09544e4
9e3fa472d810db1e4aef30b01bc6a2c3ca518604
/random_Tk.py
8c85ffd1349b3a4bcf7a3902f0906549397fa27b
[]
no_license
Davit50/Python
c403e26a32ed9c595f9498b7bc77ee584962f0f8
0cbf52911dbdb51b60edfab01bfda99a4183e0f0
refs/heads/main
2023-01-20T06:47:01.507226
2022-07-14T22:57:11
2022-07-14T22:57:11
317,472,616
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
import tkinter from random import randint as r, choice def draw(event): if h > w: a = r(1, w) else: a = r(1, h) xy = (r(1, h - a), r(1, h - a)) size = (xy[0] + a, xy[1] + a) i = '1234567890ABCDEF' a1 = choice(i) a2 = choice(i) a3 = choice(i) a4 = ch...
[ "noreply@github.com" ]
Davit50.noreply@github.com
8f8808d79b13456226c20d29fa09308ae24382df
cdf23a2b22b0d0643f9bf48fd8c7d0a8ef83945d
/qstrader/utils/console.py
beee1fa020b1139e7988a543dd9ea3de95049652
[ "MIT" ]
permissive
PabloHebe/qstrader
2e23d267e0e2cf6632011eaea486891c8eed4c17
81c9473fbb782220c5cced2e331fb7a7b0b0082d
refs/heads/master
2022-08-27T10:28:27.411188
2019-12-16T14:17:40
2019-12-16T14:17:40
111,547,620
0
1
MIT
2020-01-05T12:54:16
2017-11-21T12:42:55
Python
UTF-8
Python
false
false
258
py
BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE = range(8) def string_colour(text, colour=WHITE): """ Create string text in a particular colour to the terminal. """ seq = "\x1b[1;%dm" % (30 + colour) + text + "\x1b[0m" return seq
[ "mike@quarkgluon.com" ]
mike@quarkgluon.com
12f347b969357c233fc6872ea78c1264340b83e1
151de3f2ed6569a21ba277c62c8f72f83b5fff09
/combine.py
f82e3393e6a42429e10599c42d498b572aff36fd
[]
no_license
radar-lab/mmfall
d769ea13c96898d4c4afdd32e959d29da9376e1e
da8fa193d5641cdc2eca7f36498d1fd6e382f621
refs/heads/master
2022-08-11T07:48:30.537434
2022-07-27T21:29:59
2022-07-27T21:29:59
243,595,330
79
28
null
null
null
null
UTF-8
Python
false
false
2,059
py
#!/usr/bin/env python # Author: Feng Jin # Comments: Combine all the .npy files and the timesheet import argparse import numpy as np import os class file_preproc: def __init__(self): pass def combiner(self, filedir): self.filecnt = 0 self.filedir = filedir se...
[ "noreply@github.com" ]
radar-lab.noreply@github.com
c7d99b683e6acbbe80cbc85721394ac0f1c7323f
f999bc5a6e0da4f0904ef2112d7b6191f180ca5b
/Advent of code/Day2_Part1.py
44f5dafb0aa805206e823978d61b1740a82b147f
[]
no_license
ritesh-deshmukh/Algorithms-and-Data-Structures
721485fbe91a5bdb4d7f99042077e3f813d177cf
2d3a9842824305b1c64b727abd7c354d221b7cda
refs/heads/master
2022-11-09T00:18:51.203415
2018-10-08T22:31:05
2018-10-08T22:31:05
132,504,988
0
1
null
2022-10-23T00:51:15
2018-05-07T19:07:33
Python
UTF-8
Python
false
false
1,297
py
# f = open("elves_input", "r") # if f.mode == "r": # input_task = f.read() # input_task = f.readlines() # for symbol in input_task: # dimensions = symbol.split("x") # print(dimensions) with open('elves_input') as f: dimensions_data = [] for line in f: line = line.split('x') # to deal with...
[ "riteshdeshmukh260@gmail.com" ]
riteshdeshmukh260@gmail.com
1e68f4426a5b3835594ad8792a036f353f9b5734
32eba552c1a8bccb3a329d3d152b6b042161be3c
/15_pj_pdf_merger.py
d316f0b6a7a805701c4abd4debff148e5b564734
[]
no_license
ilmoi/ATBS
d3f501dbf4b1099b76c42bead3ec48de3a935a86
7f6993751e2ad18af36de04168d32b049d85a9c1
refs/heads/master
2022-07-11T21:56:23.284871
2020-05-15T05:26:06
2020-05-15T05:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
"""Finds all pdfs in cur dir > sorts alphabetically > merges together taking the first page only once.""" import PyPDF2 import os import re # prep the files list files = os.listdir() chosen = [] r = re.compile(r'.*\.pdf') for file in files: try: mo = r.search(file) # print(mo.group()) chos...
[ "iljamoisejevs@gmail.com" ]
iljamoisejevs@gmail.com
c183494b02007e4d273abcee4d96e0eeedca656c
2c25262a750b6225f7f9df004de94fb942dc2a41
/jobportal/views.py
5196cfd12de52e3aade2fd134bd0eaa330f8555d
[]
no_license
milansoriya/job-portal-project
4abee165f7727db660fcb89eb9379a58b17f02df
3b130ce7dcbd071ae45d9a97d3a6dec8c52b923b
refs/heads/master
2023-01-03T18:11:23.117586
2020-11-06T05:17:58
2020-11-06T05:17:58
310,498,827
0
0
null
null
null
null
UTF-8
Python
false
false
29,321
py
from django.shortcuts import render,redirect from .models import Job,JobQualification,JobApplication,JobSeekerList from accounts.models import User_Employeer,User_Employee from django.views.generic import ListView from django.contrib import messages from django.core.mail import send_mail from telusko import settings i...
[ "58843519+parth101999@users.noreply.github.com" ]
58843519+parth101999@users.noreply.github.com
24837110275379698b9325d07e209cbb9b7b7609
d4e9ef18d006b84f82f47c3ea791be3424ab3d63
/code/sagepay/core.py
2164a02b4669b718fbc9e27706824d40950b0e28
[ "BSD-3-Clause" ]
permissive
udox/oscar-sagepay
7b3d4a342c43021121cd0d26b7cf465f22bc7e7e
bc802ff67198a56b279d97538a31e6dedbbfe47f
refs/heads/master
2021-01-24T22:59:29.781500
2013-12-03T14:47:07
2013-12-03T14:47:07
14,896,552
1
2
null
null
null
null
UTF-8
Python
false
false
5,263
py
class TransactionNotificationPostResponse(object): """ Encapsulate the notification of results of transactions into an object (page 63 of sage manual) :param response: content of the SagePay server notification post :type response: dictionary """ def __init__(self, response): self.r...
[ "alessandro@u-dox.com" ]
alessandro@u-dox.com
e5917255d85b4af9daecc23c83518e37d1f27d7e
e5c4e7dba54860f5f7b46817490b957181a7029e
/desafiocumplo/indices/urls.py
21ce7287f83c89c27c54f379d5fc567cecbb6dc4
[]
no_license
tdiazv/desafio_cumplo
52aa34339eaf45db320a51dcea7ae93e5f9d3b20
641b852457eaac123a9cc11f482afaa2ef08a827
refs/heads/master
2021-09-28T08:25:02.148041
2018-11-16T04:02:07
2018-11-16T04:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from django.urls import path from . import views urlpatterns = [ path('', views.indices, name="indices"), ]
[ "tdiaz81@gmail.com" ]
tdiaz81@gmail.com
1934bc89ca74f80dae068ca08e4b567549aa20fa
67d1190219feca6bb79e0459e33904e8210f12df
/realtors/migrations/0001_initial.py
0f117f139853ae7a205f2245c175bf98d31b0302
[]
no_license
Rushik-Gohel/btre_project
a0f2ade5c109b3f0b11af1d79e9b885cd764592d
4168f5c2e13fcd8af1107fba9ed136b79bb589ee
refs/heads/master
2022-12-31T11:27:40.909274
2020-10-28T13:30:00
2020-10-28T13:30:00
308,024,966
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
# Generated by Django 3.1.2 on 2020-10-22 13:40 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Realtor', fields=[ ('id', m...
[ "gohel.rushik.btech2018@sitpune.edu.in" ]
gohel.rushik.btech2018@sitpune.edu.in
48ddb464174cc5846a09b6ed05567ec728d2e200
6e26b72ac6774bdb25f71d0e6f428bd84effb73f
/fizzbuzz/fizzbuzz.py
61c2b5edafed5711e7296e8ac6bea222a768493e
[]
no_license
SamuelEllertson/various-projects
17dc80a09de0d895da14f69eb0bf98ff55f6667e
dcd89cb2500e32a08afb8665ff096562d4d66f2c
refs/heads/master
2021-08-04T07:05:01.729624
2020-07-25T22:55:42
2020-07-25T22:55:42
201,556,239
1
0
null
null
null
null
UTF-8
Python
false
false
938
py
from collections import OrderedDict def main(): for i in range(20): print(fizzbuzz2(i)) def fizzbuzz(n): #Add custom condition functions here def divisible(n, x): return lambda: n % x == 0 #add conditions here conditions = [ ("fizz", divisible(n, 3)), ("buzz"...
[ "samuelEllertson@hotmail.com" ]
samuelEllertson@hotmail.com
9dedd846ed49f891c3ea2109f26b3eed81fcdf88
320bf3ddd6233577d9f2f08f046eaef96f881e4e
/simplemooc/core/urls.py
eb0570de064c9f271570646c26f555b2bce99b28
[ "MIT" ]
permissive
leorzz/simplemooc
057ba3e220c20907017edfd8d0fc0422f9a6d99c
8b1c5e939d534b1fd729596df4c59fc69708b896
refs/heads/master
2022-10-22T02:24:46.733062
2017-12-17T16:37:04
2017-12-17T16:37:04
112,488,280
0
1
MIT
2022-10-08T17:50:17
2017-11-29T14:52:23
Python
UTF-8
Python
false
false
523
py
from django.conf.urls import include, url from django.contrib import admin admin.autodiscover() import simplemooc.core.views urlpatterns = [ url(r'^$', simplemooc.core.views.home, name='home'), url(r'^contact/$',simplemooc.core.views.contact, name='contact'), url(r'^about/$',simplemooc.core.views.about, n...
[ "rizzi.leo@gmail.com" ]
rizzi.leo@gmail.com
967134ceb03da771c4b132732b27fe8a44f308f0
a41d9d15f5a91565ee513e0782081371df4607a4
/lesson_002/00_distance.py
d5a3172e9b34c47f1119d8c32ba0d74c8b8c6364
[]
no_license
lalecsey/python_base
0591e16ba0a880660d2fb1ae7abde33192de5695
e94efdfd43a7583ca7dc13eb5063cffc58c286ae
refs/heads/master
2022-11-26T09:50:52.616777
2020-07-29T21:00:56
2020-07-29T21:00:56
258,837,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Есть словарь координат городов import pprint sites = { 'Moscow': (550, 370), 'London': (510, 510), 'Paris': (480, 480), } # Составим словарь словарей расстояний между ними # расстояние на координатной сетке - корень из (x1 - x2) ** 2 + (y1 - y2) ** 2 mos...
[ "lalecsey@gmail.com" ]
lalecsey@gmail.com
4cc3f07242bbd0aabdbe930007f5dd2f5d588ef5
908bfbb0f4ac863a55585783c48efd5583ae52a2
/oodd/layers/deterministic/residual.py
a524c227514d713ca0b0a0f13d20272eec7caeee
[]
no_license
JakobHavtorn/hvae-oodd
021f2a1ceb4489a4ac7c70087ce09068d9a5098b
8aff1e258963aee59256b82d67634304bb24f628
refs/heads/main
2023-04-09T08:50:17.285010
2022-01-18T14:19:19
2022-01-18T14:19:19
373,464,051
23
4
null
2022-01-18T11:38:19
2021-06-03T10:11:11
Python
UTF-8
Python
false
false
9,343
py
from typing import * import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from .base_module import DeterministicModule from ..convolutions import SameConv2dWrapper, TransposeableNormedSameConv2d class ResBlockConv2d(DeterministicModule): def __init__( self, in_sh...
[ "jdh@corti.ai" ]
jdh@corti.ai
fab770eb4d1f763e13b1b76d2afa8e6ba0c43d3f
bd238aa1ef55a731b55431f596f7d06d88188aec
/latihansql.py
708dad61c6a2cb2fc7f16728cb128a136a350054
[]
no_license
ilman79/Tugas_DSU
aa3ecaa1b43b3497c12faf5668ed66a5ea260005
aabfffbb94290126c0b5601f201a7533b8cfe92e
refs/heads/main
2023-05-30T18:47:37.738360
2021-07-02T13:35:42
2021-07-02T13:35:42
382,356,326
1
0
null
null
null
null
UTF-8
Python
false
false
2,847
py
# nomor 1 print("===============================================") print('NOMOR 1') print("===============================================") import psycopg2 #establishing the connection try : conn = psycopg2.connect( database="latihan", user='postgres', password='easy', host='localhost', port...
[ "gifariilman79@gmail.com" ]
gifariilman79@gmail.com
c9d370f3a6c1c0789eba572688667183135b18a1
67bc56df690a45d8c575087336dead5238e6e41f
/todos/.~c9_invoke_WcXKvD.py
1f79ad05b1d4c1f3c268d08130cac9180d109090
[]
no_license
ArturoGarciaRegueiro/caso-practico-1
9e032c9ee224a1ad27209aaf3d771b5ae79fc8b6
40b07f80043f7fc084ce6939df195804e6dce789
refs/heads/main
2023-02-07T13:07:35.116897
2021-01-03T20:00:28
2021-01-03T20:00:28
326,159,725
0
0
null
2021-01-03T20:00:29
2021-01-02T10:36:39
Python
UTF-8
Python
false
false
953
py
import os import json import base64 from todos import decimalencoder import boto3 dynamodb = boto3.resource('dynamodb') def translate(event, context): table = dynamodb.Table(os.environ['DYNAMODB_TABLE']) # fetch todo from the database result = table.get_item( Key={ 'id': event...
[ "ec2-user@ip-172-31-69-206.ec2.internal" ]
ec2-user@ip-172-31-69-206.ec2.internal
32d737cebe0b547f8e878688dbf6cd4cf7d87b91
63cccc5d4e462bb764b6fccd6ae42405d3620995
/application/views.py
9d3f934835215935f93ac2eb0c04a17d7658a23a
[]
no_license
millalin/Kids-Say-the-Darndest-Things
acc13178bd4e179851df27328bdf32bc47719b25
06fd7bd9aa61fb2fd70c3f8b5a64f68f73315f6e
refs/heads/master
2023-03-23T01:57:45.382896
2023-03-06T12:49:21
2023-03-06T12:49:21
198,590,952
1
0
null
2021-03-20T01:27:07
2019-07-24T08:21:44
Python
UTF-8
Python
false
false
133
py
from flask import render_template from application import app @app.route("/") def index(): return render_template("index.html")
[ "milla.lintunen@hotmail.com" ]
milla.lintunen@hotmail.com
00def0089a0884f90a9b4480a924f1d5219455ca
b902f5bbbd19660e6bb52f3595daf4126a759cd0
/abstractGraph.py
39246dcfe6f6550963ea9176c82fb2701df6c8e3
[]
no_license
Sp1keeeee/MaMadroid
0ce85afb2019c45464c79a27f519a7e2cee137fe
a80a619bbcccacc7fdd22b9cd1d4d281b28d72ed
refs/heads/master
2023-03-21T19:22:45.660287
2021-03-17T06:29:46
2021-03-17T06:29:46
348,250,912
8
1
null
null
null
null
UTF-8
Python
false
false
5,600
py
#coding=utf-8 ''' info: 把API调用抽象为class和family模式,主要过程是首先通过class.txt把每个文件调用图对应的txt文件抽象成class然后通过Packages.txt和Families.txt将其抽象为包和家族文件存放到package和family文件 夹中对应的文件中 ''' import os from multiprocessing import Process def _preprocess_graph(app, _dir): ''' gets and clean the callers and callees''' appl = app.split("/")[-1] ...
[ "2679076617@qq.com" ]
2679076617@qq.com
fdd3840ef0244ac6f5ad142757b5b277fb14263f
dd6c468d4ea2653fed24607ecd4f6eceb925b557
/make_db_shelve.py
f3b11537a72108230a45ffaf43a0139e5eaf9023
[]
no_license
yangbaoguo1314/python
3015ea5ec4d559276fddd14f2e9dee5b69f0f344
91ea00844d81ba2efd8fcbfb2852d51cdf3900a1
refs/heads/master
2021-07-10T20:01:08.908083
2020-07-04T10:29:52
2020-07-04T10:29:52
160,601,425
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
from initdata import bob,sue import shelve db=shelve.open('people-shelve') db['bob']=bob db['sue'] = sue db.close()
[ "noreply@github.com" ]
yangbaoguo1314.noreply@github.com