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
bd0df2e5d3c7a33e0c8bc13d1922de1d4da4a323
3,706
py
Python
app_startup4/views.py
konjing/django_sme_award
840ed3685299c77be8516acf1e8a0123930dd63d
[ "MIT" ]
null
null
null
app_startup4/views.py
konjing/django_sme_award
840ed3685299c77be8516acf1e8a0123930dd63d
[ "MIT" ]
5
2021-03-19T02:32:48.000Z
2021-06-10T19:01:30.000Z
app_startup4/views.py
konjing/django_sme_award
840ed3685299c77be8516acf1e8a0123930dd63d
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse from django.contrib import messages from app_startup4.models import StartupCompetition def registerListView(request): """ """ queryset = StartupCompetition.objects.filter(state=1, competition=2) if request.method ==...
40.282609
120
0.674582
bd101452c6ae5bad47e4c2d957dbf69805a1b869
3,462
py
Python
SRC/common/IO/GUI/DIR.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
31
2015-04-01T15:59:36.000Z
2022-03-18T20:21:47.000Z
SRC/common/IO/GUI/DIR.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
3
2015-02-06T19:30:24.000Z
2017-05-25T14:14:31.000Z
SRC/common/IO/GUI/DIR.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
7
2015-01-23T15:19:22.000Z
2021-06-09T09:03:59.000Z
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we ...
25.455882
75
0.624783
bd12daa2d90f5e59ee73aa4f239e4f3eb0699f08
4,366
py
Python
chapter_01/main_chapter01_00.py
couldbebetter/simulations_radar_systems_design
fcb23964e10c7ebb9cb1beabadc257e970a2c1de
[ "MIT" ]
20
2018-02-02T06:46:14.000Z
2022-01-05T21:25:50.000Z
chapter_01/main_chapter01_00.py
couldbebetter/simulations_radar_systems_design
fcb23964e10c7ebb9cb1beabadc257e970a2c1de
[ "MIT" ]
null
null
null
chapter_01/main_chapter01_00.py
couldbebetter/simulations_radar_systems_design
fcb23964e10c7ebb9cb1beabadc257e970a2c1de
[ "MIT" ]
5
2018-05-31T16:42:07.000Z
2020-07-30T22:29:43.000Z
# -*- coding: utf-8 -*- """ Created on 21 October 2017 implements Listing 1.2. MATLAB Program fig1_12.m in Mahafza radar book @author: Ashiv Dhondea """ import numpy as np import RadarBasics as RB import RadarConstants as RC import RadarEquations as RE # Importing what's needed for nice plots. import matplotlib.p...
40.803738
113
0.682776
bd12efd43b17ceb7fdeb18d7ab015b7b17528841
4,770
py
Python
core/views.py
edwildson/djangosecommerce
22541d24af52cd6f2d51196116a101583389b945
[ "CC0-1.0" ]
1
2021-11-05T20:35:00.000Z
2021-11-05T20:35:00.000Z
core/views.py
edwildson/djangosecommerce
22541d24af52cd6f2d51196116a101583389b945
[ "CC0-1.0" ]
null
null
null
core/views.py
edwildson/djangosecommerce
22541d24af52cd6f2d51196116a101583389b945
[ "CC0-1.0" ]
null
null
null
# coding=utf-8 import functools import warnings from django.shortcuts import render from .forms import ContactForm from catalog.views import Product from django.views.generic import View, TemplateView, CreateView from django.contrib.auth import get_user_model from django.contrib import messages # Sobrecarga da classe...
32.896552
89
0.637945
bd133f9bc78502bb6dd771b9750d4b772d62e105
96
py
Python
venv/lib/python3.8/site-packages/jedi/inference/compiled/mixed.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/jedi/inference/compiled/mixed.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/jedi/inference/compiled/mixed.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/d9/2c/a4/7718a956dd946c833114214fec833728fef3062ae858a03a9d82cf9dc7
96
96
0.895833
bd14232c1edf5c76909d75642903193968483bbc
1,087
py
Python
tests/jekpost_tests.py
arjunkrishnababu96/jekpost
2ddcb337e98c534426d83f1bd6fbde1f45f59225
[ "MIT" ]
1
2018-10-05T16:53:02.000Z
2018-10-05T16:53:02.000Z
tests/jekpost_tests.py
arjunkrishnababu96/jekpost
2ddcb337e98c534426d83f1bd6fbde1f45f59225
[ "MIT" ]
null
null
null
tests/jekpost_tests.py
arjunkrishnababu96/jekpost
2ddcb337e98c534426d83f1bd6fbde1f45f59225
[ "MIT" ]
null
null
null
import unittest import jekpost.jekpost_create as jek from datetime import date if __name__ == '__main__': unittest.main()
31.970588
68
0.580497
bd14aa72ec4ce2f35a4d3b6757b556fa6efbf5d2
2,636
py
Python
ESMF/src/addon/ESMPy/examples/mesh_locstream_regrid.py
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2018-07-05T16:48:58.000Z
2018-07-05T16:48:58.000Z
ESMF/src/addon/ESMPy/examples/mesh_locstream_regrid.py
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
1
2022-03-04T16:12:02.000Z
2022-03-04T16:12:02.000Z
ESMF/src/addon/ESMPy/examples/mesh_locstream_regrid.py
joeylamcy/gchp
0e1676300fc91000ecb43539cabf1f342d718fb3
[ "NCSA", "Apache-2.0", "MIT" ]
null
null
null
# This example demonstrates how to regrid between a mesh and a locstream. import ESMF import numpy import ESMF.util.helpers as helpers import ESMF.api.constants as constants # This call enables debug logging # ESMF.Manager(debug=True) from ESMF.util.mesh_utilities import mesh_create_5, mesh_create_5_parallel from E...
35.621622
118
0.727238
bd14fe29205fb7db4613505f3b8655a44fae871a
36
py
Python
workPEMSBAY/Param_HistoricalAverage.py
deepkashiwa20/DeepTraffic
6ac66258ef9fa9bbe7dcd7c4750cb24946eba58c
[ "MIT" ]
35
2021-06-18T01:03:16.000Z
2022-03-31T02:16:37.000Z
workPEMSBAY/Param_HistoricalAverage.py
yuanxw5/DL-Traff-Graph
63f3d81ce3a750e43645c61089c5ca219bfcbfd3
[ "MIT" ]
null
null
null
workPEMSBAY/Param_HistoricalAverage.py
yuanxw5/DL-Traff-Graph
63f3d81ce3a750e43645c61089c5ca219bfcbfd3
[ "MIT" ]
12
2021-06-17T02:54:48.000Z
2022-03-25T05:21:43.000Z
HISTORYDAY = 7 DAYTIMESTEP = 24 * 12
18
21
0.722222
bd15c472f906d140ef00546b94634b33eb43240f
714
py
Python
topy/__init__.py
TarcisioLOliveira/topy
060da675e6494fee63fa5547befcb1f8ecc39fdc
[ "MIT" ]
1
2021-01-25T00:13:34.000Z
2021-01-25T00:13:34.000Z
topy/__init__.py
TarcisioLOliveira/topy
060da675e6494fee63fa5547befcb1f8ecc39fdc
[ "MIT" ]
null
null
null
topy/__init__.py
TarcisioLOliveira/topy
060da675e6494fee63fa5547befcb1f8ecc39fdc
[ "MIT" ]
null
null
null
""" # ============================================================================== # ToPy -- Topology optimization with Python. # Copyright (C) 2012, 2015, 2016, 2017 William Hunter. # Copyright (C) 2020, 2021, Tarcsio L. de Oliveira # ============================================================================== """...
26.444444
80
0.560224
bd1639f542971f0b9d004e950fd65037d1434c94
4,788
py
Python
data/fidt_generate.py
PPGod95/FIDTM
b5582c5cc485496d85af2043ffd6e4266f354f3b
[ "MIT" ]
null
null
null
data/fidt_generate.py
PPGod95/FIDTM
b5582c5cc485496d85af2043ffd6e4266f354f3b
[ "MIT" ]
null
null
null
data/fidt_generate.py
PPGod95/FIDTM
b5582c5cc485496d85af2043ffd6e4266f354f3b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @Project : @FileName: @Author :penghr @Time :2021/11/xx xx:xx @Desc : FIDTM-train/dataset/FIDTM/ test gt_fidt_map IMG_8.h5 gt_show ...
33.71831
131
0.539474
bd166a19a710f2d8a3cb312cb57d84d5ce6d3bb6
356
py
Python
tests/urls.py
maykinmedia/djadyen
8bde7172c72d68975d4a77c7ef6bed73412619dc
[ "BSD-3-Clause" ]
3
2018-10-19T06:57:50.000Z
2020-11-12T11:20:37.000Z
tests/urls.py
maykinmedia/djadyen
8bde7172c72d68975d4a77c7ef6bed73412619dc
[ "BSD-3-Clause" ]
16
2017-02-14T12:37:58.000Z
2019-04-25T07:55:42.000Z
tests/urls.py
maykinmedia/djadyen
8bde7172c72d68975d4a77c7ef6bed73412619dc
[ "BSD-3-Clause" ]
2
2018-05-16T10:08:34.000Z
2019-09-29T23:31:04.000Z
try: from django.urls import path, include except: from django.conf.urls import url as path, include from django.contrib import admin urlpatterns = [ path(r'^admin/', admin.site.urls), path(r'^app/', include('tests.app.urls')), path(r'^adyen/notifications/', include('djadyen.notifications.urls', n...
27.384615
107
0.702247
bd167da504ac1a51b81416178b209b951582f2de
583
py
Python
cpc/type/__init__.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
1
2021-05-09T07:10:19.000Z
2021-05-09T07:10:19.000Z
cpc/type/__init__.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
null
null
null
cpc/type/__init__.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
null
null
null
from .ArrayType import * from .ArrayTypeRef import * from .CompositeType import * from .FunctionType import * from .FunctionTypeRef import * from .IntegerType import * from .IntegerTypeRef import * from .NamedType import * from .ParamTypes import * from .PointerType import * from .PointerTypeRef import * from .StructTy...
26.5
30
0.7753
bd16c8b39601a36ca38158d3199f58ce464da6a0
41
py
Python
packages/speex.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
packages/speex.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
packages/speex.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
XiphPackage ('speex', 'speex', '1.2rc1')
20.5
40
0.634146
bd1785dbb7815b9bfadbb18331b534590567b760
2,105
py
Python
Python Tutorial Django/pac/pac/main/views.py
PaulPan00/donkey_wrapper
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
6
2021-03-26T01:42:31.000Z
2021-04-11T16:17:42.000Z
Python Tutorial Django/pac/pac/main/views.py
packetsss/Python
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
null
null
null
Python Tutorial Django/pac/pac/main/views.py
packetsss/Python
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
7
2021-04-06T06:55:22.000Z
2021-05-03T11:26:38.000Z
# Create by Packetsss # Personal use is allowed # Commercial use is prohibited from django.shortcuts import render # Create your views here. from django.http import HttpResponse, HttpResponseRedirect from .models import ToDoList, Item from .forms import Create_list # def id(response, id): # lst = ToDoList.objec...
30.071429
74
0.56152
bd17b046c9a2e0dbd7f153a5a1f41fd0257f99eb
5,610
py
Python
src/Commands.py
rkpop/kokobot
d19d68e12a7e6c0a25373ae5404e46632d59c40f
[ "MIT" ]
3
2018-07-25T23:55:58.000Z
2018-10-17T05:50:18.000Z
src/Commands.py
rkpop/kokobot
d19d68e12a7e6c0a25373ae5404e46632d59c40f
[ "MIT" ]
null
null
null
src/Commands.py
rkpop/kokobot
d19d68e12a7e6c0a25373ae5404e46632d59c40f
[ "MIT" ]
1
2018-12-01T05:18:48.000Z
2018-12-01T05:18:48.000Z
import asyncio from discord.ext import commands from src.BaseCog import BaseCog from src.DB import DB from src.Reasons import Reasons
31.166667
86
0.587344
bd184a22649fd3e0a64f5b17ec6b9f8201e73eaa
2,981
py
Python
src/lur/grade.py
qlurkin/lur_python
39564f276b3c03a073d4922627634b67c3af2052
[ "MIT" ]
null
null
null
src/lur/grade.py
qlurkin/lur_python
39564f276b3c03a073d4922627634b67c3af2052
[ "MIT" ]
null
null
null
src/lur/grade.py
qlurkin/lur_python
39564f276b3c03a073d4922627634b67c3af2052
[ "MIT" ]
null
null
null
from cmath import nan from sqlite3 import DatabaseError import pandas as pd import numpy as np import json if __name__ == '__main__': data = { 'matricule': ['12345', '23456', '34567'], 'name': ['Quentin', 'Andr', 'Ken'], 'grade': [12, 13, 14], 'status': ['absent', 'malade', 'prsent'...
31.378947
101
0.606172
bd1a64b8faa4b7589ee4783d56ea7df4ceeadc17
201
py
Python
website/canvas/storage.py
bopopescu/canvas
2dfd6009eaecd8dac64ccc6125084e65305fb5d0
[ "BSD-3-Clause" ]
61
2015-11-10T17:13:46.000Z
2021-08-06T17:58:30.000Z
website/canvas/storage.py
bopopescu/canvas
2dfd6009eaecd8dac64ccc6125084e65305fb5d0
[ "BSD-3-Clause" ]
13
2015-11-11T07:49:41.000Z
2021-06-09T03:45:31.000Z
website/canvas/storage.py
bopopescu/canvas
2dfd6009eaecd8dac64ccc6125084e65305fb5d0
[ "BSD-3-Clause" ]
18
2015-11-11T04:50:04.000Z
2021-08-20T00:57:11.000Z
from compressor.storage import CompressorFileStorage
28.714286
72
0.766169
bd1ac0aae6302168adf0c1a01d9c3dda3ee533a8
6,104
py
Python
prettytype/__init__.py
stuglaser/prettytype
af31de6017dad56b1f6ba37225f0b17d35a69bd4
[ "MIT" ]
1
2021-01-06T17:37:40.000Z
2021-01-06T17:37:40.000Z
prettytype/__init__.py
stuglaser/prettytype
af31de6017dad56b1f6ba37225f0b17d35a69bd4
[ "MIT" ]
null
null
null
prettytype/__init__.py
stuglaser/prettytype
af31de6017dad56b1f6ba37225f0b17d35a69bd4
[ "MIT" ]
null
null
null
import numbers anyT = AnyT() emptyT = SimpleType('') noneT = NoneT() numberT = SimpleType('number') intT = SimpleType('int', parent=numberT, type=int) floatT = SimpleType('float', parent=numberT, type=float) stringT = SimpleType('str', type=str) PRIMITIVES = [intT, floatT, stringT] # most specific common ...
23.750973
78
0.548984
bd1bc728b1d732bdeadd112c3709dd6ba324fe1b
5,705
py
Python
simulate_position_covariance_data.py
ronniyjoseph/Hybrid-Calibration
7f24a8a5f67d647a47d4559566f7461cb3be57ac
[ "AFL-3.0" ]
null
null
null
simulate_position_covariance_data.py
ronniyjoseph/Hybrid-Calibration
7f24a8a5f67d647a47d4559566f7461cb3be57ac
[ "AFL-3.0" ]
9
2019-10-23T03:30:33.000Z
2020-02-19T05:25:27.000Z
simulate_position_covariance_data.py
ronniyjoseph/Hybrid-Calibration
7f24a8a5f67d647a47d4559566f7461cb3be57ac
[ "AFL-3.0" ]
null
null
null
import os import numpy import copy import argparse from matplotlib import pyplot from src.radiotelescope import RadioTelescope from src.radiotelescope import BaselineTable from src.skymodel import SkyRealisation from simulate_beam_covariance_data import compute_baseline_covariance from simulate_beam_covariance_data im...
46.382114
117
0.713234
bd1c3ef16239b0d584d630e4d1b4df484eba30ba
371
py
Python
wspay/migrations/0004_remove_wspayrequest_transactions.py
pinkdroids/django-wspay
19b52cb19539577c812e512062ffb239f2d89190
[ "MIT" ]
null
null
null
wspay/migrations/0004_remove_wspayrequest_transactions.py
pinkdroids/django-wspay
19b52cb19539577c812e512062ffb239f2d89190
[ "MIT" ]
null
null
null
wspay/migrations/0004_remove_wspayrequest_transactions.py
pinkdroids/django-wspay
19b52cb19539577c812e512062ffb239f2d89190
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-20 15:12 from django.db import migrations
20.611111
78
0.638814
bd1d6496d7db8cd8d21e423c19bb1534688474e4
24,456
py
Python
anthill/event/admin.py
anthill-services/anthill-event
3c303f33e4c150ce2dfed4f3534ec40e935ecfb8
[ "MIT" ]
null
null
null
anthill/event/admin.py
anthill-services/anthill-event
3c303f33e4c150ce2dfed4f3534ec40e935ecfb8
[ "MIT" ]
null
null
null
anthill/event/admin.py
anthill-services/anthill-event
3c303f33e4c150ce2dfed4f3534ec40e935ecfb8
[ "MIT" ]
1
2017-12-03T22:03:10.000Z
2017-12-03T22:03:10.000Z
from anthill.common.validate import validate from anthill.common import admin as a, update from . model.event import EventNotFound, CategoryNotFound, EventFlags, EventEndAction import ujson import collections EVENT_END_ACTION_DESCRIPTION = """ <b>Send Message</b><br>A message with detailed information about event ...
36.392857
124
0.5294
bd1d74e5ac367e134c8e0a19a4b10cfe4ee5fb88
15,704
py
Python
main.py
opt12/gym-jsbsim-eee
fa61d0d4679fd65b5736fc562fe268714b4e08d8
[ "MIT" ]
7
2020-11-10T07:33:40.000Z
2021-06-23T07:25:43.000Z
main.py
opt12/gym-jsbsim-eee
fa61d0d4679fd65b5736fc562fe268714b4e08d8
[ "MIT" ]
null
null
null
main.py
opt12/gym-jsbsim-eee
fa61d0d4679fd65b5736fc562fe268714b4e08d8
[ "MIT" ]
5
2020-07-12T00:10:59.000Z
2021-06-22T09:13:13.000Z
import sys, os # sys.path.append(os.path.join(os.path.dirname(__file__)) #TODO: Is this a good idea? Dunno! It works! # print(os.path.join(os.path.dirname(__file__))) import argparse import markov_pilot.environment.properties as prp from markov_pilot.environment.environment import NoFGJsbSimEnv_multi, J...
59.037594
219
0.707972
bd1d8b232aa33e6da7911055afde86063303f3d6
19,781
py
Python
atm/core.py
HDI-Project/ATM
dde454a95e963a460843a61bbb44d18982984b17
[ "MIT" ]
554
2017-12-19T06:43:11.000Z
2022-03-26T04:24:55.000Z
atm/core.py
BTHUNTERCN/ATM
dde454a95e963a460843a61bbb44d18982984b17
[ "MIT" ]
128
2017-12-19T21:30:32.000Z
2021-04-19T17:03:39.000Z
atm/core.py
BTHUNTERCN/ATM
dde454a95e963a460843a61bbb44d18982984b17
[ "MIT" ]
140
2017-12-20T03:47:04.000Z
2022-03-17T01:50:24.000Z
# -*- coding: utf-8 -*- """Core ATM module. This module contains the ATM class, which is the one responsible for executing and orchestrating the main ATM functionalities. """ import logging import random import time from datetime import datetime, timedelta from operator import attrgetter from tqdm import tqdm from...
40.954451
95
0.547495
bd225009cbeb540acf88e600f37e2294b3fa16ce
742
py
Python
dbcollection/datasets/leeds_sports_pose/leeds_sports_pose/__init__.py
dbcollection/dbcollection
a36f57a11bc2636992e26bba4406914162773dd9
[ "MIT" ]
23
2017-09-20T19:23:26.000Z
2022-01-09T16:18:11.000Z
dbcollection/datasets/leeds_sports_pose/leeds_sports_pose/__init__.py
dbcollection/dbcollection
a36f57a11bc2636992e26bba4406914162773dd9
[ "MIT" ]
148
2017-07-23T14:28:28.000Z
2022-01-13T00:35:17.000Z
dbcollection/datasets/leeds_sports_pose/leeds_sports_pose/__init__.py
dbcollection/dbcollection
a36f57a11bc2636992e26bba4406914162773dd9
[ "MIT" ]
6
2018-01-12T15:47:57.000Z
2021-02-09T06:32:39.000Z
""" Leeds Sports Pose (LSP) Dataset download/process functions. """ from dbcollection.datasets import BaseDataset from .keypoints import Keypoints, KeypointsOriginal urls = ( 'http://sam.johnson.io/research/lsp_dataset_original.zip', { 'url': 'http://sam.johnson.io/research/lsp_dataset.zip', ...
24.733333
78
0.699461
bd25018110a4f497d278f0c5fcc41f39296d2cf6
3,505
py
Python
flydra_analysis/flydra_analysis/a2/check_mainbrain_h5_contiguity.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
45
2017-08-25T06:46:56.000Z
2021-08-29T16:42:49.000Z
flydra_analysis/flydra_analysis/a2/check_mainbrain_h5_contiguity.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
7
2017-10-16T10:46:20.000Z
2020-12-03T16:42:55.000Z
flydra_analysis/flydra_analysis/a2/check_mainbrain_h5_contiguity.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
21
2018-04-11T09:06:40.000Z
2021-12-26T23:38:40.000Z
#!/usr/bin/env python from __future__ import print_function import tables import argparse import numpy as np import sys def cls(root="/mnt/strawscience/data/auto_pipeline/raw_archive/by_date"): """Generates example command lines amenable to use, for example, with GNU parallel.""" from itertools import produ...
33.066038
90
0.575178
bd2629883944c343ab1a2e4d82cafb22e7d45e13
2,304
py
Python
reader.py
Birdulon/html-mangareader
dbdbbaa454125896b9de2d918f2ab59a3c06adc2
[ "MIT" ]
1
2021-05-08T14:58:17.000Z
2021-05-08T14:58:17.000Z
reader.py
Birdulon/html-mangareader
dbdbbaa454125896b9de2d918f2ab59a3c06adc2
[ "MIT" ]
null
null
null
reader.py
Birdulon/html-mangareader
dbdbbaa454125896b9de2d918f2ab59a3c06adc2
[ "MIT" ]
null
null
null
import sys import traceback import webbrowser from argparse import ArgumentParser, Namespace from os import path from tkinter import Tk, messagebox, filedialog from mangareader.mangarender import extract_render from mangareader import templates from time import sleep if __name__ == '__main__': main()
34.909091
100
0.631076
bd29d7f8357ca28a05195118a23e7f338eea17aa
483
py
Python
Qemu/power_on_qemu.py
I-Rinka/Virtualization-Difference
7727215f5b5cdb8bf18d91ef76685ccd3489e760
[ "MIT" ]
null
null
null
Qemu/power_on_qemu.py
I-Rinka/Virtualization-Difference
7727215f5b5cdb8bf18d91ef76685ccd3489e760
[ "MIT" ]
null
null
null
Qemu/power_on_qemu.py
I-Rinka/Virtualization-Difference
7727215f5b5cdb8bf18d91ef76685ccd3489e760
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import socket import os import time import threading if __name__ == "__main__": n=os.fork() if n>0: os.system("sleep 2") os.system("sudo ip addr add 172.19.0.1/24 dev tap1") os.system("sudo ip link set tap1 up") os.wait() ...
18.576923
64
0.52588
bd2a739ca5325c09ff24414f0ce30e0bab1eacb7
381
py
Python
tests/unit/python/execution_tree/dynamic_init.py
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
83
2017-08-27T15:09:13.000Z
2022-01-18T17:03:41.000Z
tests/unit/python/execution_tree/dynamic_init.py
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
808
2017-08-27T15:35:01.000Z
2021-12-14T17:30:50.000Z
tests/unit/python/execution_tree/dynamic_init.py
frzfrsfra4/phylanx
001fe7081f3a24e56157cdb21b2d126b8953ff5d
[ "BSL-1.0" ]
55
2017-08-27T15:09:22.000Z
2022-03-25T12:07:34.000Z
# Copyright (c) 2018 R. Tohid # # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) from phylanx import Phylanx, PhylanxSession if __name__ == "__main__": PhylanxSession.init(1) main()
17.318182
79
0.671916
bd2af34a041fa744101d9895d1374416d6964a87
1,073
py
Python
indexStackexchange.py
o19s/semantic-search-course
ebe15eaa65c5009fa2d526b4df72bf8dbfb8630f
[ "Apache-2.0" ]
6
2016-03-07T18:41:52.000Z
2016-12-22T20:45:17.000Z
indexStackexchange.py
o19s/semantic-search-course
ebe15eaa65c5009fa2d526b4df72bf8dbfb8630f
[ "Apache-2.0" ]
1
2016-03-07T19:09:19.000Z
2016-03-07T19:09:19.000Z
indexStackexchange.py
o19s/semantic-search-course
ebe15eaa65c5009fa2d526b4df72bf8dbfb8630f
[ "Apache-2.0" ]
null
null
null
import requests import json posts = openPosts() from elasticsearch import Elasticsearch from elasticsearch.helpers import bulk es = Elasticsearch("http://localhost:9200") bulk(es, bulkAdds(posts))
26.825
121
0.587139
bd2bf016c3e6797feee09cab8b88dd0593ba10a9
332
py
Python
hackathonbaobab2020/tests/__init__.py
baobabsoluciones/hackathonbaobab2020
ada30525cca061daad4bd420aa45dd4cfc7b790e
[ "MIT" ]
null
null
null
hackathonbaobab2020/tests/__init__.py
baobabsoluciones/hackathonbaobab2020
ada30525cca061daad4bd420aa45dd4cfc7b790e
[ "MIT" ]
2
2020-12-03T22:37:45.000Z
2021-01-28T19:43:42.000Z
hackathonbaobab2020/tests/__init__.py
baobabsoluciones/hackathonbaobab2020
ada30525cca061daad4bd420aa45dd4cfc7b790e
[ "MIT" ]
5
2020-11-20T15:37:58.000Z
2021-01-29T10:22:07.000Z
import os import zipfile from ..core import Instance
27.666667
78
0.740964
bd2c89f3c83b146173c4e02b15272145ff176687
1,634
py
Python
Lab01_Introduction/exercise-4.py
rodrigoc-silva/Python-course
327b20738a4b383510faddc0ec26a54be1bbd717
[ "MIT" ]
null
null
null
Lab01_Introduction/exercise-4.py
rodrigoc-silva/Python-course
327b20738a4b383510faddc0ec26a54be1bbd717
[ "MIT" ]
null
null
null
Lab01_Introduction/exercise-4.py
rodrigoc-silva/Python-course
327b20738a4b383510faddc0ec26a54be1bbd717
[ "MIT" ]
null
null
null
#This program shows the amount of each ingredient needed for a numbers of cookies. #constants sugar = 1.5 butter = 1 flour = 2.75 cookies = 48 #input numOfCookies = int(input('Enter the number of cookies:')) #calculation amtSugar = sugar / cookies * numOfCookies amtButter = butter / cookies * numOfCookies amtFlour ...
18.155556
82
0.660343
bd2cd6efeb3ab12f89218d4758f64e6ad10fe52a
3,778
py
Python
tests/test_versions.py
jaleskovec/reqcheck
ffc13cd28127f751617cdd29f7003866341fca58
[ "MIT" ]
null
null
null
tests/test_versions.py
jaleskovec/reqcheck
ffc13cd28127f751617cdd29f7003866341fca58
[ "MIT" ]
2
2021-01-27T12:22:11.000Z
2021-01-31T03:32:08.000Z
tests/test_versions.py
jaleskovec/reqcheck
ffc13cd28127f751617cdd29f7003866341fca58
[ "MIT" ]
null
null
null
import unittest from datetime import datetime, timedelta from pkg_resources import parse_version import reqcheck.versions as versions
49.064935
129
0.642139
bd2df4074244dd69e6875bd543777ca99a678244
2,437
py
Python
seoaudit/config.py
Guber/seoaudit
e38bc453629643f0282cdf9324e4f1db81f57f7f
[ "Apache-2.0" ]
7
2019-12-10T17:05:14.000Z
2020-11-10T10:10:45.000Z
seoaudit/config.py
Guber/seoaudit
e38bc453629643f0282cdf9324e4f1db81f57f7f
[ "Apache-2.0" ]
3
2020-10-23T09:19:19.000Z
2021-12-13T20:28:03.000Z
seoaudit/config.py
Guber/seoaudit
e38bc453629643f0282cdf9324e4f1db81f57f7f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from seoaudit.checks.element import ElementCheck from seoaudit.checks.page import PageCheck from seoaudit.checks.site import SiteCheck page_tests = [(PageCheck.TEXT_TO_CODE_RATIO, {"min_ratio": 0.1}), (PageCheck.DOM_SIZE, {"max_size": 1500}), [PageCheck.ELEMENTS_SIMILA...
50.770833
115
0.588839
bd2e2477ed8bfb390dc1b2799ff2c5a263416a72
3,822
py
Python
utils/certificate/tools.py
sr-gi/paysense
e896191b42c97009d56a23d54518569561064c42
[ "BSD-3-Clause" ]
2
2015-11-30T19:05:19.000Z
2017-02-04T08:31:59.000Z
utils/certificate/tools.py
sr-gi/paysense
e896191b42c97009d56a23d54518569561064c42
[ "BSD-3-Clause" ]
null
null
null
utils/certificate/tools.py
sr-gi/paysense
e896191b42c97009d56a23d54518569561064c42
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) <2015> <Sergi Delgado Segura> # Distributed under the BSD software license, see the accompanying file LICENSE from pyasn1.codec.der import encoder, decoder from pyasn1_modules.rfc2459 import Certificate from Crypto.PublicKey import RSA from M2Crypto import X509 from hashlib import sha256 from os import...
34.745455
176
0.715856
bd2ee870e5845b50e43bca14345288b03bd674b2
1,340
py
Python
zombie_infection.py
schana/random-hacking
5eeda2f05681ce9f56f1b9114255c2392e92ee9a
[ "Apache-2.0" ]
null
null
null
zombie_infection.py
schana/random-hacking
5eeda2f05681ce9f56f1b9114255c2392e92ee9a
[ "Apache-2.0" ]
null
null
null
zombie_infection.py
schana/random-hacking
5eeda2f05681ce9f56f1b9114255c2392e92ee9a
[ "Apache-2.0" ]
null
null
null
import random import sys sys.setrecursionlimit(15000) count_columns = 50 count_rows = 40 matrix = [[random.randint(0, 1) for i in range(count_columns)] for j in range(count_rows)] matrix = [[0] * count_columns for _ in range(count_rows)] for _ in range(10): matrix[random.randint(0, count_rows - 1)][random.randin...
24.363636
90
0.590299
bd2f0d561dd6a11311d27d509b7dfde5f4ee84a5
114
py
Python
portabletext_html/__init__.py
otovo/python-sanity-html
e445dd9d0f05f8cfe424112e568f37c36e663096
[ "Apache-2.0" ]
13
2021-04-14T11:19:20.000Z
2021-11-26T11:56:39.000Z
portabletext_html/__init__.py
otovo/python-sanity-html
e445dd9d0f05f8cfe424112e568f37c36e663096
[ "Apache-2.0" ]
25
2021-04-14T12:48:50.000Z
2021-11-29T08:11:14.000Z
portabletext_html/__init__.py
otovo/python-portabletext-html
31718a70db58afd143976bf0edfb42239f1800dc
[ "Apache-2.0" ]
null
null
null
from portabletext_html.renderer import PortableTextRenderer, render __all__ = ['PortableTextRenderer', 'render']
28.5
67
0.824561
bd32c31d868cb38b20ce13d60b0f31a73b04c464
309
py
Python
dad.py
1234borkowskip/WD151280
273d8a5b655e60eed1195125420462e1e11161cf
[ "MIT" ]
null
null
null
dad.py
1234borkowskip/WD151280
273d8a5b655e60eed1195125420462e1e11161cf
[ "MIT" ]
null
null
null
dad.py
1234borkowskip/WD151280
273d8a5b655e60eed1195125420462e1e11161cf
[ "MIT" ]
null
null
null
print("{} wyraz ciagu geometrycznego gdzie a1 = {}, q = {} wynosi {}".format(4, 1, 5, cg(4, 1, 5))) print("{} wyraz ciagu geometrycznego gdzie a1 = {}, q = {} wynosi {}".format(7, 1, 2, cg(7)))
30.9
100
0.482201
bd33d681a6be39dde7d89c1d2456e4e15b7cbc67
296
py
Python
src/code42cli/cmds/shell.py
maddie-vargo/code42cli
fde4a70d4810923b668e8ca2d8d00af75c567dd1
[ "MIT" ]
14
2020-07-15T13:55:53.000Z
2022-02-24T19:09:50.000Z
src/code42cli/cmds/shell.py
maddie-vargo/code42cli
fde4a70d4810923b668e8ca2d8d00af75c567dd1
[ "MIT" ]
213
2020-07-16T14:21:00.000Z
2022-03-29T16:08:08.000Z
src/code42cli/cmds/shell.py
maddie-vargo/code42cli
fde4a70d4810923b668e8ca2d8d00af75c567dd1
[ "MIT" ]
11
2020-07-15T13:58:09.000Z
2022-03-29T17:33:51.000Z
import click import IPython from code42cli import BANNER from code42cli.options import sdk_options
22.769231
79
0.743243
bd347bef874fe2b7fd02a07a979e78547511f381
216
py
Python
src/Main.py
Yee172/Memory_Revival
e9bf4598564546ada3b9d9bfce7bf35fad348850
[ "MIT" ]
null
null
null
src/Main.py
Yee172/Memory_Revival
e9bf4598564546ada3b9d9bfce7bf35fad348850
[ "MIT" ]
null
null
null
src/Main.py
Yee172/Memory_Revival
e9bf4598564546ada3b9d9bfce7bf35fad348850
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'Yee_172' __date__ = '2017/12/03' import sys PATH = sys.path[0][:-4] sys.path.append(PATH) from src.Func import * win = MainWin() sys.exit(app.exec_())
14.4
23
0.648148
bd34863190099e5a1deaa0f914751c6c45b7892c
1,191
py
Python
tools/protonvpn-ips/main.py
alessandrobasi/basi-warninglist
995d3cd94e1dc7afdc09eff11bc1baa352b225e9
[ "MIT" ]
null
null
null
tools/protonvpn-ips/main.py
alessandrobasi/basi-warninglist
995d3cd94e1dc7afdc09eff11bc1baa352b225e9
[ "MIT" ]
null
null
null
tools/protonvpn-ips/main.py
alessandrobasi/basi-warninglist
995d3cd94e1dc7afdc09eff11bc1baa352b225e9
[ "MIT" ]
null
null
null
import requests, os dir_name = os.path.basename(os.path.dirname(os.path.realpath(__file__))) save_path = "../../lists/"+dir_name+"/" if __name__ == "__main__": print("ProtonVPN ips") main()
31.342105
191
0.577666
bd3567ec2bb0a247f32f1485e666f3eac6f7dc19
2,809
py
Python
dakota/sobol/sobol.py
arfc/dcwrapper
82226f601580be464668fa63df64f037962db57e
[ "BSD-3-Clause" ]
1
2020-03-26T14:09:30.000Z
2020-03-26T14:09:30.000Z
dakota/sobol/sobol.py
mehmeturkmen/dcwrapper
82226f601580be464668fa63df64f037962db57e
[ "BSD-3-Clause" ]
10
2019-10-08T18:46:36.000Z
2019-11-14T19:23:05.000Z
dakota/sobol/sobol.py
mehmeturkmen/dcwrapper
82226f601580be464668fa63df64f037962db57e
[ "BSD-3-Clause" ]
3
2019-10-29T19:23:44.000Z
2020-09-18T13:09:49.000Z
# Dakota Python Driving Script # necessary python modules import dakota.interfacing as di import subprocess import sys import os import multiprocessing sys.path.append('../../scripts') import input as inp import output as oup import external_cym cycdir = '../../cyclus-files/sobol/' # -----------------...
25.770642
62
0.555714
bd36b9e0da9470a5e37a78543606857028eee2e2
873
py
Python
basic linear reg.py
recurshawn/Basic-Linear-Regression
e0ee45f58d45911d34a854f015ea196b159a2f8a
[ "MIT" ]
2
2018-08-12T06:09:04.000Z
2019-05-06T07:03:26.000Z
basic linear reg.py
recurshawn/Basic-Linear-Regression
e0ee45f58d45911d34a854f015ea196b159a2f8a
[ "MIT" ]
null
null
null
basic linear reg.py
recurshawn/Basic-Linear-Regression
e0ee45f58d45911d34a854f015ea196b159a2f8a
[ "MIT" ]
2
2018-07-19T14:35:46.000Z
2018-08-12T06:13:43.000Z
""" BASIC LINEAR REGRESSION CODE Consider this my first application of what I understood about ML/DL so far. I wrote this to check my understanding of the basic concepts. It's pretty simple but I needed to get my feet wet with code. Any suggestions for modifications are welcome! """ #x and y data...
28.16129
128
0.634593
bd3a8db83a92cdd76c21b817a1af0e0151e6c4ab
5,690
py
Python
app/hide-and-seek/common/computils/debug.py
loramf/mlforhealthlabpub
aa5a42a4814cf69c8223f27c21324ee39d43c404
[ "BSD-3-Clause" ]
171
2021-02-12T10:23:19.000Z
2022-03-29T01:58:52.000Z
app/hide-and-seek/common/computils/debug.py
loramf/mlforhealthlabpub
aa5a42a4814cf69c8223f27c21324ee39d43c404
[ "BSD-3-Clause" ]
4
2021-06-01T08:18:33.000Z
2022-02-20T13:37:30.000Z
app/hide-and-seek/common/computils/debug.py
loramf/mlforhealthlabpub
aa5a42a4814cf69c8223f27c21324ee39d43c404
[ "BSD-3-Clause" ]
93
2021-02-10T03:21:59.000Z
2022-03-30T19:10:37.000Z
""" Debug helpers. """ import io import logging from typing import Union, Optional, Callable import numpy as np import pandas as pd _printt_log_method = print force_minimal_logging = False def ar( array: np.ndarray, name: Optional[str] = None, lim: Union[int, str, None] = None, lw: int = 200, ...
30.10582
110
0.618102
bd3b0f2c14b30cd87e31089661c02ceeb62af81c
3,862
py
Python
setup.py
jacklinke/django-directed
8ef8cd8a71e9a03a8628dce6465351f676f542ff
[ "Apache-2.0" ]
2
2022-02-09T10:15:40.000Z
2022-02-22T14:11:03.000Z
setup.py
jacklinke/django-directed
8ef8cd8a71e9a03a8628dce6465351f676f542ff
[ "Apache-2.0" ]
1
2022-02-20T14:49:37.000Z
2022-02-20T14:49:37.000Z
setup.py
jacklinke/django-directed
8ef8cd8a71e9a03a8628dce6465351f676f542ff
[ "Apache-2.0" ]
null
null
null
import os import re import sys from collections import defaultdict try: from setuptools import setup except ImportError: from distutils.core import setup def get_version(*file_paths): """Retrieves the version from django_directed/__init__.py""" filename = os.path.join(os.path.dirname(__file__), *file...
33.877193
108
0.634645
bd3b1d81b7abc114bb78bcdb8316981a6a5efeb1
2,050
py
Python
cv_utils/object_detection/dataset/utils.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
null
null
null
cv_utils/object_detection/dataset/utils.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
1
2021-11-01T06:10:29.000Z
2021-11-09T12:47:48.000Z
cv_utils/object_detection/dataset/utils.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
null
null
null
import json import os import shutil from copy import deepcopy from pathlib import Path def read_json(path): """ Read a .json file Args: path (string): Path of a .json file Returns: data (dictionary): Output dictionary """ f = open(path,) data = json.load(f) f.cl...
25.308642
85
0.632683
bd3b2ec0d2c9b53564b73ae83d10294a44c47243
269
py
Python
datos_modelar/clean_data.py
alexvaca0/EquipoGamma
6999cb2d24104c9cabdbfbddcb3d2746f395b0ba
[ "MIT" ]
null
null
null
datos_modelar/clean_data.py
alexvaca0/EquipoGamma
6999cb2d24104c9cabdbfbddcb3d2746f395b0ba
[ "MIT" ]
null
null
null
datos_modelar/clean_data.py
alexvaca0/EquipoGamma
6999cb2d24104c9cabdbfbddcb3d2746f395b0ba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 6 23:26:38 2019 @author: avaca """ import pandas as pd import numpy as np from sklearn.model_selection import GridSearchCV complete_data = pd.read_csv('', encoding = 'utf-8') vars_categ = ['HY_provincia', 'HY_tipo']
16.8125
51
0.69145
bd4090b02cae8881961d07fc8983d1d1780b62bf
1,326
py
Python
python/extracting/findPrimer.py
csiu/tokens
8a7f865d921d91aae4019e43677435ad78a8a703
[ "MIT" ]
null
null
null
python/extracting/findPrimer.py
csiu/tokens
8a7f865d921d91aae4019e43677435ad78a8a703
[ "MIT" ]
1
2015-04-20T03:28:48.000Z
2015-04-20T03:40:44.000Z
python/extracting/findPrimer.py
csiu/tokens
8a7f865d921d91aae4019e43677435ad78a8a703
[ "MIT" ]
null
null
null
import re inputfile = '/Users/csiu/project/webCrawler/extractPrimer/test.txt' primerStart = """5'""" primerEnd = """3'""" nucleotides = '[ATGCN]' linePrimerEnding = re.compile(nucleotides + '$') linePrimerStarting = re.compile('^' + nucleotides) with open(inputfile, 'r') as f: for line in f: if primerSt...
30.136364
74
0.534691
bd41247422955c2bec8c75c3f52048f4b0c6d343
1,213
py
Python
app/core/admin.py
crocodundee/news-board-api-app
380e6e75f9263a068200a723c04568a9f2261ecc
[ "MIT" ]
null
null
null
app/core/admin.py
crocodundee/news-board-api-app
380e6e75f9263a068200a723c04568a9f2261ecc
[ "MIT" ]
null
null
null
app/core/admin.py
crocodundee/news-board-api-app
380e6e75f9263a068200a723c04568a9f2261ecc
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import User from django.utils.translation import gettext as _ from core import models admin.site.unregister(User) admin.site.register(User, UserAdmin) admin.site.register(models.Post, ...
28.880952
79
0.659522
bd41d6fca25f541134f0afce1961c06f85b0df9b
1,806
py
Python
tests/fixtures.py
DNXLabs/ssm-loader
eae0257794126247584150eeb1b74ae05f4fcaf5
[ "Apache-2.0" ]
null
null
null
tests/fixtures.py
DNXLabs/ssm-loader
eae0257794126247584150eeb1b74ae05f4fcaf5
[ "Apache-2.0" ]
2
2020-07-31T05:32:10.000Z
2020-09-07T10:38:24.000Z
tests/fixtures.py
DNXLabs/ssm-loader
eae0257794126247584150eeb1b74ae05f4fcaf5
[ "Apache-2.0" ]
null
null
null
import pytest import os import json import boto3 from click.testing import CliRunner from moto import mock_ssm
22.860759
75
0.593577
bd42f92ac6de47d16f3dec018fcdc491713b5ba6
5,656
py
Python
scripts/plotting/create_num_demos_plots.py
Learning-and-Intelligent-Systems/predicators
0b2e71cacf86ba2bfdc1d9059c3a78016d0a4d7e
[ "MIT" ]
24
2021-11-20T16:35:41.000Z
2022-03-30T03:49:52.000Z
scripts/plotting/create_num_demos_plots.py
Learning-and-Intelligent-Systems/predicators
0b2e71cacf86ba2bfdc1d9059c3a78016d0a4d7e
[ "MIT" ]
214
2021-10-12T01:17:50.000Z
2022-03-31T20:18:36.000Z
scripts/plotting/create_num_demos_plots.py
Learning-and-Intelligent-Systems/predicators
0b2e71cacf86ba2bfdc1d9059c3a78016d0a4d7e
[ "MIT" ]
1
2022-02-15T20:24:17.000Z
2022-02-15T20:24:17.000Z
"""Create plots for learning from varying numbers of demonstrations.""" import os import matplotlib import matplotlib.pyplot as plt import pandas as pd from predicators.scripts.analyze_results_directory import create_dataframes, \ get_df_for_entry pd.options.mode.chained_assignment = None # default='warn' # pl...
37.456954
79
0.572313
bd43a1e72c9d194feac6f21f795a8c2f2065d1a1
85,638
py
Python
pyaedt/modeler/stackup_3d.py
pyansys/pyaedt
c7b045fede6bc707fb20a8db7d5680c66d8263f6
[ "MIT" ]
38
2021-10-01T23:15:26.000Z
2022-03-30T18:14:41.000Z
pyaedt/modeler/stackup_3d.py
pyansys/pyaedt
c7b045fede6bc707fb20a8db7d5680c66d8263f6
[ "MIT" ]
362
2021-09-30T17:11:55.000Z
2022-03-31T13:36:20.000Z
pyaedt/modeler/stackup_3d.py
pyansys/pyaedt
c7b045fede6bc707fb20a8db7d5680c66d8263f6
[ "MIT" ]
15
2021-09-30T20:21:02.000Z
2022-02-21T20:22:03.000Z
import os from collections import OrderedDict try: import joblib except ImportError: pass try: import numpy as np except ImportError: pass from pyaedt import constants from pyaedt.generic.general_methods import generate_unique_name from pyaedt.generic.general_methods import pyaedt_function_handler fro...
33.91604
119
0.574768
bd463c23420373bb21cbb94033d3aa58f68f33b2
1,119
py
Python
lib/retainn/curl.py
cellularmitosis/retainn
9e59024f3b35d4bb0bdf675b9f29369569e2080b
[ "MIT" ]
1
2021-06-05T08:40:44.000Z
2021-06-05T08:40:44.000Z
lib/retainn/curl.py
cellularmitosis/retainn
9e59024f3b35d4bb0bdf675b9f29369569e2080b
[ "MIT" ]
null
null
null
lib/retainn/curl.py
cellularmitosis/retainn
9e59024f3b35d4bb0bdf675b9f29369569e2080b
[ "MIT" ]
1
2021-10-14T12:28:32.000Z
2021-10-14T12:28:32.000Z
"""Retainn web-fetching functions.""" try: # Python 3 from urllib.request import Request, urlopen except ImportError: # Python 2 from urllib2 import Request, urlopen def http_get_deck_and_etag(gist_url): """Download the markdown and etag of a deck URL.""" response = urlopen(gist_url + "/raw")...
28.692308
67
0.680071
bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5
1,511
py
Python
data/train/python/bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5urls.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5urls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/bd47557928bc51ca7d2e89e0a88949b5b7b0aaa5urls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('clwmail.admin.views', (r'user/manage/page/(?P<page_num>\d{1,})/$' ,'usermanage'), (r'user/manage/page/$' ,'usermanage'), (r'user/add/$' ,'useradd'), (r'user/...
65.695652
77
0.420913
bd481775933800ff7697945131e21bcfb7859fdc
670
py
Python
tutorials2/data_loading_tutorial.py
xuanyuyt/pytorch-tutorial
92076ac56d42da98ea61ce06708bb8c537a49af0
[ "MIT" ]
null
null
null
tutorials2/data_loading_tutorial.py
xuanyuyt/pytorch-tutorial
92076ac56d42da98ea61ce06708bb8c537a49af0
[ "MIT" ]
null
null
null
tutorials2/data_loading_tutorial.py
xuanyuyt/pytorch-tutorial
92076ac56d42da98ea61ce06708bb8c537a49af0
[ "MIT" ]
null
null
null
import os import torch import pandas as pd from skimage import io, transform import numpy as np import matplotlib.pyplot as plt from torch.utils.data import Dataset, DataLoader from torchvision import transforms, utils # Ignore waring import warnings warnings.filterwarnings('ignore') plt.ion() landmarks_frame = pd.r...
29.130435
75
0.770149
bd48e2bd368062575f8e3c68c1ab5aaaace702be
6,020
py
Python
run_validation.py
sr9000/stepik_code_task_baking
60a5197f659db1734132eeb9d82624f1b7aaeb3f
[ "MIT" ]
null
null
null
run_validation.py
sr9000/stepik_code_task_baking
60a5197f659db1734132eeb9d82624f1b7aaeb3f
[ "MIT" ]
null
null
null
run_validation.py
sr9000/stepik_code_task_baking
60a5197f659db1734132eeb9d82624f1b7aaeb3f
[ "MIT" ]
null
null
null
import logging as log import sys from extra.introspection import collect_datasets, collect_wrong_solutions from implementation.checker import output_reader, checker as check from implementation.solver import input_reader, solver as solve, hinter as get_hint from pre_definition.solve_caller import call_with_args from p...
34.797688
120
0.670598
bd498e34fef15d05b6f453bd45dc8caf7869dd9c
139
py
Python
accounts/schemas/validators/__init__.py
aobcvr/rpg_quest_accounts
960772a159618194ea26e81d6d874e5f69fbbec7
[ "MIT" ]
2
2021-08-15T14:27:37.000Z
2021-09-14T10:55:38.000Z
accounts/schemas/validators/__init__.py
aobcvr/rpg_quest_accounts
960772a159618194ea26e81d6d874e5f69fbbec7
[ "MIT" ]
1
2021-09-12T12:30:11.000Z
2021-09-12T12:30:11.000Z
accounts/schemas/validators/__init__.py
aobcvr/rpg_quest_accounts
960772a159618194ea26e81d6d874e5f69fbbec7
[ "MIT" ]
null
null
null
from .locale import LocaleValidator from .timezone import TimezoneValidator __all__ = ( 'LocaleValidator', 'TimezoneValidator', )
17.375
39
0.755396
bd49b8155e5a08f5ca5bd991e7606c828ebf1c3d
421
py
Python
apps/algorithms/migrations/0003_auto_20190201_0136.py
ScorpioDoctor/StudyAiD1
fd37a400a61dc1ae7a3ef6b1273afc3f0daea3e4
[ "Apache-2.0" ]
null
null
null
apps/algorithms/migrations/0003_auto_20190201_0136.py
ScorpioDoctor/StudyAiD1
fd37a400a61dc1ae7a3ef6b1273afc3f0daea3e4
[ "Apache-2.0" ]
null
null
null
apps/algorithms/migrations/0003_auto_20190201_0136.py
ScorpioDoctor/StudyAiD1
fd37a400a61dc1ae7a3ef6b1273afc3f0daea3e4
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.10 on 2019-02-01 01:36 from django.db import migrations
20.047619
50
0.589074
bd49d7f152ceeb7bc9bb00c813b8cb8af0d1c6dc
3,704
py
Python
visan/plot/datasetattributespanel.py
ercumentaksoy/visan
57c9257d80622fc0ab03591db48cc2155bd12f1b
[ "MIT", "BSD-3-Clause" ]
7
2020-04-09T05:21:03.000Z
2022-01-23T18:39:02.000Z
visan/plot/datasetattributespanel.py
ercumentaksoy/visan
57c9257d80622fc0ab03591db48cc2155bd12f1b
[ "MIT", "BSD-3-Clause" ]
7
2020-01-05T19:19:20.000Z
2020-05-27T09:41:49.000Z
visan/plot/datasetattributespanel.py
ercumentaksoy/visan
57c9257d80622fc0ab03591db48cc2155bd12f1b
[ "MIT", "BSD-3-Clause" ]
4
2020-04-18T14:11:22.000Z
2021-11-10T02:27:49.000Z
# Copyright (C) 2002-2021 S[&]T, The Netherlands. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of condi...
38.583333
105
0.660907
bd49f05f95bdcec75ece665e2dc35ecf557cf5b9
3,473
py
Python
iscc_registry/observe.py
titusz/iscc-registry
def03f420e671ec470070bb09b6a78099f7827da
[ "MIT" ]
3
2020-07-06T16:01:54.000Z
2020-08-06T11:03:25.000Z
iscc_registry/observe.py
titusz/iscc-registry
def03f420e671ec470070bb09b6a78099f7827da
[ "MIT" ]
null
null
null
iscc_registry/observe.py
titusz/iscc-registry
def03f420e671ec470070bb09b6a78099f7827da
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Watching for registration events""" import time from dataclasses import dataclass, asdict import iscc_registry from loguru import logger as log import iscc from iscc_registry.conn import db_client from iscc_registry.publish import get_live_contract from iscc_registry import tools from iscc_re...
30.734513
104
0.657357
bd4bc561fda1c42a4d4d120ce2ef72e50322b064
2,670
py
Python
examples/active_replication/flux_egress_operator.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
examples/active_replication/flux_egress_operator.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
examples/active_replication/flux_egress_operator.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
from erdos.data_stream import DataStream from erdos.message import Message from erdos.op import Op from erdos.timestamp import Timestamp from erdos.utils import setup_logging import flux_utils from flux_utils import is_control_stream, is_not_control_stream from flux_buffer import Buffer import threading
37.083333
75
0.648689
bd4c2d2d1aecd9d7ef7769f96a47de90c8225163
6,400
py
Python
src/CNN_models/train_model.py
ChrisPedder/Medieval_Manuscripts
40bfcf9c273385cfd8aa66e63b2fb80078fef33b
[ "MIT" ]
null
null
null
src/CNN_models/train_model.py
ChrisPedder/Medieval_Manuscripts
40bfcf9c273385cfd8aa66e63b2fb80078fef33b
[ "MIT" ]
5
2020-12-28T15:28:35.000Z
2022-02-10T03:26:44.000Z
src/CNN_models/train_model.py
ChrisPedder/Medieval_Manuscripts
40bfcf9c273385cfd8aa66e63b2fb80078fef33b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Aug 10 11:07:05 2018 @author: chrispedder To train the model, run from the top-level dir as: python3 -m src.CNN_models.train_model --args ... """ import numpy as np import os import argparse import json import tensorflow as tf from abc import ABC, ...
33.333333
85
0.621563
bd4e4bb56c05d5afc00c0ccb424743f1c99a0f0b
8,063
py
Python
pfb_exporter/transform/sqla.py
znatty22/pfb-edu
24e606895c192b92493c0808d00a10fdf6f5ffa4
[ "Apache-2.0" ]
null
null
null
pfb_exporter/transform/sqla.py
znatty22/pfb-edu
24e606895c192b92493c0808d00a10fdf6f5ffa4
[ "Apache-2.0" ]
null
null
null
pfb_exporter/transform/sqla.py
znatty22/pfb-edu
24e606895c192b92493c0808d00a10fdf6f5ffa4
[ "Apache-2.0" ]
null
null
null
""" Transform SQLAlchemy Models to PFB Schema """ import os import logging import inspect import subprocess from collections import defaultdict import timeit from pprint import pformat from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.inspection import inspect as sqla_inspect from sqlalchemy.orm.properti...
34.60515
79
0.583902
bd4f4238a7747d65be7c026c2c3ecfe16032b5fb
104
py
Python
diofant/printing/pretty/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
1
2021-08-22T09:34:15.000Z
2021-08-22T09:34:15.000Z
diofant/printing/pretty/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
diofant/printing/pretty/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
"""ASCII-ART 2D pretty-printer""" from .pretty import pprint, pprint_use_unicode, pretty, pretty_print
26
68
0.778846
bd4f544d8896cf4cc8569ba0288541ed6799028b
6,058
py
Python
gameRL/game_simulators/blackjack.py
dwraft/gameRL
518b2a2d193220f7334584ccde5cf2ab318d718a
[ "MIT" ]
null
null
null
gameRL/game_simulators/blackjack.py
dwraft/gameRL
518b2a2d193220f7334584ccde5cf2ab318d718a
[ "MIT" ]
null
null
null
gameRL/game_simulators/blackjack.py
dwraft/gameRL
518b2a2d193220f7334584ccde5cf2ab318d718a
[ "MIT" ]
null
null
null
""" Modeled largely after https://github.com/openai/gym/blob/master/gym/envs/toy_text/blackjack.py Also, the github version draws with replacement, while I modified to not use replacement Also, reference here for how to play blackjack """ from typing import Dict, List, Tuple import gym import numpy as np from gym imp...
31.884211
88
0.610432
bd503a6e6bd6d6f165fffc6aa8ef728aa475b171
228
py
Python
dragn/dice/__init__.py
hugovk/dragn
8e6e3146c3a5980a384f4be5dc7019c10ab0bffe
[ "MIT" ]
null
null
null
dragn/dice/__init__.py
hugovk/dragn
8e6e3146c3a5980a384f4be5dc7019c10ab0bffe
[ "MIT" ]
null
null
null
dragn/dice/__init__.py
hugovk/dragn
8e6e3146c3a5980a384f4be5dc7019c10ab0bffe
[ "MIT" ]
null
null
null
from functools import partial from dragn.dice.die_and_roller import roller D4 = partial(roller, 4) D6 = partial(roller, 6) D8 = partial(roller, 8) D10 = partial(roller, 10) D12 = partial(roller, 12) D20 = partial(roller, 20)
19
44
0.732456
bd50555970de3cea2bfe20e4fa5b5203c2dc67c1
472
py
Python
setup.py
steinnes/apnscli
3573fb835fe71dcec1c1611eed8c5b73347f0157
[ "MIT" ]
2
2015-08-13T18:29:45.000Z
2021-08-12T03:31:58.000Z
setup.py
steinnes/apnscli
3573fb835fe71dcec1c1611eed8c5b73347f0157
[ "MIT" ]
null
null
null
setup.py
steinnes/apnscli
3573fb835fe71dcec1c1611eed8c5b73347f0157
[ "MIT" ]
null
null
null
from setuptools import setup from pip.req import parse_requirements from pip.download import PipSession setup( name='apnsend', version='0.1', description='apnsend is a tool to test your APNS certificate, key and token.', py_modules=['apnsend'], install_requires=[ str(req.req) for req in par...
26.222222
92
0.680085
bd5085ad69142965ca0cc325bce4a8b98430c865
7,159
py
Python
down2earth/core/client.py
intenvy/down-to-earth
3d15366a47fe81ee895ba38c7f90a714b18a6c08
[ "MIT" ]
null
null
null
down2earth/core/client.py
intenvy/down-to-earth
3d15366a47fe81ee895ba38c7f90a714b18a6c08
[ "MIT" ]
null
null
null
down2earth/core/client.py
intenvy/down-to-earth
3d15366a47fe81ee895ba38c7f90a714b18a6c08
[ "MIT" ]
null
null
null
import json from abc import ABC, abstractmethod from typing import Optional from aiohttp import ClientResponse as Response from .mechanisms.fetch import IFetchMechanism from .models.request import IRestRequest from ..errors.fetching_errors import FetchMechanismFailed from ..utils.logging_utils import IMonitorLogger, ...
33.297674
107
0.624808
bd55c1befc97ceb37b6df37eb99994c9d21b2ba9
773
py
Python
python/206.reverse-linked-list.py
Wanger-SJTU/leetcode-solutions
eb7f2fb142b8a30d987c5ac8002a96ead0aa56f4
[ "MIT" ]
2
2019-05-13T17:09:15.000Z
2019-09-08T15:32:42.000Z
python/206.reverse-linked-list.py
Wanger-SJTU/leetcode
eb7f2fb142b8a30d987c5ac8002a96ead0aa56f4
[ "MIT" ]
null
null
null
python/206.reverse-linked-list.py
Wanger-SJTU/leetcode
eb7f2fb142b8a30d987c5ac8002a96ead0aa56f4
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=206 lang=python3 # # [206] Reverse Linked List # # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None
23.424242
54
0.500647
1f9c7aa01ba17d2af64bca27a27081040ab187d0
2,521
py
Python
tests/default_tags.py
GrAndSE/lighty-template
63834fbb2421506205745bb596ff8ac726361f2a
[ "BSD-3-Clause" ]
1
2018-05-09T19:56:15.000Z
2018-05-09T19:56:15.000Z
tests/default_tags.py
GrAndSE/lighty-template
63834fbb2421506205745bb596ff8ac726361f2a
[ "BSD-3-Clause" ]
null
null
null
tests/default_tags.py
GrAndSE/lighty-template
63834fbb2421506205745bb596ff8ac726361f2a
[ "BSD-3-Clause" ]
null
null
null
'''Module to test default template tags such as if, for, with, include, etc. ''' import unittest from lighty.templates import Template from lighty.templates.loaders import FSLoader
36.536232
79
0.568029
1f9c9104d3d243f4e10cfdbb1fb0326c74424885
3,038
py
Python
tests/test_calibration.py
SoyGema/NannyML
323ff404e0e06c479b01d2a63c1c3af9680d95ab
[ "Apache-2.0" ]
null
null
null
tests/test_calibration.py
SoyGema/NannyML
323ff404e0e06c479b01d2a63c1c3af9680d95ab
[ "Apache-2.0" ]
null
null
null
tests/test_calibration.py
SoyGema/NannyML
323ff404e0e06c479b01d2a63c1c3af9680d95ab
[ "Apache-2.0" ]
null
null
null
# Author: Niels Nuyttens <niels@nannyml.com> # # License: Apache Software License 2.0 """Unit tests for the calibration module.""" import numpy as np import pandas as pd import pytest from nannyml.calibration import IsotonicCalibrator, _get_bin_index_edges, needs_calibration from nannyml.exceptions import Invali...
41.616438
104
0.71264
1f9d448358740aaa0c055882926c57c97ff59db8
3,962
py
Python
code/utils.py
liudaizong/IA-Net
f19295d13d1468eb582521131cde3de83dfd18f6
[ "MIT" ]
4
2021-11-02T10:57:12.000Z
2022-02-13T17:53:03.000Z
code/utils.py
liudaizong/IA-Net
f19295d13d1468eb582521131cde3de83dfd18f6
[ "MIT" ]
null
null
null
code/utils.py
liudaizong/IA-Net
f19295d13d1468eb582521131cde3de83dfd18f6
[ "MIT" ]
null
null
null
import copy import nltk import json from gensim.models import KeyedVectors import h5py import numpy as np from torch import nn import time
25.397436
73
0.579253
1f9e4501c0a3ac77cc15f6de9e5e460d7fd997df
2,654
py
Python
aps_purchasing/tests/forms_tests.py
bitmazk/django-aps-purchasing
ff0316f0eaff5bd39ae40aaa861543d125f33dae
[ "MIT" ]
4
2015-05-18T13:51:16.000Z
2015-05-18T14:47:32.000Z
aps_purchasing/tests/forms_tests.py
bitmazk/django-aps-purchasing
ff0316f0eaff5bd39ae40aaa861543d125f33dae
[ "MIT" ]
null
null
null
aps_purchasing/tests/forms_tests.py
bitmazk/django-aps-purchasing
ff0316f0eaff5bd39ae40aaa861543d125f33dae
[ "MIT" ]
null
null
null
"""Tests for the forms of the ``aps_purchasing`` app.""" import os from django.conf import settings from django.core.files.uploadedfile import SimpleUploadedFile from django.test import TestCase from django.utils.timezone import now from ..forms import QuotationUploadForm from ..models import MPN, Price, Quotation, Q...
37.380282
79
0.629239
1f9eb8e2438d5e8851abb15909ddab5b70595c79
1,839
py
Python
test/test_read_embark_fields_json_file.py
ndlib/mellon-search
30f7eb267e35d77ee6d126789866d44d825c3e0c
[ "Apache-2.0" ]
null
null
null
test/test_read_embark_fields_json_file.py
ndlib/mellon-search
30f7eb267e35d77ee6d126789866d44d825c3e0c
[ "Apache-2.0" ]
null
null
null
test/test_read_embark_fields_json_file.py
ndlib/mellon-search
30f7eb267e35d77ee6d126789866d44d825c3e0c
[ "Apache-2.0" ]
null
null
null
# test_read_embark_fields_json_file.py 2/18/19 sm """ test read_embark_fields_json_file.py """ import json import unittest # add parent directory to path import os import inspect import sys CURRENTDIR = os.path.dirname(os.path.abspath(inspect.getfile( inspect.currentframe()))) PARENTDIR = os.path.dirname(CURRENTD...
32.839286
74
0.694943
1fa0d3c9b6fdeba10b20b2a6b065d708f3d43858
8,928
py
Python
menu/show_results.py
Jcollier722/PageRemoval
ec14cd3927bbb754883a6a3dcff312ba90cd45db
[ "Apache-2.0" ]
null
null
null
menu/show_results.py
Jcollier722/PageRemoval
ec14cd3927bbb754883a6a3dcff312ba90cd45db
[ "Apache-2.0" ]
null
null
null
menu/show_results.py
Jcollier722/PageRemoval
ec14cd3927bbb754883a6a3dcff312ba90cd45db
[ "Apache-2.0" ]
null
null
null
"""This file is the results window""" import sys sys.path.insert(0, 'menu/') sys.path.insert(1, 'util/') sys.path.insert(2, 'sim/') import tkinter as tk import menu import import_jobs as ij import validate_jobs as validate import show_results as sr import export_results as xr import compare_sim import con...
46.020619
172
0.635529
1fa185f55ac389ddda6ff7507b5d50529d297d77
539
py
Python
index.py
eddowh/flask-react-gae-multiuser-blog
7979567455936d32ba55c6edf0df82c4670754ef
[ "Unlicense" ]
1
2016-10-25T10:12:58.000Z
2016-10-25T10:12:58.000Z
index.py
eddowh/flask-react-gae-multiuser-blog
7979567455936d32ba55c6edf0df82c4670754ef
[ "Unlicense" ]
null
null
null
index.py
eddowh/flask-react-gae-multiuser-blog
7979567455936d32ba55c6edf0df82c4670754ef
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from importlib import import_module import os import sys BASE_PATH = os.path.dirname(os.path.abspath(__file__)) APP_NAME = 'server' SYS_DIRS = [ 'lib', ] # add directories to sys path for dir in SYS_DIRS + [APP_NAME]: sys.path.insert(1, os.path.join(BASE_PATH, dir)) # register flas...
21.56
55
0.742115
1fa2167771953e0aff81f31c29233d456380649d
67
py
Python
latex/slides/resources/01_getting_started/present_main.py
AntonObersteiner/python-lessons
1d5536f0777853fba437566672cfb1d613984945
[ "CC-BY-4.0" ]
null
null
null
latex/slides/resources/01_getting_started/present_main.py
AntonObersteiner/python-lessons
1d5536f0777853fba437566672cfb1d613984945
[ "CC-BY-4.0" ]
null
null
null
latex/slides/resources/01_getting_started/present_main.py
AntonObersteiner/python-lessons
1d5536f0777853fba437566672cfb1d613984945
[ "CC-BY-4.0" ]
null
null
null
print(present("Py-Kurs", "am Di in der 5.", "dem FSR-Kurssystem"))
33.5
66
0.656716
1fa40e3d5ffd5031f4b30a989255c4474dd77b5f
9,440
py
Python
POP909-Dataset-master/data_process/processor.py
agurdins/RTU_Bachelor
28ed4bf90a8ffdb2b599e549bae5f2b12a795ff1
[ "Apache-2.0" ]
140
2020-08-06T12:15:56.000Z
2022-03-26T11:02:36.000Z
POP909-Dataset-master/data_process/processor.py
agurdins/RTU_Bachelor
28ed4bf90a8ffdb2b599e549bae5f2b12a795ff1
[ "Apache-2.0" ]
5
2020-08-18T08:29:46.000Z
2021-09-25T16:56:49.000Z
POP909-Dataset-master/data_process/processor.py
agurdins/RTU_Bachelor
28ed4bf90a8ffdb2b599e549bae5f2b12a795ff1
[ "Apache-2.0" ]
18
2020-09-21T07:13:44.000Z
2022-03-19T14:30:09.000Z
""" Representation Processor ============ These are core classes of representation processor. Repr Processor: the basic representation processor - Event Processor """ import numpy as np from abc import ABC, abstractmethod import pretty_midi as pyd
30.550162
126
0.500953
1fa55ad9cf461decaa935b9ad2c9830d3dd93f16
5,521
py
Python
tests/test_products.py
lukeshiner/ccp_api
5bd8a075108df4983b62197ea950e14297f5ad19
[ "MIT" ]
null
null
null
tests/test_products.py
lukeshiner/ccp_api
5bd8a075108df4983b62197ea950e14297f5ad19
[ "MIT" ]
null
null
null
tests/test_products.py
lukeshiner/ccp_api
5bd8a075108df4983b62197ea950e14297f5ad19
[ "MIT" ]
null
null
null
import ccp_api import pytest from .test_ccp_api import Base_ccp_api_Test
40.007246
85
0.768339
1fa567e6eb55b654152cc249c03df4836f9c4a5f
340
py
Python
restart/TokenyjcL/Float.py
yujiecong/yjcL
6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c
[ "MIT" ]
null
null
null
restart/TokenyjcL/Float.py
yujiecong/yjcL
6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c
[ "MIT" ]
null
null
null
restart/TokenyjcL/Float.py
yujiecong/yjcL
6d6dc4ad3611cb34c07192a1a3038a1ac3f67d6c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- ''' @IDE :PyCharm @Project :yjcL @USER :yanyin @File :Float.py @Author :yujiecong @Date :2021/9/1 16:19 ''' from restart.TokenyjcL.Token import Token_yjcL
21.25
51
0.652941
1fa5b81e8ddb69f6e5c8f48345327239689cae22
19,461
py
Python
xtb_trading.py
lemassykoi/XTBApi
3b159f0b711e0d445a9cd7fec5c7a499cc623140
[ "MIT" ]
null
null
null
xtb_trading.py
lemassykoi/XTBApi
3b159f0b711e0d445a9cd7fec5c7a499cc623140
[ "MIT" ]
null
null
null
xtb_trading.py
lemassykoi/XTBApi
3b159f0b711e0d445a9cd7fec5c7a499cc623140
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # adaptation du script FXCM pour XTB ## debug = 1 ## DEBUG ENABLED OR DISABLED from XTBApi.api import * import time import pandas as pd import datetime as dt import talib.abstract as ta ## Maths modules import pyti.bollinger_bands as bb from pyti.relative_strength_index import rela...
40.459459
152
0.590874
1fa915f1d01ae50c5c5d775a6b404ccefbb0a1db
23,609
py
Python
datanode/src/storage_interface.py
airmap/InterUSS-Platform
fa19af360826b4dd7b841013c0c569a4f282919d
[ "Apache-2.0" ]
null
null
null
datanode/src/storage_interface.py
airmap/InterUSS-Platform
fa19af360826b4dd7b841013c0c569a4f282919d
[ "Apache-2.0" ]
1
2021-03-26T12:13:17.000Z
2021-03-26T12:13:17.000Z
datanode/src/storage_interface.py
isabella232/InterUSS-Platform
fa19af360826b4dd7b841013c0c569a4f282919d
[ "Apache-2.0" ]
2
2019-08-11T20:20:32.000Z
2021-03-26T12:01:43.000Z
"""The InterUSS Platform Data Node storage API server. This flexible and distributed system is used to connect multiple USSs operating in the same general area to share safety information while protecting the privacy of USSs, businesses, operator and consumers. The system is focused on facilitating communication among...
38.264182
80
0.656275
1fa9bd99cc0cefda66b99c89d32eb998269a611a
32,069
py
Python
snape/flicker.py
SuryaThiru/snape
3402af05ad2ccba958888befa5177a4850adbf7f
[ "Apache-2.0" ]
182
2016-12-14T21:09:42.000Z
2022-03-04T03:39:46.000Z
snape/flicker.py
SuryaThiru/snape
3402af05ad2ccba958888befa5177a4850adbf7f
[ "Apache-2.0" ]
15
2016-12-06T18:37:08.000Z
2020-07-31T17:30:00.000Z
core/flicker.py
slizb/iglu
888ec9009431b50a47fe009f8ac13638b6547745
[ "Apache-2.0" ]
30
2017-01-19T19:24:37.000Z
2021-12-06T10:23:04.000Z
junk_image1 = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01\xf4\x00\x00\x01v\x08\x00\x00\x00\x00\xbd\xc55\x85\x00\x00\x07\xcaIDATx\x01\xec\xd9m\xeb\xd2P\x1c\xc6\xf1\xff\xfb\x7f)g\xe1)oB\x0ef\x92\xe2\xcd\n\x94\xac\xa8\x19Ef\xa93l\xd8\xb4:n\xfe\xba\xda\xa6\xab\xe7\xff\'\x1e\xaf/x\xcdm\x0f?0\x06\xbb\xdb\xb2\x9b\xebn+...
8,017.25
26,043
0.732234
1faa1a1b78082931266633b4320d81cdfa0d54a0
1,342
py
Python
python/repeated_substring_pattern.py
shub0/leetcode
8221d10f201d001abcb15b27c9cf4b8cd5060f1f
[ "BSD-3-Clause" ]
null
null
null
python/repeated_substring_pattern.py
shub0/leetcode
8221d10f201d001abcb15b27c9cf4b8cd5060f1f
[ "BSD-3-Clause" ]
null
null
null
python/repeated_substring_pattern.py
shub0/leetcode
8221d10f201d001abcb15b27c9cf4b8cd5060f1f
[ "BSD-3-Clause" ]
null
null
null
''' Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You may assume the given string consists of lowercase English letters only and its length will not exceed 10000. Example 1: Input: "abab" Output: True Explanation: It's the...
26.84
253
0.655738
1faa329bdcdfd3ec7bf7b728a50094b19a036130
162
py
Python
all_auto_test/users/views.py
Evading77/all_auto_testing_eva
81fe4732a686327084701be1ef9cf5850e7d78d8
[ "MIT" ]
null
null
null
all_auto_test/users/views.py
Evading77/all_auto_testing_eva
81fe4732a686327084701be1ef9cf5850e7d78d8
[ "MIT" ]
null
null
null
all_auto_test/users/views.py
Evading77/all_auto_testing_eva
81fe4732a686327084701be1ef9cf5850e7d78d8
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views import View
20.25
43
0.734568
1fac74b876540807e88381140691e44fb1871829
6,417
py
Python
src/webinterface.py
Wassasin/vrijbrief
de081395c651e73a436662bfe09f4542e0ca27c7
[ "MIT" ]
null
null
null
src/webinterface.py
Wassasin/vrijbrief
de081395c651e73a436662bfe09f4542e0ca27c7
[ "MIT" ]
1
2015-02-07T23:36:13.000Z
2015-02-07T23:36:13.000Z
src/webinterface.py
Wassasin/vrijbrief
de081395c651e73a436662bfe09f4542e0ca27c7
[ "MIT" ]
2
2015-02-07T20:01:18.000Z
2021-05-13T13:21:11.000Z
import browser import re import datetime from bs4 import BeautifulSoup, NavigableString RX_OCCUPATION = re.compile(r"([0-9]+)/([0-9]+)") RX_TIME = re.compile(r"([0-9]{2}:[0-9]{2})-([0-9]{2}:[0-9]{2})") RX_FULLDATE = re.compile(r"[a-z]{2} ([0-9]{2}) ([a-z]{3}) ([0-9]{4})") MONTHS = ["jan", "feb", "maa", "apr", "mei"...
38.196429
158
0.555244
1fb09b5991e8d87644d6f495740d136659baa06e
10,805
py
Python
scar_core/scripts/icp.py
yycho0108/SSAM
8b93f84cb162e475231e1de29360e6c6f1632363
[ "MIT" ]
null
null
null
scar_core/scripts/icp.py
yycho0108/SSAM
8b93f84cb162e475231e1de29360e6c6f1632363
[ "MIT" ]
null
null
null
scar_core/scripts/icp.py
yycho0108/SSAM
8b93f84cb162e475231e1de29360e6c6f1632363
[ "MIT" ]
null
null
null
import numpy as np from sklearn.neighbors import NearestNeighbors import cv2 def stable_subsample(p): """ Geometrically Stable ICP Subsampling with constraints analysis Gelfand et al. 2003 http://www.people.vcu.edu/~dbandyop/pubh8472/Gelfand_SVC.pdf https://graphics.stanford.edu/papers/stabicp/stab...
31.686217
117
0.544563
1fb0d351102592159ee6a917dd248009cd700533
20,393
py
Python
sdk/python/pulumi_newrelic/api_access_key.py
bob-bins/pulumi-newrelic
f8a121fb7d6e6ad979d3ccf72467b9e89769e305
[ "ECL-2.0", "Apache-2.0" ]
6
2019-09-17T20:41:26.000Z
2022-01-13T23:54:14.000Z
sdk/python/pulumi_newrelic/api_access_key.py
bob-bins/pulumi-newrelic
f8a121fb7d6e6ad979d3ccf72467b9e89769e305
[ "ECL-2.0", "Apache-2.0" ]
136
2019-04-29T21:34:57.000Z
2022-03-30T17:07:03.000Z
sdk/python/pulumi_newrelic/api_access_key.py
bob-bins/pulumi-newrelic
f8a121fb7d6e6ad979d3ccf72467b9e89769e305
[ "ECL-2.0", "Apache-2.0" ]
3
2019-10-05T10:33:59.000Z
2021-06-15T16:37:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
42.574113
201
0.630903
1fb15d8fc5f2340ec039cd29cb846d5d8253d9c0
9,501
py
Python
scormxblock/scormxblock.py
Pearson-Advance/edx_xblock_scorm
eff4f18963424ac090662e03040dc8f003770cd3
[ "Apache-2.0" ]
null
null
null
scormxblock/scormxblock.py
Pearson-Advance/edx_xblock_scorm
eff4f18963424ac090662e03040dc8f003770cd3
[ "Apache-2.0" ]
1
2020-10-27T20:04:30.000Z
2020-10-27T20:04:30.000Z
scormxblock/scormxblock.py
Pearson-Advance/edx_xblock_scorm
eff4f18963424ac090662e03040dc8f003770cd3
[ "Apache-2.0" ]
null
null
null
import json import re import os import pkg_resources import zipfile import shutil import xml.etree.ElementTree as ET from django.conf import settings from django.template import Context, Template from webob import Response from xblock.core import XBlock from xblock.fields import Scope, String, Float, Boolean, Dict fr...
35.059041
131
0.592674
1fb35315892b484eea92d588c1ea5a815edbedc1
4,861
py
Python
src/core/modules/stt.py
pyVoice/pyVoice
62e42a5c6307df2dd2d74bcd20ca64fd81c58851
[ "MIT" ]
1
2020-12-12T12:06:12.000Z
2020-12-12T12:06:12.000Z
src/core/modules/stt.py
pyVoice/pyVoice
62e42a5c6307df2dd2d74bcd20ca64fd81c58851
[ "MIT" ]
24
2021-02-08T19:44:44.000Z
2021-04-10T11:54:53.000Z
src/core/modules/stt.py
pyVoice/pyVoice
62e42a5c6307df2dd2d74bcd20ca64fd81c58851
[ "MIT" ]
null
null
null
""" **Speech to Text (STT) engine** Converts the user speech (audio) into text. """ import threading import traceback import speech_recognition as sr from src import settings from src.core.modules import log, tts, replying def setup() -> None: """ Initializes the STT engine Steps: 1. Creates a...
27.619318
102
0.632174
1fb417062e3b9b19b6daba41e40d879e942a6790
203
py
Python
px511-2021/code/qrCode/TestQrCode.py
Relex12/Decentralized-Password-Manager
0b861a310131782003a469d9c436e04e5bb05420
[ "MIT" ]
null
null
null
px511-2021/code/qrCode/TestQrCode.py
Relex12/Decentralized-Password-Manager
0b861a310131782003a469d9c436e04e5bb05420
[ "MIT" ]
null
null
null
px511-2021/code/qrCode/TestQrCode.py
Relex12/Decentralized-Password-Manager
0b861a310131782003a469d9c436e04e5bb05420
[ "MIT" ]
null
null
null
from QrCode import * # Sert pour tester sur un mme pc la fois la gnration du QrCode et la lecture de celui ci if __name__ == '__main__': sync_other_device_QrCode() sync_this_device_QrCode()
33.833333
93
0.753695
1fb4d55d5bca1b790eead271507bcc6a81cff6e7
7,289
py
Python
tests/test_api.py
brycecaine/sqlpt
98b2d72d5f59f92e95a9172dfb0dab92018076f9
[ "MIT" ]
null
null
null
tests/test_api.py
brycecaine/sqlpt
98b2d72d5f59f92e95a9172dfb0dab92018076f9
[ "MIT" ]
3
2021-12-27T21:53:11.000Z
2021-12-27T21:53:11.000Z
tests/test_api.py
brycecaine/sqlpt
98b2d72d5f59f92e95a9172dfb0dab92018076f9
[ "MIT" ]
null
null
null
import unittest import sqlparse from sqlparse import tokens as T from sqlparse.sql import (Identifier, Statement, Token, TokenList) from context import ( extract_from_clause, extract_where_clause, tokenize) # , fused) from context import ( Query, Join, Tabl...
30.755274
68
0.498697
1fb53f7f4bb36d6fa18b06b4d87e7b488b8f5de0
1,356
py
Python
src/phpcms/9.6.1/任意文件下载漏洞/download-exp.py
baidu-security/app-env-docker
794f4d23a4ff61e045108977119eb0e529bb0213
[ "Apache-2.0" ]
226
2018-02-17T07:18:12.000Z
2022-03-24T01:04:41.000Z
src/phpcms/9.6.1/任意文件下载漏洞/download-exp.py
baidu-security/app-env-docker
794f4d23a4ff61e045108977119eb0e529bb0213
[ "Apache-2.0" ]
7
2018-07-14T07:59:47.000Z
2021-05-07T06:30:54.000Z
src/phpcms/9.6.1/任意文件下载漏洞/download-exp.py
baidu-security/app-env-docker
794f4d23a4ff61e045108977119eb0e529bb0213
[ "Apache-2.0" ]
51
2018-04-20T15:39:06.000Z
2022-03-24T16:27:41.000Z
# coding: utf-8 ''' name: PHPCMS v9.6.1 author: Anka9080 description: ''' import sys import requests import re if __name__ == "__main__": poc(sys.argv[1])
30.133333
175
0.634956
1fb73cc1aa55107790f427e4e1e4f03476a6ace6
1,493
py
Python
packages/w3af/w3af/core/controllers/profiling/scan_log_analysis/data/errors.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
null
null
null
packages/w3af/w3af/core/controllers/profiling/scan_log_analysis/data/errors.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
null
null
null
packages/w3af/w3af/core/controllers/profiling/scan_log_analysis/data/errors.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
null
null
null
import re from utils.output import KeyValueOutput ERRORS_RE = [re.compile('Unhandled exception "(.*?)"'), re.compile('traceback', re.IGNORECASE), re.compile('w3af-crash'), re.compile('scan was able to continue by ignoring those'), re.compile('The scan will stop')] ...
25.305085
95
0.592096
1fb8c0338db15cdfd4d8333778bf52ca725b2f55
5,925
py
Python
__main__.py
Naruto0/fplyst
af5c30a5bbd91ace21c3c5305c8e202ba016ba09
[ "MIT" ]
null
null
null
__main__.py
Naruto0/fplyst
af5c30a5bbd91ace21c3c5305c8e202ba016ba09
[ "MIT" ]
3
2021-03-22T17:12:14.000Z
2021-12-13T19:39:39.000Z
__main__.py
Naruto0/fplyst
af5c30a5bbd91ace21c3c5305c8e202ba016ba09
[ "MIT" ]
null
null
null
#! /usr/bin/python3 # # Usage: # # path/to/script$ python3 __main__.py -c <config_file> # # Will create 'YYYY_MM_DD_STREAMNAME_PLAYLIST.txt' file # which will contain currently captured song # # HH:MM Interpret - Song Name # # To capture whole playlist you have to # make crontab scheldule or widows/mac equivalen...
25.320513
89
0.606076
1fbb637cd9392b8a2ffe427325fa61c758a9f423
14,341
py
Python
1_ps4/ps4b.py
gyalpodongo/6.0001_psets
b2e12d572d3382921a073e6712a337f98ade7c4a
[ "MIT" ]
null
null
null
1_ps4/ps4b.py
gyalpodongo/6.0001_psets
b2e12d572d3382921a073e6712a337f98ade7c4a
[ "MIT" ]
null
null
null
1_ps4/ps4b.py
gyalpodongo/6.0001_psets
b2e12d572d3382921a073e6712a337f98ade7c4a
[ "MIT" ]
null
null
null
# Problem Set 4B # Name: Gyalpo Dongo # Collaborators: # Time Spent: 9:00 # Late Days Used: 1 import string ### HELPER CODE ### def load_words(file_name): ''' file_name (string): the name of the file containing the list of words to load Returns: a list of valid words. Words are strings ...
36.214646
98
0.619064
1fbe01d48c418a25dac0b1a8cdfdd4ff5a631b60
13,996
py
Python
tests/integration/cartography/intel/gcp/test_compute.py
sckevmit/cartography
fefb63b5ec97986dcc29038331d0e5b027b95d5f
[ "Apache-2.0" ]
2,322
2019-03-02T01:07:20.000Z
2022-03-31T20:39:12.000Z
tests/integration/cartography/intel/gcp/test_compute.py
sckevmit/cartography
fefb63b5ec97986dcc29038331d0e5b027b95d5f
[ "Apache-2.0" ]
462
2019-03-07T18:38:11.000Z
2022-03-31T14:55:20.000Z
tests/integration/cartography/intel/gcp/test_compute.py
sckevmit/cartography
fefb63b5ec97986dcc29038331d0e5b027b95d5f
[ "Apache-2.0" ]
246
2019-03-03T02:39:23.000Z
2022-02-24T09:46:38.000Z
import cartography.intel.gcp.compute import tests.data.gcp.compute TEST_UPDATE_TAG = 123456789 def test_transform_and_load_vpcs(neo4j_session): """ Test that we can correctly transform and load VPC nodes to Neo4j. """ vpc_res = tests.data.gcp.compute.VPC_RESPONSE vpc_list = cartography.intel...
32.85446
118
0.627894
1fc21aa494251b943ab4e4b535ca093a791a6af8
6,208
py
Python
gae/backend/services/slack/slack.py
jlapenna/bikebuds
6e2b54fa2e4fa03e5ff250ca779c269ccc49a2d8
[ "Apache-2.0" ]
9
2018-11-17T00:53:47.000Z
2021-03-16T05:18:01.000Z
gae/backend/services/slack/slack.py
jlapenna/bikebuds
6e2b54fa2e4fa03e5ff250ca779c269ccc49a2d8
[ "Apache-2.0" ]
8
2018-11-28T17:19:07.000Z
2022-02-26T17:46:09.000Z
gae/backend/services/slack/slack.py
jlapenna/bikebuds
6e2b54fa2e4fa03e5ff250ca779c269ccc49a2d8
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
32.846561
92
0.704897
1fc244ac9c29079630ffd294e5609b1a6c46e1ff
3,895
py
Python
ooobuild/lo/drawing/framework/tab_bar_button.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/drawing/framework/tab_bar_button.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/drawing/framework/tab_bar_button.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
33.869565
166
0.668293
1fc41c98a94f4ecb65c5c9b1a3aac7dc614e2662
5,087
py
Python
shared/tools/snapshot/utils.py
DougMahoney/metatools
112340102962ff0c3e323564357cc4e848939cf7
[ "Apache-2.0" ]
12
2020-04-10T07:09:24.000Z
2022-03-04T09:22:40.000Z
shared/tools/snapshot/utils.py
DougMahoney/metatools
112340102962ff0c3e323564357cc4e848939cf7
[ "Apache-2.0" ]
5
2020-05-16T18:22:23.000Z
2022-03-29T13:19:27.000Z
shared/tools/snapshot/utils.py
DougMahoney/metatools
112340102962ff0c3e323564357cc4e848939cf7
[ "Apache-2.0" ]
2
2020-12-10T15:17:40.000Z
2021-12-02T17:34:56.000Z
""" Extraction utilities and supporting functions Some operations are used frequently or repeated enough to be factored out. Note that SQL can be used via the POORSQL_BINARY_PATH Download the binary from http://architectshack.com/PoorMansTSqlFormatter.ashx It's a phenominal utility that brilliantly normaliz...
25.691919
94
0.716139
1fc6fa21c4051a53146d8cf76b830b672309eed5
12,203
py
Python
HTGTSrep/HTGTSrep/junctionsPerLibs.py
Yyx2626/HTGTSrep
d8716304b555a7b9161e5f2ce988ebfd17abc9f0
[ "MIT" ]
2
2020-05-08T05:12:37.000Z
2022-03-28T02:53:03.000Z
HTGTSrep/HTGTSrep/junctionsPerLibs.py
Yyx2626/HTGTSrep
d8716304b555a7b9161e5f2ce988ebfd17abc9f0
[ "MIT" ]
1
2020-03-05T04:08:39.000Z
2021-08-11T15:02:37.000Z
HTGTSrep/HTGTSrep/junctionsPerLibs.py
Yyx2626/HTGTSrep
d8716304b555a7b9161e5f2ce988ebfd17abc9f0
[ "MIT" ]
4
2020-05-30T12:45:48.000Z
2022-03-31T12:24:53.000Z
'''import sys import operator from Bio.Seq import Seq try: from Bio.Alphabet import generic_dna, IUPAC Bio_Alphabet = True except ImportError: Bio_Alphabet = None # usages of generic_dna, IUPAC are not supported in Biopython 1.78 (September 2020). print(f"The installed BioPython is a new version tha...
35.891176
186
0.578137