hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
84ba755e68d6f8aed3b5d61cd0febbfe9a2346b4
3,971
py
Python
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/multipath.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/multipath.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/multipath.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
# # Chris Lumens <clumens@redhat.com> # Peter Jones <pjones@redhat.com> # # Copyright 2006, 2007 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2. This program is distri...
35.455357
162
0.636867
84ba7ad80e65f36d4e3d045a824f7bd7a9f70690
5,920
py
Python
python/tests/utils/test_environment_decorator_test.py
xuyanbo03/lab
cf2f5250e1a00ecce37b3480df28c3a5dcd08b57
[ "CC-BY-4.0" ]
7,407
2016-12-06T08:40:58.000Z
2022-03-31T12:19:09.000Z
python/tests/utils/test_environment_decorator_test.py
xuyanbo03/lab
cf2f5250e1a00ecce37b3480df28c3a5dcd08b57
[ "CC-BY-4.0" ]
227
2016-12-06T22:05:33.000Z
2022-03-29T09:47:06.000Z
python/tests/utils/test_environment_decorator_test.py
xuyanbo03/lab
cf2f5250e1a00ecce37b3480df28c3a5dcd08b57
[ "CC-BY-4.0" ]
1,594
2016-12-06T08:44:13.000Z
2022-03-31T12:19:12.000Z
# Copyright 2018 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the ho...
31.157895
76
0.68125
84ba8943014645dc8d085dd9b8585becaa0b21c3
1,851
py
Python
dev/local/vision/core.py
LaurenSpiegel/fastai_docs
4fe6b62116d88dea9610548133e6cadb6b260a73
[ "Apache-2.0" ]
null
null
null
dev/local/vision/core.py
LaurenSpiegel/fastai_docs
4fe6b62116d88dea9610548133e6cadb6b260a73
[ "Apache-2.0" ]
null
null
null
dev/local/vision/core.py
LaurenSpiegel/fastai_docs
4fe6b62116d88dea9610548133e6cadb6b260a73
[ "Apache-2.0" ]
null
null
null
#AUTOGENERATED! DO NOT EDIT! File to edit: dev/06_vision_core.ipynb (unless otherwise specified). __all__ = ['Image', 'image_convert', 'ImageConverter', 'image_resize', 'ImageResizer', 'image2byte', 'unpermute_image', 'ImageToByteTensor', 'ByteToFloatTensor'] from ..imports import * from ..test import * fr...
37.77551
119
0.707726
84bbb26eb2a9f3be3e69dd3bb4b0ce170888f48a
32,881
py
Python
cryspy/procedure_mempy/mempy_by_dictionary.py
ikibalin/rhochi
1ca03f18dc72006322a101ed877cdbba33ed61e7
[ "MIT" ]
null
null
null
cryspy/procedure_mempy/mempy_by_dictionary.py
ikibalin/rhochi
1ca03f18dc72006322a101ed877cdbba33ed61e7
[ "MIT" ]
null
null
null
cryspy/procedure_mempy/mempy_by_dictionary.py
ikibalin/rhochi
1ca03f18dc72006322a101ed877cdbba33ed61e7
[ "MIT" ]
null
null
null
import os import numpy import scipy import scipy.optimize from cryspy.A_functions_base.symmetry_elements import \ calc_asymmetric_unit_cell_indexes from cryspy.A_functions_base.mempy import \ calc_mem_col, \ calc_mem_chi, \ calc_symm_elem_points_by_index_points, \ get_uniform_density_col, \ re...
49.895296
286
0.686932
84bbcc0271c7a0c25a9c8956e490faa191dd06b6
2,201
py
Python
mapCreator.py
kmarif/mapCreator
25c08a8f3158bb6fc285071acec49926009ed660
[ "BSD-3-Clause" ]
11
2015-06-19T21:27:30.000Z
2020-01-21T18:21:56.000Z
mapCreator.py
kmarif/mapCreator
25c08a8f3158bb6fc285071acec49926009ed660
[ "BSD-3-Clause" ]
1
2015-05-26T22:10:51.000Z
2015-05-28T06:21:11.000Z
mapCreator.py
kmarif/mapCreator
25c08a8f3158bb6fc285071acec49926009ed660
[ "BSD-3-Clause" ]
5
2015-06-10T05:46:10.000Z
2022-01-20T01:22:04.000Z
# -*- coding: utf-8 -*- """ Map creation script """ import sys import os from configparser import ConfigParser import math from PIL import Image import urllib.request, urllib.parse, urllib.error # tile positions, see https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Lon..2Flat._to_tile_numbers_2 p = ConfigP...
25.298851
108
0.618355
84bc8fa1f7a69f91425ebb836514b7b200334c2e
183
py
Python
data_hyperparams/beeradvocate.py
noveens/sampling_cf
e135819b1e7310ee58edbbd138f303e5240a2619
[ "MIT" ]
6
2022-01-14T13:38:03.000Z
2022-03-01T17:57:09.000Z
data_hyperparams/beeradvocate.py
noveens/sampling_cf
e135819b1e7310ee58edbbd138f303e5240a2619
[ "MIT" ]
null
null
null
data_hyperparams/beeradvocate.py
noveens/sampling_cf
e135819b1e7310ee58edbbd138f303e5240a2619
[ "MIT" ]
null
null
null
hyper_params = { 'weight_decay': float(1e-6), 'epochs': 30, 'batch_size': 256, 'validate_every': 3, 'early_stop': 3, 'max_seq_len': 10, }
20.333333
35
0.502732
84bcc13013a218425a479e662d8c073e65eb7fb9
1,151
py
Python
Algae.py
pblanc5/LSystemFun
f8e381d6dc4c398a496d84f756d797fbc0f5b5cb
[ "MIT" ]
null
null
null
Algae.py
pblanc5/LSystemFun
f8e381d6dc4c398a496d84f756d797fbc0f5b5cb
[ "MIT" ]
null
null
null
Algae.py
pblanc5/LSystemFun
f8e381d6dc4c398a496d84f756d797fbc0f5b5cb
[ "MIT" ]
null
null
null
# Author: Patrick Blanchard # Date: 12-13-16 # Description: This is a program to help me learn L-Systems # It should generate strings based on the rules applied. a = system() a.main()
23.489796
60
0.486533
84bd9ac5aca50cee2bcbb1c369377692f06e538f
10,198
py
Python
util/draw_confusion_mat.py
GuardianWang/DM_hw_bagging
3bccfb0c4ae32fdb757055d1e726ed585f9d2885
[ "MIT" ]
null
null
null
util/draw_confusion_mat.py
GuardianWang/DM_hw_bagging
3bccfb0c4ae32fdb757055d1e726ed585f9d2885
[ "MIT" ]
null
null
null
util/draw_confusion_mat.py
GuardianWang/DM_hw_bagging
3bccfb0c4ae32fdb757055d1e726ed585f9d2885
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import MultipleLocator from tqdm import tqdm import torch from torch.utils.data import DataLoader import torch.nn.functional as F from model.model import BaseNet from model.config import arguments from dataset.dataset import FlowerData def ge...
31.968652
111
0.62375
84be222814483ab383927adcdabea5a7a57603ff
9,142
py
Python
tests/samples/test_sample.py
FoxoTech/methylcheck
881d14d78e6086aab184716e0b79cdf87e9be8bf
[ "MIT" ]
1
2020-07-30T14:16:47.000Z
2020-07-30T14:16:47.000Z
tests/samples/test_sample.py
FoxoTech/methylcheck
881d14d78e6086aab184716e0b79cdf87e9be8bf
[ "MIT" ]
11
2021-04-08T16:14:54.000Z
2022-03-09T00:22:13.000Z
tests/samples/test_sample.py
FoxoTech/methylcheck
881d14d78e6086aab184716e0b79cdf87e9be8bf
[ "MIT" ]
1
2022-02-10T09:06:45.000Z
2022-02-10T09:06:45.000Z
import methylcheck import pandas as pd import methylprep # for manifest support from pathlib import Path PATH = Path('docs/example_data/mouse')
57.496855
261
0.654233
84be812c154a7003a0da68806a9c191d76ad11b9
290
py
Python
bin/iris.py
davidus-sk/orion
a2da5a3b6a5e19f739c84155a72170b2cf3d2d2e
[ "MIT" ]
24
2015-02-17T04:22:51.000Z
2020-04-22T02:52:27.000Z
bin/iris.py
davidus-sk/orion
a2da5a3b6a5e19f739c84155a72170b2cf3d2d2e
[ "MIT" ]
null
null
null
bin/iris.py
davidus-sk/orion
a2da5a3b6a5e19f739c84155a72170b2cf3d2d2e
[ "MIT" ]
2
2016-05-29T04:54:56.000Z
2020-07-01T10:56:55.000Z
#!/usr/bin/python import RPi.GPIO as GPIO import time import sys GPIO.setmode(GPIO.BOARD) GPIO.setup(12, GPIO.OUT) p = GPIO.PWM(12, 50) p.start(7.5) if sys.argv[1] == 'close': p.ChangeDutyCycle(7.5) time.sleep(1) else: p.ChangeDutyCycle(12.5) time.sleep(1) p.stop() GPIO.cleanup()
13.181818
26
0.689655
84bf3ea78035bb6975398ce9c43f8e994ac134c6
430
py
Python
bigfastapi/models/role_models.py
kofimokome/bigfastapi
d9cf181271847c1f420747da8e114af7ad717598
[ "MIT" ]
null
null
null
bigfastapi/models/role_models.py
kofimokome/bigfastapi
d9cf181271847c1f420747da8e114af7ad717598
[ "MIT" ]
null
null
null
bigfastapi/models/role_models.py
kofimokome/bigfastapi
d9cf181271847c1f420747da8e114af7ad717598
[ "MIT" ]
null
null
null
import datetime as dt from re import T from sqlalchemy.schema import Column from sqlalchemy.types import String, DateTime from uuid import UUID, uuid4 import bigfastapi.db.database as database
35.833333
79
0.762791
84bffdfa76d3b0123f3a15c1f37e13a0e22f3174
9,271
py
Python
core/tmp/entropy_tmp.py
Ulti-Dreisteine/data-information-measurement
9ef777c28534867d07d9ab1a1b95d69a385043f1
[ "MIT" ]
1
2021-12-17T13:51:11.000Z
2021-12-17T13:51:11.000Z
core/tmp/entropy_tmp.py
Ulti-Dreisteine/data-information-measurement
9ef777c28534867d07d9ab1a1b95d69a385043f1
[ "MIT" ]
null
null
null
core/tmp/entropy_tmp.py
Ulti-Dreisteine/data-information-measurement
9ef777c28534867d07d9ab1a1b95d69a385043f1
[ "MIT" ]
1
2021-12-12T12:38:36.000Z
2021-12-12T12:38:36.000Z
# -*- coding: utf-8 -*- """ Created on 2021/12/14 12:38:06 @File -> entropy.py @Author: luolei @Email: dreisteine262@163.com @Describe: """ __doc__ = """ . KraskovLombardi, Lord;. , : H(Y|X) = H(Y) - I(X;Y) . ------ 1. W. M. Lord, J. Sun, E. M. Bolt: Geometric K-Nearest Neighb...
29.338608
119
0.525294
84c2f3a3d6bcd71b7de2df01f159831079d4eb6a
210
py
Python
core/wsgi.py
nicolaerario/djano-custom-user
c18f109bd1dbe3ae7a5a20fe1fd33313caace246
[ "MIT" ]
1
2019-08-23T05:05:33.000Z
2019-08-23T05:05:33.000Z
core/wsgi.py
nicolaerario/djano-custom-user
c18f109bd1dbe3ae7a5a20fe1fd33313caace246
[ "MIT" ]
2
2021-06-04T21:56:46.000Z
2021-09-22T17:58:55.000Z
core/wsgi.py
nicolaerario/djano-custom-user
c18f109bd1dbe3ae7a5a20fe1fd33313caace246
[ "MIT" ]
null
null
null
import os from django.core.wsgi import get_wsgi_application from dotenv import load_dotenv load_dotenv() os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') application = get_wsgi_application()
21
64
0.828571
84c335fc458875fff1f67c92200084f00cd6ddd4
420
py
Python
server/apps/api/migrations/0002_allow_null.py
m3xan1k/censortracker_backend
998f71efd65d7d1e02c0aecd20b7a59e0df35fd0
[ "MIT" ]
null
null
null
server/apps/api/migrations/0002_allow_null.py
m3xan1k/censortracker_backend
998f71efd65d7d1e02c0aecd20b7a59e0df35fd0
[ "MIT" ]
null
null
null
server/apps/api/migrations/0002_allow_null.py
m3xan1k/censortracker_backend
998f71efd65d7d1e02c0aecd20b7a59e0df35fd0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-20 15:21 from django.db import migrations, models
22.105263
96
0.609524
84c3f2f8e1f28753ae1013b2d695700b7e52c7a2
102
py
Python
__data__.py
nadavWeisler/BrmsGeneratorRunner
eca337eb8c42658d2eab28843819ca259cbeee11
[ "MIT" ]
1
2021-06-10T13:50:53.000Z
2021-06-10T13:50:53.000Z
__data__.py
nadavWeisler/BrmsGeneratorRunner
eca337eb8c42658d2eab28843819ca259cbeee11
[ "MIT" ]
null
null
null
__data__.py
nadavWeisler/BrmsGeneratorRunner
eca337eb8c42658d2eab28843819ca259cbeee11
[ "MIT" ]
null
null
null
__version__ = '1.0.dev' __author__ = 'Nadav Weisler' __name__ = 'bRMS generator' __app_name__ = 'bRMS'
25.5
28
0.735294
84c54a3e4c6d3ec5c60c64bbdd370049907dc16f
1,877
py
Python
jax_meta/datasets/transforms/test_functional.py
tristandeleu/jax-meta-learning
3e83cc1be77dd99ad7539cbcb47536097e896d3a
[ "MIT" ]
5
2022-03-01T00:47:09.000Z
2022-03-24T01:48:17.000Z
jax_meta/datasets/transforms/test_functional.py
tristandeleu/jax-meta-learning
3e83cc1be77dd99ad7539cbcb47536097e896d3a
[ "MIT" ]
null
null
null
jax_meta/datasets/transforms/test_functional.py
tristandeleu/jax-meta-learning
3e83cc1be77dd99ad7539cbcb47536097e896d3a
[ "MIT" ]
1
2022-03-06T16:03:19.000Z
2022-03-06T16:03:19.000Z
import pytest import numpy as np from numpy.random import default_rng import jax_meta.datasets.transforms.functional as F
31.283333
74
0.555674
84c8e32c0413b6bc6ce0f2905cb742dfd5b07ccd
28,377
py
Python
src/analysis/statistical_analysis.py
KewJS/Logs_Prediction
f7278238111691ac098d072ea394e2b670823573
[ "MIT" ]
1
2021-06-04T08:43:28.000Z
2021-06-04T08:43:28.000Z
src/analysis/statistical_analysis.py
KewJS/Logs_Prediction
f7278238111691ac098d072ea394e2b670823573
[ "MIT" ]
null
null
null
src/analysis/statistical_analysis.py
KewJS/Logs_Prediction
f7278238111691ac098d072ea394e2b670823573
[ "MIT" ]
null
null
null
import math import numpy as np from numpy.random import randn from numpy import exp import pandas as pd import datetime as dt from itertools import repeat from collections import OrderedDict from IPython.display import display, Markdown, HTML import scipy.stats as stats import scipy.optimize import scipy.spatial from ...
46.066558
167
0.603024
84c902392f65ad277af2e2b3029c2fcb245fb410
528
py
Python
Mundo 3/ex085.py
RafaelSdm/Curso-de-Python
ae933ba80ee00ad5160bd5d05cf4b21007943fd4
[ "MIT" ]
1
2021-03-10T21:53:38.000Z
2021-03-10T21:53:38.000Z
Mundo 3/ex085.py
RafaelSdm/Curso-de-Python
ae933ba80ee00ad5160bd5d05cf4b21007943fd4
[ "MIT" ]
null
null
null
Mundo 3/ex085.py
RafaelSdm/Curso-de-Python
ae933ba80ee00ad5160bd5d05cf4b21007943fd4
[ "MIT" ]
null
null
null
print("valores dos numeros pares e impares:") lista = [[],[]] numero =0 for c in range(0,7): numero = int(input(f"informe o {c+1} numero:")) if numero %2 ==0: lista[0].append(numero) else: lista[1].append(numero) print("Dados os numeros informados:") print("lista dos numeros pares em ord...
18.857143
54
0.611742
84cb7c6a7e9425cd053e3c669ecc746ad2d65819
3,838
py
Python
Misc/weather.py
LuffyWesley/HydroFarm
483b9fcde2dddc86bfd55ba6cd059a879d3a724e
[ "MIT" ]
null
null
null
Misc/weather.py
LuffyWesley/HydroFarm
483b9fcde2dddc86bfd55ba6cd059a879d3a724e
[ "MIT" ]
null
null
null
Misc/weather.py
LuffyWesley/HydroFarm
483b9fcde2dddc86bfd55ba6cd059a879d3a724e
[ "MIT" ]
null
null
null
import requests import calendar import keys api_call = 'https://api.openweathermap.org/data/2.5/forecast?appid=' + keys.api_key running = True # Program loop while running: # Asks the user for the city or zip code to be queried while True: # Input validation try: print('\nThis a...
32.252101
97
0.536217
84d06320c996d5932ddb1765740ed2bedba84b6f
2,842
py
Python
noronha/db/movers.py
pierodesenzi/noronha
ee7cba8d0d29d0dc5484d2000e1a42c9954c20e4
[ "Apache-2.0" ]
43
2021-04-14T00:41:15.000Z
2022-01-02T23:32:58.000Z
noronha/db/movers.py
pierodesenzi/noronha
ee7cba8d0d29d0dc5484d2000e1a42c9954c20e4
[ "Apache-2.0" ]
19
2021-04-14T00:35:21.000Z
2022-01-12T14:24:48.000Z
noronha/db/movers.py
pierodesenzi/noronha
ee7cba8d0d29d0dc5484d2000e1a42c9954c20e4
[ "Apache-2.0" ]
8
2021-04-14T00:31:02.000Z
2022-01-02T23:33:08.000Z
# -*- coding: utf-8 -*- # Copyright Noronha Development Team # # 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 applica...
34.240964
106
0.732935
84d1493b02c6bcb0e82b1b5a0777820b57e7cd82
4,894
py
Python
MainMenu.py
andy-liuu/Pandemic-tour-guide
0cec6358ce920a74df3fea73d5fb25013a8c6712
[ "MIT" ]
null
null
null
MainMenu.py
andy-liuu/Pandemic-tour-guide
0cec6358ce920a74df3fea73d5fb25013a8c6712
[ "MIT" ]
null
null
null
MainMenu.py
andy-liuu/Pandemic-tour-guide
0cec6358ce920a74df3fea73d5fb25013a8c6712
[ "MIT" ]
null
null
null
from pygame import * import writeTextBox size=width,height = 1280,720 screen=display.set_mode(size) RED=(255,0,0) GREEN=(0,255,0) BLUE=(0,0,255) BLACK=(0,0,0) WHITE=(255,255,255) #global variables accessed by globals() wMap = image.load("Images/WorldMap.png").convert_alpha() CanadaMap = image.load("Im...
32.410596
86
0.573355
84d217b619e298e8238b55059389e2293157ea76
3,852
py
Python
Lib/background.py
ProjectZeroDays/Pyto
d5d77f3541f329bbb28142d18606b22f115b7df6
[ "MIT" ]
2
2020-08-25T13:55:00.000Z
2020-08-25T16:36:03.000Z
Lib/background.py
ProjectZeroDays/Pyto
d5d77f3541f329bbb28142d18606b22f115b7df6
[ "MIT" ]
null
null
null
Lib/background.py
ProjectZeroDays/Pyto
d5d77f3541f329bbb28142d18606b22f115b7df6
[ "MIT" ]
null
null
null
""" Run code in background indefinitely This module allows you to keep running a script in the background indefinitely. A great usage of this is fetching data in background and sending notifications with :py:mod:`notifications`. You can also run a server or a Discord bot for example. Note: Because of privacy, apps ca...
28.746269
164
0.647456
84d301e2d1698e2d272190223d852c20928aaf52
627
py
Python
E020/main.py
alperkonuralp/AlperIlePython
64e4940648a74306951dbfd97b593cfbcd94b7f6
[ "Apache-2.0" ]
1
2021-01-30T16:50:40.000Z
2021-01-30T16:50:40.000Z
E020/main.py
alperkonuralp/AlperIlePython
64e4940648a74306951dbfd97b593cfbcd94b7f6
[ "Apache-2.0" ]
null
null
null
E020/main.py
alperkonuralp/AlperIlePython
64e4940648a74306951dbfd97b593cfbcd94b7f6
[ "Apache-2.0" ]
null
null
null
toplam, kucuk = topla(1, 2) print(toplam, kucuk) tuple1 = (1, 2, 3) tuple2 = 1, 2, 3 tuple3 = tuple([1, 2, 3, 4, 5]) ilkSayi = tuple2[0] ikinciSayi = tuple2[1] ucuncuSayi = tuple2[2] ilkSayi, ikinciSayi, ucuncuSayi = tuple2 a = [1, 2, 3, 4, 5] print(a) print(a[1]) a.append(6)...
10.45
52
0.499203
84d40186bed5db263c047b83ead18d056889a747
122
py
Python
Beecrowd/Python/1073.py
felipemsalles/Programming-Studies
63100fb22a165c4582b10a95d5a583f9bc1e990f
[ "MIT" ]
null
null
null
Beecrowd/Python/1073.py
felipemsalles/Programming-Studies
63100fb22a165c4582b10a95d5a583f9bc1e990f
[ "MIT" ]
null
null
null
Beecrowd/Python/1073.py
felipemsalles/Programming-Studies
63100fb22a165c4582b10a95d5a583f9bc1e990f
[ "MIT" ]
null
null
null
# 1073 n = int(input()) if 5 < n < 2000: for i in range(2, n + 1, 2): print("{}^{} = {}".format(i, 2, i ** 2))
24.4
48
0.418033
84d4868dfa8278d45ab24de70b96033a459f33a6
261
py
Python
branching.py
fabiolealsc/quest
8f936aa6d8208ec23cc13f28148b9e39a976d997
[ "MIT" ]
2
2021-09-29T02:39:20.000Z
2021-11-08T08:56:50.000Z
branching.py
fabiolealsc/quest
8f936aa6d8208ec23cc13f28148b9e39a976d997
[ "MIT" ]
null
null
null
branching.py
fabiolealsc/quest
8f936aa6d8208ec23cc13f28148b9e39a976d997
[ "MIT" ]
null
null
null
import sys n1 = int(sys.argv[1]) n2 = int(sys.argv[2]) if n1 + n2 <= 0: print('You have chosen the path of destitution.') elif 1 <= (n1 + n2) <= 100: print('You have chosen the path of plenty.') else: print('You have chosen the path of excess.')
20.076923
53
0.62069
84d79ab82d6bcca9e3b8284f5f1563c8ac5ddae3
2,024
py
Python
python_pure_datastructures/binary_indexed_tree.py
shanmuk184/python_pure_datastructures
0a2ca5cb1e735e904141792ab5ce9e3634af3ecd
[ "MIT" ]
null
null
null
python_pure_datastructures/binary_indexed_tree.py
shanmuk184/python_pure_datastructures
0a2ca5cb1e735e904141792ab5ce9e3634af3ecd
[ "MIT" ]
null
null
null
python_pure_datastructures/binary_indexed_tree.py
shanmuk184/python_pure_datastructures
0a2ca5cb1e735e904141792ab5ce9e3634af3ecd
[ "MIT" ]
null
null
null
freq = [2, 1, 1, 3, 2, 3, 4, 5, 6, 7, 8, 9] BITTree = BinaryIndexedTree() BITTree.construct(freq,len(freq)) print("Sum of elements in arr[0..5] is " + str(BITTree.getsum(5))) freq[3] += 6 BITTree.updatebit(len(freq), 3, 6) print("Sum of elements in arr[0..5]"+ " after update is " + str(BITTree.ge...
33.180328
69
0.5667
84d93da7a53d5949d64f3873e6e7cfb952e9165e
2,231
py
Python
db.py
changwang/knowledge
b5d014de1c9cf70991bd721015db5883ff670cda
[ "MIT" ]
null
null
null
db.py
changwang/knowledge
b5d014de1c9cf70991bd721015db5883ff670cda
[ "MIT" ]
null
null
null
db.py
changwang/knowledge
b5d014de1c9cf70991bd721015db5883ff670cda
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from logger import logger __all__ = [ 'fetch_from_table', 'fetch_one_row', 'TableNotFoundException' ] DATABASE_PASSWORD = os.getenv('DB_PASSWORD') DATABASE_URI = 'mysql+pymysql:...
29.746667
121
0.701927
84da2222e9165d8c0a637fe44385107549d65db3
395
py
Python
tests/bvlapi/guid/test_club.py
alanverresen/bvl-api
8db768c4393f054bdf314cbcbd47eb408647f877
[ "MIT" ]
1
2021-09-27T14:54:39.000Z
2021-09-27T14:54:39.000Z
tests/bvlapi/guid/test_club.py
alanverresen/bvl-api
8db768c4393f054bdf314cbcbd47eb408647f877
[ "MIT" ]
null
null
null
tests/bvlapi/guid/test_club.py
alanverresen/bvl-api
8db768c4393f054bdf314cbcbd47eb408647f877
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Contains tests for validating club GUIDs. from bvlapi.guid.club import is_club_guid def test_is_club_guid(): """ Test that a valid club GUID is recognized. """ assert is_club_guid("BVBL1328") def test_is_club_guid__false(): """ Test that an invalid ...
20.789474
53
0.683544
84da5879b36efd297ed4f89e12576786ac06a517
318
py
Python
tool.py
LooDaHu/net_drive
0e265cef6b70d5e3e4e1b0a6db68d465a8ee2fe8
[ "MIT" ]
2
2019-12-31T07:47:03.000Z
2020-01-17T00:00:38.000Z
tool.py
LooDaHu/net_drive
0e265cef6b70d5e3e4e1b0a6db68d465a8ee2fe8
[ "MIT" ]
null
null
null
tool.py
LooDaHu/net_drive
0e265cef6b70d5e3e4e1b0a6db68d465a8ee2fe8
[ "MIT" ]
null
null
null
import socket import re
26.5
74
0.669811
84de251f01b2bb67b577c8355eeb027048134891
3,388
py
Python
export/parts.py
rostyslavb/brspy
d6c1a5453fc36e966e321c62c3d9cf9f021d0ed9
[ "MIT" ]
null
null
null
export/parts.py
rostyslavb/brspy
d6c1a5453fc36e966e321c62c3d9cf9f021d0ed9
[ "MIT" ]
null
null
null
export/parts.py
rostyslavb/brspy
d6c1a5453fc36e966e321c62c3d9cf9f021d0ed9
[ "MIT" ]
null
null
null
from .attributes import AttributeExport from .attributes import MimicExport from .attributes import JointExport from .attributes import JointOrientationExport from .attributes import GazeExport import os
26.263566
86
0.555195
84e0afb69d53a59928c9566c80d51d3e019bbe8a
1,432
py
Python
test.py
bwagner/parse_python_indentation.py
5d5128900e3298a371980db73d969b2eb25f7b58
[ "Apache-2.0" ]
2
2020-03-29T03:03:40.000Z
2021-06-11T13:16:47.000Z
test.py
bwagner/parse_python_indentation.py
5d5128900e3298a371980db73d969b2eb25f7b58
[ "Apache-2.0" ]
null
null
null
test.py
bwagner/parse_python_indentation.py
5d5128900e3298a371980db73d969b2eb25f7b58
[ "Apache-2.0" ]
3
2015-10-16T14:07:43.000Z
2020-11-07T10:52:25.000Z
import unittest import warnings from parse_python_indentation import parse_indentation good_output = [ {'key': 'green:', 'offspring': [ {'key': 'follow', 'offspring': []}, {'key': 'blue', 'offspring': []}, {'key': 'yellow', 'offspring': []}, {'key': 'fishing', 'offspring': []}, {'key': 'sn...
26.036364
72
0.622905
84e177737a5408f91e96902788cf2d9dc59da844
369
py
Python
submissions/abc035/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
1
2021-05-10T01:16:28.000Z
2021-05-10T01:16:28.000Z
submissions/abc035/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
3
2021-05-11T06:14:15.000Z
2021-06-19T08:18:36.000Z
submissions/abc035/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
null
null
null
s = input() t = int(input()) xy = [0, 0] cnt = 0 for i in range(len(s)): if s[i] == 'U': xy[1] += 1 elif s[i] == 'D': xy[1] -= 1 elif s[i] == 'R': xy[0] += 1 elif s[i] == 'L': xy[0] -= 1 else: cnt += 1 ans = abs(xy[0]) + abs(xy[1]) if t == 1: ans += cnt else: if ans >= cnt: ans -= ...
14.76
29
0.414634
84e19ba2c6107db9072d391fee40d05418fcecf9
6,329
py
Python
roles/openshift_openstack/library/os_service_catalog.py
Roscoe198/Ansible-Openshift
b874bef456852ef082a27dfec4f2d7d466702370
[ "Apache-2.0" ]
164
2015-07-29T17:35:04.000Z
2021-12-16T16:38:04.000Z
roles/openshift_openstack/library/os_service_catalog.py
Roscoe198/Ansible-Openshift
b874bef456852ef082a27dfec4f2d7d466702370
[ "Apache-2.0" ]
3,634
2015-06-09T13:49:15.000Z
2022-03-23T20:55:44.000Z
roles/openshift_openstack/library/os_service_catalog.py
Roscoe198/Ansible-Openshift
b874bef456852ef082a27dfec4f2d7d466702370
[ "Apache-2.0" ]
250
2015-06-08T19:53:11.000Z
2022-03-01T04:51:23.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2018 Red Hat, Inc. and/or its affiliates # and other contributors as indicated by the @author tags. # # 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...
35.55618
88
0.686522
84e2491c56f006ef9cd142f27d48eb550c585b84
9,068
py
Python
trainModel.py
NYUMedML/DeepEHR
5675e305648ae008d2cb1e4a1e283acbb7d90859
[ "MIT" ]
242
2018-08-16T17:45:21.000Z
2022-03-29T10:12:06.000Z
trainModel.py
NYUMedML/DeepEHR
5675e305648ae008d2cb1e4a1e283acbb7d90859
[ "MIT" ]
3
2018-12-17T01:15:06.000Z
2021-08-25T03:05:55.000Z
trainModel.py
NYUMedML/DeepEHR
5675e305648ae008d2cb1e4a1e283acbb7d90859
[ "MIT" ]
60
2018-08-16T18:45:41.000Z
2022-03-21T17:23:54.000Z
import torch # import torch.nn as nn # import torch.nn.functional as F import numpy as np from torch.autograd import Variable # import torchwordemb import torch.optim as optim import sys import time import gc import pickle import os import models2 as m import enc_model as m3 # import pandas as pd # from util import *...
47.978836
129
0.657477
84e3c7c02f7dc25ab2a0825c94313b4e836de166
28,308
py
Python
spinoffs/inference_gym/inference_gym/internal/datasets/synthetic_plasma_spectroscopy.py
mederrata/probability
bc6c411b0fbd83141f303f91a27343fe3c43a797
[ "Apache-2.0" ]
1
2022-03-22T11:56:31.000Z
2022-03-22T11:56:31.000Z
spinoffs/inference_gym/inference_gym/internal/datasets/synthetic_plasma_spectroscopy.py
robot0102/probability
89d248c420b8ecabfd9d6de4a1aa8d3886920049
[ "Apache-2.0" ]
null
null
null
spinoffs/inference_gym/inference_gym/internal/datasets/synthetic_plasma_spectroscopy.py
robot0102/probability
89d248c420b8ecabfd9d6de4a1aa8d3886920049
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
15.930219
77
0.551399
84e45d2b85d8499f1f5a378dd4dacfb53eabf9db
13,567
py
Python
plbenchmark/utils.py
kgoossens1/protein-ligand-benchmark
902753176bf17cb98735c50c6b9d72f559bba2c2
[ "CC-BY-4.0", "MIT" ]
13
2021-05-14T11:43:47.000Z
2022-02-03T20:03:13.000Z
plbenchmark/utils.py
AspirinCode/protein-ligand-benchmark
4e6f6801589d28c5ce21268124c7d506d9b6dde4
[ "CC-BY-4.0", "MIT" ]
14
2021-06-24T16:47:08.000Z
2022-03-15T09:57:25.000Z
plbenchmark/utils.py
AspirinCode/protein-ligand-benchmark
4e6f6801589d28c5ce21268124c7d506d9b6dde4
[ "CC-BY-4.0", "MIT" ]
2
2021-05-20T02:54:27.000Z
2021-09-29T00:14:26.000Z
""" utils.py Contains utility functions """ import numpy as np from scipy import constants import requests import json from pint import UnitRegistry import warnings unit_registry = UnitRegistry() boltzmann_constant = constants.gas_constant * unit_registry("J / mole / K") def find_pdb_url(pdb): """ Finds t...
37.169863
119
0.52613
84e54cda126afdbb694329fd1a4aab8b4924de59
617
py
Python
session.py
nereasastre/upf-calendar-exporter
bf58148ba8b5a26b1aa661416068824338aec9c6
[ "Apache-2.0" ]
3
2020-05-18T17:30:26.000Z
2020-06-02T08:58:40.000Z
session.py
nereasastre/upf-calendar-exporter
bf58148ba8b5a26b1aa661416068824338aec9c6
[ "Apache-2.0" ]
2
2020-05-20T22:32:23.000Z
2021-09-23T08:49:56.000Z
session.py
nereasastre/upf-calendar-exporter
bf58148ba8b5a26b1aa661416068824338aec9c6
[ "Apache-2.0" ]
1
2021-05-27T17:47:48.000Z
2021-05-27T17:47:48.000Z
def is_valid_session(session: dict) -> bool: """ checks if passed dict has enough info to display event :param session: dict representing a session :return: True if it has enough info (title, start time, end time), False otherwise """ try: session_keys = session.keys() except Attri...
30.85
86
0.649919
84e630422fa339b762bd842ab81715589cb9e854
545
py
Python
12. Integer to Roman/main.py
PromasterGuru/Leetcode-Solutions
46a74369f78dbd89e664a4460c25c190bb5f4dbc
[ "MIT" ]
null
null
null
12. Integer to Roman/main.py
PromasterGuru/Leetcode-Solutions
46a74369f78dbd89e664a4460c25c190bb5f4dbc
[ "MIT" ]
null
null
null
12. Integer to Roman/main.py
PromasterGuru/Leetcode-Solutions
46a74369f78dbd89e664a4460c25c190bb5f4dbc
[ "MIT" ]
null
null
null
if __name__ == "__main__": sol = Solution() num = 58 print(sol.intToRoman(num))
36.333333
120
0.444037
84e6ca11745935f8d41d9be03c417a4ce6928ff4
878
py
Python
test/test_node_api.py
atlanticwave-sdx/sdx-controller-client
426453bf84e9522e857fd78139bb63429b9091cc
[ "MIT" ]
null
null
null
test/test_node_api.py
atlanticwave-sdx/sdx-controller-client
426453bf84e9522e857fd78139bb63429b9091cc
[ "MIT" ]
null
null
null
test/test_node_api.py
atlanticwave-sdx/sdx-controller-client
426453bf84e9522e857fd78139bb63429b9091cc
[ "MIT" ]
null
null
null
# coding: utf-8 """ SDX-Controller You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). # noqa: E501 OpenAPI spec version: 1.0.0 Contact: yxin@renci.org Generated by: https://github.com/swagger-api/swagger-code...
21.414634
156
0.664009
84e740e86537e562565c37ab944502008646b1ad
726
py
Python
raddiwala/views.py
nikhilbelchada/online-raddiwala
9f53f2dc63a29c08ee9d61fdf2d3124c79ca7980
[ "MIT" ]
null
null
null
raddiwala/views.py
nikhilbelchada/online-raddiwala
9f53f2dc63a29c08ee9d61fdf2d3124c79ca7980
[ "MIT" ]
null
null
null
raddiwala/views.py
nikhilbelchada/online-raddiwala
9f53f2dc63a29c08ee9d61fdf2d3124c79ca7980
[ "MIT" ]
null
null
null
from django.views.generic import TemplateView from django.utils.decorators import method_decorator from django.contrib.auth.decorators import login_required from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.permissions import I...
27.923077
57
0.769972
84e9049cc625185afb9163e9d3cf3f69b6c12576
188
py
Python
python/test_qmmm.py
wallerlab/yoink
ffbe6a8f5804076996e70752666ca986760e6aa9
[ "Apache-2.0" ]
6
2016-01-23T04:15:49.000Z
2020-06-08T23:49:04.000Z
python/test_qmmm.py
wallerlab/yoink
ffbe6a8f5804076996e70752666ca986760e6aa9
[ "Apache-2.0" ]
41
2016-01-22T12:52:39.000Z
2017-02-05T19:22:56.000Z
python/test_qmmm.py
wallerlab/yoink
ffbe6a8f5804076996e70752666ca986760e6aa9
[ "Apache-2.0" ]
2
2016-09-30T09:07:05.000Z
2018-05-27T03:41:50.000Z
from pyoink import * from jpype import * pyoink=PYoink("../build/libs/Yoink-0.0.3.jar","./dori_qmmm.xml") qm_atoms,qm_molecules = pyoink.get_qm_indices() print qm_molecules shutdownJVM()
23.5
64
0.760638
84eb867dec3b6ca313edc00d589ccfe47caf0f3a
28,875
py
Python
model/model.py
MISTCARRYYOU/PythonPDEVS
53cad29832b3c489ab037bdc487affcbf1e3f408
[ "Apache-2.0" ]
1
2018-09-19T14:42:28.000Z
2018-09-19T14:42:28.000Z
model/model.py
MISTCARRYYOU/PythonPDEVS
53cad29832b3c489ab037bdc487affcbf1e3f408
[ "Apache-2.0" ]
null
null
null
model/model.py
MISTCARRYYOU/PythonPDEVS
53cad29832b3c489ab037bdc487affcbf1e3f408
[ "Apache-2.0" ]
1
2021-01-14T12:21:35.000Z
2021-01-14T12:21:35.000Z
import sys sys.path.append("../src/") from DEVS import CoupledDEVS, AtomicDEVS, RootDEVS, directConnect from infinity import INFINITY from collections import defaultdict from util import allZeroDict, addDict from statesavers import PickleHighestState as state_saver from message import NetworkMessage from messageSchedu...
45.979299
179
0.607896
84ed838507f798e2ebf92508c53e197d95972fcc
9,500
py
Python
snaps/openstack/os_credentials.py
hashnfv/hashnfv-snaps
0dfca494ef7c2778babfac48d9b701953860b54f
[ "Apache-2.0" ]
null
null
null
snaps/openstack/os_credentials.py
hashnfv/hashnfv-snaps
0dfca494ef7c2778babfac48d9b701953860b54f
[ "Apache-2.0" ]
null
null
null
snaps/openstack/os_credentials.py
hashnfv/hashnfv-snaps
0dfca494ef7c2778babfac48d9b701953860b54f
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 Cable Television Laboratories, Inc. ("CableLabs") # and others. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://w...
40.425532
79
0.612632
84ef25a6781dddc7b93337eee537701562bd82e0
886
py
Python
login_required_middleware.py
IBM/omnia
588f380e04c697ca9d5ed84822c14b37dad92d27
[ "Apache-2.0" ]
1
2021-11-25T16:07:38.000Z
2021-11-25T16:07:38.000Z
login_required_middleware.py
IBM/omnia
588f380e04c697ca9d5ed84822c14b37dad92d27
[ "Apache-2.0" ]
null
null
null
login_required_middleware.py
IBM/omnia
588f380e04c697ca9d5ed84822c14b37dad92d27
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.urls import reverse
28.580645
101
0.662528
84ef970c45f901d834ef512adc2e8980501798a3
2,296
py
Python
yoo.py
Bayurzx/translateReadme
2ffb7ad206b1b8b463dc3859da0281b0a2bbd78c
[ "MIT" ]
null
null
null
yoo.py
Bayurzx/translateReadme
2ffb7ad206b1b8b463dc3859da0281b0a2bbd78c
[ "MIT" ]
null
null
null
yoo.py
Bayurzx/translateReadme
2ffb7ad206b1b8b463dc3859da0281b0a2bbd78c
[ "MIT" ]
null
null
null
yoo = { "af": "Afrikaans", "sq": "Albanian - shqip", "am": "Amharic - ", "ar": "Arabic - ", "hy": "Armenian - ", "az": "Azerbaijani - azrbaycan dili", "bn": "Bengali - ", "bs": "Bosnian - bosanski", "bg": "Bulgarian - ", "ca": "Catalan - catal", "zh": "Chinese - ", "zh-Hans": "Chinese (Simplified) - ", "zh-Hant": "Chin...
24.688172
44
0.574042
84efa0af37a0a237569973818456ffbc4b1999ac
293
py
Python
codes/LinearRegression.py
CNShawn/DL-ML-Model
33110838b52f66a7732db7e260bd5328a4fa3a48
[ "MIT" ]
null
null
null
codes/LinearRegression.py
CNShawn/DL-ML-Model
33110838b52f66a7732db7e260bd5328a4fa3a48
[ "MIT" ]
null
null
null
codes/LinearRegression.py
CNShawn/DL-ML-Model
33110838b52f66a7732db7e260bd5328a4fa3a48
[ "MIT" ]
null
null
null
import torch import torch.nn as nn
22.538462
55
0.627986
84f0fd3aaa5e1acb4ea3de86e12e62747b00b241
2,508
py
Python
spacer/tests/test_train_classifier.py
beijbom/PySpacer
09ec5d41aa3d239e252e351b18a0835956c21903
[ "MIT" ]
3
2020-03-09T00:30:20.000Z
2021-03-08T22:30:19.000Z
spacer/tests/test_train_classifier.py
beijbom/PySpacer
09ec5d41aa3d239e252e351b18a0835956c21903
[ "MIT" ]
28
2020-02-28T17:19:07.000Z
2022-03-25T04:59:26.000Z
spacer/tests/test_train_classifier.py
beijbom/PySpacer
09ec5d41aa3d239e252e351b18a0835956c21903
[ "MIT" ]
null
null
null
import random import unittest import numpy as np from spacer import config from spacer.messages import DataLocation from spacer.train_classifier import trainer_factory from spacer.train_utils import make_random_data, train if __name__ == '__main__': unittest.main()
37.432836
80
0.508373
84f18f7a5a2fdba15eb170c2d25e68bbec8f7f81
339
py
Python
2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/03-Lists-Basics/02_Exercises/02_Multiples-List.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/03-Lists-Basics/02_Exercises/02_Multiples-List.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/03-Lists-Basics/02_Exercises/02_Multiples-List.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
# 2. Multiples List # Write a program that receives two numbers (factor and count) and creates a list with length of the given count # and contains only elements that are multiples of the given factor. factor = int(input()) count = int(input()) list = [] for counter in range(1, count+1): list.append(factor * cou...
24.214286
112
0.722714
84f40d2a66ba94f561380b5d1bd073b352b479d5
3,446
py
Python
scripts/rewrite-uris.py
CaptSolo/bib-rdf-pipeline
9ff7ba2f1d737e6d496a6b6ff207ba8fe971fb17
[ "CC0-1.0" ]
31
2016-11-30T10:39:55.000Z
2021-12-28T11:19:32.000Z
scripts/rewrite-uris.py
CaptSolo/bib-rdf-pipeline
9ff7ba2f1d737e6d496a6b6ff207ba8fe971fb17
[ "CC0-1.0" ]
96
2016-12-08T08:21:46.000Z
2019-08-28T12:55:45.000Z
scripts/rewrite-uris.py
CaptSolo/bib-rdf-pipeline
9ff7ba2f1d737e6d496a6b6ff207ba8fe971fb17
[ "CC0-1.0" ]
5
2017-02-28T14:55:42.000Z
2021-12-16T13:21:51.000Z
#!/usr/bin/env python """Rewrite all the marc2bibframe2-generated URIs in the input NT file; output the rewritten NT file on stdout""" import sys import re # regex for detecting URIs generated by marc2bibframe m2bf_uri = re.compile(r'(\d{9})#(Work|Instance|Agent)((\d\d\d)-(\d+))?') # regexes for matching N-Triples I...
34.118812
121
0.583575
84f4a9d9bfa9314833e075a5c51916145c05a551
4,199
py
Python
neptune/new/internal/artifacts/file_hasher.py
neptune-ml/neptune-client
7aea63160b5149c3fec40f62d3b0da7381a35748
[ "Apache-2.0" ]
13
2019-02-11T13:18:38.000Z
2019-12-26T06:26:07.000Z
neptune/new/internal/artifacts/file_hasher.py
neptune-ml/neptune-client
7aea63160b5149c3fec40f62d3b0da7381a35748
[ "Apache-2.0" ]
39
2019-03-07T13:40:10.000Z
2020-01-07T17:19:24.000Z
neptune/new/internal/artifacts/file_hasher.py
neptune-ml/neptune-client
7aea63160b5149c3fec40f62d3b0da7381a35748
[ "Apache-2.0" ]
4
2019-02-11T13:07:23.000Z
2019-11-26T08:20:24.000Z
# # Copyright (c) 2021, Neptune Labs Sp. z o.o. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
40.375
100
0.681115
84f7cf8219f5c42427d2c30ae8b064c0f94b7e0c
11,717
py
Python
packages/dcos-integration-test/extra/test_applications.py
timgates42/dcos
9d7e4d65b797d67fcd32c626f8026f28d2dece90
[ "Apache-2.0" ]
2,577
2016-04-19T09:57:39.000Z
2022-03-17T10:34:25.000Z
packages/dcos-integration-test/extra/test_applications.py
timgates42/dcos
9d7e4d65b797d67fcd32c626f8026f28d2dece90
[ "Apache-2.0" ]
7,410
2016-04-19T21:19:31.000Z
2022-01-21T20:14:21.000Z
packages/dcos-integration-test/extra/test_applications.py
timgates42/dcos
9d7e4d65b797d67fcd32c626f8026f28d2dece90
[ "Apache-2.0" ]
625
2016-04-19T10:09:35.000Z
2022-03-16T10:53:45.000Z
import logging import uuid from typing import Any import pytest import requests import test_helpers from dcos_test_utils import marathon from dcos_test_utils.dcos_api import DcosApiSession __maintainer__ = 'kensipe' __contact__ = 'orchestration-team@mesosphere.io' log = logging.getLogger(__name__) def deploy_tes...
37.196825
113
0.594948
84f99adbd0300b06f6e44931897e8badf95a1de6
3,603
py
Python
bmorph/tests/test_mizuroute_utils.py
arbennett/bmorph
02f2807e4f479f71812b4e11df720683f2ecdb5c
[ "MIT" ]
8
2017-07-21T16:17:57.000Z
2021-12-31T06:13:53.000Z
bmorph/tests/test_mizuroute_utils.py
arbennett/bmorph
02f2807e4f479f71812b4e11df720683f2ecdb5c
[ "MIT" ]
18
2016-12-29T22:46:59.000Z
2021-12-14T22:58:57.000Z
bmorph/tests/test_mizuroute_utils.py
arbennett/bmorph
02f2807e4f479f71812b4e11df720683f2ecdb5c
[ "MIT" ]
9
2016-12-23T00:58:13.000Z
2021-12-23T07:33:49.000Z
import pytest import numpy as np import pandas as pd import xarray as xr import bmorph from bmorph.util import mizuroute_utils as mizutil reference = xr.open_dataset("./bmorph/tests/data/test_reference.nc") routed = xr.open_dataset("./bmorph/tests/data/test_routed.nc") topo = xr.open_dataset("./bmorph/tests/data/tes...
48.04
125
0.682487
84f9f2d4aa4d89d1f26915472239ad83b9d2465e
4,419
py
Python
inverted_hull.py
dskjal/Inverted-Hull-Setup-Tool
b74cd735a626b91abee91fb872c45b27f841a1a8
[ "MIT" ]
2
2020-10-07T15:16:04.000Z
2022-01-30T07:26:56.000Z
inverted_hull.py
dskjal/Inverted-Hull-Setup-Tool
b74cd735a626b91abee91fb872c45b27f841a1a8
[ "MIT" ]
null
null
null
inverted_hull.py
dskjal/Inverted-Hull-Setup-Tool
b74cd735a626b91abee91fb872c45b27f841a1a8
[ "MIT" ]
1
2022-01-04T20:38:41.000Z
2022-01-04T20:38:41.000Z
#// BEGIN MIT LICENSE BLOCK // #// #// Copyright (c) 2019 dskjal #// This software is released under the MIT License. #// http://opensource.org/licenses/mit-license.php #// #// END MIT LICENSE BLOCK // import bpy bl_info = { "name" : "Inverted Hull Setup Tool", "author" : "dskjal", "version" : (1, 0), ...
26.303571
80
0.619371
84fa72a574df3f5f1447d915ccb88abf966a52b7
45,951
py
Python
pysnmp/H3C-IPSEC-MONITOR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/H3C-IPSEC-MONITOR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/H3C-IPSEC-MONITOR-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module H3C-IPSEC-MONITOR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/H3C-IPSEC-MONITOR-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:09:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
136.353116
6,811
0.763705
84fcdea20c3ac270c0917795bed84e0caff0bc61
891
py
Python
src/harness/wires/base.py
vmagamedov/harness
0e9d64295f937aa4476dbe5f084e80a3783edce7
[ "BSD-3-Clause" ]
6
2020-03-26T16:49:54.000Z
2022-01-13T09:13:40.000Z
src/harness/wires/base.py
vmagamedov/harness
0e9d64295f937aa4476dbe5f084e80a3783edce7
[ "BSD-3-Clause" ]
1
2020-03-14T16:47:51.000Z
2020-03-14T16:47:51.000Z
src/harness/wires/base.py
vmagamedov/harness
0e9d64295f937aa4476dbe5f084e80a3783edce7
[ "BSD-3-Clause" ]
null
null
null
import asyncio from types import TracebackType from typing import Optional, Type, Any
21.731707
48
0.59596
84fd59316076ee88ed20da5294439d509f4f0499
1,377
py
Python
tickets/migrations/0011_auto_20190804_2139.py
jdevera/pythoncanarias_web
465e8b0a054726e29b1029f1dffe11f913e40bcc
[ "MIT" ]
5
2018-08-14T14:59:38.000Z
2020-06-14T14:56:21.000Z
tickets/migrations/0011_auto_20190804_2139.py
jdevera/pythoncanarias_web
465e8b0a054726e29b1029f1dffe11f913e40bcc
[ "MIT" ]
189
2018-07-22T19:42:05.000Z
2021-05-24T21:37:48.000Z
tickets/migrations/0011_auto_20190804_2139.py
jdevera/pythoncanarias_web
465e8b0a054726e29b1029f1dffe11f913e40bcc
[ "MIT" ]
11
2018-07-30T16:11:40.000Z
2020-10-18T20:40:53.000Z
# Generated by Django 2.2.4 on 2019-08-04 20:39 from django.db import migrations, models import django.db.models.deletion
34.425
167
0.574437
84fda5fd23b1cedd7f68f7e215b762a7514dab9c
6,118
py
Python
tensorboard_pytorch_examples/common/trainer.py
jacekplocharczyk/tensorboard-pytorch-example
e8420a2caa1a07a5992e7594d19c57766967e6d8
[ "MIT" ]
null
null
null
tensorboard_pytorch_examples/common/trainer.py
jacekplocharczyk/tensorboard-pytorch-example
e8420a2caa1a07a5992e7594d19c57766967e6d8
[ "MIT" ]
8
2019-12-15T10:28:31.000Z
2019-12-15T11:45:49.000Z
tensorboard_pytorch_examples/common/trainer.py
jacekplocharczyk/tensorboard-pytorch-example
e8420a2caa1a07a5992e7594d19c57766967e6d8
[ "MIT" ]
null
null
null
from typing import Tuple import torch from torch import nn from torch.utils.tensorboard import SummaryWriter from tensorboard_pytorch_examples.common.config import ( CPU_DEVICE, DEFAULT_EPOCHS_COUNT, DEVICE, )
33.07027
88
0.59611
84fe6ded9c1815af2ceb082e7ceebe088a8d3910
755
py
Python
custom/ilsgateway/slab/messages.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2020-05-05T13:10:01.000Z
2020-05-05T13:10:01.000Z
custom/ilsgateway/slab/messages.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2019-12-09T14:00:14.000Z
2019-12-09T14:00:14.000Z
custom/ilsgateway/slab/messages.py
MaciejChoromanski/commcare-hq
fd7f65362d56d73b75a2c20d2afeabbc70876867
[ "BSD-3-Clause" ]
5
2015-11-30T13:12:45.000Z
2019-07-01T19:27:07.000Z
from __future__ import absolute_import from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ REMINDER_TRANS = _("Did you receive or transfer stock to another facility last month?" " Please reply either 'trans no' or 'trans yes'") TRANS_HELP = _("You can resp...
58.076923
114
0.703311
1701bada6800d4c692ecdcf52d4c1b2b794314af
233
py
Python
scripts/pylint_custom_plugin/tests/test_files/enum_checker_acceptable.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-01-24T08:54:57.000Z
2022-01-24T08:54:57.000Z
scripts/pylint_custom_plugin/tests/test_files/enum_checker_acceptable.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
scripts/pylint_custom_plugin/tests/test_files/enum_checker_acceptable.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
# Test file for enum checker from enum import Enum from six import with_metaclass from azure.core import CaseInsensitiveEnumMeta
25.888889
70
0.776824
17037e15703ec98c9373a4990e526bdcbde7f1c5
5,195
py
Python
tests/test_command_methods_getter.py
chrissimpkins/commandlines
42887a63b4507b134753aeeb3553673e3f20e1ed
[ "MIT" ]
14
2016-02-17T15:39:41.000Z
2021-02-11T12:13:19.000Z
tests/test_command_methods_getter.py
chrissimpkins/commandlines
42887a63b4507b134753aeeb3553673e3f20e1ed
[ "MIT" ]
6
2016-02-04T20:04:43.000Z
2016-02-26T02:38:20.000Z
tests/test_command_methods_getter.py
chrissimpkins/commandlines
42887a63b4507b134753aeeb3553673e3f20e1ed
[ "MIT" ]
2
2016-02-07T18:44:12.000Z
2016-12-20T23:28:04.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import shlex import sys import pytest from commandlines import Command from commandlines.exceptions import IndexOutOfRangeError, MissingArgumentError, MissingDictionaryKeyError # TESTS OVERVIEW: Command object getter method tests test_command_1 = "executable subcmd -s ...
26.778351
105
0.727623
1703e783c06316d12c5bbb814c6ade9e82bf7bd9
1,887
py
Python
mysite/forms.py
AmanRiat1/uOttaHack
9cd301c21721ef792ffb1232434ac43dd47d5e14
[ "MIT" ]
null
null
null
mysite/forms.py
AmanRiat1/uOttaHack
9cd301c21721ef792ffb1232434ac43dd47d5e14
[ "MIT" ]
1
2020-12-04T23:30:06.000Z
2020-12-04T23:30:06.000Z
mysite/forms.py
AmanRiat1/uOttaHack
9cd301c21721ef792ffb1232434ac43dd47d5e14
[ "MIT" ]
1
2020-12-04T03:58:36.000Z
2020-12-04T03:58:36.000Z
from django import forms gender = [('male', 'M'), ('female', 'F')] response = [('1', 'yes'), ('0', 'no')] time = [('1', 'one'), ('2', 'two'), ('3', 'three'), ('4', 'four')] education = [('0', 'zero'),('1', 'zero'), ('2', 'two'), ('3', 'three'), ('4', 'four')] rating = [('1', 'one'), ('2', 'two'), ('3', 'three'), ('4',...
67.392857
124
0.699523
1704d923f0e89e94cc13d475fe904ab8a4fa8e2b
4,437
py
Python
src/template_forms/base.py
rpkilby/django-template-forms
5099d87d661a6a313df49fa484afd94f145e65bc
[ "BSD-3-Clause" ]
1
2021-01-29T11:53:32.000Z
2021-01-29T11:53:32.000Z
src/template_forms/base.py
rpkilby/django-template-forms
5099d87d661a6a313df49fa484afd94f145e65bc
[ "BSD-3-Clause" ]
5
2017-11-29T11:01:56.000Z
2018-02-05T23:34:08.000Z
src/template_forms/base.py
rpkilby/django-template-forms
5099d87d661a6a313df49fa484afd94f145e65bc
[ "BSD-3-Clause" ]
null
null
null
from django.forms.forms import BaseForm from django.utils.encoding import force_text from django.utils.html import conditional_escape from django.utils.safestring import mark_safe from django.utils.translation import ugettext as _ from .utils import add_css_classes, try_classmro
33.870229
92
0.642777
170595a943d66ad9bcad6eb85ac17ec7fdc615f5
6,603
py
Python
feature_engineering/cloud_functions/dataset_generator_http/main.py
cyberj0g/verification-classifier
efb19a3864e27a7f149a1c27ee8e13eaa19f96eb
[ "MIT" ]
null
null
null
feature_engineering/cloud_functions/dataset_generator_http/main.py
cyberj0g/verification-classifier
efb19a3864e27a7f149a1c27ee8e13eaa19f96eb
[ "MIT" ]
null
null
null
feature_engineering/cloud_functions/dataset_generator_http/main.py
cyberj0g/verification-classifier
efb19a3864e27a7f149a1c27ee8e13eaa19f96eb
[ "MIT" ]
null
null
null
''' Main function to be called from GCE's cloud function This function is in charge of adding training data to the datastore for later generation of models and feature study ''' import sys import os import time import numpy as np from google.cloud import datastore from google.cloud import storage from google.api_core...
34.936508
92
0.635014
1707aeaf43de34d57cc2f4d582fcd335d9527f2f
57
py
Python
1959.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
6
2021-04-13T00:33:43.000Z
2022-02-10T10:23:59.000Z
1959.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
null
null
null
1959.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
3
2021-03-23T18:42:24.000Z
2022-02-10T10:24:07.000Z
e = [int(x) for x in input().split()] print(e[0] * e[1])
19
37
0.526316
170900e2d57c09449b8d65bc116be938d47bb520
1,330
py
Python
Gerador_de_Senha.py
Jhon-Dx/Program
abe70b570e400783a82bdf7ae1ed591da5924aa5
[ "MIT" ]
null
null
null
Gerador_de_Senha.py
Jhon-Dx/Program
abe70b570e400783a82bdf7ae1ed591da5924aa5
[ "MIT" ]
null
null
null
Gerador_de_Senha.py
Jhon-Dx/Program
abe70b570e400783a82bdf7ae1ed591da5924aa5
[ "MIT" ]
null
null
null
import Gerador_de_senhas.Defs as ge import PySimpleGUI as sg tela = Gerador() tela.iniciar()
38
114
0.575188
ca018ee35ad72d433a92d4988857e5e6b1d41606
31,759
py
Python
models.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
models.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
models.py
TsukkiGia/pytrix
5477bd6a757d8ee3a16ca1fc5513b6d2926b6f66
[ "MIT" ]
null
null
null
from consts import * from game2d import * from consts import *
70.419069
247
0.63349
ca034a744deb00ca85f0877d77d261c7a2885489
708
py
Python
python/pointcloud/run/results/plot_usage.py
NLeSC/pointcloud-benchmark
860cb91d5a0b984d9f82401e97b6840bd3f8aa3a
[ "Apache-2.0" ]
9
2015-03-02T23:17:01.000Z
2022-03-01T01:52:50.000Z
python/pointcloud/run/results/plot_usage.py
NLeSC/pointcloud-benchmark
860cb91d5a0b984d9f82401e97b6840bd3f8aa3a
[ "Apache-2.0" ]
2
2015-02-20T10:21:18.000Z
2016-05-20T10:46:55.000Z
python/pointcloud/run/results/plot_usage.py
NLeSC/pointcloud-benchmark
860cb91d5a0b984d9f82401e97b6840bd3f8aa3a
[ "Apache-2.0" ]
8
2015-10-20T12:00:16.000Z
2022-03-01T01:52:51.000Z
#!/usr/bin/env python ################################################################################ # Created by Oscar Martinez # # o.rubi@esciencecenter.nl # #######################################################...
33.714286
80
0.430791
ca03f2154f608fa1f55a81ccbf2df8ef2afacd35
8,108
py
Python
adt17.py
Bekyilma/Master_Thesis
61fc47c1ec507aba91add3df063320a5ef6d5979
[ "MIT" ]
1
2021-09-28T13:29:18.000Z
2021-09-28T13:29:18.000Z
adt17.py
Bekyilma/Master_thesis
61fc47c1ec507aba91add3df063320a5ef6d5979
[ "MIT" ]
null
null
null
adt17.py
Bekyilma/Master_thesis
61fc47c1ec507aba91add3df063320a5ef6d5979
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.5 import sys import os import logging import numpy as np import musm from sklearn.utils import check_random_state from textwrap import dedent #1Social Choice _LOG = musm.get_logger('adt17') PROBLEMS = { 'synthetic': musm.Synthetic, 'pc': musm.PC, } USERS = { 'noiseless': musm.Noi...
37.192661
89
0.548471
ca051e34c2655b3bd3d884b2ee4031dce654f7d6
5,435
py
Python
agent.py
primeMover2011/MultiAgentDDPG
3c3732bfb3125e4f402ecdcbbd49b88a056ed3d0
[ "MIT" ]
null
null
null
agent.py
primeMover2011/MultiAgentDDPG
3c3732bfb3125e4f402ecdcbbd49b88a056ed3d0
[ "MIT" ]
null
null
null
agent.py
primeMover2011/MultiAgentDDPG
3c3732bfb3125e4f402ecdcbbd49b88a056ed3d0
[ "MIT" ]
null
null
null
import random from model import Actor, Critic from ounoise import OUNoise import torch import torch.optim as optim GAMMA = 0.99 # discount factor TAU = 0.01 # for soft update of target parameters LR_ACTOR = 0.001 # learning rate of the actor LR_CRITIC = 0.001 # learning rate of the critic
41.174242
131
0.670837
ca05ac4ff71352fdfc5b9fbcb0b5b863dbcd84e0
257
py
Python
app/forms/main_item_application.py
Wern-rm/raton.by
68f862f2bc0551bf2327e9d6352c0cde93f45301
[ "MIT" ]
null
null
null
app/forms/main_item_application.py
Wern-rm/raton.by
68f862f2bc0551bf2327e9d6352c0cde93f45301
[ "MIT" ]
null
null
null
app/forms/main_item_application.py
Wern-rm/raton.by
68f862f2bc0551bf2327e9d6352c0cde93f45301
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, TextAreaField
28.555556
46
0.743191
ca064731956adaddb40fad64332618d7f5b74b2e
800
py
Python
pav_propms/pav_property_management_solution/doctype/rent_request/rent_request.py
alkuhlani/pav_propms
2b1a9f9b2430fd45083ea750ab0d0df0243f6d17
[ "MIT" ]
null
null
null
pav_propms/pav_property_management_solution/doctype/rent_request/rent_request.py
alkuhlani/pav_propms
2b1a9f9b2430fd45083ea750ab0d0df0243f6d17
[ "MIT" ]
null
null
null
pav_propms/pav_property_management_solution/doctype/rent_request/rent_request.py
alkuhlani/pav_propms
2b1a9f9b2430fd45083ea750ab0d0df0243f6d17
[ "MIT" ]
3
2021-03-24T13:43:14.000Z
2021-06-20T09:02:24.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2021, Patrner Team and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe.model.mapper import get_mapped_doc
25.806452
65
0.735
ca07609e7841bdeed0c7f1f0997403d8311d71f7
4,699
py
Python
engine.py
329124/PyCE
e770fd498af56b82a1da47b163f923e374abe4af
[ "MIT" ]
null
null
null
engine.py
329124/PyCE
e770fd498af56b82a1da47b163f923e374abe4af
[ "MIT" ]
null
null
null
engine.py
329124/PyCE
e770fd498af56b82a1da47b163f923e374abe4af
[ "MIT" ]
null
null
null
from tkinter import Tk from tkinter import Canvas from PIL import Image from PIL import ImageTk
35.067164
107
0.63737
ca07ea6dedd3f0db63c8b2ef89c11429753898b8
16,671
py
Python
test/fisheries_test_io.py
phargogh/invest-natcap.invest-3
ee96055a4fa034d9a95fa8ccc6259ab03264e6c1
[ "BSD-3-Clause" ]
null
null
null
test/fisheries_test_io.py
phargogh/invest-natcap.invest-3
ee96055a4fa034d9a95fa8ccc6259ab03264e6c1
[ "BSD-3-Clause" ]
null
null
null
test/fisheries_test_io.py
phargogh/invest-natcap.invest-3
ee96055a4fa034d9a95fa8ccc6259ab03264e6c1
[ "BSD-3-Clause" ]
null
null
null
import unittest import os import pprint from numpy import testing import numpy as np import invest_natcap.fisheries.fisheries_io as fisheries_io from invest_natcap.fisheries.fisheries_io import MissingParameter data_directory = './invest-data/test/data/fisheries' pp = pprint.PrettyPrinter(indent=4) All_Parameters...
39.598575
127
0.586168
ca0a25fdb72172c9aec5b78161fb201b327764cc
3,314
py
Python
cantina_band.py
agimpel/RPi-music
87519fb8014feb28328dc402faf2d757970b3e16
[ "MIT" ]
null
null
null
cantina_band.py
agimpel/RPi-music
87519fb8014feb28328dc402faf2d757970b3e16
[ "MIT" ]
1
2018-07-14T23:14:09.000Z
2018-07-14T23:14:09.000Z
cantina_band.py
agimpel/RPi-music
87519fb8014feb28328dc402faf2d757970b3e16
[ "MIT" ]
null
null
null
from speaker import Speaker import time import RPi.GPIO as GPIO speaker = Speaker(GPIO.BCM, 23) speaker.set_bpm(260) speaker.pause(2) #1 speaker.play('A1', 1/4) speaker.play('D2', 1/4) speaker.play('A1', 1/4) speaker.play('D2', 1/4) #2 speaker.play('A1', 1/8) speaker.play('D2', 1/4) speaker.play('A1', 1/8) speake...
16.908163
31
0.638805
ca0b164be63b6ae97fea4cfbd64ee2074354bb89
1,622
py
Python
examples/example.py
acamero/MIP-EGO
c566bce1e12baba6bbd63bab8ade7f2ac7d08bea
[ "MIT" ]
null
null
null
examples/example.py
acamero/MIP-EGO
c566bce1e12baba6bbd63bab8ade7f2ac7d08bea
[ "MIT" ]
null
null
null
examples/example.py
acamero/MIP-EGO
c566bce1e12baba6bbd63bab8ade7f2ac7d08bea
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Aug 4 15:57:47 2017 @author: wangronin """ import pdb import numpy as np from deap import benchmarks from GaussianProcess_old import GaussianProcess_extra as GaussianProcess from BayesOpt import BayesOpt, RandomForest, RrandomForest np.random.seed(1...
27.965517
85
0.600493
ca0bdbd7fc80cf5dd847073ab59694f33d27e22f
2,678
py
Python
test/test_store.py
64bit/wikiracer
f2bb66dc0c24f80640578f79f952d58991028d6d
[ "MIT" ]
null
null
null
test/test_store.py
64bit/wikiracer
f2bb66dc0c24f80640578f79f952d58991028d6d
[ "MIT" ]
null
null
null
test/test_store.py
64bit/wikiracer
f2bb66dc0c24f80640578f79f952d58991028d6d
[ "MIT" ]
null
null
null
import unittest import sys sys.path.append("../") from store.store import Store from store.neo4jstore import Neo4jStore from store.sqlitestore import SqliteStore from neo4j.v1 import GraphDatabase, basic_auth #TODO fix tests ''' class TestStore(unittest.TestCase): def setUp(self): self.store = Neo4jStore() ...
26.78
72
0.612024
ca0d6a399a61de7decc62dfb3361acdb85dd269b
734
py
Python
sandbox.py
hemagso/loom
c63917ddf3279187c54d7ff638d6bef5f0afebab
[ "MIT" ]
null
null
null
sandbox.py
hemagso/loom
c63917ddf3279187c54d7ff638d6bef5f0afebab
[ "MIT" ]
null
null
null
sandbox.py
hemagso/loom
c63917ddf3279187c54d7ff638d6bef5f0afebab
[ "MIT" ]
null
null
null
from loom.tables import InputTable, DerivedTable from loom.fields import RawField, DerivedField t1 = InputTable("main", "table_1", "Table 1", "t1") RawField(t1, "id", "Id") RawField(t1, "value", "Value") RawField(t1, "income", "Customer Income") t3 = InputTable("main", "table_1", "Table 1", "t3") RawField(t3...
34.952381
64
0.649864
ca0d6e949501a9ffb2556c5d406d3b3f90523bdb
733
py
Python
apps/events/migrations/0005_auto_20180312_1245.py
Strand94/WhatsMappening
92a297d531d0fd34940ec8b9ea035bbde00a1b24
[ "MIT" ]
null
null
null
apps/events/migrations/0005_auto_20180312_1245.py
Strand94/WhatsMappening
92a297d531d0fd34940ec8b9ea035bbde00a1b24
[ "MIT" ]
5
2018-05-14T18:18:20.000Z
2021-06-10T20:29:51.000Z
apps/events/migrations/0005_auto_20180312_1245.py
Strand94/WhatsMappening
92a297d531d0fd34940ec8b9ea035bbde00a1b24
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-03-12 11:45 import datetime import django.contrib.gis.db.models.fields from django.db import migrations, models from django.utils.timezone import utc
27.148148
110
0.630286
ca0e4a573e4beb9084a4edebdad43d34741fad4b
699
py
Python
whatsapp_spam.py
Akash1684/Research-Article-Downloader
131c5e2c5aaba1c5bf539533aebc1bdd91d0dc8e
[ "MIT" ]
2
2016-04-30T02:35:29.000Z
2020-10-11T23:20:08.000Z
whatsapp_spam.py
Akash1684/ScriptsPy
131c5e2c5aaba1c5bf539533aebc1bdd91d0dc8e
[ "MIT" ]
null
null
null
whatsapp_spam.py
Akash1684/ScriptsPy
131c5e2c5aaba1c5bf539533aebc1bdd91d0dc8e
[ "MIT" ]
null
null
null
#NOTE: for this script to work you have to first sign-in on Whatsapp web using QR code from splinter import Browser browser = Browser() browser.visit('https://web.whatsapp.com/') input('press enter to continue') #to make sure page is completely loaded count=20; friend_list=["friend 1","friend 2","friend 3"] #Wha...
34.95
86
0.712446
ca0f33c25bb900a4d060b63666c3fe78c4ccd55b
1,452
py
Python
dataloader/stereo_kittilist15.py
ne3x7/VCN
554a1c31f2f992754b945a7b912bd9a611212b76
[ "MIT" ]
148
2019-10-28T15:02:01.000Z
2022-03-16T07:14:46.000Z
dataloader/stereo_kittilist15.py
ne3x7/VCN
554a1c31f2f992754b945a7b912bd9a611212b76
[ "MIT" ]
23
2019-11-30T15:45:07.000Z
2021-12-07T07:16:51.000Z
dataloader/stereo_kittilist15.py
ne3x7/VCN
554a1c31f2f992754b945a7b912bd9a611212b76
[ "MIT" ]
24
2019-12-19T09:53:38.000Z
2022-01-22T01:33:02.000Z
import torch.utils.data as data import pdb from PIL import Image import os import os.path import numpy as np IMG_EXTENSIONS = [ '.jpg', '.JPG', '.jpeg', '.JPEG', '.png', '.PNG', '.ppm', '.PPM', '.bmp', '.BMP', ]
32.266667
153
0.686639
ca0f8935849a303fbba95f69b04309b363fb4396
283
py
Python
src/web.py
zmcx16/ChaldeaStockObservatory-Core
7e8a063961de7568c34f8e6c228757923e8c05cf
[ "MIT" ]
null
null
null
src/web.py
zmcx16/ChaldeaStockObservatory-Core
7e8a063961de7568c34f8e6c228757923e8c05cf
[ "MIT" ]
null
null
null
src/web.py
zmcx16/ChaldeaStockObservatory-Core
7e8a063961de7568c34f8e6c228757923e8c05cf
[ "MIT" ]
null
null
null
import requests from common import *
17.6875
49
0.64311
ca0fa23769829004e7ffb2c63d03ff9112e69e4d
837
py
Python
app/account/migrations/0009_relation.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
null
null
null
app/account/migrations/0009_relation.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
9
2020-07-09T15:29:48.000Z
2020-07-29T13:05:30.000Z
app/account/migrations/0009_relation.py
nabechin/article
63bbaaaa9c194cc259456c46d8c3ccd0f8ee10c1
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-03 11:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
34.875
158
0.658303
ca0fcb29069742111e8d36d38e53840689460bff
5,252
py
Python
FAUCovidCrawler/AWSKinesisAndFirehose/twitter_firehose.py
Awannaphasch2016/CDKFAUCovid19Cralwer
a84d90612314cb4d4618da95238617a524b1b280
[ "MIT" ]
null
null
null
FAUCovidCrawler/AWSKinesisAndFirehose/twitter_firehose.py
Awannaphasch2016/CDKFAUCovid19Cralwer
a84d90612314cb4d4618da95238617a524b1b280
[ "MIT" ]
null
null
null
FAUCovidCrawler/AWSKinesisAndFirehose/twitter_firehose.py
Awannaphasch2016/CDKFAUCovid19Cralwer
a84d90612314cb4d4618da95238617a524b1b280
[ "MIT" ]
null
null
null
import boto3 import json import time import sys from tweepy.streaming import StreamListener from tweepy import OAuthHandler from tweepy import Stream # Variables that contains the user credentials to access Twitter API consumer_key = 'M2dcKnRZGqBWTrPBXeefFHHjZ' consumer_secret = 'ktTB1WAJNsZBnKTddPqHMpzczj7ehZigXtN77Y...
41.03125
143
0.568165
ca100636e78fee4716c8b5ad386cbc5ad9e3f098
7,003
py
Python
pyzome/recipes.py
zdlawrence/pyzome
030dcf50ed81c0e3b6dd78e8889dfa713e733dfa
[ "BSD-3-Clause" ]
null
null
null
pyzome/recipes.py
zdlawrence/pyzome
030dcf50ed81c0e3b6dd78e8889dfa713e733dfa
[ "BSD-3-Clause" ]
null
null
null
pyzome/recipes.py
zdlawrence/pyzome
030dcf50ed81c0e3b6dd78e8889dfa713e733dfa
[ "BSD-3-Clause" ]
null
null
null
import xarray as xr from .basic import zonal_mean, zonal_wave_coeffs, zonal_wave_covariance def _print_if_true(msg, condition, **kwargs): r"""Simple utility function to print only if the given condition is True. Parameters ---------- msg : string The message to print condition : bool ...
36.664921
91
0.611738
ca109d2c472a3d2da14d8a528e40514f0d0fb90d
1,489
py
Python
invenio_records_lom/oai.py
fair-data-austria/invenio-records-lom
7cb9f9d07986ea3ea03f7289b53b38b29ad25cf8
[ "MIT" ]
null
null
null
invenio_records_lom/oai.py
fair-data-austria/invenio-records-lom
7cb9f9d07986ea3ea03f7289b53b38b29ad25cf8
[ "MIT" ]
null
null
null
invenio_records_lom/oai.py
fair-data-austria/invenio-records-lom
7cb9f9d07986ea3ea03f7289b53b38b29ad25cf8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2022 Graz University of Technology. # # invenio-records-lom is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """OAI-PMH serializers for LOM-records.""" from flask import current_app, g from inv...
35.452381
86
0.738079
ca1122f4acfb056bec2609b88ea6a3ab622c77e3
1,502
py
Python
data-storage-manager/src/simcore_service_dsm/rest/generated_code/models/error_model.py
mguidon/aiohttp-dsm
612e4c7f6f73df7d6752269965c428fda0276191
[ "MIT" ]
null
null
null
data-storage-manager/src/simcore_service_dsm/rest/generated_code/models/error_model.py
mguidon/aiohttp-dsm
612e4c7f6f73df7d6752269965c428fda0276191
[ "MIT" ]
null
null
null
data-storage-manager/src/simcore_service_dsm/rest/generated_code/models/error_model.py
mguidon/aiohttp-dsm
612e4c7f6f73df7d6752269965c428fda0276191
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from .base_model_ import Model from .. import util
23.107692
96
0.591877
ca1149a61f35d4b10edd3dbdbb804664c26bc31c
2,966
py
Python
tests/scheduler/test_server.py
kwisniewski98/workload-collocation-agent
003beec35c268542a8381728530a28347962e178
[ "Apache-2.0" ]
40
2019-05-16T16:42:33.000Z
2021-11-18T06:33:03.000Z
tests/scheduler/test_server.py
kwisniewski98/workload-collocation-agent
003beec35c268542a8381728530a28347962e178
[ "Apache-2.0" ]
72
2019-05-09T02:30:25.000Z
2020-11-17T09:24:44.000Z
tests/scheduler/test_server.py
isabella232/workload-collocation-agent
13b9b8e8a0734ec388c39406e12eae95a0bab194
[ "Apache-2.0" ]
26
2019-05-20T09:13:38.000Z
2021-12-15T17:57:21.000Z
# Copyright (c) 2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.268657
95
0.584289
ca11fa9644ad810eb55a169207597626e3fecd18
4,380
py
Python
ls4-maintenance/lambda_function.py
TNRIS/lambda-s4
50f42fdf474ccf89a1eef23dc021681cd2ec02ba
[ "MIT" ]
3
2018-07-12T14:17:00.000Z
2021-05-19T13:21:58.000Z
ls4-maintenance/lambda_function.py
TNRIS/lambda-s4
50f42fdf474ccf89a1eef23dc021681cd2ec02ba
[ "MIT" ]
8
2018-07-17T12:41:24.000Z
2020-01-06T13:50:01.000Z
ls4-maintenance/lambda_function.py
TNRIS/lambda-s4
50f42fdf474ccf89a1eef23dc021681cd2ec02ba
[ "MIT" ]
2
2019-04-22T16:10:20.000Z
2019-08-01T04:46:40.000Z
# --------------- IMPORTS --------------- import os import boto3 import psycopg2 # Database Connection Info database = os.environ.get('DB_NAME') username = os.environ.get('DB_USER') password = os.environ.get('DB_PASSWORD') host = os.environ.get('DB_HOST') port = os.environ.get('DB_PORT') bucket_name = os.environ.get('...
34.488189
123
0.61621
ca13483e057b5c3832eaa8c8bbd1c731f059f862
6,375
py
Python
compmech/stiffpanelbay/tests/test_stiffpanelbay.py
mrosemeier/compmech
f18f6d0471c72b26a3b014d2df41df3463505eae
[ "BSD-3-Clause" ]
4
2019-02-05T06:12:12.000Z
2022-03-25T14:41:18.000Z
compmech/stiffpanelbay/tests/test_stiffpanelbay.py
mrosemeier/compmech
f18f6d0471c72b26a3b014d2df41df3463505eae
[ "BSD-3-Clause" ]
null
null
null
compmech/stiffpanelbay/tests/test_stiffpanelbay.py
mrosemeier/compmech
f18f6d0471c72b26a3b014d2df41df3463505eae
[ "BSD-3-Clause" ]
2
2019-06-05T07:19:35.000Z
2020-12-29T00:22:18.000Z
import numpy as np from compmech.stiffpanelbay import StiffPanelBay from compmech.analysis import freq, lb
32.860825
78
0.583059
ca13cd70000bf83f234b4a5745e0f78ca209c481
3,555
py
Python
pysnmp/CISCO-CAS-IF-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-CAS-IF-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-CAS-IF-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-CAS-IF-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-CAS-IF-CAPABILITY # Produced by pysmi-0.3.4 at Mon Apr 29 17:35:01 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
101.571429
477
0.775527
ca154ceb7b1f3b5bd93f193d03d7365e79705c0d
1,747
py
Python
Pyrado/scripts/sandbox/sb_cpp_policy.py
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
Pyrado/scripts/sandbox/sb_cpp_policy.py
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
Pyrado/scripts/sandbox/sb_cpp_policy.py
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
""" Script to export a PyTorch-based Pyrado policy to C++ """ import numpy as np import torch as to from rcsenv import ControlPolicy from pyrado.policies.linear import LinearPolicy from pyrado.policies.rnn import RNNPolicy from pyrado.spaces.box import BoxSpace from pyrado.utils.data_types import EnvSpec from pyrado.p...
27.296875
99
0.660561
ca1640cb36e8508b709a757b26bcba202a1dc770
9,542
py
Python
dataLoader.py
klanita/sigoat
941552227639edf38e9b5b745848160ae83f451a
[ "MIT" ]
1
2022-03-30T11:31:28.000Z
2022-03-30T11:31:28.000Z
dataLoader.py
klanita/sigoat
941552227639edf38e9b5b745848160ae83f451a
[ "MIT" ]
null
null
null
dataLoader.py
klanita/sigoat
941552227639edf38e9b5b745848160ae83f451a
[ "MIT" ]
null
null
null
import os import math import numpy as np from scipy.sparse import random from scipy.stats import rv_continuous from functools import reduce from operator import __add__ from torch.utils.data import Dataset from scipy.sparse.linalg import lsqr import torch import h5py from torchvision.utils import make_grid import scipy...
37.128405
94
0.621987
ca18ac3866f1cf610758613884c2240e50862298
2,776
py
Python
fwd9m/utils.py
MFreidank/tensorflow-determinism
4194f2ea4e453c0024b621f2db1ae7aa953b6f3e
[ "Apache-2.0" ]
null
null
null
fwd9m/utils.py
MFreidank/tensorflow-determinism
4194f2ea4e453c0024b621f2db1ae7aa953b6f3e
[ "Apache-2.0" ]
null
null
null
fwd9m/utils.py
MFreidank/tensorflow-determinism
4194f2ea4e453c0024b621f2db1ae7aa953b6f3e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 NVIDIA Corporation. All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
38.027397
94
0.707853
ca18ace5f10b1c7df64cf4e65c93a3bcd9d3f0c0
980
py
Python
blog/admin.py
DongQinglin/djangoblog
e514af57bae9dbca76e783ada6b5921d47ec7f91
[ "Apache-2.0" ]
null
null
null
blog/admin.py
DongQinglin/djangoblog
e514af57bae9dbca76e783ada6b5921d47ec7f91
[ "Apache-2.0" ]
null
null
null
blog/admin.py
DongQinglin/djangoblog
e514af57bae9dbca76e783ada6b5921d47ec7f91
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Banner, ArticleTag, ArticleKind, Article, Link, Recommend # Register your models here.
30.625
95
0.709184
ca19502a1cceb17f754e2906fb093b11b8434812
2,136
py
Python
simulation/model/blocks/order.py
fladdimir/csa-simulation-based-sc-forecast
80f176a783496f8859609f63b56c6199a73d9909
[ "MIT" ]
2
2020-11-04T17:34:38.000Z
2021-08-13T07:55:23.000Z
simulation/model/blocks/order.py
fladdimir/csa-simulation-based-sc-forecast
80f176a783496f8859609f63b56c6199a73d9909
[ "MIT" ]
null
null
null
simulation/model/blocks/order.py
fladdimir/csa-simulation-based-sc-forecast
80f176a783496f8859609f63b56c6199a73d9909
[ "MIT" ]
2
2021-05-28T02:55:44.000Z
2021-08-03T13:56:10.000Z
import logging from casymda.blocks.entity import Entity from simpy.core import Environment
25.428571
86
0.623596
ca1a6601d27b0c4080c8e49d3479cde90495b17a
8,683
py
Python
tests/delta.py
hiidef/hiispider
ba2b55cc72261cd360935992ab2e8196ac6a1278
[ "MIT" ]
2
2015-08-30T02:38:09.000Z
2019-11-12T20:52:41.000Z
tests/delta.py
hiidef/hiispider
ba2b55cc72261cd360935992ab2e8196ac6a1278
[ "MIT" ]
null
null
null
tests/delta.py
hiidef/hiispider
ba2b55cc72261cd360935992ab2e8196ac6a1278
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for delta functions.""" from unittest import TestCase from hiispider import delta from pprint import pprint import os import random import time from datetime import datetime from hiiguid import HiiGUID srt = lambda l: list(sorted(l)) DATAPATH = os.path.abspath(...
44.528205
119
0.51906
ca1b33f1761aee624e65eaf607ff19f8c67a3f44
1,424
py
Python
src/advisor/naive_comment_parser.py
arm-hpc/porting-advisor
c21567d7ecb56da5ee24d56a0dee7776818512dc
[ "Apache-2.0" ]
13
2019-04-03T11:00:07.000Z
2021-11-26T18:56:28.000Z
src/advisor/naive_comment_parser.py
AGSaidi/porting-advisor
c21567d7ecb56da5ee24d56a0dee7776818512dc
[ "Apache-2.0" ]
3
2020-02-28T15:40:08.000Z
2020-10-29T12:03:26.000Z
src/advisor/naive_comment_parser.py
AGSaidi/porting-advisor
c21567d7ecb56da5ee24d56a0dee7776818512dc
[ "Apache-2.0" ]
8
2018-09-07T14:27:29.000Z
2022-03-17T21:34:01.000Z
""" Copyright 2018 Arm Ltd. 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 distribut...
29.061224
72
0.601826
ca1b5eb38de0a406ce502a3a1fd87938d360c350
3,498
py
Python
python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-python-containers_dictionary.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-python-containers_dictionary.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-python-containers_dictionary.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CS231n Convolutional Neural Networks for Visual Recognition http://cs231n.github.io/ Python Numpy Tutorial http://cs231n.github.io/python-numpy-tutorial/ python_numpy_tutorial-python-containers_dictionary.py 2019-07-03 (Wed) """ # Python Numpy Tutorial > Python > Co...
26.70229
81
0.636078
ca1d0fa7490d07f7a431441db71fda1814da31a8
240
py
Python
src/textacy/extract/keyterms/__init__.py
austinjp/textacy
dddfdbf0e0ab3bf756bc4eda042eab1001aac709
[ "Apache-2.0" ]
1,929
2016-02-14T08:30:38.000Z
2022-03-31T03:00:35.000Z
src/textacy/extract/keyterms/__init__.py
austinjp/textacy
dddfdbf0e0ab3bf756bc4eda042eab1001aac709
[ "Apache-2.0" ]
304
2016-02-18T15:52:22.000Z
2022-03-31T18:06:54.000Z
src/textacy/extract/keyterms/__init__.py
austinjp/textacy
dddfdbf0e0ab3bf756bc4eda042eab1001aac709
[ "Apache-2.0" ]
285
2016-03-20T04:25:08.000Z
2022-03-24T11:31:17.000Z
""" Keyterms -------- :mod:`textacy.extract.keyterms`: Extract keyterms from documents using a variety of rule-based algorithms. """ from .scake import scake from .sgrank import sgrank from .textrank import textrank from .yake import yake
20
83
0.754167
ca1d1d1ad2aabac71b62ff71ca67d7873897cc7c
207
py
Python
CursoEmVideo/Python/Mundo1/ex003 - somando dois numeros.py
Rodrigofsiqueira/Estudo
3b56ed3f60d0dd62c5531e1bf3bd53308646c722
[ "MIT" ]
null
null
null
CursoEmVideo/Python/Mundo1/ex003 - somando dois numeros.py
Rodrigofsiqueira/Estudo
3b56ed3f60d0dd62c5531e1bf3bd53308646c722
[ "MIT" ]
null
null
null
CursoEmVideo/Python/Mundo1/ex003 - somando dois numeros.py
Rodrigofsiqueira/Estudo
3b56ed3f60d0dd62c5531e1bf3bd53308646c722
[ "MIT" ]
null
null
null
valor1 = int(input('Digite o primeiro valor a ser somado: ')) valor2 = int(input('Digite o segundo valor: ')) soma = valor1 + valor2 print('A soma entre {} e {} igual a {}.'.format(valor1, valor2, soma))
34.5
72
0.666667