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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9998d5f0eb2e502fdca84e6824e8e9daa597f71a | 2,735 | py | Python | qa/check_header.py | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | qa/check_header.py | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | qa/check_header.py | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import fnmatch
import os
from termcolor import colored
header_cirkit = """/* {tool}
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentatio... | 40.220588 | 163 | 0.671298 |
99990a8f6f0c0d1233e3468bcf5a921918f16261 | 2,239 | py | Python | Exercicios/Ex095.py | RenanRibeiroDaSilva/Meu-Aprendizado-Python | 280bf2ad132ae0d26255e70b894fa7dbb69a5d01 | [
"MIT"
] | 2 | 2021-05-21T23:17:44.000Z | 2021-05-22T04:34:37.000Z | Exercicios/Ex095.py | RenanRibeiroDaSilva/Meu-Aprendizado-Python | 280bf2ad132ae0d26255e70b894fa7dbb69a5d01 | [
"MIT"
] | null | null | null | Exercicios/Ex095.py | RenanRibeiroDaSilva/Meu-Aprendizado-Python | 280bf2ad132ae0d26255e70b894fa7dbb69a5d01 | [
"MIT"
] | null | null | null | """ Ex - 095 - Aprimore o desafio 93 para que ele funcione com vrios jogadores, incluindo um sistema
de visualizao de detalhes do aproveitamento de cada jogador."""
# Como eu fiz.
# T.L.D.:
cad_joga = dict()
gol_part = list()
dad_jgdr = list()
# Area de desenvolvimeno:
while... | 36.112903 | 109 | 0.578383 |
999b2e67903e3c052ed3e4e02c36419320b66d70 | 1,096 | py | Python | analyse/filter.py | hha227/AUT2003_proj | b208a1f5a559b59612f6e85e118c39ade6f223ec | [
"MIT"
] | null | null | null | analyse/filter.py | hha227/AUT2003_proj | b208a1f5a559b59612f6e85e118c39ade6f223ec | [
"MIT"
] | null | null | null | analyse/filter.py | hha227/AUT2003_proj | b208a1f5a559b59612f6e85e118c39ade6f223ec | [
"MIT"
] | null | null | null | import numpy as np
import statistics as stat
treshold = 3
| 25.488372 | 44 | 0.614051 |
999b5e3e93f4140f47aca3ea8caa82e75e50144b | 642 | py | Python | model/fcn.py | cj-mclaughlin/semseg | b103cf7747114812239b733338121c78ba4aab76 | [
"MIT"
] | 1 | 2022-02-02T02:58:06.000Z | 2022-02-02T02:58:06.000Z | model/fcn.py | cj-mclaughlin/semseg | b103cf7747114812239b733338121c78ba4aab76 | [
"MIT"
] | null | null | null | model/fcn.py | cj-mclaughlin/semseg | b103cf7747114812239b733338121c78ba4aab76 | [
"MIT"
] | null | null | null | import encoding
from torch import nn
import torch
if __name__ == "__main__":
model = FCN(pretrained=True).to("cuda")
x = torch.rand(size=(1, 3, 473, 473)).to("cuda")
model.forward(x)
print("Done!") | 27.913043 | 93 | 0.64486 |
999bb61e153cdfb4fd56b492662c759d35a9044a | 7,979 | py | Python | templates/tlogserver/actions.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 3 | 2017-07-04T14:02:02.000Z | 2019-07-06T23:34:08.000Z | templates/tlogserver/actions.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 497 | 2017-05-31T07:55:40.000Z | 2018-01-03T12:10:43.000Z | templates/tlogserver/actions.py | zero-os/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 8 | 2017-06-14T09:45:56.000Z | 2021-02-01T18:12:55.000Z | from js9 import j
| 35.620536 | 99 | 0.656097 |
999ff85916e0ce64b79e894eed68a049a3d628b5 | 398 | py | Python | Week 6 Text files, csv and spreadsheets/Task12.py | retverd/python_hse | cb9bfb092c1cf68ae0c53b9919ca24a71a8cbf88 | [
"MIT"
] | null | null | null | Week 6 Text files, csv and spreadsheets/Task12.py | retverd/python_hse | cb9bfb092c1cf68ae0c53b9919ca24a71a8cbf88 | [
"MIT"
] | null | null | null | Week 6 Text files, csv and spreadsheets/Task12.py | retverd/python_hse | cb9bfb092c1cf68ae0c53b9919ca24a71a8cbf88 | [
"MIT"
] | null | null | null | # openpyxl :
# , .
import openpyxl
wb = openpyxl.load_workbook('inputs/input12.xlsx')
sh = wb.active
nmin = sh.cell(row=7, column=2).value
for rownum in range(8, 28):
nmin = min(nmin, sh.cell(row=rownum, column=2).value)
print(nmin)
| 33.166667 | 110 | 0.758794 |
99a086af551d96b57462192e6864be3a7cb52597 | 2,049 | py | Python | smartlearner/status.py | MarcCote/smartlearner | 0afdcd3b38dddfee16330b8324eb3b0e224f1c2b | [
"BSD-3-Clause"
] | null | null | null | smartlearner/status.py | MarcCote/smartlearner | 0afdcd3b38dddfee16330b8324eb3b0e224f1c2b | [
"BSD-3-Clause"
] | null | null | null | smartlearner/status.py | MarcCote/smartlearner | 0afdcd3b38dddfee16330b8324eb3b0e224f1c2b | [
"BSD-3-Clause"
] | null | null | null | from os.path import join as pjoin
from .utils import save_dict_to_json_file, load_dict_from_json_file
| 37.254545 | 113 | 0.585163 |
99a1251f6dd432e83cbedb9cc01f1711ae189fb3 | 3,745 | py | Python | autotest/autotest/webtest/webauto_testcase3.py | zhouxuerong/autotest | 8a3ecf9f532ecf676ccafc2f15b03001806aa0e5 | [
"MIT"
] | null | null | null | autotest/autotest/webtest/webauto_testcase3.py | zhouxuerong/autotest | 8a3ecf9f532ecf676ccafc2f15b03001806aa0e5 | [
"MIT"
] | null | null | null | autotest/autotest/webtest/webauto_testcase3.py | zhouxuerong/autotest | 8a3ecf9f532ecf676ccafc2f15b03001806aa0e5 | [
"MIT"
] | null | null | null | import os
import time
import unittest
from selenium import webdriver
import pymysql,requests,time,sys,re
import urllib,zlib
import json
sys.path.append("..")
from autotest.common import mySqlOperation
import HTMLTestRunner
PATH = lambda p:os.path.abspath(os.path.join(os.path.dirname(__file__),p))
global driver
HOSTN... | 34.045455 | 93 | 0.633378 |
99a24f7bca5db37447ff93cc105a33b663fe4185 | 9,991 | py | Python | 10601-hws/HW 6/hw6/python/hwTestLeNet.py | dfreilich/machine-learning-workspace | a1b6e5bd84a4f5708461f3827d64e2bf5a32dffa | [
"MIT"
] | null | null | null | 10601-hws/HW 6/hw6/python/hwTestLeNet.py | dfreilich/machine-learning-workspace | a1b6e5bd84a4f5708461f3827d64e2bf5a32dffa | [
"MIT"
] | null | null | null | 10601-hws/HW 6/hw6/python/hwTestLeNet.py | dfreilich/machine-learning-workspace | a1b6e5bd84a4f5708461f3827d64e2bf5a32dffa | [
"MIT"
] | null | null | null | import numpy as np
import cnn_lenet
import pickle
import copy
import random
import matplotlib as mp
import matplotlib.pyplot as plt
import math
def get_lenet():
"""Define LeNet
Explanation of parameters:
type: layer type, supports convolution, pooling, relu
channel: input channel
num: output channel
k: co... | 31.319749 | 129 | 0.636273 |
99a5cd1f09cad717eba8f37ab45d53652452a579 | 22 | py | Python | src/pybuiltins/module/__init__.py | Xiddoc/ComPy | 7d26f95209d0615d7eb188fa02470ddae5311fca | [
"MIT"
] | null | null | null | src/pybuiltins/module/__init__.py | Xiddoc/ComPy | 7d26f95209d0615d7eb188fa02470ddae5311fca | [
"MIT"
] | 9 | 2022-02-23T10:32:44.000Z | 2022-03-27T17:55:43.000Z | src/scopes/objects/__init__.py | Xiddoc/ComPy | 7d26f95209d0615d7eb188fa02470ddae5311fca | [
"MIT"
] | null | null | null | """
Python module.
""" | 7.333333 | 14 | 0.545455 |
99a62a1c3b2e90d6a24f5b5d1e8c742b15d66e2e | 120 | py | Python | Chatbot_KG/chatbot_scrapy/wikidataSpider/wikientities/wikientities/loadjson.py | guci314/Chatbot_CN | 02044eed4a141aa8c61d6064c166f95dbdae894c | [
"Apache-2.0"
] | 1 | 2020-06-21T12:50:34.000Z | 2020-06-21T12:50:34.000Z | Chatbot_KG/chatbot_scrapy/wikidataSpider/wikientities/wikientities/loadjson.py | guci314/Chatbot_CN | 02044eed4a141aa8c61d6064c166f95dbdae894c | [
"Apache-2.0"
] | null | null | null | Chatbot_KG/chatbot_scrapy/wikidataSpider/wikientities/wikientities/loadjson.py | guci314/Chatbot_CN | 02044eed4a141aa8c61d6064c166f95dbdae894c | [
"Apache-2.0"
] | 2 | 2019-11-21T02:51:53.000Z | 2020-04-28T09:09:52.000Z | import json
with open('entities2.json', 'r') as f:
for line in f:
entityjson = json.loads(line)
print(entityjson)
| 17.142857 | 38 | 0.691667 |
99a673617423652de49110e1613b793a9d706888 | 644 | py | Python | conf/urls.py | crisariasgg/RepinSolution | 27e9b04ccc887b4300d77dda8657e761f9523123 | [
"MIT"
] | null | null | null | conf/urls.py | crisariasgg/RepinSolution | 27e9b04ccc887b4300d77dda8657e761f9523123 | [
"MIT"
] | null | null | null | conf/urls.py | crisariasgg/RepinSolution | 27e9b04ccc887b4300d77dda8657e761f9523123 | [
"MIT"
] | 1 | 2021-12-09T21:27:35.000Z | 2021-12-09T21:27:35.000Z | """URL Configuration"""
from django.contrib import admin
from django.urls import path, include
from django.conf import settings
from django.views.generic import TemplateView
from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls),
path('', include(('apps.users.urls', 'use... | 25.76 | 96 | 0.706522 |
99a69bb5025daea961fa8702ab7e217f004c607f | 51 | py | Python | tests.py | Shetty4L/mnist-pytorch | 1eee32da0b0c7faf14d1d3daf4099538e704d9c1 | [
"MIT"
] | null | null | null | tests.py | Shetty4L/mnist-pytorch | 1eee32da0b0c7faf14d1d3daf4099538e704d9c1 | [
"MIT"
] | null | null | null | tests.py | Shetty4L/mnist-pytorch | 1eee32da0b0c7faf14d1d3daf4099538e704d9c1 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
assert True == True
| 17 | 26 | 0.627451 |
99a7466cf27100ac55ea21255af9e3aede9fae99 | 1,438 | py | Python | inventory.py | d4rkp0rt/NouvelEspace | ad648cf540721b0b38222b8d598b0e4460071231 | [
"MIT"
] | 2 | 2018-04-05T09:17:43.000Z | 2018-04-05T09:17:50.000Z | inventory.py | d4rkp0rt/NouvelEspace | ad648cf540721b0b38222b8d598b0e4460071231 | [
"MIT"
] | 1 | 2017-08-12T11:29:02.000Z | 2017-08-12T11:31:57.000Z | inventory.py | d4rkp0rt/NouvelEspace | ad648cf540721b0b38222b8d598b0e4460071231 | [
"MIT"
] | null | null | null | import savegame
inventory = []
gas_vent_on = True
| 26.62963 | 117 | 0.631433 |
99a8de2271c3c05622470fceff6ae843c59d9535 | 1,524 | py | Python | pages/migrations/0001_initial.py | mixnix/subject_rate | 224fdc7c17afd972596c628bda65a384274ed4a1 | [
"MIT"
] | null | null | null | pages/migrations/0001_initial.py | mixnix/subject_rate | 224fdc7c17afd972596c628bda65a384274ed4a1 | [
"MIT"
] | null | null | null | pages/migrations/0001_initial.py | mixnix/subject_rate | 224fdc7c17afd972596c628bda65a384274ed4a1 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.3 on 2018-11-22 04:31
import django.core.validators
from django.db import migrations, models
| 38.1 | 173 | 0.603018 |
99a90fa5f9e573bb52aa373448a33b3a8c83a6a5 | 1,724 | py | Python | fake_lstm.py | amangit007/Fake-News-Detector | e8cae21d66007bc07560471d63b875803efc2466 | [
"MIT"
] | 4 | 2018-11-24T21:10:25.000Z | 2018-12-07T17:37:51.000Z | fake_lstm.py | amangit007/Fake-News-Detector | e8cae21d66007bc07560471d63b875803efc2466 | [
"MIT"
] | 23 | 2018-11-27T18:01:30.000Z | 2019-01-06T17:30:28.000Z | fake_lstm.py | amangit007/Fake-News-Detector | e8cae21d66007bc07560471d63b875803efc2466 | [
"MIT"
] | 11 | 2018-11-22T18:50:41.000Z | 2018-12-12T13:51:28.000Z | import pandas as pd
import numpy as np
import sys
# Importing the data
df = pd.read_csv('fake_or_real_news.csv')
try:
news_clean_encoded = np.loadtxt('news_encoding.gz')
title_clean_encoded = np.loadtxt('title_encoding.gz')
except:
print ("Please first encode the data!!")
sys.exit(0)
category = df.lab... | 27.365079 | 168 | 0.74942 |
99a91fc05ae7123630e16e93bde5cb1b4970dfad | 570 | py | Python | src/spaceone/inventory/error/custom.py | jihyungSong/plugin-azure-power-state | d66bd5dfafa01659c877da11c0d18de6e55cb5ab | [
"Apache-2.0"
] | 1 | 2020-12-04T01:37:15.000Z | 2020-12-04T01:37:15.000Z | src/spaceone/inventory/error/custom.py | jihyungSong/plugin-azure-power-state | d66bd5dfafa01659c877da11c0d18de6e55cb5ab | [
"Apache-2.0"
] | null | null | null | src/spaceone/inventory/error/custom.py | jihyungSong/plugin-azure-power-state | d66bd5dfafa01659c877da11c0d18de6e55cb5ab | [
"Apache-2.0"
] | 2 | 2020-12-04T01:37:18.000Z | 2020-12-28T02:53:39.000Z | from spaceone.core.error import ERROR_BASE
| 27.142857 | 94 | 0.759649 |
99aacf62d8ba4b992323536e4d23c55bfd7baf04 | 706 | py | Python | db_server.py | YashithaNadiranga/MysqlFlask | 1576abc388666f3e7e5ff288d1d221a4012f991b | [
"MIT"
] | null | null | null | db_server.py | YashithaNadiranga/MysqlFlask | 1576abc388666f3e7e5ff288d1d221a4012f991b | [
"MIT"
] | null | null | null | db_server.py | YashithaNadiranga/MysqlFlask | 1576abc388666f3e7e5ff288d1d221a4012f991b | [
"MIT"
] | null | null | null | from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://root:pass@localhost/student_details'
db = SQLAlchemy(app)
db.create_all()
admin = User(username='admin', email='admin@example.com')
db.session.add(admin)
db.session.commit()
print(... | 22.0625 | 85 | 0.70255 |
99ab20da9c0a98ef36068850febe5bbf278a8233 | 1,281 | py | Python | setup.py | Jhengsh/blob-cli | 23239e8943b4446054300d16e3e5a009f9db6190 | [
"MIT"
] | null | null | null | setup.py | Jhengsh/blob-cli | 23239e8943b4446054300d16e3e5a009f9db6190 | [
"MIT"
] | null | null | null | setup.py | Jhengsh/blob-cli | 23239e8943b4446054300d16e3e5a009f9db6190 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
... | 32.846154 | 63 | 0.645589 |
99ab7c88dfd42735c4d8faeb1a68d35ef03d98b0 | 5,210 | py | Python | bucket_operations.py | scaleoutsean/storagegrid-dmc | 5afd0e8401ca16df42adbf21e810e5a99da7dafc | [
"BSD-3-Clause"
] | null | null | null | bucket_operations.py | scaleoutsean/storagegrid-dmc | 5afd0e8401ca16df42adbf21e810e5a99da7dafc | [
"BSD-3-Clause"
] | null | null | null | bucket_operations.py | scaleoutsean/storagegrid-dmc | 5afd0e8401ca16df42adbf21e810e5a99da7dafc | [
"BSD-3-Clause"
] | null | null | null | # StorageGRID Data Management Console (DMC)
# Copyright (c) 2018, NetApp, Inc.
# Licensed under the terms of the Modified BSD License (also known as New or Revised or 3-Clause BSD)
import re
from app import logger
from app import get_s3_client
from utils import *
from flask import jsonify
import botocore
def creat... | 32.5625 | 101 | 0.609597 |
99abb24e625f32b11d7020a6ec78378c5d3afe96 | 759 | py | Python | p041.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | p041.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | p041.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | '''We shall say that an n-digit number is pandigital if it makes use of all the
digits 1 to n exactly once. For example, 2143 is a 4-digit pandigital and is
also prime. What is the largest n-digit pandigital prime that exists?'''
import itertools
import functools
| 30.36 | 79 | 0.654809 |
99ac99fa9ef1118415e2e909b4f4d2bb005ce536 | 1,397 | py | Python | relay_daemon/logger.py | vt-gs/relay_daemon | 9d77cd3222a3fe3e588f7c2196a4a06e8a73a471 | [
"MIT"
] | null | null | null | relay_daemon/logger.py | vt-gs/relay_daemon | 9d77cd3222a3fe3e588f7c2196a4a06e8a73a471 | [
"MIT"
] | null | null | null | relay_daemon/logger.py | vt-gs/relay_daemon | 9d77cd3222a3fe3e588f7c2196a4a06e8a73a471 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# Logger utilities
import math, sys, os, time, struct, traceback, binascii, logging
import datetime as dt
| 34.073171 | 129 | 0.655691 |
41d2106491ae3bd5e9e354c744f4b66b9b2a5abc | 173 | py | Python | prism/__init__.py | mwaldronii/prism-python | 15123e7ce7d8d2fa774a16b81f630c61e2aa5424 | [
"Apache-2.0"
] | 1 | 2020-08-04T08:29:30.000Z | 2020-08-04T08:29:30.000Z | prism/__init__.py | johnjdailey/prism-python | efb20da519c20cc7fe0c9e4acae5e00e91db2abb | [
"Apache-2.0"
] | null | null | null | prism/__init__.py | johnjdailey/prism-python | efb20da519c20cc7fe0c9e4acae5e00e91db2abb | [
"Apache-2.0"
] | null | null | null | from prism.prism import Prism, load_schema
from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
__all__ = ["Prism", "load_schema"]
| 19.222222 | 42 | 0.774566 |
41d584b015bcc08def7c3e07331b6eefe68d34ba | 12,342 | py | Python | keycloak_config/actions/create_client.py | mkurcius/keycloak-config-tool | 61a2c0682a24df1d356805c9532492b8d2d2f740 | [
"MIT"
] | null | null | null | keycloak_config/actions/create_client.py | mkurcius/keycloak-config-tool | 61a2c0682a24df1d356805c9532492b8d2d2f740 | [
"MIT"
] | null | null | null | keycloak_config/actions/create_client.py | mkurcius/keycloak-config-tool | 61a2c0682a24df1d356805c9532492b8d2d2f740 | [
"MIT"
] | 1 | 2020-11-18T11:45:29.000Z | 2020-11-18T11:45:29.000Z | """
Client creation action.
~~~~~~~~~~~~~~~~~~~~~~~
"""
from .action import Action
from .action import ActionExecutionException
from .action import InvalidActionConfigurationException
from .utils import get_user_roles
from .utils import InvalidUserResponse
from .utils import process_user_roles
import requests
import ... | 48.782609 | 149 | 0.66691 |
41d5ab86b69becdb8281f9bf8ad1919a16505953 | 3,124 | py | Python | yuuhpizzakebab/pizza/views.py | lex/yuuh-pizza-kebab | 532d931e89e67b94ce77a62e862fa3aca796401e | [
"BSD-2-Clause"
] | null | null | null | yuuhpizzakebab/pizza/views.py | lex/yuuh-pizza-kebab | 532d931e89e67b94ce77a62e862fa3aca796401e | [
"BSD-2-Clause"
] | 1 | 2016-09-26T13:50:26.000Z | 2016-10-01T22:20:27.000Z | yuuhpizzakebab/pizza/views.py | lex/yuuh-pizza-kebab | 532d931e89e67b94ce77a62e862fa3aca796401e | [
"BSD-2-Clause"
] | null | null | null | from yuuhpizzakebab import app, admin_required, login_required
from .models import Pizza, Topping
from flask import render_template, session, redirect, url_for, request, flash
| 29.471698 | 79 | 0.602433 |
41d78a5d0f1682e997d9ba82a2e11fa1e801dd57 | 3,241 | py | Python | assignment-4.py | Daredevil3722/CS-Assignments | af1ee23dc6845f495678a3eb6204bf82d5b8f5e1 | [
"MIT"
] | null | null | null | assignment-4.py | Daredevil3722/CS-Assignments | af1ee23dc6845f495678a3eb6204bf82d5b8f5e1 | [
"MIT"
] | 1 | 2021-08-31T04:16:08.000Z | 2021-09-01T05:45:39.000Z | assignment-4.py | Daredevil3722/CS-Assignments | af1ee23dc6845f495678a3eb6204bf82d5b8f5e1 | [
"MIT"
] | 1 | 2021-08-31T04:13:09.000Z | 2021-08-31T04:13:09.000Z | import mysql.connector as connector
from prettytable import PrettyTable
from prettytable import from_db_cursor
import time
db = connector.connect(host = "localhost", user = "root", passwd = "Anurag2004!", database = 'assignments')
if(db):
print("SQL Connectivity Successful")
else: print("SQL Conncectivity Failed")... | 24.55303 | 153 | 0.717988 |
41db217a251dcdbee85ed0b0d9b9002a99f2ff83 | 746 | py | Python | scripts/02_merge_shp_to_gpkg.py | MIERUNE/create_gpkg_for_city_boundaries | a38f1dd52723ec4b338c7c118e5672026adacd6a | [
"MIT"
] | 3 | 2021-04-14T01:22:25.000Z | 2022-03-12T14:40:14.000Z | scripts/02_merge_shp_to_gpkg.py | MIERUNE/create_gpkg_for_city_boundaries | a38f1dd52723ec4b338c7c118e5672026adacd6a | [
"MIT"
] | null | null | null | scripts/02_merge_shp_to_gpkg.py | MIERUNE/create_gpkg_for_city_boundaries | a38f1dd52723ec4b338c7c118e5672026adacd6a | [
"MIT"
] | 1 | 2021-04-14T01:14:44.000Z | 2021-04-14T01:14:44.000Z | import glob
from pathlib import Path
import geopandas as gpd
import pandas as pd
zip_path_list = [Path(l) for l in glob.glob("../download/*.zip")]
town_gdf = pd.concat(
[gpd.read_file("zip://" + str(zipfile)) for zipfile in zip_path_list]
).pipe(gpd.GeoDataFrame)
town_gdf["AREA_CODE"] = town_gdf["PREF"].str.cat... | 31.083333 | 73 | 0.711796 |
41db2fc7e347474fba789dd65ad8bb81282c07eb | 6,288 | py | Python | tickle/agenda.py | soren-n/tickle | 0e854c4f568dc7b378c77a099dacbc4a02f693d7 | [
"MIT"
] | null | null | null | tickle/agenda.py | soren-n/tickle | 0e854c4f568dc7b378c77a099dacbc4a02f693d7 | [
"MIT"
] | null | null | null | tickle/agenda.py | soren-n/tickle | 0e854c4f568dc7b378c77a099dacbc4a02f693d7 | [
"MIT"
] | null | null | null | # External module dependencies
from dataclasses import dataclass, field
from typing import Any, ParamSpec, Callable, Tuple, List, Dict, Set
from pathlib import Path
import hashlib
import json
import yaml
# Internal module dependencies
from . import dataspec
############################################################... | 33.806452 | 79 | 0.492844 |
41db5413a5f9a1a24a37df81578b6a10e5943f9c | 347 | py | Python | RemoveElement.py | sujitmandal/leetCode | b52bfd68cd93243765a94a190807f9b79ec4b4af | [
"MIT"
] | null | null | null | RemoveElement.py | sujitmandal/leetCode | b52bfd68cd93243765a94a190807f9b79ec4b4af | [
"MIT"
] | null | null | null | RemoveElement.py | sujitmandal/leetCode | b52bfd68cd93243765a94a190807f9b79ec4b4af | [
"MIT"
] | null | null | null |
obj = Solution()
obj.removeElement([3,2,2,3], 3)
obj.removeElement([0,1,2,2,3,0,4,2], 2) | 23.133333 | 39 | 0.495677 |
41db77ad3b2c65f2020d8e4e25c36390c6651515 | 2,583 | py | Python | src/crawl_video.py | happylin0x29a/pandatv_host_video | 16e5dc8280ef3b23a57ddda84df30211342548eb | [
"Apache-2.0"
] | null | null | null | src/crawl_video.py | happylin0x29a/pandatv_host_video | 16e5dc8280ef3b23a57ddda84df30211342548eb | [
"Apache-2.0"
] | 1 | 2019-03-20T06:19:54.000Z | 2019-06-04T09:43:21.000Z | src/crawl_video.py | happylin0x29a/pandatv_host_video | 16e5dc8280ef3b23a57ddda84df30211342548eb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding:utf-8
"""
@version: 3.4.4
@author: linfeng
@file: crawl_video.py
@time: 2019/3/16 16:04
"""
import os
import re
import requests
from multiprocessing import Process
from urllib.parse import urlparse
from base_crawl import BaseCrawl
| 33.986842 | 128 | 0.569493 |
41dcb4b8ddd56dc8e8518bff7cc7b653c64c86b3 | 369 | py | Python | blaze/datashape/__init__.py | davidfischer/blaze-core | 19b55ed469aec742fd871b959115a3d87a89acb9 | [
"BSD-2-Clause"
] | 1 | 2015-01-02T18:16:07.000Z | 2015-01-02T18:16:07.000Z | blaze/datashape/__init__.py | davidfischer/blaze-core | 19b55ed469aec742fd871b959115a3d87a89acb9 | [
"BSD-2-Clause"
] | null | null | null | blaze/datashape/__init__.py | davidfischer/blaze-core | 19b55ed469aec742fd871b959115a3d87a89acb9 | [
"BSD-2-Clause"
] | null | null | null | import parser
from coretypes import *
datashape = dshape
| 21.705882 | 80 | 0.663957 |
41df3e0d617a0c44fda1dbf09fdfe0802a9802fc | 12,716 | py | Python | CMUTweetTagger.py | renhaocui/activityExtractor | f5abaff28bb84af3af3a7268729541af6fa25f36 | [
"MIT"
] | 1 | 2019-09-18T16:39:00.000Z | 2019-09-18T16:39:00.000Z | CMUTweetTagger.py | renhaocui/activityExtractor | f5abaff28bb84af3af3a7268729541af6fa25f36 | [
"MIT"
] | 1 | 2019-09-18T19:40:35.000Z | 2019-09-18T19:40:35.000Z | CMUTweetTagger.py | renhaocui/activityExtractor | f5abaff28bb84af3af3a7268729541af6fa25f36 | [
"MIT"
] | null | null | null | import subprocess, shlex, json, re
from wordsegment import load, segment
from difflib import SequenceMatcher
import sys
reload(sys)
sys.setdefaultencoding('utf8')
load()
RUN_TAGGER_CMD = "java -XX:ParallelGCThreads=2 -Xmx1000m -jar utilities/ark-tweet-nlp-0.3.2.jar"
def _call_runtagger(tweets, run_tagger_cmd=RUN_T... | 39.368421 | 172 | 0.533973 |
41e0327d1a125ffef9dbc7efd7ba4836d63c5ec4 | 1,095 | py | Python | samples/sample.py | yuta-ubiquitous/pyMagician | b9f52fb2120827d1a7d1cc15b154cd65be69215a | [
"MIT"
] | null | null | null | samples/sample.py | yuta-ubiquitous/pyMagician | b9f52fb2120827d1a7d1cc15b154cd65be69215a | [
"MIT"
] | null | null | null | samples/sample.py | yuta-ubiquitous/pyMagician | b9f52fb2120827d1a7d1cc15b154cd65be69215a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import signal
from pyMagician import pyMagician
signal.signal(signal.SIGINT, signal.SIG_DFL)
magician = pyMagician(port='/dev/cu.usbmodem0121')
if magician.connect():
print('- success connect')
print('- read_version')
print(magician.read_version())
for n in range(3):
... | 23.297872 | 69 | 0.611872 |
41e049ebbadd42086af0038c7b616c015c831c97 | 23 | py | Python | packages/snet_cli/snet/snet_cli/version.py | dhruvshettty/snet-cli | 2fa64b0c122dd2713714d1a37d3f0ef0d7d11b84 | [
"MIT"
] | null | null | null | packages/snet_cli/snet/snet_cli/version.py | dhruvshettty/snet-cli | 2fa64b0c122dd2713714d1a37d3f0ef0d7d11b84 | [
"MIT"
] | null | null | null | packages/snet_cli/snet/snet_cli/version.py | dhruvshettty/snet-cli | 2fa64b0c122dd2713714d1a37d3f0ef0d7d11b84 | [
"MIT"
] | null | null | null | __version__ = "v0.2.3"
| 11.5 | 22 | 0.652174 |
41e0dbf406614ce7b1b0dc40b4c0b0e077e0b428 | 464 | py | Python | lhzutil.py | LiHongzhuo/wxBot | 98c7acee5a076332c8de2bac091e04d7f661edb6 | [
"Apache-2.0"
] | null | null | null | lhzutil.py | LiHongzhuo/wxBot | 98c7acee5a076332c8de2bac091e04d7f661edb6 | [
"Apache-2.0"
] | null | null | null | lhzutil.py | LiHongzhuo/wxBot | 98c7acee5a076332c8de2bac091e04d7f661edb6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
#
| 24.421053 | 76 | 0.635776 |
41e1a762f0d1be508b8aea67bb97266e256a8294 | 1,399 | py | Python | bestiary/management/commands/parse_game_data.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 66 | 2017-09-11T04:46:00.000Z | 2021-03-13T00:02:42.000Z | bestiary/management/commands/parse_game_data.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 133 | 2017-09-24T21:28:59.000Z | 2021-04-02T10:35:31.000Z | bestiary/management/commands/parse_game_data.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 28 | 2017-08-30T19:04:32.000Z | 2020-11-16T04:09:00.000Z | from django.core.management.base import BaseCommand
from bestiary import parse
| 29.145833 | 83 | 0.649035 |
41e5da67942383267bba727c51a73292363c9653 | 343 | py | Python | Booking a Room/room.py | rajitbanerjee/kattis | 3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad | [
"CC0-1.0"
] | 2 | 2021-04-13T12:56:30.000Z | 2022-03-21T16:46:58.000Z | Booking a Room/room.py | rajitbanerjee/kattis | 3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad | [
"CC0-1.0"
] | null | null | null | Booking a Room/room.py | rajitbanerjee/kattis | 3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad | [
"CC0-1.0"
] | 1 | 2021-11-14T14:06:46.000Z | 2021-11-14T14:06:46.000Z | """https://open.kattis.com/problems/bookingaroom"""
from random import randint
r, n = map(int, input().split())
if r == n:
print("too late")
exit()
booked = []
for _ in range(n):
booked.append(int(input()))
n = randint(1, r)
while n in booked:
# keep on shuffling until you get an empty room
n = ... | 18.052632 | 51 | 0.623907 |
41e60360e5b9bf04a91879084609643e5a8717ff | 9,913 | py | Python | visualization_apps/MgO_pareto/PCA/real_data_pca.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 4 | 2018-01-18T19:59:56.000Z | 2020-08-25T11:56:52.000Z | visualization_apps/MgO_pareto/PCA/real_data_pca.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2018-04-22T23:02:13.000Z | 2018-04-22T23:02:13.000Z | visualization_apps/MgO_pareto/PCA/real_data_pca.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2019-09-14T07:04:42.000Z | 2019-09-14T07:04:42.000Z | import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import pandas as pd
from scipy import stats
from sklearn.decomposition import PCA
from sklearn.cluster import KMeans, DBSCAN, AgglomerativeClustering, AffinityPropagation
from sklearn.preprocessing import normalize
from sklearn.p... | 40.96281 | 111 | 0.611117 |
41e69de8af0fa530d68f07430684c648a632bf4b | 920 | py | Python | Backtest/main/Visual/StratVisual.py | simonydbutt/b2a | 0bf4a6de8547d73ace22967780442deeaff2d5c6 | [
"MIT"
] | 2 | 2018-07-01T03:36:24.000Z | 2020-02-13T17:22:46.000Z | Backtest/main/Visual/StratVisual.py | simonydbutt/b2a | 0bf4a6de8547d73ace22967780442deeaff2d5c6 | [
"MIT"
] | null | null | null | Backtest/main/Visual/StratVisual.py | simonydbutt/b2a | 0bf4a6de8547d73ace22967780442deeaff2d5c6 | [
"MIT"
] | null | null | null | from bokeh.plotting import figure, output_file, show
from Backtest.main.Utils.AssetBrackets import AssetBrackets
| 31.724138 | 88 | 0.573913 |
41ea908d2cb1c1e2858cedb1b00c6722a8ee4eee | 867 | py | Python | src/mem/HybridController/eDRAM_Cache_Side/eDRAM.py | MattDAngeli/Hybrid-eDRAM-PCM-Full-System-Simulator | 4ae14eb6d3c13ab8287e792054dadf8c44f064c3 | [
"BSD-3-Clause"
] | null | null | null | src/mem/HybridController/eDRAM_Cache_Side/eDRAM.py | MattDAngeli/Hybrid-eDRAM-PCM-Full-System-Simulator | 4ae14eb6d3c13ab8287e792054dadf8c44f064c3 | [
"BSD-3-Clause"
] | null | null | null | src/mem/HybridController/eDRAM_Cache_Side/eDRAM.py | MattDAngeli/Hybrid-eDRAM-PCM-Full-System-Simulator | 4ae14eb6d3c13ab8287e792054dadf8c44f064c3 | [
"BSD-3-Clause"
] | null | null | null | from m5.params import *
from m5.proxy import *
from MemObject import *
from eDRAMCacheTags import *
| 37.695652 | 77 | 0.758939 |
41eac290afbddbc5234eef343b4f37b7f19d0a4c | 8,122 | py | Python | flask_response_builder/response_builder.py | cs91chris/flask_response_builder | 272d2eabc9641a952c7950413ba63178c5f60680 | [
"MIT"
] | 4 | 2019-06-14T23:42:16.000Z | 2021-04-06T18:16:17.000Z | flask_response_builder/response_builder.py | cs91chris/flask_response_builder | 272d2eabc9641a952c7950413ba63178c5f60680 | [
"MIT"
] | null | null | null | flask_response_builder/response_builder.py | cs91chris/flask_response_builder | 272d2eabc9641a952c7950413ba63178c5f60680 | [
"MIT"
] | null | null | null | from functools import wraps
import flask
from flask import current_app as cap
from .builders.builder import Builder
from .config import DEFAULT_BUILDERS, set_default_config
| 28.299652 | 102 | 0.517483 |
41eb1acb7cda0b372b4b8452e6c7a221809bf54c | 370 | py | Python | resotocore/resotocore/db/jobdb.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 126 | 2022-01-13T18:22:03.000Z | 2022-03-31T11:03:14.000Z | resotocore/resotocore/db/jobdb.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 110 | 2022-01-13T22:27:55.000Z | 2022-03-30T22:26:50.000Z | resotocore/resotocore/db/jobdb.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 8 | 2022-01-15T10:28:16.000Z | 2022-03-30T16:38:21.000Z | from resotocore.db.async_arangodb import AsyncArangoDB
from resotocore.db.entitydb import EntityDb, EventEntityDb, ArangoEntityDb
from resotocore.task.task_description import Job
JobDb = EntityDb[Job]
EventJobDb = EventEntityDb[Job]
| 33.636364 | 74 | 0.805405 |
41eb7e197412ca70ea92454fa48fc51f9f3bdbcc | 1,577 | py | Python | grouper/setup.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | null | null | null | grouper/setup.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | 1 | 2016-02-18T18:55:29.000Z | 2016-02-18T18:55:29.000Z | grouper/setup.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | null | null | null | from argparse import ArgumentParser, Namespace # noqa
import logging
from grouper import __version__
| 36.674419 | 93 | 0.653139 |
41ec0228ce778ad3bf08a92d4dc659af6c15f8f7 | 483 | py | Python | interview/leet/859_Buddy_Strings.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | interview/leet/859_Buddy_Strings.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | interview/leet/859_Buddy_Strings.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/bin/env python3
| 25.421053 | 53 | 0.436853 |
41ed42ba155f4f8c3b0e56171e05cd1321ae8090 | 502 | py | Python | classes/magic_method/method1.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | 1 | 2020-06-04T08:44:09.000Z | 2020-06-04T08:44:09.000Z | classes/magic_method/method1.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | null | null | null | classes/magic_method/method1.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
'''
__new__ __init__
'''
if __name__ == '__main__':
programer = Programer('zhang',25)
print programer.__dict__ | 21.826087 | 53 | 0.557769 |
41f17590d6717522c7db08810a1ce7c01ea93dbc | 79 | py | Python | EDA/index.py | jbofill10/Movies-EDA | 97652d21df32d4984fafeb629db00edd93812da2 | [
"MIT"
] | 1 | 2020-04-17T20:47:40.000Z | 2020-04-17T20:47:40.000Z | EDA/index.py | jbofill10/Movies-EDA | 97652d21df32d4984fafeb629db00edd93812da2 | [
"MIT"
] | 12 | 2020-04-16T03:18:37.000Z | 2020-04-19T02:53:58.000Z | EDA/index.py | jbofill10/Movies-EDA | 97652d21df32d4984fafeb629db00edd93812da2 | [
"MIT"
] | null | null | null | from EDA import MetaData
| 15.8 | 34 | 0.772152 |
41f2f05dc184e0a4fdb150d39e607ae1b449e7c0 | 2,533 | py | Python | Projects/events/views.py | jjfleet/Capstone | f81e21f0641ed0b75e06161198fca52805acb2e4 | [
"Apache-2.0"
] | 2 | 2018-07-23T05:44:50.000Z | 2018-09-10T09:12:36.000Z | Projects/events/views.py | jjmassey/Capstone | f81e21f0641ed0b75e06161198fca52805acb2e4 | [
"Apache-2.0"
] | 14 | 2018-09-10T10:42:39.000Z | 2018-10-24T00:04:36.000Z | Projects/events/views.py | jjfleet/Capstone | f81e21f0641ed0b75e06161198fca52805acb2e4 | [
"Apache-2.0"
] | 2 | 2018-09-10T06:34:31.000Z | 2018-09-17T06:05:23.000Z | from django.shortcuts import render, get_object_or_404, redirect
from django.views.generic import TemplateView, ListView, DetailView, CreateView, UpdateView, DeleteView
from .models import EventListing
from django.contrib.auth.models import User
from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestM... | 34.22973 | 103 | 0.771812 |
41f3414ddc71ae0722724bdd8d45123c20cde4a4 | 7,281 | py | Python | tests/h/tasks/indexer_test.py | 13625025773/h | db5115f2ce3a1dcbca70b553a69b561e6d762285 | [
"BSD-2-Clause"
] | null | null | null | tests/h/tasks/indexer_test.py | 13625025773/h | db5115f2ce3a1dcbca70b553a69b561e6d762285 | [
"BSD-2-Clause"
] | null | null | null | tests/h/tasks/indexer_test.py | 13625025773/h | db5115f2ce3a1dcbca70b553a69b561e6d762285 | [
"BSD-2-Clause"
] | null | null | null | import datetime
from unittest import mock
import pytest
from h_matchers import Any
from h.tasks import indexer
pytestmark = pytest.mark.usefixtures("settings_service")
| 29.962963 | 86 | 0.679852 |
41f51fdc9a71d64ddec01f1bc88fca3ad12d55cf | 1,022 | py | Python | allegroapi/entities/aftersalesserviceconditions.py | OceanFireSoftware/python-allegro | 112b0f2570fcf3840645dd62f6f7150956e56f9c | [
"MIT"
] | 17 | 2018-10-29T11:41:54.000Z | 2022-03-26T10:17:36.000Z | allegroapi/entities/aftersalesserviceconditions.py | OceanFireSoftware/python-allegro | 112b0f2570fcf3840645dd62f6f7150956e56f9c | [
"MIT"
] | 4 | 2018-11-12T14:41:23.000Z | 2020-06-24T13:22:27.000Z | allegroapi/entities/aftersalesserviceconditions.py | OceanFireSoftware/python-allegro | 112b0f2570fcf3840645dd62f6f7150956e56f9c | [
"MIT"
] | 8 | 2018-11-07T00:04:32.000Z | 2021-11-01T11:06:13.000Z | # coding=utf-8
"""
The After Sale Service Conditions endpoint
Documentation: https://developer.allegro.pl/documentation/#/
Schema:
"""
from __future__ import unicode_literals
from ..base import BaseApi
from .aftersalesserviceconditionreturnpolicies import AfterSaleServiceConditionReturnPolicies
from .aftersalesservi... | 34.066667 | 100 | 0.779843 |
41f5feecfe50cf78c71aaf4a80ea65c9c1794f05 | 1,594 | py | Python | todo/migrations/0004_rename_list_tasklist.py | Sowmya-1998/https-github.com-shacker-django-todo | 79a272d222ef262f4f6caee91d9accfb8569ccea | [
"BSD-3-Clause"
] | 567 | 2015-01-02T00:34:10.000Z | 2022-03-30T07:52:08.000Z | todo/migrations/0004_rename_list_tasklist.py | wu1f72514/django-todo | 2d86a51177a6f16cf4239fa3c034f6844c4bc048 | [
"BSD-3-Clause"
] | 94 | 2015-06-07T09:26:31.000Z | 2022-03-05T23:53:22.000Z | todo/migrations/0004_rename_list_tasklist.py | yeastbaron/tst | 2d86a51177a6f16cf4239fa3c034f6844c4bc048 | [
"BSD-3-Clause"
] | 272 | 2015-01-03T08:16:51.000Z | 2022-03-29T09:37:17.000Z | # Generated by Django 2.0.2 on 2018-02-09 23:15
from django.db import migrations, models
import django.db.models.deletion
| 34.652174 | 100 | 0.542033 |
41f645b0268395232820429ed217c3a8e3b0339a | 2,242 | py | Python | setup.py | villmow/astyle-py | d034ef1321f96be1c9259eacbc78828cb5affbf3 | [
"MIT"
] | null | null | null | setup.py | villmow/astyle-py | d034ef1321f96be1c9259eacbc78828cb5affbf3 | [
"MIT"
] | null | null | null | setup.py | villmow/astyle-py | d034ef1321f96be1c9259eacbc78828cb5affbf3 | [
"MIT"
] | null | null | null | import os
import pathlib
from setuptools import setup, Extension, find_packages
from setuptools.command.build_ext import build_ext as build_ext_orig
setup(
name='astyle',
version='3.1',
python_requires='>=3.6',
description='',
author='Johannes Villmow',
author_email='johannes.villmow@hs-rm... | 27.341463 | 82 | 0.619536 |
41f7670e3f67b2c46ccec5bd1231751b8b0d1013 | 13,597 | py | Python | main.py | faresbs/sign-language-tutor | d4091d6cd582a80a5ad38759e973357b02731fc8 | [
"MIT"
] | null | null | null | main.py | faresbs/sign-language-tutor | d4091d6cd582a80a5ad38759e973357b02731fc8 | [
"MIT"
] | null | null | null | main.py | faresbs/sign-language-tutor | d4091d6cd582a80a5ad38759e973357b02731fc8 | [
"MIT"
] | 1 | 2021-07-24T17:11:15.000Z | 2021-07-24T17:11:15.000Z | #
from __future__ import division, absolute_import
from __future__ import print_function, unicode_literals
import webbrowser
import random
from kivy.app import App
from kivy.clock import Clock
from kivy.uix.popup import Popup
from kivy.uix.button import Button
from kivy.core.window import Window
from kivy.core.text i... | 30.282851 | 140 | 0.565272 |
41f894f092cd6bbf807db69e5558917ec8c1411a | 277 | py | Python | second.py | cplanck/remote-playground | 75fd5de176cee4a31c28e06e8f030c25dd1e5106 | [
"MIT"
] | null | null | null | second.py | cplanck/remote-playground | 75fd5de176cee4a31c28e06e8f030c25dd1e5106 | [
"MIT"
] | null | null | null | second.py | cplanck/remote-playground | 75fd5de176cee4a31c28e06e8f030c25dd1e5106 | [
"MIT"
] | null | null | null | print('this is the first line of second.py')
for x in range(20):
print(x)
print('this is the chunk of code added to the fourth branch')
print('Im editing this file in GitHub to see if fetch finds it')
print('adding this code to push to the main on the remote repository') | 34.625 | 70 | 0.732852 |
41f98ab61415b06f65f52dd5b6c24263e187fcf4 | 2,600 | py | Python | server/server.py | daniiel-morales/dashboard-gt | 6a5eed37aea9542a5374f368349a149a79767e16 | [
"Apache-2.0"
] | null | null | null | server/server.py | daniiel-morales/dashboard-gt | 6a5eed37aea9542a5374f368349a149a79767e16 | [
"Apache-2.0"
] | null | null | null | server/server.py | daniiel-morales/dashboard-gt | 6a5eed37aea9542a5374f368349a149a79767e16 | [
"Apache-2.0"
] | null | null | null | from http.server import HTTPServer, BaseHTTPRequestHandler
from json import dumps as toJSON
from json import loads as formatJSON
print( 'SERVER>> started' )
httpd = HTTPServer(('0.0.0.0', 8080), SimpleHTTPRequestHandler)
httpd.serve_forever() | 43.333333 | 127 | 0.472692 |
41f9ca29c3f35036a1832f13ceb7d1aad3a2fd84 | 2,753 | py | Python | src/dx/share/property_maker.py | lmmx/dx | 063e8f8cfc24dfdf09a12001b58b4017a75ea3e8 | [
"MIT"
] | null | null | null | src/dx/share/property_maker.py | lmmx/dx | 063e8f8cfc24dfdf09a12001b58b4017a75ea3e8 | [
"MIT"
] | 2 | 2021-01-03T16:22:11.000Z | 2021-02-07T08:41:57.000Z | src/dx/share/property_maker.py | lmmx/dx | 063e8f8cfc24dfdf09a12001b58b4017a75ea3e8 | [
"MIT"
] | null | null | null | from inspect import currentframe
__all__ = ["add_props_to_ns", "add_classprops_to_ns", "classproperty", "props_as_dict"]
# use within a class definition as:
# add_props_to_ns(["attr1", "attr2"])
# Decorate a class method to get a static method @property,
# if used to access a __private attribute it makes it immutabl... | 34.4125 | 87 | 0.687977 |
41fa03ea2a97e7ba3d5ed2ad551872396e6ab07e | 1,538 | py | Python | scripts/genomes2decoadj.py | danydoerr/spp_dcj | 1ab9dacb1f0dc34a3ebbeed9e74226a9a53c297a | [
"MIT"
] | 2 | 2021-08-24T16:03:30.000Z | 2022-03-18T14:52:43.000Z | scripts/genomes2decoadj.py | danydoerr/spp_dcj | 1ab9dacb1f0dc34a3ebbeed9e74226a9a53c297a | [
"MIT"
] | null | null | null | scripts/genomes2decoadj.py | danydoerr/spp_dcj | 1ab9dacb1f0dc34a3ebbeed9e74226a9a53c297a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# import from built-in packages
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter as ADHF, FileType
from sys import stdout, stderr, exit
# import from own packages
import data_utils as du
import zombi_utils as zu
if __name__ == '__main__':
parser = ArgumentParser(formatte... | 35.767442 | 84 | 0.597529 |
41fabf8105aa6882a6a0f47a122cddef117b9740 | 850 | py | Python | src/runner-base/runnertools/runnertools/runner_io.py | ads-ad-itcenter/qunomon.forked | 48d532692d353fe2d3946f62b227f834f9349034 | [
"Apache-2.0"
] | 16 | 2020-11-18T05:43:55.000Z | 2021-11-27T14:43:26.000Z | src/runner-base/runnertools/runnertools/runner_io.py | aistairc/qunomon | d4e9c5cb569b16addfbe6c33c73812065065a1df | [
"Apache-2.0"
] | 1 | 2022-03-23T07:55:54.000Z | 2022-03-23T13:24:11.000Z | src/runner-base/runnertools/runnertools/runner_io.py | ads-ad-itcenter/qunomon.forked | 48d532692d353fe2d3946f62b227f834f9349034 | [
"Apache-2.0"
] | 3 | 2021-02-12T01:56:31.000Z | 2022-03-23T02:45:02.000Z | import os
import sys
import shutil
import glob
from pathlib import Path
import json
import yaml
# init
QAI_USER_HOME = os.environ['QAI_USER_HOME']
inventory_dir = os.path.join(QAI_USER_HOME, 'inventory/')
# check args
args_file = os.path.join(QAI_USER_HOME, 'args', 'args.json')
if os.path.exists(args_file):
print... | 25.757576 | 102 | 0.701176 |
41fad7b79bf623531fdf86ae606830190ed6952c | 7,260 | py | Python | stcloud/models/alert_notification.py | sematext/sematext-api-client-python | 16e025cd3d32aa58deb70fc5930ae4165afebe97 | [
"Apache-2.0"
] | 1 | 2020-05-01T12:15:52.000Z | 2020-05-01T12:15:52.000Z | stcloud/models/alert_notification.py | sematext/sematext-api-client-python | 16e025cd3d32aa58deb70fc5930ae4165afebe97 | [
"Apache-2.0"
] | null | null | null | stcloud/models/alert_notification.py | sematext/sematext-api-client-python | 16e025cd3d32aa58deb70fc5930ae4165afebe97 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Sematext Cloud API
API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. # noqa: E501
OpenAPI spec version: v3
... | 27.191011 | 236 | 0.576309 |
41fbb018ab7dc1247aa49df43fd30e8728cec5a7 | 2,681 | py | Python | yt_dlp_nao/extractor/sharevideos.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 80 | 2021-05-25T11:33:49.000Z | 2022-03-29T20:36:53.000Z | yt_dlp_nao/extractor/sharevideos.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 22 | 2021-05-08T13:44:12.000Z | 2022-03-30T01:27:23.000Z | yt_dlp_nao/extractor/sharevideos.py | sheerluck/ytdl-patched | 3242cc80a420fc1c4433dba680c84b1b5820ec68 | [
"Unlicense"
] | 22 | 2021-05-07T05:01:27.000Z | 2022-03-26T19:10:54.000Z | # coding: utf-8
from __future__ import unicode_literals
from ..utils import KNOWN_EXTENSIONS, determine_ext, mimetype2ext, try_get
from .common import InfoExtractor
| 40.621212 | 132 | 0.553152 |
41fcafa9cfe3c6364437bc4f87db3975572a073b | 395 | py | Python | findastring.py | Vicfred/hackerrankpython | c1f12ba006af67fede23885eda384f7d4f70eaf4 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T06:35:56.000Z | 2019-10-09T06:35:56.000Z | findastring.py | Vicfred/hackerrankpython | c1f12ba006af67fede23885eda384f7d4f70eaf4 | [
"BSD-3-Clause"
] | null | null | null | findastring.py | Vicfred/hackerrankpython | c1f12ba006af67fede23885eda384f7d4f70eaf4 | [
"BSD-3-Clause"
] | null | null | null |
if __name__ == '__main__':
string = input().strip()
sub_string = input().strip()
count = count_substring(string, sub_string)
print(count)
| 21.944444 | 47 | 0.567089 |
41fcbae51b6b4d918647866a4d886740e6ff0dcc | 3,509 | py | Python | bin/pipeline_python_scripts/filtered_bcf_to_fasta.py | thanhleviet/bactmap | fca8cab8a787c6ec4f2548d1ec0d755cc3879b17 | [
"MIT"
] | 1 | 2021-11-04T06:37:16.000Z | 2021-11-04T06:37:16.000Z | bin/pipeline_python_scripts/filtered_bcf_to_fasta.py | aunderwo/nf-core-bacterialmappingphylogeny | 36cfbf477cf4e509f416db194c601c9b9ba402e1 | [
"MIT"
] | null | null | null | bin/pipeline_python_scripts/filtered_bcf_to_fasta.py | aunderwo/nf-core-bacterialmappingphylogeny | 36cfbf477cf4e509f416db194c601c9b9ba402e1 | [
"MIT"
] | 1 | 2019-06-09T11:11:37.000Z | 2019-06-09T11:11:37.000Z | #!/usr/bin/env python3
from pysam import VariantFile
from Bio import SeqIO
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord
import argparse, sys, os
if __name__ == '__main__':
parser = argparser()
args = parser.parse_args()
reference_length = calculate_reference_length(args.reference_file)
... | 41.282353 | 103 | 0.61328 |
41fd165db6c8a84c540b7e600fd39047e08cbea8 | 164 | py | Python | Programming_warmup.py | Databackbone/Automate_the_boring_stuff_with_python | 9bdd776a5fbcd01383eccd86d03743fbcfdf8d4d | [
"MIT"
] | null | null | null | Programming_warmup.py | Databackbone/Automate_the_boring_stuff_with_python | 9bdd776a5fbcd01383eccd86d03743fbcfdf8d4d | [
"MIT"
] | null | null | null | Programming_warmup.py | Databackbone/Automate_the_boring_stuff_with_python | 9bdd776a5fbcd01383eccd86d03743fbcfdf8d4d | [
"MIT"
] | null | null | null | print("Hello World")
my_name = input("Whats your name? ")
print("Hello " + my_name)
print('Did you know that your name is ' + str(len(my_name)) + ' letters long!')
| 32.8 | 79 | 0.670732 |
41fd6b1df7ad49effb746320550c4a72ebdd85f9 | 600 | py | Python | plotplayer/__init__.py | Jman420/plotplayer | 3a224fc38c2825c4166e7534970a792f0e96bd84 | [
"Apache-2.0"
] | null | null | null | plotplayer/__init__.py | Jman420/plotplayer | 3a224fc38c2825c4166e7534970a792f0e96bd84 | [
"Apache-2.0"
] | 7 | 2018-06-20T19:44:45.000Z | 2022-03-11T23:18:57.000Z | plotplayer/__init__.py | Jman420/plotplayer | 3a224fc38c2825c4166e7534970a792f0e96bd84 | [
"Apache-2.0"
] | 2 | 2018-04-08T14:36:13.000Z | 2018-06-20T19:41:42.000Z | """
Root PlotPlayer Package contains all the data structures, modules and classes used by the
PlotPlayer project.
Public Modules:
* plotplayer - Contains the PlotPlayer interface and functionality; this is the most
common entry point for most usages
Subpackages:
* helpers - Contains various modules containi... | 30 | 89 | 0.788333 |
41fe10662f063c61998d2ea5f5fcc421ad3d452f | 581 | py | Python | mulm/residualizer/__init__.py | neurospin/pylearn-mulm | cfbcda8312a495a8e82657e04b67dc95db2a3306 | [
"BSD-3-Clause"
] | 6 | 2015-02-27T13:29:36.000Z | 2021-05-04T11:45:42.000Z | mulm/residualizer/__init__.py | neurospin/pylearn-mulm | cfbcda8312a495a8e82657e04b67dc95db2a3306 | [
"BSD-3-Clause"
] | null | null | null | mulm/residualizer/__init__.py | neurospin/pylearn-mulm | cfbcda8312a495a8e82657e04b67dc95db2a3306 | [
"BSD-3-Clause"
] | 1 | 2020-05-20T15:42:07.000Z | 2020-05-20T15:42:07.000Z | # -*- coding: utf-8 -*-
##########################################################################
# Created on Tue Jun 25 13:25:41 2013
# Copyright (c) 2013-2021, CEA/DRF/Joliot/NeuroSpin. All rights reserved.
# @author: Edouard Duchesnay
# @email: edouard.duchesnay@cea.fr
# @license: BSD 3-clause.
################... | 29.05 | 74 | 0.531842 |
41fe337783fd0acd1878e31b03ab252088080ee0 | 10,915 | py | Python | main.py | Sergiogd112/pynote | 1f5bd7e6a0297c10e4f205cb68355d19eb76f796 | [
"MIT"
] | null | null | null | main.py | Sergiogd112/pynote | 1f5bd7e6a0297c10e4f205cb68355d19eb76f796 | [
"MIT"
] | null | null | null | main.py | Sergiogd112/pynote | 1f5bd7e6a0297c10e4f205cb68355d19eb76f796 | [
"MIT"
] | null | null | null | from copy import copy
import json
import os
import re
from pprint import pprint as print
from typing import Union
import networkx as nx
import numpy as np
from dpath.util import get
from matplotlib import pyplot as plt
if __name__ == "__main__":
file = "test.md"
with open(file, "r") as f:
t... | 32.008798 | 88 | 0.386441 |
5100e45949d99a2a63dab8597839d2c198bb247c | 15,759 | py | Python | flow/controllers/car_following_models.py | mark-koren/flow | f3f6d7e9c64f6b641a464a716c7f38ca00388805 | [
"MIT"
] | null | null | null | flow/controllers/car_following_models.py | mark-koren/flow | f3f6d7e9c64f6b641a464a716c7f38ca00388805 | [
"MIT"
] | null | null | null | flow/controllers/car_following_models.py | mark-koren/flow | f3f6d7e9c64f6b641a464a716c7f38ca00388805 | [
"MIT"
] | null | null | null | """
This script contains several car-following control models for flow-controlled
vehicles.
Controllers can have their output delayed by some duration. Each controller
includes functions
get_accel(self, env) -> acc
- using the current state of the world and existing parameters,
uses the control mod... | 35.334081 | 94 | 0.578273 |
510189956b36fd250d873884e457135e0f5d9814 | 352 | py | Python | pset_pandas_ext/101problems/p37.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 5 | 2019-04-08T20:05:37.000Z | 2019-12-04T20:48:45.000Z | pset_pandas_ext/101problems/p37.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 8 | 2019-04-15T15:16:05.000Z | 2022-02-12T10:33:32.000Z | pset_pandas_ext/101problems/p37.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 2 | 2019-04-10T00:14:42.000Z | 2020-02-26T20:35:21.000Z | """
37. How to get the nrows, ncolumns, datatype, summary stats of each column of a dataframe? Also get the array and list equivalent.
"""
"""
Difficulty Level: L2
"""
"""
Get the number of rows, columns, datatype and summary statistics of each column of the Cars93 dataset. Also get the numpy array and list equivalent ... | 27.076923 | 165 | 0.71875 |
51028ba9fbae2ebbe8975975bdd7ca54b3f5c70a | 307 | py | Python | src/accounts/api/urls.py | njNafir/blogapi-django | 2ce86ea7b1e589b10bd314e62ee9359225577620 | [
"bzip2-1.0.6",
"MIT"
] | 1 | 2019-09-29T06:41:41.000Z | 2019-09-29T06:41:41.000Z | src/accounts/api/urls.py | njNafir/blogapi-django | 2ce86ea7b1e589b10bd314e62ee9359225577620 | [
"bzip2-1.0.6",
"MIT"
] | 2 | 2019-10-26T05:31:23.000Z | 2020-03-14T13:22:42.000Z | src/accounts/api/urls.py | njNafir/blogapi-django | 2ce86ea7b1e589b10bd314e62ee9359225577620 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | from django.urls import path, re_path
from django.contrib import admin
from .views import (
UserCreateAPIView,
UserLoginAPIView
)
urlpatterns = [
re_path(r'^login/$', UserLoginAPIView.as_view(), name='login_api'),
re_path(r'^register/$', UserCreateAPIView.as_view(), name='register_api'),
]
| 23.615385 | 78 | 0.726384 |
5102d3fc83a6a50bd2856d794fbbf9fc67809890 | 3,423 | py | Python | bookstore/news/views.py | M0673N/bookstore | ec9477550ba46f9ffde3817cf676e97b0239263d | [
"MIT"
] | null | null | null | bookstore/news/views.py | M0673N/bookstore | ec9477550ba46f9ffde3817cf676e97b0239263d | [
"MIT"
] | null | null | null | bookstore/news/views.py | M0673N/bookstore | ec9477550ba46f9ffde3817cf676e97b0239263d | [
"MIT"
] | null | null | null | from django.contrib.auth.mixins import LoginRequiredMixin
from django.shortcuts import redirect, render
from django.urls import reverse_lazy
from django.views import View
from django.views.generic import ListView, CreateView, DetailView, UpdateView, DeleteView
from bookstore.news.forms import ArticleForm, ArticleComme... | 32.913462 | 100 | 0.682734 |
51055c3587f6d5d9463d1a188551aa8abd12262e | 2,345 | py | Python | lessons/lab/lesson2.py | VenturaDelMonte/socialnetworks | caef475a639e9040361699fe64944e1c69ed8a72 | [
"MIT"
] | null | null | null | lessons/lab/lesson2.py | VenturaDelMonte/socialnetworks | caef475a639e9040361699fe64944e1c69ed8a72 | [
"MIT"
] | null | null | null | lessons/lab/lesson2.py | VenturaDelMonte/socialnetworks | caef475a639e9040361699fe64944e1c69ed8a72 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import random
import math
# n is the number of nodes
# r is the radius of each node (a node u is connected with each other node at distance at most r) - strong ties
# k is the number of random edges for each node u - weak ties
# n is the number of nodes
# r is the radius
# k is the numbe... | 33.028169 | 152 | 0.609808 |
51060c7c0ec077094d06da205e431f242f2cef7b | 636 | py | Python | app/graham/training-snakes-master/app/snakes/unused/snake_2.py | CallumBrown743/starter-snake-python | 79495dcb5f84fca1d67b563380f3b9a1e961db02 | [
"MIT"
] | null | null | null | app/graham/training-snakes-master/app/snakes/unused/snake_2.py | CallumBrown743/starter-snake-python | 79495dcb5f84fca1d67b563380f3b9a1e961db02 | [
"MIT"
] | null | null | null | app/graham/training-snakes-master/app/snakes/unused/snake_2.py | CallumBrown743/starter-snake-python | 79495dcb5f84fca1d67b563380f3b9a1e961db02 | [
"MIT"
] | 1 | 2019-07-10T18:12:25.000Z | 2019-07-10T18:12:25.000Z | from utils.vector import up, down, left, right, noop
from .base_snake import BaseSnake
| 19.272727 | 55 | 0.580189 |
5106214506f793bc5b6a74543106b1ab667f18e9 | 2,853 | py | Python | tests/test_gp_layer.py | timrudner/snr_issues_in_deep_gps | df7dcbc7f2380514c28286b6a924ed9b8b5f45f6 | [
"Apache-2.0"
] | 5 | 2020-11-17T18:22:24.000Z | 2021-07-30T15:02:54.000Z | tests/test_gp_layer.py | OATML/snr_issues_in_deep_gps | d64b1b7902cf04e752eaa04d91f2a4125f70caa8 | [
"Apache-2.0"
] | null | null | null | tests/test_gp_layer.py | OATML/snr_issues_in_deep_gps | d64b1b7902cf04e752eaa04d91f2a4125f70caa8 | [
"Apache-2.0"
] | 2 | 2020-11-01T15:42:39.000Z | 2020-11-02T16:19:45.000Z | """
Unchanged from https://github.com/hughsalimbeni/DGPs_with_IWVI/blob/master/tests/test_gp_layer.py
"""
import numpy as np
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.FATAL)
import gpflow
from dgps_with_iwvi.layers import GPLayer
from dgps_with_iwvi.models import DGP_VI
| 27.171429 | 97 | 0.628812 |
5107eafd84fb53ab4ae640dc672eec0eebc624d4 | 304 | py | Python | receipt_parser/__init__.py | slgero/check_parser | 7419da2d6ce99a7a9d7b666072b138059ad856d4 | [
"MIT"
] | 48 | 2020-08-06T11:13:19.000Z | 2022-02-27T10:12:09.000Z | receipt_parser/__init__.py | slgero/check_parser | 7419da2d6ce99a7a9d7b666072b138059ad856d4 | [
"MIT"
] | 3 | 2020-08-11T21:00:11.000Z | 2020-09-06T08:46:59.000Z | receipt_parser/__init__.py | slgero/check_parser | 7419da2d6ce99a7a9d7b666072b138059ad856d4 | [
"MIT"
] | 5 | 2020-08-06T11:34:05.000Z | 2021-08-21T12:46:45.000Z | """A package which allow parsing Reussian receipts."""
__version__ = "0.0.28"
__license__ = "MIT"
from .receipt_parser import RuleBased # type: ignore
from .finder import Finder # type: ignore
from .normalizer import Normalizer # type: ignore
from .cat_model import PredictCategory # type: ignore
| 27.636364 | 54 | 0.753289 |
510808f0c99920a471ba2152bc626f388ab44b82 | 2,119 | py | Python | baseStation/src/ui/domain/subroutine/sightSubroutine.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | baseStation/src/ui/domain/subroutine/sightSubroutine.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | baseStation/src/ui/domain/subroutine/sightSubroutine.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | import tkinter as tk
from tkinter import ttk, messagebox
from remote.domain.commandCallback import CommandCallback
from remote.domain.commandStatus import CommandStatus
from ui.domain.subroutine.iSubroutineRunner import ISubroutineRunner
from ui.domain.subroutine.subroutine import Subroutine
| 43.244898 | 104 | 0.70505 |
5108acb1844c700e625cb0993bfe1e5359c2d8c2 | 1,322 | py | Python | code/mne_website_example.py | hrayatnia/pycon | cba9b8236db228a74bef32cae55a3a190c77f29f | [
"BSD-2-Clause"
] | 1 | 2016-05-20T15:55:46.000Z | 2016-05-20T15:55:46.000Z | code/mne_website_example.py | hrayatnia/pycon | cba9b8236db228a74bef32cae55a3a190c77f29f | [
"BSD-2-Clause"
] | null | null | null | code/mne_website_example.py | hrayatnia/pycon | cba9b8236db228a74bef32cae55a3a190c77f29f | [
"BSD-2-Clause"
] | null | null | null | import mne
raw = mne.io.read_raw_fif('raw.fif', preload=True) # load data
raw.info['bads'] = ['MEG 2443', 'EEG 053'] # mark bad channels
raw.filter(l_freq=None, h_freq=40.0) # low-pass filter data
# Extract epochs and save them:
picks = mne.pick_types(raw.info, meg=True, eeg=True, eog=True,
... | 48.962963 | 67 | 0.633888 |
510a9fe0a0e3d149e12c9abb482ed45935c45cee | 10 | py | Python | Commons/Variables.py | CT83/PyDashBoard | 4bd5437660fbae319620e845a6cd4c34f75bea5c | [
"Apache-2.0"
] | null | null | null | Commons/Variables.py | CT83/PyDashBoard | 4bd5437660fbae319620e845a6cd4c34f75bea5c | [
"Apache-2.0"
] | null | null | null | Commons/Variables.py | CT83/PyDashBoard | 4bd5437660fbae319620e845a6cd4c34f75bea5c | [
"Apache-2.0"
] | null | null | null | RESP = []
| 5 | 9 | 0.4 |
510e7d761a0205fac7d0452da442f424ba54e3c1 | 10,965 | py | Python | Scripts/IDEA_4/Additive_Network.py | dearbornlavern/my-deity | 76f103b382fd45bcc1854e19f7b4ca5d207be3f8 | [
"MIT"
] | 24 | 2017-10-14T15:38:35.000Z | 2021-02-05T18:01:37.000Z | Scripts/IDEA_4/Additive_Network.py | dearbornlavern/my-deity | 76f103b382fd45bcc1854e19f7b4ca5d207be3f8 | [
"MIT"
] | 2 | 2017-12-03T15:13:01.000Z | 2018-12-03T05:00:06.000Z | Scripts/IDEA_4/Additive_Network.py | dearbornlavern/my-deity | 76f103b382fd45bcc1854e19f7b4ca5d207be3f8 | [
"MIT"
] | 5 | 2017-10-17T13:28:42.000Z | 2020-06-30T23:48:34.000Z | """
The script that creates the neural network architecture based on the concept.txt. The script uses command-line arguments
for specifying the structure of the network and the hyperparameters for the training.
use ->
User:~$ python Additive_Network --help
for the usage information of this module
... | 42.5 | 124 | 0.624168 |
511056a39b1c224d0c6ccad1ee52150327e9b87b | 4,074 | py | Python | functions.py | QijingMa/COGS18-Final-Project | 71d2761706f2614bcee2e5d5d2b42a98af542d21 | [
"MIT"
] | null | null | null | functions.py | QijingMa/COGS18-Final-Project | 71d2761706f2614bcee2e5d5d2b42a98af542d21 | [
"MIT"
] | null | null | null | functions.py | QijingMa/COGS18-Final-Project | 71d2761706f2614bcee2e5d5d2b42a98af542d21 | [
"MIT"
] | null | null | null | """A collection of function for doing my project."""
import time
import random
#Background Introduction
def choosePokemon():#a function that allow user choose a pokemon and store its value
""" """
Pokemon=""
while Pokemon != "charmander" and Pokemon != "squirtle" and Pokemon != "bulbasaur":... | 29.309353 | 148 | 0.61512 |
51107035f4e15f54ac07d9fc6430729a7c1928eb | 432 | py | Python | python/high-scores/high_scores_old.py | christine-court/exercism | 0e8fbac1c75ee09003d470352e82b076e2816c44 | [
"MIT"
] | null | null | null | python/high-scores/high_scores_old.py | christine-court/exercism | 0e8fbac1c75ee09003d470352e82b076e2816c44 | [
"MIT"
] | null | null | null | python/high-scores/high_scores_old.py | christine-court/exercism | 0e8fbac1c75ee09003d470352e82b076e2816c44 | [
"MIT"
] | null | null | null | from unittest.main import main
if __name__ == "__main__":
personal_top_three([10, 20, 30])
| 17.28 | 44 | 0.645833 |
511348d0f7e727316d9decb80f7903c72de66bea | 486 | py | Python | changelogger/urls.py | zhelyabuzhsky/changelogger | 8dbbfe978a86fa89a7eae23525c60c5f281fea6c | [
"MIT"
] | 1 | 2020-04-14T06:10:23.000Z | 2020-04-14T06:10:23.000Z | changelogger/urls.py | zhelyabuzhsky/changelogger | 8dbbfe978a86fa89a7eae23525c60c5f281fea6c | [
"MIT"
] | 43 | 2019-08-23T06:23:57.000Z | 2022-03-18T06:30:34.000Z | changelogger/urls.py | zhelyabuzhsky/changelogger | 8dbbfe978a86fa89a7eae23525c60c5f281fea6c | [
"MIT"
] | null | null | null | from django.conf.urls import include
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.urls import path
urlpatterns = [
path("", include("changelogs.urls")),
path("admin/", admin.site.urls),
path("accounts/", include("django.contrib.auth.urls")),
path("log... | 34.714286 | 70 | 0.709877 |
5114354ad5ad525405797b35a81e317c5cddc494 | 6,878 | py | Python | gorillabot/plugins/info.py | pep7/GorillaBot | b29ae1f05423494f7e122906efe24e9ffcd1421e | [
"MIT"
] | 21 | 2015-03-14T16:16:53.000Z | 2021-06-13T01:59:05.000Z | gorillabot/plugins/info.py | pep7/GorillaBot | b29ae1f05423494f7e122906efe24e9ffcd1421e | [
"MIT"
] | 7 | 2016-03-18T05:12:23.000Z | 2021-03-30T16:23:47.000Z | gorillabot/plugins/info.py | pep7/GorillaBot | b29ae1f05423494f7e122906efe24e9ffcd1421e | [
"MIT"
] | 11 | 2015-04-30T19:32:22.000Z | 2021-03-20T07:10:55.000Z | # Copyright (c) 2013-2016 Molly White
#
# 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, publish,
# di... | 41.185629 | 100 | 0.593777 |
5114a0a4a663a6a149e2b8d3bb3ce57af9ed64bc | 2,854 | py | Python | rasa_nlu/featurizers/universal_sent_encoder.py | Beeketing/rasa_nlu | 365e4b20a3209e028c1fd627f60f7d9c52b7f540 | [
"Apache-2.0"
] | null | null | null | rasa_nlu/featurizers/universal_sent_encoder.py | Beeketing/rasa_nlu | 365e4b20a3209e028c1fd627f60f7d9c52b7f540 | [
"Apache-2.0"
] | null | null | null | rasa_nlu/featurizers/universal_sent_encoder.py | Beeketing/rasa_nlu | 365e4b20a3209e028c1fd627f60f7d9c52b7f540 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import re
import tensorflow as tf
import tensorflow_hub as hub
from rasa_nlu.featurizers import Featurizer
| 40.197183 | 113 | 0.655571 |
5114f6dd6c71e97bccef2ea810c92e0780f9c928 | 9,676 | py | Python | automl_pn/binary_classifier.py | CTPAHH1K/auto-binary-classifier | 7861e2d13f983b67673745ac684b62c878e61396 | [
"MIT"
] | null | null | null | automl_pn/binary_classifier.py | CTPAHH1K/auto-binary-classifier | 7861e2d13f983b67673745ac684b62c878e61396 | [
"MIT"
] | null | null | null | automl_pn/binary_classifier.py | CTPAHH1K/auto-binary-classifier | 7861e2d13f983b67673745ac684b62c878e61396 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from automl_pn.utils.models import models_list, MODELS_STR_TO_OBJECT
from automl_pn.utils.metrics import score_func, higher_better
from automl_pn.utils.preprocessor import Preprocessor
from sklearn.model_selection import train_test_split
from joblib import Parallel, delayed
| 33.365517 | 120 | 0.568933 |
5115040a9297d96bcba86de08715e799af4b3898 | 259 | py | Python | Mat_Comp/cap3/teste_3.3-SquareWave.py | yuri-pin/Execicios_Python | 385c8be8ceaf5055e32b9a4214224601894a27c1 | [
"MIT"
] | null | null | null | Mat_Comp/cap3/teste_3.3-SquareWave.py | yuri-pin/Execicios_Python | 385c8be8ceaf5055e32b9a4214224601894a27c1 | [
"MIT"
] | null | null | null | Mat_Comp/cap3/teste_3.3-SquareWave.py | yuri-pin/Execicios_Python | 385c8be8ceaf5055e32b9a4214224601894a27c1 | [
"MIT"
] | null | null | null | from pylab import plot,show
from numpy import linspace,sin
#linspace(a,b,c) tem inicio no ponto 'a' fim no ponto 'b' e dividido em 'c' partes
x = linspace(-10,10,1000)
f = 0
for i in range(0,100):
f = f + sin((2*i+1)*x)/(2*i+1)
y = f
plot(x, y)
show()
| 21.583333 | 84 | 0.637066 |
51167909c8f3655c3508b71eb5952981e22aac43 | 1,995 | py | Python | lib/googlecloudsdk/third_party/apis/categorymanager/v1alpha1/resources.py | bopopescu/Google-Cloud-SDK-1 | c4683bacb2f6192d8a816932e438a0493085469b | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/categorymanager/v1alpha1/resources.py | bopopescu/Google-Cloud-SDK-1 | c4683bacb2f6192d8a816932e438a0493085469b | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/categorymanager/v1alpha1/resources.py | bopopescu/Google-Cloud-SDK-1 | c4683bacb2f6192d8a816932e438a0493085469b | [
"Apache-2.0"
] | 1 | 2020-07-24T20:13:29.000Z | 2020-07-24T20:13:29.000Z | # Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 25.576923 | 76 | 0.625063 |
5116c1aaabb06943907a648c428e69e237f18f57 | 264 | py | Python | sfa.py | ISeeBugsEverywhere/SnapFlatApp | 5526311297a018312175b90623e1ff9613bc4d30 | [
"Unlicense"
] | null | null | null | sfa.py | ISeeBugsEverywhere/SnapFlatApp | 5526311297a018312175b90623e1ff9613bc4d30 | [
"Unlicense"
] | null | null | null | sfa.py | ISeeBugsEverywhere/SnapFlatApp | 5526311297a018312175b90623e1ff9613bc4d30 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python3
#-*- coding: utf-8 -*-
from PyQt5.QtWidgets import QApplication
from Main.SFA_main import SFA_window
import sys
if __name__ == "__main__":
app = QApplication(sys.argv)
window = SFA_window()
window.show()
sys.exit(app.exec_())
| 18.857143 | 40 | 0.685606 |
51182727b160a25985f27b6f7048d14356181fb2 | 2,340 | py | Python | python/acer/game.py | henrychilvers/acer | 7215d3bf25ad6631ec2ef098b8f88b27d1df995b | [
"BSD-3-Clause"
] | 1 | 2022-01-15T05:41:26.000Z | 2022-01-15T05:41:26.000Z | python/acer/game.py | henrychilvers/acer | 7215d3bf25ad6631ec2ef098b8f88b27d1df995b | [
"BSD-3-Clause"
] | null | null | null | python/acer/game.py | henrychilvers/acer | 7215d3bf25ad6631ec2ef098b8f88b27d1df995b | [
"BSD-3-Clause"
] | null | null | null | import datetime
import random
from acer.player import Player
| 30.38961 | 92 | 0.621795 |
5119ca14b836a5ba34d45f47b1f626beae832547 | 446 | py | Python | xr_fetcher/throttling.py | jrlangford/xr-fetcher | 8119601d942560fa2418f7bf376b737ddd359fa3 | [
"MIT"
] | null | null | null | xr_fetcher/throttling.py | jrlangford/xr-fetcher | 8119601d942560fa2418f7bf376b737ddd359fa3 | [
"MIT"
] | null | null | null | xr_fetcher/throttling.py | jrlangford/xr-fetcher | 8119601d942560fa2418f7bf376b737ddd359fa3 | [
"MIT"
] | null | null | null | from rest_framework import throttling
| 27.875 | 61 | 0.639013 |
511b45e66c5245a99c2902dd04256ca1c0aa4500 | 756 | py | Python | preader/reader/forms.py | jobscry/preader | 20bfcc88da723f1393f43a296ed12c03320d232e | [
"MIT"
] | null | null | null | preader/reader/forms.py | jobscry/preader | 20bfcc88da723f1393f43a296ed12c03320d232e | [
"MIT"
] | null | null | null | preader/reader/forms.py | jobscry/preader | 20bfcc88da723f1393f43a296ed12c03320d232e | [
"MIT"
] | null | null | null | from django import forms
from .models import Feed
| 30.24 | 88 | 0.678571 |
511b9c12335aaf16efd9724689690cb44f4b60ac | 114 | py | Python | montepython/likelihoods/Planck15_highl_TTTEEE/__init__.py | archaeo-pteryx/montepython_public | 6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37 | [
"MIT"
] | 69 | 2018-04-20T07:38:33.000Z | 2022-03-11T06:55:36.000Z | montepython/likelihoods/Planck15_highl_TTTEEE/__init__.py | archaeo-pteryx/montepython_public | 6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37 | [
"MIT"
] | 263 | 2018-05-20T21:58:11.000Z | 2022-03-30T21:45:48.000Z | montepython/likelihoods/Planck15_highl_TTTEEE/__init__.py | archaeo-pteryx/montepython_public | 6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37 | [
"MIT"
] | 78 | 2018-04-21T13:11:54.000Z | 2022-02-01T01:57:31.000Z | from montepython.likelihood_class import Likelihood_clik
| 19 | 56 | 0.850877 |
511ba19bf0b9fb7d2426745e79893e633d788d0d | 1,344 | py | Python | dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_screener.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_screener.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_screener.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | #py_screener.py
def screener(user_inp=None):
"""A function to square only floating points.
Returns custom exceptions if an int or complex is encountered."""
#make sure something was input
if not user_inp:
print("Ummm...did you type in ANYTHING?")
return
#If it *might* be a floa... | 34.461538 | 85 | 0.613839 |
511bec133fc272de551e34b13120c9365863cf42 | 2,586 | py | Python | src/pyramidbridge/rethinkdb/connection.py | sawdog/pyramidbridge | 1ecc0721c79287093d091d8a717d78b6a8a05814 | [
"MIT"
] | 1 | 2019-08-26T00:32:03.000Z | 2019-08-26T00:32:03.000Z | src/pyramidbridge/rethinkdb/connection.py | sawdog/pyramidbridge | 1ecc0721c79287093d091d8a717d78b6a8a05814 | [
"MIT"
] | null | null | null | src/pyramidbridge/rethinkdb/connection.py | sawdog/pyramidbridge | 1ecc0721c79287093d091d8a717d78b6a8a05814 | [
"MIT"
] | null | null | null | """rethinkDB connection"""
import rethinkdb as r
def remove(self):
"""close and remove the connection"""
self.close()
self.__connection__ = None
def commit(self):
"""call run on the db"""
return
def open(self):
"""
close the connection if it is o... | 22.884956 | 67 | 0.515468 |
511bfadb8c08f941783fb064d195f7605245dcc5 | 2,475 | py | Python | python/Clique_Percolation_Method.py | JasonPap/graphproject | 6f42e53cb41a0b7859145f17a109149782d6b654 | [
"MIT"
] | 1 | 2019-11-29T02:15:58.000Z | 2019-11-29T02:15:58.000Z | python/Clique_Percolation_Method.py | JasonPap/graphproject | 6f42e53cb41a0b7859145f17a109149782d6b654 | [
"MIT"
] | null | null | null | python/Clique_Percolation_Method.py | JasonPap/graphproject | 6f42e53cb41a0b7859145f17a109149782d6b654 | [
"MIT"
] | null | null | null | __author__ = 'Jason'
import itertools
from Graph import *
from GraphStatistics import *
| 24.75 | 55 | 0.559192 |
511c0ec79149301c19180acf5a593df02325cbba | 28,843 | py | Python | main.py | KWinston/ShipyardSystem | b1dfca9cf4130ff5f31871bc8783e6a91b176a78 | [
"MIT"
] | null | null | null | main.py | KWinston/ShipyardSystem | b1dfca9cf4130ff5f31871bc8783e6a91b176a78 | [
"MIT"
] | null | null | null | main.py | KWinston/ShipyardSystem | b1dfca9cf4130ff5f31871bc8783e6a91b176a78 | [
"MIT"
] | null | null | null |
# CMPT 200 Lab 5 Queue Management System
#
# Author: Winston Kouch
# MacEwan ID: 1645889
#
# Date: November 3, 2014
#
# To start program: type in console: main()
# WARNING: !!! to avoid graphics.py crashes, use the rectangular exit
# buttons within the menu instead of clicking ... | 41.801449 | 146 | 0.621295 |
511e08da85195a8a014fa2517dcdf6f29b77769d | 1,695 | py | Python | examples/postmessage.py | haramaki/spark-openstack | 28bee631304a472ad23d491bb8c8aaa3b6c54e7b | [
"Apache-2.0"
] | 1 | 2016-04-11T14:56:30.000Z | 2016-04-11T14:56:30.000Z | examples/postmessage.py | haramaki/spark-openstack | 28bee631304a472ad23d491bb8c8aaa3b6c54e7b | [
"Apache-2.0"
] | null | null | null | examples/postmessage.py | haramaki/spark-openstack | 28bee631304a472ad23d491bb8c8aaa3b6c54e7b | [
"Apache-2.0"
] | null | null | null | # 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
# distributed under the... | 31.981132 | 94 | 0.704425 |
511f3d0a8bd71ef88a6807d6b906d8dd6c56cae4 | 1,596 | py | Python | python3/939.minimum-area-rectangle.334012431.ac.py | Diego-Zulu/leetcode_answers | ad435df1bd95fb2c6e17d2d9ff349282c98ee0f4 | [
"MIT"
] | null | null | null | python3/939.minimum-area-rectangle.334012431.ac.py | Diego-Zulu/leetcode_answers | ad435df1bd95fb2c6e17d2d9ff349282c98ee0f4 | [
"MIT"
] | null | null | null | python3/939.minimum-area-rectangle.334012431.ac.py | Diego-Zulu/leetcode_answers | ad435df1bd95fb2c6e17d2d9ff349282c98ee0f4 | [
"MIT"
] | null | null | null | #
# @lc app=leetcode id=939 lang=python3
#
# [939] Minimum Area Rectangle
#
# https://leetcode.com/problems/minimum-area-rectangle/description/
#
# algorithms
# Medium (52.14%)
# Likes: 575
# Dislikes: 113
# Total Accepted: 43.7K
# Total Submissions: 83.8K
# Testcase Example: '[[1,1],[1,3],[3,1],[3,3],[2,2]]'
#
... | 21.28 | 78 | 0.540727 |
5120509611a967e0d05797a24c393203ba37219e | 115 | py | Python | nmmis/contrib/district/admin.py | mgrsantox/nmmis | 77f5bc0907c4fa7babe177a07ea144c2ac8b2eca | [
"BSD-2-Clause"
] | null | null | null | nmmis/contrib/district/admin.py | mgrsantox/nmmis | 77f5bc0907c4fa7babe177a07ea144c2ac8b2eca | [
"BSD-2-Clause"
] | null | null | null | nmmis/contrib/district/admin.py | mgrsantox/nmmis | 77f5bc0907c4fa7babe177a07ea144c2ac8b2eca | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from nmmis.contrib.district.models import District
admin.site.register(District)
| 23 | 50 | 0.843478 |
512343ea0d351f0da830815708de2c6d76a77799 | 2,007 | py | Python | models/vgg16_unfreezed_block2.py | VictorAtPL/Pascal-VOC12_Class-segmentation_Tensorflow-2.0.0 | ec79e4347874550601f5c9f75b42f099d10b5a95 | [
"MIT"
] | 1 | 2020-11-07T07:12:15.000Z | 2020-11-07T07:12:15.000Z | models/vgg16_unfreezed_block2.py | VictorAtPL/Pascal-VOC12_Class-segmentation_Tensorflow-2.0.0 | ec79e4347874550601f5c9f75b42f099d10b5a95 | [
"MIT"
] | 1 | 2020-09-25T19:51:13.000Z | 2020-09-25T19:51:13.000Z | models/vgg16_unfreezed_block2.py | VictorAtPL/Pascal-VOC12_Class-segmentation_Tensorflow-2.0.0 | ec79e4347874550601f5c9f75b42f099d10b5a95 | [
"MIT"
] | 1 | 2020-11-07T08:57:46.000Z | 2020-11-07T08:57:46.000Z | from tensorflow import keras
from tensorflow.keras.applications import VGG16
from tensorflow.keras.layers import Conv2D, Conv2DTranspose, Activation
from AbstractModel import AbstractModel
from common import load_sets_count, get_input_fn_and_steps_per_epoch, pascal_voc2012_segmentation_annotated_parser, \
pascal_v... | 37.867925 | 117 | 0.685102 |
5123590c3fd365bf56e8d06d0192a1521867fd54 | 2,018 | py | Python | blog/models.py | IreneG5/spss_online | 760abcdd3304a141396ab982ca17cb992afbcecd | [
"CNRI-Python",
"blessing"
] | 14 | 2017-09-28T12:15:42.000Z | 2022-01-27T20:27:01.000Z | blog/models.py | IreneG5/spss_online | 760abcdd3304a141396ab982ca17cb992afbcecd | [
"CNRI-Python",
"blessing"
] | null | null | null | blog/models.py | IreneG5/spss_online | 760abcdd3304a141396ab982ca17cb992afbcecd | [
"CNRI-Python",
"blessing"
] | 9 | 2017-10-25T16:49:02.000Z | 2022-01-22T10:48:18.000Z | # -*- coding: utf-8 -*-
from django.db import models
from django.utils import timezone
from django.conf import settings
| 32.548387 | 77 | 0.708622 |
5123c2761c67b4b532648ff9a01ddea36a08f768 | 1,397 | py | Python | sponsors/migrations/0001_initial.py | miguelfg/django-sponsors | 7615926ffd08e115ef1cd8814e038f12f669d5c3 | [
"MIT"
] | 1 | 2018-06-26T21:53:40.000Z | 2018-06-26T21:53:40.000Z | sponsors/migrations/0001_initial.py | miguelfg/django-sponsors | 7615926ffd08e115ef1cd8814e038f12f669d5c3 | [
"MIT"
] | null | null | null | sponsors/migrations/0001_initial.py | miguelfg/django-sponsors | 7615926ffd08e115ef1cd8814e038f12f669d5c3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import datetime
| 43.65625 | 160 | 0.592699 |