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
338b47629bf7031021974abb8c0b90be4d32aca3
10,457
py
Python
recursive_knn/evaluation.py
tseste/Recursive-K-Nearest-Neighbors
5e35c643dc8c530102554492c56bfcf05b242298
[ "Apache-2.0" ]
1
2022-02-06T16:08:44.000Z
2022-02-06T16:08:44.000Z
recursive_knn/evaluation.py
tseste/Recursive-K-Nearest-Neighbors
5e35c643dc8c530102554492c56bfcf05b242298
[ "Apache-2.0" ]
null
null
null
recursive_knn/evaluation.py
tseste/Recursive-K-Nearest-Neighbors
5e35c643dc8c530102554492c56bfcf05b242298
[ "Apache-2.0" ]
null
null
null
"""Evaluators for the recommender model.""" import numpy as np import pandas as pd def rmsue(self, group_by, test_file=None, pred_file=None, r_test_file=None, r_pred_file=None): """Compute and write rmsue and recursive rmsue of the predictions.""" if test_file and pred_file: ...
49.093897
79
0.573396
338be541f52d9a06d46fa449b50022083cb76cc6
7,465
py
Python
SupportFiles/DataStore.py
Esri/ops-server-config
5768cf45eb9e9aeba0f68c15cdd452287b8af746
[ "Apache-2.0" ]
40
2015-01-13T14:15:00.000Z
2021-11-28T21:22:09.000Z
SupportFiles/DataStore.py
Esri/ops-server-config
5768cf45eb9e9aeba0f68c15cdd452287b8af746
[ "Apache-2.0" ]
919
2015-01-13T13:39:01.000Z
2020-05-26T23:00:08.000Z
SupportFiles/DataStore.py
Esri/ops-server-config
5768cf45eb9e9aeba0f68c15cdd452287b8af746
[ "Apache-2.0" ]
19
2015-01-12T23:49:04.000Z
2017-11-03T20:58:47.000Z
#!/usr/bin/env python #------------------------------------------------------------------------------ # Copyright 2014 Esri # 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.apac...
39.08377
166
0.674481
338c0d32d73279205660cc399fdf740c48040908
180
py
Python
farmers/admin.py
qinyanjuidavid/Raki
2bca3e6a6f410619c699be8c45cd2cad8aa08e0c
[ "MIT" ]
null
null
null
farmers/admin.py
qinyanjuidavid/Raki
2bca3e6a6f410619c699be8c45cd2cad8aa08e0c
[ "MIT" ]
null
null
null
farmers/admin.py
qinyanjuidavid/Raki
2bca3e6a6f410619c699be8c45cd2cad8aa08e0c
[ "MIT" ]
null
null
null
from django.contrib import admin from farmers.models import ProductCategory from accounts.models import Product admin.site.register(ProductCategory) admin.site.register(Product)
22.5
42
0.85
338c93743bd1e61375a780236ff4f85d60b88ab1
518
py
Python
python/comTest.py
BYU-ELC/StalkerCar
a5681ea7e4f87ab24a70ac69d89c4f095fa4ab8c
[ "MIT" ]
null
null
null
python/comTest.py
BYU-ELC/StalkerCar
a5681ea7e4f87ab24a70ac69d89c4f095fa4ab8c
[ "MIT" ]
null
null
null
python/comTest.py
BYU-ELC/StalkerCar
a5681ea7e4f87ab24a70ac69d89c4f095fa4ab8c
[ "MIT" ]
1
2021-05-20T22:46:34.000Z
2021-05-20T22:46:34.000Z
import serial import time import struct if __name__ == "__main__": main()
18.5
45
0.559846
338c9535d561db6ca060d229712697b437641c99
25
py
Python
tests/__init__.py
Edward-Knight/option6
2948695eb8ff1b22fa2ce9c04f85b736bc98d8c2
[ "MIT" ]
1
2021-02-08T23:20:59.000Z
2021-02-08T23:20:59.000Z
tests/__init__.py
Edward-Knight/option6
2948695eb8ff1b22fa2ce9c04f85b736bc98d8c2
[ "MIT" ]
1
2021-02-09T10:51:23.000Z
2021-02-09T10:51:23.000Z
tests/__init__.py
Edward-Knight/option6
2948695eb8ff1b22fa2ce9c04f85b736bc98d8c2
[ "MIT" ]
null
null
null
"""Tests for option6."""
12.5
24
0.6
338cf86ec7a4e1f1f89c0508d51c1f20e29168e9
6,865
py
Python
basalt_utils/src/basalt_utils/sb3_compat/cnns.py
viniciusguigo/kairos_minerl_basalt
8f76e1d293dbcf62653ed3f7f326bd090a0af6f0
[ "MIT" ]
26
2021-12-07T09:52:06.000Z
2022-03-13T20:08:44.000Z
basalt_utils/src/basalt_utils/sb3_compat/cnns.py
viniciusguigo/kairos_minerl_basalt
8f76e1d293dbcf62653ed3f7f326bd090a0af6f0
[ "MIT" ]
null
null
null
basalt_utils/src/basalt_utils/sb3_compat/cnns.py
viniciusguigo/kairos_minerl_basalt
8f76e1d293dbcf62653ed3f7f326bd090a0af6f0
[ "MIT" ]
2
2021-12-11T18:29:26.000Z
2022-01-12T18:46:42.000Z
import torch from torch import nn from torchvision.models.resnet import BasicBlock as BasicResidualBlock from stable_baselines3.common.preprocessing import preprocess_obs NETWORK_ARCHITECTURE_DEFINITIONS = { 'BasicCNN': [ {'out_dim': 32, 'kernel_size': 8, 'stride': 4}, {'out_dim': 64, 'ker...
39.682081
115
0.549745
338d83b7371c778eb8246ad2bf2e81f4adcd89e3
540
py
Python
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
2
2022-01-26T07:34:44.000Z
2022-03-29T19:51:45.000Z
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
null
null
null
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. from core.interfaces.task import Task from core.utils.constants import Constants
25.714286
97
0.709259
338f0a2db55b72cc006a86c0ed71c0ac219d23d4
208
py
Python
round-2/02_non-decreasing-digits.py
deshmukhmayur/tcs-codevita6-round1
975bd639b187fa6897d2acf58611a7e793b4072d
[ "MIT" ]
null
null
null
round-2/02_non-decreasing-digits.py
deshmukhmayur/tcs-codevita6-round1
975bd639b187fa6897d2acf58611a7e793b4072d
[ "MIT" ]
null
null
null
round-2/02_non-decreasing-digits.py
deshmukhmayur/tcs-codevita6-round1
975bd639b187fa6897d2acf58611a7e793b4072d
[ "MIT" ]
1
2020-06-11T17:44:22.000Z
2020-06-11T17:44:22.000Z
''' Numbers with non-decreasing digits ''' N = int(input().strip()) i = N while i > 0: digits = list(str(i)) if digits == sorted(digits): print(i) break i -= 1 else: print(i)
13.866667
34
0.528846
33905ae40451741da5c46e95e498c29dec6bfbfa
499
py
Python
tests/test_util.py
EJEmmett/functimer
1ab5f996947e0cfa0ac3a62490d451fa7277170b
[ "MIT" ]
1
2021-04-22T05:37:38.000Z
2021-04-22T05:37:38.000Z
tests/test_util.py
EJEmmett/functimer
1ab5f996947e0cfa0ac3a62490d451fa7277170b
[ "MIT" ]
1
2021-05-12T05:24:23.000Z
2021-05-12T05:24:23.000Z
tests/test_util.py
EJEmmett/functimer
1ab5f996947e0cfa0ac3a62490d451fa7277170b
[ "MIT" ]
2
2021-04-22T19:06:47.000Z
2021-05-07T01:05:52.000Z
import pytest from functimer import Unit, get_unit
22.681818
87
0.627255
33913e22e191281d606b63b42006c5680fa71cd5
1,713
py
Python
services/core-api/app/api/now_applications/models/state_of_land.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
services/core-api/app/api/now_applications/models/state_of_land.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
services/core-api/app/api/now_applications/models/state_of_land.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.schema import FetchedValue from sqlalchemy.ext.associationproxy import association_proxy from app.api.utils.models_mixins import Base from app.extensions import db from app.api.constants import *
42.825
99
0.781086
33914240e2f08e4c90bdfd6dc63f3281d766e6db
2,118
py
Python
tests/scree_clean.py
scicubator/countGauss
7e744c3de1de342d72ef10da76c0c3b4605d70d4
[ "BSD-2-Clause" ]
null
null
null
tests/scree_clean.py
scicubator/countGauss
7e744c3de1de342d72ef10da76c0c3b4605d70d4
[ "BSD-2-Clause" ]
null
null
null
tests/scree_clean.py
scicubator/countGauss
7e744c3de1de342d72ef10da76c0c3b4605d70d4
[ "BSD-2-Clause" ]
null
null
null
from __future__ import division import numpy as np import pylab as plt from collections import Counter from fcube.fcube import countGauss_projection import pickle if __name__ == '__main__': m = 500 n = 1000 nList = range(5, 50, 1) maxiter = [0.1 * x + 1 for x in np.arange(50)] R = 100 suc...
26.148148
77
0.567989
33915e863355adfd8513a6d2e255775deb45bc7f
2,151
py
Python
mysite/urls.py
reven-tang/ITMP
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
[ "BSD-2-Clause" ]
null
null
null
mysite/urls.py
reven-tang/ITMP
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
[ "BSD-2-Clause" ]
11
2020-06-05T19:40:52.000Z
2022-03-11T23:38:17.000Z
mysite/urls.py
reven-tang/ITMP
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
[ "BSD-2-Clause" ]
null
null
null
"""mysite 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-based ...
38.410714
92
0.694561
33917df8bb8c466c8ba78fdbfec2000af41b6daa
295
py
Python
output/models/ms_data/particles/particles_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/particles/particles_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/particles/particles_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.particles.particles_r020_xsd.particles_r020 import ( B, R, Doc, ) from output.models.ms_data.particles.particles_r020_xsd.particles_r020_imp import ( ImpElem1, ImpElem2, ) __all__ = [ "B", "R", "Doc", "ImpElem1", "ImpElem2", ]
16.388889
83
0.654237
3394941e3268a64cf5954ed9a5f7931c7cb4e39a
502
py
Python
basiclive/core/lims/migrations/0045_auto_20191231_1956.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
null
null
null
basiclive/core/lims/migrations/0045_auto_20191231_1956.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
1
2020-12-03T15:27:09.000Z
2020-12-03T15:27:09.000Z
basiclive/core/lims/migrations/0045_auto_20191231_1956.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
1
2021-09-28T21:06:09.000Z
2021-09-28T21:06:09.000Z
# Generated by Django 3.0.1 on 2020-01-01 01:56 from django.db import migrations, models
26.421053
172
0.603586
33956487d1a7473e4e9523d340a69d50a0cca0c9
5,303
py
Python
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
3
2019-07-03T13:10:21.000Z
2020-01-09T10:34:12.000Z
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
null
null
null
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
1
2021-11-08T18:53:12.000Z
2021-11-08T18:53:12.000Z
#-*-coding:utf8;-*- import re from random import choice
44.191667
77
0.51518
3396be485614286e00e27c90f1b8e8de4bc1c013
1,217
py
Python
migrations/0017_auto_20170404_1023.py
gtoffoli/commons-cops
e4b1f556c550e25bb2e6a9eabe8db963877c08d3
[ "MIT" ]
5
2016-11-13T02:41:02.000Z
2020-01-20T10:01:26.000Z
migrations/0017_auto_20170404_1023.py
gtoffoli/commons
8b51a08a37c6d0b38fd4ecde82c20036c2dc168f
[ "MIT" ]
null
null
null
migrations/0017_auto_20170404_1023.py
gtoffoli/commons
8b51a08a37c6d0b38fd4ecde82c20036c2dc168f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
40.566667
393
0.646672
33970f006ffccfa842f4d3fd1b3f034367fb3e03
1,827
py
Python
tools/kv_seek_account_history.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
3
2020-09-16T14:47:58.000Z
2021-03-08T13:26:40.000Z
tools/kv_seek_account_history.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
null
null
null
tools/kv_seek_account_history.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
1
2021-03-15T11:02:08.000Z
2021-03-15T11:02:08.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """The kv_seek_account_history command allows to query the KV 'History of Accounts' table.""" import argparse import context # pylint: disable=unused-import from silksnake.helpers.dbutils import tables from silksnake.remote import kv_metadata from silksnake.remote import...
44.560976
120
0.732348
3397df0d3ea3148ec7c1c0a5b963316189d8f5a8
790
py
Python
fundamentals/sensors/dht11.py
etech-sw/iot-labs
7d5fe9b096ddeca769cbea35119a744cebefacb4
[ "MIT" ]
null
null
null
fundamentals/sensors/dht11.py
etech-sw/iot-labs
7d5fe9b096ddeca769cbea35119a744cebefacb4
[ "MIT" ]
null
null
null
fundamentals/sensors/dht11.py
etech-sw/iot-labs
7d5fe9b096ddeca769cbea35119a744cebefacb4
[ "MIT" ]
null
null
null
#! /usr/bin/env python # Sample Demo program to interface with the DHT11 # Created by Etech-SW import adafruit_dht import board import time dhtSensor = adafruit_dht.DHT11(board.D4) try: while True: try: humidity = dhtSensor.humidity temp_c = dhtSensor.temperature temp_f = temp_c * (9 / 5) + 32 print(...
21.351351
88
0.643038
3398a39589c44cb218330153bc2c034273d76a03
18,460
py
Python
bokeh/view_files_bokeh_jupyter.py
alexnaoki/EC-LHC
5efb4647ae88156c94eaa59ab8304a9433155977
[ "MIT" ]
2
2021-04-04T16:04:18.000Z
2021-04-29T18:21:10.000Z
bokeh/view_files_bokeh_jupyter.py
alexnaoki/EC-LHC
5efb4647ae88156c94eaa59ab8304a9433155977
[ "MIT" ]
null
null
null
bokeh/view_files_bokeh_jupyter.py
alexnaoki/EC-LHC
5efb4647ae88156c94eaa59ab8304a9433155977
[ "MIT" ]
null
null
null
import ipywidgets import numpy as np import pandas as pd import pathlib from scipy.stats import linregress from bokeh.io import push_notebook, show, output_notebook from bokeh.plotting import figure from bokeh.models import ColumnDataSource, RangeTool, Circle, Slope, Label, Legend, LegendItem, LinearColorMapper from bo...
53.819242
395
0.605146
339936181114473bdbde659c33ee962d60edd775
1,115
py
Python
plot.py
lcesquivel10/ejercicio-13-14-lcesquivel10-
6756d9f6391c64a2eaf8f97a49088e2b519d783c
[ "MIT" ]
null
null
null
plot.py
lcesquivel10/ejercicio-13-14-lcesquivel10-
6756d9f6391c64a2eaf8f97a49088e2b519d783c
[ "MIT" ]
null
null
null
plot.py
lcesquivel10/ejercicio-13-14-lcesquivel10-
6756d9f6391c64a2eaf8f97a49088e2b519d783c
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt DATA_14 = np.loadtxt("Poincare_1.400000.dat") DATA_144 = np.loadtxt("Poincare_1.440000.dat") DATA_1465 = np.loadtxt("Poincare_1.465000.dat") Omega_14 = DATA_14[:,[0,0]] Theta_14 = DATA_14[:,[1,1]] time_14 = DATA_14[:,[2,2]] Omega_144 = DATA_144[:,[0,0]]...
23.229167
48
0.686099
339a53d4f6fa3fd905d716af13d24b3cd89cc1f5
614
py
Python
biblib/views/__init__.py
nemanjamart/biblib-service
7c5c57a678b7dffdafd6550cde13d8b3dd610d46
[ "MIT" ]
4
2017-02-25T19:44:42.000Z
2019-06-24T15:43:12.000Z
biblib/views/__init__.py
nemanjamart/biblib-service
7c5c57a678b7dffdafd6550cde13d8b3dd610d46
[ "MIT" ]
107
2015-05-14T17:34:08.000Z
2022-03-29T14:07:33.000Z
biblib/views/__init__.py
nemanjamart/biblib-service
7c5c57a678b7dffdafd6550cde13d8b3dd610d46
[ "MIT" ]
11
2015-05-13T19:22:38.000Z
2022-02-03T17:29:34.000Z
""" Place holder for the views. The current views file would be too large and can get annoying to scroll when reading the source code. """ # Constant definitions DEFAULT_LIBRARY_NAME_PREFIX = 'Untitled Library' DEFAULT_LIBRARY_DESCRIPTION = 'My ADS library' USER_ID_KEYWORD = 'X-Adsws-Uid' from .base_view import BaseVi...
36.117647
77
0.832248
339a81a0255bdf3a1fa6edb8c4f81f8eb4bca8c0
101
py
Python
scripts/portal/profession11.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
9
2021-04-26T11:59:29.000Z
2021-12-20T13:15:27.000Z
scripts/portal/profession11.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/portal/profession11.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
6
2021-07-14T06:32:05.000Z
2022-02-06T02:32:56.000Z
# Herb Town (251000000) => Ardentmill sm.setReturnField() sm.setReturnPortal() sm.warp(910001000, 6)
20.2
37
0.752475
339ac37d7664917be8732e0d113fe2befac05d73
1,153
py
Python
zxc.py
AlexMcArrow/zxc
061a2be2d9d3b4ab3de3cb19d31ade6e9b8e1f85
[ "MIT" ]
null
null
null
zxc.py
AlexMcArrow/zxc
061a2be2d9d3b4ab3de3cb19d31ade6e9b8e1f85
[ "MIT" ]
null
null
null
zxc.py
AlexMcArrow/zxc
061a2be2d9d3b4ab3de3cb19d31ade6e9b8e1f85
[ "MIT" ]
null
null
null
#!/usr/local/bin/python import os import sys import signal global version, command_list version = "0.0.1" command_list = { 'exit': {'run': 'cl_exit', 'info': 'Exit from ZXC-shell'}, 'help': {'run': 'cl_help', 'info': 'Show help page'} } if __name__ == '__main__': original_sigint = signal.getsign...
20.963636
80
0.585429
339ba2d3a11f75dfeb2cbc077b4331d86e729ee7
2,292
py
Python
pubsub/google/cloud/pubsub_v1/subscriber/_helper_threads.py
MatiasApi/CourseBV11
7a291238d5b0879e97acdabe037afaf1b0b7d60b
[ "Apache-2.0" ]
2
2018-02-01T06:30:24.000Z
2018-04-12T15:39:56.000Z
pubsub/google/cloud/pubsub_v1/subscriber/_helper_threads.py
MatiasApi/CourseBV11
7a291238d5b0879e97acdabe037afaf1b0b7d60b
[ "Apache-2.0" ]
7
2020-03-24T15:50:06.000Z
2021-06-08T19:57:39.000Z
pubsub/google/cloud/pubsub_v1/subscriber/_helper_threads.py
MatiasApi/CourseBV11
7a291238d5b0879e97acdabe037afaf1b0b7d60b
[ "Apache-2.0" ]
1
2018-09-19T05:55:27.000Z
2018-09-19T05:55:27.000Z
# Copyright 2017, Google LLC All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
33.217391
76
0.653141
339c1f600d7f4334f4115d74c3d7300b5e97c507
2,918
py
Python
Aulas/Módulos_Python/Pillow-Redimensionando_varias_imagens_automaticamente/app.py
edersonhs/Python3_Basico_Ao_Avancado
a15754a6fbca407d5a7a7ed4116c2710b4635594
[ "MIT" ]
null
null
null
Aulas/Módulos_Python/Pillow-Redimensionando_varias_imagens_automaticamente/app.py
edersonhs/Python3_Basico_Ao_Avancado
a15754a6fbca407d5a7a7ed4116c2710b4635594
[ "MIT" ]
null
null
null
Aulas/Módulos_Python/Pillow-Redimensionando_varias_imagens_automaticamente/app.py
edersonhs/Python3_Basico_Ao_Avancado
a15754a6fbca407d5a7a7ed4116c2710b4635594
[ "MIT" ]
null
null
null
""" Pillow - Mdulo python com diversas funes para manipular imagens """ import os from PIL import Image # Importando o Pillow if __name__ == '__main__': main_images_folder = r'C:\Users\eders\OneDrive\Desktop\Pictures' main(main_images_folder, 640)
42.911765
120
0.594928
339d7b0cb0ef6b311050d45855e1289f86442cca
47
py
Python
hello.py
ydeath/Hello
147d2f36599cfa45dddf621d5b0a6c43a156d72b
[ "MIT" ]
null
null
null
hello.py
ydeath/Hello
147d2f36599cfa45dddf621d5b0a6c43a156d72b
[ "MIT" ]
null
null
null
hello.py
ydeath/Hello
147d2f36599cfa45dddf621d5b0a6c43a156d72b
[ "MIT" ]
null
null
null
print("") add()
5.875
14
0.510638
339de6a85f644b9eef18049dc419cf13ca337bcc
2,244
py
Python
morpheus_core/tests/helpers.py
morpheus-project/morpheus-framework
7aa93f0c14bf33718026eb0a6ea0cfd5dcb8905e
[ "MIT" ]
null
null
null
morpheus_core/tests/helpers.py
morpheus-project/morpheus-framework
7aa93f0c14bf33718026eb0a6ea0cfd5dcb8905e
[ "MIT" ]
2
2020-12-12T07:49:18.000Z
2021-02-19T06:08:46.000Z
morpheus_core/tests/helpers.py
morpheus-project/morpheus-framework
7aa93f0c14bf33718026eb0a6ea0cfd5dcb8905e
[ "MIT" ]
null
null
null
# MIT License # Copyright 2020 Ryan Hausen # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publis...
30.324324
83
0.675579
339f1367bb18969ae77f9bd1b8128ef049276813
11,456
py
Python
healthSuggestionsServer/healthSuggestions/migrations/0001_initial.py
tiagoaf5/HealthSuggestions
37fb892e2d568e36b62f41b1898329852e3e3d81
[ "Apache-2.0" ]
null
null
null
healthSuggestionsServer/healthSuggestions/migrations/0001_initial.py
tiagoaf5/HealthSuggestions
37fb892e2d568e36b62f41b1898329852e3e3d81
[ "Apache-2.0" ]
null
null
null
healthSuggestionsServer/healthSuggestions/migrations/0001_initial.py
tiagoaf5/HealthSuggestions
37fb892e2d568e36b62f41b1898329852e3e3d81
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone
44.23166
123
0.5625
339fba9fb9d40d9ccf925b4d2e2cfb5e809276fb
2,115
py
Python
ni_python_styleguide/_utils/string_helpers.py
ni/ni-python-styleguide
abad986d4fe4c0fbcdce957c5cbc50abcc88937d
[ "MIT" ]
4
2020-07-13T16:10:37.000Z
2020-07-24T01:59:30.000Z
ni_python_styleguide/_utils/string_helpers.py
ni/ni-python-styleguide
abad986d4fe4c0fbcdce957c5cbc50abcc88937d
[ "MIT" ]
6
2020-07-07T21:04:21.000Z
2020-07-27T20:51:13.000Z
ni_python_styleguide/_utils/string_helpers.py
ni/ni-python-styleguide
abad986d4fe4c0fbcdce957c5cbc50abcc88937d
[ "MIT" ]
2
2020-07-07T20:56:43.000Z
2020-07-27T12:24:00.000Z
import pathlib from typing import List, Optional import ni_python_styleguide._utils
36.465517
99
0.615603
339fd5019bcf3e66f6989dfa1432c8cae6fca4a6
335
py
Python
Chapter 01/Chap01_Example1.128.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.128.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.128.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
x = [1,2,3,4] b1 = bytes(x) print(b1) # --- BY1 print(type(b1)) # --- BY2 print(b1[1]) # --- BY3 print(b1[-3]) # --- BY4 for i in b1: print(i) # --- BY5 size1 = 3 arr1 = bytes(size1) print(arr1)# --- BY6 st1 = "Python is interesting." # string with encoding 'utf-8' arr2 = bytes(st1, 'utf-8') print...
19.705882
31
0.537313
33a03729db5cacd804492efa6480f629af44b442
2,454
py
Python
tests/unit/test_format_control.py
rogerhil/pip
7616583dbb2dcbda5a19d78873642d6751fbf017
[ "MIT" ]
7,089
2015-01-01T10:48:04.000Z
2022-03-31T08:47:02.000Z
tests/unit/test_format_control.py
rogerhil/pip
7616583dbb2dcbda5a19d78873642d6751fbf017
[ "MIT" ]
8,417
2015-01-01T13:03:16.000Z
2022-03-31T17:40:27.000Z
tests/unit/test_format_control.py
rogerhil/pip
7616583dbb2dcbda5a19d78873642d6751fbf017
[ "MIT" ]
2,663
2015-01-02T04:02:12.000Z
2022-03-30T02:30:46.000Z
from optparse import Values from typing import FrozenSet, List, Set import pytest from pip._internal.cli import cmdoptions from pip._internal.cli.base_command import Command from pip._internal.cli.status_codes import SUCCESS from pip._internal.models.format_control import FormatControl
33.162162
87
0.662184
33a046627ebe9b3fc3a1aedef6dc7d98597fd36f
1,742
py
Python
test/test_files/function_test.py
Accruent/robotframework-historic-parser
07b0c551167a9e4cd8a0450e42d59865075f288e
[ "MIT" ]
null
null
null
test/test_files/function_test.py
Accruent/robotframework-historic-parser
07b0c551167a9e4cd8a0450e42d59865075f288e
[ "MIT" ]
31
2021-04-12T11:23:52.000Z
2022-03-31T13:51:36.000Z
test/test_files/function_test.py
Accruent/robotframework-historic-parser
07b0c551167a9e4cd8a0450e42d59865075f288e
[ "MIT" ]
null
null
null
"""Unit tests for functions used in Robot Framework Historic Parser""" import os import sys import unittest from unittest.mock import patch from robotframework_historic_parser.parserargs import parse_options from robotframework_historic_parser.rfhistoricparser import get_time_in_min, rfhistoric_parser ROOT_PATH = os....
39.590909
96
0.703215
33a083ea109985fd4ee17df5e384f1dd2fed888a
7,984
py
Python
8-puzzle_Solver.py
koyalbhartia/8-Puzzle-Solver
40a95a879278a8e5a673dbe36fe27121b639079c
[ "MIT" ]
null
null
null
8-puzzle_Solver.py
koyalbhartia/8-Puzzle-Solver
40a95a879278a8e5a673dbe36fe27121b639079c
[ "MIT" ]
null
null
null
8-puzzle_Solver.py
koyalbhartia/8-Puzzle-Solver
40a95a879278a8e5a673dbe36fe27121b639079c
[ "MIT" ]
null
null
null
# # Copyright 2019 Koyal Bhartia # @file 8-puzzle solver.py # @author Koyal Bhartia # @date 26/02/2019 # @version 1.0 # # @brief This is the code to solve the 8-puzzle # # @Description This code has functions which returns all the possible paths that can be # traversed given any goal matrix. Given any inpu...
32.587755
135
0.602204
33a08dcd91bbe763d87b01062553bff707b8c79e
498
py
Python
dev/python/2019-07-15 memtest.py
konung-yaropolk/pyABF
b5620e73ac5d060129b844da44f8b2611536ac56
[ "MIT" ]
74
2017-11-06T17:53:48.000Z
2022-03-27T12:14:46.000Z
dev/python/2019-07-15 memtest.py
konung-yaropolk/pyABF
b5620e73ac5d060129b844da44f8b2611536ac56
[ "MIT" ]
116
2018-01-16T21:36:29.000Z
2022-03-31T11:46:04.000Z
dev/python/2019-07-15 memtest.py
konung-yaropolk/pyABF
b5620e73ac5d060129b844da44f8b2611536ac56
[ "MIT" ]
30
2018-06-28T13:19:53.000Z
2022-03-25T02:52:48.000Z
""" Refactor the membrane test module to provide a clean interface. You can always refactor the core later. """ import os import sys PATH_HERE = os.path.abspath(os.path.dirname(__file__)) PATH_DATA = os.path.abspath(PATH_HERE+"../../../data/abfs/") PATH_SRC = os.path.abspath(PATH_HERE+"../../../src/") sys.path.insert(...
24.9
63
0.73494
33a17f05aeaa5e9c684038bbf304e11283df433a
22,112
py
Python
interface_legacy.py
andersonic/cs232
8fdcbb7904db73c5f66a2bf28ad7621742f17d5b
[ "MIT" ]
null
null
null
interface_legacy.py
andersonic/cs232
8fdcbb7904db73c5f66a2bf28ad7621742f17d5b
[ "MIT" ]
null
null
null
interface_legacy.py
andersonic/cs232
8fdcbb7904db73c5f66a2bf28ad7621742f17d5b
[ "MIT" ]
null
null
null
from selenium import webdriver, common from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.action_chains import ActionChains import math import time import os import demjson driver = None all_pokemon_data = demjson.decode(open('pokemon_data.txt', 'r').read()) own_team = [] opponent_team = [N...
33.91411
113
0.58769
33a1ecfefab953e0ef22c8338a8a4681b64e6d18
5,583
py
Python
qemu/scripts/simplebench/bench-backup.py
hyunjoy/scripts
01114d3627730d695b5ebe61093c719744432ffa
[ "Apache-2.0" ]
44
2022-03-16T08:32:31.000Z
2022-03-31T16:02:35.000Z
qemu/scripts/simplebench/bench-backup.py
hyunjoy/scripts
01114d3627730d695b5ebe61093c719744432ffa
[ "Apache-2.0" ]
1
2022-03-29T02:30:28.000Z
2022-03-30T03:40:46.000Z
qemu/scripts/simplebench/bench-backup.py
hyunjoy/scripts
01114d3627730d695b5ebe61093c719744432ffa
[ "Apache-2.0" ]
18
2022-03-19T04:41:04.000Z
2022-03-31T03:32:12.000Z
#!/usr/bin/env python3 # # Bench backup block-job # # Copyright (c) 2020 Virtuozzo International GmbH. # # 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...
33.232143
78
0.573706
33a21d7938cdc340b65ce10dbd789a12aaddb5a0
328
py
Python
code/misc/join_judgements.py
flnasc/dr_concept_searching
176552d178016773bed671a865a8c4316413d629
[ "Apache-2.0" ]
4
2019-03-01T17:02:31.000Z
2021-09-01T08:49:00.000Z
code/misc/join_judgements.py
flnasc/dr_concept_searching
176552d178016773bed671a865a8c4316413d629
[ "Apache-2.0" ]
null
null
null
code/misc/join_judgements.py
flnasc/dr_concept_searching
176552d178016773bed671a865a8c4316413d629
[ "Apache-2.0" ]
null
null
null
import pandas as pd if __name__ == '__main__': experts = pd.read_csv('../result_analysis/SM-judgements.csv', index_col=0) res = pd.read_csv('results_wmd_top_20.csv', index_col=0) print(experts) print(res) joined = res.join(experts, how='left', sort=False) joined.to_csv('wmd_top_20_w_raw_judgemen...
41
78
0.710366
33a373190b827a351885ecf3e533cf0e0735ebe0
5,221
py
Python
typer/core/models.py
BartoszMakowski/typer
26e0d0cdae183e66bb6a0e32ba39ecdb8215883d
[ "Apache-2.0" ]
3
2019-03-15T23:43:26.000Z
2021-07-05T10:21:48.000Z
typer/core/models.py
BartoszMakowski/typer
26e0d0cdae183e66bb6a0e32ba39ecdb8215883d
[ "Apache-2.0" ]
null
null
null
typer/core/models.py
BartoszMakowski/typer
26e0d0cdae183e66bb6a0e32ba39ecdb8215883d
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.core.validators import MinValueValidator from django.contrib.auth.models import User from django.utils import timezone from datetime import datetime BET_SIDE = ( (0, 'X'), (1, '1'), (2, '2') )
47.036036
106
0.574794
33a49dcb8909ea1581dc4d90f918e7844abada00
223
py
Python
WD/Cwiczenia/Kwadraty_w_petli.py
galursa/UWM
b7ab4a275662764a91af6c5bc79da0d98177d0ac
[ "MIT" ]
1
2020-02-29T14:38:33.000Z
2020-02-29T14:38:33.000Z
WD/Cwiczenia/Kwadraty_w_petli.py
galursa/UWM
b7ab4a275662764a91af6c5bc79da0d98177d0ac
[ "MIT" ]
null
null
null
WD/Cwiczenia/Kwadraty_w_petli.py
galursa/UWM
b7ab4a275662764a91af6c5bc79da0d98177d0ac
[ "MIT" ]
null
null
null
#2 wiczenia #zadanie 7 ile=input("Podaj ile chcesz wczyta liczb: ") ile=int(ile) for i in range(ile): liczba=input("Podaj liczb numer "+str(i)+": ") liczba=int(liczba) print(str(liczba**2))
18.583333
52
0.609865
33a50dbaa0813b3110776fb56ba164bbe1899b09
42,617
py
Python
paida-3.2.1_2.10.1/paida/paida_gui/swing/PRoot.py
AshleyChraya/HubbleConstant-ConstraintsForVCG
634c15d296147ec1cdc3c92af1fbbfeb17844586
[ "MIT" ]
null
null
null
paida-3.2.1_2.10.1/paida/paida_gui/swing/PRoot.py
AshleyChraya/HubbleConstant-ConstraintsForVCG
634c15d296147ec1cdc3c92af1fbbfeb17844586
[ "MIT" ]
null
null
null
paida-3.2.1_2.10.1/paida/paida_gui/swing/PRoot.py
AshleyChraya/HubbleConstant-ConstraintsForVCG
634c15d296147ec1cdc3c92af1fbbfeb17844586
[ "MIT" ]
null
null
null
from paida.paida_core.PAbsorber import * from paida.paida_core.IFillStyle import * from paida.paida_core.ILineStyle import * from paida.paida_core.IMarkerStyle import * from paida.paida_core.ITextStyle import * from javax.swing import JFrame, JPanel, JScrollPane, JTree, JLayeredPane, SwingUtilities, JMenuBar from java...
33.19081
135
0.728653
33a75081559c2db05093b5e5fa2039ed3fd9fb10
2,550
py
Python
extra_metrics/config.py
fw-dev/useful_dashboard_info
514607b8f35c6b9ed0cfbc386ae74a94fb25fbc6
[ "MIT" ]
null
null
null
extra_metrics/config.py
fw-dev/useful_dashboard_info
514607b8f35c6b9ed0cfbc386ae74a94fb25fbc6
[ "MIT" ]
1
2020-11-27T15:13:34.000Z
2020-11-27T15:13:34.000Z
extra_metrics/config.py
johncclayton/useful_dashboard_info
514607b8f35c6b9ed0cfbc386ae74a94fb25fbc6
[ "MIT" ]
null
null
null
import configparser import os from extra_metrics.logs import logger
36.956522
109
0.743922
33a85b389cf87637147eaf9b17700c63e40bbe3a
271
py
Python
IEV.py
cptchloroplast/rosalind
7ed0f7005c124a498c877ce5e1141e9fbb04bf7b
[ "MIT" ]
null
null
null
IEV.py
cptchloroplast/rosalind
7ed0f7005c124a498c877ce5e1141e9fbb04bf7b
[ "MIT" ]
null
null
null
IEV.py
cptchloroplast/rosalind
7ed0f7005c124a498c877ce5e1141e9fbb04bf7b
[ "MIT" ]
null
null
null
# http://rosalind.info/problems/iev/ from sys import argv f = open(argv[1], 'r') a = f.readline().strip().split(' ') f.close() a = map(int, a) r = 2*(a[0]*1 + a[1]*1 + a[2]*1 + a[3]*.75 + a[4]*.5 + a[5]*0) w = open('results_' + argv[1], 'w') w.write(str(r)) w.close()
19.357143
62
0.535055
33a86174001ff2478e49f557e437ae892e69708a
674
py
Python
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
1
2021-04-23T21:48:20.000Z
2021-04-23T21:48:20.000Z
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
null
null
null
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
1
2020-01-27T05:21:39.000Z
2020-01-27T05:21:39.000Z
interface_code = """ # Events Transfer: event({_from: indexed(address), _to: indexed(address), _value: uint256}) Approval: event({_owner: indexed(address), _spender: indexed(address), _value: uint256}) # Functions @constant @public def totalSupply() -> uint256: pass @constant @public def balanceOf(_owner: address...
19.823529
88
0.707715
33a915e7cad061d0d037885bed31be7570f8f117
8,371
py
Python
utils/pitch_tools.py
ishine/DiffSinger
d5dbe05ee1c7da0878393c73129089a67d0fe935
[ "MIT" ]
null
null
null
utils/pitch_tools.py
ishine/DiffSinger
d5dbe05ee1c7da0878393c73129089a67d0fe935
[ "MIT" ]
null
null
null
utils/pitch_tools.py
ishine/DiffSinger
d5dbe05ee1c7da0878393c73129089a67d0fe935
[ "MIT" ]
null
null
null
######### # world ######### import librosa import parselmouth import numpy as np import torch import torch.nn.functional as F from pycwt import wavelet from scipy.interpolate import interp1d gamma = 0 mcepInput = 3 # 0 for dB, 3 for magnitude alpha = 0.45 en_floor = 10 ** (-80 / 20) FFT_SIZE = 2048 f0_bin = 256 f0_...
29.684397
120
0.616533
33aae5bb3474518a6cd449ce9569ad5e5b7042ed
5,101
py
Python
PicoMorseKeyboard.py
batica81/PicoMorseKeyboard
ef6d3ebcd88cff99f5621a99936af4eaa52344ce
[ "Unlicense" ]
null
null
null
PicoMorseKeyboard.py
batica81/PicoMorseKeyboard
ef6d3ebcd88cff99f5621a99936af4eaa52344ce
[ "Unlicense" ]
null
null
null
PicoMorseKeyboard.py
batica81/PicoMorseKeyboard
ef6d3ebcd88cff99f5621a99936af4eaa52344ce
[ "Unlicense" ]
null
null
null
# This code is taken from many places and many authors and compiled by YU4HAK :) # Raspberry Pi Pico is needed to use this app! Maybe I will do an Arduino version in the future. # Basic purpose of the app is to take input from serial port and turn it into Morse code. # Then it plays it via sound, light or by actin...
31.103659
127
0.525191
33ada33136433bca8fd26edece8e3606edc757f1
356
py
Python
thread_utils/workers.py
HaowenWeiJohn/RealityNavigationSPS
3b2dee74aab43ba317f835bc1f7deae71c1a8128
[ "MIT" ]
1
2021-05-02T09:21:46.000Z
2021-05-02T09:21:46.000Z
thread_utils/workers.py
HaowenWeiJohn/RealityNavigationSPS
3b2dee74aab43ba317f835bc1f7deae71c1a8128
[ "MIT" ]
null
null
null
thread_utils/workers.py
HaowenWeiJohn/RealityNavigationSPS
3b2dee74aab43ba317f835bc1f7deae71c1a8128
[ "MIT" ]
null
null
null
import time import cv2 import pyqtgraph as pg from PyQt5.QtCore import QObject from PyQt5.QtCore import pyqtSignal from pylsl import local_clock from config import config_ui from utils.sim import sim_openBCI_eeg, sim_unityLSL, sim_inference import pyautogui import numpy as np from utils.ui_utils import dialog_pop...
19.777778
66
0.837079
33adf871176f308c3d1cec5a1bbe0e2478662b96
1,527
py
Python
lib/surface/filestore/__init__.py
bshaffer/google-cloud-sdk
f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9
[ "Apache-2.0" ]
null
null
null
lib/surface/filestore/__init__.py
bshaffer/google-cloud-sdk
f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9
[ "Apache-2.0" ]
null
null
null
lib/surface/filestore/__init__.py
bshaffer/google-cloud-sdk
f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2017 Google Inc. 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 requir...
35.511628
79
0.732809
33aee8ec5f804002be0706994434360ebd7b80a1
1,589
py
Python
verilog/dv/vdp_lite/video_frame/process_rgbs.py
dan-rodrigues/caravel_vdp_lite
2123ae5c92927a8492d77eee7ec7b998da39bacb
[ "Apache-2.0" ]
12
2020-12-20T01:53:05.000Z
2021-06-20T21:05:38.000Z
verilog/dv/vdp_lite/video_frame/process_rgbs.py
dan-rodrigues/caravel
2123ae5c92927a8492d77eee7ec7b998da39bacb
[ "Apache-2.0" ]
null
null
null
verilog/dv/vdp_lite/video_frame/process_rgbs.py
dan-rodrigues/caravel
2123ae5c92927a8492d77eee7ec7b998da39bacb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # process_rgbs.py # # Copyright (C) 2020 Dan Rodrigues <danrr.gh.oss@gmail.com> # # SPDX-License-Identifier: Apache-2.0 import png import struct import sys # Read sim generated log of RGBS output: log_file = open("rgbs.log", "rb") raw_log = log_file.read() log_file.close() image_width = 640 ...
21.767123
102
0.605412
33b01a69c3d39b5be3da9f2f5ee4d52ee1634c3e
941
py
Python
blender/instructions.py
walls-of-doom/walls-of-doom
1ffaaed77ddbb28204fe1189ffefba59e69e5fc8
[ "BSD-3-Clause" ]
1
2019-10-13T05:52:48.000Z
2019-10-13T05:52:48.000Z
blender/instructions.py
walls-of-doom/walls-of-doom
1ffaaed77ddbb28204fe1189ffefba59e69e5fc8
[ "BSD-3-Clause" ]
129
2016-06-21T21:19:30.000Z
2018-04-10T21:13:22.000Z
blender/instructions.py
walls-of-doom/walls-of-doom
1ffaaed77ddbb28204fe1189ffefba59e69e5fc8
[ "BSD-3-Clause" ]
2
2016-08-28T22:45:02.000Z
2016-10-03T11:28:17.000Z
import bpy if __name__ == "__main__": bpy.context.scene.render.engine = "CYCLES" bpy.context.scene.render.resolution_x = 1920 bpy.context.scene.render.resolution_y = 1080 bpy.context.scene.render.resolution_percentage = 100 bpy.context.scene.render.use_antialiasing = True bpy.context.scene.ren...
32.448276
70
0.701382
33b1f67518e86f1ae4b5aae061f51022e1f46341
230
py
Python
config/app.py
ophioglossum/video
31b969bddc7f3509d5ebaab1aff9d7e2399365ff
[ "MIT" ]
null
null
null
config/app.py
ophioglossum/video
31b969bddc7f3509d5ebaab1aff9d7e2399365ff
[ "MIT" ]
null
null
null
config/app.py
ophioglossum/video
31b969bddc7f3509d5ebaab1aff9d7e2399365ff
[ "MIT" ]
null
null
null
#app, APP_NAME="baiduphone" #,True:,False: LOGIC_DEBUG=True #,, LOGIC_DEBUG_FILE="" # SMS_URL='http://xxx.xxx.xxx:xxx/xxxx' SMS_USERNAME='test' SMS_PASSWD='test'
17.692308
37
0.8
33b5df3a56f3c389456f72077ac2ebc5b90ce742
5,657
py
Python
src/oci/data_safe/models/alert_aggregation_items.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/data_safe/models/alert_aggregation_items.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/data_safe/models/alert_aggregation_items.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
29.617801
245
0.638501
33b7faddaf9bc0cb8e5a9b63ad2f398485bee83a
2,959
py
Python
main.py
traian-d/compact_cellular_automata
f2d1d0aaaad357fc3516e00138c3efb36481c45f
[ "MIT" ]
2
2020-02-12T14:17:57.000Z
2020-04-29T13:35:03.000Z
main.py
traian-d/compact_cellular_automata
f2d1d0aaaad357fc3516e00138c3efb36481c45f
[ "MIT" ]
null
null
null
main.py
traian-d/compact_cellular_automata
f2d1d0aaaad357fc3516e00138c3efb36481c45f
[ "MIT" ]
null
null
null
import topologies as top import rules as rules import starting_patterns as sp from Game import Game import os import time import numpy as np # acorn_game = run_game(top.eight_neighbor_torus(50, 50), rules.conway_game_of_life, sp.acorn, 1261, iterations=250) # np_plot(acorn_game, sleep=0.01) # save_gif(acorn_game,...
34.406977
135
0.711727
33ba3cc755c2a9206c00fdc1be1e77ea3da0a51b
548
py
Python
Day-1/Andelabs/data_types.py
kamaumike/bootcamp-10
59ef238518cdd9434afeb07eac0d586dc75821db
[ "MIT" ]
null
null
null
Day-1/Andelabs/data_types.py
kamaumike/bootcamp-10
59ef238518cdd9434afeb07eac0d586dc75821db
[ "MIT" ]
null
null
null
Day-1/Andelabs/data_types.py
kamaumike/bootcamp-10
59ef238518cdd9434afeb07eac0d586dc75821db
[ "MIT" ]
null
null
null
def data_type(data): """Returns a specific result based on the data type of the argument supplied """ if type(data) == str: return len(data) elif data == None: return 'no value' elif data == True or data == False: return data elif type(data) == int: if data < 100: return 'less th...
20.296296
44
0.578467
33bb3dba6ba5b625fe5cf4f70e25aeae3cafe24f
95
py
Python
Exercicios/aula08a.py
Vitmambro/Python9
d084e6fd8230b71e4dade87086a411210e131320
[ "MIT" ]
null
null
null
Exercicios/aula08a.py
Vitmambro/Python9
d084e6fd8230b71e4dade87086a411210e131320
[ "MIT" ]
null
null
null
Exercicios/aula08a.py
Vitmambro/Python9
d084e6fd8230b71e4dade87086a411210e131320
[ "MIT" ]
null
null
null
import emoji print(emoji.emojize(' Ola mundo :sunglasses:', use_aliases=True))
7.307692
65
0.642105
33be3d84bce31cd3e91a5c47d1f4596a4006fe31
3,850
py
Python
main.py
R3dsc4rf/ErrorTicketTool
79acae796b4c3411495c0a4caa218668bbb5c153
[ "MIT" ]
null
null
null
main.py
R3dsc4rf/ErrorTicketTool
79acae796b4c3411495c0a4caa218668bbb5c153
[ "MIT" ]
null
null
null
main.py
R3dsc4rf/ErrorTicketTool
79acae796b4c3411495c0a4caa218668bbb5c153
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 # for linux. exestiert -> program can be executed by terminal without "Python 3" in command # does not exist for windows ''' Main.py for Error TicketTool_v001 this tool aims to help Quality tester to create tickets and show some simple diagramm with often to use data th...
41.397849
118
0.581039
33c0385b782f367408a11e61a102f7ba38bcbea5
1,688
py
Python
tests/test_serialization.py
dwhall/farc
05856119a43288214b9bd0a2605452d1eb48b808
[ "MIT" ]
21
2018-10-21T15:54:45.000Z
2022-03-29T19:27:44.000Z
tests/test_serialization.py
Datacraft-GaaS/farc
05856119a43288214b9bd0a2605452d1eb48b808
[ "MIT" ]
9
2019-06-22T04:51:10.000Z
2020-12-21T17:14:48.000Z
tests/test_serialization.py
Datacraft-GaaS/farc
05856119a43288214b9bd0a2605452d1eb48b808
[ "MIT" ]
8
2019-06-21T16:13:32.000Z
2022-03-29T19:34:27.000Z
#!/usr/bin/env python3 """This unit test proves that event values are immutable. An event with a global-scope array is declared. A simple state machine event handler modifies the value of the event it is given. The state machine is called with the global-scope array and the framework is stopped. The test passess if the...
23.444444
57
0.647512
33c1e4374c9158716c8a41a27ad3efbd56ce34b4
7,771
py
Python
grafanahelper.py
Voronenko/errbot-grafana
eea280dac5f61f96b37f7b45e0413be90e23fc27
[ "MIT" ]
3
2019-11-15T20:16:52.000Z
2020-05-04T08:14:48.000Z
grafanahelper.py
Voronenko/errbot-grafana
eea280dac5f61f96b37f7b45e0413be90e23fc27
[ "MIT" ]
null
null
null
grafanahelper.py
Voronenko/errbot-grafana
eea280dac5f61f96b37f7b45e0413be90e23fc27
[ "MIT" ]
1
2019-03-28T17:42:07.000Z
2019-03-28T17:42:07.000Z
import requests import json from jinja2 import Template import urllib.request import re
36.829384
111
0.49659
33c3f14699195277f17d952dc3dbda4f45cbdd35
504
py
Python
core/migrations/0006_alter_customer_data_sheet.py
krishdp/Customer_Rest_API
4a6ca52dd35188e17b6ce02c9ec2b6ee3d46c09e
[ "MIT" ]
null
null
null
core/migrations/0006_alter_customer_data_sheet.py
krishdp/Customer_Rest_API
4a6ca52dd35188e17b6ce02c9ec2b6ee3d46c09e
[ "MIT" ]
null
null
null
core/migrations/0006_alter_customer_data_sheet.py
krishdp/Customer_Rest_API
4a6ca52dd35188e17b6ce02c9ec2b6ee3d46c09e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-23 11:50 from django.db import migrations, models import django.db.models.deletion
25.2
128
0.650794
33c45593e1c6d3a8ad98e019dc38be9163694fd5
1,392
py
Python
inspection.py
tzechiop/Traffic-Counter-Image-Analysis
54fbd50ed616e9e09686b8a02debe96d584486f7
[ "MIT" ]
null
null
null
inspection.py
tzechiop/Traffic-Counter-Image-Analysis
54fbd50ed616e9e09686b8a02debe96d584486f7
[ "MIT" ]
null
null
null
inspection.py
tzechiop/Traffic-Counter-Image-Analysis
54fbd50ed616e9e09686b8a02debe96d584486f7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Oct 3 21:28:32 2016 @author: thasegawa """ import cv2 import numpy as np # ============================================================================ INPUT_WIDTH = 160 INPUT_HEIGHT = 120 OUTPUT_TILE_WIDTH = 10 OUTPUT_TILE_HEIGHT = 12 TILE_COUNT = OUTPUT_TILE_WIDTH * O...
30.933333
87
0.559626
33c55634f10c709ca36cc80a9cac7247cbd479f4
1,878
py
Python
synth/tests/input_checks/test_input_checks.py
AprilXiaoyanLiu/whitenoise-system
0e94d2cc8114b97a61d5d2e45278428f91f1e687
[ "MIT" ]
63
2020-03-26T15:26:10.000Z
2020-10-22T06:26:38.000Z
synth/tests/input_checks/test_input_checks.py
AprilXiaoyanLiu/whitenoise-system
0e94d2cc8114b97a61d5d2e45278428f91f1e687
[ "MIT" ]
82
2020-03-10T17:54:48.000Z
2020-10-23T02:11:06.000Z
synth/tests/input_checks/test_input_checks.py
AprilXiaoyanLiu/whitenoise-system
0e94d2cc8114b97a61d5d2e45278428f91f1e687
[ "MIT" ]
15
2020-03-10T05:52:14.000Z
2020-10-09T09:09:52.000Z
import pandas as pd import numpy as np from snsynth.pytorch.nn import DPCTGAN, PATECTGAN from snsynth.preprocessors import DPSSTransformer eps = 3.0 batch_size = 20 size = 100 pd_data = pd.DataFrame(columns=["A"], data=np.array(np.arange(0.0, size)).T) np_data = np.array(np.arange(0.0, size)).astype(np.double)
37.56
88
0.677316
33c85aaad5eb9ce8484adaf9eee5b4b25b961376
3,337
py
Python
server/attender-mobile/tests/eventbrite_tester.py
denbedilov/SIStore
da8e6f38170959efe756bafe2f83adcf1fbb14a4
[ "MIT" ]
null
null
null
server/attender-mobile/tests/eventbrite_tester.py
denbedilov/SIStore
da8e6f38170959efe756bafe2f83adcf1fbb14a4
[ "MIT" ]
null
null
null
server/attender-mobile/tests/eventbrite_tester.py
denbedilov/SIStore
da8e6f38170959efe756bafe2f83adcf1fbb14a4
[ "MIT" ]
null
null
null
__author__ = 'olesya' import unittest from engine.api_request import ApiRequest from engine.sources_wrapper import SearchEventsUsingAPI from engine.eventbrite_api import EventbriteApi import json from google.appengine.ext import ndb from google.appengine.ext import testbed try: from google.appengine....
37.077778
91
0.664369
33c896e298d79bbd19efa3f04edd11b852097f58
4,037
py
Python
cloudcix_metrics/metrics.py
CloudCIX/metrics_cloudcix
4ce4cac2c90e920e5f745bbcf33d54efd34b6b67
[ "Apache-2.0" ]
null
null
null
cloudcix_metrics/metrics.py
CloudCIX/metrics_cloudcix
4ce4cac2c90e920e5f745bbcf33d54efd34b6b67
[ "Apache-2.0" ]
null
null
null
cloudcix_metrics/metrics.py
CloudCIX/metrics_cloudcix
4ce4cac2c90e920e5f745bbcf33d54efd34b6b67
[ "Apache-2.0" ]
null
null
null
# python import atexit import logging import subprocess import urllib3 from collections import namedtuple from datetime import datetime from multiprocessing.dummy import Pool as ThreadPool from typing import List, Dict, Callable, Optional, Any # libs import influxdb from cloudcix.conf import settings # Suppress Insec...
30.816794
119
0.680951
33c9c2bedb422dc4b8e3a72166c46b5208e06970
3,223
py
Python
fedireads/tests/status/test_review.py
johnbartholomew/bookwyrm
a6593eced7db88f0a68bd19a0e6ba441bf1053c3
[ "CC0-1.0" ]
null
null
null
fedireads/tests/status/test_review.py
johnbartholomew/bookwyrm
a6593eced7db88f0a68bd19a0e6ba441bf1053c3
[ "CC0-1.0" ]
null
null
null
fedireads/tests/status/test_review.py
johnbartholomew/bookwyrm
a6593eced7db88f0a68bd19a0e6ba441bf1053c3
[ "CC0-1.0" ]
null
null
null
from django.test import TestCase from fedireads import models from fedireads import status as status_builder
39.304878
113
0.57493
33cb1849ec5f3de5bd50256cf13966f6e710718b
1,273
py
Python
tests/unit/test_oauth_client_backend.py
przemekk1385/django-oac
379b29921551ea1d53edb5e3fbb6fa8d3c972acb
[ "MIT" ]
null
null
null
tests/unit/test_oauth_client_backend.py
przemekk1385/django-oac
379b29921551ea1d53edb5e3fbb6fa8d3c972acb
[ "MIT" ]
3
2022-03-02T18:08:13.000Z
2022-03-02T18:29:33.000Z
tests/unit/test_oauth_client_backend.py
przemekk1385/django_oac
379b29921551ea1d53edb5e3fbb6fa8d3c972acb
[ "MIT" ]
null
null
null
from unittest.mock import Mock, PropertyMock import pytest from django.contrib.auth import get_user_model from django_oac.backends import OAuthClientBackend from django_oac.exceptions import NoUserError from ..common import USER_PAYLOAD UserModel = get_user_model() def test_authenticate_no_user_error(oac_valid...
25.46
60
0.785546
33cb3e9ee0f3ad9bd01804758d64e223faf33a37
10,725
py
Python
Dlg_lvbo.py
hinczhang/OSPyQGIS
6d5c13c06cf2cc6a6dfa30684d78a30be62a1053
[ "Apache-2.0" ]
2
2020-11-03T08:23:34.000Z
2020-11-03T09:05:10.000Z
Dlg_lvbo.py
hinczhang/OSPyQGIS
6d5c13c06cf2cc6a6dfa30684d78a30be62a1053
[ "Apache-2.0" ]
null
null
null
Dlg_lvbo.py
hinczhang/OSPyQGIS
6d5c13c06cf2cc6a6dfa30684d78a30be62a1053
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Dlg_lvbo.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets
49.652778
72
0.666014
33cf3174ad53c2b52d8f80ce94cd572841a6a3d1
1,520
py
Python
actions_levels/discrete_actions.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-06-03T20:03:50.000Z
2021-06-03T20:03:50.000Z
actions_levels/discrete_actions.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
null
null
null
actions_levels/discrete_actions.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-03-14T01:22:33.000Z
2021-03-14T01:22:33.000Z
from hfo import MOVE_TO, DRIBBLE_TO, KICK_TO from actions_levels import BaseActions
34.545455
78
0.571711
33d00a7613ecc002e69a038b2036dfaa2537b297
2,946
py
Python
websocket-microphone/asr_server_microphone.py
madkote/kaldi-websocket-python
202ae7b34ca68e04d212ffbcc7a501dcde76d481
[ "Apache-2.0" ]
1
2021-11-06T22:08:13.000Z
2021-11-06T22:08:13.000Z
websocket-microphone/asr_server_microphone.py
madkote/kaldi-websocket-python
202ae7b34ca68e04d212ffbcc7a501dcde76d481
[ "Apache-2.0" ]
null
null
null
websocket-microphone/asr_server_microphone.py
madkote/kaldi-websocket-python
202ae7b34ca68e04d212ffbcc7a501dcde76d481
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import json import os import sys import asyncio import websockets import logging import sounddevice as sd import argparse import queue from vosk import Model, KaldiRecognizer def int_or_str(text): """Helper function for argument parsing.""" try: return int(text) except Valu...
32.733333
107
0.637135
33d2208ec8fb2c7353028d27618bbea1b163e588
10,955
py
Python
docker/utils.py
lanfanb/OpenLane
ebad315d1def25d9d253eb2ec1c56d7b4e59d7ca
[ "Apache-2.0" ]
null
null
null
docker/utils.py
lanfanb/OpenLane
ebad315d1def25d9d253eb2ec1c56d7b4e59d7ca
[ "Apache-2.0" ]
null
null
null
docker/utils.py
lanfanb/OpenLane
ebad315d1def25d9d253eb2ec1c56d7b4e59d7ca
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Efabless 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...
29.448925
109
0.601917
33d2b934d1604144667cc9d5e178b0a84377ef88
201
py
Python
python/orientacao-objetos-2/ABCs.py
LMThomaz-Study/cursos-alura
eeb9d29b5627365309ee0b0d69cae18e6166ccac
[ "MIT" ]
null
null
null
python/orientacao-objetos-2/ABCs.py
LMThomaz-Study/cursos-alura
eeb9d29b5627365309ee0b0d69cae18e6166ccac
[ "MIT" ]
null
null
null
python/orientacao-objetos-2/ABCs.py
LMThomaz-Study/cursos-alura
eeb9d29b5627365309ee0b0d69cae18e6166ccac
[ "MIT" ]
null
null
null
from abc import ABC # abstract base class from collections.abc import MutableSequence from number import Complex filmes = Playlist() num = Complex(1, 2)
15.461538
43
0.761194
33d2ba64d8c2f1ea5e7dad3f01f1cb0fa2938a91
32,467
py
Python
torchrec/datasets/criteo.py
xing-liu/torchrec
82ffde7a69fdb9c66b79a753d6f03afa5db3f73e
[ "BSD-3-Clause" ]
814
2022-02-23T17:24:14.000Z
2022-03-31T16:52:23.000Z
torchrec/datasets/criteo.py
xing-liu/torchrec
82ffde7a69fdb9c66b79a753d6f03afa5db3f73e
[ "BSD-3-Clause" ]
89
2022-02-23T17:29:56.000Z
2022-03-31T23:44:13.000Z
torchrec/datasets/criteo.py
xing-liu/torchrec
82ffde7a69fdb9c66b79a753d6f03afa5db3f73e
[ "BSD-3-Clause" ]
68
2022-02-23T17:42:17.000Z
2022-03-28T06:39:55.000Z
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import os import time from typing import Any, Callable, Dict, Iterable, Iterator, List, ...
39.069795
114
0.59137
33d41dd487f252aee80096c5a7bd7849cbd314b7
575
py
Python
torchility/losses.py
hitlic/torchility
c28701d8c93955ad115d364b35b680a60ecfd360
[ "MIT" ]
9
2021-05-15T14:48:47.000Z
2021-11-08T04:09:59.000Z
torchility/losses.py
hitlic/torchility
c28701d8c93955ad115d364b35b680a60ecfd360
[ "MIT" ]
null
null
null
torchility/losses.py
hitlic/torchility
c28701d8c93955ad115d364b35b680a60ecfd360
[ "MIT" ]
1
2021-07-01T08:04:55.000Z
2021-07-01T08:04:55.000Z
import torch.nn.functional as F import torch # --- losses def masked_TOP_loss(preds, targets): """ Top One Probability(TOP) lossfrom <<Learning to Rank: From Pairwise Approach to Listwise Approach>> """ preds = torch.squeeze(preds[targets.mask]) targets = targets.data[targets.mask] preds_p = t...
30.263158
104
0.707826
33d49199210bdab53a1c95e998d2a61711888f00
9,101
py
Python
rectified_gaussian.py
david-salac/Rectified-Gaussian-distribution
305f8bd2e3ff02b0528947bff06f0fce58dab36f
[ "MIT" ]
1
2021-04-28T11:26:57.000Z
2021-04-28T11:26:57.000Z
rectified_gaussian.py
david-salac/Rectified-Gaussian-distribution
305f8bd2e3ff02b0528947bff06f0fce58dab36f
[ "MIT" ]
null
null
null
rectified_gaussian.py
david-salac/Rectified-Gaussian-distribution
305f8bd2e3ff02b0528947bff06f0fce58dab36f
[ "MIT" ]
null
null
null
from typing import Tuple, Union import numpy as np from scipy.special import erf
35.972332
78
0.452478
33d512fe4ef4282f580b512b36a8cd7e237c6e6b
2,138
py
Python
Game/test.py
LexCoolplay/API-Project
0656532e4e7fc67c1235d92c8caf1508572752d7
[ "MIT" ]
null
null
null
Game/test.py
LexCoolplay/API-Project
0656532e4e7fc67c1235d92c8caf1508572752d7
[ "MIT" ]
null
null
null
Game/test.py
LexCoolplay/API-Project
0656532e4e7fc67c1235d92c8caf1508572752d7
[ "MIT" ]
1
2018-04-05T21:24:19.000Z
2018-04-05T21:24:19.000Z
from telegram.ext import ConversationHandler from telegram.ext import CommandHandler from telegram.ext import Filters, MessageHandler from telegram.ext import Updater if __name__ == '__main__': main()
32.393939
105
0.672123
33d7b60dfa081ba4782b84274ce3e231e6a92a72
277
py
Python
src/serving/api/best_model.py
Dalkio/custom-alphazero
e24ee8c646a37bf9509b99ca6c96d3f6e69ee4db
[ "MIT" ]
null
null
null
src/serving/api/best_model.py
Dalkio/custom-alphazero
e24ee8c646a37bf9509b99ca6c96d3f6e69ee4db
[ "MIT" ]
6
2020-08-13T13:02:58.000Z
2022-02-10T02:21:49.000Z
src/serving/api/best_model.py
Dalkio/custom-alphazero
e24ee8c646a37bf9509b99ca6c96d3f6e69ee4db
[ "MIT" ]
null
null
null
from fastapi import APIRouter, Request from src.utils import best_saved_model router = APIRouter()
25.181818
77
0.783394
33d8f9547baee0b5df90b1229cfe43f902dcdeb7
1,693
py
Python
xrpc_tests/serde/test_walk.py
andreycizov/python-xrpc
ed403ae74d5e89e0ebac68bcc58591d6b32742ff
[ "Apache-2.0" ]
null
null
null
xrpc_tests/serde/test_walk.py
andreycizov/python-xrpc
ed403ae74d5e89e0ebac68bcc58591d6b32742ff
[ "Apache-2.0" ]
null
null
null
xrpc_tests/serde/test_walk.py
andreycizov/python-xrpc
ed403ae74d5e89e0ebac68bcc58591d6b32742ff
[ "Apache-2.0" ]
null
null
null
import sys import unittest from typing import NamedTuple, Optional, Dict from xrpc.const import SERVER_SERDE_INST from xrpc.serde.abstract import SerdeSet, SerdeStepContext from xrpc.serde.types import CallableArgsWrapper
24.185714
106
0.56645
33da2612b90a61e970432c500d11f4363c18626f
30
py
Python
.history/ClassFiles/PythonModulesPackages/ImportingModules/Pychache/File1_20210107135307.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/PythonModulesPackages/ImportingModules/Pychache/File1_20210107135307.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/PythonModulesPackages/ImportingModules/Pychache/File1_20210107135307.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
print("Hello from file 1") pr
10
26
0.7
33db0d368565ea1d5ffe9547a593c86507c344b4
8,873
py
Python
TrainingExtensions/torch/src/python/aimet_torch/svd/svd.py
lipovsek/aimet
236fb02cc6c45e65c067030416c49a09ace82045
[ "BSD-3-Clause" ]
945
2020-04-30T02:23:55.000Z
2022-03-31T08:44:32.000Z
TrainingExtensions/torch/src/python/aimet_torch/svd/svd.py
lipovsek/aimet
236fb02cc6c45e65c067030416c49a09ace82045
[ "BSD-3-Clause" ]
563
2020-05-01T03:07:22.000Z
2022-03-30T05:35:58.000Z
TrainingExtensions/torch/src/python/aimet_torch/svd/svd.py
lipovsek/aimet
236fb02cc6c45e65c067030416c49a09ace82045
[ "BSD-3-Clause" ]
186
2020-04-30T00:55:26.000Z
2022-03-30T09:54:51.000Z
# /usr/bin/env python3.5 # -*- mode: python -*- # ============================================================================= # @@-COPYRIGHT-START-@@ # # Copyright (c) 2018, Qualcomm Innovation Center, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification,...
55.45625
167
0.648822
33dc1bc8737ae5efb9539a0e2630c93788a5dee3
70
py
Python
src/coberturas_medicas/__init__.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
src/coberturas_medicas/__init__.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
32
2016-05-09T19:37:08.000Z
2022-01-13T01:00:52.000Z
src/coberturas_medicas/__init__.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
default_app_config = 'coberturas_medicas.apps.CoberturasMedicasConfig'
70
70
0.9
33dd0ef7334bc05b76d6858442d6a802f26e47aa
948
py
Python
migrations/versions/650_change_service_id_datatype_change_orders_service_id_to_string.py
pebblecode/cirrus-marketplace-api
64d9e3be8705a2fe64c964b16947e9877885de7b
[ "MIT" ]
null
null
null
migrations/versions/650_change_service_id_datatype_change_orders_service_id_to_string.py
pebblecode/cirrus-marketplace-api
64d9e3be8705a2fe64c964b16947e9877885de7b
[ "MIT" ]
null
null
null
migrations/versions/650_change_service_id_datatype_change_orders_service_id_to_string.py
pebblecode/cirrus-marketplace-api
64d9e3be8705a2fe64c964b16947e9877885de7b
[ "MIT" ]
null
null
null
"""Change orders.service_id to String Revision ID: 650_change_service_id_datatype Revises: 640_add_orders_table Create Date: 2016-07-01 13:15:29.629574 """ # revision identifiers, used by Alembic. revision = '650_change_service_id_datatype' down_revision = '640_add_orders_table' from alembic import op import sqlalc...
31.6
98
0.721519
33de28b32660b01bc6a1d8881d5ea5df8352484b
1,254
py
Python
v_server/urls.py
binalyadav/VigilantServer
3b0d31d760789ffddf78a8988db9b77aecaf8910
[ "MIT" ]
null
null
null
v_server/urls.py
binalyadav/VigilantServer
3b0d31d760789ffddf78a8988db9b77aecaf8910
[ "MIT" ]
null
null
null
v_server/urls.py
binalyadav/VigilantServer
3b0d31d760789ffddf78a8988db9b77aecaf8910
[ "MIT" ]
null
null
null
from django.urls import include, path, re_path from rest_framework import routers from . import views from .utils import * router = routers.SimpleRouter() router.register(r'users', views.UserViewSet) router.register(r'groups', views.GroupViewSet) router.register(r'organizations', views.OrganizationViewSet) router.regi...
46.444444
87
0.754386
33de738d5420e9582d24dcf1b949315e220cc17d
9,241
py
Python
Milestone1/_deepzoom_coastpilot.py
jaybo/CoastPilot
a4c2751a82769ad093d93144731f85b51843087f
[ "MIT" ]
null
null
null
Milestone1/_deepzoom_coastpilot.py
jaybo/CoastPilot
a4c2751a82769ad093d93144731f85b51843087f
[ "MIT" ]
null
null
null
Milestone1/_deepzoom_coastpilot.py
jaybo/CoastPilot
a4c2751a82769ad093d93144731f85b51843087f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 ########################################################################################## #### Import libraries import requests import os from zipfile import ZipFile import xml.etree.ElementTree as ET import pandas as pd import glob import numpy as np import re import shutil ###...
38.991561
114
0.617249
33defaed0d42ccdb417b1a62787a9629eac7629b
3,777
py
Python
test/base/test_engine.py
m-philipps/pyPESTO
4c30abfca56ba714c302141cd44a9dd366bff4bb
[ "BSD-3-Clause" ]
null
null
null
test/base/test_engine.py
m-philipps/pyPESTO
4c30abfca56ba714c302141cd44a9dd366bff4bb
[ "BSD-3-Clause" ]
null
null
null
test/base/test_engine.py
m-philipps/pyPESTO
4c30abfca56ba714c302141cd44a9dd366bff4bb
[ "BSD-3-Clause" ]
null
null
null
"""Test the execution engines.""" import copy import amici import cloudpickle as pickle import numpy as np import pypesto import pypesto.optimize import pypesto.petab from ..petab.petab_util import folder_base from ..util import rosen_for_sensi def test_deepcopy_objective(): """Test copying objectives (ne...
28.832061
78
0.699232
33df0927f5b437195a203736b7d2f1db8e4fec68
5,214
py
Python
mvn/test/fixture.py
MarkDaoust/mvn
2c82cbfa898fd063c08752f03c08a2a043c245f9
[ "BSD-2-Clause" ]
7
2016-02-01T04:26:38.000Z
2021-11-17T10:24:19.000Z
mvn/test/fixture.py
MarkDaoust/mvn
2c82cbfa898fd063c08752f03c08a2a043c245f9
[ "BSD-2-Clause" ]
null
null
null
mvn/test/fixture.py
MarkDaoust/mvn
2c82cbfa898fd063c08752f03c08a2a043c245f9
[ "BSD-2-Clause" ]
3
2016-03-04T16:29:28.000Z
2019-10-05T16:48:51.000Z
#! /usr/bin/env python """ ************ Test Objects ************ """ import os import sys import copy import pickle import optparse import numpy from mvn import Mvn from mvn.matrix import Matrix from mvn.helpers import randint (fileDir, _) = os.path.split(os.path.abspath(__file__)) pickleName = os.path.join(...
23.276786
81
0.508439
33e07f7711180ebd14a71f4eb2dfdcec9a31df8b
5,868
py
Python
Splunk_TA_google/bin/google_wrapper/pubsub_wrapper.py
chenziliang/google
f06340ee58fb48bac995d5ab16bec4ccccaa3d7a
[ "MIT" ]
null
null
null
Splunk_TA_google/bin/google_wrapper/pubsub_wrapper.py
chenziliang/google
f06340ee58fb48bac995d5ab16bec4ccccaa3d7a
[ "MIT" ]
null
null
null
Splunk_TA_google/bin/google_wrapper/pubsub_wrapper.py
chenziliang/google
f06340ee58fb48bac995d5ab16bec4ccccaa3d7a
[ "MIT" ]
null
null
null
import traceback import time import base64 import ssl import google_wrapper.common as gwc PUBSUB_SCOPES = ["https://www.googleapis.com/auth/pubsub"] def get_full_subscription_name(project, subscription): """Return a fully qualified subscription name.""" return gwc.fqrn("subscriptions", project, subscriptio...
30.722513
80
0.558623
33e09c1449da0336671f91f7a7e5ef0d6d953474
86
py
Python
testprojects/pants-plugins/src/python/test_pants_plugin/__init__.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
1
2020-06-13T22:01:39.000Z
2020-06-13T22:01:39.000Z
testprojects/pants-plugins/src/python/test_pants_plugin/__init__.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
1
2018-09-04T17:37:34.000Z
2018-09-04T19:42:58.000Z
testprojects/pants-plugins/src/python/test_pants_plugin/__init__.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
3
2020-06-30T08:28:13.000Z
2021-07-28T09:35:57.000Z
__import__("pkg_resources").declare_namespace(__name__) # type: ignore[attr-defined]
43
85
0.802326
33e1e5dfe63926bb7626b2515a6463d6783a9e38
397
py
Python
booksite/booksite/sitemap.py
awesome-archive/bookspider
d51f909fe95dc27339242ecdd2b6f1f6d811851f
[ "Apache-2.0" ]
39
2015-05-24T08:45:22.000Z
2020-02-18T07:42:58.000Z
booksite/booksite/sitemap.py
awesome-archive/bookspider
d51f909fe95dc27339242ecdd2b6f1f6d811851f
[ "Apache-2.0" ]
3
2016-01-05T15:28:33.000Z
2017-03-18T12:40:45.000Z
booksite/booksite/sitemap.py
awesome-archive/bookspider
d51f909fe95dc27339242ecdd2b6f1f6d811851f
[ "Apache-2.0" ]
36
2015-04-30T08:06:08.000Z
2019-01-22T15:12:49.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.sitemaps import Sitemap from booksite.book.models import Book
26.466667
92
0.715365
33e202595bcff5408c85f89714403151350da0e9
7,411
py
Python
main.py
YOULOF2/Speedest
437ec1e3ce274ab58e1f35b04c57f42f8247819b
[ "MIT" ]
null
null
null
main.py
YOULOF2/Speedest
437ec1e3ce274ab58e1f35b04c57f42f8247819b
[ "MIT" ]
null
null
null
main.py
YOULOF2/Speedest
437ec1e3ce274ab58e1f35b04c57f42f8247819b
[ "MIT" ]
null
null
null
from playsound import playsound from renit import reinit_app from shape_creators import * from testbrain import TestBrain from tkinter import ttk from ttkthemes import ThemedTk import math REC_WIDTH = 600 REC_HEIGHT = 200 RECTANGLE_COLOUR = "#3fc1c9" RECTANGLE_TEXT_COLOUR = "#364f6b" BACKGROUND_COLOUR = "#f5f5f5" RE...
42.83815
120
0.612603
33e224dce84cd098e6d5bb11fe55ee39e1bc3fea
1,687
py
Python
pyvast/vast.py
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
pyvast/vast.py
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
1
2019-11-29T12:43:41.000Z
2019-11-29T12:43:41.000Z
pyvast/vast.py
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
"""python vast module Example: Disclaimer: `await` does not work in the python3.7 repl, use either python3.8 or ipython. Create a connector to a VAST server: > from pyvast import VAST > vast = VAST(app="/opt/tenzir/bin/vast") Test if the connector works: > await vast.connect() Extract ...
30.125
86
0.637226
33e2816a3db6db079f7b3bb329fdb909bb3e9cf8
458
py
Python
backend/wallet/migrations/0022_position_total_dividends.py
felipemaion/financial-management-gate-django
5f93a7d28a55852fed0a16d1830f92b0ee065948
[ "MIT" ]
2
2019-04-15T20:36:48.000Z
2020-02-09T23:20:27.000Z
backend/wallet/migrations/0022_position_total_dividends.py
felipemaion/financial-management-gate-django
5f93a7d28a55852fed0a16d1830f92b0ee065948
[ "MIT" ]
5
2020-02-12T00:06:06.000Z
2020-06-05T05:09:45.000Z
backend/wallet/migrations/0022_position_total_dividends.py
felipemaion/financial-management-gate-django
5f93a7d28a55852fed0a16d1830f92b0ee065948
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-09-06 21:11 from django.db import migrations, models
24.105263
114
0.635371
33e4cd7219f4ca477ecd9a9016025d803e4d41b9
633
py
Python
Point charges/main.py
NoahSchiro/3d-physics
bb1700f968016953b5781f3266882377f35d3ac2
[ "MIT" ]
null
null
null
Point charges/main.py
NoahSchiro/3d-physics
bb1700f968016953b5781f3266882377f35d3ac2
[ "MIT" ]
4
2021-09-01T21:03:52.000Z
2021-09-09T13:32:14.000Z
Point charges/main.py
NoahSchiro/3d-physics
bb1700f968016953b5781f3266882377f35d3ac2
[ "MIT" ]
null
null
null
from electric_field import * from physics_engine import * import math # Constant variables scene.width = 1600 scene.height = 800 # Create field my_field = electric_field() my_charge = point_charge(0.001, -1E-9, 10, 10, 10) while True: # Set frame rate rate(20) # This allows the charge to bounce around...
22.607143
53
0.672986
33e5c4ef0a62c2a0771e4127069e6b6a46219107
58
py
Python
oo/__init__.py
anthonysilvaa/pythonbirds
776ef93ffdb3f3365967e87df6cff54020c1d65c
[ "MIT" ]
null
null
null
oo/__init__.py
anthonysilvaa/pythonbirds
776ef93ffdb3f3365967e87df6cff54020c1d65c
[ "MIT" ]
null
null
null
oo/__init__.py
anthonysilvaa/pythonbirds
776ef93ffdb3f3365967e87df6cff54020c1d65c
[ "MIT" ]
null
null
null
from oo.pessoa import Pessoa p = Pessoa() print(type(p))
11.6
28
0.706897
33e6c4a804a5c34f1f8e8f628f3414186d87ca4d
110
py
Python
import_csv_fix_field_limit/models.py
ShaheenHossain/itpp-labs-misc-addons13
bf62dc5bc1abdc18d78e9560a286babbe1d0e082
[ "MIT" ]
null
null
null
import_csv_fix_field_limit/models.py
ShaheenHossain/itpp-labs-misc-addons13
bf62dc5bc1abdc18d78e9560a286babbe1d0e082
[ "MIT" ]
null
null
null
import_csv_fix_field_limit/models.py
ShaheenHossain/itpp-labs-misc-addons13
bf62dc5bc1abdc18d78e9560a286babbe1d0e082
[ "MIT" ]
3
2020-08-25T01:57:59.000Z
2021-09-11T15:38:02.000Z
# -*- coding: utf-8 -*- import sys from odoo.tools import convert convert.csv.field_size_limit(sys.maxsize)
15.714286
41
0.736364
33e727d76b8ef633ed4385538bc9aa5adf0eb38a
17,733
py
Python
tests/opwen_email_client/domain/email/test_store.py
resonancellc/opwen-webapp
20d008415727016a908921cc6bbbb55dc9dfffe1
[ "Apache-2.0" ]
null
null
null
tests/opwen_email_client/domain/email/test_store.py
resonancellc/opwen-webapp
20d008415727016a908921cc6bbbb55dc9dfffe1
[ "Apache-2.0" ]
null
null
null
tests/opwen_email_client/domain/email/test_store.py
resonancellc/opwen-webapp
20d008415727016a908921cc6bbbb55dc9dfffe1
[ "Apache-2.0" ]
1
2019-12-18T14:35:46.000Z
2019-12-18T14:35:46.000Z
from abc import ABCMeta from abc import abstractmethod from unittest import TestCase from typing import Iterable from typing import List from opwen_email_client.domain.email.store import EmailStore
39.582589
120
0.498788
33e744f33625829e440fa00f41cd61908cd2efcb
1,513
py
Python
src/functions/floodControl.py
dinesh-0602/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
32
2021-08-20T04:05:26.000Z
2022-03-27T17:35:47.000Z
src/functions/floodControl.py
rajV2/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
null
null
null
src/functions/floodControl.py
rajV2/TorrentSeedr
51bc75f34e9b07feba39af91021655914be85b6e
[ "MIT" ]
32
2021-08-21T14:21:46.000Z
2022-03-30T02:05:02.000Z
import time from src.objs import * #: Flood prevention
40.891892
130
0.610707
33e7e1642c5fa7247fbfda698e93071dbce85aab
1,138
py
Python
Week4_Airflow/Airflow/container-data/airflow/dags/hello_dag.py
lbdlbdlbdl/stepik-big-data-for-data-science
4b025333fa33d6fe82d9e78653ca730393f0338e
[ "Apache-2.0" ]
11
2019-11-14T20:22:25.000Z
2021-05-17T16:32:46.000Z
Week4_Airflow/Airflow/container-data/airflow/dags/hello_dag.py
lbdlbdlbdl/stepik-big-data-for-data-science
4b025333fa33d6fe82d9e78653ca730393f0338e
[ "Apache-2.0" ]
null
null
null
Week4_Airflow/Airflow/container-data/airflow/dags/hello_dag.py
lbdlbdlbdl/stepik-big-data-for-data-science
4b025333fa33d6fe82d9e78653ca730393f0338e
[ "Apache-2.0" ]
15
2019-12-21T18:05:06.000Z
2022-03-05T19:51:09.000Z
from datetime import datetime from airflow import DAG, AirflowException from datetime import datetime from airflow.operators.python_operator import PythonOperator from airflow.utils.trigger_rule import TriggerRule dag = DAG('hello-world-dag', start_date=datetime(2020, 3, 30), description='Hell...
27.756098
95
0.685413
33e7f51187f7b1f15f67e176d3d2914a0ae8b45e
3,449
py
Python
src/legacy/unit/basedimension.py
bieniekmateusz/forcebalance
593791866e622ab4eae23ce29a0bed27499a118d
[ "BSD-3-Clause" ]
98
2015-03-31T06:42:14.000Z
2022-03-13T12:07:37.000Z
src/legacy/unit/basedimension.py
bieniekmateusz/forcebalance
593791866e622ab4eae23ce29a0bed27499a118d
[ "BSD-3-Clause" ]
121
2015-07-13T15:57:02.000Z
2022-03-24T20:07:10.000Z
src/legacy/unit/basedimension.py
bieniekmateusz/forcebalance
593791866e622ab4eae23ce29a0bed27499a118d
[ "BSD-3-Clause" ]
66
2015-04-06T03:05:04.000Z
2022-02-26T05:11:59.000Z
#!/bin/env python """ Module simtk.unit.basedimension BaseDimension class for use by units and quantities. BaseDimensions are things like "length" and "mass". This is part of the OpenMM molecular simulation toolkit originating from Simbios, the NIH National Center for Physics-Based Simulation of Biological Structur...
34.148515
88
0.71354
33e7fe72c262d1092a729f884ea3e0c68d37b8db
3,224
py
Python
dwh_analytic/dags/data_warehouse_prod/functions/db_connect.py
dnguyenngoc/analytic
d609a93e96e7c546ad3ee3ebd4e13309ddf575f8
[ "MIT" ]
null
null
null
dwh_analytic/dags/data_warehouse_prod/functions/db_connect.py
dnguyenngoc/analytic
d609a93e96e7c546ad3ee3ebd4e13309ddf575f8
[ "MIT" ]
null
null
null
dwh_analytic/dags/data_warehouse_prod/functions/db_connect.py
dnguyenngoc/analytic
d609a93e96e7c546ad3ee3ebd4e13309ddf575f8
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine import pandas as pd import psycopg2
33.583333
162
0.563275
33e9f158ff66486224b4550051246b6dec72343a
21,743
py
Python
eodag_cube/rpc/protocol/eodag_pb2.py
CS-SI/eodag-cube
db13af685e6b07411aaaedcac0a6cb47caefb799
[ "Apache-2.0" ]
11
2021-01-15T14:26:28.000Z
2021-12-15T08:37:03.000Z
eodag_cube/rpc/protocol/eodag_pb2.py
CS-SI/eodag-cube
db13af685e6b07411aaaedcac0a6cb47caefb799
[ "Apache-2.0" ]
14
2021-03-15T16:31:47.000Z
2022-01-07T14:52:10.000Z
eodag_cube/rpc/protocol/eodag_pb2.py
CS-SI/eodag-cube
db13af685e6b07411aaaedcac0a6cb47caefb799
[ "Apache-2.0" ]
1
2021-04-28T10:15:52.000Z
2021-04-28T10:15:52.000Z
# -*- coding: utf-8 -*- # Copyright 2021, CS GROUP - France, http://www.c-s.fr # # This file is part of EODAG project # https://www.github.com/CS-SI/EODAG # # 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...
30.79745
1,667
0.625811
33eea147dcf11c511b4a9c8d6be444a952495a54
1,962
py
Python
azure-mgmt-devtestlabs/azure/mgmt/devtestlabs/models/lab_announcement_properties_fragment_py3.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
1
2021-09-07T18:36:04.000Z
2021-09-07T18:36:04.000Z
azure-mgmt-devtestlabs/azure/mgmt/devtestlabs/models/lab_announcement_properties_fragment_py3.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
2
2019-10-02T23:37:38.000Z
2020-10-02T01:17:31.000Z
azure-mgmt-devtestlabs/azure/mgmt/devtestlabs/models/lab_announcement_properties_fragment_py3.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
1
2019-06-17T22:18:23.000Z
2019-06-17T22:18:23.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
40.875
137
0.625382
33eea834853e14b35733d601c03bdedc405549d4
30,432
py
Python
target_extraction/dataset_parsers.py
apmoore1/target-extraction
4139ecdc432411fcc4ed2723f4165e7dae93544d
[ "Apache-2.0" ]
5
2019-07-27T13:57:47.000Z
2021-06-16T13:17:44.000Z
target_extraction/dataset_parsers.py
apmoore1/target-extraction
4139ecdc432411fcc4ed2723f4165e7dae93544d
[ "Apache-2.0" ]
26
2019-05-01T11:56:35.000Z
2020-06-18T16:06:40.000Z
target_extraction/dataset_parsers.py
apmoore1/target-extraction
4139ecdc432411fcc4ed2723f4165e7dae93544d
[ "Apache-2.0" ]
1
2019-07-11T07:16:09.000Z
2019-07-11T07:16:09.000Z
''' This module contains all the functions that will parse a particular dataset into a `target_extraction.data_types.TargetTextCollection` object. Functions: 1. semeval_2014 ''' import json from pathlib import Path import xml.etree.ElementTree as ET from xml.etree.ElementTree import Element from xml.etree.ElementTree...
50.889632
159
0.592961