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
9c98b5419ef51d74e2d7e47ae36323002d369066
7,617
py
Python
competitions/avito-demand-prediction/base_xgb_tune_mthread.py
gtesei/fast-furious
b974e6b71be92ad8892864794af57631291ebac1
[ "MIT" ]
19
2015-06-24T00:04:11.000Z
2021-02-28T16:55:44.000Z
competitions/avito-demand-prediction/base_xgb_tune_mthread.py
gtesei/fast-furious
b974e6b71be92ad8892864794af57631291ebac1
[ "MIT" ]
null
null
null
competitions/avito-demand-prediction/base_xgb_tune_mthread.py
gtesei/fast-furious
b974e6b71be92ad8892864794af57631291ebac1
[ "MIT" ]
4
2016-10-11T17:36:44.000Z
2019-08-16T10:03:04.000Z
import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import LabelEncoder import re from sklearn.feature_extraction import DictVectorizer from sklearn.model_selection import train_test_split import pandas as pd from pandas.tseries.holiday import USFederalHolidayCalendar a...
35.593458
112
0.495339
9c98d51c1433c4a39642bc8ab3e23a7db335e475
1,456
py
Python
tests/program_test.py
stanfortonski/Perlin-Noise-3D-Voxel-Generator
f06b0329c948848b22b5e3c04978e95ce71f5ab0
[ "MIT" ]
27
2020-05-15T23:24:17.000Z
2021-11-22T01:23:27.000Z
tests/program_test.py
stanfortonski/Perlin-Noise-3D-Voxel-Generator
f06b0329c948848b22b5e3c04978e95ce71f5ab0
[ "MIT" ]
null
null
null
tests/program_test.py
stanfortonski/Perlin-Noise-3D-Voxel-Generator
f06b0329c948848b22b5e3c04978e95ce71f5ab0
[ "MIT" ]
null
null
null
import sys, unittest, glfw sys.path.insert(0, '..') from OpenGL.GL import * from engine.base.shader import Shader from engine.base.program import * import helper if __name__ == '__main__': unittest.main()
32.355556
106
0.644231
9c9a7452e9e547327aec4a9da8b0f126d46152b2
1,253
py
Python
movie_night/genrecollector.py
MattDrouin/movie_night
4445b5fc66e7f7a5b2829142101d05dcf87a3227
[ "MIT" ]
null
null
null
movie_night/genrecollector.py
MattDrouin/movie_night
4445b5fc66e7f7a5b2829142101d05dcf87a3227
[ "MIT" ]
null
null
null
movie_night/genrecollector.py
MattDrouin/movie_night
4445b5fc66e7f7a5b2829142101d05dcf87a3227
[ "MIT" ]
null
null
null
import aiohttp import asyncio # Grab the movie genre in a slightly painful way
26.104167
67
0.497207
9c9b489e028cbf9b38f6936d0fc0e18d8c7399d9
2,623
py
Python
ML/WhatsApp/radar_chart.py
PepSalehi/algorithms
1c20f57185e6324aa840ccff98e69764b4213131
[ "MIT" ]
null
null
null
ML/WhatsApp/radar_chart.py
PepSalehi/algorithms
1c20f57185e6324aa840ccff98e69764b4213131
[ "MIT" ]
null
null
null
ML/WhatsApp/radar_chart.py
PepSalehi/algorithms
1c20f57185e6324aa840ccff98e69764b4213131
[ "MIT" ]
1
2019-12-09T21:40:46.000Z
2019-12-09T21:40:46.000Z
# core modules from math import pi # 3rd party modules import matplotlib.pyplot as plt import pandas as pd # internal modules import analysis def create_radar_chart(df, cat_names=None): """ Parameters ---------- df : pandas.DataFrame Has a column 'date' """ values = df['date'].to...
27.904255
157
0.559283
9c9c644c1666b0d5fa37d62234243dadbc44f8cf
1,894
py
Python
LoggedSensor.py
majorpeter/puha-manager
fd51b560a7e1dad99204ae3c9c7369d17cbcfd32
[ "MIT" ]
null
null
null
LoggedSensor.py
majorpeter/puha-manager
fd51b560a7e1dad99204ae3c9c7369d17cbcfd32
[ "MIT" ]
5
2018-07-29T19:55:27.000Z
2018-09-08T17:39:48.000Z
LoggedSensor.py
majorpeter/puha-manager
fd51b560a7e1dad99204ae3c9c7369d17cbcfd32
[ "MIT" ]
null
null
null
from datetime import datetime from threading import Lock from Database import Database
32.101695
104
0.586589
9c9dc2b48466cf77d6827d16eafaafb0b544703d
1,046
py
Python
tests/algorithms/sets/test_cartesian.py
maurobaraldi/python-algorithms
94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14
[ "MIT" ]
2
2018-11-05T17:12:40.000Z
2019-09-05T17:10:01.000Z
tests/algorithms/sets/test_cartesian.py
maurobaraldi/python-algorithms
94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14
[ "MIT" ]
null
null
null
tests/algorithms/sets/test_cartesian.py
maurobaraldi/python-algorithms
94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14
[ "MIT" ]
1
2019-01-02T19:07:51.000Z
2019-01-02T19:07:51.000Z
#!/usr/bin/env python import unittest from algorithms.sets.cartesian_product import cartesian if __name__ == '__main__': unittest.main()
34.866667
122
0.630975
9c9e72363186eee33893fff1aebbb6657c6b8082
14,501
py
Python
libs/sdc_etl_libs/aws_helpers/S3Data.py
darknegma/docker-airflow
44e3d02d7ac43c8876145ae47acfbbbde67230df
[ "Apache-2.0" ]
null
null
null
libs/sdc_etl_libs/aws_helpers/S3Data.py
darknegma/docker-airflow
44e3d02d7ac43c8876145ae47acfbbbde67230df
[ "Apache-2.0" ]
3
2021-03-31T19:26:57.000Z
2021-12-13T20:33:01.000Z
libs/sdc_etl_libs/aws_helpers/S3Data.py
darknegma/docker-airflow
44e3d02d7ac43c8876145ae47acfbbbde67230df
[ "Apache-2.0" ]
null
null
null
import boto3 from botocore.exceptions import ClientError import gzip import io import os import csv import re def save_to_s3(self, data_string_): """ Saves data as a file in S3 bucket :param data_string_: data to be saved return: target_path """ encoded_data=data...
40.058011
122
0.579064
9c9e9f62b13ea8939d24495e7e75ae788410b53b
5,520
py
Python
tests/test_models.py
thmslmr/timebomb-client
a57fdbb8bfc0157d2c3d713496ab4819fb33f1fd
[ "MIT" ]
1
2020-03-31T17:17:40.000Z
2020-03-31T17:17:40.000Z
tests/test_models.py
thmslmr/timebomb-client
a57fdbb8bfc0157d2c3d713496ab4819fb33f1fd
[ "MIT" ]
2
2020-03-31T17:18:38.000Z
2020-03-31T17:21:13.000Z
tests/test_models.py
thmslmr/timebomb-client
a57fdbb8bfc0157d2c3d713496ab4819fb33f1fd
[ "MIT" ]
null
null
null
from datetime import datetime import timebomb.models as models
32.470588
87
0.661051
9ca0a611b163641ccd9e67b37966344da7a5eac2
1,801
py
Python
words_in_sentences/admin.py
FatliTalk/learnenglish
f0393346f2e696b2af542c05e5005d2495f00e37
[ "MIT" ]
1
2021-10-06T12:40:28.000Z
2021-10-06T12:40:28.000Z
words_in_sentences/admin.py
FatliTalk/learnenglish
f0393346f2e696b2af542c05e5005d2495f00e37
[ "MIT" ]
null
null
null
words_in_sentences/admin.py
FatliTalk/learnenglish
f0393346f2e696b2af542c05e5005d2495f00e37
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Tag, Sentence, Review admin.site.register(Tag) admin.site.register(Sentence, SentenceAdmin)
23.38961
97
0.541921
9ca288ba9259937c8aeaac578a1dd9eb50715c34
1,930
py
Python
scheduled_bots/scripts/add_ECO_evidence_code.py
turoger/scheduled-bots
23fd30ccc242391151af3a1727f9fbf9dc95d433
[ "MIT" ]
6
2017-05-04T01:04:26.000Z
2022-03-04T12:22:17.000Z
scheduled_bots/scripts/add_ECO_evidence_code.py
turoger/scheduled-bots
23fd30ccc242391151af3a1727f9fbf9dc95d433
[ "MIT" ]
55
2017-03-14T21:16:44.000Z
2022-03-02T12:39:14.000Z
scheduled_bots/scripts/add_ECO_evidence_code.py
turoger/scheduled-bots
23fd30ccc242391151af3a1727f9fbf9dc95d433
[ "MIT" ]
13
2017-02-10T21:40:06.000Z
2022-01-18T01:27:52.000Z
""" One off script to Map evidence codes between ECO and GO https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping.txt """ import datetime from wikidataintegrator import wdi_core, wdi_login from scheduled_bots.local import WDPASS, WDUSER login = wdi_login.WDLogin(WDUSER, WDPASS) go_evidenc...
58.484848
120
0.615544
9ca3e6cc572151c426dc39e7c0ad47e0d772a12a
315
py
Python
emenu/conftest.py
Ryszyy/emenu
735e1e36580e26ba9b22609e461f06aab281aea7
[ "MIT" ]
null
null
null
emenu/conftest.py
Ryszyy/emenu
735e1e36580e26ba9b22609e461f06aab281aea7
[ "MIT" ]
null
null
null
emenu/conftest.py
Ryszyy/emenu
735e1e36580e26ba9b22609e461f06aab281aea7
[ "MIT" ]
null
null
null
import pytest from django.contrib.auth import get_user_model from emenu.users.tests.factories import UserFactory
21
51
0.774603
9ca412a5e4887117f87a070c4624fcb1569c592d
6,322
py
Python
pychemia/population/_population.py
quanshengwu/PyChemia
98e9f7a1118b694dbda3ee75411ff8f8d7b9688b
[ "MIT" ]
1
2021-03-26T12:34:45.000Z
2021-03-26T12:34:45.000Z
pychemia/population/_population.py
quanshengwu/PyChemia
98e9f7a1118b694dbda3ee75411ff8f8d7b9688b
[ "MIT" ]
null
null
null
pychemia/population/_population.py
quanshengwu/PyChemia
98e9f7a1118b694dbda3ee75411ff8f8d7b9688b
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import json import numpy as np from builtins import str from abc import ABCMeta, abstractmethod from pychemia import HAS_PYMONGO from pychemia.utils.computing import deep_unicode if HAS_PYMONGO: from pychemia.db import PyChemiaDB
27.72807
107
0.607403
9ca437236746459609c5690cd68a04412ca8726f
2,034
py
Python
python/tests/test_nessie_cli.py
ryantse/nessie
c347d61ec7358fdc5759147cc6207143927246f3
[ "Apache-2.0" ]
null
null
null
python/tests/test_nessie_cli.py
ryantse/nessie
c347d61ec7358fdc5759147cc6207143927246f3
[ "Apache-2.0" ]
null
null
null
python/tests/test_nessie_cli.py
ryantse/nessie
c347d61ec7358fdc5759147cc6207143927246f3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `pynessie` package.""" import pytest import requests_mock import simplejson as json from click.testing import CliRunner from pynessie import __version__ from pynessie import cli from pynessie.model import ReferenceSchema def test_command_line_interface(reque...
35.684211
90
0.69174
9ca439ec225fe16010ea11790d66c7004a6e42da
129
py
Python
dongtai_agent_python/context/__init__.py
luzhongyang/DongTai-agent-python-1
f4e14afb136946809c5e84b7b163a8c32267a27a
[ "Apache-2.0" ]
17
2021-11-13T11:57:10.000Z
2022-03-26T12:45:30.000Z
dongtai_agent_python/context/__init__.py
luzhongyang/DongTai-agent-python-1
f4e14afb136946809c5e84b7b163a8c32267a27a
[ "Apache-2.0" ]
2
2021-11-08T07:43:38.000Z
2021-12-09T02:23:46.000Z
dongtai_agent_python/context/__init__.py
luzhongyang/DongTai-agent-python-1
f4e14afb136946809c5e84b7b163a8c32267a27a
[ "Apache-2.0" ]
17
2021-11-02T08:21:57.000Z
2022-02-19T13:24:36.000Z
from .request_context import RequestContext from .tracker import ContextTracker from .request import DjangoRequest, FlaskRequest
32.25
48
0.868217
9ca92489a95d5d6f10768832e66cdc6a00655f55
8,183
py
Python
iaso/api/org_unit_search.py
BLSQ/iaso-copy
85fb17f408c15e8c2d730416d1312f58f8db39b7
[ "MIT" ]
29
2020-12-26T07:22:19.000Z
2022-03-07T13:40:09.000Z
iaso/api/org_unit_search.py
BLSQ/iaso-copy
85fb17f408c15e8c2d730416d1312f58f8db39b7
[ "MIT" ]
150
2020-11-09T15:03:27.000Z
2022-03-07T15:36:07.000Z
iaso/api/org_unit_search.py
BLSQ/iaso
95c8087c0182bdd576598eb8cd39c440e58e15d7
[ "MIT" ]
4
2020-11-09T10:38:13.000Z
2021-10-04T09:42:47.000Z
import re from django.db.models import Q, Count, Sum, Case, When, IntegerField, Value from iaso.models import OrgUnit, Instance, DataSource
37.365297
117
0.633142
9cab8a834e9e682c0ee397c003bc6bb100756a66
7,551
py
Python
deep_NLP.py
AI-tist/NlpDeeplearning
6d8b5b9d244fc49df00858023118318a2d4125d4
[ "MIT" ]
null
null
null
deep_NLP.py
AI-tist/NlpDeeplearning
6d8b5b9d244fc49df00858023118318a2d4125d4
[ "MIT" ]
null
null
null
deep_NLP.py
AI-tist/NlpDeeplearning
6d8b5b9d244fc49df00858023118318a2d4125d4
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import xgboost as xgb from tqdm import tqdm from sklearn.svm import SVC from keras.models import Sequential from keras.layers.recurrent import LSTM, GRU from keras.layers.core import Dense, Activation, Dropout from keras.layers.embeddings import Embedding from keras.layers.normali...
33.411504
107
0.713283
9cac0ad4d3324c47506f3d542aa657ca67da7b25
81
py
Python
cbt/apps.py
belloshehu/multiple-choice-questions
abfb7ac8cc24bc3f9ee34e9505bc6c6944786ac0
[ "MIT" ]
null
null
null
cbt/apps.py
belloshehu/multiple-choice-questions
abfb7ac8cc24bc3f9ee34e9505bc6c6944786ac0
[ "MIT" ]
2
2020-09-03T21:48:33.000Z
2020-09-22T08:51:14.000Z
cbt/apps.py
belloshehu/multiple-choice-questions
abfb7ac8cc24bc3f9ee34e9505bc6c6944786ac0
[ "MIT" ]
null
null
null
from django.apps import AppConfig
13.5
33
0.728395
9cac9b27985bf5baf54eb0058ab26de0a6a723b5
176
py
Python
examples/python/src/authors/models.py
ShivamSarodia/sqlc
194065e223a53d19219efb290a53b45fcd036a6b
[ "MIT" ]
5,153
2019-08-19T19:24:06.000Z
2022-03-31T22:26:53.000Z
examples/python/src/authors/models.py
ShivamSarodia/sqlc
194065e223a53d19219efb290a53b45fcd036a6b
[ "MIT" ]
871
2019-08-19T02:20:57.000Z
2022-03-31T21:03:04.000Z
examples/python/src/authors/models.py
ShivamSarodia/sqlc
194065e223a53d19219efb290a53b45fcd036a6b
[ "MIT" ]
377
2019-09-04T07:27:09.000Z
2022-03-31T21:54:45.000Z
# Code generated by sqlc. DO NOT EDIT. import dataclasses from typing import Optional
16
38
0.715909
9cacd9c2da031e3221ef68c08b555dad87d95e00
108
py
Python
src/wagtail_site_inheritance/__init__.py
labd/wagtail-site-inheritance
2d13de198a5b6354c49073dacb3964eef8e71647
[ "MIT" ]
5
2020-03-09T18:53:08.000Z
2022-02-08T12:38:07.000Z
src/wagtail_site_inheritance/__init__.py
labd/wagtail-site-inheritance
2d13de198a5b6354c49073dacb3964eef8e71647
[ "MIT" ]
null
null
null
src/wagtail_site_inheritance/__init__.py
labd/wagtail-site-inheritance
2d13de198a5b6354c49073dacb3964eef8e71647
[ "MIT" ]
null
null
null
__version__ = "0.0.1" default_app_config = "wagtail_site_inheritance.apps.WagtailSiteInheritanceAppConfig"
27
84
0.842593
9cadce2a65716efbbbaef6fb365b1a19a14d1464
779
py
Python
code/mod.py
aragilar/python-testing
312496a9016975d99230744e262799999740720b
[ "CC-BY-4.0" ]
null
null
null
code/mod.py
aragilar/python-testing
312496a9016975d99230744e262799999740720b
[ "CC-BY-4.0" ]
null
null
null
code/mod.py
aragilar/python-testing
312496a9016975d99230744e262799999740720b
[ "CC-BY-4.0" ]
null
null
null
import os.path import numpy as np
18.116279
62
0.499358
9cade016723908e48e753e2ca24979b97411963e
1,970
py
Python
chooks/commands/add.py
thegedge/chooks
1a5115d16f67d716206da456ee405a562a6df042
[ "MIT" ]
null
null
null
chooks/commands/add.py
thegedge/chooks
1a5115d16f67d716206da456ee405a562a6df042
[ "MIT" ]
1
2015-05-11T18:25:49.000Z
2015-05-11T18:29:11.000Z
chooks/commands/add.py
thegedge/chooks
1a5115d16f67d716206da456ee405a562a6df042
[ "MIT" ]
null
null
null
"""Adds a chook to a git repository. Usage: chooks add [--stdin | --argument] [--once | --filter=FILTER...] [--global] [--fatal] [--hook=NAME...] [--name=NAME] [--disabled] [--] <command> [<args>...] Options: --stdin Supply input files to this chook via stdin. --filter=<filt...
38.627451
79
0.601015
9cade33f66ce27c884971c2cb87a60d28b5e287f
1,095
py
Python
dwave/inspector/utils.py
hotmess47/dwave-inspector
b958ab0c2c943c8d55d610b5903cffd4b88a2dff
[ "Apache-2.0" ]
3
2020-02-27T18:55:39.000Z
2021-09-16T14:37:46.000Z
dwave/inspector/utils.py
hotmess47/dwave-inspector
b958ab0c2c943c8d55d610b5903cffd4b88a2dff
[ "Apache-2.0" ]
46
2020-02-25T10:12:45.000Z
2022-02-23T22:03:52.000Z
dwave/inspector/utils.py
hotmess47/dwave-inspector
b958ab0c2c943c8d55d610b5903cffd4b88a2dff
[ "Apache-2.0" ]
11
2020-02-27T17:14:26.000Z
2022-03-11T10:14:36.000Z
# Copyright 2020 D-Wave Systems 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 wri...
27.375
79
0.702283
9caf4f6433bdc8722933884a9170248eea827c22
3,432
py
Python
MakeConects.py
Gimba/AmberUtils
f10ccc474a4fa4ea3aa2d93f85b99e2bb8b5d3b0
[ "MIT" ]
null
null
null
MakeConects.py
Gimba/AmberUtils
f10ccc474a4fa4ea3aa2d93f85b99e2bb8b5d3b0
[ "MIT" ]
null
null
null
MakeConects.py
Gimba/AmberUtils
f10ccc474a4fa4ea3aa2d93f85b99e2bb8b5d3b0
[ "MIT" ]
null
null
null
#! /usr/bin/env python # Copyright (c) 2015 William Lees # 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, m...
41.349398
128
0.592657
9cb06ce3367f1f618bf6ef97ee8c9a3b4e22a068
481
py
Python
supersalon/professionals/models.py
dogukantufekci/supersalon
6ce552712d9d91fb493043030a09386544ed8b81
[ "BSD-3-Clause" ]
null
null
null
supersalon/professionals/models.py
dogukantufekci/supersalon
6ce552712d9d91fb493043030a09386544ed8b81
[ "BSD-3-Clause" ]
null
null
null
supersalon/professionals/models.py
dogukantufekci/supersalon
6ce552712d9d91fb493043030a09386544ed8b81
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _
30.0625
116
0.704782
9cb27a0b9ec9facd3f25dae465a1a3f58269e3b3
1,882
py
Python
test.py
imjacksonchen/weightTracker
9dfdd9a943cfdc5148a5a15876df2f159b0623cf
[ "MIT" ]
null
null
null
test.py
imjacksonchen/weightTracker
9dfdd9a943cfdc5148a5a15876df2f159b0623cf
[ "MIT" ]
null
null
null
test.py
imjacksonchen/weightTracker
9dfdd9a943cfdc5148a5a15876df2f159b0623cf
[ "MIT" ]
null
null
null
import unittest import datetime from weightTrack import WeightNote # main if __name__ == "__main__": unittest.main()
32.448276
70
0.600956
9cb339f88a19712fdd5c854216d9d0e7bc780ed9
22
py
Python
networking_infoblox/neutron/cmd/eventlet/__init__.py
rav28/networking-infoblox
fce27ca1c2bafb9b0a90aa22388bbc2dbec68294
[ "Apache-2.0" ]
null
null
null
networking_infoblox/neutron/cmd/eventlet/__init__.py
rav28/networking-infoblox
fce27ca1c2bafb9b0a90aa22388bbc2dbec68294
[ "Apache-2.0" ]
1
2021-11-20T19:39:58.000Z
2021-11-20T19:39:58.000Z
networking_infoblox/neutron/cmd/eventlet/__init__.py
rav28/networking-infoblox
fce27ca1c2bafb9b0a90aa22388bbc2dbec68294
[ "Apache-2.0" ]
1
2021-11-20T19:37:55.000Z
2021-11-20T19:37:55.000Z
__author__ = 'hhwang'
11
21
0.727273
9cb3f5cf51b8b20433b3b320d11d55ba5d9140d5
243
py
Python
debauto/utils.py
flaviomilan/python-debauto-br
c776c9094b0fc380797360231d9d1574813b2852
[ "MIT" ]
5
2019-05-02T01:05:28.000Z
2021-12-30T05:30:02.000Z
debauto/utils.py
flaviomilan/python-debauto-br
c776c9094b0fc380797360231d9d1574813b2852
[ "MIT" ]
null
null
null
debauto/utils.py
flaviomilan/python-debauto-br
c776c9094b0fc380797360231d9d1574813b2852
[ "MIT" ]
2
2021-01-01T22:28:32.000Z
2021-01-01T22:33:04.000Z
# -*- encoding: utf-8 -*- import datetime
18.692308
62
0.613169
9cb50604a1507becdac54fdbcfd2fefb61cc2c48
1,105
py
Python
docker-images/pysyft-worker/worker-server.py
linamnt/PySyft
4b60a86c003acbe1967d6c3d611df3d5f2d377ee
[ "Apache-2.0" ]
3
2020-11-24T05:15:57.000Z
2020-12-07T09:52:45.000Z
docker-images/pysyft-worker/worker-server.py
linamnt/PySyft
4b60a86c003acbe1967d6c3d611df3d5f2d377ee
[ "Apache-2.0" ]
2
2020-03-09T09:17:06.000Z
2020-04-09T13:33:12.000Z
docker-images/pysyft-worker/worker-server.py
linamnt/PySyft
4b60a86c003acbe1967d6c3d611df3d5f2d377ee
[ "Apache-2.0" ]
1
2022-03-06T06:22:21.000Z
2022-03-06T06:22:21.000Z
import argparse import torch import syft as sy from syft import WebsocketServerWorker if __name__ == "__main__": hook = sy.TorchHook(torch) args = get_args() kwargs = { "id": args.id, "host": args.host, "port": args.port, "hook": hook, "verbose": args.verbose, ...
25.113636
94
0.59819
9cb7bc1d4808741ef60b11b2ef895ca36d1c2b75
7,687
py
Python
datageneration/dbmake_h264hits.py
utlive/VIDMAP
60656d532ac497c1070f1c94c06807b2d57e2af4
[ "Unlicense" ]
1
2022-02-21T02:45:25.000Z
2022-02-21T02:45:25.000Z
datageneration/dbmake_h264hits.py
utlive/VIDMAP
60656d532ac497c1070f1c94c06807b2d57e2af4
[ "Unlicense" ]
null
null
null
datageneration/dbmake_h264hits.py
utlive/VIDMAP
60656d532ac497c1070f1c94c06807b2d57e2af4
[ "Unlicense" ]
null
null
null
import skimage.io import skvideo.io import os import h5py from sklearn.externals import joblib from sklearn.linear_model import LinearRegression from sklearn.ensemble import RandomForestRegressor from sklearn.metrics import f1_score import scipy.misc import scipy.signal import numpy as np from sporco import util import...
34.013274
162
0.655392
9cb7df62cf935affe51b3c5e32536d465e8754d7
1,126
py
Python
mopidy_mqtt/utils.py
odiroot/mopidy-mq
7cefe3cbc3e3d8f741d887b8370e92ab47c0d493
[ "Apache-2.0" ]
null
null
null
mopidy_mqtt/utils.py
odiroot/mopidy-mq
7cefe3cbc3e3d8f741d887b8370e92ab47c0d493
[ "Apache-2.0" ]
null
null
null
mopidy_mqtt/utils.py
odiroot/mopidy-mq
7cefe3cbc3e3d8f741d887b8370e92ab47c0d493
[ "Apache-2.0" ]
null
null
null
UNKNOWN = u'' def describe_track(track): """ Prepare a short human-readable Track description. track (mopidy.models.Track): Track to source song data from. """ title = track.name or UNKNOWN # Simple/regular case: normal song (e.g. from Spotify). if track.artists: artist = next(it...
24.478261
72
0.617229
9cb959cded414dc66d1ee592c294e6008ab6b58b
11,162
py
Python
SimModel_Python_API/simmodel_swig/Release/SimInternalLoad_Lights_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/Release/SimInternalLoad_Lights_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/Release/SimInternalLoad_Lights_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): _SimInternalLoad_Lights_Default = swig_import_help...
41.805243
139
0.760796
9cb99a5d200c09e89fd5f801960f8cb0d1f949ca
1,925
py
Python
ggpy/cruft/autocode/Test_CanonicalJSON.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/cruft/autocode/Test_CanonicalJSON.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/cruft/autocode/Test_CanonicalJSON.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ generated source for module Test_CanonicalJSON """ # package: org.ggp.base.util.crypto import junit.framework.TestCase import org.ggp.base.util.crypto.CanonicalJSON.CanonicalizationStrategy # # * Unit tests for the CanonicalJSON class, which provides a # * standard way for GGP systems t...
56.617647
105
0.656623
9cbb4a2a9efa65411f4aa36bd270da45be788b3e
3,217
py
Python
python_app/tenhou-bot/mahjong/tile.py
0xsuu/Project-Mahjong
e82edc67651ff93c8ec158b590cd728f28504be9
[ "Apache-2.0" ]
9
2018-06-08T00:09:08.000Z
2021-11-17T11:05:11.000Z
python_app/tenhou-bot/mahjong/tile.py
0xsuu/Project-Mahjong
e82edc67651ff93c8ec158b590cd728f28504be9
[ "Apache-2.0" ]
1
2020-04-25T12:43:26.000Z
2020-04-25T12:43:26.000Z
python_app/tenhou-bot/mahjong/tile.py
0xsuu/Project-Mahjong
e82edc67651ff93c8ec158b590cd728f28504be9
[ "Apache-2.0" ]
2
2019-05-30T07:18:45.000Z
2019-11-05T09:15:13.000Z
# -*- coding: utf-8 -*-
27.973913
84
0.537146
9cbdcc9bd41342ec729fa4605f8c43d39b4c42ad
461
py
Python
python/chrysophylax/buy_and_hold.py
dichodaemon/chrysophylax
834214e7d021643084be910d2b99bd7d18497faa
[ "MIT" ]
null
null
null
python/chrysophylax/buy_and_hold.py
dichodaemon/chrysophylax
834214e7d021643084be910d2b99bd7d18497faa
[ "MIT" ]
null
null
null
python/chrysophylax/buy_and_hold.py
dichodaemon/chrysophylax
834214e7d021643084be910d2b99bd7d18497faa
[ "MIT" ]
null
null
null
import garm.indicators as gari import ham.time_utils as hamt import ohlcv import luigi import strategies as chs from luigi.util import inherits
24.263158
61
0.683297
9cbe11d37a19426b463bd6c4dcaa771e00215206
4,866
py
Python
py2api/output_trans.py
andeaseme/py2api
6d7a051543e9a63dbc14c43d83de643a61022e9e
[ "Apache-2.0" ]
2
2019-08-29T01:35:09.000Z
2020-03-31T18:49:50.000Z
py2api/output_trans.py
andeaseme/py2api
6d7a051543e9a63dbc14c43d83de643a61022e9e
[ "Apache-2.0" ]
1
2019-11-14T00:05:54.000Z
2019-11-14T00:05:54.000Z
py2api/output_trans.py
andeaseme/py2api
6d7a051543e9a63dbc14c43d83de643a61022e9e
[ "Apache-2.0" ]
4
2018-07-19T16:50:11.000Z
2020-06-08T15:27:44.000Z
from py2api.constants import TRANS_NOT_FOUND, _OUTPUT_TRANS, _ATTR, _VALTYPE, _ELSE
41.589744
109
0.480682
9cbf34bd2e80e0ed154936e5a0e7dad3b9986416
1,778
py
Python
imageApi.py
draJiang/Figma-To-Eagle
f003f3fff664a6f3fe64c19462339d66d1129c29
[ "MIT" ]
null
null
null
imageApi.py
draJiang/Figma-To-Eagle
f003f3fff664a6f3fe64c19462339d66d1129c29
[ "MIT" ]
null
null
null
imageApi.py
draJiang/Figma-To-Eagle
f003f3fff664a6f3fe64c19462339d66d1129c29
[ "MIT" ]
null
null
null
import pytesseract import os import time import requests import json from PIL import Image,ImageFont,ImageDraw # with open('config.json') as json_file: config = json.load(json_file) # MAIN_PATH = './imageApi/image/' # FONT FONT = config['font'] def strToImg(text,mainPath): ''' ''' if(mainPath...
23.090909
153
0.614736
9cbf5a147625facf6148e000945ed5b866447e87
804
py
Python
level_11.py
ceafdc/PythonChallenge
fe4f64aabf1d6e672a06785538391dd16a03ad04
[ "MIT" ]
1
2018-01-20T17:58:10.000Z
2018-01-20T17:58:10.000Z
level_11.py
ceafdc/PythonChallenge
fe4f64aabf1d6e672a06785538391dd16a03ad04
[ "MIT" ]
null
null
null
level_11.py
ceafdc/PythonChallenge
fe4f64aabf1d6e672a06785538391dd16a03ad04
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # url: http://www.pythonchallenge.com/pc/return/5808.html import requests import io import PIL.Image url = 'http://www.pythonchallenge.com/pc/return/cave.jpg' un = 'huge' pw = 'file' auth = un, pw req = requests.get(url, auth=auth) img_io = io.BytesIO(req.content) img = PIL.Image.open(img_io) ...
21.157895
58
0.615672
9cc0a99af59fe409930941e63a1459a695a01a4f
2,258
py
Python
scripts/spark.py
Sapphirine/Reducing_Manufacturing_Failures
ee6fd6dba345997431cae30380150e3513cab58e
[ "Apache-2.0" ]
4
2019-04-02T21:20:19.000Z
2021-09-01T06:08:47.000Z
scripts/spark.py
Sapphirine/Reducing_Manufacturing_Failures
ee6fd6dba345997431cae30380150e3513cab58e
[ "Apache-2.0" ]
null
null
null
scripts/spark.py
Sapphirine/Reducing_Manufacturing_Failures
ee6fd6dba345997431cae30380150e3513cab58e
[ "Apache-2.0" ]
3
2019-08-02T12:13:04.000Z
2020-03-24T12:16:33.000Z
# coding: utf-8 # ### Open using Databricks Platform/Py-spark. It holds the code for developing the RandomForest Classifier on the chosen subset of important features. # In[1]: import os, sys import pandas as pd import numpy as np from sklearn.metrics import matthews_corrcoef import pyspark from numpy import array...
27.876543
152
0.767493
9cc2352b704dd6477ce3defdff442d1b06e25a8f
4,997
py
Python
scripts/merge_map_blocks.py
ptrebert/reference-data
7bca069b8995660252d4f601976f9f7abaaf063b
[ "MIT" ]
null
null
null
scripts/merge_map_blocks.py
ptrebert/reference-data
7bca069b8995660252d4f601976f9f7abaaf063b
[ "MIT" ]
null
null
null
scripts/merge_map_blocks.py
ptrebert/reference-data
7bca069b8995660252d4f601976f9f7abaaf063b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding=utf-8 import os as os import sys as sys import io as io import traceback as trb import argparse as argp import gzip as gz import operator as op import functools as fnt def parse_command_line(): """ :return: """ parser = argp.ArgumentParser() parser.add_argument('--...
41.641667
118
0.454673
9cc4b83e0e4850879d9d17a7f64c101491943cb0
4,219
py
Python
stockMarket/getData/models.py
seba-1511/stockMarket
cd571a89bca71f7c821d2b57328123e58e07347e
[ "MIT" ]
10
2016-02-20T04:17:37.000Z
2021-06-26T12:14:01.000Z
stockMarket/getData/models.py
seba-1511/stockMarket
cd571a89bca71f7c821d2b57328123e58e07347e
[ "MIT" ]
null
null
null
stockMarket/getData/models.py
seba-1511/stockMarket
cd571a89bca71f7c821d2b57328123e58e07347e
[ "MIT" ]
4
2017-05-25T06:16:48.000Z
2021-12-03T07:45:44.000Z
#-*- coding: utf-8 -*- from django.db import models # Create your models here.
26.534591
81
0.651813
9cc815b9d439805f37f2bd58858a3f7458d191de
8,155
py
Python
main.py
boxanm/CityRunHeatMaps
8df90b86edab7e530c463000067f569f8e657ccf
[ "MIT" ]
1
2019-09-14T06:58:36.000Z
2019-09-14T06:58:36.000Z
main.py
boxanm/CityRunHeatMaps
8df90b86edab7e530c463000067f569f8e657ccf
[ "MIT" ]
null
null
null
main.py
boxanm/CityRunHeatMaps
8df90b86edab7e530c463000067f569f8e657ccf
[ "MIT" ]
null
null
null
import os.path import datetime import gpxpy import osmnx import matplotlib.pyplot as plt import matplotlib.cm as cm import numpy as np import functions as functions from collections import Counter, OrderedDict import time import math import argparse from customClasses import Cell parser = argparse.ArgumentParser() pa...
36.900452
225
0.643164
9cc8a27b231af691d3fbf8c4702b4f91f01e88a2
6,728
py
Python
scripts/ftp_mar_data.py
SmithB/SMBcorr
7c35cf8383058986fd82b28beab3c5580f9f8667
[ "MIT" ]
null
null
null
scripts/ftp_mar_data.py
SmithB/SMBcorr
7c35cf8383058986fd82b28beab3c5580f9f8667
[ "MIT" ]
null
null
null
scripts/ftp_mar_data.py
SmithB/SMBcorr
7c35cf8383058986fd82b28beab3c5580f9f8667
[ "MIT" ]
1
2020-08-06T19:48:52.000Z
2020-08-06T19:48:52.000Z
#!/usr/bin/env python u""" ftp_mar_data.py Written by Tyler Sutterley (05/2020) Syncs MAR regional climate outputs for a given ftp url ftp://ftp.climato.be/fettweis CALLING SEQUENCE: python ftp_mar_data.py --directory=<path> <ftp://url> INPUTS: full ftp url COMMAND LINE OPTIONS: --help: list the com...
36.765027
80
0.640012
9ccb29cee770a8f04a2031d1320f314942e54690
13,400
py
Python
sondages/sondages_wiki_scrap.py
verycourt/Elections
b954c2bb23422e85d10074d41f7d2adc537a1766
[ "MIT" ]
null
null
null
sondages/sondages_wiki_scrap.py
verycourt/Elections
b954c2bb23422e85d10074d41f7d2adc537a1766
[ "MIT" ]
null
null
null
sondages/sondages_wiki_scrap.py
verycourt/Elections
b954c2bb23422e85d10074d41f7d2adc537a1766
[ "MIT" ]
null
null
null
#!/usr/bin/python # encoding=utf8 import sys reload(sys) sys.setdefaultencoding('utf8') import requests from bs4 import BeautifulSoup import numpy as np import pandas as pd import warnings import dateparser import datetime import time import json from json import encoder encoder.FLOAT_REPR = lambda o: format(o, '.1f'...
35.356201
175
0.589552
9ccc9caa284546838f6e690c84b3287d39799b8f
7,645
py
Python
RecoMuon/MuonIsolationProducers/test/isoTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoMuon/MuonIsolationProducers/test/isoTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoMuon/MuonIsolationProducers/test/isoTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
# The following comments couldn't be translated into the new config version: # # keep only muon-related info here # import FWCore.ParameterSet.Config as cms process = cms.Process("MISO") process.load("Configuration.EventContent.EventContent_cff") # service = MessageLogger { # untracked vstring destination...
71.448598
147
0.780379
9cce74ca65c4a70248a44251c279dedff70a0c3a
220
py
Python
app/egg/__init__.py
MultyXu/Islandr
5f965638d0cda68e76f63b0625b2411029e90c2d
[ "MIT" ]
2
2019-06-05T01:36:53.000Z
2019-06-05T01:37:12.000Z
app/egg/__init__.py
dingding0606/Islandr
dd2277a8a7ceb002af3b28045133797fa9ffed9d
[ "MIT" ]
null
null
null
app/egg/__init__.py
dingding0606/Islandr
dd2277a8a7ceb002af3b28045133797fa9ffed9d
[ "MIT" ]
1
2019-08-28T20:49:22.000Z
2019-08-28T20:49:22.000Z
''' @Description: Easter Egg @Author: Tianyi Lu @Date: 2019-08-10 10:30:29 @LastEditors: Tianyi Lu @LastEditTime: 2019-08-10 10:36:24 ''' from flask import Blueprint egg = Blueprint('egg', __name__) from . import views
18.333333
34
0.722727
9ccf4e8bda92837d4e656009c423fc5151a4c436
1,024
py
Python
database/repositories/ModelBlobRepository.py
roblkenn/EECS441-Backend
96fa0ca6775c13426dacdcbe1da02a8fa6e887ed
[ "RSA-MD" ]
null
null
null
database/repositories/ModelBlobRepository.py
roblkenn/EECS441-Backend
96fa0ca6775c13426dacdcbe1da02a8fa6e887ed
[ "RSA-MD" ]
null
null
null
database/repositories/ModelBlobRepository.py
roblkenn/EECS441-Backend
96fa0ca6775c13426dacdcbe1da02a8fa6e887ed
[ "RSA-MD" ]
null
null
null
from azure.storage.blob.baseblobservice import BaseBlobService from azure.storage.blob.blockblobservice import BlockBlobService from database.models.Blob import Blob
48.761905
186
0.783203
9cd03be08a58b5db01aa5e339f8033f2b9c3bad6
1,229
py
Python
day03/puzzle2b.py
techrabbit58/AdventOfCode2020
9e0f4a633f50f5dd48186d38fe58ad8d40dff387
[ "Unlicense" ]
1
2020-12-15T22:27:38.000Z
2020-12-15T22:27:38.000Z
day03/puzzle2b.py
techrabbit58/AdventOfCode2020
9e0f4a633f50f5dd48186d38fe58ad8d40dff387
[ "Unlicense" ]
null
null
null
day03/puzzle2b.py
techrabbit58/AdventOfCode2020
9e0f4a633f50f5dd48186d38fe58ad8d40dff387
[ "Unlicense" ]
null
null
null
""" Advent Of Code 2020. Day 03. Puzzle 2. 2nd approach, just to see if this may be faster. It turns out, the first approach had been at least 3 times faster. This second approach is slower. Hummm! """ import time input_file = 'day03.txt' TREE = '#' SLOPES = [(1, 1), (3, 1), (5, 1), (7, 1), (1, 2)] if __name__ ...
25.081633
76
0.598047
9cd0d98d0b63b4259d4d0c7661566ba636ce4420
20,644
py
Python
src/mvdef/import_util.py
lmmx/mvdef
c1e5002fbbcb3382025f2c6410767fee3ffe2500
[ "MIT" ]
null
null
null
src/mvdef/import_util.py
lmmx/mvdef
c1e5002fbbcb3382025f2c6410767fee3ffe2500
[ "MIT" ]
42
2019-12-31T12:22:10.000Z
2021-07-11T10:57:06.000Z
src/mvdef/import_util.py
lmmx/mvdef
c1e5002fbbcb3382025f2c6410767fee3ffe2500
[ "MIT" ]
null
null
null
import ast from ast import Import as IType, ImportFrom as IFType from astor import to_source from asttokens import ASTTokens from .colours import colour_str as colour from os import linesep as nl from sys import stderr __all__ = [ "get_import_stmt_str", "multilinify_import_stmt_str", "colour_imp_stmt", ...
50.722359
87
0.653749
9cd18766a6cefc07e6ae4aced26c08d612cd472e
384
py
Python
tests/bench/test_yahoo_nyse_VRS.py
jmabry/pyaf
afbc15a851a2445a7824bf255af612dc429265af
[ "BSD-3-Clause" ]
377
2016-10-13T20:52:44.000Z
2022-03-29T18:04:14.000Z
tests/bench/test_yahoo_nyse_VRS.py
jmabry/pyaf
afbc15a851a2445a7824bf255af612dc429265af
[ "BSD-3-Clause" ]
160
2016-10-13T16:11:53.000Z
2022-03-28T04:21:34.000Z
tests/bench/test_yahoo_nyse_VRS.py
jmabry/pyaf
afbc15a851a2445a7824bf255af612dc429265af
[ "BSD-3-Clause" ]
63
2017-03-09T14:51:18.000Z
2022-03-27T20:52:57.000Z
import pyaf.Bench.TS_datasets as tsds import pyaf.Bench.YahooStocks as ys import warnings symbol_lists = tsds.get_yahoo_symbol_lists(); y_keys = sorted(symbol_lists.keys()) print(y_keys) k = "nysecomp" tester = ys.cYahoo_Tester(tsds.load_yahoo_stock_prices(k) , "YAHOO_STOCKS_" + k); with warnings.catch_warnings(): ...
29.538462
81
0.770833
9cd50d98408fbc789fcaead7d9f721fe9a6e105c
1,376
py
Python
fabric_utils/ci.py
selfpub-org/fabric-utils
ee5793d242a9525df8fca45a67f0042002f4a6ab
[ "BSD-3-Clause" ]
null
null
null
fabric_utils/ci.py
selfpub-org/fabric-utils
ee5793d242a9525df8fca45a67f0042002f4a6ab
[ "BSD-3-Clause" ]
1
2018-05-31T13:41:38.000Z
2018-05-31T13:41:38.000Z
fabric_utils/ci.py
selfpub-org/fabric-utils
ee5793d242a9525df8fca45a67f0042002f4a6ab
[ "BSD-3-Clause" ]
1
2020-11-10T16:20:06.000Z
2020-11-10T16:20:06.000Z
import os from functools import wraps from fabric.api import settings, warn
30.577778
85
0.62282
9cd79b368d2d4cdb843e42b4dcffedf36436d6a1
2,331
py
Python
sandy/sections/mf35.py
AitorBengoechea/sandy
c55e4ee7b593389947a52e1adb85282dcb73dda3
[ "MIT" ]
null
null
null
sandy/sections/mf35.py
AitorBengoechea/sandy
c55e4ee7b593389947a52e1adb85282dcb73dda3
[ "MIT" ]
null
null
null
sandy/sections/mf35.py
AitorBengoechea/sandy
c55e4ee7b593389947a52e1adb85282dcb73dda3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ This module contains a single public function: * `read_mf35` Function `read_mf35` reads a MF35/MT section from a string and produces a content object with a dictionary-like structure. The content object can be accessed using most of the keywords specified in the ENDF6 manual for this s...
34.279412
108
0.592879
9cd80afed190fb3c356c200fcfd34546c3bed147
29,748
py
Python
src/pycropml/transpiler/antlr_py/parse.py
brichet/PyCrop2ML
7177996f72a8d95fdbabb772a16f1fd87b1d033e
[ "MIT" ]
5
2020-06-21T18:58:04.000Z
2022-01-29T21:32:28.000Z
src/pycropml/transpiler/antlr_py/parse.py
brichet/PyCrop2ML
7177996f72a8d95fdbabb772a16f1fd87b1d033e
[ "MIT" ]
27
2018-12-04T15:35:44.000Z
2022-03-11T08:25:03.000Z
src/pycropml/transpiler/antlr_py/parse.py
brichet/PyCrop2ML
7177996f72a8d95fdbabb772a16f1fd87b1d033e
[ "MIT" ]
7
2019-04-20T02:25:22.000Z
2021-11-04T07:52:35.000Z
import pycropml.transpiler.antlr_py.grammars from pycropml.transpiler.antlr_py.grammars.CSharpLexer import CSharpLexer from pycropml.transpiler.antlr_py.grammars.CSharpParser import CSharpParser from pycropml.transpiler.antlr_py.grammars.Fortran90Lexer import Fortran90Lexer from pycropml.transpiler.antlr_py.grammars.F...
35.797834
128
0.624849
9cd8ab1b3376a9a6e91e80aece04a51923c049ca
10,351
py
Python
nrgpy/convert/convert_rld.py
kyarazhan/nrgpy
6a81af79ee4f666892d99a5f0713495bff89214b
[ "MIT" ]
null
null
null
nrgpy/convert/convert_rld.py
kyarazhan/nrgpy
6a81af79ee4f666892d99a5f0713495bff89214b
[ "MIT" ]
null
null
null
nrgpy/convert/convert_rld.py
kyarazhan/nrgpy
6a81af79ee4f666892d99a5f0713495bff89214b
[ "MIT" ]
null
null
null
try: from nrgpy import logger except ImportError: pass from datetime import datetime import os import subprocess import time import traceback from nrgpy.api.convert import nrg_api_convert from nrgpy.utils.utilities import check_platform, windows_folder_path, affirm_directory, count_files nrg_convert_api = nr...
35.088136
180
0.562651
9cd8b09c53d8ecf1b2984937b2ed05ef619c8318
23,127
py
Python
gitea_api/models/timeline_comment.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
1
2022-02-09T23:43:26.000Z
2022-02-09T23:43:26.000Z
gitea_api/models/timeline_comment.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
null
null
null
gitea_api/models/timeline_comment.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
null
null
null
# coding: utf-8 """ Gitea API. This documentation describes the Gitea API. # noqa: E501 OpenAPI spec version: 1.16.7 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six def to_str(self): """Returns the string repre...
27.434164
519
0.598564
9cd8b67231efc3277946220bc2baea81f196997d
686
py
Python
Blasting/Start.py
Erosion2020/SpaceCore
ba81bf1913461a200f9e88acb7d0d91d7deda8e8
[ "MIT" ]
4
2022-03-22T08:21:52.000Z
2022-03-23T12:58:17.000Z
Blasting/Start.py
Erosion2020/SpaceCore
ba81bf1913461a200f9e88acb7d0d91d7deda8e8
[ "MIT" ]
null
null
null
Blasting/Start.py
Erosion2020/SpaceCore
ba81bf1913461a200f9e88acb7d0d91d7deda8e8
[ "MIT" ]
null
null
null
import Blasting name = "Blasting" input_message = f"[{name} #]"
23.655172
86
0.41691
9cd8dd0d174f6ca548c62ed627de0eb3a16baa55
379
py
Python
events/migrations/0040_event_team_size.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
166
2019-05-16T23:46:08.000Z
2022-03-31T05:20:23.000Z
events/migrations/0040_event_team_size.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
92
2020-01-18T22:51:53.000Z
2022-03-12T01:23:57.000Z
events/migrations/0040_event_team_size.py
VadVergasov/clist
4afcdfe88250d224043b28efa511749347cec71c
[ "Apache-2.0" ]
23
2020-02-09T17:38:43.000Z
2021-12-09T14:39:07.000Z
# Generated by Django 2.2.10 on 2020-04-03 19:10 from django.db import migrations, models
19.947368
49
0.591029
9cd9c5db682a634d72e6f3ad900937179bb19d00
1,303
py
Python
src/origin_ledger_sdk/batch.py
project-origin/ledger-sdk-python
46212e17e19f1d534c1717d3f3714f791731adea
[ "MIT" ]
null
null
null
src/origin_ledger_sdk/batch.py
project-origin/ledger-sdk-python
46212e17e19f1d534c1717d3f3714f791731adea
[ "MIT" ]
null
null
null
src/origin_ledger_sdk/batch.py
project-origin/ledger-sdk-python
46212e17e19f1d534c1717d3f3714f791731adea
[ "MIT" ]
null
null
null
from enum import Enum from typing import List from sawtooth_sdk.protobuf.batch_pb2 import BatchHeader from sawtooth_sdk.protobuf.batch_pb2 import Batch as SignedBatch from .requests import AbstractRequest from .requests.helpers import get_signer
30.302326
101
0.707598
9cda6fa4db3a1a7b7de2d18f55af0184ab0c8ffc
1,290
py
Python
pybud/tests/search_algos.py
Tantan4321/PyBud
7f9ac026f0b04296ffaa7fad9f905c1374ba7008
[ "MIT" ]
11
2020-01-23T08:30:15.000Z
2022-02-11T04:12:30.000Z
pybud/tests/search_algos.py
Tantan4321/PyBud
7f9ac026f0b04296ffaa7fad9f905c1374ba7008
[ "MIT" ]
5
2020-02-15T16:44:24.000Z
2022-01-13T02:07:48.000Z
pybud/tests/search_algos.py
Tantan4321/PyBud
7f9ac026f0b04296ffaa7fad9f905c1374ba7008
[ "MIT" ]
3
2020-02-15T16:30:02.000Z
2020-08-19T06:58:35.000Z
# Implemented from: https://stackoverflow.com/questions/9501337/binary-search-algorithm-in-python # Implemented from: https://pythoninwonderland.wordpress.com/2017/03/18/how-to-implement-breadth-first-search-in-python/
30
120
0.599225
9cdaf7e31350059d27162184ea87fbd63d36f82d
409
py
Python
dust/exe.py
tanico-rikudo/raspi4
ead6064ee5eaf0fb3459487047903aeb031189b7
[ "MIT" ]
null
null
null
dust/exe.py
tanico-rikudo/raspi4
ead6064ee5eaf0fb3459487047903aeb031189b7
[ "MIT" ]
null
null
null
dust/exe.py
tanico-rikudo/raspi4
ead6064ee5eaf0fb3459487047903aeb031189b7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import RPi.GPIO as GPIO import time from datetime import datetime as dt import logging import json import sys from particle_counter import ParticleCounter # Make instance device001 = ParticleCounter(30) # Set signal pin device001.set_pin_number(PIN=14) # Excute devic...
16.36
45
0.753056
9cdb60e1aaf4a83afb78be721e50868f4655f336
7,548
py
Python
localization/pipeline/InstLoc.py
cameronwp/MMGIS
5e6277bd4f0c8ff77cd12dce51d41abffe0ac394
[ "Apache-2.0", "Unlicense" ]
63
2019-03-28T18:46:55.000Z
2022-03-25T02:49:24.000Z
localization/pipeline/InstLoc.py
cameronwp/MMGIS
5e6277bd4f0c8ff77cd12dce51d41abffe0ac394
[ "Apache-2.0", "Unlicense" ]
75
2019-10-14T08:54:18.000Z
2022-03-30T02:33:29.000Z
localization/pipeline/InstLoc.py
cameronwp/MMGIS
5e6277bd4f0c8ff77cd12dce51d41abffe0ac394
[ "Apache-2.0", "Unlicense" ]
15
2019-12-15T11:26:01.000Z
2022-03-25T02:49:27.000Z
#! /usr/local/msl/bin/python #****************************************************************************** # InstLoc.py <image.IMG/VIC> # # Project: Instrument Loco String for a given file # Purpose: Localizations stored in python dictionary # # Author: Hallie Gengl # # Updated: 8/24/1...
36.640777
96
0.631028
9cdba0c221d3aaee83d43e1867607d88a6d826b5
4,758
py
Python
bdpy/fig/fig.py
kencan7749/bdpy
75b909742aa4767f09823cc98a588c41848292a9
[ "MIT" ]
null
null
null
bdpy/fig/fig.py
kencan7749/bdpy
75b909742aa4767f09823cc98a588c41848292a9
[ "MIT" ]
null
null
null
bdpy/fig/fig.py
kencan7749/bdpy
75b909742aa4767f09823cc98a588c41848292a9
[ "MIT" ]
null
null
null
'''Figure module This file is a part of BdPy. Functions --------- makefigure Create a figure box_off Remove upper and right axes draw_footnote Draw footnote on a figure ''' __all__ = [ 'box_off', 'draw_footnote', 'make_violinplots', 'makefigure', ] import matplotlib.pyplot as plt impo...
29.924528
170
0.579235
9cdd5ffeb6cda836bfae0ca4a1ca1728228423f7
6,875
py
Python
brain/mastermind.py
pabvald/chatbot
17cdbce4c51eebb27dd0aa090fb9634868eb3e64
[ "MIT" ]
null
null
null
brain/mastermind.py
pabvald/chatbot
17cdbce4c51eebb27dd0aa090fb9634868eb3e64
[ "MIT" ]
null
null
null
brain/mastermind.py
pabvald/chatbot
17cdbce4c51eebb27dd0aa090fb9634868eb3e64
[ "MIT" ]
1
2020-10-29T13:38:26.000Z
2020-10-29T13:38:26.000Z
from app import app, nlp from brain import ACTIONS, LANGUAGES from dateparser import parse from datetime import datetime, date from services import UserService, IntentService, AppointmentService from utils import get_content
39.285714
112
0.620945
9cdd6d64010e9c068a5d368c4a2af2b0acb6a55f
628
py
Python
isValidParentheses.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
isValidParentheses.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
isValidParentheses.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
test = Solution() print test.isValidParentheses("(A)[]{}")
33.052632
65
0.488854
9cde9f8cf5534efc1b5cec7d28cf00865e25ee25
113
py
Python
fpakman/core/resource.py
vinifmor/fpakman
a719991b8f7ecf366d44fdf074f5950767bdf121
[ "Zlib" ]
39
2019-06-15T08:27:12.000Z
2021-11-08T03:33:01.000Z
fpakman/core/resource.py
vinifmor/fpakman
a719991b8f7ecf366d44fdf074f5950767bdf121
[ "Zlib" ]
10
2019-06-16T12:16:19.000Z
2020-06-21T18:49:05.000Z
fpakman/core/resource.py
vinifmor/fpakman
a719991b8f7ecf366d44fdf074f5950767bdf121
[ "Zlib" ]
3
2019-08-01T12:38:46.000Z
2020-04-30T20:40:23.000Z
from fpakman import ROOT_DIR
16.142857
51
0.752212
9ce11bf87b067840337b0d13348e056b624caea2
602
py
Python
studygroups/migrations/0122_auto_20190710_0605.py
p2pu/learning-circles
ccd94208ec18082f8fda6d7f21eacdd71bad6023
[ "MIT" ]
10
2016-05-03T20:41:25.000Z
2021-09-17T18:42:01.000Z
studygroups/migrations/0122_auto_20190710_0605.py
p2pu/learning-circles
ccd94208ec18082f8fda6d7f21eacdd71bad6023
[ "MIT" ]
655
2016-05-04T19:00:35.000Z
2022-03-28T13:09:20.000Z
studygroups/migrations/0122_auto_20190710_0605.py
p2pu/learning-circles
ccd94208ec18082f8fda6d7f21eacdd71bad6023
[ "MIT" ]
8
2016-05-06T10:24:27.000Z
2020-10-21T00:56:59.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2019-07-10 06:05 from __future__ import unicode_literals from django.db import migrations, models
24.08
52
0.619601
9ce1c5f0534fa4d2972cf58a4d700be2541a140d
244
py
Python
rllib/contrib/bandits/envs/__init__.py
firebolt55439/ray
215300b070628c06f0106906fc6c03bd70ebf140
[ "Apache-2.0" ]
21,382
2016-09-26T23:12:52.000Z
2022-03-31T21:47:45.000Z
rllib/contrib/bandits/envs/__init__.py
firebolt55439/ray
215300b070628c06f0106906fc6c03bd70ebf140
[ "Apache-2.0" ]
19,689
2016-09-17T08:21:25.000Z
2022-03-31T23:59:30.000Z
rllib/contrib/bandits/envs/__init__.py
firebolt55439/ray
215300b070628c06f0106906fc6c03bd70ebf140
[ "Apache-2.0" ]
4,114
2016-09-23T18:54:01.000Z
2022-03-31T15:07:32.000Z
from ray.rllib.contrib.bandits.envs.discrete import LinearDiscreteEnv, \ WheelBanditEnv from ray.rllib.contrib.bandits.envs.parametric import ParametricItemRecoEnv __all__ = ["LinearDiscreteEnv", "WheelBanditEnv", "ParametricItemRecoEnv"]
40.666667
75
0.82377
9ce27cc5df514eb99788d3adf40ed089c2be01cc
3,770
py
Python
cell.py
reachtarunhere/S-LSTM-PyTorch
72d5ffd0e0b3ac4670d1fd766232253f34b4afa3
[ "MIT" ]
5
2018-06-18T17:27:54.000Z
2020-06-15T15:24:06.000Z
cell.py
reachtarunhere/S-LSTM-PyTorch
72d5ffd0e0b3ac4670d1fd766232253f34b4afa3
[ "MIT" ]
null
null
null
cell.py
reachtarunhere/S-LSTM-PyTorch
72d5ffd0e0b3ac4670d1fd766232253f34b4afa3
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F
33.362832
78
0.644032
9ce50f572810c32e69e17aa3bf4ed997493d6ef2
94
py
Python
python/comparatist/gcm/jlloop.py
tkf/comparatist
44f30077857fc96cb77539f3fe0a7e8112f86c82
[ "MIT" ]
null
null
null
python/comparatist/gcm/jlloop.py
tkf/comparatist
44f30077857fc96cb77539f3fe0a7e8112f86c82
[ "MIT" ]
null
null
null
python/comparatist/gcm/jlloop.py
tkf/comparatist
44f30077857fc96cb77539f3fe0a7e8112f86c82
[ "MIT" ]
null
null
null
from ..utils.jl import make_prepare prepare = make_prepare("Comparatist.Simulators.gcm.loop")
31.333333
57
0.808511
9ce55c50d74882644904a8b52bbb361eba5b3fff
1,268
py
Python
016_3Sum_Closest.py
adwardlee/leetcode_solutions
f386869161181e153e29165d8fff06492bb192f3
[ "MIT" ]
null
null
null
016_3Sum_Closest.py
adwardlee/leetcode_solutions
f386869161181e153e29165d8fff06492bb192f3
[ "MIT" ]
null
null
null
016_3Sum_Closest.py
adwardlee/leetcode_solutions
f386869161181e153e29165d8fff06492bb192f3
[ "MIT" ]
null
null
null
''' Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. Example: Given array nums = [-1, 2, 1, -4], and target = 1. The sum that is closest to...
34.27027
226
0.479495
9ce645cd6acd7ce6fe1f285499eaccb37cd50da8
7,279
py
Python
generated-libraries/python/netapp/flexcache/flexcache_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/flexcache/flexcache_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/flexcache/flexcache_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
from netapp.netapp_object import NetAppObject
31.647826
99
0.583322
9ce68b411a96e5e2c7a762c40c8ad6b8d2a605b8
5,974
py
Python
corpus2graph/word_processor.py
zzcoolj/corpus2graph
0d39f5f845b70a0f42000e3afc507eb7b4b5679c
[ "MIT" ]
27
2018-06-06T16:30:45.000Z
2022-02-10T15:28:47.000Z
corpus2graph/word_processor.py
zzcoolj/corpus2graph
0d39f5f845b70a0f42000e3afc507eb7b4b5679c
[ "MIT" ]
2
2019-05-01T15:24:12.000Z
2019-08-20T20:17:19.000Z
corpus2graph/word_processor.py
zzcoolj/corpus2graph
0d39f5f845b70a0f42000e3afc507eb7b4b5679c
[ "MIT" ]
3
2019-11-10T15:39:11.000Z
2020-10-16T12:40:06.000Z
import string import warnings import re from . import util import spacy
38.541935
133
0.600603
9ce7bfb4241f59939bdcb06aabfa03be7b8bc555
4,688
py
Python
gaussian/__init__.py
mattaustin/gaussian
c22ab36fd83e5f0b24587861ef34b872e268c97e
[ "Apache-2.0" ]
1
2017-06-04T23:56:54.000Z
2017-06-04T23:56:54.000Z
gaussian/__init__.py
mattaustin/gaussian
c22ab36fd83e5f0b24587861ef34b872e268c97e
[ "Apache-2.0" ]
null
null
null
gaussian/__init__.py
mattaustin/gaussian
c22ab36fd83e5f0b24587861ef34b872e268c97e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014 Matt Austin # 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 ...
32.331034
79
0.62884
9ce7d60aa1fddaa6c915b248970c026594e52b7a
614
py
Python
Exercise_07_RGB_LED.py
NaimFuad/hibiscus-sense-micropython-1
7475b6099315b4a12ab00f7ae5d62a2eb8ce5e0c
[ "MIT" ]
3
2021-03-04T08:20:24.000Z
2022-02-11T10:04:03.000Z
Exercise_07_RGB_LED.py
NaimFuad/hibiscus-sense-micropython-1
7475b6099315b4a12ab00f7ae5d62a2eb8ce5e0c
[ "MIT" ]
null
null
null
Exercise_07_RGB_LED.py
NaimFuad/hibiscus-sense-micropython-1
7475b6099315b4a12ab00f7ae5d62a2eb8ce5e0c
[ "MIT" ]
2
2021-02-26T10:15:57.000Z
2021-03-04T08:20:36.000Z
# Hibiscus Sense - Exercise 07 RGB LED # # There is 1x RGB LED. # This RGB LED is connected to GPIO16 and integrated with WS2812. # WS2812 is an LED controller, which use single-wire control protocol to control the LEDs. from machine import Pin from neopixel import NeoPixel from time import sleep p...
27.909091
93
0.664495
9cea6c24623ad5445462ff6b79263e46ed1d41ac
4,082
py
Python
tests/k8s/k8s_test_utilities.py
shubav/sonic-mgmt
0ff71b907a55489bb4ed7d17b1682380fd459bf2
[ "Apache-2.0" ]
132
2016-10-19T12:34:44.000Z
2022-03-16T09:00:39.000Z
tests/k8s/k8s_test_utilities.py
shubav/sonic-mgmt
0ff71b907a55489bb4ed7d17b1682380fd459bf2
[ "Apache-2.0" ]
3,152
2016-09-21T23:05:58.000Z
2022-03-31T23:29:08.000Z
tests/k8s/k8s_test_utilities.py
shubav/sonic-mgmt
0ff71b907a55489bb4ed7d17b1682380fd459bf2
[ "Apache-2.0" ]
563
2016-09-20T01:00:15.000Z
2022-03-31T22:43:54.000Z
import logging import time from tests.common.helpers.assertions import pytest_assert logger = logging.getLogger(__name__) def join_master(duthost, master_vip): """ Joins DUT to Kubernetes master Args: duthost: DUT host object master_vip: VIP of high availability Kubernetes master If...
37.449541
133
0.706516
9cea6c5884c806c3032a4309da7131c515de5453
2,467
py
Python
registryServer/apps/account/api.py
HumanDynamics/openPDS-RegistryServer
fe88f513a93c116f6bd4e2d81b29376a45f16249
[ "MIT" ]
7
2015-01-05T17:25:15.000Z
2019-06-07T05:19:53.000Z
registryServer/apps/account/api.py
HumanDynamics/openPDS-RegistryServer
fe88f513a93c116f6bd4e2d81b29376a45f16249
[ "MIT" ]
1
2015-11-10T17:16:01.000Z
2015-11-18T16:09:43.000Z
registryServer/apps/account/api.py
HumanDynamics/openPDS-RegistryServer
fe88f513a93c116f6bd4e2d81b29376a45f16249
[ "MIT" ]
13
2015-01-05T17:25:20.000Z
2021-12-16T12:43:52.000Z
from django.contrib.auth.models import User from apps.account.models import Profile, Group from tastypie import fields from tastypie.authorization import DjangoAuthorization, Authorization from tastypie.resources import ModelResource, ALL, ALL_WITH_RELATIONS from tastypie.exceptions import BadRequest from django.db imp...
39.15873
91
0.691934
9ceb3e1ccabd70fddbc1a71f663a553a5c834729
6,253
bzl
Python
rules/workspace/def.bzl
viovanov/kubecf
a8e1a1c4775b9cab072c286a99ec6140bc867eff
[ "Apache-2.0" ]
null
null
null
rules/workspace/def.bzl
viovanov/kubecf
a8e1a1c4775b9cab072c286a99ec6140bc867eff
[ "Apache-2.0" ]
null
null
null
rules/workspace/def.bzl
viovanov/kubecf
a8e1a1c4775b9cab072c286a99ec6140bc867eff
[ "Apache-2.0" ]
1
2020-08-18T09:10:43.000Z
2020-08-18T09:10:43.000Z
"""An extension for workspace rules.""" load("@bazel_skylib//lib:paths.bzl", "paths") load("//:dependencies.bzl", "dependencies") _workspace_dependencies = repository_rule(_workspace_dependencies_impl) _WORKSPACE_DEPENDENCIES_REPOSITORY_NAME = "workspace_dependencies" def workspace_dependencies(): """A macro fo...
34.932961
98
0.621142
9ceb4adfae2836973eb415f54317fb6036b876ab
2,010
py
Python
tests/surftrace_test.py
aliyun/surftrace
c3e7856d69c1f73cec5bb2b0f4d41a35b2ff63b1
[ "MIT" ]
32
2021-12-27T11:54:37.000Z
2022-03-25T05:14:51.000Z
tests/surftrace_test.py
aliyun/surftrace
c3e7856d69c1f73cec5bb2b0f4d41a35b2ff63b1
[ "MIT" ]
8
2022-01-07T02:29:05.000Z
2022-03-02T08:16:09.000Z
tests/surftrace_test.py
aliyun/surftrace
c3e7856d69c1f73cec5bb2b0f4d41a35b2ff63b1
[ "MIT" ]
10
2022-01-05T11:41:14.000Z
2022-03-22T08:46:00.000Z
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name surftrace_test.py Description : Author : liaozhaoyan date 2022/2/27 ------------------------------------------------- Change Activity: 2022/2/27: ---------------------------------...
28.714286
225
0.571144
9ced7b3c51ed7b3bb5bdd6b331b57b879e9a8dab
834
py
Python
backend/secure_backend/models.py
CS-twop/Secure-django-reacthook
3d7b3e65c7e1f1e015dcd3ddf2838acdab7cab17
[ "MIT" ]
null
null
null
backend/secure_backend/models.py
CS-twop/Secure-django-reacthook
3d7b3e65c7e1f1e015dcd3ddf2838acdab7cab17
[ "MIT" ]
null
null
null
backend/secure_backend/models.py
CS-twop/Secure-django-reacthook
3d7b3e65c7e1f1e015dcd3ddf2838acdab7cab17
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User
36.26087
88
0.721823
9ceda4c07b42ed0db1090dd1d2bfcc6805e799d2
560
py
Python
tests/test_database.py
horsewithnoname1985/packit-app
afe83472f092ff1447ae8ae56c99d78792d5bc59
[ "MIT" ]
null
null
null
tests/test_database.py
horsewithnoname1985/packit-app
afe83472f092ff1447ae8ae56c99d78792d5bc59
[ "MIT" ]
null
null
null
tests/test_database.py
horsewithnoname1985/packit-app
afe83472f092ff1447ae8ae56c99d78792d5bc59
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `database` module.""" import pytest import os import sqlite3 from packit_app.database import Database
23.333333
60
0.725
9ceeadf5aa7e878adeab42926d0d1a41ef275e04
3,943
py
Python
SS-GCNs/gnns/gin_net.py
TAMU-VITA/SS-GCNs
644f8a5f3b507be6d59be02747be406fabd8b8f9
[ "MIT" ]
1
2021-06-07T15:18:10.000Z
2021-06-07T15:18:10.000Z
SS-GCNs/gnns/gin_net.py
TAMU-VITA/SS-GCNs
644f8a5f3b507be6d59be02747be406fabd8b8f9
[ "MIT" ]
null
null
null
SS-GCNs/gnns/gin_net.py
TAMU-VITA/SS-GCNs
644f8a5f3b507be6d59be02747be406fabd8b8f9
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F import dgl from dgl.nn.pytorch.glob import SumPooling, AvgPooling, MaxPooling """ GIN: Graph Isomorphism Networks HOW POWERFUL ARE GRAPH NEURAL NETWORKS? (Keyulu Xu, Weihua Hu, Jure Leskovec and Stefanie Jegelka, ICLR 2019) https://arxiv.o...
33.700855
113
0.584834
9cef8673569c093f97353e11647a929d7f02a79c
96
py
Python
venv/lib/python3.8/site-packages/clikit/api/command/command_collection.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/clikit/api/command/command_collection.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/clikit/api/command/command_collection.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/0e/03/a2/8516ce170f58c40a340c994a5cb76273f276d7ad1ea824422b51c9e45c
96
96
0.895833
9cf04e104c24bd87afecb5f1f99c9dd473ed1508
5,080
py
Python
common/py_vulcanize/third_party/rjsmin/_setup/py2/data.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
common/py_vulcanize/third_party/rjsmin/_setup/py2/data.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
common/py_vulcanize/third_party/rjsmin/_setup/py2/data.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
698
2015-06-02T19:18:35.000Z
2022-03-29T16:57:15.000Z
# -*- coding: ascii -*- # # Copyright 2007, 2008, 2009, 2010, 2011 # Andr\xe9 Malo or his licensors, as applicable # # 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.or...
30.60241
75
0.598622
9cf45647d9d8c0126932e004da932d00ac6a9682
189
py
Python
payments/urls.py
caocmai/maker
bec025c3301a21e75638aca28576c724b44e259f
[ "MIT" ]
null
null
null
payments/urls.py
caocmai/maker
bec025c3301a21e75638aca28576c724b44e259f
[ "MIT" ]
8
2020-06-06T01:12:07.000Z
2021-06-10T19:38:47.000Z
payments/urls.py
caocmai/Maker
bec025c3301a21e75638aca28576c724b44e259f
[ "MIT" ]
1
2020-03-05T08:11:39.000Z
2020-03-05T08:11:39.000Z
from django.urls import path from . import views urlpatterns = [ path('charge/', views.charge, name='charge'), path('payment/', views.HomePageView.as_view(), name='payment'), ]
17.181818
67
0.671958
9cf644b1b80793072b365bad95258387b0ed2c8b
122
py
Python
cdc/src/__init__.py
ZebinKang/cdc
a32fe41892021d29a1d9c534728a92b67f9b6cea
[ "MIT" ]
null
null
null
cdc/src/__init__.py
ZebinKang/cdc
a32fe41892021d29a1d9c534728a92b67f9b6cea
[ "MIT" ]
null
null
null
cdc/src/__init__.py
ZebinKang/cdc
a32fe41892021d29a1d9c534728a92b67f9b6cea
[ "MIT" ]
null
null
null
from NoteDeid import * from NoteConceptParser import * from Converter import * from D2v import * from MLPipeline import *
20.333333
31
0.795082
9cf660cb297e4f4275f9be8ec5a0164060234d14
1,207
py
Python
src/education/urls.py
compressore/moc
8e05e3e60d2d2c7534e0c659b6ed0743e9189f6b
[ "MIT" ]
4
2020-10-14T15:35:07.000Z
2022-01-13T15:31:16.000Z
src/education/urls.py
compressore/moc
8e05e3e60d2d2c7534e0c659b6ed0743e9189f6b
[ "MIT" ]
null
null
null
src/education/urls.py
compressore/moc
8e05e3e60d2d2c7534e0c659b6ed0743e9189f6b
[ "MIT" ]
2
2021-01-07T14:39:05.000Z
2022-01-18T12:31:50.000Z
from django.urls import path from . import views from core import views as core from community import views as community from library import views as library from ie.urls_baseline import baseline_urlpatterns from ie.urls_education_baseline import baseline_education_urlpatterns app_name = "education" urlpatterns = bas...
52.478261
128
0.785418
9cf6c6a73f439ca6c05d3204935a74fc4fd76abd
7,138
py
Python
flowsa/data_source_scripts/StatCan_IWS_MI.py
JohnAndrewTaylor/flowsa
21b14b19f08370db574bdd59219a2773983c6f95
[ "CC0-1.0" ]
null
null
null
flowsa/data_source_scripts/StatCan_IWS_MI.py
JohnAndrewTaylor/flowsa
21b14b19f08370db574bdd59219a2773983c6f95
[ "CC0-1.0" ]
null
null
null
flowsa/data_source_scripts/StatCan_IWS_MI.py
JohnAndrewTaylor/flowsa
21b14b19f08370db574bdd59219a2773983c6f95
[ "CC0-1.0" ]
null
null
null
# Stat_Canada.py (flowsa) # !/usr/bin/env python3 # coding=utf-8 ''' Pulls Statistics Canada data on water intake and discharge for 3 digit NAICS from 2005 - 2015 ''' import pandas as pd import io import zipfile import pycountry from flowsa.common import * def sc_call(url, sc_response, args): """ Convert res...
41.260116
118
0.64738
9cf6cf2875b70b62f98a1356560f801938cbd27e
3,952
py
Python
extra_foam/pipeline/f_zmq.py
scottwedge/EXtra-foam
9a170e3097987bf8abf30abb64a52439624367b8
[ "BSD-3-Clause" ]
null
null
null
extra_foam/pipeline/f_zmq.py
scottwedge/EXtra-foam
9a170e3097987bf8abf30abb64a52439624367b8
[ "BSD-3-Clause" ]
null
null
null
extra_foam/pipeline/f_zmq.py
scottwedge/EXtra-foam
9a170e3097987bf8abf30abb64a52439624367b8
[ "BSD-3-Clause" ]
null
null
null
""" Distributed under the terms of the BSD 3-Clause License. The full license is in the file LICENSE, distributed with this software. Author: Jun Zhu <jun.zhu@xfel.eu> Copyright (C) European X-Ray Free-Electron Laser Facility GmbH. All rights reserved. """ from collections import deque from threading import Event im...
30.167939
73
0.607034
9cf85aaa6823aec72d799dfb11b9d01b66e08e59
1,017
py
Python
src/supervisor/supervisor_loader.py
Telsanyr/Johnny_VI
db9f54457c33b1f70616671611e6bc4fc4c44d1b
[ "WTFPL" ]
6
2018-08-07T14:57:58.000Z
2020-02-13T18:43:49.000Z
src/supervisor/supervisor_loader.py
Telsanyr/Johnny_VI
db9f54457c33b1f70616671611e6bc4fc4c44d1b
[ "WTFPL" ]
2
2018-08-08T12:12:28.000Z
2018-08-23T12:46:25.000Z
src/supervisor/supervisor_loader.py
Telsanyr/Johnny_VI
db9f54457c33b1f70616671611e6bc4fc4c44d1b
[ "WTFPL" ]
1
2018-08-07T14:51:15.000Z
2018-08-07T14:51:15.000Z
#!/usr/bin/env python # -*- coding: utf8 -*- # coding: utf8 # This is a module loader. It will reload all the files dedicated to the module # each time it is reloaded. Therefore, any code modification will be taken into # account. # Moreover, because all files are loaded in the same module. All classes and # global va...
46.227273
100
0.771878
9cf88f9c3c66dc987145112c9d9843d8bd9f0a49
849
py
Python
todolist/todos/migrations/0002_sharetodolist.py
abdu1aziz/todo-list-app
698cc046ea4cf9259f8e9830a33166dc6d222abe
[ "MIT" ]
null
null
null
todolist/todos/migrations/0002_sharetodolist.py
abdu1aziz/todo-list-app
698cc046ea4cf9259f8e9830a33166dc6d222abe
[ "MIT" ]
null
null
null
todolist/todos/migrations/0002_sharetodolist.py
abdu1aziz/todo-list-app
698cc046ea4cf9259f8e9830a33166dc6d222abe
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-09-23 06:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
32.653846
125
0.640754
9cfa1227d896963056de524d0c2b24fd87570c59
4,350
py
Python
keyboard/mechanical-button/single-button/keyboard.py
ELE-Clouds/mpy-lib
76a45072357fed3fc8dde75260585622057896da
[ "MIT" ]
116
2018-07-16T14:48:44.000Z
2022-03-16T15:24:54.000Z
keyboard/mechanical-button/single-button/keyboard.py
ELE-Clouds/mpy-lib
76a45072357fed3fc8dde75260585622057896da
[ "MIT" ]
8
2018-07-11T14:00:30.000Z
2022-01-20T01:30:09.000Z
keyboard/mechanical-button/single-button/keyboard.py
ELE-Clouds/mpy-lib
76a45072357fed3fc8dde75260585622057896da
[ "MIT" ]
66
2018-07-11T08:50:00.000Z
2022-03-28T15:36:00.000Z
# -*- coding:UTF-8 -*- ''' MIT License Copyright (c) 2018 Robin Chen 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, co...
46.276596
163
0.554713
9cfa728536bee61e0fd7a0cb5ca6747960450394
869
py
Python
dataanalysis/mopitt_data_analysis.py
s-ai-kia/nasa_stf
cc60cf7f74c77a78dc8fa1140d787614fc4cca7b
[ "MIT" ]
1
2020-10-05T04:11:45.000Z
2020-10-05T04:11:45.000Z
dataanalysis/mopitt_data_analysis.py
s-ai-kia/nasa_stf
cc60cf7f74c77a78dc8fa1140d787614fc4cca7b
[ "MIT" ]
null
null
null
dataanalysis/mopitt_data_analysis.py
s-ai-kia/nasa_stf
cc60cf7f74c77a78dc8fa1140d787614fc4cca7b
[ "MIT" ]
3
2020-12-13T19:36:09.000Z
2021-11-25T19:01:51.000Z
# -*- coding: utf-8 -*- """mopitt_data_analysis.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1bb_9kuO0Suo5761xgJioS84TrEdR5ojj """ import pandas as pd df = pd.read_csv('MOP02J-20200101-L2V18.0.3.csv') df.head() df tx = df[0:5000] tx import...
21.195122
95
0.715765
9cfa74671b912301e99e5c7c844894769aef765f
5,413
py
Python
main.py
dkendrick/starterbot
2b8d14ddf4c18583e8c5656f8268478c07089d41
[ "BSD-2-Clause" ]
2
2021-11-30T06:33:17.000Z
2021-12-05T22:50:15.000Z
main.py
dkendrick/starterbot
2b8d14ddf4c18583e8c5656f8268478c07089d41
[ "BSD-2-Clause" ]
null
null
null
main.py
dkendrick/starterbot
2b8d14ddf4c18583e8c5656f8268478c07089d41
[ "BSD-2-Clause" ]
null
null
null
import bybit import math import pandas as pd import time from datetime import datetime from dateutil.relativedelta import relativedelta # settings num_orders = 3 order_size = 1 order_distance = 10 sl_risk = 0.03 tp_distance = 5 api_key = "YOUR_KEY" api_secret = "YOUR_SECRET" client = bybit.bybit(test=False, api_key=...
31.841176
78
0.661001
9cfab5f5e7ac823ca82f349ba7f74d5b096b4a5a
177
py
Python
Chapter 11/Chapter 06/app1.py
bpbpublications/Building-Web-Apps-with-Python-and-Flask
4fbbe75fad9629f16ff5bf8bd603aa09dd04f9eb
[ "MIT" ]
2
2021-05-08T23:10:12.000Z
2021-05-10T14:33:27.000Z
Chapter 11/Chapter 06/app1.py
bpbpublications/Building-Web-Apps-with-Python-and-Flask
4fbbe75fad9629f16ff5bf8bd603aa09dd04f9eb
[ "MIT" ]
null
null
null
Chapter 11/Chapter 06/app1.py
bpbpublications/Building-Web-Apps-with-Python-and-Flask
4fbbe75fad9629f16ff5bf8bd603aa09dd04f9eb
[ "MIT" ]
1
2021-07-08T19:17:53.000Z
2021-07-08T19:17:53.000Z
from flask import Flask, render_template print (__name__) app = Flask(__name__)
22.125
50
0.700565
9cfafb2073c9a3aff02273b967553d1d40af2ae0
936
py
Python
app/models/Article.py
ngedev/hypexblog
9e4b93ed119ff52afb6b67d00df2b26fe09f7e05
[ "MIT" ]
null
null
null
app/models/Article.py
ngedev/hypexblog
9e4b93ed119ff52afb6b67d00df2b26fe09f7e05
[ "MIT" ]
5
2021-03-08T05:07:37.000Z
2021-03-12T08:00:41.000Z
app/models/Article.py
ngedev/hypexblog
9e4b93ed119ff52afb6b67d00df2b26fe09f7e05
[ "MIT" ]
null
null
null
from datetime import datetime from sqlalchemy import ( Boolean, Column, DateTime, ForeignKey, Integer, String, UnicodeText, ) from sqlalchemy.orm import relationship from zemfrog.globals import db
28.363636
69
0.708333
9cfb46ed6b05cd0d4c7a16a81985cf1b4466d0db
7,079
py
Python
apps/combine-api/tests/run/test_run_get_simulators.py
freiburgermsu/biosimulations
1c4f604f67c0924b58e1a3a45378c86bab7ace5b
[ "MIT" ]
20
2021-09-05T02:47:07.000Z
2022-01-25T10:46:47.000Z
apps/combine-api/tests/run/test_run_get_simulators.py
freiburgermsu/biosimulations
1c4f604f67c0924b58e1a3a45378c86bab7ace5b
[ "MIT" ]
1,884
2020-08-23T17:40:26.000Z
2021-09-01T16:29:20.000Z
apps/combine-api/tests/run/test_run_get_simulators.py
freiburgermsu/biosimulations
1c4f604f67c0924b58e1a3a45378c86bab7ace5b
[ "MIT" ]
2
2019-11-04T15:08:05.000Z
2020-01-02T21:17:51.000Z
from biosimulators_utils.config import get_config from src import app from src.handlers.run.utils import get_simulator_api, get_simulators, exec_in_subprocess from unittest import mock import os import parameterized import pytest import requests import shutil import tempfile import unittest SIMULATORS = os.environ.g...
42.136905
137
0.621133
9cfc5d4e4bd363a9f3917be257e6f8a8b0661722
2,372
py
Python
simulator/flow_change_gen.py
faywh/read_ez
d26a14aed473291b896664faf284ef3027c8be90
[ "Apache-2.0" ]
7
2017-05-28T21:00:09.000Z
2021-04-05T16:14:07.000Z
simulator/flow_change_gen.py
faywh/read_ez
d26a14aed473291b896664faf284ef3027c8be90
[ "Apache-2.0" ]
null
null
null
simulator/flow_change_gen.py
faywh/read_ez
d26a14aed473291b896664faf284ef3027c8be90
[ "Apache-2.0" ]
3
2018-12-27T07:59:30.000Z
2021-05-02T07:47:42.000Z
import argparse import os import random from random import Random from misc import logger from domain.network_premitives import * from flow_gen.link_failure_change_generator import LinkFailureChangeGenerator from flow_gen.random_change_generator import RandomChangeGenerator if __name__ == '__main__': parser = arg...
43.127273
89
0.637437
9cfcd175b4c5f0ab48925d1924fe24b3bfba9048
6,020
py
Python
pyccel/codegen/python_wrapper.py
noushi/pyccel
f20846897ba2418dc0f432e293bcf8b4ddb24915
[ "MIT" ]
null
null
null
pyccel/codegen/python_wrapper.py
noushi/pyccel
f20846897ba2418dc0f432e293bcf8b4ddb24915
[ "MIT" ]
null
null
null
pyccel/codegen/python_wrapper.py
noushi/pyccel
f20846897ba2418dc0f432e293bcf8b4ddb24915
[ "MIT" ]
1
2021-01-08T12:32:51.000Z
2021-01-08T12:32:51.000Z
# coding: utf-8 #------------------------------------------------------------------------------------------# # This file is part of Pyccel which is released under MIT License. See the LICENSE file or # # go to https://github.com/pyccel/pyccel/blob/master/LICENSE for full license details. # #------------------------...
36.932515
106
0.563123
1400bb84d2be3b7726e6ee57bf54f265059abc0e
8,471
py
Python
xds_plot_integrate.py
keitaroyam/yam_scripts
aa1346be02050032a96f3ea89e5fc836d05c71ea
[ "BSD-3-Clause" ]
2
2018-04-13T21:35:15.000Z
2020-04-01T07:59:10.000Z
xds_plot_integrate.py
keitaroyam/yam_scripts
aa1346be02050032a96f3ea89e5fc836d05c71ea
[ "BSD-3-Clause" ]
null
null
null
xds_plot_integrate.py
keitaroyam/yam_scripts
aa1346be02050032a96f3ea89e5fc836d05c71ea
[ "BSD-3-Clause" ]
1
2021-12-20T11:04:01.000Z
2021-12-20T11:04:01.000Z
#!/usr/bin/env cctbx.python from __future__ import print_function """ xds_plot_integrate.py (c) RIKEN 2015. All rights reserved. Author: Keitaro Yamashita This software is released under the new BSD License; see LICENSE. """ """ TODO: plot differences in direct beam and rotation axis """ import sys import re import...
36.830435
229
0.557785
14069f69e286ba7e7815086e118f09ac462708fd
823
py
Python
sionna/channel/tr38901/__init__.py
NVlabs/sionna
488e6c3ff6ff2b3313d0ca0f94e4247b8dd6ff35
[ "Apache-2.0" ]
163
2022-03-22T19:47:47.000Z
2022-03-31T23:56:45.000Z
sionna/channel/tr38901/__init__.py
Maryammhsnv/sionna
527d0f7866b379afffad34a6bef7ed3bf6f33ad2
[ "Apache-2.0" ]
2
2022-03-24T12:43:07.000Z
2022-03-29T07:17:16.000Z
sionna/channel/tr38901/__init__.py
Maryammhsnv/sionna
527d0f7866b379afffad34a6bef7ed3bf6f33ad2
[ "Apache-2.0" ]
19
2022-03-23T02:31:22.000Z
2022-03-30T06:35:12.000Z
# # SPDX-FileCopyrightText: Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # """ Channel sub-package of the Sionna library implementing 3GPP TR39.801 models. """ # pylint: disable=line-too-long from .antenna import AntennaElement, AntennaPanel, Pane...
32.92
103
0.818955
14093ba2d1d6dad0f8503fb3ff80ec728afb186e
85
wsgi
Python
katty.wsgi
gabeg805/KattyWebApplication
16ecd9715f4da9fd4e82a840969e7edfa259d14c
[ "MIT" ]
null
null
null
katty.wsgi
gabeg805/KattyWebApplication
16ecd9715f4da9fd4e82a840969e7edfa259d14c
[ "MIT" ]
null
null
null
katty.wsgi
gabeg805/KattyWebApplication
16ecd9715f4da9fd4e82a840969e7edfa259d14c
[ "MIT" ]
null
null
null
import sys sys.path.insert(0, '/var/www/katty') from index import app as application
21.25
36
0.764706