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
c2b13350784cb8342c6137b9b2e68b9d9cf9a32f
46,745
py
Python
covidatx/plot.py
Mlograda/covidatx
336bd5874ec5c6915f621ff3960ea10f70f6319c
[ "MIT" ]
null
null
null
covidatx/plot.py
Mlograda/covidatx
336bd5874ec5c6915f621ff3960ea10f70f6319c
[ "MIT" ]
null
null
null
covidatx/plot.py
Mlograda/covidatx
336bd5874ec5c6915f621ff3960ea10f70f6319c
[ "MIT" ]
null
null
null
from .data import CovidData import datetime as dt from matplotlib.offsetbox import AnchoredText import pandas as pd import seaborn as sns import geopandas as gpd import matplotlib.pyplot as plt plt.style.use('ggplot') def pan_duration(date): """Return the duration in days of the pandemic. As...
40.647826
79
0.58571
c2b24d9435ba2ee5e8600b5092a512734c93405a
12,969
py
Python
bkt/library/comrelease.py
pyro-team/bkt-toolbox
bbccba142a81ca0a46056f2bcda75899979158a5
[ "MIT" ]
12
2019-05-31T02:57:26.000Z
2022-03-26T09:40:50.000Z
bkt/library/comrelease.py
mrflory/bkt-toolbox
bbccba142a81ca0a46056f2bcda75899979158a5
[ "MIT" ]
27
2021-11-27T16:33:19.000Z
2022-03-27T17:47:26.000Z
bkt/library/comrelease.py
pyro-team/bkt-toolbox
bbccba142a81ca0a46056f2bcda75899979158a5
[ "MIT" ]
3
2019-06-12T10:59:20.000Z
2020-04-21T15:13:50.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import import logging from contextlib import contextmanager from System.Runtime.InteropServices import Marshal #separte logger for comrelease to avoid spamming of log file logger = logging.getLogger().getChild("comrelease") logger.setLevel(logging.INFO) #...
36.532394
166
0.63806
c2b28cc65d1bcc4d30f8c76abcb566d6199f508e
389
py
Python
db/drop_db.py
muellerzr/capstone-2021
a7f0c4de902735aece018d7c2ffedccc1995d51a
[ "Apache-2.0" ]
null
null
null
db/drop_db.py
muellerzr/capstone-2021
a7f0c4de902735aece018d7c2ffedccc1995d51a
[ "Apache-2.0" ]
1
2021-11-30T00:03:22.000Z
2021-11-30T00:03:22.000Z
db/drop_db.py
muellerzr/capstone-2021
a7f0c4de902735aece018d7c2ffedccc1995d51a
[ "Apache-2.0" ]
null
null
null
from pymongo import MongoClient client = MongoClient('mongodb+srv://<username>:<password>@cluster0.27gwi.mongodb.net/Cluster0?retryWrites=true&w=majority') username = "" password = "" url = f'mongodb+srv://{username}:{password}@cluster0.27gwi.mongodb.net/Cluster0?retryWrites=true&w=majority' client = MongoClient(url) ...
35.363636
123
0.768638
c2b463e3b92836e2fb5a6f0fa7a7587ea2477928
750
py
Python
advanced/image_processing/examples/plot_blur.py
rossbar/scipy-lecture-notes
7f74e6925721c43bd81bf0bee34b4805ac4a3b57
[ "CC-BY-4.0" ]
2,538
2015-01-01T04:58:41.000Z
2022-03-31T21:06:05.000Z
advanced/image_processing/examples/plot_blur.py
rossbar/scipy-lecture-notes
7f74e6925721c43bd81bf0bee34b4805ac4a3b57
[ "CC-BY-4.0" ]
362
2015-01-18T14:16:23.000Z
2021-11-18T16:24:34.000Z
advanced/image_processing/examples/plot_blur.py
rossbar/scipy-lecture-notes
7f74e6925721c43bd81bf0bee34b4805ac4a3b57
[ "CC-BY-4.0" ]
1,127
2015-01-05T14:39:29.000Z
2022-03-25T08:38:39.000Z
""" Blurring of images =================== An example showing various processes that blur an image. """ import scipy.misc from scipy import ndimage import matplotlib.pyplot as plt face = scipy.misc.face(gray=True) blurred_face = ndimage.gaussian_filter(face, sigma=3) very_blurred = ndimage.gaussian_filter(face, sigm...
23.4375
63
0.716
c2b55d621ee927360546ea50eef9438d938401b2
2,845
py
Python
wmcore_base/ContainerScripts/AggregatePylint.py
ddaina/Docker
29e330fcbe774cdd0c05b597792c7c5f0e430e67
[ "Apache-2.0" ]
null
null
null
wmcore_base/ContainerScripts/AggregatePylint.py
ddaina/Docker
29e330fcbe774cdd0c05b597792c7c5f0e430e67
[ "Apache-2.0" ]
18
2016-12-02T19:56:53.000Z
2022-02-04T13:21:24.000Z
wmcore_base/ContainerScripts/AggregatePylint.py
ddaina/Docker
29e330fcbe774cdd0c05b597792c7c5f0e430e67
[ "Apache-2.0" ]
7
2016-06-03T18:32:26.000Z
2021-11-05T21:04:19.000Z
#! /usr/bin/env python import json from optparse import OptionParser usage = "usage: %prog [options] message" parser = OptionParser(usage) (options, args) = parser.parse_args() if len(args) != 1: parser.error("You must supply a label") label = args[0] try: with open('pylintReport.json', 'r') as reportFile:...
29.635417
103
0.53638
c2b5fc27d0f81bb0fc04c52397a1a93060a0b15c
71
py
Python
tests/__init__.py
lesleslie/jinja-inflection
a20c248a897aa95b38e860ecaee1517c3a5958fc
[ "BSD-3-Clause" ]
1
2019-09-14T06:50:38.000Z
2019-09-14T06:50:38.000Z
tests/__init__.py
lesleslie/jinja-inflection
a20c248a897aa95b38e860ecaee1517c3a5958fc
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
lesleslie/jinja-inflection
a20c248a897aa95b38e860ecaee1517c3a5958fc
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Unit test package for jinja_inflection."""
17.75
45
0.619718
c2b8cf5ed62085b93846cc634a5c0abe566a9d50
4,376
py
Python
smartsnippets_inherit/cms_plugins.py
pbs/django-cms-smartsnippets
61727dbdf44678ebd7df3fbeca8e7e190e364cc8
[ "BSD-3-Clause" ]
5
2015-08-06T14:47:00.000Z
2021-02-17T19:18:27.000Z
smartsnippets_inherit/cms_plugins.py
pbs/django-cms-smartsnippets
61727dbdf44678ebd7df3fbeca8e7e190e364cc8
[ "BSD-3-Clause" ]
11
2015-03-10T23:16:40.000Z
2018-07-01T22:44:55.000Z
smartsnippets_inherit/cms_plugins.py
pbs/django-cms-smartsnippets
61727dbdf44678ebd7df3fbeca8e7e190e364cc8
[ "BSD-3-Clause" ]
5
2015-06-04T17:35:34.000Z
2018-02-08T15:43:59.000Z
from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool from cms.plugins.utils import downcast_plugins from cms.models.placeholdermodel import Placeholder from cms.models.pluginmodel import CMSPlugin from smartsnippets_inherit.models import InheritPageContent from smartsnippets_inherit.forms i...
37.084746
87
0.662934
c2b9340069bcb7200131d508a532aae97e280c02
1,389
py
Python
drf_orjson_renderer/parsers.py
cblakkan/drf_orjson_renderer
15fcfb65918d16cca087095216847594929f61c4
[ "MIT" ]
28
2020-01-22T05:57:49.000Z
2022-03-17T09:07:44.000Z
drf_orjson_renderer/parsers.py
cblakkan/drf_orjson_renderer
15fcfb65918d16cca087095216847594929f61c4
[ "MIT" ]
14
2020-02-18T16:17:34.000Z
2022-03-23T01:07:35.000Z
drf_orjson_renderer/parsers.py
cblakkan/drf_orjson_renderer
15fcfb65918d16cca087095216847594929f61c4
[ "MIT" ]
17
2020-02-17T22:31:28.000Z
2022-03-10T04:48:10.000Z
from django.conf import settings from rest_framework.exceptions import ParseError from rest_framework.parsers import BaseParser import orjson __all__ = ["ORJSONParser"]
33.878049
81
0.662347
c2b97e17283bf6ef0af93d080c8e954cf0f1c1c7
1,942
py
Python
testproject/test/test_templatetag.py
tdivis/django-sane-testing
99dc7200593a7a59ffa33edb906d52acc7d8f577
[ "BSD-3-Clause" ]
4
2015-11-08T11:33:19.000Z
2018-01-29T22:34:24.000Z
testproject/test/test_templatetag.py
tdivis/django-sane-testing
99dc7200593a7a59ffa33edb906d52acc7d8f577
[ "BSD-3-Clause" ]
1
2021-03-19T11:04:29.000Z
2021-03-19T11:38:52.000Z
testproject/test/test_templatetag.py
Almad/django-sane-testing
99dc7200593a7a59ffa33edb906d52acc7d8f577
[ "BSD-3-Clause" ]
null
null
null
from djangosanetesting.cases import TemplateTagTestCase
36.641509
81
0.634398
c2baf8408ea1139bafc4f15533339ffc776824ab
680
wsgi
Python
DistFiles/mercurial/Contrib/hgweb.wsgi
bobeaton/OneStoryEditor
dcb644c79a4d69b9558df72892636bb1cba97796
[ "MIT" ]
1
2021-06-08T11:53:32.000Z
2021-06-08T11:53:32.000Z
DistFiles/mercurial/Contrib/hgweb.wsgi
bobeaton/OneStoryEditor
dcb644c79a4d69b9558df72892636bb1cba97796
[ "MIT" ]
4
2021-06-12T16:50:59.000Z
2021-11-19T23:52:24.000Z
ChorusDeps/mercurial/Contrib/hgweb.wsgi
bobeaton/OneStoryEditor
dcb644c79a4d69b9558df72892636bb1cba97796
[ "MIT" ]
2
2020-05-03T07:23:12.000Z
2021-07-14T15:58:17.000Z
# An example WSGI for use with mod_wsgi, edit as necessary # See http://mercurial.selenic.com/wiki/modwsgi for more information # Path to repo or hgweb config to serve (see 'hg help hgweb') config = "/path/to/repo/or/config" # Uncomment and adjust if Mercurial is not installed system-wide # (consult "installed module...
35.789474
72
0.769118
c2bbc6212ba14cce222e1171cae69fdb2905ea98
727
py
Python
uploadHelpers.py
BNUZ-China/iGem-Wiki
18216737bbd1d5316e5302ff7202a9fa139ad033
[ "MIT" ]
1
2021-08-28T15:06:10.000Z
2021-08-28T15:06:10.000Z
uploadHelpers.py
BNUZ-China/iGem-Wiki
18216737bbd1d5316e5302ff7202a9fa139ad033
[ "MIT" ]
null
null
null
uploadHelpers.py
BNUZ-China/iGem-Wiki
18216737bbd1d5316e5302ff7202a9fa139ad033
[ "MIT" ]
null
null
null
import os from subprocess import run import pyperclip import webbrowser from urllib import parse location = 'production' runOnSingleFolder('js') runOnSingleFolder('css')
29.08
129
0.672627
c2bc8e02528d8ad4917cf1b72be4033e672be9ac
31
py
Python
model/mscff/__init__.py
LK-Peng/CNN-based-Cloud-Detection-Methods
1393a6886e62f1ed5a612d57c5a725c763a6b2cc
[ "MIT" ]
2
2022-02-16T03:30:19.000Z
2022-03-18T08:02:39.000Z
model/mscff/__init__.py
LK-Peng/CNN-based-Cloud-Detection-Methods
1393a6886e62f1ed5a612d57c5a725c763a6b2cc
[ "MIT" ]
null
null
null
model/mscff/__init__.py
LK-Peng/CNN-based-Cloud-Detection-Methods
1393a6886e62f1ed5a612d57c5a725c763a6b2cc
[ "MIT" ]
1
2022-02-16T03:30:20.000Z
2022-02-16T03:30:20.000Z
from .mscff_model import MSCFF
15.5
30
0.83871
c2bd7d19cb0b1997605bb2bf0b20e39d01a29860
96
py
Python
netensorflow/ann/macro_layer/layer_structure/__init__.py
psigelo/NeTensorflow
ec8bc09cc98346484d1b682a3dfd25c68c4ded61
[ "MIT" ]
null
null
null
netensorflow/ann/macro_layer/layer_structure/__init__.py
psigelo/NeTensorflow
ec8bc09cc98346484d1b682a3dfd25c68c4ded61
[ "MIT" ]
null
null
null
netensorflow/ann/macro_layer/layer_structure/__init__.py
psigelo/NeTensorflow
ec8bc09cc98346484d1b682a3dfd25c68c4ded61
[ "MIT" ]
null
null
null
from .InputLayerStructure import InputLayerStructure from .LayerStructure import LayerStructure
32
52
0.895833
c2bd92ea5b65d1f42b8e2aa98a412fc4debb102e
1,180
py
Python
Snake.py
ZippyCodeYT/Zippy_Codes
91101085194ba2f30c74a82639b4730d52bb76dc
[ "CC-BY-4.0" ]
64
2021-07-11T17:56:42.000Z
2022-03-28T14:17:53.000Z
Snake.py
ZippyCodeYT/Zippy_Codes
91101085194ba2f30c74a82639b4730d52bb76dc
[ "CC-BY-4.0" ]
9
2021-07-10T23:26:39.000Z
2022-03-04T17:39:57.000Z
Snake.py
ZippyCodeYT/Ursina_Codes
91101085194ba2f30c74a82639b4730d52bb76dc
[ "CC-BY-4.0" ]
57
2021-07-14T17:09:46.000Z
2022-03-31T08:55:51.000Z
from ursina import * app = Ursina() snake = Entity(model='cube', texture = 'assets\snake', scale=0.4, z=-1, collider='box') ground = Entity(model='cube', texture='grass',rotation=(90,0,0),scale=(5,1,5), z=1) apple = Entity(model='cube', texture='assets\\apple', scale=0.4, position=(1,-1,-1), collider='mesh') body = [...
16.857143
101
0.572881
c2bdcfb6eaabd65b263df02b6c6aceda6e9c5099
3,153
py
Python
test/cp_request/test_entity.py
aquariumbio/experiment-request
026e3eb767c47f980a35004e9ded5e4e33553693
[ "MIT" ]
null
null
null
test/cp_request/test_entity.py
aquariumbio/experiment-request
026e3eb767c47f980a35004e9ded5e4e33553693
[ "MIT" ]
null
null
null
test/cp_request/test_entity.py
aquariumbio/experiment-request
026e3eb767c47f980a35004e9ded5e4e33553693
[ "MIT" ]
null
null
null
import json from cp_request import Attribute, NamedEntity, Unit, Value from cp_request.named_entity import NamedEntityEncoder, NamedEntityDecoder
35.829545
214
0.567396
c2bf3d5dd42932c24559dabc8a1b555f111001f2
4,282
py
Python
model/loss_and_metric/loss_util.py
goodgodgd/vode-2020
98e34120d642780576ac51d57c2f0597e7e1e524
[ "BSD-2-Clause" ]
4
2020-08-15T02:14:03.000Z
2021-01-30T08:18:18.000Z
model/loss_and_metric/loss_util.py
goodgodgd/vode-2020
98e34120d642780576ac51d57c2f0597e7e1e524
[ "BSD-2-Clause" ]
23
2020-01-24T07:25:40.000Z
2021-06-02T00:50:32.000Z
model/loss_and_metric/loss_util.py
goodgodgd/vode-2020
98e34120d642780576ac51d57c2f0597e7e1e524
[ "BSD-2-Clause" ]
1
2020-07-02T12:26:45.000Z
2020-07-02T12:26:45.000Z
import tensorflow as tf from utils.decorators import shape_check
44.14433
101
0.685427
c2bf82786883e88ae221354f9ad562aa51a42fc8
23,127
py
Python
my_version/craw_page_parse_2.py
xuerenlv/PaperWork
f096b57a80e8d771f080a02b925a22edbbee722a
[ "Apache-2.0" ]
1
2015-10-15T12:26:07.000Z
2015-10-15T12:26:07.000Z
my_version/craw_page_parse_2.py
xuerenlv/PaperWork
f096b57a80e8d771f080a02b925a22edbbee722a
[ "Apache-2.0" ]
null
null
null
my_version/craw_page_parse_2.py
xuerenlv/PaperWork
f096b57a80e8d771f080a02b925a22edbbee722a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on 2015-08-21 @author: xhj ''' import requests import StringIO import gzip import threading from loginer import Loginer import time from my_log import WeiboSearchLog import os import traceback from bs4 import BeautifulSoup import re from Queue import Queue import datetime from st...
37.727569
293
0.589657
c2c2bc98c89407c449beca19dbbedcbb96369738
246
py
Python
sureflap/resources/request_models.py
fabieu/sureflap-api
711bb32a7add64367fa3e15b25d52468f8aa7904
[ "Apache-2.0" ]
1
2020-12-03T16:43:55.000Z
2020-12-03T16:43:55.000Z
sureflap/resources/request_models.py
fabieu/sureflap-api
711bb32a7add64367fa3e15b25d52468f8aa7904
[ "Apache-2.0" ]
3
2021-07-14T21:41:53.000Z
2022-01-29T16:56:21.000Z
sureflap/resources/request_models.py
fabieu/sureflap-api
711bb32a7add64367fa3e15b25d52468f8aa7904
[ "Apache-2.0" ]
2
2021-02-13T12:11:22.000Z
2021-02-14T09:58:40.000Z
from datetime import datetime, time from enum import Enum from typing import Optional, Sequence, Union from pydantic import BaseModel
16.4
44
0.756098
c2c2f2be9b86caf1ba37fe85783e830ab1aa9049
1,303
py
Python
trecrts-clients/python/dumb-retweet-client/retweet_service.py
rosequ/RTS18
9a9b63c5d454e03dc996d56cb9e4b3e35e413f4d
[ "Apache-2.0" ]
7
2016-03-02T15:39:09.000Z
2016-04-04T10:31:40.000Z
trecrts-clients/python/dumb-retweet-client/retweet_service.py
rosequ/RTS18
9a9b63c5d454e03dc996d56cb9e4b3e35e413f4d
[ "Apache-2.0" ]
14
2015-10-22T18:51:17.000Z
2015-11-15T06:36:33.000Z
trecrts-clients/python/dumb-retweet-client/retweet_service.py
aroegies/trecrts-tools
1afe7a4226e59ad963419d5f96401a191bbc0112
[ "Apache-2.0" ]
null
null
null
########################## #### # WARNING: THIS FILE IS DEPRECATED AND IS ONLY RETAINED FOR INFORMATIONAL PURPOSES # ../dumb_topic_client is the up-to-date sample program ### ######################### from tweepy.streaming import StreamListener from tweepy import OAuthHandler from tweepy import Stream import requests ...
31.780488
82
0.711435
c2c31ca71ec1d801042e3c41eac4e04e937da0de
11,186
py
Python
instance_selection/_DROP3.py
dpr1005/Semisupervised-learning-and-instance-selection-methods
646d9e729c85322e859928e71a3241f2aec6d93d
[ "MIT" ]
3
2021-12-10T09:04:18.000Z
2022-01-22T15:03:19.000Z
instance_selection/_DROP3.py
dpr1005/Semisupervised-learning-and-instance-selection-methods
646d9e729c85322e859928e71a3241f2aec6d93d
[ "MIT" ]
107
2021-12-02T07:43:11.000Z
2022-03-31T11:02:46.000Z
instance_selection/_DROP3.py
dpr1005/Semisupervised-learning-and-instance-selection-methods
646d9e729c85322e859928e71a3241f2aec6d93d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # @Filename: DROP3.py # @Author: Daniel Puente Ramrez # @Time: 31/12/21 16:00 # @Version: 5.0 import copy from sys import maxsize import numpy as np import pandas as pd from sklearn.neighbors import NearestNeighbors from .utils import transform
39.111888
85
0.614339
c2c32defe3ff1b1dc5ec25d1e122b83a9bcc81b7
485
py
Python
orchestra/contrib/issues/apps.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
68
2015-02-09T10:28:44.000Z
2022-03-12T11:08:36.000Z
orchestra/contrib/issues/apps.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
17
2015-05-01T18:10:03.000Z
2021-03-19T21:52:55.000Z
orchestra/contrib/issues/apps.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
29
2015-03-31T04:51:03.000Z
2022-02-17T02:58:50.000Z
from django.apps import AppConfig from orchestra.core import accounts, administration from orchestra.core.translations import ModelTranslation
30.3125
59
0.734021
c2c383eca130058829926eb64535622bb27a0128
178
py
Python
python-data-analysis/matplotlib/ImshowDemo.py
meteor1993/python-learning
4ee574c9360caf6e63bb6ee2ef31fa6a9918fa40
[ "MIT" ]
83
2019-10-15T06:54:06.000Z
2022-03-28T14:08:21.000Z
python-data-analysis/matplotlib/ImshowDemo.py
wenxuefeng3930/python-learning
4ee574c9360caf6e63bb6ee2ef31fa6a9918fa40
[ "MIT" ]
1
2020-04-16T08:13:19.000Z
2020-07-14T01:52:46.000Z
python-data-analysis/matplotlib/ImshowDemo.py
wenxuefeng3930/python-learning
4ee574c9360caf6e63bb6ee2ef31fa6a9918fa40
[ "MIT" ]
74
2019-11-02T08:10:36.000Z
2022-02-19T12:23:36.000Z
import numpy as np import matplotlib.pyplot as plt x = np.random.rand(10, 10) plt.imshow(x, cmap=plt.cm.hot) # plt.colorbar() plt.savefig('imshow_demo.png')
16.181818
32
0.691011
c2c712a00d07acb813d9c64e92dbe982f58abfc3
942
py
Python
tests/core/exceptions/test_exceptions_auto.py
ccrvs/attack_surface_pypy
f2bc9998cf42f4764f1c495e6243d970e01bd176
[ "CC0-1.0" ]
null
null
null
tests/core/exceptions/test_exceptions_auto.py
ccrvs/attack_surface_pypy
f2bc9998cf42f4764f1c495e6243d970e01bd176
[ "CC0-1.0" ]
null
null
null
tests/core/exceptions/test_exceptions_auto.py
ccrvs/attack_surface_pypy
f2bc9998cf42f4764f1c495e6243d970e01bd176
[ "CC0-1.0" ]
null
null
null
# This test code was written by the `hypothesis.extra.ghostwriter` module # and is provided under the Creative Commons Zero public domain dedication. from pathlib import Path from hypothesis import given, strategies as st import attack_surface_pypy.core.exceptions
33.642857
87
0.814225
c2c78be72ea72b242adb4ca29ed829fd6b4d5b20
1,445
py
Python
set4/challenge27.py
solfer/cryptopals_python
6b22981a663b3dd2ef5fb5c30b1a6dc13eb0af1a
[ "MIT" ]
null
null
null
set4/challenge27.py
solfer/cryptopals_python
6b22981a663b3dd2ef5fb5c30b1a6dc13eb0af1a
[ "MIT" ]
null
null
null
set4/challenge27.py
solfer/cryptopals_python
6b22981a663b3dd2ef5fb5c30b1a6dc13eb0af1a
[ "MIT" ]
null
null
null
#! /usr/bin/python3 from Crypto.Cipher import AES from random import randint # https://www.cryptopals.com/sets/4/challenges/27 # Recover the key from CBC with IV=Key import sys sys.path.append('..') from cryptopals import ctr,xor,random_aes_key,cbc_decrypt,cbc_encrypt main()
21.567164
69
0.632526
c2c80dfda0a5984d9ce2a209c4604c7a22beaa47
577
wsgi
Python
testproject/testproject.wsgi
c4mb0t/django-setman
6551e3f6367bf8ee7c8f91e893c9e8439428f28a
[ "BSD-3-Clause" ]
1
2015-05-30T15:05:14.000Z
2015-05-30T15:05:14.000Z
testproject/testproject.wsgi
c4mb0t/django-setman
6551e3f6367bf8ee7c8f91e893c9e8439428f28a
[ "BSD-3-Clause" ]
null
null
null
testproject/testproject.wsgi
c4mb0t/django-setman
6551e3f6367bf8ee7c8f91e893c9e8439428f28a
[ "BSD-3-Clause" ]
null
null
null
import os import sys DIRNAME = os.path.abspath(os.path.dirname(__file__)) rel = lambda *x: os.path.abspath(os.path.join(DIRNAME, *x)) PROJECT_DIR = rel('..') activate_this = rel('env', 'bin', 'activate_this.py') # Activate virtualenv execfile(activate_this, {'__file__': activate_this}) os.environ['DJANGO_SETTINGS_...
26.227273
72
0.753899
c2caaf55603ef2c7129fc78578663a36d8c83697
8,057
py
Python
ntp/modules/generate.py
Michiel29/ntp-release
567bf1ca823eeef5eeb2d63bbe16023ea63af766
[ "Apache-2.0" ]
3
2019-07-03T11:25:12.000Z
2019-11-28T20:24:03.000Z
ntp/modules/generate.py
Michiel29/ntp-release
567bf1ca823eeef5eeb2d63bbe16023ea63af766
[ "Apache-2.0" ]
null
null
null
ntp/modules/generate.py
Michiel29/ntp-release
567bf1ca823eeef5eeb2d63bbe16023ea63af766
[ "Apache-2.0" ]
null
null
null
"""Functions for generating random data with injected relationships""" from itertools import product import os import json import re import random import numpy as np from numpy import random as rd from scipy.special import comb from ntp.util.util_kb import load_from_list def gen_relationships(n_pred, n_rel, body_...
37.129032
163
0.666749
c2cabc8b7c10f234c2f764e400a0eb0ee368ade4
1,116
py
Python
accounts/tests/test_account_views.py
borzecki/django-paymate
960e1dcce2682e57374663d87e47c5cff0c7aae4
[ "MIT" ]
null
null
null
accounts/tests/test_account_views.py
borzecki/django-paymate
960e1dcce2682e57374663d87e47c5cff0c7aae4
[ "MIT" ]
null
null
null
accounts/tests/test_account_views.py
borzecki/django-paymate
960e1dcce2682e57374663d87e47c5cff0c7aae4
[ "MIT" ]
null
null
null
from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from accounts.models import Account from accounts.serializers import AccountSerializer from .utils import create_accounts
32.823529
97
0.689964
c2cb04716bb5f1c7ce9e0998301f2ac347c3c6dd
202
py
Python
CTF/Pico2017/level_two/forensics/little_school_bus/solve.py
RegaledSeer/netsecnoobie
d3366937ec8c67a9742f61e47698239ae693af49
[ "MIT" ]
null
null
null
CTF/Pico2017/level_two/forensics/little_school_bus/solve.py
RegaledSeer/netsecnoobie
d3366937ec8c67a9742f61e47698239ae693af49
[ "MIT" ]
null
null
null
CTF/Pico2017/level_two/forensics/little_school_bus/solve.py
RegaledSeer/netsecnoobie
d3366937ec8c67a9742f61e47698239ae693af49
[ "MIT" ]
null
null
null
#!/usr/bin/python3 FILE_PATH = "./littleschoolbus.bmp" with open(FILE_PATH,"rb") as f: bytes = bytearray(f.read()) result = "" for byte in bytes[54:]: result += str(byte & 1) print(result)
14.428571
35
0.633663
c2ccffa0a75618b898fb390841847aab6f871afc
412
py
Python
isi_mip/climatemodels/migrations/0044_auto_20170116_1626.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2017-07-05T08:06:18.000Z
2021-03-01T17:23:18.000Z
isi_mip/climatemodels/migrations/0044_auto_20170116_1626.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2020-01-31T09:02:57.000Z
2021-04-20T14:04:35.000Z
isi_mip/climatemodels/migrations/0044_auto_20170116_1626.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2017-10-12T01:48:55.000Z
2020-04-29T13:50:03.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-16 15:26 from __future__ import unicode_literals from django.db import migrations
20.6
53
0.631068
c2ce62208e5d0f3a5f97c461255fe7d85b8afbee
13,528
py
Python
custom_utils/crop4patches.py
ziming-liu/ObjectDet
6e25fa784114b9773b052d9d5465aa6fed93468a
[ "Apache-2.0" ]
null
null
null
custom_utils/crop4patches.py
ziming-liu/ObjectDet
6e25fa784114b9773b052d9d5465aa6fed93468a
[ "Apache-2.0" ]
null
null
null
custom_utils/crop4patches.py
ziming-liu/ObjectDet
6e25fa784114b9773b052d9d5465aa6fed93468a
[ "Apache-2.0" ]
null
null
null
import numpy import os import json import cv2 import csv import os.path as osp import mmcv import numpy as np if __name__ == '__main__': import fire fire.Fire() #img_prefix = '/home/share2/VisDrone2019/TASK1/VisDrone2019-DET-val/' #img_writen= '/home/share2/VisDrone2019/TAS...
53.05098
190
0.53563
c2d008457b1988d06b4f36156a0cb0305d850324
1,121
py
Python
rabbitgetapi/__main__.py
Sidon/get-rabbitmq-messages
8feff8c9b9edee863d875966f5e5f3a5eb6ab06a
[ "MIT" ]
11
2022-01-10T13:49:39.000Z
2022-01-11T05:57:45.000Z
rabbitgetapi/__main__.py
Sidon/get-rabbitmq-messages
8feff8c9b9edee863d875966f5e5f3a5eb6ab06a
[ "MIT" ]
null
null
null
rabbitgetapi/__main__.py
Sidon/get-rabbitmq-messages
8feff8c9b9edee863d875966f5e5f3a5eb6ab06a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyleft 2021 Sidon Duarte # import http import sys from typing import Any import colorama import requests from rabbitgetapi import cli from rabbitgetapi import exceptions from rabbitgetapi import build_parser if __name__ == "__main__": sys.exit(main())
26.069767
75
0.674398
c2d017d8eee0b960215a2642618960e9f03da11f
245
py
Python
src/allyoucanuse/etc/hashing.py
kunlubrain/allyoucanuse
c206d53fa9948cb335b406805d52125921fb71cf
[ "MIT" ]
null
null
null
src/allyoucanuse/etc/hashing.py
kunlubrain/allyoucanuse
c206d53fa9948cb335b406805d52125921fb71cf
[ "MIT" ]
null
null
null
src/allyoucanuse/etc/hashing.py
kunlubrain/allyoucanuse
c206d53fa9948cb335b406805d52125921fb71cf
[ "MIT" ]
null
null
null
from typing import Union, Iterable import hashlib def hash_id(seeds:Union[str, Iterable], n:int=32)->str: """For the moment, use the default simple python hash func """ h = hashlib.sha256(''.join(seeds)).hexdigest()[:n] return h
30.625
62
0.681633
c2d2914bf2009ddae6cb71f0693560922df3f83f
12,182
py
Python
SST/datasets/wrapperpolicy.py
shaoshitong/torchdistill
709ca2d59442090d73a554d363e4c5e37538c707
[ "MIT" ]
1
2022-03-25T05:05:55.000Z
2022-03-25T05:05:55.000Z
SST/datasets/wrapperpolicy.py
shaoshitong/torchdistill
709ca2d59442090d73a554d363e4c5e37538c707
[ "MIT" ]
null
null
null
SST/datasets/wrapperpolicy.py
shaoshitong/torchdistill
709ca2d59442090d73a554d363e4c5e37538c707
[ "MIT" ]
null
null
null
import os import numpy as np import torch from torch.utils.data import Dataset import math import torch import torch.nn.functional as F import random import torchvision.datasets from torchvision.transforms import * from torch.utils.data import DataLoader from torchvision import datasets, transforms from PIL import Imag...
40.471761
136
0.613692
c2d3138307df728361eddc71fedd71f1bcf4a126
67
py
Python
Chapter 07/ch7_1m.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_1m.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_1m.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
print(lambda x: x*x (10)) # may give address of lambda function
22.333333
38
0.686567
c2d36fb4456d02f1a3cbf08824eb8cded948400d
3,029
py
Python
{{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_item.py
Gjacquenot/full-stack-fastapi-couchbase
5df16af2ffcb22d141c5e689a220611005747939
[ "MIT" ]
353
2019-01-03T09:53:17.000Z
2022-03-27T12:24:45.000Z
{{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_item.py
Gjacquenot/full-stack-fastapi-couchbase
5df16af2ffcb22d141c5e689a220611005747939
[ "MIT" ]
21
2019-01-06T21:50:40.000Z
2021-08-19T11:33:15.000Z
{{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_item.py
Gjacquenot/full-stack-fastapi-couchbase
5df16af2ffcb22d141c5e689a220611005747939
[ "MIT" ]
72
2019-03-07T21:59:55.000Z
2022-03-18T04:59:22.000Z
from app import crud from app.db.database import get_default_bucket from app.models.config import ITEM_DOC_TYPE from app.models.item import ItemCreate, ItemUpdate from app.tests.utils.user import create_random_user from app.tests.utils.utils import random_lower_string
35.22093
88
0.719379
c2d3808ea07cbe15ac6fd167c1f1d94408d838e4
32
py
Python
src/constants.py
argho28/Translation
11e24df4deb29d37dfb1f48cf686cef75eb68397
[ "MIT" ]
15
2019-09-26T09:59:14.000Z
2021-08-14T16:54:42.000Z
src/constants.py
argho28/Translation
11e24df4deb29d37dfb1f48cf686cef75eb68397
[ "MIT" ]
9
2020-03-24T17:53:25.000Z
2022-01-13T01:36:39.000Z
src/constants.py
argho28/Translation
11e24df4deb29d37dfb1f48cf686cef75eb68397
[ "MIT" ]
3
2019-12-30T15:35:32.000Z
2021-01-05T18:02:41.000Z
MODEL_PATH = "./model/model.pt"
16
31
0.6875
c2d52797a4915efe6cf6a4bf7bb065954ba40d31
12,271
py
Python
03_ML_training.py
YunxiaoRen/ML-iAMR
6bab74b4dccb5da8bc6155a7ee7ffa9d4811b894
[ "MIT" ]
4
2021-10-10T15:31:23.000Z
2022-02-10T00:17:55.000Z
03_ML_training.py
YunxiaoRen/ML-iAMR
6bab74b4dccb5da8bc6155a7ee7ffa9d4811b894
[ "MIT" ]
null
null
null
03_ML_training.py
YunxiaoRen/ML-iAMR
6bab74b4dccb5da8bc6155a7ee7ffa9d4811b894
[ "MIT" ]
2
2021-12-07T22:04:54.000Z
2022-02-10T07:14:42.000Z
##**************************************************************************************## ## Step1. Load Packages and Input Data ## ##**************************************************************************************## import pandas as pd import nu...
39.079618
193
0.677043
c2d54bc8670fa3bdf4a2db5b9a515c8fa9d07665
189
py
Python
testspeed/__init__.py
sc-1123/testspeed
0dc560f9019087275d29eba2e4dfc351ba89566e
[ "MIT" ]
1
2019-07-29T03:12:10.000Z
2019-07-29T03:12:10.000Z
testspeed/__init__.py
sc-1123/testspeed
0dc560f9019087275d29eba2e4dfc351ba89566e
[ "MIT" ]
null
null
null
testspeed/__init__.py
sc-1123/testspeed
0dc560f9019087275d29eba2e4dfc351ba89566e
[ "MIT" ]
null
null
null
name = "testspeed" from time import time from sys import argv from os import system tic = time() system('python %s' % (argv[1])) toc = time() print('used %s seconds' % (toc - tic))
21
39
0.640212
c2d5cfe13e3252b73bc2d506fd5f87805ad7437d
6,660
py
Python
gdalhelpers/functions/create_points_at_angles_distance_in_direction.py
JanCaha/gdalhelpers
925ecb2552b697b5970617484f1fc259f844ba04
[ "MIT" ]
null
null
null
gdalhelpers/functions/create_points_at_angles_distance_in_direction.py
JanCaha/gdalhelpers
925ecb2552b697b5970617484f1fc259f844ba04
[ "MIT" ]
null
null
null
gdalhelpers/functions/create_points_at_angles_distance_in_direction.py
JanCaha/gdalhelpers
925ecb2552b697b5970617484f1fc259f844ba04
[ "MIT" ]
null
null
null
from osgeo import ogr from typing import List, Union import math import os import warnings import numpy as np from gdalhelpers.checks import values_checks, datasource_checks, layer_checks from gdalhelpers.helpers import layer_helpers, datasource_helpers, geometry_helpers def create_points_at_angles_distance_in_direct...
43.815789
131
0.640841
c2d600c10308080eab8bee5be84ed3ffe2e71757
151
py
Python
test.py
Imagio/enigma
31c84a40cabe6ed7fc75743dbe9292a1bb622c4e
[ "MIT" ]
null
null
null
test.py
Imagio/enigma
31c84a40cabe6ed7fc75743dbe9292a1bb622c4e
[ "MIT" ]
null
null
null
test.py
Imagio/enigma
31c84a40cabe6ed7fc75743dbe9292a1bb622c4e
[ "MIT" ]
null
null
null
import unittest from rotor_tests import * from rotor_settings_tests import * from reflector_tests import * from enigma_tests import * unittest.main()
18.875
34
0.821192
c2d85ba1664d0e7d0a642dbaf8af0b812fb9a534
320
py
Python
forums/__init__.py
sharebears/pulsar-forums
6c1152a181c30bb82c49556fd072f47c2eeaf1cb
[ "MIT" ]
null
null
null
forums/__init__.py
sharebears/pulsar-forums
6c1152a181c30bb82c49556fd072f47c2eeaf1cb
[ "MIT" ]
null
null
null
forums/__init__.py
sharebears/pulsar-forums
6c1152a181c30bb82c49556fd072f47c2eeaf1cb
[ "MIT" ]
null
null
null
from werkzeug import find_modules, import_string from forums import routes from forums.modifications import modify_core modify_core()
21.333333
59
0.73125
c2d8aaeb7cd07de199497544ee9bb719305bd800
1,380
py
Python
polybot/views/ingest.py
evanpcosta/IEEEPolybot
75fd70680f4f9fec8b1b77b4e116e4869eb8c079
[ "Apache-2.0" ]
null
null
null
polybot/views/ingest.py
evanpcosta/IEEEPolybot
75fd70680f4f9fec8b1b77b4e116e4869eb8c079
[ "Apache-2.0" ]
null
null
null
polybot/views/ingest.py
evanpcosta/IEEEPolybot
75fd70680f4f9fec8b1b77b4e116e4869eb8c079
[ "Apache-2.0" ]
1
2021-03-07T20:46:43.000Z
2021-03-07T20:46:43.000Z
"""Routes related to ingesting data from the robot""" import os import logging from pathlib import Path from flask import Blueprint, request, current_app from pydantic import ValidationError from werkzeug.utils import secure_filename from polybot.models import UVVisExperiment logger = logging.getLogger(__name__) b...
30
70
0.674638
c2d96673325c088ac08245ec7ce49cbb6c73160f
405
py
Python
novice/02-04/lat_DIModule.py
septiannurtrir/praxis-academy
1ef7f959c372ae991d74ccd373123142c2fbc542
[ "MIT" ]
1
2019-08-27T17:06:13.000Z
2019-08-27T17:06:13.000Z
novice/02-04/lat_DIModule.py
septiannurtrir/praxis-academy
1ef7f959c372ae991d74ccd373123142c2fbc542
[ "MIT" ]
null
null
null
novice/02-04/lat_DIModule.py
septiannurtrir/praxis-academy
1ef7f959c372ae991d74ccd373123142c2fbc542
[ "MIT" ]
null
null
null
#dependency Module if __name__ == '__main__': injector = Injector(AppModule()) logic = injector.get(BusinessLogic) logic.do_stuff()
18.409091
64
0.654321
c2daf1fd3438e639b7a66547964461828db43284
639
py
Python
qiita_pet/uimodules/base_uimodule.py
JWDebelius/qiita
3378e0fabe40a846691600e5de4fb72a3db70dd1
[ "BSD-3-Clause" ]
null
null
null
qiita_pet/uimodules/base_uimodule.py
JWDebelius/qiita
3378e0fabe40a846691600e5de4fb72a3db70dd1
[ "BSD-3-Clause" ]
null
null
null
qiita_pet/uimodules/base_uimodule.py
JWDebelius/qiita
3378e0fabe40a846691600e5de4fb72a3db70dd1
[ "BSD-3-Clause" ]
null
null
null
# ----------------------------------------------------------------------------- # Copyright (c) 2014--, The Qiita Development Team. # # Distributed under the terms of the BSD 3-clause License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
35.5
79
0.524257
c2db78f1fd6b3b030ac80b311ec8e5f6c6ad3962
1,572
py
Python
test/test_mpdstats.py
dfc/beets
96c5121f65b9477e9b424f166dc57369b6457e42
[ "MIT" ]
1
2017-11-15T23:24:35.000Z
2017-11-15T23:24:35.000Z
test/test_mpdstats.py
dfc/beets
96c5121f65b9477e9b424f166dc57369b6457e42
[ "MIT" ]
null
null
null
test/test_mpdstats.py
dfc/beets
96c5121f65b9477e9b424f166dc57369b6457e42
[ "MIT" ]
null
null
null
# This file is part of beets. # Copyright 2015 # # 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, pu...
30.230769
71
0.720738
c2db90e9e6960ed73fac71500e3d37978e19257c
1,714
py
Python
renderer/console.py
deeredman1991/CreepSmash
566b87c6d70f3663016f1c6d41d63432f9d0e785
[ "MIT" ]
null
null
null
renderer/console.py
deeredman1991/CreepSmash
566b87c6d70f3663016f1c6d41d63432f9d0e785
[ "MIT" ]
null
null
null
renderer/console.py
deeredman1991/CreepSmash
566b87c6d70f3663016f1c6d41d63432f9d0e785
[ "MIT" ]
null
null
null
import tools.libtcod.libtcodpy as libtcod
39.860465
157
0.625438
c2dbb6ec5c6b594157bfe877b67a7b2cb451fd8a
48,942
py
Python
tests/examples/minlplib/sfacloc2_3_90.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/sfacloc2_3_90.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/sfacloc2_3_90.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 04/21/18 13:54:11 # # Equation counts # Total E G L N X C B # 497 61 388 48 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
37.077273
113
0.650954
c2dc055259ce8bd609c68240256323675bd4a1ec
1,236
py
Python
python_code/vnev/Lib/site-packages/jdcloud_sdk/services/cloudsign/models/StampInfo.py
Ureimu/weather-robot
7634195af388538a566ccea9f8a8534c5fb0f4b6
[ "MIT" ]
14
2018-04-19T09:53:56.000Z
2022-01-27T06:05:48.000Z
python_code/vnev/Lib/site-packages/jdcloud_sdk/services/cloudsign/models/StampInfo.py
Ureimu/weather-robot
7634195af388538a566ccea9f8a8534c5fb0f4b6
[ "MIT" ]
15
2018-09-11T05:39:54.000Z
2021-07-02T12:38:02.000Z
python_code/vnev/Lib/site-packages/jdcloud_sdk/services/cloudsign/models/StampInfo.py
Ureimu/weather-robot
7634195af388538a566ccea9f8a8534c5fb0f4b6
[ "MIT" ]
33
2018-04-20T05:29:16.000Z
2022-02-17T09:10:05.000Z
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
34.333333
107
0.706311
c2de7d7431503150ac6343d65fe89abecb277cb0
3,462
py
Python
authors/apps/likedislike/tests/test_likedislike.py
andela/ah-code-titans
4f1fc77c2ecdf8ca15c24327d39fe661eac85785
[ "BSD-3-Clause" ]
null
null
null
authors/apps/likedislike/tests/test_likedislike.py
andela/ah-code-titans
4f1fc77c2ecdf8ca15c24327d39fe661eac85785
[ "BSD-3-Clause" ]
20
2018-11-26T16:22:46.000Z
2018-12-21T10:08:25.000Z
authors/apps/likedislike/tests/test_likedislike.py
andela/ah-code-titans
4f1fc77c2ecdf8ca15c24327d39fe661eac85785
[ "BSD-3-Clause" ]
3
2019-01-24T15:39:42.000Z
2019-09-25T17:57:08.000Z
from rest_framework import status from django.urls import reverse from authors.apps.articles.models import Article from authors.base_test_config import TestConfiguration slug = None
28.61157
76
0.593299
c2dfd049645c43b5bbb9f0aae0f7145cf2d53a0b
6,843
py
Python
start_gui.py
NIC-VICOROB/sub-cortical_segmentation
324b8f998a666cee6ef94944acd85e2bcd503701
[ "BSD-3-Clause" ]
7
2018-06-17T02:48:49.000Z
2021-02-16T05:38:10.000Z
start_gui.py
NIC-VICOROB/sub-cortical_segmentation
324b8f998a666cee6ef94944acd85e2bcd503701
[ "BSD-3-Clause" ]
null
null
null
start_gui.py
NIC-VICOROB/sub-cortical_segmentation
324b8f998a666cee6ef94944acd85e2bcd503701
[ "BSD-3-Clause" ]
4
2017-09-22T08:52:36.000Z
2019-07-15T14:44:51.000Z
# ------------------------------------------------------------ # Training script example for Keras implementation # # Kaisar Kushibar (2019) # kaisar.kushibar@udg.edu # ------------------------------------------------------------ import os import sys import numpy as np from functools import partial from tkinter import...
37.80663
136
0.650592
c2dfea80584df5547d3541ae560b3208410a1788
3,875
py
Python
source/yahoo_finance.py
mengwangk/myinvestor-toolkit
3dca9e1accfccf1583dcdbec80d1a0fe9dae2e81
[ "MIT" ]
7
2019-10-13T18:58:33.000Z
2021-08-07T12:46:22.000Z
source/yahoo_finance.py
mengwangk/myinvestor-toolkit
3dca9e1accfccf1583dcdbec80d1a0fe9dae2e81
[ "MIT" ]
7
2019-12-16T21:25:34.000Z
2022-02-10T00:11:22.000Z
source/yahoo_finance.py
mengwangk/myinvestor-toolkit
3dca9e1accfccf1583dcdbec80d1a0fe9dae2e81
[ "MIT" ]
4
2020-02-01T11:23:51.000Z
2021-12-13T12:27:18.000Z
""" ======================= Yahoo Finance source ======================= """ import re import requests import time from json import loads from bs4 import BeautifulSoup from yahoofinancials import YahooFinancials # Yahoo Finance data source # Private method to get time interval code def _build_historical_di...
40.789474
112
0.627097
c2e0b6b1770d351e8357e3bd5c3075735bda47ee
695
py
Python
django_monitor/price_monitor/spider/enterprise/enterprise/items.py
jasonljc/enterprise-price-monitor
616396243e909d3584f4cfcc53d4e156510da4bb
[ "MIT" ]
null
null
null
django_monitor/price_monitor/spider/enterprise/enterprise/items.py
jasonljc/enterprise-price-monitor
616396243e909d3584f4cfcc53d4e156510da4bb
[ "MIT" ]
null
null
null
django_monitor/price_monitor/spider/enterprise/enterprise/items.py
jasonljc/enterprise-price-monitor
616396243e909d3584f4cfcc53d4e156510da4bb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy
26.730769
51
0.684892
c2e195ab4b278f23e01854b0146790e6742d3324
26,510
py
Python
photoz.py
martinkilbinger/shapepipe_photoz
da4547774f6d599fb0106273eb8ab9819b7fd9eb
[ "MIT" ]
null
null
null
photoz.py
martinkilbinger/shapepipe_photoz
da4547774f6d599fb0106273eb8ab9819b7fd9eb
[ "MIT" ]
null
null
null
photoz.py
martinkilbinger/shapepipe_photoz
da4547774f6d599fb0106273eb8ab9819b7fd9eb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 12 10:02:58 2020 @author: Xavier Jimenez """ #------------------------------------------------------------------# # # # # # Imports # # # # # #------------------------------------------------------------------# import numpy as np import os import ...
54.102041
289
0.515805
c2e28399830065a80ecde0af2720320c90368d6c
776
py
Python
units/prefix/metactl/bin/bin.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
units/prefix/metactl/bin/bin.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
units/prefix/metactl/bin/bin.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
#!/usr/bin/env python import betterwin G=betterwin.confcfg.load_global_config() if __name__ == '__main__':
19.897436
123
0.666237
c2e55b26934d85e03276f6736007bed25c578301
1,348
py
Python
network/fs_net_repo/PoseTs.py
lolrudy/GPV_pose
f326a623b3e45e6edfc1963b068e8e7aaea2bfff
[ "MIT" ]
10
2022-03-16T02:14:56.000Z
2022-03-31T19:01:34.000Z
network/fs_net_repo/PoseTs.py
lolrudy/GPV_pose
f326a623b3e45e6edfc1963b068e8e7aaea2bfff
[ "MIT" ]
1
2022-03-18T06:43:16.000Z
2022-03-18T06:56:35.000Z
network/fs_net_repo/PoseTs.py
lolrudy/GPV_pose
f326a623b3e45e6edfc1963b068e8e7aaea2bfff
[ "MIT" ]
2
2022-03-19T13:06:28.000Z
2022-03-19T16:08:18.000Z
import torch.nn as nn import torch import torch.nn.functional as F import absl.flags as flags from absl import app FLAGS = flags.FLAGS # Point_center encode the segmented point cloud # one more conv layer compared to original paper if __name__ == "__main__": app.run(main)
25.433962
55
0.58457
c2e64fced5d7c9dff05319da1da37700db19293c
2,653
py
Python
gQuant/plugins/gquant_plugin/greenflow_gquant_plugin/analysis/exportXGBoostNode.py
t-triobox/gQuant
6ee3ba104ce4c6f17a5755e7782298902d125563
[ "Apache-2.0" ]
null
null
null
gQuant/plugins/gquant_plugin/greenflow_gquant_plugin/analysis/exportXGBoostNode.py
t-triobox/gQuant
6ee3ba104ce4c6f17a5755e7782298902d125563
[ "Apache-2.0" ]
null
null
null
gQuant/plugins/gquant_plugin/greenflow_gquant_plugin/analysis/exportXGBoostNode.py
t-triobox/gQuant
6ee3ba104ce4c6f17a5755e7782298902d125563
[ "Apache-2.0" ]
null
null
null
from greenflow.dataframe_flow import Node from greenflow.dataframe_flow.portsSpecSchema import (ConfSchema, PortsSpecSchema) from greenflow.dataframe_flow.metaSpec import MetaDataSchema from greenflow.dataframe_flow.util import get_file_path from greenflow.dataframe...
31.211765
74
0.547682
c2e989f1d471ff586e3048f193d3b0ec35055cc5
623
py
Python
Python/main.py
mrn4344/Mandelbrot
8958b6453b3feafa1329fa18dc2822ab8985cb41
[ "MIT" ]
null
null
null
Python/main.py
mrn4344/Mandelbrot
8958b6453b3feafa1329fa18dc2822ab8985cb41
[ "MIT" ]
null
null
null
Python/main.py
mrn4344/Mandelbrot
8958b6453b3feafa1329fa18dc2822ab8985cb41
[ "MIT" ]
null
null
null
import mandelbrot as mand from PIL import Image width = 1280 height = 720 scale = 2 if __name__ == "__main__": main()
22.25
67
0.5313
c2ea645b92efeff22da8081f24ec4c1af5469ade
1,699
py
Python
blockformer/position/relative_position_bias.py
colinski/blockformer
56be6abc08dc25ab97c526384e9c69f6c814c3ed
[ "MIT" ]
null
null
null
blockformer/position/relative_position_bias.py
colinski/blockformer
56be6abc08dc25ab97c526384e9c69f6c814c3ed
[ "MIT" ]
null
null
null
blockformer/position/relative_position_bias.py
colinski/blockformer
56be6abc08dc25ab97c526384e9c69f6c814c3ed
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from mmcv.cnn.utils.weight_init import trunc_normal_ #adapted from open-mmlab implementation of swin transformer
38.613636
78
0.638611
c2ec07613b902faccf5658ff9af13a51b5b0ec16
6,065
py
Python
__main__.py
vEnhance/dragon
ada173a05e986941f20002ca726041a698eb8a1d
[ "MIT" ]
null
null
null
__main__.py
vEnhance/dragon
ada173a05e986941f20002ca726041a698eb8a1d
[ "MIT" ]
null
null
null
__main__.py
vEnhance/dragon
ada173a05e986941f20002ca726041a698eb8a1d
[ "MIT" ]
null
null
null
#Import some stuff import os import zipfile import ConfigParser import string import argparse from xml.etree.ElementTree import ElementTree from constants import SHORT_NAME, VERSION_NUMBER, FULL_NAME, GEOGEBRA_XML_LOCATION from diagram import AsyDiagram, doCompileDiagramObjects, drawDiagram # Argument parser {{{ pars...
32.783784
232
0.697939
c2ecefbb6392e5044c1bce089bc79ba2086836e6
1,714
py
Python
ka_model.py
ycjing/AmalgamateGNN.PyTorch
f99a60b374d23002d53385f23da2d540d964c7c2
[ "MIT" ]
15
2021-06-25T05:02:37.000Z
2022-03-20T08:34:15.000Z
ka_model.py
ycjing/AmalgamateGNN.PyTorch
f99a60b374d23002d53385f23da2d540d964c7c2
[ "MIT" ]
2
2022-01-21T05:14:17.000Z
2022-03-23T09:24:45.000Z
ka_model.py
ycjing/AmalgamateGNN.PyTorch
f99a60b374d23002d53385f23da2d540d964c7c2
[ "MIT" ]
1
2021-08-18T06:28:58.000Z
2021-08-18T06:28:58.000Z
import torch from utils import get_teacher1, get_teacher2, get_student def collect_model(args, data_info_s, data_info_t1, data_info_t2): """This is the function that constructs the dictionary containing the models and the corresponding optimizers Args: args (parse_args): parser arguments data...
41.804878
113
0.713536
c2ed8ec4755fb9cd0f0e90d7dcf10e9cf020ad38
8,759
py
Python
core/migrations/0001_initial.py
vlafranca/stream_framework_example
3af636c591d4a278f3720f64118d86aeb8091714
[ "MIT" ]
102
2015-01-18T15:02:34.000Z
2021-12-07T17:22:12.000Z
core/migrations/0001_initial.py
vlafranca/stream_framework_example
3af636c591d4a278f3720f64118d86aeb8091714
[ "MIT" ]
11
2015-01-04T14:42:11.000Z
2022-01-13T04:58:10.000Z
core/migrations/0001_initial.py
vlafranca/stream_framework_example
3af636c591d4a278f3720f64118d86aeb8091714
[ "MIT" ]
53
2015-01-12T07:11:10.000Z
2021-07-28T08:40:02.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models
56.509677
187
0.553488
c2edaf37adb691a52b1dfd785bf639490dc75f3a
3,309
py
Python
desicos/abaqus/conecyl/__init__.py
saullocastro/desicos
922db8ac4fb0fb4d09df18ce2a14011f207f6fa8
[ "BSD-3-Clause" ]
1
2020-10-22T22:15:24.000Z
2020-10-22T22:15:24.000Z
desicos/abaqus/conecyl/__init__.py
saullocastro/desicos
922db8ac4fb0fb4d09df18ce2a14011f207f6fa8
[ "BSD-3-Clause" ]
1
2020-10-09T12:42:02.000Z
2020-10-09T12:42:02.000Z
desicos/abaqus/conecyl/__init__.py
saullocastro/desicos
922db8ac4fb0fb4d09df18ce2a14011f207f6fa8
[ "BSD-3-Clause" ]
2
2020-07-14T07:45:31.000Z
2020-12-29T00:22:41.000Z
r""" =================================================== ConeCyl (:mod:`desicos.abaqus.conecyl`) =================================================== .. currentmodule:: desicos.abaqus.conecyl Cone/Cylinder Model ===================== Figure 1 provides a schematic view of the typical model created using this module. T...
30.925234
91
0.676337
c2f022d833125248ec963e921ce8841d3ad389bf
1,230
py
Python
rpython/jit/backend/ppc/regname.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
381
2018-08-18T03:37:22.000Z
2022-02-06T23:57:36.000Z
rpython/jit/backend/ppc/regname.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
16
2018-09-22T18:12:47.000Z
2022-02-22T20:03:59.000Z
rpython/jit/backend/ppc/regname.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
55
2015-08-16T02:41:30.000Z
2022-03-20T20:33:35.000Z
r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, \ r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, \ r23, r24, r25, r26, r27, r28, r29, r30, r31 = map(_R, range(32)) fr0, fr1, fr2, fr3, fr4, fr5, fr6, fr7, fr8, fr9, fr10, fr11, fr12, \ fr13, fr14, fr15, fr16, fr17, fr18, fr19, fr20, fr21, fr22, \...
41
78
0.591057
c2f080fa5d08bb1269862977727df7460da362c1
445
py
Python
probs/prob9.py
mattrid93/ProjectEuler
3e1cf1bad9581e526b37d17e20b5fe8af837c1c6
[ "MIT" ]
null
null
null
probs/prob9.py
mattrid93/ProjectEuler
3e1cf1bad9581e526b37d17e20b5fe8af837c1c6
[ "MIT" ]
null
null
null
probs/prob9.py
mattrid93/ProjectEuler
3e1cf1bad9581e526b37d17e20b5fe8af837c1c6
[ "MIT" ]
null
null
null
"""Problem 9: Special Pythagorean triplet. Brute force.""" import unittest def find_triple(s): """Returns abc where a^2+b^2=c^2 with a+b+c=s.""" a, b, c = 998, 1, 1 while b < 999: if a**2 + b**2 == c**2: return a*b*c if a == 1: c += 1 b = 1 a...
20.227273
53
0.440449
c2f186277f31c8ec4b6c844878711153981d3676
920
py
Python
common/utilities/message_utilities.py
uk-gov-mirror/nhsconnect.integration-adaptor-mhs
bf090a17659da738401667997a10695d8b75b94b
[ "Apache-2.0" ]
15
2019-08-06T16:08:12.000Z
2021-05-24T13:14:39.000Z
common/utilities/message_utilities.py
uk-gov-mirror/nhsconnect.integration-adaptor-mhs
bf090a17659da738401667997a10695d8b75b94b
[ "Apache-2.0" ]
75
2019-04-25T13:59:02.000Z
2021-09-15T06:05:36.000Z
common/utilities/message_utilities.py
uk-gov-mirror/nhsconnect.integration-adaptor-mhs
bf090a17659da738401667997a10695d8b75b94b
[ "Apache-2.0" ]
7
2019-11-12T15:26:34.000Z
2021-04-11T07:23:56.000Z
import uuid import datetime import utilities.file_utilities as file_utilities EBXML_TIMESTAMP_FORMAT = "%Y-%m-%dT%H:%M:%SZ" def get_uuid(): """Generate a UUID suitable for sending in messages to Spine. :return: A string representation of the UUID. """ return str(uuid.uuid4()).upper() def get_times...
27.878788
97
0.738043
c2f1a3b7771e7491e2a518b145a7443aeabf7658
81
py
Python
corehq/util/tests/__init__.py
bglar/commcare-hq
972129fc26864c08c7bef07874bd2a7218550bff
[ "BSD-3-Clause" ]
1
2017-02-10T03:14:51.000Z
2017-02-10T03:14:51.000Z
corehq/util/tests/__init__.py
bglar/commcare-hq
972129fc26864c08c7bef07874bd2a7218550bff
[ "BSD-3-Clause" ]
null
null
null
corehq/util/tests/__init__.py
bglar/commcare-hq
972129fc26864c08c7bef07874bd2a7218550bff
[ "BSD-3-Clause" ]
null
null
null
from test_couch import * from test_toggle import * from test_quickcache import *
20.25
29
0.814815
c2f1d876ec603c325d5fd840f0aed40ac0a43ab5
998
py
Python
cleanup.py
DuncteBot/tf2-transformer-chatbot
0e364da0537717de025314d40c5b0423891f9dc4
[ "MIT" ]
null
null
null
cleanup.py
DuncteBot/tf2-transformer-chatbot
0e364da0537717de025314d40c5b0423891f9dc4
[ "MIT" ]
null
null
null
cleanup.py
DuncteBot/tf2-transformer-chatbot
0e364da0537717de025314d40c5b0423891f9dc4
[ "MIT" ]
null
null
null
import sqlite3 from helpers import get_db_path, get_timeframes from traceback import print_tb timeframes = get_timeframes() print(timeframes) for timeframe in timeframes: with sqlite3.connect(get_db_path(timeframe)) as connection: try: c = connection.cursor() print("Cleanin up!"...
28.514286
103
0.576152
c2f341062556abc813aaebd4a88c681a262c4eb7
8,059
py
Python
visualization/plots.py
yc14600/beta3_IRT
7c3d87b2f04fc9ad7bf59db5d60166df5ca47dc6
[ "MIT" ]
7
2019-06-26T15:23:14.000Z
2021-12-28T14:16:24.000Z
visualization/plots.py
yc14600/beta3_IRT
7c3d87b2f04fc9ad7bf59db5d60166df5ca47dc6
[ "MIT" ]
null
null
null
visualization/plots.py
yc14600/beta3_IRT
7c3d87b2f04fc9ad7bf59db5d60166df5ca47dc6
[ "MIT" ]
4
2019-08-29T19:07:35.000Z
2021-12-28T19:22:11.000Z
from __future__ import division import numpy as np import matplotlib.pyplot as plt from matplotlib import gridspec import seaborn as sns import pandas as pd import glob import re from itertools import combinations import matplotlib matplotlib.rcParams['text.usetex'] = True
36.631818
173
0.618191
c2f46b42f5c6546a78b91fb417eafbf47943fbf3
10,125
py
Python
kitchensink/data/catalog.py
hhuuggoo/kitchensink
1f81050fec7eace52e0b4e1b47851b649a4e4d33
[ "BSD-3-Clause" ]
2
2015-03-17T05:02:42.000Z
2016-04-07T15:02:28.000Z
kitchensink/data/catalog.py
hhuuggoo/kitchensink
1f81050fec7eace52e0b4e1b47851b649a4e4d33
[ "BSD-3-Clause" ]
null
null
null
kitchensink/data/catalog.py
hhuuggoo/kitchensink
1f81050fec7eace52e0b4e1b47851b649a4e4d33
[ "BSD-3-Clause" ]
1
2015-10-07T21:50:44.000Z
2015-10-07T21:50:44.000Z
from os.path import join, exists, isdir, relpath, abspath, dirname import datetime as dt import posixpath import logging import tempfile from os import stat, makedirs, remove import random import uuid from cStringIO import StringIO import time from six import string_types try: import gevent except: gevent = No...
35.904255
95
0.599407
c2f4c885d5dce7315988e496badae91eba3b1efc
982
py
Python
nadine/migrations/0034_stripebillingprofile.py
alvienzo720/Dep_Nadine
b23688aa87ba3cfe138f9b243eed3f50a74e1486
[ "Apache-2.0" ]
null
null
null
nadine/migrations/0034_stripebillingprofile.py
alvienzo720/Dep_Nadine
b23688aa87ba3cfe138f9b243eed3f50a74e1486
[ "Apache-2.0" ]
null
null
null
nadine/migrations/0034_stripebillingprofile.py
alvienzo720/Dep_Nadine
b23688aa87ba3cfe138f9b243eed3f50a74e1486
[ "Apache-2.0" ]
1
2020-02-24T08:23:45.000Z
2020-02-24T08:23:45.000Z
# Generated by Django 2.0.3 on 2018-04-06 18:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
37.769231
139
0.665988
c2f563aefb1bf16c5c0e403fa207c966d043272b
5,212
py
Python
compete.py
ChristopherKlix/sorting_algorithms
5586393fb8e66d41c29c3a1a1a100fe323b6e1b6
[ "MIT" ]
null
null
null
compete.py
ChristopherKlix/sorting_algorithms
5586393fb8e66d41c29c3a1a1a100fe323b6e1b6
[ "MIT" ]
null
null
null
compete.py
ChristopherKlix/sorting_algorithms
5586393fb8e66d41c29c3a1a1a100fe323b6e1b6
[ "MIT" ]
null
null
null
from generate import generate from datetime import datetime from time import sleep # sorting algorithms # merge_sort helper functions def split(full_list): ''' get length of list initialize both halves ''' list_len = len(full_list) left_half, right_half = list(), list() ''' itera...
25.54902
95
0.585955
c2f6e7fc941847d3304a0d5ca32647ac0c95ed2a
251
py
Python
controller/index.py
YunYinORG/social
5020e980cacd8eca39fccc36faabc584f3c3e15f
[ "Apache-2.0" ]
4
2015-12-20T14:57:57.000Z
2021-01-23T12:54:20.000Z
controller/index.py
YunYinORG/social
5020e980cacd8eca39fccc36faabc584f3c3e15f
[ "Apache-2.0" ]
1
2016-03-13T15:19:02.000Z
2016-03-18T03:11:18.000Z
controller/index.py
YunYinORG/social
5020e980cacd8eca39fccc36faabc584f3c3e15f
[ "Apache-2.0" ]
4
2015-12-21T02:26:29.000Z
2016-09-03T02:57:07.000Z
#!/usr/bin/env python # coding=utf-8 import web import lib.user as user """[done]"""
16.733333
59
0.59761
c2f74385f195f0884b6d65f78882d41fbb6267cb
19,448
py
Python
models/transformer/transformer.py
lsgai/selene
ad23904cad2a5a292732ff350e7689c0b9e511f4
[ "BSD-3-Clause-Clear" ]
null
null
null
models/transformer/transformer.py
lsgai/selene
ad23904cad2a5a292732ff350e7689c0b9e511f4
[ "BSD-3-Clause-Clear" ]
null
null
null
models/transformer/transformer.py
lsgai/selene
ad23904cad2a5a292732ff350e7689c0b9e511f4
[ "BSD-3-Clause-Clear" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals import json import logging import math import os import sys from io import open import numpy as np import torch from torch import nn from torch.nn import CrossEntropyLoss, MSELoss from pytorch_transformers import WEIGHTS_NAME, CONFIG_N...
47.783784
121
0.722285
c2f98c67de6fff06f026a352c43e196aef39bfda
1,166
py
Python
setup.py
jackschultz/dbactor
57ca01bb257d92b32d6003b56cec69e930b6ea73
[ "MIT" ]
2
2021-11-18T09:35:42.000Z
2021-11-18T14:46:30.000Z
setup.py
jackschultz/dbactor
57ca01bb257d92b32d6003b56cec69e930b6ea73
[ "MIT" ]
null
null
null
setup.py
jackschultz/dbactor
57ca01bb257d92b32d6003b56cec69e930b6ea73
[ "MIT" ]
null
null
null
from setuptools import setup __version__ = '0.0.3' REQUIRES = ['psycopg2-binary'] EXTRAS_REQUIRE = { 'sqlalchemy': ['sqlalchemy'], 'jinjasql': ['jinjasql'], 'pandas': ['jinjasql', 'pandas'], } extras_lists = [vals for k, vals in EXTRAS_REQUIRE.items()] # flattening the values in EXTRAS_REQUIRE from popula...
36.4375
86
0.628645
c2fa5f8b735606c6ff049842620445e8616d3b41
603
py
Python
figur/__init__.py
severinsimmler/figur
d42cf6d150cc1b8effe1b4e7093bafd8975377b3
[ "MIT" ]
1
2019-04-29T20:29:15.000Z
2019-04-29T20:29:15.000Z
figur/__init__.py
severinsimmler/figur
d42cf6d150cc1b8effe1b4e7093bafd8975377b3
[ "MIT" ]
2
2019-03-13T14:30:08.000Z
2019-05-28T15:41:27.000Z
figur/__init__.py
severinsimmler/figur
d42cf6d150cc1b8effe1b4e7093bafd8975377b3
[ "MIT" ]
null
null
null
""" Figurenerkennung for German literary texts ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `figur` is very easy to use: ``` >>> import figur >>> text = "Der Grtner entfernte sich eilig, und Eduard folgte bald." >>> figur.tag(text) SentenceId Token Tag 0 0 Der _ 1 0 Grt...
24.12
70
0.41791
c2fb06c89af3c0d869e1710b20eb4d1e629dd002
725
py
Python
CV0101EN-09.02-frames_to_video.py
reddyprasade/Computer-Vision-with-Python
8eebec61f0fdacb05e122460d6845a32ae506c8f
[ "Apache-2.0" ]
null
null
null
CV0101EN-09.02-frames_to_video.py
reddyprasade/Computer-Vision-with-Python
8eebec61f0fdacb05e122460d6845a32ae506c8f
[ "Apache-2.0" ]
null
null
null
CV0101EN-09.02-frames_to_video.py
reddyprasade/Computer-Vision-with-Python
8eebec61f0fdacb05e122460d6845a32ae506c8f
[ "Apache-2.0" ]
null
null
null
import cv2 import numpy as np import os inputpath = 'folder path' outpath = 'video file path/video.mp4' fps = 29 frames_to_video(inputpath,outpath,fps)
29
75
0.66069
c2febe7880974ca6e91553584ed0bba9eac9b426
5,303
py
Python
pbt/estimator_worker.py
Octavian-ai/mac-graph
3ef978e8a6f79f2dcc46783d34f01934aabf7f19
[ "Unlicense" ]
116
2018-07-11T13:19:56.000Z
2021-07-26T17:22:44.000Z
pbt/estimator_worker.py
Octavian-ai/mac-graph
3ef978e8a6f79f2dcc46783d34f01934aabf7f19
[ "Unlicense" ]
1
2019-02-11T02:25:02.000Z
2019-02-11T17:05:19.000Z
pbt/estimator_worker.py
Octavian-ai/mac-graph
3ef978e8a6f79f2dcc46783d34f01934aabf7f19
[ "Unlicense" ]
21
2018-10-11T23:03:22.000Z
2021-07-14T22:42:08.000Z
import tensorflow as tf import numpy as np import traceback import os.path from .worker import Worker from .param import * from .params import * import logging logger = logging.getLogger(__name__) def resize_and_load(var, val, sess): o_shape = var.get_shape().as_list() i_shape = list(val.shape) if o_sh...
24.896714
103
0.666227
6c01243ea6bcaf63004fe1fe3e588e8eca1e226b
4,064
py
Python
tracer/main.py
LzVv123456/Deep-Reinforced-Tree-Traversal
8e117590c8cd51c9fc9c033232658876160fa638
[ "MIT" ]
20
2021-07-08T08:33:27.000Z
2022-01-14T03:27:35.000Z
tracer/main.py
abcxubu/Deep-Reinforced-Tree-Traversal
8e117590c8cd51c9fc9c033232658876160fa638
[ "MIT" ]
1
2021-10-01T12:39:11.000Z
2021-10-01T13:19:43.000Z
tracer/main.py
abcxubu/Deep-Reinforced-Tree-Traversal
8e117590c8cd51c9fc9c033232658876160fa638
[ "MIT" ]
3
2021-07-08T07:34:48.000Z
2022-01-10T11:41:59.000Z
import os import glob import yaml import torch import argparse from addict import Dict from dataset import * from init import * from utilities import * from train import * if __name__ == '__main__': args = parse_args() main(args)
37.62963
137
0.615404
6c0605d359e470dbd90558cdc9d674b331db2e65
181
py
Python
tests/acceptance/__init__.py
datphan/moviecrab
e3bcff700b994388f1ded68d268a960b10d57a81
[ "BSD-3-Clause" ]
null
null
null
tests/acceptance/__init__.py
datphan/moviecrab
e3bcff700b994388f1ded68d268a960b10d57a81
[ "BSD-3-Clause" ]
null
null
null
tests/acceptance/__init__.py
datphan/moviecrab
e3bcff700b994388f1ded68d268a960b10d57a81
[ "BSD-3-Clause" ]
null
null
null
"""acceptance tests""" import unittest from nose.plugins.attrib import attr
15.083333
44
0.729282
6c0675ff607912b34920445802ae59f9d31371c8
4,222
py
Python
test/functional/bsv-protoconf.py
bxlkm1/yulecoin
3605faf2ff2e3c7bd381414613fc5c0234ad2936
[ "OML" ]
8
2019-08-02T02:49:42.000Z
2022-01-17T15:51:48.000Z
test/functional/bsv-protoconf.py
bxlkm1/yulecoin
3605faf2ff2e3c7bd381414613fc5c0234ad2936
[ "OML" ]
null
null
null
test/functional/bsv-protoconf.py
bxlkm1/yulecoin
3605faf2ff2e3c7bd381414613fc5c0234ad2936
[ "OML" ]
4
2019-08-02T02:50:44.000Z
2021-05-28T03:21:38.000Z
#!/usr/bin/env python3 # Copyright (c) 2019 The Bitcoin SV developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.mininode import * from test_framework.test_framework import BitcoinTestFramework from test_f...
43.979167
143
0.709853
6c079626dca82782593d5d2bd1f2fb59f4206ddc
1,022
py
Python
apps/goods/migrations/0063_auto_20200108_1555.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
12
2020-02-01T01:52:01.000Z
2021-04-28T15:06:43.000Z
apps/goods/migrations/0063_auto_20200108_1555.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
5
2020-02-06T08:07:58.000Z
2020-06-02T13:03:45.000Z
apps/goods/migrations/0063_auto_20200108_1555.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
11
2020-02-03T13:07:46.000Z
2020-11-29T01:44:06.000Z
# Generated by Django 2.1.8 on 2020-01-08 07:55 from django.db import migrations, models
29.2
103
0.589041
6c09b1ff084d1e9df9670c57209d4a2a65e97d3c
9,838
py
Python
actor_critic/trainer.py
zamlz/dlcampjeju2018-I2A-cube
85ae7a2084ca490ea685ff3d30e82720fb58c0ea
[ "MIT" ]
14
2018-07-19T03:56:45.000Z
2019-10-01T12:09:01.000Z
actor_critic/trainer.py
zamlz/dlcampjeju2018-I2A-cube
85ae7a2084ca490ea685ff3d30e82720fb58c0ea
[ "MIT" ]
null
null
null
actor_critic/trainer.py
zamlz/dlcampjeju2018-I2A-cube
85ae7a2084ca490ea685ff3d30e82720fb58c0ea
[ "MIT" ]
null
null
null
import gym import numpy as np import tensorflow as tf import time from actor_critic.policy import A2CBuilder from actor_critic.util import discount_with_dones, cat_entropy, fix_tf_name from common.model import NetworkBase from common.multiprocessing_env import SubprocVecEnv from tqdm import tqdm # The function tha...
37.838462
102
0.593617
6c0bbff19246f88fe29603b2519f950e3178d9cc
23,504
py
Python
src/model_ode.py
fkhiro/kws-ode
5751f9b665511908b26e77f6ea5a97bf87823aab
[ "MIT" ]
5
2020-08-12T07:24:12.000Z
2022-02-23T14:04:16.000Z
src/model_ode.py
fkhiro/kws-ode
5751f9b665511908b26e77f6ea5a97bf87823aab
[ "MIT" ]
null
null
null
src/model_ode.py
fkhiro/kws-ode
5751f9b665511908b26e77f6ea5a97bf87823aab
[ "MIT" ]
1
2020-09-03T07:28:19.000Z
2020-09-03T07:28:19.000Z
from enum import Enum import hashlib import math import os import random import re from chainmap import ChainMap from torch.autograd import Variable import librosa import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.data as data from .manage_audio import AudioPrepr...
35.185629
200
0.592282
6c0d6af23938ca6fed73a619af2c2521273b4c43
7,642
py
Python
tests/test_snapshot.py
arkadiam/virt-backup
b3e8703ae3ab0f792f5d68913ecf5e7270acea46
[ "BSD-2-Clause-FreeBSD" ]
54
2019-06-21T23:29:02.000Z
2022-03-28T14:30:44.000Z
tests/test_snapshot.py
arkadiam/virt-backup
b3e8703ae3ab0f792f5d68913ecf5e7270acea46
[ "BSD-2-Clause-FreeBSD" ]
28
2019-08-18T01:01:25.000Z
2021-07-14T17:39:42.000Z
tests/test_snapshot.py
arkadiam/virt-backup
b3e8703ae3ab0f792f5d68913ecf5e7270acea46
[ "BSD-2-Clause-FreeBSD" ]
12
2019-07-12T10:16:03.000Z
2022-03-09T05:33:30.000Z
import json import os import arrow import libvirt import pytest from virt_backup.backups import DomBackup from virt_backup.domains import get_xml_block_of_disk from virt_backup.backups.snapshot import DomExtSnapshot, DomExtSnapshotCallbackRegistrer from virt_backup.exceptions import DiskNotFoundError, SnapshotNotStart...
36.390476
88
0.634258
6c0dd11197119baf2f7c1d5775874b54734c6eff
554
py
Python
assets/tuned/daemon/tuned/profiles/functions/function_regex_search_ternary.py
sjug/cluster-node-tuning-operator
8654d1c9558d0d5ef03d14373c877ebc737f9736
[ "Apache-2.0" ]
53
2018-11-13T07:02:03.000Z
2022-03-25T00:00:04.000Z
assets/tuned/daemon/tuned/profiles/functions/function_regex_search_ternary.py
sjug/cluster-node-tuning-operator
8654d1c9558d0d5ef03d14373c877ebc737f9736
[ "Apache-2.0" ]
324
2018-10-02T14:18:54.000Z
2022-03-31T23:47:33.000Z
assets/tuned/daemon/tuned/profiles/functions/function_regex_search_ternary.py
sjug/cluster-node-tuning-operator
8654d1c9558d0d5ef03d14373c877ebc737f9736
[ "Apache-2.0" ]
54
2018-10-01T16:55:09.000Z
2022-03-28T13:56:53.000Z
import re from . import base
25.181818
74
0.725632
6c0ebaf57bf48ef4c5911547b83ac2a6a45fa5e9
905
py
Python
craft_ai/__init__.py
craft-ai/craft-ai-client-python
3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3
[ "BSD-3-Clause" ]
14
2016-08-26T07:06:57.000Z
2020-09-22T07:41:21.000Z
craft_ai/__init__.py
craft-ai/craft-ai-client-python
3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3
[ "BSD-3-Clause" ]
94
2016-08-02T14:07:59.000Z
2021-10-06T11:50:52.000Z
craft_ai/__init__.py
craft-ai/craft-ai-client-python
3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3
[ "BSD-3-Clause" ]
8
2017-02-07T12:05:57.000Z
2021-10-14T09:45:30.000Z
__version__ = "2.4.3" from . import errors from .client import Client from .interpreter import Interpreter from .time import Time from .formatters import format_property, format_decision_rules from .reducer import reduce_decision_rules from .tree_utils import ( extract_decision_paths_from_tree, extract_decisio...
25.857143
75
0.764641
6c0f4bbb43f54fa43e4df577a49de96ebd810921
969
py
Python
bitshares/aio/block.py
silverchen0402/python-bitshares
aafbcf5cd09e7bca99dd156fd60b9df8ba508630
[ "MIT" ]
102
2018-04-08T23:05:00.000Z
2022-03-31T10:10:03.000Z
bitshares/aio/block.py
silverchen0402/python-bitshares
aafbcf5cd09e7bca99dd156fd60b9df8ba508630
[ "MIT" ]
246
2018-04-03T12:35:49.000Z
2022-02-28T10:44:28.000Z
bitshares/aio/block.py
silverchen0402/python-bitshares
aafbcf5cd09e7bca99dd156fd60b9df8ba508630
[ "MIT" ]
128
2018-04-14T01:39:12.000Z
2022-03-25T08:56:51.000Z
# -*- coding: utf-8 -*- from .instance import BlockchainInstance from ..block import Block as SyncBlock, BlockHeader as SyncBlockHeader from graphenecommon.aio.block import ( Block as GrapheneBlock, BlockHeader as GrapheneBlockHeader, )
25.5
75
0.721362
6c0ff50a90211a83518224c4a9e7cb96da0fbca0
1,015
py
Python
DongbinNa/17/pt.py
wonnerky/coteMaster
360e491e6342c1ee42ff49750b838a2ead865613
[ "Apache-2.0" ]
null
null
null
DongbinNa/17/pt.py
wonnerky/coteMaster
360e491e6342c1ee42ff49750b838a2ead865613
[ "Apache-2.0" ]
null
null
null
DongbinNa/17/pt.py
wonnerky/coteMaster
360e491e6342c1ee42ff49750b838a2ead865613
[ "Apache-2.0" ]
null
null
null
# NxN , , # (for) . matrix stop. # n, k = map(int, input().split()) matrix = [] for _ in range(n): matrix.append(list(map(int, input().split()))) s, x, y = map(int, input().split()) # dx = [-1, 1, 0, 0] # dy = [0, 0, -1, 1] # # dict. initial virus = {} for i in range(k): virus[i+...
23.604651
57
0.519212
6c11ff715822a78e65219cb047fa20aeb18248ac
7,843
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/pavelib/i18n.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/pavelib/i18n.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/pavelib/i18n.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2022-02-06T10:48:15.000Z
2022-02-06T10:48:15.000Z
""" Internationalization tasks """ import re import subprocess import sys from path import Path as path from paver.easy import cmdopts, needs, sh, task from .utils.cmd import django_cmd from .utils.envs import Env from .utils.timer import timed try: from pygments.console import colorize except ImportError: ...
23.694864
99
0.651409
6c1262e89c4802e8d7e590c6c84ac0e62c5a4169
2,020
py
Python
sympy/parsing/autolev/test-examples/ruletest9.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/parsing/autolev/test-examples/ruletest9.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/parsing/autolev/test-examples/ruletest9.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
import sympy.physics.mechanics as _me import sympy as _sm import math as m import numpy as _np frame_n = _me.ReferenceFrame('n') frame_a = _me.ReferenceFrame('a') a = 0 d = _me.inertia(frame_a, 1, 1, 1) point_po1 = _me.Point('po1') point_po2 = _me.Point('po2') particle_p1 = _me.Particle('p1', _me.Point('p1_...
36.071429
113
0.688119
6c137c12cabff00b49311cbc274302f573ef641a
3,830
py
Python
tests/test_asm_stats.py
hall-lab/tenx-gcp
f204e60cc5efb543a524df9cdbd44d0a8c590673
[ "MIT" ]
null
null
null
tests/test_asm_stats.py
hall-lab/tenx-gcp
f204e60cc5efb543a524df9cdbd44d0a8c590673
[ "MIT" ]
null
null
null
tests/test_asm_stats.py
hall-lab/tenx-gcp
f204e60cc5efb543a524df9cdbd44d0a8c590673
[ "MIT" ]
null
null
null
import filecmp, os, tempfile, unittest from click.testing import CliRunner from tenx.asm_stats import asm_stats_cmd, get_contig_lengths, get_scaffold_and_contig_lengths, get_stats, length_buckets # -- AsmStatsTest if __name__ == '__main__': unittest.main(verbosity=2) #-- __main__
40.315789
120
0.629243
6c1416cedaf37318b018aae01bda9b0f41f3ed30
3,435
py
Python
utils.py
zexihuang/raft-blockchain
a2f7365e10f5a5334c59bac6b551648bae04e2e8
[ "Apache-2.0" ]
1
2021-06-04T03:05:06.000Z
2021-06-04T03:05:06.000Z
utils.py
zexihuang/raft-blockchain
a2f7365e10f5a5334c59bac6b551648bae04e2e8
[ "Apache-2.0" ]
null
null
null
utils.py
zexihuang/raft-blockchain
a2f7365e10f5a5334c59bac6b551648bae04e2e8
[ "Apache-2.0" ]
null
null
null
import socket import pickle import random import string import time import hashlib import os BUFFER_SIZE = 65536
32.714286
115
0.616885
6c14181d8879fcc2609ab9415e7fe2cdbb328098
3,850
py
Python
api/data_refinery_api/test/test_dataset_stats.py
AlexsLemonade/refinebio
52f44947f902adedaccf270d5f9dbd56ab47e40a
[ "BSD-3-Clause" ]
106
2018-03-05T16:24:47.000Z
2022-03-19T19:12:25.000Z
api/data_refinery_api/test/test_dataset_stats.py
AlexsLemonade/refinebio
52f44947f902adedaccf270d5f9dbd56ab47e40a
[ "BSD-3-Clause" ]
1,494
2018-02-27T17:02:21.000Z
2022-03-24T15:10:30.000Z
api/data_refinery_api/test/test_dataset_stats.py
AlexsLemonade/refinebio
52f44947f902adedaccf270d5f9dbd56ab47e40a
[ "BSD-3-Clause" ]
15
2019-02-03T01:34:59.000Z
2022-03-29T01:59:13.000Z
import json from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from data_refinery_api.test.test_api_general import API_VERSION from data_refinery_common.models import ( Experiment, ExperimentOrganismAssociation, ExperimentSampleAssociation, Or...
32.627119
100
0.647013
6c15bfba4b8c0e66ef69eb440d0dc33cc1bed1d7
4,804
py
Python
hetzner_fix_report/hetzner_fix_report.py
flxai/hetzner-fix-report
ab484a3463ed0efc6f14ebd7b45d1b2c1281fb0b
[ "MIT" ]
2
2020-06-20T21:50:38.000Z
2020-06-22T08:37:11.000Z
hetzner_fix_report/hetzner_fix_report.py
flxai/hetzner-fix-report
ab484a3463ed0efc6f14ebd7b45d1b2c1281fb0b
[ "MIT" ]
4
2020-07-01T21:59:08.000Z
2020-07-05T11:33:59.000Z
hetzner_fix_report/hetzner_fix_report.py
flxai/hetzner-fix-report
ab484a3463ed0efc6f14ebd7b45d1b2c1281fb0b
[ "MIT" ]
null
null
null
import pdftotext import sys import numpy as np import pandas as pd import regex as re def get_server_type(server_type_str): """Check wether string is contained""" server_type_list = server_type_str.split(' ') if len(server_type_list) < 2: if server_type_str == 'Backup': return 'backu...
32.90411
118
0.59159
6c16620f0a89c9e70bfae221558f9859765dc5b0
3,705
py
Python
src/random_forest.py
rrozema12/Data-Mining-Final-Project
4848f3daed4b75879b626c5dc460e8dbd70ae861
[ "MIT" ]
1
2018-02-04T01:10:20.000Z
2018-02-04T01:10:20.000Z
src/random_forest.py
rrozema12/Data-Mining-Final-Project
4848f3daed4b75879b626c5dc460e8dbd70ae861
[ "MIT" ]
null
null
null
src/random_forest.py
rrozema12/Data-Mining-Final-Project
4848f3daed4b75879b626c5dc460e8dbd70ae861
[ "MIT" ]
null
null
null
# random_forest.py # does the random forest calcutlaions import decision_tree import partition import heapq import table_utils import classifier_util from homework_util import strat_folds def run_a_table(table, indexes, class_index, N, M, F): """ Takes a table, splits it into a training and test set. Creates a ...
35.970874
90
0.691768
6c1838a55b525f71872539fcbbf11141e0709474
5,682
py
Python
model_converter/test_freeze_pb.py
zhangmifigo/MobileDeepPill
270538494488767a7fb36e237b72212be5cf4f45
[ "MIT" ]
4
2020-03-23T20:27:24.000Z
2021-08-12T20:23:53.000Z
model_converter/test_freeze_pb.py
zhangmifigo/MobileDeepPill
270538494488767a7fb36e237b72212be5cf4f45
[ "MIT" ]
null
null
null
model_converter/test_freeze_pb.py
zhangmifigo/MobileDeepPill
270538494488767a7fb36e237b72212be5cf4f45
[ "MIT" ]
3
2019-10-14T07:56:05.000Z
2020-03-23T20:27:27.000Z
import tensorflow as tf from tensorflow.python.framework import graph_util from tensorflow.contrib.slim.python.slim.nets import alexnet from tensorflow.python.ops import random_ops from tensorflow.python.tools import optimize_for_inference_lib from tensorflow.python.framework import dtypes from tensorflow.core.framewor...
36.896104
129
0.707673
6c184b2174364e3e55c83631e166cd7d528e99e1
60
py
Python
app/comic/container_exec/__init__.py
EYRA-Benchmark/grand-challenge.org
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
2
2019-06-28T09:23:55.000Z
2020-03-18T05:52:13.000Z
app/comic/container_exec/__init__.py
EYRA-Benchmark/comic
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
112
2019-08-12T15:13:27.000Z
2022-03-21T15:49:40.000Z
app/comic/container_exec/__init__.py
EYRA-Benchmark/grand-challenge.org
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
1
2020-03-19T14:19:57.000Z
2020-03-19T14:19:57.000Z
default_app_config = "comic.container_exec.apps.CoreConfig"
30
59
0.85
6c186e241fa2559c5801595eef7a0db1d8af608a
18,320
py
Python
run.py
RafaelCenzano/Corona-Virus-Email-Updater
2d5bc071ab21fe8df358689862a019d400c73cd5
[ "MIT" ]
3
2020-03-10T13:52:37.000Z
2020-03-15T17:19:39.000Z
run.py
RafaelCenzano/Corona-Virus-Email-Updater
2d5bc071ab21fe8df358689862a019d400c73cd5
[ "MIT" ]
null
null
null
run.py
RafaelCenzano/Corona-Virus-Email-Updater
2d5bc071ab21fe8df358689862a019d400c73cd5
[ "MIT" ]
2
2020-03-10T13:52:29.000Z
2022-01-13T19:58:28.000Z
import requests import json import os from bs4 import BeautifulSoup as bs from secret import * from smtplib import SMTP from datetime import datetime from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart if __name__ == '__main__': scraper()
41.922197
177
0.593177
6c19d7164f4d767fbe5d4431bf900ccb1c4a00d6
6,494
py
Python
Machine_Learning/Feature_Tutorials/04-tensorflow-ai-optimizer/files/application/app_mt.py
dankernel/Vitis-Tutorials
558791a2350327ea275917db890797a895d0fac2
[ "Apache-2.0" ]
null
null
null
Machine_Learning/Feature_Tutorials/04-tensorflow-ai-optimizer/files/application/app_mt.py
dankernel/Vitis-Tutorials
558791a2350327ea275917db890797a895d0fac2
[ "Apache-2.0" ]
null
null
null
Machine_Learning/Feature_Tutorials/04-tensorflow-ai-optimizer/files/application/app_mt.py
dankernel/Vitis-Tutorials
558791a2350327ea275917db890797a895d0fac2
[ "Apache-2.0" ]
null
null
null
''' Copyright 2020 Xilinx Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
29.788991
172
0.647213
6c1b6ee9b212e08f8648b06179fcaaa04a11d3e2
545
py
Python
photos/migrations/0008_image_post.py
adriankiprono/imstragram_project
c4935ad745987fb53b62d116c3bc2faff20927ce
[ "MIT" ]
null
null
null
photos/migrations/0008_image_post.py
adriankiprono/imstragram_project
c4935ad745987fb53b62d116c3bc2faff20927ce
[ "MIT" ]
4
2020-06-06T00:31:39.000Z
2022-03-12T00:10:52.000Z
photos/migrations/0008_image_post.py
adriankiprono/instragram_project
c4935ad745987fb53b62d116c3bc2faff20927ce
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2020-01-07 07:56 import datetime from django.db import migrations from django.utils.timezone import utc import tinymce.models
23.695652
113
0.638532