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
50ec400b28d273845661df97a4f47b5842de0d09
496
py
Python
src/types.py
fabianobizarro/lispy
61f092fc9bebf16ec1963df33388e57af2df5e76
[ "MIT" ]
null
null
null
src/types.py
fabianobizarro/lispy
61f092fc9bebf16ec1963df33388e57af2df5e76
[ "MIT" ]
null
null
null
src/types.py
fabianobizarro/lispy
61f092fc9bebf16ec1963df33388e57af2df5e76
[ "MIT" ]
null
null
null
# Types Symbol = str # A Lisp Symbol is implemented as a Python str List = list # A Lisp List is implemented as a Python list Number = (int, float) # A Lisp Number is implemented as a Python int or float # Exp = Union[Symbol, Exp] def atom(token): "Numbers become numbers; every other token i...
23.619048
78
0.620968
50ec7093b69902578058e5325a13292f0fd0aef1
2,086
py
Python
app/logic/mailing/tests/tests_management_SendMail.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
10
2017-01-13T06:28:04.000Z
2020-11-18T13:00:26.000Z
app/logic/mailing/tests/tests_management_SendMail.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
null
null
null
app/logic/mailing/tests/tests_management_SendMail.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
2
2018-03-29T14:10:53.000Z
2019-11-20T08:21:57.000Z
""" StackedMail management command tests """ from django.test import TestCase from django.test import Client from django.conf import settings from django.core import mail from django.core.management import call_command from django.utils.six import StringIO from app.logic.mailing.models.StackedMailModel import StackedM...
33.111111
89
0.660594
50ed09f4520aa4f2cf7555a9b4e50a474d33e658
26,637
py
Python
source/deepsecurity/api/policy_firewall_rule_details_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-10-30T16:40:09.000Z
2021-10-30T16:40:09.000Z
source/deepsecurity/api/policy_firewall_rule_details_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-07-28T20:19:03.000Z
2021-07-28T20:19:03.000Z
source/deepsecurity/api/policy_firewall_rule_details_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-10-30T16:40:02.000Z
2021-10-30T16:40:02.000Z
# coding: utf-8 """ Trend Micro Deep Security API Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate De...
50.737143
311
0.637497
50ed2f5909b9404a25f18a778eda2dc622034b2e
1,957
py
Python
server/middleware/log_requests.py
marirs/fastApi-simpleApiKey-boilerplate
2989e6ec3865d3719df059369adf36c31c014ab3
[ "MIT" ]
3
2020-06-15T21:11:02.000Z
2022-01-19T07:52:44.000Z
server/middleware/log_requests.py
marirs/fastApi-simpleApiKey-boilerplate
2989e6ec3865d3719df059369adf36c31c014ab3
[ "MIT" ]
1
2020-08-24T07:49:55.000Z
2020-08-24T07:49:55.000Z
server/middleware/log_requests.py
marirs/fastApi-simpleApiKey-boilerplate
2989e6ec3865d3719df059369adf36c31c014ab3
[ "MIT" ]
2
2020-07-07T14:24:44.000Z
2020-08-24T07:40:04.000Z
""" Log requests middleware """ import time from fastapi import Request import geoip2.database from geoip2.errors import AddressNotFoundError from starlette.middleware.base import BaseHTTPMiddleware, RequestResponseEndpoint from server.config import app_logger from server.config import CITY_DB logger = app_logger(__n...
33.741379
81
0.62698
50ee3e8e00f618a16eddadbc990257d3c3594577
244
py
Python
example/src/pythonSnippet.py
hansehe/DockerBuildManagement
774ddfb5184dc9c9ae0c307c7d5963a4ccb104f8
[ "MIT" ]
8
2019-04-03T13:40:30.000Z
2020-11-29T09:20:13.000Z
example/src/pythonSnippet.py
hansehe/DockerBuildManagement
774ddfb5184dc9c9ae0c307c7d5963a4ccb104f8
[ "MIT" ]
1
2019-02-06T16:05:06.000Z
2019-02-24T22:59:43.000Z
example/src/pythonSnippet.py
hansehe/DockerBuildManagement
774ddfb5184dc9c9ae0c307c7d5963a4ccb104f8
[ "MIT" ]
5
2018-12-15T19:03:25.000Z
2021-09-22T23:42:33.000Z
if __name__ == "__main__": print(GetInfoMsg())
34.857143
79
0.684426
50f08891336f7e5545f07eea041b3eca967010af
42
py
Python
python/testData/requirement/generation/keepMatchingVersion/main.py
Sajaki/intellij-community
6748af2c40567839d11fd652ec77ba263c074aad
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/requirement/generation/keepMatchingVersion/main.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2022-02-19T09:45:05.000Z
2022-02-27T20:32:55.000Z
python/testData/requirement/generation/keepMatchingVersion/main.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
1
2020-03-10T02:53:51.000Z
2020-03-10T02:53:51.000Z
import django import numpy import requests
14
15
0.880952
50f24aafc2c271250aa2b186af0caf47f126a2f7
735
py
Python
tools/search_product.py
shuangliu1993/PyScraper
c59f17ddf4bb7ddde8a8f08875b8743b35ab894a
[ "MIT" ]
null
null
null
tools/search_product.py
shuangliu1993/PyScraper
c59f17ddf4bb7ddde8a8f08875b8743b35ab894a
[ "MIT" ]
null
null
null
tools/search_product.py
shuangliu1993/PyScraper
c59f17ddf4bb7ddde8a8f08875b8743b35ab894a
[ "MIT" ]
null
null
null
import argparse if __name__ == "__main__": main()
24.5
90
0.663946
50f3354c783dfac6ddb9456c55399677fd92b771
4,423
py
Python
mros1_reasoner/test/test_level_1_functional_arch.py
JWijkhuizen/mc_mros_reasoner
10f9ded02bf4f1c24ab57be83ed75e6e2a3815a8
[ "Apache-2.0" ]
null
null
null
mros1_reasoner/test/test_level_1_functional_arch.py
JWijkhuizen/mc_mros_reasoner
10f9ded02bf4f1c24ab57be83ed75e6e2a3815a8
[ "Apache-2.0" ]
null
null
null
mros1_reasoner/test/test_level_1_functional_arch.py
JWijkhuizen/mc_mros_reasoner
10f9ded02bf4f1c24ab57be83ed75e6e2a3815a8
[ "Apache-2.0" ]
1
2020-11-19T16:26:33.000Z
2020-11-19T16:26:33.000Z
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # 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 cod...
41.336449
111
0.591906
50f36717a52d72766e958dea02b6d3aadf86dd90
11,278
py
Python
psana/psana/dgrammanager.py
valmar/lcls2
1c24da076a8cd252cf6601e125dd721fd2004f2a
[ "BSD-3-Clause-LBNL" ]
null
null
null
psana/psana/dgrammanager.py
valmar/lcls2
1c24da076a8cd252cf6601e125dd721fd2004f2a
[ "BSD-3-Clause-LBNL" ]
null
null
null
psana/psana/dgrammanager.py
valmar/lcls2
1c24da076a8cd252cf6601e125dd721fd2004f2a
[ "BSD-3-Clause-LBNL" ]
null
null
null
import sys, os import time import getopt import pprint try: # doesn't exist on macos from shmem import PyShmemClient except: pass from psana import dgram from psana.event import Event from psana.detector import detectors from psana.psexp.event_manager import TransitionId import numpy as np # method to dum...
37.719064
112
0.572708
50f3ae5f1f858f1abc588b7f7e7a6693cdb88057
944
py
Python
examples/flair_example/example_3.py
aethersoft/textkit-learn
8b25b19d394fb361dde4427ed3b84d63552b7cc8
[ "MIT" ]
null
null
null
examples/flair_example/example_3.py
aethersoft/textkit-learn
8b25b19d394fb361dde4427ed3b84d63552b7cc8
[ "MIT" ]
null
null
null
examples/flair_example/example_3.py
aethersoft/textkit-learn
8b25b19d394fb361dde4427ed3b84d63552b7cc8
[ "MIT" ]
null
null
null
from flair.models import TARSTagger from flair.data import Sentence # 1. Load zero-shot NER tagger tars = TARSTagger.load('tars-ner') # 2. Prepare some test sentences sentences = [ Sentence("kill la kill is an anime"), Sentence("The Humboldt University of Berlin is situated near the Spree in Berlin, Germany")...
39.333333
116
0.723517
50f3b4598c7630a75082dc263f080621b3c51a76
1,061
py
Python
techmanpy/clients/tmsta_client.py
julespalles/techman-python
384ef92dc0601f93259e4a6e5a7e8b1c96876902
[ "MIT" ]
3
2020-12-28T08:28:23.000Z
2022-03-27T18:52:02.000Z
techmanpy/clients/tmsta_client.py
julespalles/techman-python
384ef92dc0601f93259e4a6e5a7e8b1c96876902
[ "MIT" ]
2
2021-09-06T12:56:08.000Z
2021-11-02T12:52:02.000Z
techmanpy/clients/tmsta_client.py
jvdtoorn/techmanpy
384ef92dc0601f93259e4a6e5a7e8b1c96876902
[ "MIT" ]
null
null
null
#!/usr/bin/env python import asyncio from .stateless_client import * from ..packets import * from ..exceptions import *
27.921053
90
0.707823
50f5d881c3d0d561188e06fdce8329c0abb29d96
1,537
py
Python
rampwf/score_types/__init__.py
rth/ramp-workflow
e97a27235a8dbd68111ca6b0c9136ff35cab81f8
[ "BSD-3-Clause" ]
null
null
null
rampwf/score_types/__init__.py
rth/ramp-workflow
e97a27235a8dbd68111ca6b0c9136ff35cab81f8
[ "BSD-3-Clause" ]
1
2020-01-18T09:47:03.000Z
2020-01-20T15:33:11.000Z
rampwf/score_types/__init__.py
rth/ramp-workflow
e97a27235a8dbd68111ca6b0c9136ff35cab81f8
[ "BSD-3-Clause" ]
null
null
null
from .accuracy import Accuracy from .balanced_accuracy import BalancedAccuracy from .base import BaseScoreType from .brier_score import ( BrierScore, BrierSkillScore, BrierScoreReliability, BrierScoreResolution) from .clustering_efficiency import ClusteringEfficiency from .classification_error import Classification...
28.462963
77
0.762524
50f6582522a07cfc18e387853c08f5bffb83bbd5
120
py
Python
src/som/vm/current.py
SOM-st/PySOM
65ef72f44252439b724a7429408dac7f8d1b1d98
[ "MIT" ]
22
2015-10-29T05:11:06.000Z
2022-03-01T11:18:45.000Z
src/som/vm/current.py
smarr/PySOM
65ef72f44252439b724a7429408dac7f8d1b1d98
[ "MIT" ]
16
2021-03-07T22:09:33.000Z
2021-08-24T12:36:15.000Z
src/som/vm/current.py
SOM-st/PySOM
65ef72f44252439b724a7429408dac7f8d1b1d98
[ "MIT" ]
5
2015-01-02T03:51:29.000Z
2020-10-02T07:05:46.000Z
current_universe = _init()
15
47
0.733333
50f65fae1a46d1d8123517234371efe7221d2e7d
6,272
py
Python
detectron2_backbone/backbone/shufflenetv2.py
cenchaojun/detectron2
03ca41a6873bb641764c4762d40d355f215e7ad9
[ "Apache-2.0" ]
null
null
null
detectron2_backbone/backbone/shufflenetv2.py
cenchaojun/detectron2
03ca41a6873bb641764c4762d40d355f215e7ad9
[ "Apache-2.0" ]
null
null
null
detectron2_backbone/backbone/shufflenetv2.py
cenchaojun/detectron2
03ca41a6873bb641764c4762d40d355f215e7ad9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # -------------------------------------------------------- # Descripttion: https://github.com/sxhxliang/detectron2_backbone # version: 0.0.1 # Author: Shihua Liang (sxhx.liang@gmail.com) # FilePath: /detectron2_backbone/backbone/shufflenetv2.py # Create: 2020-04-19 11:50:19...
35.039106
149
0.650032
50f7c29fc8ab893b2f181271b7547aefe74fc256
2,720
py
Python
client.py
iamdonmathew/CLI-Rest-API
0df6463b9a4d5d22ec3acb6fffde47c6fa4bf8c0
[ "MIT" ]
1
2020-07-25T04:17:25.000Z
2020-07-25T04:17:25.000Z
client.py
iamdonmathew/CLI-Rest-API
0df6463b9a4d5d22ec3acb6fffde47c6fa4bf8c0
[ "MIT" ]
null
null
null
client.py
iamdonmathew/CLI-Rest-API
0df6463b9a4d5d22ec3acb6fffde47c6fa4bf8c0
[ "MIT" ]
null
null
null
# author: <Don Mathew> # Client side CLI # Necessary imports. import os import json from pathlib import Path import requests import click from server import run # Click package is used to turn the python script into CLI.
44.590164
173
0.584559
50fa748f4b12b2cb785fef94eea4592ec4640a99
1,921
py
Python
python_code/I_K_ATP_RMP_mg.py
mmaleck/chondrocyte
5109102b8f476318dd03f39521cfbfd5b2edf719
[ "MIT" ]
1
2021-07-01T08:36:21.000Z
2021-07-01T08:36:21.000Z
python_code/I_K_ATP_RMP_mg.py
mmaleck/chondrocyte
5109102b8f476318dd03f39521cfbfd5b2edf719
[ "MIT" ]
2
2021-07-09T11:59:58.000Z
2021-08-18T16:05:13.000Z
python_code/I_K_ATP_RMP_mg.py
mmaleck/chondrocyte
5109102b8f476318dd03f39521cfbfd5b2edf719
[ "MIT" ]
1
2021-07-02T10:01:20.000Z
2021-07-02T10:01:20.000Z
import numpy as np from scipy.integrate.odepack import odeint import matplotlib.pyplot as plt import functions from chondrocyte import Voltage_clamp from params import params_dict import matplotlib as mpl """ The code is used to create Figure 4B for submitted paper "Probing the putative role of KATP channels and biol...
33.12069
128
0.723061
50fb774ef289656b71e1121738fca6d6a94e36e7
10,299
py
Python
Dataset4EO/datasets/_builtin/voc.py
GeoAI4EO/GeoData4EO
8da7df7fd8375efc3c584c6603622060384fe906
[ "Apache-2.0" ]
null
null
null
Dataset4EO/datasets/_builtin/voc.py
GeoAI4EO/GeoData4EO
8da7df7fd8375efc3c584c6603622060384fe906
[ "Apache-2.0" ]
null
null
null
Dataset4EO/datasets/_builtin/voc.py
GeoAI4EO/GeoData4EO
8da7df7fd8375efc3c584c6603622060384fe906
[ "Apache-2.0" ]
null
null
null
import enum import pdb import functools import pathlib from typing import Any, Dict, List, Optional, Tuple, BinaryIO, cast, Union from xml.etree import ElementTree from torchdata.datapipes.iter import ( IterDataPipe, Mapper, Filter, Demultiplexer, IterKeyZipper, LineReader, ) from torchvision.d...
42.036735
137
0.595301
50fc5d678ce5f53a6ac5266cf971694049a80f34
6,799
py
Python
server/roster_updater/lib/course.py
HeavenFox/coursepad
cd7b1224f563271a2b89817ae4f2eccdc164d46b
[ "Apache-2.0" ]
33
2016-09-30T03:58:01.000Z
2021-01-09T16:12:25.000Z
server/roster_updater/lib/course.py
HeavenFox/coursepad
cd7b1224f563271a2b89817ae4f2eccdc164d46b
[ "Apache-2.0" ]
8
2017-01-30T23:27:45.000Z
2022-02-18T05:15:59.000Z
server/roster_updater/lib/course.py
HeavenFox/coursepad
cd7b1224f563271a2b89817ae4f2eccdc164d46b
[ "Apache-2.0" ]
7
2016-09-30T03:59:50.000Z
2018-10-21T02:17:12.000Z
import re # crawl roster faulty_prof = { 'Francis,J)' : 'Francis,J (jdf2)', 'Glathar,E)' : 'Glathar,E', 'Cady,B)' : 'Cady,B' } section_types = set() day_pattern = { 'M': 1, 'T': 1<<1, 'W': 1<<2, 'R': 1<<3, 'F': 1<<4, 'S': 1<<5, 'U': 1<<6 }
29.820175
123
0.564348
50fcd7ae55a8d5d729cd12147281f7bebe4d3311
566
py
Python
src/colusa/plugins/etr_infoq.py
huuhoa/symphony
f8a364649634b4d864771b2c8a3103b714b6b9e2
[ "MIT" ]
6
2020-08-29T04:14:15.000Z
2020-09-18T10:53:59.000Z
src/colusa/plugins/etr_infoq.py
huuhoa/colusa
07a0a60680c8085c5dca522e0237f7b5a5181dcb
[ "MIT" ]
34
2021-09-07T15:17:38.000Z
2022-03-25T15:16:40.000Z
src/colusa/plugins/etr_infoq.py
huuhoa/colusa
07a0a60680c8085c5dca522e0237f7b5a5181dcb
[ "MIT" ]
2
2020-08-29T04:21:35.000Z
2020-09-13T17:36:06.000Z
from colusa.etr import Extractor, register_extractor
40.428571
102
0.706714
50fef9dc7c37378c2b89f5d5abd92f9996a28c56
162
py
Python
covidapp/urls.py
babbarutkarsh/CovidTracker
6bb1bcdf5b0e11208e8b0494028082ed32ff4573
[ "MIT" ]
1
2021-04-23T05:11:07.000Z
2021-04-23T05:11:07.000Z
covidapp/urls.py
babbarutkarsh/CovidTracker
6bb1bcdf5b0e11208e8b0494028082ed32ff4573
[ "MIT" ]
null
null
null
covidapp/urls.py
babbarutkarsh/CovidTracker
6bb1bcdf5b0e11208e8b0494028082ed32ff4573
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path,include from .views import helloworldview urlpatterns = [ path('helloworld/',helloworldview) ]
20.25
38
0.783951
50ff2d5fa93361a61b58feca15f43ba6967b76f5
320
py
Python
src/cart/migrations/0009_remove_cartitem_user.py
phisyche/rydhubsolutions
50cd35c9f2f6530bcc19358beb6c91cda5287f4f
[ "MIT" ]
5
2020-09-07T15:30:10.000Z
2021-01-21T19:25:22.000Z
src/cart/migrations/0009_remove_cartitem_user.py
phisyche/rydhubsolutions
50cd35c9f2f6530bcc19358beb6c91cda5287f4f
[ "MIT" ]
21
2019-12-04T22:49:42.000Z
2022-02-12T09:17:42.000Z
src/cart/migrations/0009_remove_cartitem_user.py
phisyche/rydhubsolutions
50cd35c9f2f6530bcc19358beb6c91cda5287f4f
[ "MIT" ]
4
2020-03-25T05:50:39.000Z
2021-08-08T20:59:20.000Z
# Generated by Django 2.2.9 on 2020-01-29 16:31 from django.db import migrations
17.777778
47
0.58125
50ff56459c08497afa6fce21e2286f5a45fd1a2b
10,344
py
Python
tests/test_pendant_aws.py
clintval/reticle
9be96e270970573ca981aa95ba0db1a1f7f46e39
[ "MIT" ]
1
2020-07-04T17:38:36.000Z
2020-07-04T17:38:36.000Z
tests/test_pendant_aws.py
clintval/pendant
9be96e270970573ca981aa95ba0db1a1f7f46e39
[ "MIT" ]
8
2018-12-03T18:59:14.000Z
2018-12-10T19:33:53.000Z
tests/test_pendant_aws.py
clintval/reticle
9be96e270970573ca981aa95ba0db1a1f7f46e39
[ "MIT" ]
null
null
null
import os from datetime import datetime import botocore import boto3 import moto import pytest from hypothesis import example, given from hypothesis.strategies import integers, datetimes from pendant.aws.batch import BatchJob, JobDefinition from pendant.aws.exception import BatchJobSubmissionError, S3ObjectNotFoundE...
34.828283
123
0.715971
0f95f5577340fe7d3a0b009ba5b2db437206b317
5,976
py
Python
plot_progs/barsum_plot.py
bradlyke/dr16q
5645491bc05806c5b956e76c5bcec939722c065f
[ "BSD-3-Clause" ]
2
2020-09-21T23:12:09.000Z
2020-09-23T03:54:06.000Z
plot_progs/barsum_plot.py
bradlyke/dr16q
5645491bc05806c5b956e76c5bcec939722c065f
[ "BSD-3-Clause" ]
null
null
null
plot_progs/barsum_plot.py
bradlyke/dr16q
5645491bc05806c5b956e76c5bcec939722c065f
[ "BSD-3-Clause" ]
null
null
null
""" This creates the plot that is used as Fig. 2 in Lyke et al. 2020. Dependencies ---------- github repository : https://github.com/bradlyke/utilities Note: To get these plots, LaTeX must be installed and matplotlib must be able to compile LaTeX commands Input file ---------- The most recent version of the DR...
37.35
153
0.684572
0f9934026df2e6f4b91b0975aecdc12c43dbf68d
6,417
py
Python
health/models.py
atiro/obesitydata
b0cc0759db03ee07c63b3b254bf04f59aeef965d
[ "BSD-3-Clause" ]
null
null
null
health/models.py
atiro/obesitydata
b0cc0759db03ee07c63b3b254bf04f59aeef965d
[ "BSD-3-Clause" ]
15
2015-07-27T21:43:25.000Z
2015-07-29T21:34:48.000Z
health/models.py
atiro/obesitydata
b0cc0759db03ee07c63b3b254bf04f59aeef965d
[ "BSD-3-Clause" ]
null
null
null
from django.db import models # Create your models here. # Create your models here. # Create your models here.
25.164706
95
0.58532
0f9a233de5e4a797f10da680378306ea2d873d20
5,112
py
Python
src/rcwa_utils.py
scolburn54/rcwa_tf
50c7f6e477b2784c32586d6eddb13ef9e4adec02
[ "BSD-3-Clause" ]
9
2021-04-06T11:58:14.000Z
2021-12-28T18:37:28.000Z
src/rcwa_utils.py
scolburn54/rcwa_tf
50c7f6e477b2784c32586d6eddb13ef9e4adec02
[ "BSD-3-Clause" ]
null
null
null
src/rcwa_utils.py
scolburn54/rcwa_tf
50c7f6e477b2784c32586d6eddb13ef9e4adec02
[ "BSD-3-Clause" ]
2
2021-04-08T13:38:23.000Z
2021-05-03T17:34:27.000Z
# Copyright (c) 2020, Shane Colburn, University of Washington # This file is part of rcwa_tf # Written by Shane Colburn (Email: scolbur2@uw.edu) import tensorflow as tf import numpy as np def convmat(A, P, Q): ''' This function computes a convolution matrix for a real space matrix `A` that represents...
38.727273
80
0.586072
0f9b04b14d4ee24b9d02d994d9ee17da1f43cabe
925
py
Python
src/ui/setup_custom_dialog.py
AndreWohnsland/CocktailBerry
60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d
[ "MIT" ]
1
2022-03-06T23:50:34.000Z
2022-03-06T23:50:34.000Z
src/ui/setup_custom_dialog.py
AndreWohnsland/CocktailBerry
60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d
[ "MIT" ]
4
2022-03-03T11:16:17.000Z
2022-03-20T15:53:37.000Z
src/ui/setup_custom_dialog.py
AndreWohnsland/CocktailBerry
60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d
[ "MIT" ]
null
null
null
from PyQt5.QtCore import Qt from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QDialog from src.ui_elements.customdialog import Ui_CustomDialog from src.display_controller import DP_CONTROLLER
34.259259
88
0.724324
0f9b0b94a9c2c162c1af702148c3ee04656d8ab2
1,542
py
Python
archived/twitter_filtering_deprecated_code/tw_keyword_search.py
mcpeixoto/Sentrade
55f65508d6b565b99840c9ce5d757185f5027164
[ "MIT" ]
4
2020-09-28T18:40:47.000Z
2021-12-01T08:29:29.000Z
archived/twitter_filtering_deprecated_code/tw_keyword_search.py
ZiyouZhang/Sentrade
c88d20a858de6d05649f99230ca2b44f4c76cd3c
[ "MIT" ]
null
null
null
archived/twitter_filtering_deprecated_code/tw_keyword_search.py
ZiyouZhang/Sentrade
c88d20a858de6d05649f99230ca2b44f4c76cd3c
[ "MIT" ]
2
2021-08-10T22:32:52.000Z
2022-02-03T21:28:47.000Z
__author__ = "Fengming Liu" __status__ = "prototype" import tarfile import json import re import subprocess import os import nltk import time year = 2019 month = 9 day = 16 keyword_list = ["netflix", "amazon", "apple", "microsoft", "google", "tesla", "facebook"] date = "{0}-{1}-{2}".format(year, str(month).zfill(2), ...
34.266667
96
0.666018
0f9b117a6372cf0f258615a3e1de5ab261a64bf4
2,480
py
Python
tests/unit/callbacks/test_sqlalchemy.py
dunnkers/fseval
49a11a63e09e65b1f14389b6ba3a9ae3aeae086d
[ "MIT" ]
5
2020-07-08T11:58:46.000Z
2022-01-26T13:58:00.000Z
tests/unit/callbacks/test_sqlalchemy.py
dunnkers/fseval
49a11a63e09e65b1f14389b6ba3a9ae3aeae086d
[ "MIT" ]
63
2021-05-09T06:18:24.000Z
2022-03-27T18:05:58.000Z
tests/unit/callbacks/test_sqlalchemy.py
dunnkers/fseval
49a11a63e09e65b1f14389b6ba3a9ae3aeae086d
[ "MIT" ]
1
2022-02-11T03:24:14.000Z
2022-02-11T03:24:14.000Z
import numpy as np import pandas as pd import pytest from fseval.callbacks.sql_alchemy import SQLAlchemyCallback from fseval.types import Task from omegaconf import DictConfig, OmegaConf def test_init_no_params(): """Initialization should fail when no `engine` param was supplied.""" # no `engine` with pyt...
28.837209
88
0.644758
0f9b32f06196acf472b687c9df115a7c46e39e8e
8,170
py
Python
pytesla/vehicle.py
jstenback/pytesla
25707fd59bc3ba67f6db8d2a43fbaa7cb238f4e7
[ "BSD-3-Clause" ]
null
null
null
pytesla/vehicle.py
jstenback/pytesla
25707fd59bc3ba67f6db8d2a43fbaa7cb238f4e7
[ "BSD-3-Clause" ]
null
null
null
pytesla/vehicle.py
jstenback/pytesla
25707fd59bc3ba67f6db8d2a43fbaa7cb238f4e7
[ "BSD-3-Clause" ]
3
2016-12-06T14:04:34.000Z
2020-01-10T22:03:03.000Z
from . import stream def refresh(self): self._conn.vehicles(True) def request(self, verb): return self._conn.request('/api/1/vehicles/{}/data_request/{}' \ .format(self.id, verb)).json()['response'] def command(self, verb, **kwargs): p = self._con...
29.709091
76
0.611506
0f9c4737e945f102d4edb66eb31fa3dc5f138f03
1,425
py
Python
modules/utility_date_time.py
Alex-Nalin/Support-Bot-v3
3d73e0596a279a3ef1c9cde60b88fecb93c33832
[ "MIT" ]
2
2019-01-15T11:13:20.000Z
2021-11-26T09:26:40.000Z
modules/utility_date_time.py
Alex-Nalin/Support-Bot-v3
3d73e0596a279a3ef1c9cde60b88fecb93c33832
[ "MIT" ]
null
null
null
modules/utility_date_time.py
Alex-Nalin/Support-Bot-v3
3d73e0596a279a3ef1c9cde60b88fecb93c33832
[ "MIT" ]
1
2019-02-19T08:56:13.000Z
2019-02-19T08:56:13.000Z
import datetime import re from dateutil.parser import parse
28.5
104
0.602105
0f9c5dc61dc683dbb784a1fe62685ebcd6df0bc2
232
py
Python
Mundo-1-Fundamentos/016.py
TOPTOPUNIVERSE/CEV-PYTHON3
07e2c6b41cd33f3555e14545cdf6fc37325c8fd1
[ "MIT" ]
null
null
null
Mundo-1-Fundamentos/016.py
TOPTOPUNIVERSE/CEV-PYTHON3
07e2c6b41cd33f3555e14545cdf6fc37325c8fd1
[ "MIT" ]
null
null
null
Mundo-1-Fundamentos/016.py
TOPTOPUNIVERSE/CEV-PYTHON3
07e2c6b41cd33f3555e14545cdf6fc37325c8fd1
[ "MIT" ]
null
null
null
""" Desafio 016 Problema: Crie um programa que leia um nmero Real qualquer pelo teclado e mostre na tela a sua poro Inteira.""" n = float(input('Digite um valor:')) print(f'O nmero {n} tem a parte inteira {int(n)}')
25.777778
64
0.681034
0f9d61f5e380aa3d41ab98b5c72a8faf138d7bbe
586
py
Python
algorithms/nesterov_random/nesterov_test.py
OptiMaL-PSE-Lab/Expensive-Black-Box-Optim-ChemEng
19c34dcff8c983926df501b93152fa3b3b0305d6
[ "MIT" ]
null
null
null
algorithms/nesterov_random/nesterov_test.py
OptiMaL-PSE-Lab/Expensive-Black-Box-Optim-ChemEng
19c34dcff8c983926df501b93152fa3b3b0305d6
[ "MIT" ]
null
null
null
algorithms/nesterov_random/nesterov_test.py
OptiMaL-PSE-Lab/Expensive-Black-Box-Optim-ChemEng
19c34dcff8c983926df501b93152fa3b3b0305d6
[ "MIT" ]
null
null
null
# import sys # sys.path.insert(1, 'test_functions') import numpy as np from test_functions.quadratic_constrained import * from test_functions.rosenbrock_constrained import * from algorithms.nesterov_random.nesterov_random import nesterov_random d = 2 its = 50 bounds = np.array([[-1.5,1.5],[-1.5,1.5]]) x0...
24.416667
80
0.6843
0f9d62c9fc903008351f564ece40e730aa1af67b
412
py
Python
old/accent_analyser/rules/VoicedFricative1.py
stefantaubert/eng2ipa-accent-transformer
d620c70b06c83119402e255085046747ade87444
[ "MIT" ]
null
null
null
old/accent_analyser/rules/VoicedFricative1.py
stefantaubert/eng2ipa-accent-transformer
d620c70b06c83119402e255085046747ade87444
[ "MIT" ]
null
null
null
old/accent_analyser/rules/VoicedFricative1.py
stefantaubert/eng2ipa-accent-transformer
d620c70b06c83119402e255085046747ade87444
[ "MIT" ]
null
null
null
from accent_analyser.rules.IpaRule import IpaRule
24.235294
59
0.708738
0f9e4fd81922dc4d984f8126b9b15624ec6193f3
6,032
py
Python
src/clients/python/api_v1/examples/ensemble_image_client.py
AliAzG/triton-inference-server
fbce250035d049d13f32c362e2d76a5cb787da51
[ "BSD-3-Clause" ]
null
null
null
src/clients/python/api_v1/examples/ensemble_image_client.py
AliAzG/triton-inference-server
fbce250035d049d13f32c362e2d76a5cb787da51
[ "BSD-3-Clause" ]
null
null
null
src/clients/python/api_v1/examples/ensemble_image_client.py
AliAzG/triton-inference-server
fbce250035d049d13f32c362e2d76a5cb787da51
[ "BSD-3-Clause" ]
1
2021-06-09T11:16:23.000Z
2021-06-09T11:16:23.000Z
#!/usr/bin/env python # Copyright (c) 2019-2020, NVIDIA CORPORATION. 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 code must retain the above copyright # notice...
41.888889
94
0.680869
0f9f167571a194f1bc7acb964cd47daad5d38e0c
146
py
Python
mamonsu/plugins/system/linux/__init__.py
sgrinko/mamonsu
03b8e1217b08e6580e08129fddd64dbc20265fd4
[ "BSD-3-Clause" ]
188
2016-01-31T09:05:59.000Z
2022-03-22T16:49:12.000Z
mamonsu/plugins/system/linux/__init__.py
sgrinko/mamonsu
03b8e1217b08e6580e08129fddd64dbc20265fd4
[ "BSD-3-Clause" ]
162
2016-02-02T13:49:14.000Z
2022-02-22T08:45:42.000Z
mamonsu/plugins/system/linux/__init__.py
sgrinko/mamonsu
03b8e1217b08e6580e08129fddd64dbc20265fd4
[ "BSD-3-Clause" ]
46
2016-01-31T21:23:37.000Z
2022-02-07T10:59:54.000Z
__all__ = [ 'proc_stat', 'disk_stats', 'disk_sizes', 'memory', 'uptime', 'open_files', 'net', 'la' ,'pg_probackup' ] from . import *
18.25
49
0.582192
0f9f1cf0e2224146473d97b789d2a857c46d01b2
164
py
Python
config.py
stultus/Flask-wado
997c4b54640be121e9436950c053df60054b2c13
[ "Apache-2.0" ]
3
2015-07-09T18:49:20.000Z
2021-04-19T03:20:12.000Z
config.py
stultus/Flask-wado
997c4b54640be121e9436950c053df60054b2c13
[ "Apache-2.0" ]
1
2016-07-20T23:19:03.000Z
2016-07-20T23:19:03.000Z
config.py
stultus/Flask-wado
997c4b54640be121e9436950c053df60054b2c13
[ "Apache-2.0" ]
4
2015-05-13T07:26:57.000Z
2022-01-25T23:19:00.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- import os basedir = os.path.abspath(os.path.dirname(__file__)) CSRF_ENABLED = True SECRET_KEY='parayan-manasilla'
16.4
52
0.707317
0f9ff91b0ba1a7d133ebeb2192bf15298558d0cf
14,797
py
Python
piper/mayapy/pipernode.py
MongoWobbler/piper
8e5185a34962096155dcce65da641feac8ca15e1
[ "MIT" ]
null
null
null
piper/mayapy/pipernode.py
MongoWobbler/piper
8e5185a34962096155dcce65da641feac8ca15e1
[ "MIT" ]
2
2021-03-22T02:25:56.000Z
2022-03-20T16:16:24.000Z
piper/mayapy/pipernode.py
MongoWobbler/piper
8e5185a34962096155dcce65da641feac8ca15e1
[ "MIT" ]
1
2021-04-20T07:36:30.000Z
2021-04-20T07:36:30.000Z
# Copyright (c) 2021 Christian Corsica. All Rights Reserved. import pymel.core as pm import piper_config as pcfg import piper.mayapy.util as myu import piper.mayapy.convert as convert import piper.mayapy.attribute as attribute from .rig import curve # must do relative import in python 2 def get(node_type, ignore=N...
33.029018
120
0.678246
0fa01c0382cec9db13e3b8d1049768cbc564bd7e
9,449
py
Python
ie_serving/server/rest_service.py
Doken-Tokuyama/OpenVINO-model-server
06cdd2785fdf68cb089a8fb98840977eef0c77c2
[ "Apache-2.0" ]
1
2019-08-31T04:02:04.000Z
2019-08-31T04:02:04.000Z
ie_serving/server/rest_service.py
Doken-Tokuyama/OpenVINO-model-server
06cdd2785fdf68cb089a8fb98840977eef0c77c2
[ "Apache-2.0" ]
null
null
null
ie_serving/server/rest_service.py
Doken-Tokuyama/OpenVINO-model-server
06cdd2785fdf68cb089a8fb98840977eef0c77c2
[ "Apache-2.0" ]
null
null
null
import datetime import json import falcon from google.protobuf.json_format import MessageToJson from tensorflow_serving.apis import get_model_metadata_pb2, \ get_model_status_pb2 from ie_serving.logger import get_logger from ie_serving.server.constants import WRONG_MODEL_SPEC, INVALID_FORMAT, \ OUTPUT_REPRESE...
42.755656
78
0.620489
0fa091d86b1a73176978c43ffd49893026ee0d83
11,373
py
Python
spinup/utils/hyper_search.py
yjl450/spinningup-drl-prototyping
88bbbca2ce48fcb879a6592f5bee1347ef52cf30
[ "MIT" ]
9
2019-11-07T07:05:25.000Z
2021-08-23T09:33:28.000Z
spinup/utils/hyper_search.py
yjl450/spinningup-drl-prototyping
88bbbca2ce48fcb879a6592f5bee1347ef52cf30
[ "MIT" ]
null
null
null
spinup/utils/hyper_search.py
yjl450/spinningup-drl-prototyping
88bbbca2ce48fcb879a6592f5bee1347ef52cf30
[ "MIT" ]
3
2020-06-25T16:08:30.000Z
2020-12-18T16:59:32.000Z
import pandas as pd import json import os import os.path as osp import numpy as np """ python -m spinup.run hyper_search <files> -ae <start from which epoch> make a file that can order the experiments in terms of their performance use this to easily find good hyperparameters when doing hyperparameter search upload thi...
43.408397
115
0.627979
0fa16ef2816f764151079f54a639f1a1c4d2374a
262
py
Python
piecrust/wsgiutil/__init__.py
airbornemint/PieCrust2
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
[ "Apache-2.0" ]
null
null
null
piecrust/wsgiutil/__init__.py
airbornemint/PieCrust2
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
[ "Apache-2.0" ]
null
null
null
piecrust/wsgiutil/__init__.py
airbornemint/PieCrust2
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
[ "Apache-2.0" ]
null
null
null
from piecrust.serving.server import WsgiServer
26.2
65
0.671756
0fa1f574a4f8141432aee6c23b38e68e734cc0ee
98
py
Python
Main.py
mriduldhall/tic-tac-toe
9487949edf84fddcdde09bdb8cb04dbfdc5f8faf
[ "MIT" ]
null
null
null
Main.py
mriduldhall/tic-tac-toe
9487949edf84fddcdde09bdb8cb04dbfdc5f8faf
[ "MIT" ]
null
null
null
Main.py
mriduldhall/tic-tac-toe
9487949edf84fddcdde09bdb8cb04dbfdc5f8faf
[ "MIT" ]
null
null
null
from Interfaces.CommandLineInterface import CLI if __name__ == '__main__': CLI().initiate()
16.333333
47
0.734694
0fa25074fb0a3f8683d33c168968750fc928e7ea
1,198
py
Python
tests/data/view.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
null
null
null
tests/data/view.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
5
2016-01-30T13:32:23.000Z
2016-02-06T13:34:11.000Z
tests/data/view.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from flask.ext.simple import FlaskEasyView from .model import ExampleModel from .form import generate_example_form from .testapp import app SimpleView.register(app) SimpleTemplateView.register(app) WithoutFormView.register(app) SimpleValidationFailureView.register(app)
22.185185
53
0.716194
0fa2c01a7139bb57740679564f53ec3e25788f1f
3,011
py
Python
tests/job_concurrency1_test.py
moellep/sirepo
4fd8b88b3b95921d50e6b225c02a46c00da16a27
[ "Apache-2.0" ]
null
null
null
tests/job_concurrency1_test.py
moellep/sirepo
4fd8b88b3b95921d50e6b225c02a46c00da16a27
[ "Apache-2.0" ]
null
null
null
tests/job_concurrency1_test.py
moellep/sirepo
4fd8b88b3b95921d50e6b225c02a46c00da16a27
[ "Apache-2.0" ]
2
2020-10-27T20:01:23.000Z
2020-11-06T23:35:05.000Z
# -*- coding: utf-8 -*- u"""Concurrency testing This test does not always fail when there is a problem (false positive), because it depends on a specific sequence of events that can't be controlled by the test. :copyright: Copyright (c) 2020 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/license...
29.23301
74
0.570242
0fa631a2baeb7f92993b24dab769fd0334e826c6
3,707
py
Python
FF_HOI.py
hellocatfood/FontForge-Higher-Order-Interpolation
56ecec8e14bd09490d31a8001482d972df5b5c76
[ "Apache-2.0" ]
14
2020-11-13T11:22:03.000Z
2021-07-20T15:30:54.000Z
FF_HOI.py
hellocatfood/FontForge-Higher-Order-Interpolation
56ecec8e14bd09490d31a8001482d972df5b5c76
[ "Apache-2.0" ]
null
null
null
FF_HOI.py
hellocatfood/FontForge-Higher-Order-Interpolation
56ecec8e14bd09490d31a8001482d972df5b5c76
[ "Apache-2.0" ]
1
2021-07-22T11:11:32.000Z
2021-07-22T11:11:32.000Z
#!/usr/bin/env python3 import fontforge import argparse import itertools import os import shutil from lib.util import * # This handles the glyph's "HOIINFO" comment. Right now only deals with setting rbearing of each master. from lib import HOIInfo parser = argparse.ArgumentParser(description='Given a specially form...
28.29771
186
0.635554
0fa8c715ee62ee11ebf3efaa36c899ff0cb9fc40
11,293
py
Python
graphql_subscription_manager/__init__.py
Danielhiversen/PyGraphqlWebsocketManager
7e6e82199d56def8dbb3f710174daa763acf7f74
[ "MIT" ]
null
null
null
graphql_subscription_manager/__init__.py
Danielhiversen/PyGraphqlWebsocketManager
7e6e82199d56def8dbb3f710174daa763acf7f74
[ "MIT" ]
null
null
null
graphql_subscription_manager/__init__.py
Danielhiversen/PyGraphqlWebsocketManager
7e6e82199d56def8dbb3f710174daa763acf7f74
[ "MIT" ]
1
2021-06-11T14:27:55.000Z
2021-06-11T14:27:55.000Z
"""Subscription manager for Graph QL websocket.""" import asyncio import json import logging import socket import sys from time import time import pkg_resources import websockets _LOGGER = logging.getLogger(__name__) STATE_STARTING = "starting" STATE_RUNNING = "running" STATE_STOPPED = "stopped" try: VERSION =...
34.854938
87
0.553352
0fa9623f1cbc23c68dedf361a5e9c2d89e9defba
386
py
Python
github_api/cli/env.py
kazamori/github-cli
f8b9f1ffedd12fe43664516dacc6c3a861ae4dc9
[ "Apache-2.0" ]
null
null
null
github_api/cli/env.py
kazamori/github-cli
f8b9f1ffedd12fe43664516dacc6c3a861ae4dc9
[ "Apache-2.0" ]
null
null
null
github_api/cli/env.py
kazamori/github-cli
f8b9f1ffedd12fe43664516dacc6c3a861ae4dc9
[ "Apache-2.0" ]
null
null
null
import os _GITHUB_SETTING_SITE = 'https://github.com/settings/tokens' TOKEN = os.environ.get('GITHUB_API_TOKEN') if TOKEN is None: message = 'requires Personal access tokens. ' message += 'export GITHUB_API_TOKEN="***", ' message += f'get from {_GITHUB_SETTING_SITE} if you do not have' raise RuntimeEr...
25.733333
68
0.699482
0fa981c50f162d9ee1e72a1a2524c381e554d62b
20,124
py
Python
methionineTest.py
Csernica/Isotomics
dffd518d479fcfaa40da5dd275631fe68332bfb4
[ "MIT" ]
null
null
null
methionineTest.py
Csernica/Isotomics
dffd518d479fcfaa40da5dd275631fe68332bfb4
[ "MIT" ]
null
null
null
methionineTest.py
Csernica/Isotomics
dffd518d479fcfaa40da5dd275631fe68332bfb4
[ "MIT" ]
null
null
null
import copy import json import numpy as np import pandas as pd import basicDeltaOperations as op import calcIsotopologues as ci import fragmentAndSimulate as fas import solveSystem as ss ''' This is a set of functions to quickly initalize methionine molecules based on input delta values and to simulate its fragmenta...
68.917808
500
0.639485
0faccc6541fe716583eb34dadb7193b4db3cb766
11,704
py
Python
neuro-cli/tests/unit/formatters/test_storage_formatters.py
neuro-inc/platform-client-python
012e355249ea900b76f9ce4209fb9d029652f9b2
[ "Apache-2.0" ]
11
2020-10-11T15:38:11.000Z
2021-11-09T11:29:50.000Z
neuro-cli/tests/unit/formatters/test_storage_formatters.py
neuro-inc/platform-client-python
012e355249ea900b76f9ce4209fb9d029652f9b2
[ "Apache-2.0" ]
611
2020-09-30T21:27:52.000Z
2022-01-10T10:44:44.000Z
neuro-cli/tests/unit/formatters/test_storage_formatters.py
neuro-inc/platform-client-python
012e355249ea900b76f9ce4209fb9d029652f9b2
[ "Apache-2.0" ]
1
2020-10-05T15:10:24.000Z
2020-10-05T15:10:24.000Z
import time from typing import Any, List import pytest from yarl import URL from neuro_sdk import Action, FileStatus, FileStatusType from neuro_sdk.storage import DiskUsageInfo from neuro_cli.formatters.storage import ( BaseFilesFormatter, BSDAttributes, BSDPainter, DiskUsageFormatter, FilesSorte...
32.876404
88
0.550239
0fad05bfe5b392dcaaa42d73399a9890ce38ef8d
2,059
py
Python
examples/example2d1many.py
elliottslaughter/cufinufft
bb1453dfe9dc12159e8e346eae79ad4d71fd566f
[ "Apache-2.0" ]
56
2020-05-12T22:22:22.000Z
2022-01-28T23:54:48.000Z
examples/example2d1many.py
elliottslaughter/cufinufft
bb1453dfe9dc12159e8e346eae79ad4d71fd566f
[ "Apache-2.0" ]
108
2020-05-13T16:59:51.000Z
2022-03-31T22:30:57.000Z
examples/example2d1many.py
elliottslaughter/cufinufft
bb1453dfe9dc12159e8e346eae79ad4d71fd566f
[ "Apache-2.0" ]
15
2020-05-22T12:29:36.000Z
2022-03-03T18:08:03.000Z
""" Demonstrate the type 1 NUFFT using cuFINUFFT """ import numpy as np import pycuda.autoinit from pycuda.gpuarray import GPUArray, to_gpu from cufinufft import cufinufft # Set up parameters for problem. N1, N2 = 59, 61 # Size of uniform grid M = 100 # Number of nonuniform p...
31.19697
77
0.645945
0fae0ba2824dc5a926e2388c414dc0455b2ced7b
7,293
py
Python
2021/22/22b.py
kristianwiklund/AOC
be2f2e3a97b775281382dca8ea34a6522571052a
[ "MIT" ]
3
2020-12-02T18:18:05.000Z
2021-12-03T18:39:26.000Z
2021/22/22b.py
kristianwiklund/AOC
be2f2e3a97b775281382dca8ea34a6522571052a
[ "MIT" ]
null
null
null
2021/22/22b.py
kristianwiklund/AOC
be2f2e3a97b775281382dca8ea34a6522571052a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys import cut from box import Box from reactor import Reactor from termcolor import colored # -- assert helper # -- end assert helper # --- test cases print (colored("Testcase 1: adding two identical boxes results in only one box","red")) R = Reactor() R += Box("on x=1..3,y=1..3,z=1..3")...
29.526316
136
0.581791
0faef4c43d66c9f68163503158caeb67ad86c96d
386
py
Python
planner/progression/__init__.py
cyclone923/pyplanners
e2fe156ff00d0914cfb4f20afed158706f4d5d28
[ "MIT" ]
null
null
null
planner/progression/__init__.py
cyclone923/pyplanners
e2fe156ff00d0914cfb4f20afed158706f4d5d28
[ "MIT" ]
null
null
null
planner/progression/__init__.py
cyclone923/pyplanners
e2fe156ff00d0914cfb4f20afed158706f4d5d28
[ "MIT" ]
null
null
null
from .hill_climbing import hill_climbing_search, strategies from .best_first import path_cost_fn, greedy_cost_fn, weighted_cost_fn, macro_greedy_cost_fn, \ a_star_search, best_first_search, deferred_best_first_search, macro_deferred_best_first_search, semideferred_best_first_search from .simple import dfs, bfs, srand...
64.333333
128
0.860104
0fb0cca38d85a28606d607324eeae70804e43a93
18,289
py
Python
domain_api/migrations/0001_initial.py
heytrav/drs-project
68caa7e9bc8dea8963ddef561b42d05a7a88becd
[ "MIT" ]
1
2020-07-01T02:35:14.000Z
2020-07-01T02:35:14.000Z
domain_api/migrations/0001_initial.py
heytrav/drs-api
68caa7e9bc8dea8963ddef561b42d05a7a88becd
[ "MIT" ]
2
2020-06-05T17:25:14.000Z
2021-03-19T21:53:44.000Z
domain_api/migrations/0001_initial.py
heytrav/drs-api
68caa7e9bc8dea8963ddef561b42d05a7a88becd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-26 01:17 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion
57.694006
164
0.604844
0fb114654c966c204091aeb485fbf2b16514cab7
582
py
Python
src/ralph/networks/migrations/0010_auto_20170216_1230.py
DoNnMyTh/ralph
97b91639fa68965ad3fd9d0d2652a6545a2a5b72
[ "Apache-2.0" ]
1,668
2015-01-01T12:51:20.000Z
2022-03-29T09:05:35.000Z
src/ralph/networks/migrations/0010_auto_20170216_1230.py
hq-git/ralph
e2448caf02d6e5abfd81da2cff92aefe0a534883
[ "Apache-2.0" ]
2,314
2015-01-02T13:26:26.000Z
2022-03-29T04:06:03.000Z
src/ralph/networks/migrations/0010_auto_20170216_1230.py
hq-git/ralph
e2448caf02d6e5abfd81da2cff92aefe0a534883
[ "Apache-2.0" ]
534
2015-01-05T12:40:28.000Z
2022-03-29T21:10:12.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion
27.714286
194
0.671821
0fb48e1799c5a6fbf154e674d62f184dedc8e4ed
4,072
py
Python
tests/tasks/dbt/test_dbt.py
andykawabata/prefect
a11061c19847beeea26616ccaf4b404ad939676b
[ "ECL-2.0", "Apache-2.0" ]
2
2020-09-28T16:24:02.000Z
2020-10-08T17:08:19.000Z
tests/tasks/dbt/test_dbt.py
andykawabata/prefect
a11061c19847beeea26616ccaf4b404ad939676b
[ "ECL-2.0", "Apache-2.0" ]
7
2021-06-28T20:33:49.000Z
2022-02-27T10:58:04.000Z
tests/tasks/dbt/test_dbt.py
yalaudah/prefect
2f7f92c39a4575119c3268b0415841c6aca5df60
[ "Apache-2.0" ]
1
2019-12-27T15:57:54.000Z
2019-12-27T15:57:54.000Z
import os import sys import pytest from prefect import Flow from prefect.tasks.dbt import DbtShellTask pytestmark = pytest.mark.skipif( sys.platform == "win32", reason="DbtShellTask currently not supported on Windows" )
30.848485
85
0.561395
0fb6d81fdcc4a6f92216d10fda5840c9b15c50e3
295
py
Python
tests/data/formulas/five/five-1.0.py
pmuller/ipkg
9e3df803e0f16035a7552f63bbf54886244827d8
[ "MIT" ]
3
2016-04-20T21:24:59.000Z
2021-11-17T10:58:49.000Z
tests/data/formulas/five/five-1.0.py
pmuller/ipkg
9e3df803e0f16035a7552f63bbf54886244827d8
[ "MIT" ]
null
null
null
tests/data/formulas/five/five-1.0.py
pmuller/ipkg
9e3df803e0f16035a7552f63bbf54886244827d8
[ "MIT" ]
null
null
null
from os.path import dirname from ipkg.build import Formula, File
17.352941
72
0.6
0fb8484d9a2f11e82bc1b0d029f000c6539ffbe4
828
py
Python
venv/Lib/site-packages/captcha/urls.py
bopopescu/diandian_online
05eba122762c087623d42fad5352f6b67c73bcc5
[ "BSD-3-Clause" ]
3
2020-03-16T02:49:59.000Z
2022-03-21T15:04:44.000Z
venv/Lib/site-packages/captcha/urls.py
bopopescu/diandian_online
05eba122762c087623d42fad5352f6b67c73bcc5
[ "BSD-3-Clause" ]
1
2020-12-10T08:04:25.000Z
2020-12-10T08:04:25.000Z
venv/Lib/site-packages/captcha/urls.py
bopopescu/diandian_online
05eba122762c087623d42fad5352f6b67c73bcc5
[ "BSD-3-Clause" ]
2
2020-05-01T08:16:25.000Z
2020-07-21T00:12:06.000Z
from django.conf.urls import url from django.urls import path from captcha import views # urlpatterns = [ # url(r'image/(?P<key>\w+)/$', views.captcha_image, name='captcha-image', kwargs={'scale': 1}), # url(r'image/(?P<key>\w+)@2/$', views.captcha_image, name='captcha-image-2x', kwargs={'scale': 2}), # ur...
51.75
104
0.660628
0fb9d85cce91d01ad8ccfcea025a3fb078866669
4,147
py
Python
tacker/api/views/__init__.py
takahashi-tsc/tacker
a0ae01a13dcc51bb374060adcbb4fd484ab37156
[ "Apache-2.0" ]
116
2015-10-18T02:57:08.000Z
2022-03-15T04:09:18.000Z
tacker/api/views/__init__.py
takahashi-tsc/tacker
a0ae01a13dcc51bb374060adcbb4fd484ab37156
[ "Apache-2.0" ]
6
2016-11-07T22:15:54.000Z
2021-05-09T06:13:08.000Z
tacker/api/views/__init__.py
takahashi-tsc/tacker
a0ae01a13dcc51bb374060adcbb4fd484ab37156
[ "Apache-2.0" ]
166
2015-10-20T15:31:52.000Z
2021-11-12T08:39:49.000Z
# Copyright (C) 2020 NTT DATA # 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 ...
44.591398
79
0.594888
0fba0a7eb708f5b3bddbe1370f87cfb260a40450
428
py
Python
users/migrations/0002_auto_20190529_1832.py
VladaDidko/skill-
861c08376e2bc9b9a5a44e3a8560324ee53ce2d0
[ "Unlicense" ]
null
null
null
users/migrations/0002_auto_20190529_1832.py
VladaDidko/skill-
861c08376e2bc9b9a5a44e3a8560324ee53ce2d0
[ "Unlicense" ]
18
2019-05-28T17:20:34.000Z
2022-03-11T23:50:12.000Z
users/migrations/0002_auto_20190529_1832.py
VladaDidko/skill-
861c08376e2bc9b9a5a44e3a8560324ee53ce2d0
[ "Unlicense" ]
3
2019-05-27T09:51:54.000Z
2019-12-12T20:35:29.000Z
# Generated by Django 2.2.1 on 2019-05-29 15:32 from django.db import migrations, models
22.526316
104
0.57243
0fbabd4ea1caf69d29462adc61c987bfc0ab93d1
4,343
py
Python
SC001_2021.Jan-Feb/Assignment_3/hangman.py
pcdd05/stanCode_python
9fa6d3abd7a1681a7a254e2dcbf3093eae25476f
[ "MIT" ]
null
null
null
SC001_2021.Jan-Feb/Assignment_3/hangman.py
pcdd05/stanCode_python
9fa6d3abd7a1681a7a254e2dcbf3093eae25476f
[ "MIT" ]
null
null
null
SC001_2021.Jan-Feb/Assignment_3/hangman.py
pcdd05/stanCode_python
9fa6d3abd7a1681a7a254e2dcbf3093eae25476f
[ "MIT" ]
null
null
null
""" File: hangman.py Name: DiCheng ----------------------------- This program plays hangman game. Users sees a dashed word, trying to correctly figure the un-dashed word out by inputting one character each round. If the user input is correct, show the updated word on console. Players have N_TURNS chances to try and win...
30.801418
115
0.643564
0fbade66d2854d66ac77d55cf0a93e6da49f2f41
9,532
py
Python
CyberPi/Python with CyberPi 064(面向对象 精灵游戏).py
SCSZCC/PythonWithHardware
3e5ae890cb7a8e5e2c5a636092aca9ce21728ab2
[ "MIT" ]
2
2020-08-15T02:49:19.000Z
2020-08-15T02:49:31.000Z
CyberPi/Python with CyberPi 064(面向对象 精灵游戏).py
SCSZCC/PythonWithHardware
3e5ae890cb7a8e5e2c5a636092aca9ce21728ab2
[ "MIT" ]
null
null
null
CyberPi/Python with CyberPi 064(面向对象 精灵游戏).py
SCSZCC/PythonWithHardware
3e5ae890cb7a8e5e2c5a636092aca9ce21728ab2
[ "MIT" ]
1
2022-02-24T05:30:30.000Z
2022-02-24T05:30:30.000Z
"""" 064 """ # --------------------------------------------------- import cyberpi import random import math import time first = Player() a = Enemy() b = Enemy() c = Enemy() d = Enemy() e = Enemy() f = Enemy() g = Enemy() h = Enemy() enemy_list = [a, b, c, e, f, g, h] cyberpi.console.println(" ") cyberp...
49.645833
112
0.644251
0fbb3aad96ce58448158e08b16e3b6dc036a20e3
5,877
pyw
Python
venv/Lib/site-packages/PyQt4/examples/designer/plugins/widgets/polygonwidget.pyw
prateekfxtd/ns_Startup
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
[ "MIT" ]
1
2022-03-16T02:10:30.000Z
2022-03-16T02:10:30.000Z
venv/Lib/site-packages/PyQt4/examples/designer/plugins/widgets/polygonwidget.pyw
prateekfxtd/ns_Startup
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PyQt4/examples/designer/plugins/widgets/polygonwidget.pyw
prateekfxtd/ns_Startup
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
[ "MIT" ]
2
2019-05-28T11:58:59.000Z
2020-09-23T17:21:19.000Z
#!/usr/bin/env python """ polygonwidget.py A PyQt custom widget example for Qt Designer. Copyright (C) 2006 David Boddie <david@boddie.org.uk> Copyright (C) 2005-2006 Trolltech ASA. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
30.769634
80
0.650672
0fbc19796e7acda6f3394479071dfd67a7de3e33
4,864
py
Python
wflow-water-index/wflow-water-index.py
Fondus/Fondus-Python-SDK
ce6cfaffe5d978ac728f35b1b4bfcf49f7519576
[ "Apache-2.0" ]
null
null
null
wflow-water-index/wflow-water-index.py
Fondus/Fondus-Python-SDK
ce6cfaffe5d978ac728f35b1b4bfcf49f7519576
[ "Apache-2.0" ]
null
null
null
wflow-water-index/wflow-water-index.py
Fondus/Fondus-Python-SDK
ce6cfaffe5d978ac728f35b1b4bfcf49f7519576
[ "Apache-2.0" ]
1
2021-08-05T06:28:36.000Z
2021-08-05T06:28:36.000Z
import argparse import datetime import math from netCDF4 import Dataset import numpy as np import threading import queue # Worker parser = argparse.ArgumentParser() parser.add_argument("--input", help="source NC filename") parser.add_argument("--output", help="output XYM ascii filename") parser.add_argument( ...
27.480226
92
0.595189
0fbc4534160152a1c4aa5730f03972b8642ee17e
8,532
py
Python
plugins/input_fsx/datachannel.py
tunstek/hexi
ebb00e4e47ac90d96a26179a5786d768d95c4bd5
[ "MIT" ]
14
2017-10-07T23:19:09.000Z
2021-10-08T12:13:59.000Z
plugins/input_fsx/datachannel.py
tunstek/hexi
ebb00e4e47ac90d96a26179a5786d768d95c4bd5
[ "MIT" ]
1
2018-07-16T17:03:43.000Z
2018-07-16T17:03:43.000Z
plugins/input_fsx/datachannel.py
tunstek/hexi
ebb00e4e47ac90d96a26179a5786d768d95c4bd5
[ "MIT" ]
6
2018-05-18T14:25:26.000Z
2021-03-28T12:37:21.000Z
import time import asyncio import random import pyee import logging from plugins.input_fsx import fsx_pb2 from hexi.service import event _logger = logging.getLogger(__name__)
33.328125
88
0.703821
0fbc5d08eb45c80c3b2464b89870b7a0e0d89550
4,722
py
Python
shell/my_shell.py
utep-cs-systems-courses/os-shell-joshuaramoscs
96b8bef864d097be693ec021783c9dcd4e08bb1d
[ "BSD-3-Clause" ]
null
null
null
shell/my_shell.py
utep-cs-systems-courses/os-shell-joshuaramoscs
96b8bef864d097be693ec021783c9dcd4e08bb1d
[ "BSD-3-Clause" ]
null
null
null
shell/my_shell.py
utep-cs-systems-courses/os-shell-joshuaramoscs
96b8bef864d097be693ec021783c9dcd4e08bb1d
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python3 import os, sys, time, re from my_readLine import my_readLine # Set prompt to '$' if not set # Change directory # Determine input redirection and piping # Redirects fd 1 to file # Redirects fd 0 to file # Executes given command if available # MAIN set_prompt() while(True): ...
42.540541
102
0.489199
0fbcbe12ef9216cd827006560b9e93c286ad369b
531
py
Python
activity/views.py
AkshayVKumar/ActivityManager
e87987a532b8441b41ecc038b51e4614b8d1a526
[ "BSD-3-Clause" ]
null
null
null
activity/views.py
AkshayVKumar/ActivityManager
e87987a532b8441b41ecc038b51e4614b8d1a526
[ "BSD-3-Clause" ]
5
2020-06-06T01:47:24.000Z
2022-02-10T14:42:15.000Z
activity/views.py
AkshayVKumar/ActivityManager
e87987a532b8441b41ecc038b51e4614b8d1a526
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import viewsets from .serializers import MemberSerializer, ActivityPeriodSerializer from activity.models import UserProfile, ActivityPeriod from django.http import JsonResponse #class for displaying members #class for taking activity input
35.4
67
0.834275
0fbce71bbe2d1a218863819284d6848f63bba467
1,424
py
Python
LJ_surrogates/parameter_modification.py
SimonBoothroyd/LJ_surrogates
60b2c836ad571b384a7e962b7cec99db6e6fc7eb
[ "MIT" ]
null
null
null
LJ_surrogates/parameter_modification.py
SimonBoothroyd/LJ_surrogates
60b2c836ad571b384a7e962b7cec99db6e6fc7eb
[ "MIT" ]
null
null
null
LJ_surrogates/parameter_modification.py
SimonBoothroyd/LJ_surrogates
60b2c836ad571b384a7e962b7cec99db6e6fc7eb
[ "MIT" ]
null
null
null
from openff.toolkit.typing.engines.smirnoff.forcefield import ForceField from simtk import openmm, unit from scipy.stats import distributions import copy import numpy as np import os from smt.sampling_methods import LHS
38.486486
89
0.691713
0fbe97554004825caf136fddc2974680e7d04552
635
py
Python
order/models/customers.py
fbsamples/cp_reference
028b384767d06158a64be8cbb1af613e2f3c881e
[ "MIT" ]
2
2021-09-05T04:21:33.000Z
2021-11-03T20:56:46.000Z
order/models/customers.py
fbsamples/cp_reference
028b384767d06158a64be8cbb1af613e2f3c881e
[ "MIT" ]
null
null
null
order/models/customers.py
fbsamples/cp_reference
028b384767d06158a64be8cbb1af613e2f3c881e
[ "MIT" ]
null
null
null
# Copyright 2004-present, Facebook. All Rights Reserved. from django.db import models from core.models import BaseModel
27.608696
81
0.722835
0fbee81484a9cb1c52b3aeed6de4e2fee4bd9dfe
8,601
py
Python
kuzushiji/classify/level2.py
littlerain2310/japances_character
bdca6b30f3058af30462dcd5729eacb69f6fa83b
[ "MIT", "BSD-3-Clause" ]
81
2019-10-15T00:31:56.000Z
2022-01-04T08:32:19.000Z
kuzushiji/classify/level2.py
littlerain2310/japances_character
bdca6b30f3058af30462dcd5729eacb69f6fa83b
[ "MIT", "BSD-3-Clause" ]
1
2019-11-26T16:24:56.000Z
2019-11-28T09:01:37.000Z
kuzushiji/classify/level2.py
littlerain2310/japances_character
bdca6b30f3058af30462dcd5729eacb69f6fa83b
[ "MIT", "BSD-3-Clause" ]
16
2019-10-15T01:09:45.000Z
2021-12-30T04:49:19.000Z
import argparse from collections import defaultdict import pickle import re import lightgbm as lgb import pandas as pd import numpy as np import xgboost as xgb from ..data_utils import SEG_FP, get_encoded_classes from ..utils import print_metrics from ..metric import get_metrics from .blend import ( score_predict...
37.073276
79
0.598303
0fc20baeb9198c74f7c0542feb89fb8850d4a334
401
py
Python
vkwave/vkscript/__init__.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
222
2020-03-30T18:09:20.000Z
2022-03-27T18:25:04.000Z
vkwave/vkscript/__init__.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
62
2020-03-30T18:31:25.000Z
2021-12-21T17:00:44.000Z
vkwave/vkscript/__init__.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
91
2020-03-30T18:34:49.000Z
2022-03-23T12:58:49.000Z
import vkwave.vkscript.handlers.assignments import vkwave.vkscript.handlers.blocks import vkwave.vkscript.handlers.calls import vkwave.vkscript.handlers.expressions import vkwave.vkscript.handlers.statements import vkwave.vkscript.handlers.types from .converter import VKScriptConverter from .execute import Execute from...
30.846154
53
0.842893
0fc3095b8ef6cc10b6acc06d5aa68037afc74cc5
692
py
Python
greeting/cliente.py
javalisson/Sockets
90068c0b5a4b2f21ca789177c3c445c671732a86
[ "MIT" ]
2
2017-04-26T11:17:56.000Z
2017-12-05T01:55:20.000Z
greeting/cliente.py
javalisson/Sockets
90068c0b5a4b2f21ca789177c3c445c671732a86
[ "MIT" ]
2
2017-02-22T12:35:13.000Z
2017-03-29T12:44:22.000Z
greeting/cliente.py
javalisson/Sockets
90068c0b5a4b2f21ca789177c3c445c671732a86
[ "MIT" ]
24
2017-02-22T12:26:04.000Z
2020-10-13T05:19:53.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # adaptado de https://wiki.python.org/moin/TcpCommunication import socket TCP_IP = '127.0.0.1' TCP_PORT = 5005 BUFFER_SIZE = 1024 NOME = "Javalisson" print ("[CLIENTE] Iniciando") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print ("[CLIENTE] Conectando") s.c...
25.62963
97
0.690751
0fc3569e087d76a290fb758960cbd352ee6f27dc
2,132
py
Python
blog/migrations/0001_initial.py
jxtxzzw/eoj3
468c16ed6de8b9b542972d0e83b02fd2cfa35e4f
[ "MIT" ]
1
2020-11-17T13:08:07.000Z
2020-11-17T13:08:07.000Z
blog/migrations/0001_initial.py
zerolfx/eoj3
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
[ "MIT" ]
2
2020-09-23T21:27:55.000Z
2021-06-25T15:24:46.000Z
blog/migrations/0001_initial.py
zerolfx/eoj3
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
[ "MIT" ]
1
2019-07-13T00:44:39.000Z
2019-07-13T00:44:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-04-06 16:37 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion
42.64
125
0.604597
0fc40b5d3302c591d7c87cbcec40ba11831456cc
1,187
py
Python
crawler-pcstore/CrawlerForPcstore.py
hms5232/CaiBiBa
a5e9724dc3832d6f7bdd46ea69460c1112028278
[ "MIT" ]
null
null
null
crawler-pcstore/CrawlerForPcstore.py
hms5232/CaiBiBa
a5e9724dc3832d6f7bdd46ea69460c1112028278
[ "MIT" ]
null
null
null
crawler-pcstore/CrawlerForPcstore.py
hms5232/CaiBiBa
a5e9724dc3832d6f7bdd46ea69460c1112028278
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup # # """ http://blog.castman.net/%E6%95%99%E5%AD%B8/2018/01/27/python-name-main.html __name____main__ """ if __name__ == '__main__': res = requests.get('https://www.pcstore.com.tw/') res.encoding = 'big5' # big5 print("\n", search_title(res.text))
27.604651
75
0.53075
0fc78435f35004709d8d5a9264257cf022be0b7d
4,337
py
Python
Posts/migrations/0001_initial.py
rosekairu/Neighbourly
3381b4472cd9d7de988ea57f1ecd931976e95853
[ "MIT" ]
null
null
null
Posts/migrations/0001_initial.py
rosekairu/Neighbourly
3381b4472cd9d7de988ea57f1ecd931976e95853
[ "MIT" ]
6
2021-03-30T13:56:43.000Z
2021-09-22T19:26:50.000Z
Posts/migrations/0001_initial.py
rosekairu/Neighbourly
3381b4472cd9d7de988ea57f1ecd931976e95853
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-19 17:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import phone_field.models
52.253012
144
0.611944
0fc80bccdde996736cc835d370d64e069c7c8b30
1,787
py
Python
pip_services3_container/build/DefaultContainerFactory.py
banalna/pip-services3-container-python
d26aee1f49840eb0dac4ccb290b4808550494354
[ "MIT" ]
null
null
null
pip_services3_container/build/DefaultContainerFactory.py
banalna/pip-services3-container-python
d26aee1f49840eb0dac4ccb290b4808550494354
[ "MIT" ]
null
null
null
pip_services3_container/build/DefaultContainerFactory.py
banalna/pip-services3-container-python
d26aee1f49840eb0dac4ccb290b4808550494354
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ pip_services3_container.build.DefaultContainerFactory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Default container factory implementation :copyright: Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details. :license: MIT, see LICENSE f...
39.711111
103
0.739228
0fc8765eef19cf60478c282b2ce414022ec0df47
5,148
py
Python
com/vmware/vapi/protocol/server/transport/msg_handler.py
sumitrsystems/Vmware
7705d9979bee71f02c71d63890616409044cba08
[ "MIT" ]
null
null
null
com/vmware/vapi/protocol/server/transport/msg_handler.py
sumitrsystems/Vmware
7705d9979bee71f02c71d63890616409044cba08
[ "MIT" ]
null
null
null
com/vmware/vapi/protocol/server/transport/msg_handler.py
sumitrsystems/Vmware
7705d9979bee71f02c71d63890616409044cba08
[ "MIT" ]
null
null
null
""" Msg based protocol handler """ __author__ = 'VMware, Inc.' __copyright__ = 'Copyright 2015, 2017 VMware, Inc. All rights reserved. -- VMware Confidential' # pylint: disable=line-too-long from collections import deque from vmware.vapi.lib.log import get_vapi_logger from vmware.vapi.protocol.server.api_handler i...
37.576642
129
0.605089
0fc891bc1997dfbe1f1be5e5c5524986e39b1d74
5,345
py
Python
validation_tests/case_studies/merewether/plot_results.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
136
2015-05-07T05:47:43.000Z
2022-02-16T03:07:40.000Z
validation_tests/case_studies/merewether/plot_results.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
184
2015-05-03T09:27:54.000Z
2021-12-20T04:22:48.000Z
validation_tests/case_studies/merewether/plot_results.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
70
2015-03-18T07:35:22.000Z
2021-11-01T07:07:29.000Z
from anuga.utilities import plot_utils as util from matplotlib import pyplot as pyplot import numpy verbose= True swwfile = 'merewether_1m.sww' p=util.get_output(swwfile) p2=util.get_centroids(p) # Time index at last time tindex = len(p2.time)-1 if verbose: print('calculating experimental transect') x_data = ...
35.397351
113
0.674088
0fc967fb38a574ad027030e148c321d06351ec3c
2,287
py
Python
examples/ignore_early_canceled_tests.py
adavidzh/openhtf
0f34f6c0b53d8d0c42e2da1ddde2f07534d8286c
[ "Apache-2.0" ]
1
2020-07-25T19:05:49.000Z
2020-07-25T19:05:49.000Z
examples/ignore_early_canceled_tests.py
adavidzh/openhtf
0f34f6c0b53d8d0c42e2da1ddde2f07534d8286c
[ "Apache-2.0" ]
80
2020-09-15T04:44:28.000Z
2021-03-16T19:26:25.000Z
examples/ignore_early_canceled_tests.py
adavidzh/openhtf
0f34f6c0b53d8d0c42e2da1ddde2f07534d8286c
[ "Apache-2.0" ]
2
2018-12-20T07:01:20.000Z
2020-05-18T21:13:17.000Z
# Copyright 2018 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 agre...
35.184615
80
0.758636
0fcc6d24d3d335350d5fc8d0e26b2a5c90342944
2,304
py
Python
myproject/products/views.py
abhishekmorya/django-rest-assignment
069fedafa2ba92e06157441500cd3f1fecf450e9
[ "MIT" ]
null
null
null
myproject/products/views.py
abhishekmorya/django-rest-assignment
069fedafa2ba92e06157441500cd3f1fecf450e9
[ "MIT" ]
null
null
null
myproject/products/views.py
abhishekmorya/django-rest-assignment
069fedafa2ba92e06157441500cd3f1fecf450e9
[ "MIT" ]
null
null
null
from rest_framework import viewsets, filters, mixins from rest_framework.response import Response from products import models from products import serializers
31.135135
121
0.691406
0fcd071e5471654de2c169fc870632e566ae5177
302
py
Python
R function.py
haideraheem/Simple-Python-Programs
dc0a71e88adc7323d46e75168e8fd2db97eea775
[ "CC0-1.0" ]
null
null
null
R function.py
haideraheem/Simple-Python-Programs
dc0a71e88adc7323d46e75168e8fd2db97eea775
[ "CC0-1.0" ]
null
null
null
R function.py
haideraheem/Simple-Python-Programs
dc0a71e88adc7323d46e75168e8fd2db97eea775
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Oct 6 17:11:11 2018 @author: Haider Raheem """ a= float(input("Type a : ")) b= float(input("Type b : ")) c= float(input("Type c : ")) x= (a*b)+(b*c)+(c*a) y= (a+b+c) r= x/y print( ) print("The result of the calculation is {0:.2f}".format(r))
20.133333
59
0.539735
0fce3a1010ed62a22f3091187ec07f0057d5fa5a
449
py
Python
src/selectedtests/app/controllers/health_controller.py
isabella232/selected-tests
890cd5f39f5571d50f0406b4c25a1a2eef1006a3
[ "Apache-2.0" ]
2
2020-04-13T11:26:57.000Z
2022-01-21T00:03:52.000Z
src/selectedtests/app/controllers/health_controller.py
mongodb/selected-tests
467f71f1d45b06ac3cc5db252f18658f8cd93083
[ "Apache-2.0" ]
54
2019-09-26T18:56:34.000Z
2022-03-12T01:07:00.000Z
src/selectedtests/app/controllers/health_controller.py
isabella232/selected-tests
890cd5f39f5571d50f0406b4c25a1a2eef1006a3
[ "Apache-2.0" ]
6
2019-10-01T14:24:27.000Z
2020-02-13T15:53:47.000Z
"""Controller for the health endpoints.""" from fastapi import APIRouter from pydantic import BaseModel router = APIRouter()
24.944444
88
0.74833
0fce4b175efd342362c8eca2117758091061c40c
1,533
py
Python
Client/message/friend.py
Ricky-Hao/IMPK-Client
791150a43fff157aa439716d63d6c4fece912b85
[ "MIT" ]
null
null
null
Client/message/friend.py
Ricky-Hao/IMPK-Client
791150a43fff157aa439716d63d6c4fece912b85
[ "MIT" ]
1
2018-06-01T07:45:03.000Z
2018-06-01T07:45:03.000Z
Server/message/friend.py
Ricky-Hao/IMPK-Server
786e24269e7cc506a82ae8aa0fa0d1df8c478f51
[ "MIT" ]
null
null
null
from .base import BaseMessage
25.131148
50
0.632094
0fcf0420d2785cb7b20ebd33760e3ab694e85c59
424
py
Python
Pyon exercicios/Exercicios/066.py
alefbispo/Exercicios-do-curso-de-Python
16cd569ab16542135b834ac8d0cfb0ae84836d53
[ "MIT" ]
null
null
null
Pyon exercicios/Exercicios/066.py
alefbispo/Exercicios-do-curso-de-Python
16cd569ab16542135b834ac8d0cfb0ae84836d53
[ "MIT" ]
null
null
null
Pyon exercicios/Exercicios/066.py
alefbispo/Exercicios-do-curso-de-Python
16cd569ab16542135b834ac8d0cfb0ae84836d53
[ "MIT" ]
null
null
null
'''Crie um programa que leia varios numeros inteiros o programa so vai parar qunado o usuario digitar 999 no final mostre a soma entre eles e quanto foram digitados''' soma = total = 0 while True: valor = int(input('## 999 para parar ###\n' 'Digite um valor: ')) if valor == 999: ...
30.285714
65
0.632075
0fd0370ba84af5ab763ef6f4203eaefec7cafeb5
920
py
Python
bookorbooks/account/migrations/0008_auto_20210714_1507.py
talhakoylu/SummerInternshipBackend
4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3
[ "MIT" ]
1
2021-08-10T22:24:17.000Z
2021-08-10T22:24:17.000Z
bookorbooks/account/migrations/0008_auto_20210714_1507.py
talhakoylu/SummerInternshipBackend
4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3
[ "MIT" ]
null
null
null
bookorbooks/account/migrations/0008_auto_20210714_1507.py
talhakoylu/SummerInternshipBackend
4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-14 15:07 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
35.384615
202
0.686957
0fd0f45ffc164fd1edab2aac24bb0c9ae2c48124
9,600
py
Python
src/subpackages/ts_process/shape.py
cfiscella/PredictionIntervals
45c66bcea5a3e022f995155e1ec39f63602ef836
[ "CC0-1.0" ]
null
null
null
src/subpackages/ts_process/shape.py
cfiscella/PredictionIntervals
45c66bcea5a3e022f995155e1ec39f63602ef836
[ "CC0-1.0" ]
null
null
null
src/subpackages/ts_process/shape.py
cfiscella/PredictionIntervals
45c66bcea5a3e022f995155e1ec39f63602ef836
[ "CC0-1.0" ]
null
null
null
import numpy as np import pandas as pd from sklearn.preprocessing import MinMaxScaler,StandardScaler def shape_data(df,window): ''' Returns Numpy array of dimension (len(df),window,len(df.columns)). Creates features from lags of time series to be used for modeling. Parameters: ...
33.217993
137
0.613125
0fd3b9d2e66fa26e441f1b047f98378e175a4aff
231
py
Python
python_3/aula21c.py
felipesch92/CursoEmVideo
df443e4771adc4506c96d8f419aa7acb97b28366
[ "MIT" ]
null
null
null
python_3/aula21c.py
felipesch92/CursoEmVideo
df443e4771adc4506c96d8f419aa7acb97b28366
[ "MIT" ]
null
null
null
python_3/aula21c.py
felipesch92/CursoEmVideo
df443e4771adc4506c96d8f419aa7acb97b28366
[ "MIT" ]
null
null
null
# Programa Principal n = 2 print(f'No programa principal, n vale {n}') teste() print(f'No programa principal, x vale {x}')
19.25
43
0.632035
0fd50bc80b73f1b79ad3d2b0a5d73fc990d6ecb3
2,813
py
Python
test/test_conf.py
nandub/Limnoria
406369d53f4374f34c7879e3fb5e700290fd655d
[ "BSD-3-Clause" ]
476
2015-01-04T17:42:59.000Z
2021-08-13T07:40:54.000Z
test/test_conf.py
nandub/Limnoria
406369d53f4374f34c7879e3fb5e700290fd655d
[ "BSD-3-Clause" ]
491
2015-01-01T04:12:23.000Z
2021-08-12T19:24:47.000Z
test/test_conf.py
nandub/Limnoria
406369d53f4374f34c7879e3fb5e700290fd655d
[ "BSD-3-Clause" ]
203
2015-01-02T18:29:43.000Z
2021-08-15T12:52:22.000Z
## # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions, and the following disclaimer. # * Redistributions in binar...
46.883333
79
0.721649
0fd589de07960b791ebcad0f71b8f53fb13dc4c1
8,100
py
Python
app/model.py
tai-calg/gameserver
c768df2d4064a02f6e8d810a13bb410fe79b73ac
[ "MIT" ]
null
null
null
app/model.py
tai-calg/gameserver
c768df2d4064a02f6e8d810a13bb410fe79b73ac
[ "MIT" ]
null
null
null
app/model.py
tai-calg/gameserver
c768df2d4064a02f6e8d810a13bb410fe79b73ac
[ "MIT" ]
null
null
null
# flake8: noqa import json from unicodedata import name import uuid from enum import Enum, IntEnum from typing import Optional from unittest import result from fastapi import HTTPException from pydantic import BaseModel from sqlalchemy import text, true from sqlalchemy.exc import NoResultFound from .db import engi...
31.640625
139
0.628642
0fd5c7be4c5a1f2321b0b0ac62b726398b53d739
9,256
py
Python
gwlfe/StreamBank.py
rajadain/gwlf-e
ba2fb9dbc08a3d7a4ced4b83b6f0f1307814e2a3
[ "Apache-2.0" ]
null
null
null
gwlfe/StreamBank.py
rajadain/gwlf-e
ba2fb9dbc08a3d7a4ced4b83b6f0f1307814e2a3
[ "Apache-2.0" ]
null
null
null
gwlfe/StreamBank.py
rajadain/gwlf-e
ba2fb9dbc08a3d7a4ced4b83b6f0f1307814e2a3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division from __future__ import print_function from __future__ import unicode_literals """ Imported from StreamBank.bas """ import logging from .Input.LandUse.AreaTotal import AreaTotal_f from .Input.LandUse.Ag.AGSTRM import AGSTRM_f from .Input.LandUse.Ag.TileDrain impo...
55.095238
120
0.529927
0fd5e6f3f66c1554a2c4b98d1a2b4ec336d45014
9,911
py
Python
AutoGraphModel.py
shiqitao/AutoGraph
41f5956c859ff0fb6f87109d5f8731276bdcc2ef
[ "MIT" ]
null
null
null
AutoGraphModel.py
shiqitao/AutoGraph
41f5956c859ff0fb6f87109d5f8731276bdcc2ef
[ "MIT" ]
null
null
null
AutoGraphModel.py
shiqitao/AutoGraph
41f5956c859ff0fb6f87109d5f8731276bdcc2ef
[ "MIT" ]
null
null
null
import argparse import os import time import torch from filelock import FileLock from ModelAPPNP import main_model_appnp from ModelAPPNP2 import main_model_appnp as main_model_appnp_2 from ModelAPPNP3 import main_model_appnp as main_model_appnp_3 from ModelAPPNP4 import main_model_appnp as main_model_appnp_4 from Mod...
43.853982
78
0.469277
0fd75150c1f5d87b82715934f3f7080f5c7083b4
911
py
Python
green_snake/files.py
tetio/green_snake
014d5cf4c96858abb09ee1a4bda0ee84b80b5666
[ "BSD-2-Clause" ]
null
null
null
green_snake/files.py
tetio/green_snake
014d5cf4c96858abb09ee1a4bda0ee84b80b5666
[ "BSD-2-Clause" ]
null
null
null
green_snake/files.py
tetio/green_snake
014d5cf4c96858abb09ee1a4bda0ee84b80b5666
[ "BSD-2-Clause" ]
null
null
null
import os # import sys # from shutil import copyfile # import time
26.028571
85
0.551043
0fd79666aa25c652123a40af64c4ed01d1f4c30c
266
py
Python
feedzero/users/urls.py
dammitjim/badfeed
10e0059ff4af36ea2ff67e93a8e3bbb342137af9
[ "Apache-2.0" ]
null
null
null
feedzero/users/urls.py
dammitjim/badfeed
10e0059ff4af36ea2ff67e93a8e3bbb342137af9
[ "Apache-2.0" ]
17
2020-02-12T00:04:15.000Z
2021-09-08T01:03:15.000Z
feedzero/users/urls.py
dammitjim/badfeed
10e0059ff4af36ea2ff67e93a8e3bbb342137af9
[ "Apache-2.0" ]
null
null
null
from django.urls import include, path from feedzero.users.views import LogoutView app_name = "users" urlpatterns = [ path("logout/", LogoutView.as_view(), name="logout"), path("integrations/pocket/", include("feedzero.users.integrations.pocket.urls")), ]
24.181818
85
0.729323
0fdab97e2573fd7c25a3583d3b5d334aba1173ee
1,067
py
Python
allies/serializers.py
PaulLerner/Allies
478a85d0b98b4865854b52585563e0e42855b101
[ "MIT" ]
null
null
null
allies/serializers.py
PaulLerner/Allies
478a85d0b98b4865854b52585563e0e42855b101
[ "MIT" ]
null
null
null
allies/serializers.py
PaulLerner/Allies
478a85d0b98b4865854b52585563e0e42855b101
[ "MIT" ]
null
null
null
import numpy as np import pickle import struct
27.358974
81
0.633552
0fdb5547d3cde19752322b1bda55d95a8e7a5cba
907
py
Python
examples/example_1.py
alfredocarella/code-for-the-world
00e27ad07f6a3d90b7aea860477e69b0903ebc0f
[ "MIT" ]
12
2018-09-10T10:02:20.000Z
2020-11-18T14:45:38.000Z
examples/example_1.py
GenevieveBuckley/2019-organizing-documenting-distributing
6aa28c927a8287b1643fc1ec22bee26a2458861e
[ "MIT" ]
5
2018-09-01T21:37:29.000Z
2018-09-04T10:26:40.000Z
examples/example_1.py
GenevieveBuckley/2019-organizing-documenting-distributing
6aa28c927a8287b1643fc1ec22bee26a2458861e
[ "MIT" ]
39
2018-09-04T07:12:11.000Z
2019-01-22T02:43:15.000Z
# -*- coding: utf-8 -*- """Example 1: Load and plot airfoil coordinates """ import os import matplotlib.pyplot as plt from mypack.utils.io import read_selig from mypack.utils.plotting import plot_airfoil def example_1(): """Run example 1""" # script inputs mod_path = os.path.dirname(os.path.abspath(__fi...
26.676471
78
0.662624
0fdb6608181bfaf00540c064efdd68d60f72786d
805
py
Python
myenv/lib/python2.7/site-packages/tests/admin.py
dkumarlinux/saleor
e3a852fed7da38e4141b0755bd282012f508c7b9
[ "BSD-3-Clause" ]
1
2020-08-12T23:07:29.000Z
2020-08-12T23:07:29.000Z
tests/admin.py
theskumar/django-versatileimagefield
6ad1c959e9273f306ea7ee206ebd56a44f8e783d
[ "MIT" ]
2
2022-02-10T16:51:56.000Z
2022-02-10T18:23:52.000Z
myenv/lib/python2.7/site-packages/tests/admin.py
dkumarlinux/saleor
e3a852fed7da38e4141b0755bd282012f508c7b9
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from django.forms import ModelForm from versatileimagefield.widgets import VersatileImagePPOISelectWidget from .models import VersatileImageTestModel, VersatileImageWidgetTestModel admin.site.register(VersatileImageTestModel, VersatileImageTestModelAdmin) admin.site.register(Versa...
25.967742
74
0.719255
0fdc6d066514fd2d0d0042fd11414cdfb0f5228a
1,278
py
Python
alembic/versions/9cae282981fd_waze_object_ended_at.py
shaysw/anyway
35dec531fd4ac79c99d09e684027df017e989ddc
[ "MIT" ]
69
2015-03-30T17:09:46.000Z
2021-08-15T16:45:47.000Z
alembic/versions/9cae282981fd_waze_object_ended_at.py
shaysw/anyway
35dec531fd4ac79c99d09e684027df017e989ddc
[ "MIT" ]
1,368
2015-01-12T16:33:52.000Z
2022-03-31T21:10:18.000Z
alembic/versions/9cae282981fd_waze_object_ended_at.py
shaysw/anyway
35dec531fd4ac79c99d09e684027df017e989ddc
[ "MIT" ]
277
2015-02-16T17:52:06.000Z
2022-02-16T18:06:44.000Z
"""waze object ended at Revision ID: 9cae282981fd Revises: cac481832078 Create Date: 2020-10-20 18:34:54.574378 """ # revision identifiers, used by Alembic. revision = '9cae282981fd' down_revision = 'cac481832078' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa
36.514286
125
0.741002
0fdc8f057905c0da9456649de2bde8f06dd894eb
1,984
py
Python
cohesity_management_sdk/models/object_status_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
18
2019-09-24T17:35:53.000Z
2022-03-25T08:08:47.000Z
cohesity_management_sdk/models/object_status_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
18
2019-03-29T19:32:29.000Z
2022-01-03T23:16:45.000Z
cohesity_management_sdk/models/object_status_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
16
2019-02-27T06:54:12.000Z
2021-11-16T18:10:24.000Z
# -*- coding: utf-8 -*- # Copyright 2021 Cohesity Inc.
34.807018
73
0.724294
0fddc62ea325581552c6947e7972d2b82e89eb9b
18,191
py
Python
apps/backend/components/collections/base.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
31
2021-07-28T13:06:11.000Z
2022-03-10T12:16:44.000Z
apps/backend/components/collections/base.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
483
2021-07-29T03:17:44.000Z
2022-03-31T13:03:04.000Z
apps/backend/components/collections/base.py
ZhuoZhuoCrayon/bk-nodeman
76cb71fcc971c2a0c2be161fcbd6b019d4a7a8ab
[ "MIT" ]
29
2021-07-28T13:06:21.000Z
2022-03-25T06:18:18.000Z
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making -(BlueKing-BK-NODEMAN) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the...
40.878652
119
0.678522
0fdf08782d0c6126eba111656026fe30af178bba
389
py
Python
warpworks/views/index.py
storborg/warpworks
a41a0a5bab8b826157309f7d0bafbdcdff66505b
[ "MIT" ]
null
null
null
warpworks/views/index.py
storborg/warpworks
a41a0a5bab8b826157309f7d0bafbdcdff66505b
[ "MIT" ]
null
null
null
warpworks/views/index.py
storborg/warpworks
a41a0a5bab8b826157309f7d0bafbdcdff66505b
[ "MIT" ]
null
null
null
from __future__ import (absolute_import, division, print_function, unicode_literals) from pyramid.view import view_config from pyweaving.generators.twill import twill
32.416667
69
0.722365
0fdf761292ed2657c4ca262e9905100c59129c2e
3,291
py
Python
linux_odp/.waf-1.6.8-3e3391c5f23fbabad81e6d17c63a1b1e/waflib/Tools/cs.py
dproc/trex_odp_porting_integration
84d5f27a7eab8186b68c5a2b1409d3d0f41f859b
[ "Apache-2.0" ]
null
null
null
linux_odp/.waf-1.6.8-3e3391c5f23fbabad81e6d17c63a1b1e/waflib/Tools/cs.py
dproc/trex_odp_porting_integration
84d5f27a7eab8186b68c5a2b1409d3d0f41f859b
[ "Apache-2.0" ]
null
null
null
linux_odp/.waf-1.6.8-3e3391c5f23fbabad81e6d17c63a1b1e/waflib/Tools/cs.py
dproc/trex_odp_porting_integration
84d5f27a7eab8186b68c5a2b1409d3d0f41f859b
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file import sys if sys.hexversion < 0x020400f0: from sets import Set as set from waflib import Utils,Task,Options,Logs,Errors from waflib.TaskGen import before_method,after_method,...
33.581633
102
0.726831
0fdf80104584efaaae23ea389313ea17858895b0
1,806
py
Python
fbpmp/utils/abstract_file_ctx.py
benliugithub/fbpcs
7af984264428058645847135026d474d7e28144e
[ "MIT" ]
null
null
null
fbpmp/utils/abstract_file_ctx.py
benliugithub/fbpcs
7af984264428058645847135026d474d7e28144e
[ "MIT" ]
null
null
null
fbpmp/utils/abstract_file_ctx.py
benliugithub/fbpcs
7af984264428058645847135026d474d7e28144e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import contextlib import os import pathlib from fbpcp.service.storage_s3 import S3StorageService from fbpmp.utils.buff...
34.075472
86
0.668882