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
642d803688df88f4bfdeaaef4cc078fe36396c9e
622
py
Python
test/example/weather.py
lawsn/crawlingpy
d8737fb4964bf2492fbd91557cd6a152dd80889a
[ "Apache-2.0" ]
null
null
null
test/example/weather.py
lawsn/crawlingpy
d8737fb4964bf2492fbd91557cd6a152dd80889a
[ "Apache-2.0" ]
null
null
null
test/example/weather.py
lawsn/crawlingpy
d8737fb4964bf2492fbd91557cd6a152dd80889a
[ "Apache-2.0" ]
null
null
null
import requests from bs4 import BeautifulSoup url = 'https://weather.com/weather/tenday/l/' param = 'b757e0078b0b135DetailsSummary--tempValue--RcZzi0973ea8930d24ef111c7b8457939f4e2046fc8bbe48119f17' response = requests.get(url + param) print(response.text) soup = BeautifulSoup(response.text, 'html.parser') dateTime...
25.916667
106
0.766881
642dcacaee4a8f97f5492f6645961bdd1c1df4eb
2,857
py
Python
CreateImages.py
AlJ95/VanPixel-CNN-approach
ce49af871d31211263ea0a14840ed3456b024e23
[ "CC0-1.0" ]
null
null
null
CreateImages.py
AlJ95/VanPixel-CNN-approach
ce49af871d31211263ea0a14840ed3456b024e23
[ "CC0-1.0" ]
null
null
null
CreateImages.py
AlJ95/VanPixel-CNN-approach
ce49af871d31211263ea0a14840ed3456b024e23
[ "CC0-1.0" ]
null
null
null
import random as r import cv2 import numpy as np from skimage.util import random_noise
40.239437
74
0.500525
642dd59683d2234e13b5d5f7591dbab7c437923f
3,697
py
Python
development/testing/_modules/auxiliary_scalability.py
boryana-ilieva/respy
c3f600eefbb54d4f34ae2cc1e52d4d32c03ba0dc
[ "MIT" ]
null
null
null
development/testing/_modules/auxiliary_scalability.py
boryana-ilieva/respy
c3f600eefbb54d4f34ae2cc1e52d4d32c03ba0dc
[ "MIT" ]
null
null
null
development/testing/_modules/auxiliary_scalability.py
boryana-ilieva/respy
c3f600eefbb54d4f34ae2cc1e52d4d32c03ba0dc
[ "MIT" ]
1
2020-10-31T19:40:22.000Z
2020-10-31T19:40:22.000Z
from datetime import datetime import datetime as dt import shlex import os from auxiliary_shared import strfdelta from config import SPEC_DIR import respy def run(spec_dict, fname, grid_slaves): """ Run an estimation task that allows to get a sense of the scalability of the code. """ dirname = fnam...
30.056911
80
0.614823
642e25c2894b68733c612d1de87dbe97de5ee5c2
1,925
py
Python
src/main.py
idrissneumann/rpi_flow
561d9e7803bbe7212b84f092afed21f8bae1c3d6
[ "Apache-2.0" ]
null
null
null
src/main.py
idrissneumann/rpi_flow
561d9e7803bbe7212b84f092afed21f8bae1c3d6
[ "Apache-2.0" ]
null
null
null
src/main.py
idrissneumann/rpi_flow
561d9e7803bbe7212b84f092afed21f8bae1c3d6
[ "Apache-2.0" ]
null
null
null
import json import requests import sys from datetime import date from datetime import datetime from elasticsearch import Elasticsearch from time import sleep from veggie_utils import * from elastic_utils import es_connect with open('flow_conf.json') as json_file: conf = json.load(json_file) override_conf_from_en...
34.375
125
0.748052
6430502b11619ea1bdfdd8e1744178dab3548462
2,006
py
Python
src/app/database/model/Revisions.py
william920429/repair_system
27b5f4612a48a326943d23c2acce326070134228
[ "MIT" ]
1
2021-05-18T17:28:09.000Z
2021-05-18T17:28:09.000Z
src/app/database/model/Revisions.py
SiriusKoan/repair_system
6524e7a8d5954b6e16b34b9d88db9d455ef3dd1d
[ "MIT" ]
3
2021-05-02T06:00:47.000Z
2021-05-05T11:42:58.000Z
src/app/database/model/Revisions.py
SiriusKoan/repair_system
6524e7a8d5954b6e16b34b9d88db9d455ef3dd1d
[ "MIT" ]
3
2021-04-15T13:03:36.000Z
2021-05-06T03:13:59.000Z
import datetime from .common import db, timeformat
37.849057
145
0.664008
6432e2af24456be3ab041cf5afca3a2790d37a5b
3,093
py
Python
libs/senseAll.py
WyattSP/Remote-Air-Quality-Station
908555591f6f9f183c68df01c6569171019e2246
[ "MIT" ]
null
null
null
libs/senseAll.py
WyattSP/Remote-Air-Quality-Station
908555591f6f9f183c68df01c6569171019e2246
[ "MIT" ]
null
null
null
libs/senseAll.py
WyattSP/Remote-Air-Quality-Station
908555591f6f9f183c68df01c6569171019e2246
[ "MIT" ]
null
null
null
from sds011sensor import * import aqi import time from datetime import datetime import argparse import os import csv import timeit from sense_hat import SenseHat #Initate arg parser my_parser = argparse.ArgumentParser(description='Input Parameters') #Create args my_parser.add_argument('-a', t...
24.164063
84
0.558358
643504529c3cf23bc6fd859398bf2d84dc5211e8
4,373
py
Python
validation/cta-1dc/make.py
QRemy/gammapy-benchmarks
7f6170e88284958056fbdf468fb890787a13f153
[ "BSD-3-Clause" ]
null
null
null
validation/cta-1dc/make.py
QRemy/gammapy-benchmarks
7f6170e88284958056fbdf468fb890787a13f153
[ "BSD-3-Clause" ]
null
null
null
validation/cta-1dc/make.py
QRemy/gammapy-benchmarks
7f6170e88284958056fbdf468fb890787a13f153
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """Run Gammapy validation: CTA 1DC""" import logging import yaml import matplotlib.pyplot as plt from gammapy.analysis import Analysis, AnalysisConfig def target_config3d(config_file, target_config_file, tag): """Create analyis configuration for out source.""" targets_config_ = yaml.safe_...
37.376068
87
0.661788
6436d87792524f633d16459439c3e34419da5cfe
6,805
py
Python
blueprints/authentication.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
null
null
null
blueprints/authentication.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
3
2021-03-24T11:53:18.000Z
2021-04-05T10:20:58.000Z
blueprints/authentication.py
avirois/ProjectManagement
9e05d1302336ca4ef32bef93e28bcc69fdad7d4f
[ "WTFPL" ]
null
null
null
from flask import Blueprint, render_template, request, session, redirect, current_app, Markup, jsonify import sqlite3 import os from static.classes.User import User, encryptPassword, decryptPassword from cryptography.fernet import Fernet authentication_blueprint = Blueprint("authentication_blueprint", __name__, templa...
38.01676
149
0.57928
64376e8106131626dc32171ef1ab964eda092d64
6,487
py
Python
wrap/pyllbc/script/core/config/Property.py
zhouyanlt/llbc
a8cc4662401e9b077be7ee0058350b35fdd86060
[ "MIT" ]
null
null
null
wrap/pyllbc/script/core/config/Property.py
zhouyanlt/llbc
a8cc4662401e9b077be7ee0058350b35fdd86060
[ "MIT" ]
null
null
null
wrap/pyllbc/script/core/config/Property.py
zhouyanlt/llbc
a8cc4662401e9b077be7ee0058350b35fdd86060
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import llbc llbc.Property = pyllbcProperty
33.611399
98
0.612456
643cc63033fb1b3e849c2c4070ffb4a5b3005b89
2,944
py
Python
src/2-ner.py
nicole-dwenger/sermon-networks.dk
83c89506b32f4f8d972d8e11c0c186815d7ffad6
[ "MIT" ]
1
2020-12-21T03:51:25.000Z
2020-12-21T03:51:25.000Z
src/2-ner.py
nicole-dwenger/sermon-networks.dk
83c89506b32f4f8d972d8e11c0c186815d7ffad6
[ "MIT" ]
null
null
null
src/2-ner.py
nicole-dwenger/sermon-networks.dk
83c89506b32f4f8d972d8e11c0c186815d7ffad6
[ "MIT" ]
3
2021-04-16T11:45:47.000Z
2022-03-06T12:33:26.000Z
""" NER for sermons in content.dat """ import os import pandas as pd import numpy as np from polyglot.text import Text import nltk.data from nltk.stem.snowball import DanishStemmer stemmer = DanishStemmer() if __name__ == "__main__": """ First processing to create NER outputs """ df = pd.read_csv(os.pa...
33.83908
87
0.569973
643e3d8e50c594d60d058cffa7941b77bbddb825
794
py
Python
katas/kata5.py
cesarau04/metodosnumericos
9670c91d5c659d2bfb1b95e85c437e6deed9ec28
[ "MIT" ]
null
null
null
katas/kata5.py
cesarau04/metodosnumericos
9670c91d5c659d2bfb1b95e85c437e6deed9ec28
[ "MIT" ]
null
null
null
katas/kata5.py
cesarau04/metodosnumericos
9670c91d5c659d2bfb1b95e85c437e6deed9ec28
[ "MIT" ]
null
null
null
""" Find the Minimum, Maximum, Length and Average Values Create a function that takes a list of numbers and returns the following statistics: Minimum Value Maximum Value Sequence Length Average Value """ """ Return the Sum of the Two Smallest Numbers Create a function that takes a list of numbers and returns the ...
29.407407
140
0.738035
643ebb9e00e5a46b9e13bfbe41b37466798f580a
2,994
py
Python
layers/dilated_convolution.py
giovgiac/neptune
a3cc256d3f3d833be2b8654131726ab48482f5e1
[ "MIT" ]
4
2021-03-06T10:00:43.000Z
2022-02-21T16:09:48.000Z
layers/dilated_convolution.py
giovgiac/neptune
a3cc256d3f3d833be2b8654131726ab48482f5e1
[ "MIT" ]
null
null
null
layers/dilated_convolution.py
giovgiac/neptune
a3cc256d3f3d833be2b8654131726ab48482f5e1
[ "MIT" ]
1
2020-12-21T14:50:26.000Z
2020-12-21T14:50:26.000Z
# dilated_convolution.py from __future__ import absolute_import from __future__ import division from __future__ import print_function from layers.normalization import InstanceNormalization from typing import Tuple, Union import tensorflow as tf
38.384615
120
0.618236
643f3606fb03079a2aebe0691fe7ccf424370f28
1,605
py
Python
controller/models/models.py
zhouzhibo-byte/odoo14
8b9df536e09d56d036421cd12fe141116a545dd8
[ "Unlicense" ]
null
null
null
controller/models/models.py
zhouzhibo-byte/odoo14
8b9df536e09d56d036421cd12fe141116a545dd8
[ "Unlicense" ]
null
null
null
controller/models/models.py
zhouzhibo-byte/odoo14
8b9df536e09d56d036421cd12fe141116a545dd8
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import models, fields,api
31.470588
95
0.530841
643f658432e2b5800e1eef8b53a2ef7b6a24acc9
472
py
Python
1.py
aayushgupta97/advent_of_code_2020
dbf5291f1cf4bd5855bbc54cb560ac3c7a7ac26c
[ "MIT" ]
null
null
null
1.py
aayushgupta97/advent_of_code_2020
dbf5291f1cf4bd5855bbc54cb560ac3c7a7ac26c
[ "MIT" ]
null
null
null
1.py
aayushgupta97/advent_of_code_2020
dbf5291f1cf4bd5855bbc54cb560ac3c7a7ac26c
[ "MIT" ]
null
null
null
with open("data/input_1.txt", 'r') as f: input_data = f.readlines() data = [int(i.replace("\n", "")) for i in input_data] print(len(data)) part_2()
19.666667
53
0.423729
643f6db20affdc124c5bd15106d9960bdbf837f9
661
py
Python
Pdf to Audio Book Maker.py
farhan1503001/Beginners-Python-Projects
67c2cfc426cad6dcbb148252b9845aeaef78cb57
[ "MIT" ]
null
null
null
Pdf to Audio Book Maker.py
farhan1503001/Beginners-Python-Projects
67c2cfc426cad6dcbb148252b9845aeaef78cb57
[ "MIT" ]
null
null
null
Pdf to Audio Book Maker.py
farhan1503001/Beginners-Python-Projects
67c2cfc426cad6dcbb148252b9845aeaef78cb57
[ "MIT" ]
null
null
null
import pyttsx3 import PyPDF2 from tkinter.filedialog import * #Ask for book file book_file=askopenfilename() pdfreader=PyPDF2.PdfFileReader(book_file)#Initialize Reading the pdf file num_pages=pdfreader.numPages#Finds the number of pages in that book #Now iterate through each and every page and convert that to ...
38.882353
74
0.765507
643fa9180d34b45a3bfb22d963256b7d5985659e
2,857
py
Python
cose/messages/macmessage.py
mpzaborski/pycose
1c63b272f551a69e411063937a070c1c0479f8e0
[ "BSD-3-Clause" ]
null
null
null
cose/messages/macmessage.py
mpzaborski/pycose
1c63b272f551a69e411063937a070c1c0479f8e0
[ "BSD-3-Clause" ]
null
null
null
cose/messages/macmessage.py
mpzaborski/pycose
1c63b272f551a69e411063937a070c1c0479f8e0
[ "BSD-3-Clause" ]
null
null
null
""" MACed Message with Recipients COSE_Mac = [ Headers, payload : bstr / nil, tag : bstr, recipients :[+COSE_recipient] ] """ from typing import Optional, List import cbor2 from cose import CoseMessage from cose.messages import cosemessage, maccommon from cose.attributes.algorithms import Co...
31.054348
117
0.60413
ff218524b954b48397bd6cee491e5e897272d086
8,083
py
Python
V1/oer_glidervsCTD_plot.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
2
2018-04-12T19:49:05.000Z
2020-10-01T11:46:48.000Z
V1/oer_glidervsCTD_plot.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
null
null
null
V1/oer_glidervsCTD_plot.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python """ Background: -------- oer_glidervsCTD_plot.py Purpose: -------- History: -------- """ import argparse, os import numpy as np import calc.aanderaa_corrO2_sal as optode_O2_corr from plots.profile_plot import CTDProfilePlot import io_utils.EcoFOCI_netCDF_read as eFOCI_ncread # V...
32.857724
107
0.601633
ff2233bb02f187b2c1f54b2c72ddfd6822179595
1,551
py
Python
scripts/operator/delete_operators_from_quay.py
snyk-schmidtty/kubernetes-monitor
58811f1fea6673561806811abfa70292ca6a4f07
[ "Apache-2.0" ]
null
null
null
scripts/operator/delete_operators_from_quay.py
snyk-schmidtty/kubernetes-monitor
58811f1fea6673561806811abfa70292ca6a4f07
[ "Apache-2.0" ]
5
2021-02-27T03:16:34.000Z
2021-02-27T03:17:58.000Z
scripts/operator/delete_operators_from_quay.py
snyk-schmidtty/kubernetes-monitor
58811f1fea6673561806811abfa70292ca6a4f07
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python3 """Delete all Operators from the Quay Snyk Operator repository Args: username (str): Quay username password (str): Quay password """ from requests import get, delete from json import loads from get_quay_token import getQuayToken from typing import List, Dict from sys import argv Package ...
24.234375
81
0.63314
ff234cba60f02dcaf43134ee5acb4492e57d2cbb
4,009
py
Python
schools3/config/main_config.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/config/main_config.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/config/main_config.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
import sys import pandas as pd import sherpa from schools3.config import base_config from schools3.data.features.processors.impute_null_processor import ImputeNullProcessor, ImputeBy from schools3.data.features.processors.composite_feature_processor import CompositeFeatureProcessor from schools3.data.features.processor...
39.303922
235
0.833375
ff25db516b2acce8246e0ce6dbaafb46c8b2035b
623
py
Python
packaging_example/0_in_the_beginning/lab.py
sr105/python_packages_tutorial
e795ce1ff14463dd5c3da06d120a4e40da5ad732
[ "MIT" ]
1
2021-06-11T17:47:39.000Z
2021-06-11T17:47:39.000Z
packaging_example/0_in_the_beginning/lab.py
sr105/python_packages_tutorial
e795ce1ff14463dd5c3da06d120a4e40da5ad732
[ "MIT" ]
null
null
null
packaging_example/0_in_the_beginning/lab.py
sr105/python_packages_tutorial
e795ce1ff14463dd5c3da06d120a4e40da5ad732
[ "MIT" ]
null
null
null
# Computations def multiply_a_list_by(a_list, number): """Return a list with every item multiplied by number.""" return [item * number for item in a_list] def square_a_list(a_list): """Return a list with every item squared.""" return [item * item for item in a_list] # Constants PI = 3.14159 AVOGADRO...
22.25
61
0.680578
ff266552067c871f264f181ad65f6b4259ee89bd
11,031
py
Python
pull_requests_and_issues.py
andreasscherbaum/github_issue_exporter
95e01b7dd90250393b4550502445ab6c0f821e7a
[ "Apache-2.0" ]
null
null
null
pull_requests_and_issues.py
andreasscherbaum/github_issue_exporter
95e01b7dd90250393b4550502445ab6c0f821e7a
[ "Apache-2.0" ]
null
null
null
pull_requests_and_issues.py
andreasscherbaum/github_issue_exporter
95e01b7dd90250393b4550502445ab6c0f821e7a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Download GitHub Issued and PR as CSV # # written by Andreas 'ads' Scherbaum <andreas@scherbaum.la> # # version: 0.5 2016-08-27 # initial version # 1.0 2016-09-04 # update help # add options # remov...
31.161017
182
0.581996
ff298f207d3ee96b781b7eddae68d7609d2caae4
85
py
Python
units/apps.py
ezekielkibiego/Store_Center
199bb8240e78e7227d2daa0ce8d9df13e1c429f7
[ "MIT" ]
6
2022-01-27T15:12:43.000Z
2022-03-28T23:07:14.000Z
units/apps.py
ezekielkibiego/Store_Center
199bb8240e78e7227d2daa0ce8d9df13e1c429f7
[ "MIT" ]
7
2022-01-21T11:58:55.000Z
2022-01-29T00:11:10.000Z
units/apps.py
c3n7/university-portal
82bf40a1c0d98111ffe8a184d16b543a3feec072
[ "MIT" ]
3
2022-01-27T13:22:11.000Z
2022-03-03T12:41:31.000Z
from django.apps import AppConfig
14.166667
33
0.741176
ff2c61c10884e455b05064de9a81456bb3dbabf3
319
py
Python
setup.py
TimothyClaeys/SramAnalyzer
0f4d908730df4a227c2a9bbbea6739f24cbebdc7
[ "MIT" ]
null
null
null
setup.py
TimothyClaeys/SramAnalyzer
0f4d908730df4a227c2a9bbbea6739f24cbebdc7
[ "MIT" ]
null
null
null
setup.py
TimothyClaeys/SramAnalyzer
0f4d908730df4a227c2a9bbbea6739f24cbebdc7
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='sram_tools', version='0.1', py_modules=['sram_tools'], python_requires='>=3.6', install_requires=[ 'Click', 'pillow', 'matplotlib' ], entry_points=''' [console_scripts] sram_tools=sramanalyzer:cli ''', )
17.722222
35
0.561129
ff2e375a8f50378a13a348c074037b0b1fd28807
1,035
py
Python
util/security/test/test_secret.py
sferich888/quay
4672db1df76874238baf134d04e74112ac9f630d
[ "Apache-2.0" ]
null
null
null
util/security/test/test_secret.py
sferich888/quay
4672db1df76874238baf134d04e74112ac9f630d
[ "Apache-2.0" ]
null
null
null
util/security/test/test_secret.py
sferich888/quay
4672db1df76874238baf134d04e74112ac9f630d
[ "Apache-2.0" ]
null
null
null
import uuid import pytest from util.security.secret import convert_secret_key
34.5
102
0.675362
ff3111c8ed012b9a11b5d7265507d9ec11c1c3e2
411
py
Python
slack_g_cal/g_cal/__init__.py
wfa207/slack_g_cal
2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0
[ "Apache-2.0" ]
1
2018-11-01T15:53:18.000Z
2018-11-01T15:53:18.000Z
slack_g_cal/g_cal/__init__.py
wfa207/slack_g_cal
2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0
[ "Apache-2.0" ]
null
null
null
slack_g_cal/g_cal/__init__.py
wfa207/slack_g_cal
2acfb19d156e3b6f14c4ad0b079b9c3a5f79c9b0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from os import environ, path from .client import GoogleCalClient SCOPES = ['https://www.googleapis.com/auth/calendar'] GOOGLE_AUTH_FILENAME = environ['GOOGLE_AUTH_FILENAME'] GOOGLE_AUTH_FILEPATH = path.abspath(path.join(path.dirname(__file__), './{}'.fo...
31.615385
107
0.785888
ff31983c8ac601d9ab46ea257efd05459537f8e8
17,403
py
Python
database_manager/database_manager.py
virbickt/tlc-data-pipeline
18e61e0e6dd4cb00e7ad0b2b13d48ac626a9e0b8
[ "MIT" ]
1
2022-01-30T12:16:36.000Z
2022-01-30T12:16:36.000Z
database_manager/database_manager.py
virbickt/tlc-data-pipeline
18e61e0e6dd4cb00e7ad0b2b13d48ac626a9e0b8
[ "MIT" ]
null
null
null
database_manager/database_manager.py
virbickt/tlc-data-pipeline
18e61e0e6dd4cb00e7ad0b2b13d48ac626a9e0b8
[ "MIT" ]
null
null
null
import os import time import pyodbc from azure.common.credentials import ServicePrincipalCredentials from azure.mgmt.resource import ResourceManagementClient from azure.mgmt.sql import SqlManagementClient from dotenv import find_dotenv, load_dotenv load_dotenv(find_dotenv())
43.616541
438
0.600011
ff31cc51ee4cb699318f8c7e3d04f5809d3e62ad
3,395
py
Python
socket/app.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
socket/app.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
socket/app.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
"""A sample custom HTTP server.""" import functools import html import traceback import collect import server server.Logger.name = __file__ HTML_TMPL = '''\ <html> <head> <link rel="stylesheet" type="text/css" href="/myStyle.css"/> </head> <body id="consolas"> %s</body> </html> ''' LINK_HOME = '<a href="/">Home<...
21.762821
73
0.613844
ff32f68fb44dc05b704c9e1bf005ac75b155b258
1,512
py
Python
services/web/server/src/simcore_service_webserver/projects/projects_tags_handlers.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
25
2018-04-13T12:44:12.000Z
2022-03-12T15:01:17.000Z
services/web/server/src/simcore_service_webserver/projects/projects_tags_handlers.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
2,553
2018-01-18T17:11:55.000Z
2022-03-31T16:26:40.000Z
services/web/server/src/simcore_service_webserver/projects/projects_tags_handlers.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
20
2018-01-18T19:45:33.000Z
2022-03-29T07:08:47.000Z
""" Handlers for CRUD operations on /projects/{*}/tags/{*} """ import logging from aiohttp import web from .._meta import api_version_prefix as VTAG from ..login.decorators import RQT_USERID_KEY, login_required from ..security_decorators import permission_required from .projects_db import APP_PROJECT_DBAPI, Project...
28
84
0.71164
ff3313d7fbbaa4f483d5adc2ada397adb8303dc3
113
py
Python
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Gases/__init__.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Gases/__init__.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Gases/__init__.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
# classes from Air import Air from CO2 import CO2 from Steam import Steam from Gas import Gas # packages # ...
11.3
23
0.734513
ff331d0933475a031554907cd3c4b819e0f29798
1,362
py
Python
audioToJummbox/main.py
KeeyanGhoreshi/AudioToJummbox
aaf9a64e47367ff1e375916ffeab92355322bd99
[ "MIT" ]
null
null
null
audioToJummbox/main.py
KeeyanGhoreshi/AudioToJummbox
aaf9a64e47367ff1e375916ffeab92355322bd99
[ "MIT" ]
null
null
null
audioToJummbox/main.py
KeeyanGhoreshi/AudioToJummbox
aaf9a64e47367ff1e375916ffeab92355322bd99
[ "MIT" ]
null
null
null
import argparse import os import sys import logging from audioToJummbox import converter if __name__ == "__main__": main()
33.219512
148
0.637298
ff34bc72d0901db6c713baef231ab65634196f4b
194
py
Python
Course/functions/example_18.py
zevgenia/Python_shultais
e51c31de221c5e7f36ede857a960138009ec8a05
[ "Apache-2.0" ]
null
null
null
Course/functions/example_18.py
zevgenia/Python_shultais
e51c31de221c5e7f36ede857a960138009ec8a05
[ "Apache-2.0" ]
null
null
null
Course/functions/example_18.py
zevgenia/Python_shultais
e51c31de221c5e7f36ede857a960138009ec8a05
[ "Apache-2.0" ]
null
null
null
ten = 10 l = [1, 2, 3] func(ten, l) print("ten:", ten) print("l:", l)
12.125
23
0.5
ff34e2899bffacd28b1fe087f784f173acd09a05
18,680
py
Python
src/menu_screen.py
dcripplinger/rotj
4de46b0e39e3971dd23650a28010bd90b3f637d2
[ "MIT" ]
5
2019-11-03T21:27:17.000Z
2021-12-08T04:38:50.000Z
src/menu_screen.py
dcripplinger/rotj
4de46b0e39e3971dd23650a28010bd90b3f637d2
[ "MIT" ]
10
2018-01-06T03:56:17.000Z
2022-02-17T22:04:39.000Z
src/menu_screen.py
dcripplinger/rotj
4de46b0e39e3971dd23650a28010bd90b3f637d2
[ "MIT" ]
1
2018-01-06T03:21:51.000Z
2018-01-06T03:21:51.000Z
# -*- coding: UTF-8 -*- import time import pygame from pygame.locals import * from constants import BLACK, GAME_WIDTH, HQ_LOCATIONS from helpers import create_save_state, erase_save_state, is_half_second, load_save_states, copy_save_state from text import create_prompt, MenuBox, MenuGrid, TextBox MAIN_MENU = [ ...
45.672372
147
0.59652
ff359ff3fd4bf0c0cae3e20cfdf394e907b8e238
5,951
py
Python
mergify_engine/tests/unit/engine/test_action_runner.py
truthiswill/mergify-engine
c7495d23387d0f003e4ce6aeff89ee8139b83f6b
[ "Apache-2.0" ]
null
null
null
mergify_engine/tests/unit/engine/test_action_runner.py
truthiswill/mergify-engine
c7495d23387d0f003e4ce6aeff89ee8139b83f6b
[ "Apache-2.0" ]
6
2022-03-15T08:59:04.000Z
2022-03-28T07:42:05.000Z
mergify_engine/tests/unit/engine/test_action_runner.py
truthiswill/mergify-engine
c7495d23387d0f003e4ce6aeff89ee8139b83f6b
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- # # Copyright 2021 Mergify SAS # # 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...
52.201754
114
0.694505
ff369ffed01924e0fc727c1c01ee736be4c7d1a9
83
py
Python
backend/api/hash/apps.py
BeelGroup/EB-1920--Mass-Email-Detection-Team-3-
5960b2265f7214d95ac134c81ffb072fc45250e0
[ "MIT" ]
null
null
null
backend/api/hash/apps.py
BeelGroup/EB-1920--Mass-Email-Detection-Team-3-
5960b2265f7214d95ac134c81ffb072fc45250e0
[ "MIT" ]
8
2019-11-19T13:02:58.000Z
2022-02-10T11:53:09.000Z
backend/api/hash/apps.py
BeelGroup/EB-1920--Mass-Email-Detection-Team-3-
5960b2265f7214d95ac134c81ffb072fc45250e0
[ "MIT" ]
1
2019-11-21T14:29:32.000Z
2019-11-21T14:29:32.000Z
from django.apps import AppConfig
13.833333
33
0.73494
ff37239f95e4e3ea9734c1a1abe1ff10c0e7a235
1,033
py
Python
apps/groups/urls.py
sgazda94/dj_schulx
c6d2086201b80bb007df34be6b623e3001bf7446
[ "MIT" ]
null
null
null
apps/groups/urls.py
sgazda94/dj_schulx
c6d2086201b80bb007df34be6b623e3001bf7446
[ "MIT" ]
1
2022-03-28T22:19:01.000Z
2022-03-28T22:19:01.000Z
apps/groups/urls.py
sgazda94/dj_schulx
c6d2086201b80bb007df34be6b623e3001bf7446
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = "groups" urlpatterns = [ path("", views.GroupListView.as_view(), name="group-list"), # group path("<int:pk>", views.GroupDetailView.as_view(), name="group-detail"), path("create/", views.GroupCreateView.as_view(), name="group-create"), p...
28.694444
83
0.604066
ff37b21e4f22a3688a0db0f2082ba54dca0a2890
315
py
Python
analyzer/darwin/lib/common/exceptions.py
maximejf42/mac-sandbox
cb3ac3f31e97843309d4c8cc81bf703c70132c53
[ "Unlicense" ]
21
2016-07-29T16:03:20.000Z
2022-01-05T23:53:51.000Z
analyzer/darwin/lib/common/exceptions.py
maximejf42/mac-sandbox
cb3ac3f31e97843309d4c8cc81bf703c70132c53
[ "Unlicense" ]
null
null
null
analyzer/darwin/lib/common/exceptions.py
maximejf42/mac-sandbox
cb3ac3f31e97843309d4c8cc81bf703c70132c53
[ "Unlicense" ]
6
2017-08-09T23:58:44.000Z
2022-01-05T10:33:27.000Z
# Copyright (C) 2010-2014 Cuckoo Foundation. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. # Note: This is unmodified from the Cuckoo Windows version
26.25
68
0.75873
ff380efa06c35f4afffb0d74a5bad4060b622804
5,792
py
Python
baseline2D.py
lruthotto/NeuralOC
3f37c7349527fb1f5890077ebe987f2f77486a54
[ "MIT" ]
13
2021-05-12T11:52:53.000Z
2022-03-30T14:50:28.000Z
baseline2D.py
lruthotto/NeuralOC
3f37c7349527fb1f5890077ebe987f2f77486a54
[ "MIT" ]
null
null
null
baseline2D.py
lruthotto/NeuralOC
3f37c7349527fb1f5890077ebe987f2f77486a54
[ "MIT" ]
3
2021-04-20T08:07:50.000Z
2022-02-15T22:37:12.000Z
# baseline2D.py # baseline method for problems using the Cross2D object import math import torch import argparse from src.utils import normpdf from src.initProb import * from src.OCflow import ocG from src.plotter import * parser = argparse.ArgumentParser('Baseline') parser.add_argument( '--data', choices=['soft...
34.891566
141
0.577866
ff38954f361ab1c6d35db5a48ef989d7e38199c8
600
bzl
Python
source/bazel/deps/emsdk/get.bzl
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
1
2019-01-06T08:45:46.000Z
2019-01-06T08:45:46.000Z
source/bazel/deps/emsdk/get.bzl
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
264
2015-11-30T08:34:00.000Z
2018-06-26T02:28:41.000Z
source/bazel/deps/emsdk/get.bzl
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
null
null
null
# Do not edit this file directly. # It was auto-generated by: code/programs/reflexivity/reflexive_refresh load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
37.5
103
0.718333
ff38bd994fdfd83262984d03a2c5fd5b0d4567e2
1,419
py
Python
mbus_ref/mbus_controlframe.py
gideoncaringal/pyMeterBus
f2489425f156ec43dc408e343f69ece074cb1fba
[ "BSD-3-Clause" ]
null
null
null
mbus_ref/mbus_controlframe.py
gideoncaringal/pyMeterBus
f2489425f156ec43dc408e343f69ece074cb1fba
[ "BSD-3-Clause" ]
null
null
null
mbus_ref/mbus_controlframe.py
gideoncaringal/pyMeterBus
f2489425f156ec43dc408e343f69ece074cb1fba
[ "BSD-3-Clause" ]
1
2019-12-05T13:49:04.000Z
2019-12-05T13:49:04.000Z
from mbus_h import * from mbus_telegram import * from exceptions import *
30.847826
73
0.693446
ff38e67a8c1a6702cdc8622934c8e106e37e5219
303
py
Python
BOJ/17000~17999/17800~17899/17826.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/17000~17999/17800~17899/17826.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/17000~17999/17800~17899/17826.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
L = list(map(int,input().split())) a = int(input()) L.sort(reverse= True) k = -1 for i in range(len(L)): if L[i] == a: k = i+1 D = [[1,5,'A+'],[6,15,'A0'],[16,30,'B+'],[31,35,'B0'],[36,45,'C+'],[46,48,'C0'],[49,50,'F']] for i in D: if i[0] <= k <= i[1]: print(i[2]) break
25.25
92
0.438944
ff3971eefa022c612a9b32f2288f8a495121ba39
1,036
py
Python
projects/code_combat/8_Cloudrip_Mountain/438-Steelclaw_Gap/steeclaw_gap.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/8_Cloudrip_Mountain/438-Steelclaw_Gap/steeclaw_gap.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/8_Cloudrip_Mountain/438-Steelclaw_Gap/steeclaw_gap.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
defendPoints = [{"x": 35, "y": 63},{"x": 61, "y": 63},{"x": 32, "y": 26},{"x": 64, "y": 26}]; summonTypes = ["soldier","soldier","soldier","soldier","archer","archer","archer","archer"]; while True: summonTroops() commandTroops() if hero.canCast("regen") or hero.canCast("grow"): friend...
31.393939
94
0.533784
ff3de2b458b0ec727bd41816ccf0ff6f78bbd977
33,996
py
Python
pytorch_library/utils_training.py
MarioProjects/pytorchlib
81ea32304d899fbd10ae1efe1d124c0d7bc96f5c
[ "MIT" ]
1
2018-12-05T17:11:47.000Z
2018-12-05T17:11:47.000Z
pytorch_library/utils_training.py
MarioProjects/pytorchlib
81ea32304d899fbd10ae1efe1d124c0d7bc96f5c
[ "MIT" ]
null
null
null
pytorch_library/utils_training.py
MarioProjects/pytorchlib
81ea32304d899fbd10ae1efe1d124c0d7bc96f5c
[ "MIT" ]
null
null
null
import types import numpy as np import torch import math from torch import nn, optim import torch.nn.functional as F from torch.autograd.variable import Variable CROSS_ENTROPY_ONE_HOT_WARNING = False def to_categorical(y, num_classes=None, dtype='float32'): """Converts a class vector (integers) to bina...
42.978508
185
0.6011
ff3e34a66b19db98dc46a9bddfa39058221a3e0e
1,178
py
Python
augly/utils/base_paths.py
Ierezell/AugLy
a7dca8c36bc05dbd7694373fe9b883d6ff720f56
[ "MIT" ]
1
2021-09-29T21:27:50.000Z
2021-09-29T21:27:50.000Z
augly/utils/base_paths.py
Ierezell/AugLy
a7dca8c36bc05dbd7694373fe9b883d6ff720f56
[ "MIT" ]
null
null
null
augly/utils/base_paths.py
Ierezell/AugLy
a7dca8c36bc05dbd7694373fe9b883d6ff720f56
[ "MIT" ]
1
2021-07-02T13:08:55.000Z
2021-07-02T13:08:55.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. import os MODULE_BASE_DIR = os.path.dirname(os.path.dirname(__file__)) # asset paths ASSETS_BASE_DIR = os.path.join(MODULE_BASE_DIR, "assets") AUDIO_ASSETS_DIR = os.path.join(ASSETS_BASE_DIR, "audio") TEXT_DIR = os.path.join(ASSETS_BASE_DIR, ...
40.62069
88
0.797963
ff3f61dcc346db3af4cf5a36041b057887e5a981
1,639
py
Python
venv/Lib/site-packages/transliterate/tests/data/default.py
jedeland/jedel_name_generator
8d220c7e6a13e013d9664402cb0262f323a4056d
[ "MIT" ]
null
null
null
venv/Lib/site-packages/transliterate/tests/data/default.py
jedeland/jedel_name_generator
8d220c7e6a13e013d9664402cb0262f323a4056d
[ "MIT" ]
null
null
null
venv/Lib/site-packages/transliterate/tests/data/default.py
jedeland/jedel_name_generator
8d220c7e6a13e013d9664402cb0262f323a4056d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __title__ = 'transliterate.tests.data.default' __author__ = 'Artur Barseghyan' __copyright__ = '2013-2018 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1' latin_text = u"Lorem ipsum dolor sit amet" armenian_text = u' ' cyrillic_text = u' ' ukrainian_cyrillic_text = u' ' bulgarian_c...
35.630435
78
0.721171
ff3fa6bdc655e5c340cc8b1b61dfaa6a7d978fda
5,510
py
Python
PLOT/plot_orbits2.py
itpplasma/SIMPLE
6981791e0a7889647ac5c006325ac951811c2f36
[ "MIT" ]
1
2020-11-18T14:58:27.000Z
2020-11-18T14:58:27.000Z
PLOT/plot_orbits2.py
landreman/SIMPLE
77722c2479b4a064b99d0e2a58ef7749ce157c07
[ "MIT" ]
6
2019-10-25T07:52:00.000Z
2021-11-16T13:19:04.000Z
PLOT/plot_orbits2.py
landreman/SIMPLE
77722c2479b4a064b99d0e2a58ef7749ce157c07
[ "MIT" ]
2
2021-11-05T18:55:09.000Z
2022-03-23T06:27:04.000Z
#%% import time import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from neo_orb_fffi import * from os import path import exportfig #basedir = '/home/calbert/net/cobra/ipp/ishw19/scripts' basedir = '.' zs = np.load(path.join(basedir, 'z.npy')) var_tips = np.load(path.join(base...
28.549223
83
0.634846
ff42053acc3e1c654965608c70b04513a16eaec2
2,177
py
Python
helpers/extract_edges.py
aliborji/ShapeDefence
92da19bb195b5161d997f6ee1cc777b07a714f6f
[ "MIT" ]
null
null
null
helpers/extract_edges.py
aliborji/ShapeDefence
92da19bb195b5161d997f6ee1cc777b07a714f6f
[ "MIT" ]
1
2022-03-12T00:40:21.000Z
2022-03-12T00:40:21.000Z
helpers/extract_edges.py
aliborji/ShapeDefense
92da19bb195b5161d997f6ee1cc777b07a714f6f
[ "MIT" ]
null
null
null
# clac edge import os from edge_detector import * from PIL import Image # import torch from image_transform import ImageTransform from config import * # from matplotlib import pyplot as plt # import glob # import numpy as np import argparse ''' python extract_edges.py --img_dir --dest_dir img_dir = './dog-breed-...
27.910256
82
0.644465
ff43880d7c55f155ec148a756cf0c994cb3a1a8c
838
py
Python
bootstrap_scoped/util/_test.py
achillesrasquinha/bootstrap-scoped
e8e3eab2648e6d0acb33161fab196d6c82ff607a
[ "MIT" ]
1
2018-09-14T16:04:21.000Z
2018-09-14T16:04:21.000Z
bootstrap_scoped/util/_test.py
achillesrasquinha/bootstrap-scoped
e8e3eab2648e6d0acb33161fab196d6c82ff607a
[ "MIT" ]
null
null
null
bootstrap_scoped/util/_test.py
achillesrasquinha/bootstrap-scoped
e8e3eab2648e6d0acb33161fab196d6c82ff607a
[ "MIT" ]
null
null
null
# imports - compatibility imports from bootstrap_scoped._compat import StringIO, input # imports - standard imports import sys from contextlib import contextmanager # imports - module imports from bootstrap_scoped.util import get_if_empty __STDIN__ = sys.stdin
26.1875
85
0.718377
ff43b73960dca68d62dec6fa9b19a0ca5ed2c18c
43
py
Python
shufflenet/__init__.py
TropComplique/ShuffleNet-tensorflow
a3e531d23364af0d38a336241a07eb8b37993b74
[ "MIT" ]
45
2017-08-27T17:31:03.000Z
2021-03-01T11:01:40.000Z
shufflenet/__init__.py
kingzhengguang/ImageNet-ShuffleNet-tensorflow
a3e531d23364af0d38a336241a07eb8b37993b74
[ "MIT" ]
9
2017-08-24T09:53:26.000Z
2019-08-22T08:24:50.000Z
shufflenet/__init__.py
kingzhengguang/ImageNet-ShuffleNet-tensorflow
a3e531d23364af0d38a336241a07eb8b37993b74
[ "MIT" ]
20
2017-08-28T16:33:03.000Z
2019-10-31T13:01:55.000Z
from .get_shufflenet import get_shufflenet
21.5
42
0.883721
ff43b9110e7c6c410c83280a5c7b6d03cd3574ec
608
py
Python
symphoni-ui/Tests/test_suite.py
tylersuchan/symphoni-fork
9b12a17d6562f5c94e17c840b0ea4af1f74d4a08
[ "Apache-2.0" ]
null
null
null
symphoni-ui/Tests/test_suite.py
tylersuchan/symphoni-fork
9b12a17d6562f5c94e17c840b0ea4af1f74d4a08
[ "Apache-2.0" ]
77
2018-09-13T02:29:50.000Z
2018-12-03T19:31:45.000Z
symphoni-ui/Tests/test_suite.py
tylersuchan/symphoni-fork
9b12a17d6562f5c94e17c840b0ea4af1f74d4a08
[ "Apache-2.0" ]
null
null
null
import unittest import join_button import start_party_button import queue import privacy_button import music_queue import contact_button loader = unittest.TestLoader() suite = unittest.TestSuite() runner = unittest.TextTestRunner(verbosity=3) suite.addTests(loader.loadTestsFromModule(join_button)) suite.addTests(loa...
27.636364
62
0.858553
ff46c1924c55c89c1952f77ec63a4d0bb246a216
853
py
Python
Application/Script/script/pyexpect/arp/Cisco.py
onlysheep5200/gperf
f04b1e96fc86aa379fa1cdaedff59224b6904179
[ "Apache-2.0" ]
1
2016-12-08T23:27:42.000Z
2016-12-08T23:27:42.000Z
Application/Script/script/pyexpect/arp/Cisco.py
onlysheep5200/gperf
f04b1e96fc86aa379fa1cdaedff59224b6904179
[ "Apache-2.0" ]
null
null
null
Application/Script/script/pyexpect/arp/Cisco.py
onlysheep5200/gperf
f04b1e96fc86aa379fa1cdaedff59224b6904179
[ "Apache-2.0" ]
null
null
null
#py proc.sendline('show arp') proc.expect('Type Interface') result = [] while True: index = proc.expect(['--More--', '#']) lines = proc.before.strip().replace('\x08', '').splitlines() for line in lines: cols = line.strip().split() length = len(cols) if length == 6 or length == 5: ...
29.413793
78
0.458382
ff482cff2e58cffc22549bec344549101d45cd35
682
py
Python
ch9/crx_gates.py
PacktPublishing/Learn-Quantum-Computing-with-Python
e74caf12609ce848de2636019dd15f90d1f3189f
[ "MIT" ]
1
2020-07-09T15:38:59.000Z
2020-07-09T15:38:59.000Z
ch9/crx_gates.py
PacktPublishing/Learn-Quantum-Computing-with-Python
e74caf12609ce848de2636019dd15f90d1f3189f
[ "MIT" ]
null
null
null
ch9/crx_gates.py
PacktPublishing/Learn-Quantum-Computing-with-Python
e74caf12609ce848de2636019dd15f90d1f3189f
[ "MIT" ]
2
2019-04-05T14:42:23.000Z
2019-04-19T16:09:27.000Z
from pyquil import Program from pyquil.parameters import Parameter, quil_sin, quil_cos from pyquil.quilbase import DefGate from pyquil.gates import * import numpy as np thetaParameter = Parameter('theta') controlledRx = np.array([ [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, quil_cos(thetaParameter / 2), -1j * quil...
27.28
77
0.714076
ff4b74c3171ca37a261f7014a1e21bacf39c2b04
24,200
py
Python
LexNormNew.py
AnneDirkson/lex_normalization
6a5072002b31606cfd668b8ac303d5deaa95d092
[ "BSD-3-Clause" ]
4
2019-07-15T17:56:59.000Z
2020-04-01T19:18:24.000Z
LexNormNew.py
AnneDirkson/lex_normalization
6a5072002b31606cfd668b8ac303d5deaa95d092
[ "BSD-3-Clause" ]
null
null
null
LexNormNew.py
AnneDirkson/lex_normalization
6a5072002b31606cfd668b8ac303d5deaa95d092
[ "BSD-3-Clause" ]
1
2019-08-01T10:58:37.000Z
2019-08-01T10:58:37.000Z
#!/usr/bin/env python # coding: utf-8 # # Lexical normalization pipeline # # author - AR Dirkson # date - 15-7-2019 # # Python 3 script # # This pipeline takes raw text data and performs: # - Removes URLs, email addresses # - Tokenization with NLTK # - Removes non_English posts (conservatively) usin...
36.890244
288
0.516198
ff4d18734c956fbb0cec7f798227420aa80822c7
4,392
py
Python
examples/households/VisualizeOccupancy.py
a-buntjer/tsib
9d6ddcdca55c9b8afb5324c0da8d0910cb1a326e
[ "MIT" ]
14
2019-12-16T16:54:43.000Z
2021-11-08T11:46:51.000Z
examples/households/VisualizeOccupancy.py
a-buntjer/tsib
9d6ddcdca55c9b8afb5324c0da8d0910cb1a326e
[ "MIT" ]
null
null
null
examples/households/VisualizeOccupancy.py
a-buntjer/tsib
9d6ddcdca55c9b8afb5324c0da8d0910cb1a326e
[ "MIT" ]
7
2020-05-27T19:49:58.000Z
2022-02-02T12:45:33.000Z
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.4.2 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # %% import os import matplotlib.pyplot as plt # %mat...
22.994764
113
0.602004
ff4dbf32ba6d1faa9492a197d71f8f0f2884bd27
314
py
Python
exsLer Arquivo/ex2 alunos/_main.py
SpaceTheArcher/LP2_2s2017
6616b3ecfe5838d1cfac1dac1c8e66b1b661486e
[ "Apache-2.0" ]
1
2017-08-27T03:45:37.000Z
2017-08-27T03:45:37.000Z
exsLer Arquivo/ex2 alunos/_main.py
SpaceTheArcher/LP2_2s2017
6616b3ecfe5838d1cfac1dac1c8e66b1b661486e
[ "Apache-2.0" ]
null
null
null
exsLer Arquivo/ex2 alunos/_main.py
SpaceTheArcher/LP2_2s2017
6616b3ecfe5838d1cfac1dac1c8e66b1b661486e
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 with open('Alunos.txt') as arquivo: for linha in arquivo: lista = linha.split(";") media = float(lista[1]) + float(lista[2]) with open('saida.txt', 'w') as arquivo2: varLinha = str("{};{}".format(linha,media)) arquivo2.write(varLinha)
28.545455
56
0.541401
ff4ddad56cc09f4e515086639ef104f7e8cf7072
6,844
py
Python
databacon/tests/test.py
cameron/databacon
7065232d1e689f176aa298c42ecfe194ccf5b27d
[ "BSD-3-Clause" ]
4
2015-09-09T23:05:39.000Z
2016-10-20T15:24:58.000Z
databacon/tests/test.py
cameron/databacon
7065232d1e689f176aa298c42ecfe194ccf5b27d
[ "BSD-3-Clause" ]
null
null
null
databacon/tests/test.py
cameron/databacon
7065232d1e689f176aa298c42ecfe194ccf5b27d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys sys.path.insert(0, '/mummy/python') sys.path.insert(0, '/datahog/') sys.path.insert(0, '/src') sys.excepthook = info import time import random from schema import User, Corpus, Doc, Term uniq = lambda s: '%s-%s-%s' % (s, time.time(), random.random()) # Setup user0, user1 = Use...
26.122137
142
0.720923
ff4e9ca7e3ce7e44ad223e8d480850fa09b99929
334
py
Python
fungraph/keywordargument.py
davehadley/graci
8c5b86ce364df32e48bca40a46091021459547fb
[ "MIT" ]
1
2020-07-18T17:53:02.000Z
2020-07-18T17:53:02.000Z
fungraph/keywordargument.py
davehadley/graci
8c5b86ce364df32e48bca40a46091021459547fb
[ "MIT" ]
null
null
null
fungraph/keywordargument.py
davehadley/graci
8c5b86ce364df32e48bca40a46091021459547fb
[ "MIT" ]
3
2020-07-31T16:57:50.000Z
2020-07-31T16:58:02.000Z
from typing import NamedTuple
20.875
88
0.697605
ff4f54b1c8c94866bf7755682cc73296b3e13229
2,382
py
Python
Leetcode/Python Solutions/Common Algorithm Templates/DisjointSet.py
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
1
2020-01-06T02:21:56.000Z
2020-01-06T02:21:56.000Z
Leetcode/Python Solutions/Common Algorithm Templates/DisjointSet.py
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
null
null
null
Leetcode/Python Solutions/Common Algorithm Templates/DisjointSet.py
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
3
2021-02-22T17:41:01.000Z
2022-01-13T05:03:19.000Z
""" Language: Python Written by: Mostofa Adib Shakib Optimization Techniques: 1) Union by Rank: We always attach the smaller tree to the root of the larger tree. Since it is the depth of the tree that affects the running time, the tree with the smaller depth gets added under the root of the deeper tree. The depth of ...
27.068182
132
0.685978
ff52620b1cd6c61d10575db074cd0d1ccf5ea327
19,761
py
Python
tests/test_abstract.py
fish2000/CLU
80bc2df5f001b5639d79ba979e19ec77a9931425
[ "BSD-3-Clause" ]
1
2019-07-02T08:17:59.000Z
2019-07-02T08:17:59.000Z
tests/test_abstract.py
fish2000/CLU
80bc2df5f001b5639d79ba979e19ec77a9931425
[ "BSD-3-Clause" ]
13
2019-12-17T02:28:30.000Z
2021-11-17T03:46:10.000Z
tests/test_abstract.py
fish2000/CLU
80bc2df5f001b5639d79ba979e19ec77a9931425
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function import abc import clu.abstract import copy import os import pytest abstract = abc.abstractmethod class TestAbstractMetas(object): """ Run the tests for the clu.abstract modules metaclasses. """ class TestAbstractABCs(object): """ Run t...
40.577002
101
0.556095
ff56f2ff008767215761ca02c50006457d3c8cc8
8,395
py
Python
text_run.py
cjymz886/text_bert_cnn
0b7fc34ee4ee3d1486b934737ebe574a054df9ce
[ "MIT" ]
72
2019-03-29T12:13:54.000Z
2022-03-13T15:42:56.000Z
text_run.py
lvcheer/text_bert_cnn
2a781881eea45d888ba3b2f32e20a6b706b07b9e
[ "MIT" ]
3
2019-09-25T03:04:18.000Z
2021-06-15T08:27:14.000Z
text_run.py
lvcheer/text_bert_cnn
2a781881eea45d888ba3b2f32e20a6b706b07b9e
[ "MIT" ]
19
2019-04-03T07:56:38.000Z
2022-03-21T13:37:12.000Z
import sys import os import time from sklearn import metrics from text_model import * from loader import * def evaluate(sess,dev_data): '''lossaccuracy''' data_len = 0 total_loss = 0.0 total_acc = 0.0 for batch_ids,batch_mask,batch_segment,batch_label in batch_iter(dev_data,config.batch...
40.752427
169
0.629065
ff5751a849108f15acfede92c3f26ffa54292d1b
722
py
Python
tests/conftest.py
haizaar/configmanager
674bce2ec1ac2528588aa7bc1407b545f2264dbc
[ "MIT" ]
13
2017-05-13T13:33:27.000Z
2022-02-03T14:37:50.000Z
tests/conftest.py
haizaar/configmanager
674bce2ec1ac2528588aa7bc1407b545f2264dbc
[ "MIT" ]
118
2017-05-06T22:58:01.000Z
2018-12-03T10:23:38.000Z
tests/conftest.py
haizaar/configmanager
674bce2ec1ac2528588aa7bc1407b545f2264dbc
[ "MIT" ]
4
2018-05-30T03:08:05.000Z
2019-05-09T02:06:48.000Z
import collections import pytest from configmanager import Config, PlainConfig
21.878788
45
0.477839
ff57d1d8442a73a3ba2a1260389c32c6a812ced5
2,633
py
Python
src/azure_run_train.py
yohskua/support-ticket-classification
ba26373583c8dc56902b8e9e4ba716f400a730b9
[ "MIT" ]
2
2020-10-27T19:49:07.000Z
2020-11-04T12:35:15.000Z
src/azure_run_train.py
yohskua/support-ticket-classification
ba26373583c8dc56902b8e9e4ba716f400a730b9
[ "MIT" ]
3
2020-11-13T18:57:14.000Z
2022-02-10T01:54:56.000Z
src/azure_run_train.py
yohskua/support-ticket-classification
ba26373583c8dc56902b8e9e4ba716f400a730b9
[ "MIT" ]
null
null
null
""" Endpoint to launch an experiment on AzureML. """ import os from os.path import dirname from typing import Optional from azureml.train.estimator import Estimator from azureml.core import Workspace, Datastore, Experiment, Run from src.utils import pip_packages from src.azure_utils import load_azure_conf if __na...
35.581081
83
0.720091
ff57f5081cf328886c5e3633e7f6b890aa504bf4
2,386
py
Python
utils.py
X-Gamer-Guide/twitch-mod-activity-tracker
b2f59c06732ae5e84e2407540cb63a6842ba27e4
[ "MIT" ]
2
2022-03-09T17:54:53.000Z
2022-03-11T13:49:55.000Z
utils.py
X-Gamer-Guide/twitch-mod-activity-tracker
b2f59c06732ae5e84e2407540cb63a6842ba27e4
[ "MIT" ]
null
null
null
utils.py
X-Gamer-Guide/twitch-mod-activity-tracker
b2f59c06732ae5e84e2407540cb63a6842ba27e4
[ "MIT" ]
null
null
null
################################################################## # # # twitch mod activity tracker # # # # Copyright (C) 2022 X Gamer Guide ...
37.28125
109
0.523889
ff59619cfc20a7cda244fc4d89652be6e3d0a62b
644
py
Python
setup.py
Newky/when_can_i_run
e7f5a97acb32db3601ea0e22cd382c270802c6e1
[ "MIT" ]
null
null
null
setup.py
Newky/when_can_i_run
e7f5a97acb32db3601ea0e22cd382c270802c6e1
[ "MIT" ]
null
null
null
setup.py
Newky/when_can_i_run
e7f5a97acb32db3601ea0e22cd382c270802c6e1
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='when_can_i_run', version='0.0.1', description="Script which tells you at what times you can run.", author="Richard Delaney", author_email="richdel1991@gmail.com", install_requires=parse_requirements('requirements.txt'), scripts=['bin/when_can_i_ru...
25.76
78
0.675466
ff59e51b4fa55a54d473c146ad037ee2a323a7c7
33
py
Python
tests/unit/transformers/addons/__init__.py
sdv-dev/RDT
dbc550fc5e6cd62a032ab412aa8e2687bac82647
[ "MIT" ]
49
2020-05-02T23:36:48.000Z
2022-03-30T17:37:29.000Z
tests/unit/transformers/addons/__init__.py
sdv-dev/RDT
dbc550fc5e6cd62a032ab412aa8e2687bac82647
[ "MIT" ]
250
2020-01-09T16:22:51.000Z
2022-03-31T22:46:48.000Z
tests/unit/transformers/addons/__init__.py
sdv-dev/RDT
dbc550fc5e6cd62a032ab412aa8e2687bac82647
[ "MIT" ]
12
2020-02-22T21:18:20.000Z
2021-11-15T15:03:58.000Z
"""RDT addons testing module."""
16.5
32
0.666667
ff5b34e968f98191d2753c8153930c996fac69c1
1,114
py
Python
alembic/versions/93ff199763ac_update_lib_raid_errors_table.py
pkgw/hera_mc
d2769a716a0e68fe709d3834362b94f547136836
[ "BSD-2-Clause" ]
4
2018-01-28T06:58:00.000Z
2020-04-16T11:19:38.000Z
alembic/versions/93ff199763ac_update_lib_raid_errors_table.py
pkgw/hera_mc
d2769a716a0e68fe709d3834362b94f547136836
[ "BSD-2-Clause" ]
474
2016-10-26T17:29:54.000Z
2022-02-15T21:51:52.000Z
alembic/versions/93ff199763ac_update_lib_raid_errors_table.py
pkgw/hera_mc
d2769a716a0e68fe709d3834362b94f547136836
[ "BSD-2-Clause" ]
2
2016-11-15T14:34:55.000Z
2020-11-02T08:07:19.000Z
"""update lib_raid_errors table Revision ID: 93ff199763ac Revises: b1063869f198 Create Date: 2017-07-27 00:13:29.765073+00:00 """ from alembic import op import sqlalchemy as sa from sqlalchemy.schema import Sequence, CreateSequence # revision identifiers, used by Alembic. revision = '93ff199763ac' down_revision = '...
29.315789
98
0.728905
ff5c22e528b0317b09aca3288a9e47cff9255e98
1,864
py
Python
notebook/numpy/frac_dimension.py
pipepipexiaji/matplotlib
f7a25f22afeceb11f37354ff8249790090ab3df6
[ "MIT" ]
null
null
null
notebook/numpy/frac_dimension.py
pipepipexiaji/matplotlib
f7a25f22afeceb11f37354ff8249790090ab3df6
[ "MIT" ]
null
null
null
notebook/numpy/frac_dimension.py
pipepipexiaji/matplotlib
f7a25f22afeceb11f37354ff8249790090ab3df6
[ "MIT" ]
null
null
null
import sys, os import numpy as np if __name__=='__main__': from scipy import misc import matplotlib.pyplot as plt import matplotlib.patches as patches z=1.0-misc.imread("https://shrtm.nu/zw04")/255 print(frac_dimension(z, threshold=0.25)) sizes = 128, 64, 32 xmin, xmax = 0, z...
34.518519
76
0.526288
ff5d5019c2e1556f979ae8023b4f76dfde167be2
705
py
Python
tests/test_quotient.py
ICB-DCM/fiddy
c6300f60e7b67ca3b5255cc27a22293aa2690a96
[ "BSD-3-Clause" ]
3
2022-03-04T13:37:10.000Z
2022-03-04T13:37:16.000Z
tests/test_quotient.py
ICB-DCM/fiddy
c6300f60e7b67ca3b5255cc27a22293aa2690a96
[ "BSD-3-Clause" ]
9
2022-02-04T14:03:15.000Z
2022-02-24T15:41:15.000Z
tests/test_quotient.py
ICB-DCM/fiddy
c6300f60e7b67ca3b5255cc27a22293aa2690a96
[ "BSD-3-Clause" ]
null
null
null
import pytest import fiddy import numpy as np
19.054054
48
0.547518
ff5d8d4b13202abe6fea868590e72915ddb862ae
2,388
py
Python
library/dbscripts_mkdirs.py
Acidburn0zzz/upstream-infra
82b91b4de88782d924ce01ae2b4b1b6b34eed6f7
[ "MIT" ]
73
2019-09-25T05:11:53.000Z
2022-03-21T13:18:57.000Z
library/dbscripts_mkdirs.py
Acidburn0zzz/upstream-infra
82b91b4de88782d924ce01ae2b4b1b6b34eed6f7
[ "MIT" ]
5
2019-12-14T23:36:38.000Z
2021-03-19T06:14:23.000Z
library/dbscripts_mkdirs.py
Acidburn0zzz/upstream-infra
82b91b4de88782d924ce01ae2b4b1b6b34eed6f7
[ "MIT" ]
20
2019-12-14T23:24:09.000Z
2022-01-13T04:25:03.000Z
#!/usr/bin/python import errno import grp import os import pwd from stat import * # simple module that creates many directories for users # initially created for dbscripts to create staging directories in the user homes from ansible.module_utils.basic import AnsibleModule if __name__ == '__main__': main()
33.166667
123
0.55402
ff5dab03c7e7990a7a73aa7873bb629886472ec5
8,264
py
Python
setup.py
jessa/PySDD
57ccc22c4720ece54f11a593900e0a885023c6cc
[ "Apache-2.0" ]
34
2018-03-21T01:26:57.000Z
2022-03-10T08:53:18.000Z
setup.py
jessa/PySDD
57ccc22c4720ece54f11a593900e0a885023c6cc
[ "Apache-2.0" ]
12
2019-01-22T16:25:02.000Z
2022-02-01T10:21:29.000Z
setup.py
jessa/PySDD
57ccc22c4720ece54f11a593900e0a885023c6cc
[ "Apache-2.0" ]
14
2018-12-17T17:40:48.000Z
2022-03-22T02:53:01.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ setup.py ~~~~~~~~ Usage: python3 setup.py build_ext --inplace :author: Wannes Meert :copyright: Copyright 2017-2019 KU Leuven and Regents of the University of California. :license: Apache License, Version 2.0, see LICENSE for details. """ from setuptools import setup...
32.924303
116
0.60818
ff5f1dd04b9ec5bca1730d92826728afac9748f4
780
py
Python
aws/python/snippets/__init__.py
tutunak/snippets
175b9cf35f5cb2b2cc5fc5f948038e5d560372f0
[ "MIT" ]
null
null
null
aws/python/snippets/__init__.py
tutunak/snippets
175b9cf35f5cb2b2cc5fc5f948038e5d560372f0
[ "MIT" ]
null
null
null
aws/python/snippets/__init__.py
tutunak/snippets
175b9cf35f5cb2b2cc5fc5f948038e5d560372f0
[ "MIT" ]
null
null
null
import boto3 # pip3 install boto3 def boto_init(aws_id, aws_secret): """ :param aws_id: aws key id :param aws_secret: aws secret id :return: bot3 session object """ session = boto3.Session( aws_access_key_id=aws_id, aws_secret_access_key=aws_secret ) return session ...
22.941176
65
0.657692
ff628418c4c9d99f04b445fd71df0016faf4b958
2,995
py
Python
Sem7/CS6370_Information_Retrieval/assignment_2/part2.py
akileshbadrinaaraayanan/IITH
955e07af01ba2002f8efe9a4644395fc4e7a46d1
[ "MIT" ]
2
2018-02-21T22:46:54.000Z
2020-01-07T16:03:10.000Z
Sem7/CS6370_Information_Retrieval/assignment_2/part2.py
akileshbadrinaaraayanan/IITH
955e07af01ba2002f8efe9a4644395fc4e7a46d1
[ "MIT" ]
null
null
null
Sem7/CS6370_Information_Retrieval/assignment_2/part2.py
akileshbadrinaaraayanan/IITH
955e07af01ba2002f8efe9a4644395fc4e7a46d1
[ "MIT" ]
3
2018-05-08T01:57:11.000Z
2021-04-21T22:49:00.000Z
""" This module demonstrates finding the top K,median K and least K terms in the inverted index based on their document frequency """ import numpy as np from part1 import createindexes def get_topk(invertedindex): """ This function outputs the top k terms with highest document frequency. It takes the invert...
37.911392
100
0.635392
ff637ccd06139e8711f83376afafd89f9be9cb1d
425
py
Python
store/migrations/0005_product_stock.py
Dinog59/ProyectoPizza
49c777970b5defa8fa92d22e9280c01efc54f97d
[ "MIT" ]
null
null
null
store/migrations/0005_product_stock.py
Dinog59/ProyectoPizza
49c777970b5defa8fa92d22e9280c01efc54f97d
[ "MIT" ]
null
null
null
store/migrations/0005_product_stock.py
Dinog59/ProyectoPizza
49c777970b5defa8fa92d22e9280c01efc54f97d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-11-11 02:42 from django.db import migrations, models
21.25
57
0.6
ff66fc191e5cd060a3a30c03c46d05cc46439ecb
2,578
py
Python
benchmark/d3pe/scripts/eval_ope.py
ssimonc/NeoRL
098c58c8e4c3e43e67803f6384619d3bfe7fce5d
[ "Apache-2.0" ]
50
2021-02-07T08:10:28.000Z
2022-03-25T09:10:26.000Z
benchmark/d3pe/scripts/eval_ope.py
ssimonc/NeoRL
098c58c8e4c3e43e67803f6384619d3bfe7fce5d
[ "Apache-2.0" ]
7
2021-07-29T14:58:31.000Z
2022-02-01T08:02:54.000Z
benchmark/d3pe/scripts/eval_ope.py
ssimonc/NeoRL
098c58c8e4c3e43e67803f6384619d3bfe7fce5d
[ "Apache-2.0" ]
4
2021-04-01T16:30:15.000Z
2022-03-31T17:38:05.000Z
import os import json import argparse import numpy as np import matplotlib.pyplot as plt from scipy.stats import pearsonr from d3pe.metric.score import RC_score, TopK_score, get_policy_mean BenchmarkFolder = 'benchmarks' if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('-...
40.920635
92
0.655935
ff67b713f5ee8c222855eceb330dedf872537124
374
py
Python
web_page_retrieve.py
yaya967/pythonbasics
94546a3eba1db166157b60f4f2f3c0115f4d2c31
[ "MIT" ]
10
2018-08-08T03:15:47.000Z
2022-01-21T15:31:53.000Z
web_page_retrieve.py
WebBreacher/pythonbasics
3b21ba785f38fa9e06b5018fd942cbb580087b4c
[ "MIT" ]
null
null
null
web_page_retrieve.py
WebBreacher/pythonbasics
3b21ba785f38fa9e06b5018fd942cbb580087b4c
[ "MIT" ]
5
2018-06-28T21:54:34.000Z
2020-11-06T07:24:38.000Z
''' Script to demonstrate how to retrieve a web page using the requests library ''' # Import the contents of the requests library import requests # URL to make the request to url = 'http://whatu.info' # Make the request, don't check for HTTPS certificate issues and store response in 'response' response = requests.ge...
24.933333
93
0.759358
ff685253b9c0863707f35b85f1ef58190321a525
1,185
py
Python
python-deprecated/asset.py
unfixed/Dell-Warranty-Lookup
8775636d4b0a8aa30945b7bd8cedbf1b85d885c6
[ "WTFPL" ]
3
2015-02-13T16:14:14.000Z
2017-04-03T15:40:36.000Z
python-deprecated/asset.py
unfixed/Dell-Warranty-Lookup
8775636d4b0a8aa30945b7bd8cedbf1b85d885c6
[ "WTFPL" ]
null
null
null
python-deprecated/asset.py
unfixed/Dell-Warranty-Lookup
8775636d4b0a8aa30945b7bd8cedbf1b85d885c6
[ "WTFPL" ]
null
null
null
#Seperate File - Filename - asset.py
40.862069
146
0.624473
ff6894db50194aa75df64958c810c45cece30015
108
py
Python
app/database/base.py
Sephyr3s/Store-backend
c5e9cc91069e52b0ab11002094a88b1776b669bd
[ "Apache-2.0" ]
null
null
null
app/database/base.py
Sephyr3s/Store-backend
c5e9cc91069e52b0ab11002094a88b1776b669bd
[ "Apache-2.0" ]
null
null
null
app/database/base.py
Sephyr3s/Store-backend
c5e9cc91069e52b0ab11002094a88b1776b669bd
[ "Apache-2.0" ]
null
null
null
from app.database.base_class import Base from app.models.place import Place from app.models.user import User
36
40
0.842593
ff69eebfb5fd5176bd938dc3c3b14c86aedd74b9
3,366
py
Python
src/app.py
dyylaan/corona
73e834ecdbcc167542bd169a9b19eae759218ab9
[ "MIT" ]
null
null
null
src/app.py
dyylaan/corona
73e834ecdbcc167542bd169a9b19eae759218ab9
[ "MIT" ]
null
null
null
src/app.py
dyylaan/corona
73e834ecdbcc167542bd169a9b19eae759218ab9
[ "MIT" ]
null
null
null
import datetime import os import yaml import pandas as pd import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output # Rpertoire du fichier des donnes PROCESSED_DIR = '../data/processed/' # Table principale ALL_DATA_FILE= 'all_data.csv' ENV_FI...
29.526316
117
0.541295
ff6cda50a149363e3fbb320406dd695af6260253
2,629
py
Python
templating/core/src/main/python/jsonteng/tags/for_each_tag.py
vmware/json-template-engine
afa606aef47599f8ff7cf7d1f927877a9ce786e7
[ "Apache-2.0" ]
21
2019-09-30T08:41:01.000Z
2022-03-15T08:23:28.000Z
templating/core/src/main/python/jsonteng/tags/for_each_tag.py
vmware/json-template-engine
afa606aef47599f8ff7cf7d1f927877a9ce786e7
[ "Apache-2.0" ]
1
2020-03-17T03:14:00.000Z
2020-05-01T18:02:23.000Z
templating/core/src/main/python/jsonteng/tags/for_each_tag.py
vmware/json-template-engine
afa606aef47599f8ff7cf7d1f927877a9ce786e7
[ "Apache-2.0" ]
7
2019-06-18T14:35:57.000Z
2021-12-06T23:01:30.000Z
# Copyright 2019 VMware, Inc. # SPDX-License-Indentifier: Apache-2.0 from ..exception import TemplateEngineException from .tag_base import TagBase
38.101449
74
0.617345
ff6d5561a4aef51c3287d4dc9af0364e55380487
2,882
py
Python
src/the_tale/the_tale/game/cards/tests/test_give_stability.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/cards/tests/test_give_stability.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/cards/tests/test_give_stability.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
import smart_imports smart_imports.all()
41.171429
140
0.670715
ff6e8eb6842c9a3fb4ed8421653c037eb9df34a1
944
py
Python
main/views.py
lurdray/crypto_invest
8e10bda0771ac48c22827021935be3a28c9c3107
[ "Apache-2.0" ]
1
2021-11-20T14:09:58.000Z
2021-11-20T14:09:58.000Z
main/views.py
lurdray/crypto_invest
8e10bda0771ac48c22827021935be3a28c9c3107
[ "Apache-2.0" ]
null
null
null
main/views.py
lurdray/crypto_invest
8e10bda0771ac48c22827021935be3a28c9c3107
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render, redirect from django.contrib import messages from django.shortcuts import render from django.utils import timezone from django.http import HttpResponse, HttpResponseRedirect from django.urls import reverse, reverse_lazy from django.contrib.auth import login, logout, authenticate fr...
26.222222
85
0.755297
ff70584e9af663a354a11925e5dbf5f1175dd544
673
py
Python
mgt/datamanagers/data_manager.py
wingedsheep/music-generation-tools
02656eb75781925451f51d4ead7d8b6003bdeb29
[ "MIT" ]
12
2021-07-22T12:13:27.000Z
2022-02-13T09:09:08.000Z
mgt/datamanagers/data_manager.py
wingedsheep/music-generation-tools
02656eb75781925451f51d4ead7d8b6003bdeb29
[ "MIT" ]
9
2021-06-26T10:43:16.000Z
2021-12-03T17:25:10.000Z
mgt/datamanagers/data_manager.py
wingedsheep/music-generation-tools
02656eb75781925451f51d4ead7d8b6003bdeb29
[ "MIT" ]
null
null
null
from mgt.datamanagers.midi_wrapper import MidiWrapper
19.794118
53
0.655275
ff70ad31a7318cd530102a309a6d7b1760414492
1,831
py
Python
16.3-sum-closest.py
leonhx/leetcode-practice
35fabe5a1b98c05a5dd5d6a62201e9cb54be69ec
[ "MIT" ]
null
null
null
16.3-sum-closest.py
leonhx/leetcode-practice
35fabe5a1b98c05a5dd5d6a62201e9cb54be69ec
[ "MIT" ]
null
null
null
16.3-sum-closest.py
leonhx/leetcode-practice
35fabe5a1b98c05a5dd5d6a62201e9cb54be69ec
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=16 lang=python3 # # [16] 3Sum Closest #
34.54717
77
0.464227
ff72d32718ca52261b3ee6803ac5fbc46065c1fa
4,262
py
Python
projects/mmdet3d_plugin/models/utils/detr.py
XiangTodayEatsWhat/detr3d
34a47673011fe13593a3e594a376668acca8bddb
[ "MIT" ]
237
2021-10-13T05:29:29.000Z
2022-03-31T13:04:13.000Z
projects/mmdet3d_plugin/models/utils/detr.py
XiangTodayEatsWhat/detr3d
34a47673011fe13593a3e594a376668acca8bddb
[ "MIT" ]
23
2021-10-20T13:57:27.000Z
2022-03-30T08:03:19.000Z
projects/mmdet3d_plugin/models/utils/detr.py
XiangTodayEatsWhat/detr3d
34a47673011fe13593a3e594a376668acca8bddb
[ "MIT" ]
47
2021-10-14T05:38:30.000Z
2022-03-31T09:15:59.000Z
import torch from mmcv.cnn.bricks.registry import TRANSFORMER_LAYER_SEQUENCE from mmcv.cnn.bricks.transformer import TransformerLayerSequence def inverse_sigmoid(x, eps=1e-5): """Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid num...
39.831776
81
0.572032
ff74ecb0d326e0eac765860b694710655beda7d9
1,594
py
Python
mikaponics/production/serializers/production_list_serializer.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
2
2019-04-30T23:51:41.000Z
2019-05-04T00:35:52.000Z
mikaponics/production/serializers/production_list_serializer.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
27
2019-04-30T20:22:28.000Z
2022-02-10T08:10:32.000Z
mikaponics/production/serializers/production_list_serializer.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib.auth.models import Group from django.contrib.auth import authenticate from django.db.models import Q from django.shortcuts import get_object_or_404 from django.template.loader import render_to_string # HTML / TXT from django.utils import timezone from django.utils.translatio...
37.952381
113
0.693852
ff74ee1bc3fce59d2d7d4cb04d5cb940742c5669
703
py
Python
14_funcoes/a118_prog_funcional_spoiler_callable.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
null
null
null
14_funcoes/a118_prog_funcional_spoiler_callable.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
9
2019-11-15T14:21:43.000Z
2020-03-15T14:37:13.000Z
14_funcoes/a118_prog_funcional_spoiler_callable.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ''' def executar(funcao): = Criando a funcao executar if callable(funcao): = Validando se o objeto tipo de uma funcao funcao() = Executando a funcoa recebida ''' if __name__ == '__main__': executar(bom_dia) # Passando como parametro a funcao bom_dia executar(boa_tarde) executar(1) ...
23.433333
70
0.699858
ff7540d786ab22443dc636b82caf6d053f4d74c0
1,708
py
Python
S4/S4 Library/simulation/sims/template_affordance_provider/tunable_provided_template_affordance.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/sims/template_affordance_provider/tunable_provided_template_affordance.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/sims/template_affordance_provider/tunable_provided_template_affordance.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from sims.template_affordance_provider.tunable_affordance_template_discipline import TunableAffordanceTemplateDiscipline from sims4.tuning.tunable import TunableTuple, TunableSimMinute, TunableList, TunableVariant, OptionalTunable
213.5
1,210
0.691452
ff757c0033f146e8ae2a1233be375571d695284f
1,616
py
Python
accounts/utils.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
11
2021-09-17T07:44:05.000Z
2022-02-06T08:33:30.000Z
accounts/utils.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
1
2021-10-09T07:37:14.000Z
2021-10-09T07:37:14.000Z
accounts/utils.py
theonlykingpin/snapfoodclone
0c1a7839424e89d9bc7bfb55c150a92055759702
[ "MIT" ]
3
2021-09-27T14:12:13.000Z
2021-10-18T12:21:37.000Z
from datetime import datetime, timedelta from random import randint from django.contrib.auth.mixins import UserPassesTestMixin from django.core.exceptions import ValidationError from accounts.models import Customer, ServiceProvider
28.857143
98
0.702351
ff75e873bc50af3add423f1f76edc56efdae6ca7
2,135
py
Python
2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/05-Lists-Advanced/02_Exercises/04-Office-Chairs.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/05-Lists-Advanced/02_Exercises/04-Office-Chairs.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
2-Python-Fundamentals (Jan 2021)/Course-Exercises-and-Exams/05-Lists-Advanced/02_Exercises/04-Office-Chairs.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
# 4. Office Chairs # So you've found a meeting room - phew! ' \ # 'You arrive there ready to present, and find that someone has taken one or more of the chairs!! ' \ # 'You need to find some quick.... check all the other meeting rooms to see if all of the chairs are in use. # You will be given a number n re...
47.444444
120
0.719906
ff769261d192cb236045382aced01d930dd67c3c
1,378
py
Python
src/SamplePreprocessor.py
msfasha/Arabic-Deep-Learning-OCR
10cd02937eb4aa7f3e40265ec6a4d50f4ef5ef29
[ "MIT" ]
7
2021-12-16T08:23:20.000Z
2022-03-14T19:10:25.000Z
src/SamplePreprocessor.py
msfasha/ArabicDLOCR
10cd02937eb4aa7f3e40265ec6a4d50f4ef5ef29
[ "MIT" ]
3
2021-09-17T14:31:34.000Z
2021-12-09T05:32:12.000Z
src/SamplePreprocessor.py
msfasha/ArabicDLOCR
10cd02937eb4aa7f3e40265ec6a4d50f4ef5ef29
[ "MIT" ]
1
2021-02-21T20:11:30.000Z
2021-02-21T20:11:30.000Z
from __future__ import division from __future__ import print_function import random import numpy as np import cv2 import Config as config def preprocess(img): "scale image into the desired imgSize, transpose it for TF and normalize gray-values" # increase dataset size by applying random stretche...
31.318182
90
0.609579
ff769c71c4daf7a143069fafb6b927bdd86beb99
11,249
py
Python
feature_examples/tensorflow/inspecting_tensors/pipelined_model.py
Paperspace/tutorials
8e20ffb687080c44e75dabea594d2b57acc53713
[ "MIT" ]
null
null
null
feature_examples/tensorflow/inspecting_tensors/pipelined_model.py
Paperspace/tutorials
8e20ffb687080c44e75dabea594d2b57acc53713
[ "MIT" ]
78
2021-09-20T11:48:08.000Z
2021-10-21T07:10:39.000Z
feature_examples/tensorflow/inspecting_tensors/pipelined_model.py
Paperspace/tutorials
8e20ffb687080c44e75dabea594d2b57acc53713
[ "MIT" ]
1
2022-02-25T12:07:16.000Z
2022-02-25T12:07:16.000Z
# Copyright (c) 2020 Graphcore Ltd. All rights reserved. import argparse from functools import partial import numpy as np import tensorflow.compat.v1 as tf from tensorflow.keras.datasets import mnist from tensorflow.keras import layers from tensorflow.python import ipu from outfeed_optimizer import OutfeedOptimizer,...
42.289474
131
0.649391
ff76a6c284f6402781219fe1a5d5ef9cc1b7570a
1,161
py
Python
youtube_list.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
youtube_list.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
youtube_list.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
# from apiclient.discovery import build # from apiclient.errors import HttpError from googleapiclient.discovery import build from googleapiclient.errors import HttpError from oauth2client.tools import argparser DEVELOPER_KEY = "AIzaSyCsrKjMf7_mHYrT6rIJ-oaA6KL5IYg389A" YOUTUBE_API_SERVICE_NAME = "youtube" YOUTUBE_API_V...
30.552632
94
0.70801
ff77cf7a8eea7809ab411aa9b0c87d02e9b83629
5,837
py
Python
tests/rbac/test_policies.py
giangbui/fence
5a28b77c30ce7fb11fd05b09a023d0aec1e57e16
[ "Apache-2.0" ]
2
2019-06-10T15:30:51.000Z
2020-01-18T23:24:13.000Z
tests/rbac/test_policies.py
giangbui/fence
5a28b77c30ce7fb11fd05b09a023d0aec1e57e16
[ "Apache-2.0" ]
null
null
null
tests/rbac/test_policies.py
giangbui/fence
5a28b77c30ce7fb11fd05b09a023d0aec1e57e16
[ "Apache-2.0" ]
1
2022-03-31T09:52:46.000Z
2022-03-31T09:52:46.000Z
# pylint: disable=unused-argument """ Run tests for the policy endpoints in the RBAC blueprint. Note that any test which will cause a call to ``fence.blueprints.rbac.lookup_policies`` must add the test policies to the database, otherwise fence will raise an error from not finding a policy. Use something like this: ...
36.710692
82
0.716464
ff79db00a80e1a45e4d85ba2459fb187941dbe4e
901
py
Python
count.py
amacd31/pypi_download_counter
10c0c239185d0c76dbb0717561b4548439847cc6
[ "BSD-3-Clause" ]
null
null
null
count.py
amacd31/pypi_download_counter
10c0c239185d0c76dbb0717561b4548439847cc6
[ "BSD-3-Clause" ]
null
null
null
count.py
amacd31/pypi_download_counter
10c0c239185d0c76dbb0717561b4548439847cc6
[ "BSD-3-Clause" ]
null
null
null
from datetime import date import pandas as pd import requests from phildb.database import PhilDB from phildb.exceptions import DuplicateError MEASURANDS = ['last_day', 'last_week', 'last_month'] db = PhilDB('pypi_downloads')
23.710526
115
0.641509
ff7ba6f9e8860cad59ba673c821554190e51c56e
4,773
py
Python
source/evaluate.py
dovietchinh/multi-task-classification
23a70300a7a800bc982f87902b6aa1faaf91b489
[ "RSA-MD" ]
null
null
null
source/evaluate.py
dovietchinh/multi-task-classification
23a70300a7a800bc982f87902b6aa1faaf91b489
[ "RSA-MD" ]
null
null
null
source/evaluate.py
dovietchinh/multi-task-classification
23a70300a7a800bc982f87902b6aa1faaf91b489
[ "RSA-MD" ]
null
null
null
import torch from models.mobilenetv2 import MobileNetV2 import sklearn.metrics from tqdm import tqdm import argparse import logging from utils.dataset import LoadImagesAndLabels, preprocess from utils.torch_utils import select_device import yaml import pandas as pd import os import numpy as np LOGGER = logging.getL...
40.449153
147
0.600251
ff7c13128a462bb3be23d19e422d7d63b0a4d08d
1,070
py
Python
exec_command.py
Stefantb/CMakeTools
3fd909e0d45034180e8cf97d73779468c555368f
[ "MIT" ]
null
null
null
exec_command.py
Stefantb/CMakeTools
3fd909e0d45034180e8cf97d73779468c555368f
[ "MIT" ]
null
null
null
exec_command.py
Stefantb/CMakeTools
3fd909e0d45034180e8cf97d73779468c555368f
[ "MIT" ]
null
null
null
import imp import Default.exec from . import build_tools from . import logging imp.reload(build_tools) imp.reload(logging) # ***************************************************************************** # # ***************************************************************************** logger = logging.get_logger(__...
28.157895
79
0.483178
ff7cee0bbdeb25c035125e937f02eb3a317f2f50
233
py
Python
podcast/admin.py
Msyoka/2cents
8a0f0ddef743b27c715d46ee790eca6f48e8d163
[ "MIT" ]
null
null
null
podcast/admin.py
Msyoka/2cents
8a0f0ddef743b27c715d46ee790eca6f48e8d163
[ "MIT" ]
null
null
null
podcast/admin.py
Msyoka/2cents
8a0f0ddef743b27c715d46ee790eca6f48e8d163
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Profile, Comments, Votes, Podcasts # Register your models here. admin.site.register(Podcasts) admin.site.register(Profile) admin.site.register(Comments) admin.site.register(Votes)
29.125
54
0.815451
ff7d34e02261e5588658057813346b3480351089
700
py
Python
test/test_wire2.py
aravindhk/Vides
65d9ea9764ddf5f6ef40e869bd31387d0e3e378f
[ "BSD-4-Clause" ]
2
2021-11-03T17:24:24.000Z
2021-12-02T06:06:50.000Z
test/test_wire2.py
aravindhk/Vides
65d9ea9764ddf5f6ef40e869bd31387d0e3e378f
[ "BSD-4-Clause" ]
null
null
null
test/test_wire2.py
aravindhk/Vides
65d9ea9764ddf5f6ef40e869bd31387d0e3e378f
[ "BSD-4-Clause" ]
null
null
null
from NanoTCAD_ViDES import * #a=array([5.4,0,0,10,6]) #rank = MPI.COMM_WORLD.Get_rank() rank=0; a=array([5.43,0,1,3.85,10.5]) [x,y,z]=atoms_coordinates_nanowire(a); save_format_xyz("Z2.xyz",x/10.0,y/10.0,z/10.0,"Si"); [HH,n,Nc]=create_H_from_xyz(x,y,z,10,thop_Si,3,4); ind=argsort(HH[:,1]); savetxt("H",(real(HH[:,0:10])...
21.212121
52
0.631429
ff81e93f9d63ba522af9720a31163a75f3b71887
2,127
py
Python
setup.py
spacemeat/humon-py
f67119be656c169fda5624ef1d33d639e0e84809
[ "MIT" ]
null
null
null
setup.py
spacemeat/humon-py
f67119be656c169fda5624ef1d33d639e0e84809
[ "MIT" ]
null
null
null
setup.py
spacemeat/humon-py
f67119be656c169fda5624ef1d33d639e0e84809
[ "MIT" ]
null
null
null
# We're linking against '../build/bin/libhumon-d.a' which is built by `../build.py`. from setuptools import setup, Extension with open ('README.md', 'r') as f: long_desc = f.read() setup(name="humon", version='0.0.3', description='A Python wrapper over humon\'s C API, for reading Humon token stream...
41.705882
91
0.416549
ff82d04b9e540859b9ae5219908e24258f1feaee
21,785
py
Python
tutorial files/spectrast2spectrast_irt.py
tachengxmu/QuantPipe
5d75891dc8672284e90beab363d253ecf14e3775
[ "BSD-3-Clause" ]
1
2020-10-26T08:28:49.000Z
2020-10-26T08:28:49.000Z
tutorial files/spectrast2spectrast_irt.py
tachengxmu/QuantPipe
5d75891dc8672284e90beab363d253ecf14e3775
[ "BSD-3-Clause" ]
5
2020-11-01T03:01:15.000Z
2021-01-21T06:39:00.000Z
tutorial files/spectrast2spectrast_irt.py
tachengxmu/QuantPipe
5d75891dc8672284e90beab363d253ecf14e3775
[ "BSD-3-Clause" ]
null
null
null
#!C:\Anaconda3\python.exe """ Copyright (c) 2012, ETH Zurich, Insitute of Molecular Systems Biology, George Rosenberger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source co...
50.780886
3,844
0.65972
ff8380265f376dd391d1a11edf2a540c53f53a18
3,755
py
Python
indra/lib/python/indra/base/metrics.py
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/lib/python/indra/base/metrics.py
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/lib/python/indra/base/metrics.py
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
"""\ @file metrics.py @author Phoenix @date 2007-11-27 @brief simple interface for logging metrics $LicenseInfo:firstyear=2007&license=mit$ Copyright (c) 2007-2009, Linden Research, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
30.778689
77
0.69241