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
627f3994b2ade29fca362ec30f86cac34a2baa81
152
py
Python
resolver/mindeps/__init__.py
Shivansh-007/python-resolver
c44e93e0715d6d7a736db17122e6a606267329b2
[ "MIT" ]
null
null
null
resolver/mindeps/__init__.py
Shivansh-007/python-resolver
c44e93e0715d6d7a736db17122e6a606267329b2
[ "MIT" ]
null
null
null
resolver/mindeps/__init__.py
Shivansh-007/python-resolver
c44e93e0715d6d7a736db17122e6a606267329b2
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT from resolver.mindeps.__main__ import entrypoint, get_min_deps # noqa: F401 __all__ = ('entrypoint', 'get_min_deps')
21.714286
76
0.763158
6280695be38110adda77e21a75a8350fbff3df45
9,433
py
Python
fabfile/data.py
nprapps/linklater
9ba8fbefcbe9148253e5d5c47572e8b887ce9485
[ "FSFAP" ]
null
null
null
fabfile/data.py
nprapps/linklater
9ba8fbefcbe9148253e5d5c47572e8b887ce9485
[ "FSFAP" ]
47
2015-01-22T16:12:16.000Z
2015-01-28T18:51:58.000Z
fabfile/data.py
nprapps/linklater
9ba8fbefcbe9148253e5d5c47572e8b887ce9485
[ "FSFAP" ]
1
2021-02-18T11:26:35.000Z
2021-02-18T11:26:35.000Z
#!/usr/bin/env python """ Commands that update or process the application data. """ from datetime import datetime import json from bs4 import BeautifulSoup from flask import render_template from fabric.api import task from fabric.state import env from facebook import GraphAPI from twitter import Twitter, OAuth from j...
31.029605
271
0.56578
62809e7157f3314444431a1ce7fbb43f9a5fe55b
4,277
py
Python
glow/nn/_trainer.py
arquolo/ort
6f2d32d739ed6a0dab81bb91018c005e47ef7e77
[ "MIT" ]
null
null
null
glow/nn/_trainer.py
arquolo/ort
6f2d32d739ed6a0dab81bb91018c005e47ef7e77
[ "MIT" ]
null
null
null
glow/nn/_trainer.py
arquolo/ort
6f2d32d739ed6a0dab81bb91018c005e47ef7e77
[ "MIT" ]
null
null
null
from __future__ import annotations __all__ = ['Trainer'] from collections.abc import Callable, Collection, Iterator from dataclasses import dataclass import torch import torch.nn as nn import torch.optim from tqdm.auto import tqdm from .. import ichunked from .. import metrics as m from ._loader import _Loader from...
32.9
78
0.575871
6280a1beb33550565dc8c6430459ab48faab2173
14,450
py
Python
trapeza-import.py
davidmreed/trapeza-import
e745ff43f6901df47aba1ae820ca522492fa988b
[ "MIT" ]
null
null
null
trapeza-import.py
davidmreed/trapeza-import
e745ff43f6901df47aba1ae820ca522492fa988b
[ "MIT" ]
2
2015-04-10T17:12:39.000Z
2015-04-10T17:13:53.000Z
trapeza-import.py
davidmreed/trapeza-import
e745ff43f6901df47aba1ae820ca522492fa988b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # trapeza-import.py # # Copyright 2013-2014 David Reed <david@ktema.org> # This file is available under the terms of the MIT License. # from itertools import groupby from operator import itemgetter, attrgetter import hashlib import io import os import sys import pi...
41.884058
118
0.612872
628148650e81ef63a14a0e7b6f3e244ba44786ee
1,200
py
Python
tests/test_yaml.py
janhybs/ci-hpi
293740c7af62ecada5744ff663266de2e3d37445
[ "MIT" ]
1
2020-01-09T13:00:18.000Z
2020-01-09T13:00:18.000Z
tests/test_yaml.py
janhybs/ci-hpi
293740c7af62ecada5744ff663266de2e3d37445
[ "MIT" ]
null
null
null
tests/test_yaml.py
janhybs/ci-hpi
293740c7af62ecada5744ff663266de2e3d37445
[ "MIT" ]
2
2018-08-12T01:13:28.000Z
2018-08-13T14:37:28.000Z
#!/bin/python3 # author: Jan Hybs import tests tests.fix_paths() import yaml from unittest import TestCase from cihpc.cfg.config import global_configuration from cihpc.common.utils import extend_yaml repeat_yaml = ''' foo: !repeat a 5 ''' range_yaml = ''' foo: !range 1 5 bar: !range 1 2 6 ''' sh_yaml = ''' foo:...
22.641509
78
0.6725
62825aac43334a0c4d771dfbfbed86c8e81907ef
991
py
Python
Greedy.py
victor3r/search-algorithms
0256349b20b314c3337264c4c2b1ef4b1992a914
[ "MIT" ]
null
null
null
Greedy.py
victor3r/search-algorithms
0256349b20b314c3337264c4c2b1ef4b1992a914
[ "MIT" ]
null
null
null
Greedy.py
victor3r/search-algorithms
0256349b20b314c3337264c4c2b1ef4b1992a914
[ "MIT" ]
null
null
null
from OrderedVector import OrderedVector
31.967742
62
0.573158
6283560a4c1df948a92e15782756a76d970412a4
3,262
py
Python
mlf_core/create/templates/package/package_prediction/{{ cookiecutter.project_slug_no_hyphen }}/{{cookiecutter.project_slug_no_hyphen}}/cli_xgboost.py
mlf-core/mlf-core
016f6186b5b62622c3a2b3ca884331fe0165b97c
[ "Apache-2.0" ]
31
2020-10-04T14:54:54.000Z
2021-11-22T09:33:17.000Z
mlf_core/create/templates/package/package_prediction/{{ cookiecutter.project_slug_no_hyphen }}/{{cookiecutter.project_slug_no_hyphen}}/cli_xgboost.py
mlf-core/mlf_core
cea155595df95d1d22473605d29813f5d698d635
[ "Apache-2.0" ]
200
2020-08-05T13:51:14.000Z
2022-03-28T00:25:54.000Z
mlf_core/create/templates/package/package_prediction/{{ cookiecutter.project_slug_no_hyphen }}/{{cookiecutter.project_slug_no_hyphen}}/cli_xgboost.py
mlf-core/mlf_core
cea155595df95d1d22473605d29813f5d698d635
[ "Apache-2.0" ]
3
2020-11-29T17:03:52.000Z
2021-06-03T13:12:03.000Z
import os import sys from dataclasses import dataclass import click import numpy as np import xgboost as xgb from rich import print, traceback WD = os.path.dirname(__file__) def parse_data_to_predict(path_to_data_to_predict: str) -> Dataset: """ Parses the data to predict and returns a full Dataset includ...
31.980392
136
0.66401
62835966d4b0e4b0387185306e4dd38f6d24f970
1,597
py
Python
onnxruntime/python/tools/quantization/operators/direct_q8.py
kimjungwow/onnxruntime-riscv
3c21abef03190648fe68a6633ac026725e6dfc58
[ "MIT" ]
18
2020-05-19T12:48:07.000Z
2021-04-28T06:41:57.000Z
onnxruntime/python/tools/quantization/operators/direct_q8.py
kimjungwow/onnxruntime-riscv
3c21abef03190648fe68a6633ac026725e6dfc58
[ "MIT" ]
61
2021-05-31T05:15:41.000Z
2022-03-29T22:34:33.000Z
onnxruntime/python/tools/quantization/operators/direct_q8.py
ekmixon/onnxruntime
1ab8a95eb6675afb6d0ad9d93600ef0022e2ddb5
[ "MIT" ]
9
2021-05-14T20:17:26.000Z
2022-03-20T11:44:29.000Z
from .base_operator import QuantOperatorBase from .qdq_base_operator import QDQOperatorBase from ..quant_utils import QuantizedValue # For operators that support 8bits operations directly, and output could # reuse input[0]'s type, zeropoint, scale; For example,Transpose, Reshape, etc.
42.026316
112
0.689418
628478917870596f07ee4037c6b0a49ad4980015
3,659
py
Python
b01lers-ctf-2022/extreme_64_part_2/src/levels.py
novafacing/challenges
cfdfb34973880cfda03b4797d3b369344cfa4b9a
[ "MIT" ]
null
null
null
b01lers-ctf-2022/extreme_64_part_2/src/levels.py
novafacing/challenges
cfdfb34973880cfda03b4797d3b369344cfa4b9a
[ "MIT" ]
null
null
null
b01lers-ctf-2022/extreme_64_part_2/src/levels.py
novafacing/challenges
cfdfb34973880cfda03b4797d3b369344cfa4b9a
[ "MIT" ]
null
null
null
from platform import architecture from qiling import Qiling from typing import Union from asm_practice.coding.challenge import ArchSpec, Challenge, TestCase challenges = [] amd64 = ArchSpec( pwntools_arch="amd64", pwntools_os="linux", qiling_rootfs="qiling/examples/rootfs/x86_linux/", qiling_ostype="...
27.103704
156
0.544138
62858c1b3ffcd01a46345c2c6590f7749e7c007a
2,331
py
Python
lte/gateway/python/magma/enodebd/tr069/tests/models_tests.py
Aitend/magma
74fe7b437335728219dfbe54733955bdd652eb60
[ "BSD-3-Clause" ]
849
2020-07-17T09:15:03.000Z
2022-03-31T17:11:52.000Z
lte/gateway/python/magma/enodebd/tr069/tests/models_tests.py
Aitend/magma
74fe7b437335728219dfbe54733955bdd652eb60
[ "BSD-3-Clause" ]
8,386
2020-06-23T23:35:30.000Z
2022-03-31T23:31:28.000Z
lte/gateway/python/magma/enodebd/tr069/tests/models_tests.py
Aitend/magma
74fe7b437335728219dfbe54733955bdd652eb60
[ "BSD-3-Clause" ]
406
2020-06-28T17:02:35.000Z
2022-03-31T22:03:55.000Z
""" Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES O...
31.08
75
0.56671
6285f9b80fd1befd47cc7c79a141c672da8b15b7
732
py
Python
saleor/graphql/order/bulk_mutations/draft_orders.py
acabezasg/urpi-master
7c9cd0fbe6d89dad70652482712ca38b21ba6f84
[ "BSD-3-Clause" ]
1
2019-04-15T09:37:26.000Z
2019-04-15T09:37:26.000Z
saleor/graphql/order/bulk_mutations/draft_orders.py
acabezasg/urpi-master
7c9cd0fbe6d89dad70652482712ca38b21ba6f84
[ "BSD-3-Clause" ]
5
2021-03-09T16:22:37.000Z
2022-02-10T19:10:03.000Z
saleor/graphql/order/bulk_mutations/draft_orders.py
acabezasg/urpi-master
7c9cd0fbe6d89dad70652482712ca38b21ba6f84
[ "BSD-3-Clause" ]
1
2020-12-26T10:25:37.000Z
2020-12-26T10:25:37.000Z
import graphene from ....order import OrderStatus, models from ...core.mutations import ModelBulkDeleteMutation
28.153846
74
0.665301
62891dc073d6683815ffdf4fdf46da450a83ebad
1,978
py
Python
thread_extensions/callback_thread.py
Sunchasing/python-common
bc9f11fe4585ef9abca7006c0bf64b11062742fd
[ "Apache-2.0" ]
5
2021-08-15T23:04:25.000Z
2021-09-06T18:32:53.000Z
thread_extensions/callback_thread.py
Sunchasing/python-common
bc9f11fe4585ef9abca7006c0bf64b11062742fd
[ "Apache-2.0" ]
null
null
null
thread_extensions/callback_thread.py
Sunchasing/python-common
bc9f11fe4585ef9abca7006c0bf64b11062742fd
[ "Apache-2.0" ]
1
2022-01-28T13:12:23.000Z
2022-01-28T13:12:23.000Z
from threading import Thread from typing import Any, Iterable, Mapping from types_extensions import Function, void, safe_type
39.56
116
0.63549
62898b405054c48d9122f893fe9282577a49a61e
55
py
Python
enthought/traits/ui/wx/button_editor.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/traits/ui/wx/button_editor.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/traits/ui/wx/button_editor.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from traitsui.wx.button_editor import *
18.333333
39
0.8
6289a72aad33159f7d054947864a1fb1eeedfac8
2,756
py
Python
ROSITA/ARMCycleCounterImpl.py
0xADE1A1DE/Rosita
13a669c1877b2eb5a36be6b41a6f840d83ffd46a
[ "Apache-2.0" ]
10
2020-11-22T08:17:08.000Z
2021-12-17T04:06:01.000Z
ROSITA/ARMCycleCounterImpl.py
0xADE1A1DE/Rosita
13a669c1877b2eb5a36be6b41a6f840d83ffd46a
[ "Apache-2.0" ]
null
null
null
ROSITA/ARMCycleCounterImpl.py
0xADE1A1DE/Rosita
13a669c1877b2eb5a36be6b41a6f840d83ffd46a
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 University of Adelaide # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
29.010526
74
0.697388
6289d050b39c8fee926a510fc4214e7ee940d801
4,723
py
Python
dust/admin.py
MerlinEmris/eBazar
f159314183a8a95afd97d36b0d3d8cf22015a512
[ "MIT" ]
null
null
null
dust/admin.py
MerlinEmris/eBazar
f159314183a8a95afd97d36b0d3d8cf22015a512
[ "MIT" ]
null
null
null
dust/admin.py
MerlinEmris/eBazar
f159314183a8a95afd97d36b0d3d8cf22015a512
[ "MIT" ]
null
null
null
from django.utils.html import format_html # null derek yazylmaly hat admin.site.empty_value_display = '???' admin.site.register(Item) # str funksivany ady bilen gorkezyar # ozine gora hat chykarmat # email domain ady gaytar # how to sort manually created field that related with db # models.py from django.db i...
27.782353
94
0.724328
628a26e801e2d3e6057da42ddf0d511ab519f04e
465
py
Python
main.py
Lasx/gb688_downloader
7e9711e7784c15bcd15a6129ab1fef99c8d44f23
[ "Apache-2.0" ]
119
2020-02-27T04:27:15.000Z
2022-03-01T07:02:34.000Z
main.py
Lasx/gb688_downloader
7e9711e7784c15bcd15a6129ab1fef99c8d44f23
[ "Apache-2.0" ]
12
2020-03-26T04:50:13.000Z
2021-11-24T04:00:08.000Z
main.py
Lasx/gb688_downloader
7e9711e7784c15bcd15a6129ab1fef99c8d44f23
[ "Apache-2.0" ]
24
2020-03-11T22:50:24.000Z
2022-03-25T08:13:56.000Z
from standard import HDB, NatureStd if __name__ == "__main__": hb = HDB('hbba') db = HDB('dbba') data = db.search('') print(data) # first_record = data["records"][0] # name = f'{first_record["code"]}({first_record["chName"]}' # db.download(pk=first_record['pk'], name=name) # std = Nat...
27.352941
99
0.617204
628a35fc680aa3e71939daea214021b0a93a8fef
6,478
py
Python
tests/test_centering.py
chto/redmapper
1dc66b601889ef9913f0f9b2e05980b982834485
[ "Apache-2.0" ]
null
null
null
tests/test_centering.py
chto/redmapper
1dc66b601889ef9913f0f9b2e05980b982834485
[ "Apache-2.0" ]
null
null
null
tests/test_centering.py
chto/redmapper
1dc66b601889ef9913f0f9b2e05980b982834485
[ "Apache-2.0" ]
null
null
null
from __future__ import division, absolute_import, print_function from past.builtins import xrange import unittest import numpy.testing as testing import numpy as np import fitsio import os from numpy import random from redmapper import Cluster from redmapper import Configuration from redmapper import CenteringWcenZre...
37.662791
123
0.589379
628a9b46dc2e473cabe5460e321c03369c91a690
6,581
py
Python
converted_docs/run_pandoc.py
AndrewLoeppky/eoas_tlef
9119023ff21b8db0faf95b4e5f62a7c06eeb6b50
[ "BSD-3-Clause" ]
3
2020-04-30T19:50:11.000Z
2020-10-17T02:07:00.000Z
converted_docs/run_pandoc.py
AndrewLoeppky/eoas_tlef
9119023ff21b8db0faf95b4e5f62a7c06eeb6b50
[ "BSD-3-Clause" ]
35
2020-04-21T04:25:31.000Z
2021-11-06T22:49:44.000Z
converted_docs/run_pandoc.py
AndrewLoeppky/eoas_tlef
9119023ff21b8db0faf95b4e5f62a7c06eeb6b50
[ "BSD-3-Clause" ]
11
2020-04-21T04:33:48.000Z
2020-10-23T21:12:12.000Z
""" usage: turn all docx files into markdown files python run_pandoc.py transform-docs turn all tex files nto markdown files python run_pandoc.py transform-docs --doctype=tex move all csv, md, pptx, docx, png, jpeg, jpg etc. into Book/subdir folders, where subdir is the suffix filename and write a file ...
29.511211
89
0.619511
628ac7ff61e9eb7e83c84034316330a71c01848e
979
py
Python
swim/PIL2/WebPImagePlugin.py
alexsigaras/SWIM
1a35df8acb26bdcb307a1b8f60e9feba68ed1715
[ "MIT" ]
3
2015-06-05T00:32:44.000Z
2017-01-06T15:44:32.000Z
swim/PIL2/WebPImagePlugin.py
alexsigaras/SWIM
1a35df8acb26bdcb307a1b8f60e9feba68ed1715
[ "MIT" ]
null
null
null
swim/PIL2/WebPImagePlugin.py
alexsigaras/SWIM
1a35df8acb26bdcb307a1b8f60e9feba68ed1715
[ "MIT" ]
null
null
null
from PIL import Image from PIL import ImageFile from io import BytesIO import _webp Image.register_open("WEBP", WebPImageFile, _accept) Image.register_save("WEBP", _save) Image.register_extension("WEBP", ".webp") Image.register_mime("WEBP", "image/webp")
28.794118
101
0.648621
628bbd970ba25dae836c86e32114954de704abe3
4,149
py
Python
AI Class/Agents/vacuum_v2.py
e-olang/Drafts
a26c958b50826c8762ba12046d1ef6aedefe7e5b
[ "MIT" ]
null
null
null
AI Class/Agents/vacuum_v2.py
e-olang/Drafts
a26c958b50826c8762ba12046d1ef6aedefe7e5b
[ "MIT" ]
null
null
null
AI Class/Agents/vacuum_v2.py
e-olang/Drafts
a26c958b50826c8762ba12046d1ef6aedefe7e5b
[ "MIT" ]
null
null
null
from turtle import Turtle, Screen from random import choice from time import sleep from queue import SimpleQueue w: int w, h = (853, 480) wn = Screen() wn.screensize(w, h) wn.bgcolor("#d3d3d3") Room_state = {"Clean": "#FFFFFF", "Dirty": "#b5651d"} cleaned = 0 A, B, X, Y = setup() # Vaccum Cleaner ...
23.440678
102
0.557002
628f60f6980f2fba69cda100a9a49fdeb649e134
1,226
py
Python
notebook/dict_keys_values_items.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/dict_keys_values_items.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/dict_keys_values_items.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
d = {'key1': 1, 'key2': 2, 'key3': 3} for k in d: print(k) # key1 # key2 # key3 for k in d.keys(): print(k) # key1 # key2 # key3 keys = d.keys() print(keys) print(type(keys)) # dict_keys(['key1', 'key2', 'key3']) # <class 'dict_keys'> k_list = list(d.keys()) print(k_list) print(type(k_list)) # ['key1', 'key...
13.775281
53
0.546493
629117006004b2eb7fb514daab59fc4ecf18244d
560
py
Python
flows/tests/settings.py
sergioisidoro/django-flows
326baa3e216a15bd7a8d13b2a09ba9752e250dbb
[ "BSD-2-Clause" ]
104
2015-01-05T14:29:16.000Z
2021-11-08T11:20:24.000Z
flows/tests/settings.py
sergioisidoro/django-flows
326baa3e216a15bd7a8d13b2a09ba9752e250dbb
[ "BSD-2-Clause" ]
4
2015-09-23T11:14:50.000Z
2020-03-21T06:08:34.000Z
flows/tests/settings.py
sergioisidoro/django-flows
326baa3e216a15bd7a8d13b2a09ba9752e250dbb
[ "BSD-2-Clause" ]
16
2015-01-05T10:13:44.000Z
2022-02-14T05:21:23.000Z
import django DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } INSTALLED_APPS = ['flows', 'flows.statestore.tests', 'django_nose'] SECRET_KEY = 'flow_tests' if django.VERSION < (1, 6): TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner' TES...
19.310345
67
0.639286
6291397ad5ddff8c105b169b9ffba9daa398c30c
4,154
py
Python
apps/site/api/serializers/video_serializer.py
LocalGround/localground
aa5a956afe7a84a7763a3b23d62a9fd925831cd7
[ "Apache-2.0" ]
9
2015-05-29T22:22:20.000Z
2022-02-01T20:39:00.000Z
apps/site/api/serializers/video_serializer.py
LocalGround/localground
aa5a956afe7a84a7763a3b23d62a9fd925831cd7
[ "Apache-2.0" ]
143
2015-01-22T15:03:40.000Z
2020-06-27T01:55:29.000Z
apps/site/api/serializers/video_serializer.py
LocalGround/localground
aa5a956afe7a84a7763a3b23d62a9fd925831cd7
[ "Apache-2.0" ]
5
2015-03-16T20:51:49.000Z
2017-02-07T20:48:49.000Z
from rest_framework import serializers from localground.apps.site.api.serializers.base_serializer import \ BaseSerializer, NamedSerializerMixin, ProjectSerializerMixin, \ GeometrySerializerMixin from localground.apps.site import models, widgets from localground.apps.site.api import fields import re
37.089286
78
0.586904
6291f51816dba816b4da164bad84c6226c1b1dd7
957
py
Python
learning/async/test_async.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
2
2019-06-23T07:17:30.000Z
2019-07-06T15:15:42.000Z
learning/async/test_async.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
null
null
null
learning/async/test_async.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
1
2019-06-23T07:17:43.000Z
2019-06-23T07:17:43.000Z
# Testing out some stuff with async and await # We can use the await statement in coroutines to call # coroutines as normal functions; i.e. what it implies is that # if we runt return await func(*args) in a courtoune # is like running return func2(*args) in a normal def function def run(coro, *args): try:...
30.870968
70
0.695925
654e2a43d7785c171e931fd74c28957f5d42803a
465
py
Python
hmm_data.py
vvhitedog/pystan-hmm
48bcb3d94eff09b4002ffa4b1fa70740b4ee35e3
[ "BSD-2-Clause" ]
null
null
null
hmm_data.py
vvhitedog/pystan-hmm
48bcb3d94eff09b4002ffa4b1fa70740b4ee35e3
[ "BSD-2-Clause" ]
null
null
null
hmm_data.py
vvhitedog/pystan-hmm
48bcb3d94eff09b4002ffa4b1fa70740b4ee35e3
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python import numpy as np from matplotlib import pyplot as plt theta = np.asarray([[.8,.2],[.1,.9]]) psi = np.asarray([3.,9.]) N = 100 K = 2 # sample z z = np.empty(N,dtype='int') z[0] = 1 for i in range(1,N): z[i] = np.random.choice(np.arange(K),size=1,replace=True,p=theta[z[i-1]]) y = np.random.r...
16.034483
77
0.630108
654e6ec194bd32832a9d3c23d9b1b14efdd455a2
19,721
py
Python
s2e_env/commands/image_build.py
michaelbrownuc/s2e-env
4bd6a45bf1ec9456ed5acf5047b6aac3fcd19683
[ "BSD-3-Clause" ]
null
null
null
s2e_env/commands/image_build.py
michaelbrownuc/s2e-env
4bd6a45bf1ec9456ed5acf5047b6aac3fcd19683
[ "BSD-3-Clause" ]
null
null
null
s2e_env/commands/image_build.py
michaelbrownuc/s2e-env
4bd6a45bf1ec9456ed5acf5047b6aac3fcd19683
[ "BSD-3-Clause" ]
null
null
null
""" Copyright (c) 2017 Cyberhaven Copyright (c) 2017 Dependable Systems Laboratory, EPFL Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the right...
36.3186
120
0.617565
654f10479c322ddf45d78b5c826a8ece925a9fa9
11,758
py
Python
chart_analysis.py
DeltaEpsilon7787/SimfileLibrary
af9f0949c21ad69465c8444161e069148bec574d
[ "MIT" ]
null
null
null
chart_analysis.py
DeltaEpsilon7787/SimfileLibrary
af9f0949c21ad69465c8444161e069148bec574d
[ "MIT" ]
null
null
null
chart_analysis.py
DeltaEpsilon7787/SimfileLibrary
af9f0949c21ad69465c8444161e069148bec574d
[ "MIT" ]
null
null
null
import collections from functools import lru_cache from itertools import groupby, permutations from operator import attrgetter from typing import Counter, FrozenSet, Generic, List, Tuple, TypeVar, Union, cast from attr import attrs, evolve from .basic_types import Beat, CheaperFraction, NoteObject, Time, make_ordered...
32.213699
118
0.608352
654fb2a6de595344cf7603c4bae18a08ffdc2465
2,271
py
Python
websocket_chat_server.py
ringolol/ru-gpts
991ef3fb4dbe46f7512ec958704c6fa9998049ab
[ "Apache-2.0" ]
null
null
null
websocket_chat_server.py
ringolol/ru-gpts
991ef3fb4dbe46f7512ec958704c6fa9998049ab
[ "Apache-2.0" ]
null
null
null
websocket_chat_server.py
ringolol/ru-gpts
991ef3fb4dbe46f7512ec958704c6fa9998049ab
[ "Apache-2.0" ]
null
null
null
# WS server chat import asyncio import websockets import torch from transformers import AutoTokenizer, AutoModel, AutoModelWithLMHead model_name = "sberbank-ai/rugpt2large" # "sberbank-ai/rugpt3large_based_on_gpt2" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelWithLMHead.from_pretrained(mode...
30.689189
110
0.632321
6551a8bf653eda6b0c4ad77b9367ce0b7593d0e5
1,595
py
Python
mocket/utils.py
hectorcanto/python-mocket
76b6e26f51366a8f3494f3a767fb681af4e39ad8
[ "BSD-3-Clause" ]
null
null
null
mocket/utils.py
hectorcanto/python-mocket
76b6e26f51366a8f3494f3a767fb681af4e39ad8
[ "BSD-3-Clause" ]
null
null
null
mocket/utils.py
hectorcanto/python-mocket
76b6e26f51366a8f3494f3a767fb681af4e39ad8
[ "BSD-3-Clause" ]
null
null
null
import binascii import io import os import ssl from .compat import decode_from_bytes, encode_to_bytes SSL_PROTOCOL = ssl.PROTOCOL_SSLv23 def hexdump(binary_string): r""" >>> hexdump(b"bar foobar foo") == decode_from_bytes(encode_to_bytes("62 61 72 20 66 6F 6F 62 61 72 20 66 6F 6F")) True """ b...
24.166667
117
0.664577
6551e1e19c5f8e4bf2d8b7c5b7b2115585ea7098
121
py
Python
exercicios_fixacao/lista04/repet_lim_ex6.py
PauloVictorSS/unicamp-mc102
077ca3ea6d3df40ebe205c2e874d20a934ea5541
[ "MIT" ]
null
null
null
exercicios_fixacao/lista04/repet_lim_ex6.py
PauloVictorSS/unicamp-mc102
077ca3ea6d3df40ebe205c2e874d20a934ea5541
[ "MIT" ]
null
null
null
exercicios_fixacao/lista04/repet_lim_ex6.py
PauloVictorSS/unicamp-mc102
077ca3ea6d3df40ebe205c2e874d20a934ea5541
[ "MIT" ]
null
null
null
number = int(input()) raiz = number/2 for i in range(1,20): raiz = ((raiz ** 2) + number) / (2 * raiz) print(raiz)
15.125
46
0.561983
65532dd4c64895eea8a26b3bd064fbb56add0988
1,726
py
Python
load.py
leonjovanovic/drl-ppo-bipedal-walker
5005bb396b409079fbb2065a2ecd5c956ba86630
[ "MIT" ]
1
2022-01-21T23:19:20.000Z
2022-01-21T23:19:20.000Z
load.py
leonjovanovic/drl-ppo-bipedal-walker
5005bb396b409079fbb2065a2ecd5c956ba86630
[ "MIT" ]
null
null
null
load.py
leonjovanovic/drl-ppo-bipedal-walker
5005bb396b409079fbb2065a2ecd5c956ba86630
[ "MIT" ]
null
null
null
import gym import numpy as np import torch import Config import NN import json PATH_DATA = 'models/data23.15.9.40.json' PATH_MODEL = 'models/model23.15.9.40.p' with open(PATH_DATA, 'r') as f: json_load = json.loads(f.read()) obs_rms_mean = np.asarray(json_load["obs_rms_mean"]) obs_rms_var = np.asarra...
35.958333
103
0.669757
6558e8275ddb990e4df9e50898094d28930069c7
1,111
py
Python
generate_sl4_1.8.py
qiantianpei/anonymizer
5a1cd276b6c9766b54db187dd4750a04f7559665
[ "Apache-2.0" ]
null
null
null
generate_sl4_1.8.py
qiantianpei/anonymizer
5a1cd276b6c9766b54db187dd4750a04f7559665
[ "Apache-2.0" ]
null
null
null
generate_sl4_1.8.py
qiantianpei/anonymizer
5a1cd276b6c9766b54db187dd4750a04f7559665
[ "Apache-2.0" ]
2
2020-10-28T18:35:44.000Z
2020-11-10T07:37:49.000Z
import json from PIL import Image with open('/home/tianpei.qian/workspace/data_local/sl4_front_1.0/sl4_side_val_1.7.json') as f: val_1_7 = json.load(f) with open('sl4_side_val_1.7/results.json') as f: new_1_8 = json.load(f) ROOT = '/home/tianpei.qian/workspace/data_local/sl4_front_1.0/' for old, new in zip(...
39.678571
130
0.633663
65599b2db0af8388cda22867211e56c2902c85cb
3,815
py
Python
experiments/vitchyr/icml2017/watermaze_memory/generate_bellman_ablation_figure_data.py
Asap7772/rail-rl-franka-eval
4bf99072376828193d05b53cf83c7e8f4efbd3ba
[ "MIT" ]
null
null
null
experiments/vitchyr/icml2017/watermaze_memory/generate_bellman_ablation_figure_data.py
Asap7772/rail-rl-franka-eval
4bf99072376828193d05b53cf83c7e8f4efbd3ba
[ "MIT" ]
null
null
null
experiments/vitchyr/icml2017/watermaze_memory/generate_bellman_ablation_figure_data.py
Asap7772/rail-rl-franka-eval
4bf99072376828193d05b53cf83c7e8f4efbd3ba
[ "MIT" ]
null
null
null
""" Generate data for ablation analysis for ICML 2017 workshop paper. """ import random from torch.nn import functional as F from railrl.envs.pygame.water_maze import ( WaterMazeMemory, ) from railrl.exploration_strategies.ou_strategy import OUStrategy from railrl.launchers.launcher_util import ( run_experime...
30.03937
69
0.5827
6559e635e127e3a20be2565ece18e60b7e2271a6
1,053
py
Python
setup.py
briancappello/py-meta-utils
342a1ba804bd240044b96ae7ceb636c27fa5c95c
[ "MIT" ]
1
2020-11-25T14:37:09.000Z
2020-11-25T14:37:09.000Z
setup.py
briancappello/py-meta-utils
342a1ba804bd240044b96ae7ceb636c27fa5c95c
[ "MIT" ]
null
null
null
setup.py
briancappello/py-meta-utils
342a1ba804bd240044b96ae7ceb636c27fa5c95c
[ "MIT" ]
null
null
null
from setuptools import setup with open('README.md', encoding='utf-8') as f: long_description = f.read() setup( name='Py-Meta-Utils', version='0.7.8', description='Metaclass utilities for Python', long_description=long_description, long_description_content_type='text/markdown', url='https...
25.682927
61
0.603989
6559f6467029322c3a83d9fc2e0fd805cb80dd9c
363
py
Python
wflow/doc/pcraster-for-doc-only/pcraster/pcrstat.py
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
wflow/doc/pcraster-for-doc-only/pcraster/pcrstat.py
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
2
2018-07-05T14:36:18.000Z
2020-03-19T21:16:37.000Z
build/bin/pcraster/framework/pcrstat.py
openearth/hydro-model-generator-wflow
6f689859d0a9a307324db3dbe3f03c51884a42a8
[ "MIT" ]
null
null
null
import math # Returns a percentile of an array. It is assumed that the array is already # sorted. # # The array must not be empty. # # Percentile must have a value between [0, 1.0].
25.928571
75
0.707989
655a5cff4fee32ccc4f815a5371fc224869e3257
9,512
py
Python
asetk/format/yambo.py
ltalirz/asetk
bdb31934a5eb49d601e492fc98078d27f5dd2ebd
[ "MIT" ]
18
2017-02-07T21:35:21.000Z
2021-09-02T13:44:36.000Z
asetk/format/yambo.py
ltalirz/asetk
bdb31934a5eb49d601e492fc98078d27f5dd2ebd
[ "MIT" ]
4
2016-10-20T21:23:23.000Z
2020-05-07T07:35:31.000Z
asetk/format/yambo.py
ltalirz/asetk
bdb31934a5eb49d601e492fc98078d27f5dd2ebd
[ "MIT" ]
11
2016-10-20T21:17:20.000Z
2021-04-13T15:23:47.000Z
"""Classes for use with Yambo Representation of a spectrum. Main functionality is to read from Yambo output, o.qp files and also netcdf databases. """ import re import copy as cp import numpy as np import asetk.atomistic.fundamental as fu import asetk.atomistic.constants as atc from . import cube def shift(sel...
30.983713
96
0.54815
655a775ff795ff440709723d33d45d1b64c46416
733
py
Python
Chapter02/unittests/testExercise2_07.py
nijinjose/The-Supervised-Learning-Workshop
33a2fec1e202dc1394116ed7a194bd8cabb61d49
[ "MIT" ]
19
2020-03-24T20:35:22.000Z
2022-01-03T19:19:48.000Z
Chapter02/unittests/testExercise2_07.py
thisabhijit/The-Supervised-Learning-Workshop
33a2fec1e202dc1394116ed7a194bd8cabb61d49
[ "MIT" ]
null
null
null
Chapter02/unittests/testExercise2_07.py
thisabhijit/The-Supervised-Learning-Workshop
33a2fec1e202dc1394116ed7a194bd8cabb61d49
[ "MIT" ]
50
2020-01-03T10:22:30.000Z
2022-01-15T07:54:26.000Z
import unittest import os import json import pandas as pd import numpy as np if __name__ == '__main__': unittest.main()
34.904762
102
0.649386
655b3273748ed0aac050a9902d9955141b494618
6,684
py
Python
models/cfnet.py
Cousin-Zan/Semantic-Segmentation-for-Steel-Strip-Surface-Defect-Detection
ae135743cc190cdf5a04b5d3ca04dde44f6dd58a
[ "Apache-2.0" ]
null
null
null
models/cfnet.py
Cousin-Zan/Semantic-Segmentation-for-Steel-Strip-Surface-Defect-Detection
ae135743cc190cdf5a04b5d3ca04dde44f6dd58a
[ "Apache-2.0" ]
null
null
null
models/cfnet.py
Cousin-Zan/Semantic-Segmentation-for-Steel-Strip-Surface-Defect-Detection
ae135743cc190cdf5a04b5d3ca04dde44f6dd58a
[ "Apache-2.0" ]
1
2022-01-20T06:06:21.000Z
2022-01-20T06:06:21.000Z
""" The implementation of PAN (Pyramid Attention Networks) based on Tensorflow. @Author: Yang Lu @Author: Zan Peng @Github: https://github.com/luyanger1799 @Github: https://github.com/Cousin-Zan @Project: https://github.com/luyanger1799/amazing-semantic-segmentation """ from utils import layers as custom_layers from ...
36.52459
113
0.623429
655c497fe83653b39f7896791196ee547dcad9d2
2,340
py
Python
api/test/test_cli/test_bra_record_helper/test_persist.py
RemiDesgrange/nivo
e13dcd7c00d1fbc41c23d51c9004901d7704b498
[ "MIT" ]
2
2019-05-07T20:23:59.000Z
2020-04-26T11:18:38.000Z
api/test/test_cli/test_bra_record_helper/test_persist.py
RemiDesgrange/nivo
e13dcd7c00d1fbc41c23d51c9004901d7704b498
[ "MIT" ]
89
2019-08-06T12:47:50.000Z
2022-03-28T04:03:25.000Z
api/test/test_cli/test_bra_record_helper/test_persist.py
RemiDesgrange/nivo
e13dcd7c00d1fbc41c23d51c9004901d7704b498
[ "MIT" ]
1
2020-06-23T10:07:38.000Z
2020-06-23T10:07:38.000Z
from uuid import UUID from sqlalchemy import select, bindparam from nivo_api.cli.bra_record_helper.persist import persist_zone, persist_massif from nivo_api.core.db.connection import connection_scope from nivo_api.core.db.models.sql.bra import ZoneTable, DepartmentTable, MassifTable from test.pytest_fixtures import...
33.428571
83
0.571368
655d1df65aed622243c78b66ce8d27bd0eb7b948
780
py
Python
FractionalKnapsack.py
shatheesh171/greedy-algos
2826f57be7b7c6223e266cf2283cc79e040e094a
[ "MIT" ]
null
null
null
FractionalKnapsack.py
shatheesh171/greedy-algos
2826f57be7b7c6223e266cf2283cc79e040e094a
[ "MIT" ]
null
null
null
FractionalKnapsack.py
shatheesh171/greedy-algos
2826f57be7b7c6223e266cf2283cc79e040e094a
[ "MIT" ]
null
null
null
item1=Item(20,100) item2=Item(30,120) item3=Item(10,60) cList=[item1,item2,item3] knapsackMethod(cList,50)
25.16129
51
0.637179
655e6832b1d17e6f32fa6e6e3a8b08c294e9b6de
4,146
py
Python
jspp_imageutils/image/chunking.py
jspaezp/jspp_imageutils
6376e274a1b0675622a7979c181b9effc125aa09
[ "Apache-2.0" ]
null
null
null
jspp_imageutils/image/chunking.py
jspaezp/jspp_imageutils
6376e274a1b0675622a7979c181b9effc125aa09
[ "Apache-2.0" ]
null
null
null
jspp_imageutils/image/chunking.py
jspaezp/jspp_imageutils
6376e274a1b0675622a7979c181b9effc125aa09
[ "Apache-2.0" ]
null
null
null
import itertools import numpy as np from jspp_imageutils.image.types import GenImgArray, GenImgBatch from typing import Tuple, Iterable, Iterator # TODO: fix everywhere the x and y axis nomenclature """ chunk_image_on_position -> returns images chunk_image_generator -> returns images chunk_data_image_generator -> re...
33.168
74
0.605885
655f05c48f34f6d4f2b19130434604b15e5c99a3
1,598
py
Python
python/craftassist/ttad/generation_dialogues/build_scene_flat_script.py
satyamedh/craftassist
d97cbc14bc25149d3ef41737231ab9f3cb7e392a
[ "MIT" ]
626
2019-07-18T18:40:44.000Z
2022-03-29T17:34:43.000Z
python/craftassist/ttad/generation_dialogues/build_scene_flat_script.py
satyamedh/craftassist
d97cbc14bc25149d3ef41737231ab9f3cb7e392a
[ "MIT" ]
42
2019-07-27T11:04:15.000Z
2021-02-23T03:15:14.000Z
python/craftassist/ttad/generation_dialogues/build_scene_flat_script.py
satyamedh/craftassist
d97cbc14bc25149d3ef41737231ab9f3cb7e392a
[ "MIT" ]
89
2019-07-19T15:07:39.000Z
2022-02-15T18:44:24.000Z
if __name__ == "__main__": import argparse import pickle import os from tqdm import tqdm from build_scene import * from block_data import COLOR_BID_MAP BLOCK_DATA = pickle.load( open("/private/home/aszlam/minecraft_specs/block_images/block_data", "rb") ) allowed_blocktypes ...
32.612245
99
0.621402
655fb86e683d32b0ac543bc333e3c26a2dfbef4d
1,256
py
Python
modules/transfer/scripts/info.py
sishuiliunian/falcon-plus
eb6e2a5c29b26812601535cec602b33ee42b0632
[ "Apache-2.0" ]
7,208
2017-01-15T08:32:54.000Z
2022-03-31T14:09:04.000Z
modules/transfer/scripts/info.py
sishuiliunian/falcon-plus
eb6e2a5c29b26812601535cec602b33ee42b0632
[ "Apache-2.0" ]
745
2017-01-17T06:55:21.000Z
2022-03-28T03:33:45.000Z
modules/transfer/scripts/info.py
sishuiliunian/falcon-plus
eb6e2a5c29b26812601535cec602b33ee42b0632
[ "Apache-2.0" ]
1,699
2017-01-11T09:16:44.000Z
2022-03-29T10:40:31.000Z
import requests # Copyright 2017 Xiaomi, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
32.205128
96
0.630573
655fe9ed2aae210f7f4352487b731196a667f5ea
18,904
py
Python
pyhpecw7/features/interface.py
zhangshilinh3c/pyhpecw7
93bc0d323be89b3672413bbddd25c66f75640fb5
[ "Apache-2.0" ]
null
null
null
pyhpecw7/features/interface.py
zhangshilinh3c/pyhpecw7
93bc0d323be89b3672413bbddd25c66f75640fb5
[ "Apache-2.0" ]
null
null
null
pyhpecw7/features/interface.py
zhangshilinh3c/pyhpecw7
93bc0d323be89b3672413bbddd25c66f75640fb5
[ "Apache-2.0" ]
1
2022-01-27T12:17:20.000Z
2022-01-27T12:17:20.000Z
"""Manage interfaces on HPCOM7 devices. """ from pyhpecw7.utils.xml.lib import reverse_value_map from pyhpecw7.features.errors import InterfaceCreateError, InterfaceTypeError,\ InterfaceAbsentError, InterfaceParamsError, InterfaceVlanMustExist from pyhpecw7.features.vlan import Vlan from pyhpecw7.utils.xml.lib im...
34.75
98
0.541473
6561c740148f4e9dc7f6313a8907266fbf944537
233
py
Python
backend/src/urls.py
Ornstein89/LeadersOfDigital2021_FoxhoundTeam
a376525b07b900bd69dbc274daef66ddad7f1800
[ "MIT" ]
null
null
null
backend/src/urls.py
Ornstein89/LeadersOfDigital2021_FoxhoundTeam
a376525b07b900bd69dbc274daef66ddad7f1800
[ "MIT" ]
null
null
null
backend/src/urls.py
Ornstein89/LeadersOfDigital2021_FoxhoundTeam
a376525b07b900bd69dbc274daef66ddad7f1800
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from src.base import urls as base_api urlpatterns = [ path('admin/', admin.site.urls), path('rest_api/', include( base_api.urlpatterns )), ]
21.181818
37
0.690987
65630efee031ba20e8ef330189053978c1325cc3
1,610
py
Python
mobilib/voronoi.py
simberaj/mobilib
ae350d095a34f53704bd4aaaf7f45e573bda779a
[ "MIT" ]
null
null
null
mobilib/voronoi.py
simberaj/mobilib
ae350d095a34f53704bd4aaaf7f45e573bda779a
[ "MIT" ]
null
null
null
mobilib/voronoi.py
simberaj/mobilib
ae350d095a34f53704bd4aaaf7f45e573bda779a
[ "MIT" ]
null
null
null
"""Compute ordinary Voronoi diagrams in Shapely geometries.""" import operator import numpy import scipy.spatial import shapely.geometry import shapely.geometry.base import shapely.prepared
30.377358
77
0.657143
65632cf97d92397090002645e3a65de42c6a7e8a
12,147
py
Python
ml4tc/scripts/plot_composite_saliency_map.py
thunderhoser/ml4tc
dd97972675c462634cf43fa9ad486049429095e9
[ "MIT" ]
2
2021-08-24T04:24:22.000Z
2021-09-29T07:52:21.000Z
ml4tc/scripts/plot_composite_saliency_map.py
thunderhoser/ml4tc
dd97972675c462634cf43fa9ad486049429095e9
[ "MIT" ]
null
null
null
ml4tc/scripts/plot_composite_saliency_map.py
thunderhoser/ml4tc
dd97972675c462634cf43fa9ad486049429095e9
[ "MIT" ]
null
null
null
"""Plots composite saliency map.""" import argparse import numpy import matplotlib matplotlib.use('agg') from matplotlib import pyplot from gewittergefahr.gg_utils import general_utils as gg_general_utils from gewittergefahr.gg_utils import file_system_utils from gewittergefahr.plotting import imagemagick_utils from m...
36.697885
80
0.724788
6563e55d840f23f4832429e81437245ecfd8105f
16,089
py
Python
Autocoders/Python/src/fprime_ac/models/CompFactory.py
LeStarch/lgtm-fprime
904b0311fe647745b29075d44259d1dc1f4284ae
[ "Apache-2.0" ]
1
2021-01-30T15:53:01.000Z
2021-01-30T15:53:01.000Z
Autocoders/Python/src/fprime_ac/models/CompFactory.py
LeStarch/lgtm-fprime
904b0311fe647745b29075d44259d1dc1f4284ae
[ "Apache-2.0" ]
1
2020-12-03T14:14:51.000Z
2020-12-03T14:14:51.000Z
Autocoders/Python/src/fprime_ac/models/CompFactory.py
LeStarch/lgtm-fprime
904b0311fe647745b29075d44259d1dc1f4284ae
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # =============================================================================== # NAME: CompFactory.py # # DESCRIPTION: This is a factory class for instancing the Component # and building up the Port and Arg configuration required. # # AUTHOR: reder # EMAIL: reder@jpl.nasa.gov # D...
37.503497
144
0.514948
65644397de88c237a6908c085913149171a8b5ff
7,896
py
Python
Algo_Ds_Notes-master/Algo_Ds_Notes-master/A_Star_Search_Algorithm/A_Star_Search_Algorithm.py
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/A_Star_Search_Algorithm/A_Star_Search_Algorithm.py
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/A_Star_Search_Algorithm/A_Star_Search_Algorithm.py
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
if __name__ == '__main__': no_rows = int(input("Enter number of rows: ")) no_cols = int(input("Enter number of columns: ")) matrix = Preprocess(str(input("Enter Matrix: ")) , no_rows , no_cols).process_text() start_x = int(input("Enter x coordinate of starting node: ")) start_y = int(inpu...
37.6
172
0.517477
6564bbdf498ee27811e27e457eaf27523a8129cd
1,765
py
Python
setup.py
ikonst/dql
e9d3aa22873076dae5ebd02e35318aa996b1e56a
[ "MIT" ]
null
null
null
setup.py
ikonst/dql
e9d3aa22873076dae5ebd02e35318aa996b1e56a
[ "MIT" ]
null
null
null
setup.py
ikonst/dql
e9d3aa22873076dae5ebd02e35318aa996b1e56a
[ "MIT" ]
null
null
null
""" Setup file """ import os from setuptools import setup, find_packages HERE = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(HERE, "README.rst")).read() CHANGES = open(os.path.join(HERE, "CHANGES.rst")).read() REQUIREMENTS = [ "dynamo3>=0.4.7", "future>=0.15.0", "pyparsing==2.1....
31.517857
61
0.571671
65682d4917d1f98a115d05b121741cbfe858fff9
3,368
py
Python
runner.py
leodenault/mhw_optimizer
3478ea07361291c6fa0bbd9fc0b9906914321772
[ "MIT" ]
null
null
null
runner.py
leodenault/mhw_optimizer
3478ea07361291c6fa0bbd9fc0b9906914321772
[ "MIT" ]
null
null
null
runner.py
leodenault/mhw_optimizer
3478ea07361291c6fa0bbd9fc0b9906914321772
[ "MIT" ]
1
2020-03-31T01:51:56.000Z
2020-03-31T01:51:56.000Z
import multiprocessing import csv_exporter from combination.brute_force_combination_algorithm import \ BruteForceCombinationAlgorithm from combination.combiner import Combiner from combination.constrained_combination_algorithm import \ ConstrainedCombinationAlgorithm from config.config_importer import ConfigIm...
33.68
80
0.68171
65689df9a53af776eb5d8ed7fadb2de295eee509
1,959
py
Python
setup.py
AurelienLourot/lsankidb
74479dd26e3a1ba7e40aca7740668998ff3ab944
[ "Unlicense" ]
26
2018-04-21T15:49:19.000Z
2022-03-01T00:42:37.000Z
setup.py
AurelienLourot/lsankidb
74479dd26e3a1ba7e40aca7740668998ff3ab944
[ "Unlicense" ]
2
2019-02-02T04:20:04.000Z
2020-05-08T09:03:28.000Z
setup.py
AurelienLourot/lsankidb
74479dd26e3a1ba7e40aca7740668998ff3ab944
[ "Unlicense" ]
1
2020-08-19T20:59:18.000Z
2020-08-19T20:59:18.000Z
from setuptools import setup import src setup(name='lsankidb', version=src.__version__, install_requires=['AnkiTools'], description='"ls" for your local Anki database.', #FIXME this duplicates README.md long_description=""" .. image:: https://cdn.jsdelivr.net/gh/AurelienLourot/lsankidb@c...
30.609375
123
0.566616
656a26c896dba737b3e9298b257c0fdd56db182e
274
py
Python
output/models/ibm_data/valid/s3_12/s3_12v06_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ibm_data/valid/s3_12/s3_12v06_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ibm_data/valid/s3_12/s3_12v06_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ibm_data.valid.s3_12.s3_12v06_xsd.s3_12v06 import ( ChildTypeBase, ChildTypeDerived, CtAlt1, CtAlt2, CtBase, Root, ) __all__ = [ "ChildTypeBase", "ChildTypeDerived", "CtAlt1", "CtAlt2", "CtBase", "Root", ]
15.222222
70
0.616788
656a2c3eae1d6b7509dea9e1654cbf2d7ca142de
936
py
Python
main/component/database.py
nguyentranhoan/uit-mobile
8546312b01373d94cf00c64f7eacb769e0f4ccce
[ "BSD-3-Clause" ]
null
null
null
main/component/database.py
nguyentranhoan/uit-mobile
8546312b01373d94cf00c64f7eacb769e0f4ccce
[ "BSD-3-Clause" ]
null
null
null
main/component/database.py
nguyentranhoan/uit-mobile
8546312b01373d94cf00c64f7eacb769e0f4ccce
[ "BSD-3-Clause" ]
null
null
null
import logging from injector import inject, singleton from starlette.config import Config from common.database import BaseDatabase LOGGER = logging.getLogger(__name__)
22.829268
70
0.702991
656a96b402f3415f23db4722e5168fd52c75cff5
832
py
Python
preml/showtime/showie.py
5amron/pre-ml
3dff146d89468f4db0b7a9d92f3b0a26854efaf8
[ "MIT" ]
3
2017-09-03T17:55:54.000Z
2018-11-24T13:11:19.000Z
preml/showtime/showie.py
5amron/pre-ml
3dff146d89468f4db0b7a9d92f3b0a26854efaf8
[ "MIT" ]
2
2021-12-08T14:51:24.000Z
2021-12-09T15:42:09.000Z
preml/showtime/showie.py
5amron/pre-ml
3dff146d89468f4db0b7a9d92f3b0a26854efaf8
[ "MIT" ]
2
2019-07-16T01:28:48.000Z
2020-04-12T21:23:08.000Z
from . import baco_show # solution === (new_dataset, best_ant_road, acc_before_run, best_fit_so_far, total_feature_num, best_selected_features_num, best_fitnesses_each_iter, average_fitnesses_each_iter ,num_of_features_selected_by_best_ant_each_iter, time_temp, sample_num)
48.941176
249
0.824519
656d941b23f4bcfcea63953ee33a50e5ae179565
2,035
py
Python
PyFlow/UI/EncodeResources.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
null
null
null
PyFlow/UI/EncodeResources.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
null
null
null
PyFlow/UI/EncodeResources.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
1
2022-02-03T08:03:30.000Z
2022-02-03T08:03:30.000Z
# Copyright 2015-2019 Ilgar Lunin, Pedro Cabrera # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to...
31.796875
83
0.634889
656dd6e36b81c8ae6c5f6face7c1c54668fb5ff1
307
py
Python
stix_shifter_modules/secretserver/stix_transmission/delete_connector.py
grimmjow8/stix-shifter
7d252fc241a606f0141ed50d64368d8a5e7e5c5a
[ "Apache-2.0" ]
129
2019-10-09T17:13:03.000Z
2022-03-03T08:25:46.000Z
stix_shifter_modules/secretserver/stix_transmission/delete_connector.py
grimmjow8/stix-shifter
7d252fc241a606f0141ed50d64368d8a5e7e5c5a
[ "Apache-2.0" ]
415
2019-10-03T14:29:20.000Z
2022-03-31T18:23:41.000Z
stix_shifter_modules/secretserver/stix_transmission/delete_connector.py
grimmjow8/stix-shifter
7d252fc241a606f0141ed50d64368d8a5e7e5c5a
[ "Apache-2.0" ]
178
2019-10-08T22:18:48.000Z
2022-03-21T11:04:05.000Z
from stix_shifter_utils.modules.base.stix_transmission.base_delete_connector import BaseDeleteConnector
30.7
103
0.781759
65710b598ac66d11ae7f738f8a51d26c406a0a31
6,525
py
Python
cron/sync_cs_schedule.py
vovagalchenko/onsite-inflight
7acd4bc6a12b89ab09b465a81ae495bef35bab0a
[ "MIT" ]
null
null
null
cron/sync_cs_schedule.py
vovagalchenko/onsite-inflight
7acd4bc6a12b89ab09b465a81ae495bef35bab0a
[ "MIT" ]
1
2016-05-24T00:00:10.000Z
2016-05-24T00:00:10.000Z
cron/sync_cs_schedule.py
vovagalchenko/onsite-inflight
7acd4bc6a12b89ab09b465a81ae495bef35bab0a
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import pprint from model.cs_rep import CS_Rep from pytz import timezone, utc from datetime import datetime, timedelta from lib.calendar import Google_Calendar, google_ts_to_datetime, DEFAULT_DATE, LOS_ANGELES_TZ from lib.conf import CFG from model.db_session import DB_Session_Factory f...
50.976563
255
0.630192
6572eb6865b171103c8335e5748af8c03fb39e11
5,500
py
Python
hardware/opentrons_hardware/drivers/can_bus/can_messenger.py
anuwrag/opentrons
28c8d76a19e367c6bd38f5290faaa32abf378715
[ "Apache-2.0" ]
null
null
null
hardware/opentrons_hardware/drivers/can_bus/can_messenger.py
anuwrag/opentrons
28c8d76a19e367c6bd38f5290faaa32abf378715
[ "Apache-2.0" ]
null
null
null
hardware/opentrons_hardware/drivers/can_bus/can_messenger.py
anuwrag/opentrons
28c8d76a19e367c6bd38f5290faaa32abf378715
[ "Apache-2.0" ]
null
null
null
"""Can messenger class.""" from __future__ import annotations import asyncio from inspect import Traceback from typing import List, Optional, Callable, Tuple import logging from opentrons_hardware.drivers.can_bus.abstract_driver import AbstractCanDriver from opentrons_hardware.firmware_bindings.arbitration_id import (...
33.333333
131
0.623818
65745bf4fb319f381c713d4d3577e3e4308c9cad
3,390
py
Python
document.py
miguelps/web-document-scanner
e1d61a6cf37a2f79805098bfa22173f4c7aab8d8
[ "MIT" ]
23
2017-09-28T12:56:38.000Z
2022-01-06T04:14:55.000Z
document.py
miguelps/web-document-scanner
e1d61a6cf37a2f79805098bfa22173f4c7aab8d8
[ "MIT" ]
null
null
null
document.py
miguelps/web-document-scanner
e1d61a6cf37a2f79805098bfa22173f4c7aab8d8
[ "MIT" ]
17
2018-01-12T07:10:37.000Z
2020-11-14T10:00:59.000Z
import cv2 import rect import numpy as np
37.666667
94
0.562832
657481068e2f17e43b44ef100d1a13a239c78046
797
py
Python
54.py
geethakamath18/Leetcode
8e55e0a47ee35ed100b30dda6682c7ce1033d4b2
[ "MIT" ]
null
null
null
54.py
geethakamath18/Leetcode
8e55e0a47ee35ed100b30dda6682c7ce1033d4b2
[ "MIT" ]
null
null
null
54.py
geethakamath18/Leetcode
8e55e0a47ee35ed100b30dda6682c7ce1033d4b2
[ "MIT" ]
null
null
null
#LeetCode problem 54: Spiral Matrix
30.653846
64
0.425345
657754f3c56c1f682c95288c291fac1e80bdecd4
717
py
Python
pytype/pyi/parse_pyi.py
CyberFlameGO/pytype
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
[ "Apache-2.0" ]
null
null
null
pytype/pyi/parse_pyi.py
CyberFlameGO/pytype
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
[ "Apache-2.0" ]
null
null
null
pytype/pyi/parse_pyi.py
CyberFlameGO/pytype
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
[ "Apache-2.0" ]
null
null
null
# python3 """Testing code to run the typed_ast based pyi parser.""" import sys from pytype import module_utils from pytype.pyi import parser from pytype.pyi.types import ParseError # pylint: disable=g-importing-member from pytype.pytd import pytd_utils if __name__ == '__main__': filename = sys.argv[1] with op...
21.727273
77
0.659693
6577dab5ac11bbb023397905f08425826f206066
176
py
Python
backend/university/admin.py
andriyandrushko0/univowl
da613316021f7b41b133b5b6e360cc6b9db60504
[ "MIT" ]
null
null
null
backend/university/admin.py
andriyandrushko0/univowl
da613316021f7b41b133b5b6e360cc6b9db60504
[ "MIT" ]
null
null
null
backend/university/admin.py
andriyandrushko0/univowl
da613316021f7b41b133b5b6e360cc6b9db60504
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(University) admin.site.register(Faculty) admin.site.register(Subject) admin.site.register(Teacher)
19.555556
32
0.8125
65780384622ed08f0a6ec4a97dc9199a0a7d8975
1,333
py
Python
src/train.py
shuvoxcd01/neural_tic_tac_toe
a988230ff3dd0d882ebc0fb19630c9ff22fef629
[ "Apache-2.0" ]
null
null
null
src/train.py
shuvoxcd01/neural_tic_tac_toe
a988230ff3dd0d882ebc0fb19630c9ff22fef629
[ "Apache-2.0" ]
null
null
null
src/train.py
shuvoxcd01/neural_tic_tac_toe
a988230ff3dd0d882ebc0fb19630c9ff22fef629
[ "Apache-2.0" ]
null
null
null
from pettingzoo.classic import tictactoe_v3 import os os.environ['CUDA_VISIBLE_DEVICES'] = '-1' import tensorflow as tf if tf.test.gpu_device_name(): print('GPU found') else: print("No GPU found") from src.q_learning.agent.agent import Agent from src.q_learning.network.dqn import DQN from src.q_learning.polici...
32.512195
108
0.795199
657895d9e23f4c721777cf7c3eb7603b0f1ecfd7
199
py
Python
app/gunicorn_settings.py
jsonbinit/jsonbinit-api
babbf16f1fafe913d9fdb2646cb7a9542ec19355
[ "MIT" ]
3
2020-06-24T14:55:51.000Z
2020-06-25T23:12:13.000Z
app/gunicorn_settings.py
jsonbinit/jsonbinit-api
babbf16f1fafe913d9fdb2646cb7a9542ec19355
[ "MIT" ]
3
2020-04-23T10:39:25.000Z
2020-06-24T15:22:25.000Z
app/gunicorn_settings.py
jsonbinit/jsonbinit-api
babbf16f1fafe913d9fdb2646cb7a9542ec19355
[ "MIT" ]
null
null
null
import multiprocessing import os bind = "{0}:{1}".format(os.environ.get('HOST', '0.0.0.0'), os.environ.get('PORT', '8080')) workers = os.environ.get('WORKERS', multiprocessing.cpu_count() * 2 + 1)
28.428571
90
0.668342
65795b0076fedc356eabb71c92883de2bfec241d
261
py
Python
tests/test_crud/conftest.py
amisadmin/fastapi_amis_admin
07967a31c46cb6e8e0b4ca703d6d815c2091624a
[ "Apache-2.0" ]
166
2022-02-05T15:52:51.000Z
2022-03-31T10:57:35.000Z
tests/test_crud/conftest.py
amisadmin/fastapi_amis_admin
07967a31c46cb6e8e0b4ca703d6d815c2091624a
[ "Apache-2.0" ]
9
2022-02-17T07:32:58.000Z
2022-03-31T13:46:24.000Z
tests/test_crud/conftest.py
amisadmin/fastapi_amis_admin
07967a31c46cb6e8e0b4ca703d6d815c2091624a
[ "Apache-2.0" ]
15
2022-02-10T07:24:17.000Z
2022-03-24T04:08:10.000Z
import pytest from tests.test_crud.main import app
21.75
49
0.731801
657a75ed6a167a9a6dc1817f3c5d4306180485f8
794
py
Python
Ehemalige/models.py
wmles/olymp
97b1a256982c2a75c39ba3a855b63a147d4409c5
[ "MIT" ]
null
null
null
Ehemalige/models.py
wmles/olymp
97b1a256982c2a75c39ba3a855b63a147d4409c5
[ "MIT" ]
null
null
null
Ehemalige/models.py
wmles/olymp
97b1a256982c2a75c39ba3a855b63a147d4409c5
[ "MIT" ]
null
null
null
from django.db import models """ Konzept: Man soll sich als Ehemaliger in die DB eintragen knnen (Nutzeraccount dafr ntig?) Es gibt ein Textfeld fr den Lebenslauf und die Auswahl des aktuellen Ortes und der Ttigkeit. ehem, das kommt mir ziemlich eng vor, so wie die alte Version der olymp-db """ from Grundgeruest...
33.083333
76
0.760705
657b2220279cfe93a6ac57a28426feba8dfe7ccf
15,921
py
Python
market_maker/market_maker.py
Quant-Network/sample-market-maker
4c47b60be66b1aead901400ba5fe96abf5e73c1b
[ "Apache-2.0" ]
null
null
null
market_maker/market_maker.py
Quant-Network/sample-market-maker
4c47b60be66b1aead901400ba5fe96abf5e73c1b
[ "Apache-2.0" ]
null
null
null
market_maker/market_maker.py
Quant-Network/sample-market-maker
4c47b60be66b1aead901400ba5fe96abf5e73c1b
[ "Apache-2.0" ]
1
2021-04-27T12:02:41.000Z
2021-04-27T12:02:41.000Z
from __future__ import absolute_import from time import sleep import sys from datetime import datetime from os.path import getmtime import random import requests import atexit import signal import logging from market_maker.bitmex import BitMEX from market_maker.settings import settings from market_maker.utils import l...
39.408416
139
0.606746
657cf1129b53d3a0b63a22aabb558fd5bc616640
179
py
Python
pythonfiles/scoring.py
amrut-prabhu/loan-default-prediction
2e0a91529a71c69e93d7b30decefc59f2627406f
[ "MIT" ]
2
2020-05-06T15:11:56.000Z
2020-05-24T13:51:55.000Z
pythonfiles/scoring.py
amrut-prabhu/loan-default-prediction
2e0a91529a71c69e93d7b30decefc59f2627406f
[ "MIT" ]
null
null
null
pythonfiles/scoring.py
amrut-prabhu/loan-default-prediction
2e0a91529a71c69e93d7b30decefc59f2627406f
[ "MIT" ]
2
2018-09-23T07:09:51.000Z
2021-12-16T17:58:14.000Z
import numpy as np
22.375
41
0.726257
657d1df2ec7237f7821e8629ba8c0b4d674b5456
2,406
py
Python
app/core/tests/test_admin.py
ido777/newish
298a3d5babf411ba1eb777101eb6e8f70b9e495f
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
ido777/newish
298a3d5babf411ba1eb777101eb6e8f70b9e495f
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
ido777/newish
298a3d5babf411ba1eb777101eb6e8f70b9e495f
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse def test_user_page_change(client, django_user_model): """Test that the user edit page works""" email = 'admin@somewhere.com' password = 'password123' admin_user = django_user_model.objects.create_superuser( email, password) client.force_login(...
31.246753
102
0.676226
657f66cb6267b45323c6fdaa161920c2b665fce3
24,375
py
Python
XOconv/pycgtypes/mat4.py
jsburg/xdsme
3fc9ed185ab78e1a42306edf24e681981eacd221
[ "BSD-3-Clause" ]
16
2016-05-20T11:19:40.000Z
2021-01-01T19:44:23.000Z
XOconv/pycgtypes/mat4.py
jsburg/xdsme
3fc9ed185ab78e1a42306edf24e681981eacd221
[ "BSD-3-Clause" ]
11
2016-09-09T15:00:15.000Z
2021-05-07T15:02:10.000Z
XOconv/pycgtypes/mat4.py
jsburg/xdsme
3fc9ed185ab78e1a42306edf24e681981eacd221
[ "BSD-3-Clause" ]
9
2016-12-15T16:00:06.000Z
2021-09-10T08:34:14.000Z
###################################################################### # mat4 - Matrix class (4x4 matrix) # # Copyright (C) 2002, Matthias Baas (baas@ira.uka.de) # # You may distribute under the terms of the BSD license, as # specified in the file license.txt. ####################################################...
36.057692
109
0.454974
658173776bf6e1aa6395db9260e9462745880428
28,191
py
Python
dataloader/data.py
yuhogun0908/Forward-Convolutive-Prediction
11dea881b70daf45fa2c39883a601c613e2e53f2
[ "MIT" ]
3
2022-02-27T12:12:31.000Z
2022-03-18T07:01:20.000Z
dataloader/data.py
ishine/Forward-Convolutive-Prediction
11dea881b70daf45fa2c39883a601c613e2e53f2
[ "MIT" ]
null
null
null
dataloader/data.py
ishine/Forward-Convolutive-Prediction
11dea881b70daf45fa2c39883a601c613e2e53f2
[ "MIT" ]
1
2021-12-07T01:18:10.000Z
2021-12-07T01:18:10.000Z
import numpy as np import os import torch import torch.utils.data as data import pdb import pickle from pathlib import Path from scipy import signal import librosa import scipy from itertools import permutations from numpy.linalg import solve import numpy as np import soundfile as sf from convolutive_prediction import ...
47.943878
196
0.545564
6582ec795f9be718fba1c563c5c66e44261c6ce1
3,053
py
Python
tests/bugs/core_4160_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_4160_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_4160_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_4160 # title: Parameterized exception does not accept not ASCII characters as parameter # decription: # tracker_id: CORE-4160 # min_versions: ['3.0'] # versions: 3.0 # qmid: None import pytest from firebird.qa import db_factory, isql_act, Action # vers...
31.802083
113
0.681625
658406b3a8a1489ae1dff93411406c5f22d90b10
784
py
Python
12_TreeClassification3D/main.py
ManMohan291/PyProgram
edcaa927bd70676bd14355acad7262ae2d32b8e5
[ "MIT" ]
2
2018-09-07T17:44:54.000Z
2018-09-07T17:44:57.000Z
12_TreeClassification3D/main.py
ManMohan291/PyProgram
edcaa927bd70676bd14355acad7262ae2d32b8e5
[ "MIT" ]
null
null
null
12_TreeClassification3D/main.py
ManMohan291/PyProgram
edcaa927bd70676bd14355acad7262ae2d32b8e5
[ "MIT" ]
null
null
null
import TreeClassification as T T.clearScreen() dataTraining= T.loadData("dataTraining.txt") X=dataTraining[:,0:3] y=dataTraining[:,3:4] Threshold=30 #Training TrainedTree = T.SplitTree(X, y,ThresholdCount=Threshold) newX,newY=T.PredictTree(X,y,TrainedTree) #CheckAccuracy Xy=T.concatenateVectors(X,y) ...
20.631579
110
0.732143
6584791fe17e82f5787899fa97ce0db3fa35bfb0
1,535
py
Python
uhelpers/tests/test_archive_helpers.py
Johannes-Sahlmann/uhelpers
58f8e25ef8644ab5b24a5be76fd58a338a400912
[ "BSD-3-Clause" ]
null
null
null
uhelpers/tests/test_archive_helpers.py
Johannes-Sahlmann/uhelpers
58f8e25ef8644ab5b24a5be76fd58a338a400912
[ "BSD-3-Clause" ]
2
2020-12-21T18:08:48.000Z
2021-01-26T01:24:39.000Z
uhelpers/tests/test_archive_helpers.py
Johannes-Sahlmann/uhelpers
58f8e25ef8644ab5b24a5be76fd58a338a400912
[ "BSD-3-Clause" ]
5
2019-10-02T14:16:15.000Z
2021-12-27T18:46:18.000Z
#!/usr/bin/env python """Tests for the jwcf hawki module. Authors ------- Johannes Sahlmann """ import netrc import os from astropy.table import Table import pytest from ..archive_helpers import get_exoplanet_orbit_database, gacs_list_query local_dir = os.path.dirname(os.path.abspath(__file__)) ON_TRAVIS = os...
29.519231
104
0.70684
6584f2d684176e56a028fa83fba17e1495411607
1,264
py
Python
TP3/test.py
paul-arthurthiery/IAMethodesAlgos
f49fe17c278424588df263ab0e6778721cbc4394
[ "MIT" ]
null
null
null
TP3/test.py
paul-arthurthiery/IAMethodesAlgos
f49fe17c278424588df263ab0e6778721cbc4394
[ "MIT" ]
null
null
null
TP3/test.py
paul-arthurthiery/IAMethodesAlgos
f49fe17c278424588df263ab0e6778721cbc4394
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Dec 2 14:33:13 2018 @author: Nathan """ import numpy as np from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler # load dataset data,target =load_iris().data,load_...
26.333333
99
0.77769
65850e2ff2df32252ae9c695f9a58c5a8d385efe
1,013
py
Python
HUGGINGFACE.py
mkingopng/NBME_score_clinical_patient_notes
4ca9816be2665d7585ab0d168376a340aa800088
[ "MIT" ]
1
2022-03-27T12:47:25.000Z
2022-03-27T12:47:25.000Z
HUGGINGFACE.py
mkingopng/NBME_score_clinical_patient_notes
4ca9816be2665d7585ab0d168376a340aa800088
[ "MIT" ]
null
null
null
HUGGINGFACE.py
mkingopng/NBME_score_clinical_patient_notes
4ca9816be2665d7585ab0d168376a340aa800088
[ "MIT" ]
null
null
null
import os TRANSFORMERS = '/home/noone/documents/github/transformers' TOKENIZERS = '/home/noone/documents/github/tokenizers' DATASETS = '/home/noone/documents/github/datasets' MODELS = os.path.join(TRANSFORMERS, 'src/transformers/models') DEBERTA_V2 = os.path.join(MODELS, 'deberta_v2') DEBERTA_V3 = os.path.join(MO...
22.021739
64
0.699901
65852219b6e7161ca8a0d874955000bd7586ea4b
830
py
Python
Curso_em_Video_Exercicios/ex068.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
Curso_em_Video_Exercicios/ex068.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
Curso_em_Video_Exercicios/ex068.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
#Par ou Impar- para qnd o jogador perder e mostra o tanto de vitoria consecutivas from random import randint c = 0 while True: print('\033[1;33m-' * 30) n = int(input('ESCOLHA UM NMERO: ')) e = str(input('PAR OU IMPAR? ')).strip().upper()[0] print('-' * 30) j = randint(0, 10) if e == 'P': ...
33.2
96
0.503614
65870cdea10ace0d94e2b600195f694036787b41
1,727
py
Python
tests/test_write.py
AlexsanderShaw/libdesock
5945a5ab0f002078fc6eaaf7e20e2b7b66c67086
[ "MIT" ]
88
2022-02-26T20:59:53.000Z
2022-03-21T21:29:09.000Z
tests/test_write.py
fkie-cad/libdesock
3d20862e9cfd18e20bdeb599ab2f39e20e94373c
[ "MIT" ]
null
null
null
tests/test_write.py
fkie-cad/libdesock
3d20862e9cfd18e20bdeb599ab2f39e20e94373c
[ "MIT" ]
7
2022-02-27T01:42:00.000Z
2022-03-07T03:06:32.000Z
""" This file tests that sendmmsg works correctly. Target files: - libdesock/src/write.c """ import ctypes import desock import helper data = bytes(range(65, 115)) cursor = 0
27.854839
112
0.643891
6587d36784219790a446003c11e770c4bed4d07f
8,409
py
Python
ratin_cpython/common/common.py
openearth/eo-rivers
752f90aed92fa862a2c107bb58bcae298c1bf313
[ "MIT" ]
2
2018-10-19T03:20:08.000Z
2020-05-06T22:56:20.000Z
ratin_cpython/common/common.py
openearth/eo-river
752f90aed92fa862a2c107bb58bcae298c1bf313
[ "MIT" ]
11
2018-06-05T09:41:15.000Z
2021-11-15T17:47:27.000Z
ratin_cpython/common/common.py
openearth/eo-rivers
752f90aed92fa862a2c107bb58bcae298c1bf313
[ "MIT" ]
2
2020-10-15T12:29:36.000Z
2021-12-13T22:53:58.000Z
import numpy as np from math import factorial import scipy.signal #Gaussian filter with convolution - faster and easier to handle ## Degree is equal to the number of values left and right of the central value ## of the gaussian window: ## ie degree=3 yields a window of length 7 ## It uses normalized weights (sum of ...
35.331933
97
0.631704
658815cb00ae7e0794df13b589c297b74cf7ffbd
3,879
py
Python
discordbot/stocks/technical_analysis/rsi.py
Aerex/GamestonkTerminal
680e0cd278f0d8e45031cdc9d51f247e9aa90ce1
[ "MIT" ]
3
2021-02-28T09:54:47.000Z
2021-03-11T17:42:35.000Z
discordbot/stocks/technical_analysis/rsi.py
Aerex/GamestonkTerminal
680e0cd278f0d8e45031cdc9d51f247e9aa90ce1
[ "MIT" ]
3
2022-02-28T03:37:52.000Z
2022-02-28T03:37:53.000Z
discordbot/stocks/technical_analysis/rsi.py
Aerex/GamestonkTerminal
680e0cd278f0d8e45031cdc9d51f247e9aa90ce1
[ "MIT" ]
1
2021-11-20T16:09:48.000Z
2021-11-20T16:09:48.000Z
import os from datetime import datetime, timedelta import discord from matplotlib import pyplot as plt import discordbot.config_discordbot as cfg from discordbot.run_discordbot import gst_imgur import discordbot.helpers from gamestonk_terminal.helper_funcs import plot_autoscale from gamestonk_terminal.common.technica...
34.026316
85
0.60299
65894aac96ac4562697b30a8369779ac8960ace4
5,011
py
Python
train.py
xushenkun/vae
35e136257e5a3122b92dff9961dd08585b7cce2d
[ "MIT" ]
1
2020-09-19T00:03:59.000Z
2020-09-19T00:03:59.000Z
train.py
xushenkun/vae
35e136257e5a3122b92dff9961dd08585b7cce2d
[ "MIT" ]
null
null
null
train.py
xushenkun/vae
35e136257e5a3122b92dff9961dd08585b7cce2d
[ "MIT" ]
null
null
null
import argparse import os import shutil import numpy as np import torch as t from torch.optim import Adam from utils.batch_loader import BatchLoader from utils.parameters import Parameters from model.rvae_dilated import RVAE_dilated if __name__ == "__main__": parser = argparse.ArgumentParser(description='RV...
43.95614
136
0.631411
658c87d29e07d35154d2bbcefbc473d8ad660860
1,152
py
Python
renovation_core_graphql/auth/otp.py
e-lobo/renovation_core_graphql
31e464e00badc308bf03c70364331b08ad9d1b1d
[ "MIT" ]
1
2021-12-15T06:05:06.000Z
2021-12-15T06:05:06.000Z
renovation_core_graphql/auth/otp.py
e-lobo/renovation_core_graphql
31e464e00badc308bf03c70364331b08ad9d1b1d
[ "MIT" ]
5
2021-06-09T19:00:56.000Z
2022-01-23T09:51:13.000Z
renovation_core_graphql/auth/otp.py
e-lobo/renovation_core_graphql
31e464e00badc308bf03c70364331b08ad9d1b1d
[ "MIT" ]
1
2021-06-01T05:22:41.000Z
2021-06-01T05:22:41.000Z
from graphql import GraphQLResolveInfo import frappe from renovation_core.utils.auth import generate_otp, verify_otp VERIFY_OTP_STATUS_MAP = { "no_linked_user": "NO_LINKED_USER", "no_otp_for_mobile": "NO_OTP_GENERATED", "invalid_otp": "INVALID_OTP", "verified": "VERIFIED", }
29.538462
84
0.703993
658d5e23890b80d2c423a20bb23bdcaa811dcbe7
6,050
py
Python
solaris/utils/core.py
mananeau/solaris
ca000e8a255bd792ff3f192a6350ff8cace3d050
[ "Apache-2.0" ]
null
null
null
solaris/utils/core.py
mananeau/solaris
ca000e8a255bd792ff3f192a6350ff8cace3d050
[ "Apache-2.0" ]
null
null
null
solaris/utils/core.py
mananeau/solaris
ca000e8a255bd792ff3f192a6350ff8cace3d050
[ "Apache-2.0" ]
null
null
null
import os import numpy as np from shapely.wkt import loads from shapely.geometry import Point from shapely.geometry.base import BaseGeometry import pandas as pd import geopandas as gpd import rasterio import skimage from fiona._err import CPLE_OpenFailedError from fiona.errors import DriverError from warnings import wa...
35.798817
79
0.624793
658e190370f91502c18753af3de961237b0e0150
129
py
Python
model/__init__.py
Pearl-UTexas/DUST-net
debea05a04e9340109176c7803909b50f84892ba
[ "MIT" ]
null
null
null
model/__init__.py
Pearl-UTexas/DUST-net
debea05a04e9340109176c7803909b50f84892ba
[ "MIT" ]
null
null
null
model/__init__.py
Pearl-UTexas/DUST-net
debea05a04e9340109176c7803909b50f84892ba
[ "MIT" ]
null
null
null
from .von_mises_stiefel import * from .von_mises_fisher import * from .model import * from .metrics import * from .loss import *
21.5
32
0.767442
658e27d4f55208e3b1fbe0a8174313df62d9c767
980
py
Python
blog_app/templatetags/blog_app_tags.py
axkiss/FirstBlog
dc4444c70c58647abf733f06bab963eadced646d
[ "Unlicense" ]
null
null
null
blog_app/templatetags/blog_app_tags.py
axkiss/FirstBlog
dc4444c70c58647abf733f06bab963eadced646d
[ "Unlicense" ]
null
null
null
blog_app/templatetags/blog_app_tags.py
axkiss/FirstBlog
dc4444c70c58647abf733f06bab963eadced646d
[ "Unlicense" ]
null
null
null
from django import template from blog_app.models import Post from django.utils import timezone register = template.Library()
32.666667
82
0.720408
658e58ab530a47e10043fd6372afe98be7d02d5f
3,941
py
Python
flow/core/azure_blob_filesystem.py
hwknsj/synergy_flow
aba8f57b2cbeeb0368a64eaa7e5369fcef0a3136
[ "BSD-3-Clause" ]
null
null
null
flow/core/azure_blob_filesystem.py
hwknsj/synergy_flow
aba8f57b2cbeeb0368a64eaa7e5369fcef0a3136
[ "BSD-3-Clause" ]
1
2016-10-03T18:48:15.000Z
2019-11-01T21:53:30.000Z
flow/core/azure_blob_filesystem.py
hwknsj/synergy_flow
aba8f57b2cbeeb0368a64eaa7e5369fcef0a3136
[ "BSD-3-Clause" ]
1
2019-11-02T00:45:26.000Z
2019-11-02T00:45:26.000Z
__author__ = 'Bohdan Mushkevych' from os import path from azure.storage.blob import BlockBlobService from flow.core.abstract_filesystem import AbstractFilesystem, splitpath
49.886076
148
0.713524
658f10b8ae6eef666116cd8610e4111c0de53318
1,085
py
Python
asyncworker/types/registry.py
etandel/async-worker
3cd68e3e4dc3a32d35a4fa67bfd26cf2cfb7e01a
[ "MIT" ]
null
null
null
asyncworker/types/registry.py
etandel/async-worker
3cd68e3e4dc3a32d35a4fa67bfd26cf2cfb7e01a
[ "MIT" ]
null
null
null
asyncworker/types/registry.py
etandel/async-worker
3cd68e3e4dc3a32d35a4fa67bfd26cf2cfb7e01a
[ "MIT" ]
null
null
null
from typing import Type, Any, Dict, Optional
27.820513
80
0.564055
6590118b6d44f92c7d79cfaff34140de85d60254
591
py
Python
kpe/BertKPE/MyCode/functions/filer/filesaver.py
thunlp/COVID19IRQA
fe359ce12ce38fd74ccc004cc524ec6011580023
[ "MIT" ]
32
2020-03-26T17:03:54.000Z
2021-09-10T08:30:48.000Z
kpe/BertKPE/MyCode/functions/filer/filesaver.py
thunlp/COVID19IRQA
fe359ce12ce38fd74ccc004cc524ec6011580023
[ "MIT" ]
1
2020-04-06T16:35:12.000Z
2020-04-13T07:08:14.000Z
kpe/BertKPE/MyCode/functions/filer/filesaver.py
thunlp/COVID19IRQA
fe359ce12ce38fd74ccc004cc524ec6011580023
[ "MIT" ]
6
2020-03-28T05:07:22.000Z
2021-03-04T01:46:00.000Z
from tqdm import tqdm import json import os
25.695652
53
0.620981
6590b1b797014d04b65cb873f63aee28028c3c0f
6,563
py
Python
tests/conftest.py
HenryTraill/morpheus
6bc095a7734f5f4a48d8556006266bf60ecdba68
[ "MIT" ]
null
null
null
tests/conftest.py
HenryTraill/morpheus
6bc095a7734f5f4a48d8556006266bf60ecdba68
[ "MIT" ]
null
null
null
tests/conftest.py
HenryTraill/morpheus
6bc095a7734f5f4a48d8556006266bf60ecdba68
[ "MIT" ]
null
null
null
import asyncio import pytest import re import uuid from aiohttp.test_utils import teardown_test_loop from aioredis import create_redis from arq import ArqRedis, Worker from atoolbox.db import prepare_database from atoolbox.db.helpers import DummyPgPool from atoolbox.test_utils import DummyServer, create_dummy_server fr...
32.979899
118
0.666464
65914d3047a8283780b6e3edcde39dc7eb8ebb8b
477
py
Python
gratify_proj/gratify_proj/urls.py
ConnorH2582/grat_proj
f59b4a30ef0bef48b81fb75ade92af615b1e3e77
[ "MIT" ]
null
null
null
gratify_proj/gratify_proj/urls.py
ConnorH2582/grat_proj
f59b4a30ef0bef48b81fb75ade92af615b1e3e77
[ "MIT" ]
null
null
null
gratify_proj/gratify_proj/urls.py
ConnorH2582/grat_proj
f59b4a30ef0bef48b81fb75ade92af615b1e3e77
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.contrib import admin from django.views.generic import View urlpatterns = [ url(r'^client/', include('client.urls', namespace = 'client', app_name = 'client')), url(r'^app/', include('app.urls', namespace = 'app', app_name = 'app')), url('', include('django....
31.8
85
0.685535
659182ecb712f24f0371757649f6618c51a53b68
193
py
Python
Server/prediction/admin.py
mohanj098/Item-Price-Forecasting
14fc787ad4d9dcc6af03b43fa5e866cd254a99f5
[ "MIT" ]
null
null
null
Server/prediction/admin.py
mohanj098/Item-Price-Forecasting
14fc787ad4d9dcc6af03b43fa5e866cd254a99f5
[ "MIT" ]
2
2021-03-15T15:53:22.000Z
2021-05-03T09:32:34.000Z
Server/prediction/admin.py
mohanj098/Item-Price-Forecasting
14fc787ad4d9dcc6af03b43fa5e866cd254a99f5
[ "MIT" ]
1
2021-05-04T15:35:06.000Z
2021-05-04T15:35:06.000Z
from django.contrib import admin from prediction.models import product from prediction.models import price # Register your models here. admin.site.register(product) admin.site.register(price)
24.125
37
0.829016
65923c69268087aca7de1d2a3dc4a13663164289
5,813
py
Python
imutils/big/make_shards.py
JacobARose/image-utils
aa0e005c0b4df5198d188b074f4e21f8d8f97962
[ "MIT" ]
null
null
null
imutils/big/make_shards.py
JacobARose/image-utils
aa0e005c0b4df5198d188b074f4e21f8d8f97962
[ "MIT" ]
null
null
null
imutils/big/make_shards.py
JacobARose/image-utils
aa0e005c0b4df5198d188b074f4e21f8d8f97962
[ "MIT" ]
null
null
null
""" imutils/big/make_shards.py Generate one or more webdataset-compatible tar archive shards from an image classification dataset. Based on script: https://github.com/tmbdev-archive/webdataset-examples/blob/7f56e9a8b978254c06aa0a98572a1331968b0eb3/makeshards.py Added on: Sunday March 6th, 2022 Example usage: pytho...
31.085561
188
0.732152
65941982873c5bf22451352b6be11931a96f85a2
2,917
py
Python
wetterdienst/util/network.py
meteoDaniel/wetterdienst
106a2fa9f887983281a6886c15bb3a845850dfb7
[ "MIT" ]
null
null
null
wetterdienst/util/network.py
meteoDaniel/wetterdienst
106a2fa9f887983281a6886c15bb3a845850dfb7
[ "MIT" ]
null
null
null
wetterdienst/util/network.py
meteoDaniel/wetterdienst
106a2fa9f887983281a6886c15bb3a845850dfb7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2018-2021, earthobservations developers. # Distributed under the MIT License. See LICENSE for more info. import os from io import BytesIO from typing import List, Optional, Union from fsspec.implementations.cached import WholeFileCacheFileSystem from fsspec.implementations.http ...
31.365591
101
0.680151
65941fce079e2342f67bde15c5c07c193940a076
2,927
pyde
Python
mode/examples/Topics/Motion/Reflection1/Reflection1.pyde
kazimuth/processing.py
9aa1ddf7ebd4efed73a8c2a1ecf6d2c167b1faf1
[ "Apache-2.0" ]
4
2016-08-09T14:14:36.000Z
2021-12-10T07:51:35.000Z
mode/examples/Topics/Motion/Reflection1/Reflection1.pyde
kazimuth/processing.py
9aa1ddf7ebd4efed73a8c2a1ecf6d2c167b1faf1
[ "Apache-2.0" ]
null
null
null
mode/examples/Topics/Motion/Reflection1/Reflection1.pyde
kazimuth/processing.py
9aa1ddf7ebd4efed73a8c2a1ecf6d2c167b1faf1
[ "Apache-2.0" ]
null
null
null
""" Non-orthogonal Reflection by Ira Greenberg. Based on the equation (R = 2N(N * L) - L) where R is the reflection vector, N is the normal, and L is the incident vector. """ # Position of left hand side of floor. base1 = None # Position of right hand side of floor. base2 = None # A list of subpoints along the floo...
25.232759
77
0.598223
6594ce65379700398a3a74c57669881f0dce9a22
1,182
py
Python
linear.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
linear.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
linear.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
import numpy as np from module import Module
31.945946
80
0.600677
65958e7861004b1f3934ff47c4a5e6dfe2a86170
239
py
Python
iot/common_functions/all_imports.py
sankaet/IOT-DB
a554f49b9c25ae1a9a91b6a2564489b999da03bd
[ "MIT" ]
1
2016-10-26T23:10:57.000Z
2016-10-26T23:10:57.000Z
iot/common_functions/all_imports.py
sankaet/IOT-DB
a554f49b9c25ae1a9a91b6a2564489b999da03bd
[ "MIT" ]
null
null
null
iot/common_functions/all_imports.py
sankaet/IOT-DB
a554f49b9c25ae1a9a91b6a2564489b999da03bd
[ "MIT" ]
null
null
null
from pymongo import MongoClient from bson import ObjectId from bson.json_util import dumps from json import loads client = MongoClient('localhost', 27017) IOT_DB = client.iot_db IOT_SCHEMAS = IOT_DB.iot_schemas IOT_DATA = IOT_DB.iot_data
23.9
40
0.820084
6598ac2ebf4cb397f3e2b86a4a598e93fd0dbafd
659
py
Python
pages/login_page.py
0verchenko/PageObject
b50ec33b6f511680e5be14b16c379df825b87285
[ "Apache-2.0" ]
null
null
null
pages/login_page.py
0verchenko/PageObject
b50ec33b6f511680e5be14b16c379df825b87285
[ "Apache-2.0" ]
1
2021-06-02T00:14:07.000Z
2021-06-02T00:14:07.000Z
pages/login_page.py
0verchenko/PageObject
b50ec33b6f511680e5be14b16c379df825b87285
[ "Apache-2.0" ]
null
null
null
from .base_page import BasePage from .locators import LoginPageLocators
29.954545
83
0.740516
65990aa07c9374074643ecde94fe1aa073f34786
4,310
py
Python
tests/test_schema.py
LeafyLappa/starlette-jsonapi
1cd7268fe78983c0203e4f65549f974d3f5d968f
[ "MIT" ]
16
2020-07-05T18:12:41.000Z
2022-03-11T21:12:17.000Z
tests/test_schema.py
LeafyLappa/starlette-jsonapi
1cd7268fe78983c0203e4f65549f974d3f5d968f
[ "MIT" ]
25
2020-07-04T17:06:40.000Z
2021-08-18T09:24:30.000Z
tests/test_schema.py
LeafyLappa/starlette-jsonapi
1cd7268fe78983c0203e4f65549f974d3f5d968f
[ "MIT" ]
3
2020-07-10T14:17:44.000Z
2021-08-12T11:43:45.000Z
import pytest from marshmallow_jsonapi import fields from starlette.applications import Starlette from starlette_jsonapi.resource import BaseResource from starlette_jsonapi.schema import JSONAPISchema
30.567376
120
0.542691
659af9491af7136fafb0016f0624386d06bcfa4b
3,280
py
Python
demo/demo/settings.py
ikcam/django-boilerplate
d8253665d74f0f18cf9a5fd46772598a60f20c5c
[ "Apache-2.0" ]
5
2016-10-02T04:57:10.000Z
2019-08-12T22:22:39.000Z
demo/demo/settings.py
ikcam/django-boilerplate
d8253665d74f0f18cf9a5fd46772598a60f20c5c
[ "Apache-2.0" ]
null
null
null
demo/demo/settings.py
ikcam/django-boilerplate
d8253665d74f0f18cf9a5fd46772598a60f20c5c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Django settings for demo project. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ # Build paths inside the project like this: os.path.j...
24.661654
71
0.690549