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
5370c3d3d7c64120cfceac3826e677a88c4d71af
3,556
py
Python
laia/data/transforms/vision/random_beta_morphology.py
eivtho/PyLaia
2a7a6e2eeb9b5af68c0faed0c564b02063e72be0
[ "MIT" ]
89
2018-12-12T23:06:26.000Z
2022-02-03T09:04:21.000Z
laia/data/transforms/vision/random_beta_morphology.py
eivtho/PyLaia
2a7a6e2eeb9b5af68c0faed0c564b02063e72be0
[ "MIT" ]
30
2019-03-06T14:29:48.000Z
2022-03-16T14:53:43.000Z
laia/data/transforms/vision/random_beta_morphology.py
jpuigcerver/PyLaia
1b2e864247f1bfb8d95ac1910de9c52df71c017a
[ "MIT" ]
26
2018-12-13T17:48:19.000Z
2022-02-28T12:52:29.000Z
from typing import List, Tuple, Union import numpy as np import scipy.special from PIL import Image, ImageFilter if __name__ == "__main__": import argparse from PIL import ImageOps parser = argparse.ArgumentParser() parser.add_argument("--operation", choices=("dilate", "erode"), default="dilate"...
32.327273
86
0.615298
537138998ce86bd69153421493a543bbc8be7c36
723
py
Python
hemp/internal/utils.py
Addvilz/hemp
2cd1d437fc59a8f7b24f5d150c623bf75c3b6747
[ "Apache-2.0" ]
1
2020-08-13T22:28:28.000Z
2020-08-13T22:28:28.000Z
hemp/internal/utils.py
Addvilz/hemp
2cd1d437fc59a8f7b24f5d150c623bf75c3b6747
[ "Apache-2.0" ]
null
null
null
hemp/internal/utils.py
Addvilz/hemp
2cd1d437fc59a8f7b24f5d150c623bf75c3b6747
[ "Apache-2.0" ]
null
null
null
import sys from fabric.utils import error, puts from git import RemoteProgress
26.777778
76
0.637621
53713acb71d2f50fa7d7472d8e125a179f1d5d33
417
py
Python
backend/links/sentence.py
dla1635/hyLink
8f3d1b6b0cad57ce2f6861583eb2b523f9fceee7
[ "MIT" ]
1
2020-07-17T05:57:47.000Z
2020-07-17T05:57:47.000Z
backend/links/sentence.py
dla1635/hyLink
8f3d1b6b0cad57ce2f6861583eb2b523f9fceee7
[ "MIT" ]
11
2020-06-06T00:30:23.000Z
2022-02-26T19:59:06.000Z
backend/links/sentence.py
dla1635/hylink
8f3d1b6b0cad57ce2f6861583eb2b523f9fceee7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from collections import Counter from konlpy.tag import Okt
18.954545
49
0.611511
53726406b1ce515956afb2308d74b2a4c7e1b255
4,227
py
Python
tests/arch/x86/test_x86parser.py
IMULMUL/barf-project
9547ef843b8eb021c2c32c140e36173c0b4eafa3
[ "BSD-2-Clause" ]
1,395
2015-01-02T11:43:30.000Z
2022-03-30T01:15:26.000Z
tests/arch/x86/test_x86parser.py
IMULMUL/barf-project
9547ef843b8eb021c2c32c140e36173c0b4eafa3
[ "BSD-2-Clause" ]
54
2015-02-11T05:18:05.000Z
2021-12-10T08:45:39.000Z
tests/arch/x86/test_x86parser.py
IMULMUL/barf-project
9547ef843b8eb021c2c32c140e36173c0b4eafa3
[ "BSD-2-Clause" ]
207
2015-01-05T09:47:54.000Z
2022-03-30T01:15:29.000Z
# Copyright (c) 2014, Fundacion Dr. Manuel Sadosky # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this # list of condit...
33.283465
80
0.666903
5374082003f5a0ab7717d7cbdda9e4ca3ac483ea
1,236
py
Python
Concurrency/codeSample/Part4_Thread_Synchronuzation_Primitives/sema_signal.py
Chyi341152/pyConPaper
851190d59f8dc85b4f2a0b47c6505edd0367a6fe
[ "MIT" ]
1
2018-05-30T02:36:46.000Z
2018-05-30T02:36:46.000Z
Concurrency/codeSample/Part4_Thread_Synchronuzation_Primitives/sema_signal.py
Chyi341152/pyConPaper
851190d59f8dc85b4f2a0b47c6505edd0367a6fe
[ "MIT" ]
null
null
null
Concurrency/codeSample/Part4_Thread_Synchronuzation_Primitives/sema_signal.py
Chyi341152/pyConPaper
851190d59f8dc85b4f2a0b47c6505edd0367a6fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # sema_signal.py # # An example of using a semaphore for signaling between threads import threading import time done = threading.Semaphore(0) # Resource control. item = None t1 = threading.Thread(target=producer) t2 = threading.Thread(target=consumer) t1.sta...
29.428571
145
0.669903
5375dec1385aae371f742bbb1feff08c0d14da3b
3,199
py
Python
temp_wc_analysis/analysis.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
8
2018-03-27T21:35:25.000Z
2022-01-18T08:32:20.000Z
temp_wc_analysis/analysis.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
114
2018-02-27T14:14:39.000Z
2020-12-30T15:06:51.000Z
temp_wc_analysis/analysis.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
2
2019-04-05T16:17:28.000Z
2020-05-17T12:55:20.000Z
'''Analysis utility functions. :Author: Jonathan Karr <karr@mssm.edu> :Date: 2016-03-26 :Copyright: 2016-2018, Karr Lab :License: MIT ''' # TODO(Arthur): IMPORTANT: refactor and replace from matplotlib import pyplot from matplotlib import ticker from wc_lang import Model, Submodel from scipy.constants import Avogadr...
29.081818
96
0.56924
5378047f0579efdd010c7d57b8aefd313753aa1d
907
py
Python
setup.py
bstuddard/bonsai
3610fc50a3b24818288d850048c2a23306215367
[ "MIT" ]
26
2021-07-18T14:52:47.000Z
2022-01-27T10:35:44.000Z
setup.py
bstuddard/bonsai
3610fc50a3b24818288d850048c2a23306215367
[ "MIT" ]
null
null
null
setup.py
bstuddard/bonsai
3610fc50a3b24818288d850048c2a23306215367
[ "MIT" ]
3
2021-07-20T03:25:22.000Z
2021-08-17T04:06:27.000Z
from setuptools import setup, find_packages with open("README.md", "r") as readme_file: readme = readme_file.read() requirements = [ 'xgboost>=0.90', 'catboost>=0.26', 'bayesian-optimization>=1.2.0', 'numpy>=1.19.5', 'pandas>=1.1.5', 'matplotlib>=3.2.2', 'seaborn>=0.11.1', 'plotly>...
25.914286
65
0.607497
537b221bff7d480fcdf886ab83757cc48372b358
823
py
Python
_scripts/increment_version.py
clockhart/pathogen
1764d4a7d2dd7c1f5dcc08afc016ec4edf809c36
[ "MIT" ]
null
null
null
_scripts/increment_version.py
clockhart/pathogen
1764d4a7d2dd7c1f5dcc08afc016ec4edf809c36
[ "MIT" ]
null
null
null
_scripts/increment_version.py
clockhart/pathogen
1764d4a7d2dd7c1f5dcc08afc016ec4edf809c36
[ "MIT" ]
null
null
null
""" increment_version.py written in Python3 author: C. Lockhart <chris@lockhartlab.org> """ import yaml # Read in version with open('version.yml', 'r') as f: version = yaml.safe_load(f.read()) # Strip "dev" out of micro version['micro'] = int(str(version['micro']).replace('dev', '')) # Update patch version['mi...
22.243243
78
0.660996
537c67be5a305675d3c345fd99a5e6be9b4b00c1
15,725
py
Python
holoviews/core/data/ibis.py
TheoMathurin/holoviews
0defcef994d6dd6d2054f75a0e332d02d121f8b0
[ "BSD-3-Clause" ]
1
2017-03-01T07:08:23.000Z
2017-03-01T07:08:23.000Z
holoviews/core/data/ibis.py
chrinide/holoviews
e1234a60ae0809ac561c204b1998dff0452b2bf0
[ "BSD-3-Clause" ]
null
null
null
holoviews/core/data/ibis.py
chrinide/holoviews
e1234a60ae0809ac561c204b1998dff0452b2bf0
[ "BSD-3-Clause" ]
null
null
null
import sys import numpy try: from collections.abc import Iterable except ImportError: from collections import Iterable from .. import util from ..element import Element from ..ndmapping import NdMapping, item_check, sorted_context from .interface import Interface from . import pandas from .util import cached ...
35.022272
106
0.569348
537e41912df4cf73c680542167c1c109a8513d39
3,907
py
Python
chess/models/tournament.py
S0Imyr/Projet-4
1d93e125bc6e44bc560f3ffc9b11e14e35291c98
[ "MIT" ]
null
null
null
chess/models/tournament.py
S0Imyr/Projet-4
1d93e125bc6e44bc560f3ffc9b11e14e35291c98
[ "MIT" ]
null
null
null
chess/models/tournament.py
S0Imyr/Projet-4
1d93e125bc6e44bc560f3ffc9b11e14e35291c98
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Handles the tournament logic """ import datetime from chess.utils.utils import get_new_id from chess.models.actors import Player from chess.models.round import Round TOURNAMENT_ID_WIDTH = 8 NB_ROUND = 4 NB_PLAYERS = 8 NB_MATCH = 4
33.393162
102
0.621449
537ea975bc8b1468e691c88bd35a36f7347e9442
1,895
py
Python
set-config.py
astubenazy/vrops-metric-collection
c4e5b8d7058759aa5eded74cc619d1dedcbc821a
[ "MIT" ]
2
2020-04-08T13:03:00.000Z
2020-08-25T18:21:27.000Z
set-config.py
astubenazy/vrops-metric-collection
c4e5b8d7058759aa5eded74cc619d1dedcbc821a
[ "MIT" ]
1
2019-08-15T11:19:18.000Z
2019-08-17T11:38:48.000Z
set-config.py
astubenazy/vrops-metric-collection
c4e5b8d7058759aa5eded74cc619d1dedcbc821a
[ "MIT" ]
7
2018-06-06T13:47:52.000Z
2021-06-17T18:33:27.000Z
# !/usr/bin python """ # # set-config - a small python program to setup the configuration environment for data-collect.py # data-collect.py contain the python program to gather Metrics from vROps # Author Sajal Debnath <sdebnath@vmware.com> # """ # Importing the required modules import json import base64 import os,s...
29.153846
107
0.701847
537f1ecf5b58054b91b3f560bcbfa1d5fc3ac88d
16,328
py
Python
tests/test_app.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
6
2021-03-09T10:24:02.000Z
2022-01-16T03:52:11.000Z
tests/test_app.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
1,319
2020-12-18T08:52:29.000Z
2022-03-31T18:17:32.000Z
tests/test_app.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
4
2021-03-03T15:36:50.000Z
2022-03-11T11:41:51.000Z
""" Copyright 2018 Inmanta Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
33.390593
125
0.614282
537fda8bf126c424a17def77a9e57731a1bb799c
449
py
Python
AtC_Beg_Con_021-030/ABC027/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_021-030/ABC027/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_021-030/ABC027/C.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
n = int(input()) row = 0 for i in range(100): if 2 ** i <= n <= 2 ** (i + 1) - 1: row = i break k = 0 if row % 2 != 0: k = 2 cri = seki(k, row // 2) if n < cri: print("Aoki") else: print("Takahashi") else: k = 1 cri = seki(k, row // 2) if n < cri: ...
14.966667
39
0.4098
5382d0895ddebaa840fcd4f4a2179b700c0dfe67
21,396
py
Python
extplugins/codvote.py
Desi-Boyz/cod4x-server-B3-configs
03a323d7ea293efe1831ed315001391b9aaf532a
[ "MIT" ]
1
2017-07-17T22:21:10.000Z
2017-07-17T22:21:10.000Z
extplugins/codvote.py
Desi-Boyz/cod4x-server-B3-configs
03a323d7ea293efe1831ed315001391b9aaf532a
[ "MIT" ]
null
null
null
extplugins/codvote.py
Desi-Boyz/cod4x-server-B3-configs
03a323d7ea293efe1831ed315001391b9aaf532a
[ "MIT" ]
null
null
null
# CoDVote plugin for BigBrotherBot(B3) (www.bigbrotherbot.net) # Copyright (C) 2015 ph03n1x # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your optio...
37.081456
139
0.550804
538362192f9fc22f5fcaa82bb61990dd548e6c63
3,947
py
Python
utils.py
bianan/cfl
e09043d213c7330d5410e27ba90c943d4323dbe8
[ "Apache-2.0" ]
4
2020-07-29T10:18:59.000Z
2021-06-27T22:57:37.000Z
utils.py
bianan/cfl
e09043d213c7330d5410e27ba90c943d4323dbe8
[ "Apache-2.0" ]
null
null
null
utils.py
bianan/cfl
e09043d213c7330d5410e27ba90c943d4323dbe8
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
28.395683
80
0.727135
53840797fa9f83c58be0cb1122c4f31c4c62dc94
4,841
py
Python
unittest/scripts/py_devapi/scripts/mysqlx_collection_remove.py
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
unittest/scripts/py_devapi/scripts/mysqlx_collection_remove.py
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
unittest/scripts/py_devapi/scripts/mysqlx_collection_remove.py
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
# Assumptions: validate_crud_functions available # Assumes __uripwd is defined as <user>:<pwd>@<host>:<plugin_port> from __future__ import print_function from mysqlsh import mysqlx mySession = mysqlx.get_session(__uripwd) ensure_schema_does_not_exist(mySession, 'js_shell_test') schema = mySession.create_schema('js_s...
41.732759
126
0.685602
538622f0e20beb2e31f0c54850a3e278464da569
1,323
py
Python
indian-flag.py
aditya270520/indian-flag
65851eefdd229cca150d2bbe8fa61c9e06e120e0
[ "MIT" ]
null
null
null
indian-flag.py
aditya270520/indian-flag
65851eefdd229cca150d2bbe8fa61c9e06e120e0
[ "MIT" ]
null
null
null
indian-flag.py
aditya270520/indian-flag
65851eefdd229cca150d2bbe8fa61c9e06e120e0
[ "MIT" ]
null
null
null
import turtle turtle.bgcolor('black') wn=turtle.Screen() tr=turtle.Turtle() move=1 tr.speed("fastest") for i in range (360): tr.write("ADITYA",'false','center',font=('Showcard gothic',50)) tr.penup() tr.goto(-200,100) tr.pendown() tr.color("orange") tr.right(move) tr.forward(100) tr...
17.64
67
0.543462
538700fd5d58b1e117fad14517de686aecad4c56
171
py
Python
leaf/rbac/model/__init__.py
guiqiqi/leaf
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
[ "Apache-2.0" ]
119
2020-01-30T04:25:03.000Z
2022-03-27T07:15:45.000Z
leaf/rbac/model/__init__.py
guiqiqi/leaf
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
[ "Apache-2.0" ]
8
2020-02-02T05:49:47.000Z
2021-01-25T03:31:09.000Z
leaf/rbac/model/__init__.py
guiqiqi/leaf
79e34f4b8fba8c6fd208b5a3049103dca2064ab5
[ "Apache-2.0" ]
11
2020-01-31T15:07:11.000Z
2021-03-24T03:47:48.000Z
""", , """ from .group import Group from .user import User from .user import UserIndex from .auth import Authentication from .accesspoint import AccessPoint
21.375
36
0.783626
53898a41d0b3979d97ed59d9bf3e85e1664af2da
103
py
Python
programacao basica/7.py
m-brito/Neps-Academy
0d962fb921d74c5f97f10fcdd8a0f464c0ccdb14
[ "MIT" ]
null
null
null
programacao basica/7.py
m-brito/Neps-Academy
0d962fb921d74c5f97f10fcdd8a0f464c0ccdb14
[ "MIT" ]
null
null
null
programacao basica/7.py
m-brito/Neps-Academy
0d962fb921d74c5f97f10fcdd8a0f464c0ccdb14
[ "MIT" ]
null
null
null
bino = int(input()) cino = int(input()) if (bino+cino)%2==0: print("Bino") else: print("Cino")
14.714286
20
0.563107
5389a92b434b224efc0d211777895516ff271648
1,023
py
Python
update_readme.py
CalmScout/LeetCode
62720934b5906e6b255c7e91d3a6fa1d713e4391
[ "MIT" ]
null
null
null
update_readme.py
CalmScout/LeetCode
62720934b5906e6b255c7e91d3a6fa1d713e4391
[ "MIT" ]
null
null
null
update_readme.py
CalmScout/LeetCode
62720934b5906e6b255c7e91d3a6fa1d713e4391
[ "MIT" ]
null
null
null
""" Script updates `README.md` with respect to files at ./easy and ./medium folders. """ import os curr_dir = os.path.dirname(__file__) with open(os.path.join(curr_dir, "README.md"), 'w') as readme: readme.write("# LeetCode\nDeliberate practice in coding.\n") langs = [l for l in os.listdir(curr_dir) if os.path...
39.346154
105
0.572825
538a493d99ff3d905d532327c5a14418aa3d3b7e
10,614
py
Python
scripts/biotimesql.py
Jay-Iam/retriever
26e321cdb86fcb4cb78184c4bf5c0c6902a97d2c
[ "MIT" ]
null
null
null
scripts/biotimesql.py
Jay-Iam/retriever
26e321cdb86fcb4cb78184c4bf5c0c6902a97d2c
[ "MIT" ]
1
2019-02-23T14:11:34.000Z
2019-02-28T21:18:51.000Z
scripts/biotimesql.py
harshitbansal05/retriever
a5b849ee5ed3cc8a92f8aff93e5ec2ba54599213
[ "MIT" ]
1
2020-01-06T11:37:54.000Z
2020-01-06T11:37:54.000Z
# -*- coding: utf-8 -*- #retriever import csv from pkg_resources import parse_version from retriever.lib.models import Table from retriever.lib.templates import Script try: from retriever.lib.defaults import VERSION try: from retriever.lib.tools import open_fr, open_fw, open_csvw except ImportEr...
39.022059
216
0.531939
538b05195aa3c62cda3499af221928cc57bfb7bb
1,423
py
Python
alipay/aop/api/domain/KbAdvertSettleBillResponse.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/KbAdvertSettleBillResponse.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/KbAdvertSettleBillResponse.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import *
25.410714
75
0.599438
538b8d9cb91e4b908b2574c10cefedcf90ea344f
6,356
py
Python
day5.py
PLCoster/adventofcode2019
7aad1503dcf80b127b21191850ad9c93f91a602a
[ "MIT" ]
1
2019-12-09T21:26:22.000Z
2019-12-09T21:26:22.000Z
day5.py
PLCoster/adventofcode2019
7aad1503dcf80b127b21191850ad9c93f91a602a
[ "MIT" ]
null
null
null
day5.py
PLCoster/adventofcode2019
7aad1503dcf80b127b21191850ad9c93f91a602a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Dec 2 11:06:59 2019 @author: Paul """ def read_data(filename): """ Reads csv file into a list, and converts to ints """ data = [] f = open(filename, 'r') for line in f: data += line.strip('\n').split(',') ...
34.73224
92
0.522498
538bf59cdb6e50d49c8fe6d1f6a72767b79df904
3,333
py
Python
textvis/textprizm/models.py
scclab/textvisdrg-prototype
e912e4441b0e42e0f6c477edd03227b93b8ace73
[ "MIT" ]
null
null
null
textvis/textprizm/models.py
scclab/textvisdrg-prototype
e912e4441b0e42e0f6c477edd03227b93b8ace73
[ "MIT" ]
null
null
null
textvis/textprizm/models.py
scclab/textvisdrg-prototype
e912e4441b0e42e0f6c477edd03227b93b8ace73
[ "MIT" ]
null
null
null
from django.db import models # Create your models here.
28.245763
101
0.659166
538cf8a863a1cdd537656657d4741a5309d4d759
8,079
py
Python
test/test_purchasing.py
jacob22/accounting
e2fceea880e3f056703ba97b6cf52b73cd7af93b
[ "Apache-2.0" ]
null
null
null
test/test_purchasing.py
jacob22/accounting
e2fceea880e3f056703ba97b6cf52b73cd7af93b
[ "Apache-2.0" ]
null
null
null
test/test_purchasing.py
jacob22/accounting
e2fceea880e3f056703ba97b6cf52b73cd7af93b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2019 Open End AB # # 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 o...
39.409756
89
0.564179
538d31ed98e59299719777fcb1330ca052cef24d
1,455
py
Python
iot/downstream/fog_processes.py
SENERGY-Platform/senergy-connector
7198f6b2ec08b3c09c53755f259a2711921fdcbe
[ "Apache-2.0" ]
null
null
null
iot/downstream/fog_processes.py
SENERGY-Platform/senergy-connector
7198f6b2ec08b3c09c53755f259a2711921fdcbe
[ "Apache-2.0" ]
null
null
null
iot/downstream/fog_processes.py
SENERGY-Platform/senergy-connector
7198f6b2ec08b3c09c53755f259a2711921fdcbe
[ "Apache-2.0" ]
null
null
null
""" Copyright 2020 InfAI (CC SES) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
31.630435
96
0.648797
538d3918006c09254385e7ece91e4c11554aa399
462
py
Python
django_project/user_profile/migrations/0003_order_payment_method.py
aliyaandabekova/DJANGO_PROJECT
7b94f80fa56acf936da014aa5d91da79457bf4eb
[ "MIT" ]
null
null
null
django_project/user_profile/migrations/0003_order_payment_method.py
aliyaandabekova/DJANGO_PROJECT
7b94f80fa56acf936da014aa5d91da79457bf4eb
[ "MIT" ]
null
null
null
django_project/user_profile/migrations/0003_order_payment_method.py
aliyaandabekova/DJANGO_PROJECT
7b94f80fa56acf936da014aa5d91da79457bf4eb
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-27 13:34 from django.db import migrations, models
24.315789
116
0.603896
538daa45b22d9013e84ef526505b8753b513ae7f
2,522
py
Python
day07/test.py
mpirnat/aoc2016
1aec59aca01541d0d1c30f85d4668959c82fa35c
[ "MIT" ]
null
null
null
day07/test.py
mpirnat/aoc2016
1aec59aca01541d0d1c30f85d4668959c82fa35c
[ "MIT" ]
null
null
null
day07/test.py
mpirnat/aoc2016
1aec59aca01541d0d1c30f85d4668959c82fa35c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from day07 import has_abba, get_abba_allowed_strings, get_abba_disallowed_strings from day07 import supports_tls, count_tls_addresses from day07 import find_abas, supports_ssl, count_ssl_addresses if __name__ == '__main__': unittest.main()
27.714286
81
0.635607
538e1ba9c8f2894b4bdf8950c5cd9a8fa42ed826
4,787
py
Python
rlnets/PG.py
HTRPOCODES/HTRPO-v2
7e085e8077e6caa38d192bbd33b41c49b36ad6a6
[ "MIT" ]
7
2020-02-24T15:05:20.000Z
2021-08-24T02:27:13.000Z
rlnets/PG.py
ZhangHanbo/Deep-Reinforcement-Learning-Package
10ab418fcb4807747ebe162920f3df1e80b80a2a
[ "MIT" ]
null
null
null
rlnets/PG.py
ZhangHanbo/Deep-Reinforcement-Learning-Package
10ab418fcb4807747ebe162920f3df1e80b80a2a
[ "MIT" ]
1
2020-04-11T13:08:23.000Z
2020-04-11T13:08:23.000Z
import torch import numpy as np import torch.nn.functional as F from torch.autograd import Variable from basenets.MLP import MLP from basenets.Conv import Conv from torch import nn # TODO: support multi-layer value function in which action is concat before the final layer
34.192857
91
0.48569
538e7c69b579d9dbd9a344fd3df293fc4cfca562
10,057
py
Python
tensorflow/python/kernel_tests/sparse_tensors_map_ops_test.py
m4rkl1u/tensorflow
90a8825c7ae9719e8969d45040b4155b0e7de130
[ "Apache-2.0" ]
2
2018-12-05T10:58:40.000Z
2019-01-24T11:36:01.000Z
tensorflow/python/kernel_tests/sparse_tensors_map_ops_test.py
m4rkl1u/tensorflow
90a8825c7ae9719e8969d45040b4155b0e7de130
[ "Apache-2.0" ]
null
null
null
tensorflow/python/kernel_tests/sparse_tensors_map_ops_test.py
m4rkl1u/tensorflow
90a8825c7ae9719e8969d45040b4155b0e7de130
[ "Apache-2.0" ]
2
2019-02-26T16:21:15.000Z
2020-12-04T17:48:17.000Z
# Copyright 2015 The TensorFlow Authors. 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 applica...
42.079498
80
0.704484
538ed9ab23e9e71ee700c89f6a7e07b38fae61a0
50,485
py
Python
cloudroast/objectstorage/smoke/object_smoke.py
RULCSoft/cloudroast
30f0e64672676c3f90b4a582fe90fac6621475b3
[ "Apache-2.0" ]
null
null
null
cloudroast/objectstorage/smoke/object_smoke.py
RULCSoft/cloudroast
30f0e64672676c3f90b4a582fe90fac6621475b3
[ "Apache-2.0" ]
null
null
null
cloudroast/objectstorage/smoke/object_smoke.py
RULCSoft/cloudroast
30f0e64672676c3f90b4a582fe90fac6621475b3
[ "Apache-2.0" ]
null
null
null
""" Copyright 2015 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
34.273591
79
0.605051
538f0d9adeec1b1a9f1d17d56827c035463ad1c5
1,412
py
Python
ceph/tests/conftest.py
remicalixte/integrations-core
b115e18c52820fe1a92495f538fdc14ddf83cfe1
[ "BSD-3-Clause" ]
1
2021-03-24T13:00:14.000Z
2021-03-24T13:00:14.000Z
ceph/tests/conftest.py
remicalixte/integrations-core
b115e18c52820fe1a92495f538fdc14ddf83cfe1
[ "BSD-3-Clause" ]
null
null
null
ceph/tests/conftest.py
remicalixte/integrations-core
b115e18c52820fe1a92495f538fdc14ddf83cfe1
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os import pytest from datadog_checks.dev import docker_run from datadog_checks.dev.conditions import CheckDockerLogs from datadog_checks.dev.subprocess import run_command from .common import BAS...
32.837209
115
0.659348
538f4e290b42893ff7be5c3f3a19a555501eb1e6
3,025
py
Python
federation/hostmeta/fetchers.py
weex/federation
01357aacb04b076442ce5f803a0fc65df5a74d09
[ "BSD-3-Clause" ]
93
2016-11-26T10:52:13.000Z
2022-01-15T20:07:35.000Z
federation/hostmeta/fetchers.py
weex/federation
01357aacb04b076442ce5f803a0fc65df5a74d09
[ "BSD-3-Clause" ]
75
2016-10-18T10:15:44.000Z
2019-10-05T22:16:32.000Z
federation/hostmeta/fetchers.py
weex/federation
01357aacb04b076442ce5f803a0fc65df5a74d09
[ "BSD-3-Clause" ]
9
2017-04-08T08:03:45.000Z
2021-09-13T22:00:48.000Z
import json from typing import Dict, Optional import requests from federation.hostmeta.parsers import ( parse_nodeinfo_document, parse_nodeinfo2_document, parse_statisticsjson_document, parse_mastodon_document, parse_matrix_document, parse_misskey_document) from federation.utils.network import fetch_document ...
28.809524
110
0.668099
538fd4b4cff424f1346a608bba50033518ef9ea5
2,582
py
Python
features/analysis_features.py
iag0g0mes/t2_fis_driving_style
7f62ac3e67e65e7bd1273a2f845eb05820e95b70
[ "Apache-2.0" ]
5
2021-04-20T16:03:37.000Z
2022-03-11T00:13:11.000Z
features/analysis_features.py
iag0g0mes/t2_fis_driving_style
7f62ac3e67e65e7bd1273a2f845eb05820e95b70
[ "Apache-2.0" ]
1
2021-04-21T02:35:38.000Z
2021-04-21T12:54:14.000Z
features/analysis_features.py
iag0g0mes/t2fis_driving_style
7f62ac3e67e65e7bd1273a2f845eb05820e95b70
[ "Apache-2.0" ]
null
null
null
import numpy as np from typing import Any, Dict, List, Tuple, NoReturn import argparse import os def parse_arguments() -> Any: """Parse command line arguments.""" parser = argparse.ArgumentParser() parser.add_argument( "--data_dir", default="", type=str, help="Directory where the features (npy files) a...
23.907407
88
0.606119
538fed081c6f7c33b40d25f1c7cac9cd82761148
2,916
py
Python
python-watcher-2.0.0/watcher/tests/notifications/test_service_notifications.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
null
null
null
python-watcher-2.0.0/watcher/tests/notifications/test_service_notifications.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
python-watcher-2.0.0/watcher/tests/notifications/test_service_notifications.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# -*- encoding: utf-8 -*- # Copyright (c) 2017 Servionica # # 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 l...
37.384615
79
0.607339
53901ad02fc361ceba4528f28baf2995acc82248
1,422
py
Python
leetcode/medium/best-time-to-buy-and-sell-stock-ii.py
rainzhop/cumulus-tank
09ebc7858ea53630e30606945adfea856a80faa3
[ "MIT" ]
null
null
null
leetcode/medium/best-time-to-buy-and-sell-stock-ii.py
rainzhop/cumulus-tank
09ebc7858ea53630e30606945adfea856a80faa3
[ "MIT" ]
null
null
null
leetcode/medium/best-time-to-buy-and-sell-stock-ii.py
rainzhop/cumulus-tank
09ebc7858ea53630e30606945adfea856a80faa3
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ # # Say you have an array for which the ith element is the price of a given stock on day i. # # Design an algorithm to find the maximum profit. # You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple ti...
32.318182
123
0.524613
5391eb5d4685629e3d8228f4e55d8a98857010ab
7,787
py
Python
django_loci/tests/base/test_admin.py
yashikajotwani12/django-loci
2c0bcb33f4a56d559f798e37fd17b2143b912ce4
[ "BSD-3-Clause" ]
205
2017-11-17T10:35:02.000Z
2022-03-29T18:50:32.000Z
django_loci/tests/base/test_admin.py
yashikajotwani12/django-loci
2c0bcb33f4a56d559f798e37fd17b2143b912ce4
[ "BSD-3-Clause" ]
98
2017-11-20T16:03:27.000Z
2022-01-19T21:12:47.000Z
django_loci/tests/base/test_admin.py
yashikajotwani12/django-loci
2c0bcb33f4a56d559f798e37fd17b2143b912ce4
[ "BSD-3-Clause" ]
46
2017-11-20T23:25:26.000Z
2022-02-10T05:06:16.000Z
import json import os import responses from django.urls import reverse from .. import TestAdminMixin, TestLociMixin
38.549505
99
0.617054
539267e2204960bd72eacaf1dd33c30f2edce8d2
1,270
py
Python
dca_models/deform_offsets_module.py
vatsalag99/Deformable-Channel-Attention
d904135fd7be45331a16d9cb84e44f8e1ff5c07e
[ "MIT" ]
1
2020-12-01T20:57:09.000Z
2020-12-01T20:57:09.000Z
dca_models/deform_offsets_module.py
vatsalag99/Deformable-Channel-Attention
d904135fd7be45331a16d9cb84e44f8e1ff5c07e
[ "MIT" ]
null
null
null
dca_models/deform_offsets_module.py
vatsalag99/Deformable-Channel-Attention
d904135fd7be45331a16d9cb84e44f8e1ff5c07e
[ "MIT" ]
null
null
null
import torch from torch import nn from torch.nn.parameter import Parameter from einops import rearrange, reduce, repeat
35.277778
82
0.640157
539324c139f4acda8b0dbb87e42e77a126f0fc1b
155
py
Python
tests/__init__.py
egor43/PyImageComparsion
5270f5646c40391cc5ac225305d7be9b0b7de140
[ "BSD-2-Clause" ]
null
null
null
tests/__init__.py
egor43/PyImageComparsion
5270f5646c40391cc5ac225305d7be9b0b7de140
[ "BSD-2-Clause" ]
null
null
null
tests/__init__.py
egor43/PyImageComparsion
5270f5646c40391cc5ac225305d7be9b0b7de140
[ "BSD-2-Clause" ]
null
null
null
from . import test_helpers from . import test_image_opener from . import test_image_metrick from . import test_compare_tools from . import test_compare_api
31
32
0.845161
5395cbb4a78f713d4a2814a8d200c21fd6a061c3
485
py
Python
core/urls.py
donnellan0007/blog
02c8850688422e3b685ffac10c32bf3e7a7c2e7a
[ "MIT" ]
null
null
null
core/urls.py
donnellan0007/blog
02c8850688422e3b685ffac10c32bf3e7a7c2e7a
[ "MIT" ]
null
null
null
core/urls.py
donnellan0007/blog
02c8850688422e3b685ffac10c32bf3e7a7c2e7a
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path from .views import index, email, post_detail, posts, hot_takes, take_detail from . import views app_name = "core" urlpatterns = [ path('',views.index,name="index"), path('email/',views.email,name="email"), path('post/<slug>/',views.post_detail,...
32.333333
75
0.68866
53971f3415b6410a3e353dbb14eb4ceab3a8c1a1
30
py
Python
griddy/__init__.py
pgolding/pandas-grid
0f80db1511097656496dee503d7bb281b97b8bdc
[ "BSD-2-Clause" ]
1
2018-01-03T11:34:08.000Z
2018-01-03T11:34:08.000Z
griddy/__init__.py
pgolding/pandas-grid
0f80db1511097656496dee503d7bb281b97b8bdc
[ "BSD-2-Clause" ]
null
null
null
griddy/__init__.py
pgolding/pandas-grid
0f80db1511097656496dee503d7bb281b97b8bdc
[ "BSD-2-Clause" ]
null
null
null
from .grid import render_table
30
30
0.866667
5398b81471428ab8f27e820b3cfc198272b782d9
1,573
py
Python
utils/dbconn.py
iamvishnuks/Xmigrate
f8405c72a2ee4203b0fc5ddb55c0a1d9f8d8a7c7
[ "MIT" ]
4
2020-05-26T11:19:02.000Z
2020-08-06T11:12:34.000Z
utils/dbconn.py
iamvishnuks/Xmigrate
f8405c72a2ee4203b0fc5ddb55c0a1d9f8d8a7c7
[ "MIT" ]
46
2022-02-19T09:11:11.000Z
2022-03-31T15:42:50.000Z
utils/dbconn.py
iamvishnuks/Xmigrate
f8405c72a2ee4203b0fc5ddb55c0a1d9f8d8a7c7
[ "MIT" ]
2
2019-12-20T12:30:33.000Z
2020-01-02T22:01:25.000Z
from mongoengine import * from dotenv import load_dotenv from os import getenv from cassandra.cluster import Cluster from cassandra.auth import PlainTextAuthProvider from cassandra.cqlengine import connection from cassandra.cqlengine.management import sync_table from cassandra.query import ordered_dict_factory from mod...
33.468085
91
0.760966
53990709c9653095e01a4f58d04ac79451da6d42
3,921
py
Python
src/syft/lib/__init__.py
godormad/PySyft
fcb3374b6318dcccf377175fb8db6f70e9e1d1e3
[ "Apache-2.0" ]
null
null
null
src/syft/lib/__init__.py
godormad/PySyft
fcb3374b6318dcccf377175fb8db6f70e9e1d1e3
[ "Apache-2.0" ]
null
null
null
src/syft/lib/__init__.py
godormad/PySyft
fcb3374b6318dcccf377175fb8db6f70e9e1d1e3
[ "Apache-2.0" ]
null
null
null
# stdlib import importlib import sys from typing import Any from typing import Any as TypeAny from typing import Dict as TypeDict from typing import Optional # third party from packaging import version # syft relative from ..ast.globals import Globals from ..lib.python import create_python_ast from ..lib.torch import...
35.972477
88
0.665902
5399748c26ec62ec3b268e3e29283c1ccc28b398
8,742
py
Python
scripts/griffin_GC_counts.py
GavinHaLab/Griffin
83942189c0e3e62ac533d6b6a5ffd7d2dfd2d4b3
[ "BSD-3-Clause-Clear" ]
1
2021-09-08T05:43:15.000Z
2021-09-08T05:43:15.000Z
scripts/griffin_GC_counts.py
GavinHaLab/Griffin
83942189c0e3e62ac533d6b6a5ffd7d2dfd2d4b3
[ "BSD-3-Clause-Clear" ]
null
null
null
scripts/griffin_GC_counts.py
GavinHaLab/Griffin
83942189c0e3e62ac533d6b6a5ffd7d2dfd2d4b3
[ "BSD-3-Clause-Clear" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: import pysam import os import pandas as pd import numpy as np import time import argparse import sys from multiprocessing import Pool # In[ ]: # ##arguments for testing # bam_file_path = '/fh/scratch/delete90/ha_g/realigned_bams/cfDNA_MBC_ULP_hg38/realign_bam_pa...
33.366412
241
0.636811
5399b6c7047b5726e42c8b72d0dc40c3dfb01acf
4,372
py
Python
task2/04-task2-upload-dim-tables.py
canovasjm/InterviewProject_JuanCanovas
6ff385c66664328cea0678454560e89e44851e24
[ "MIT" ]
null
null
null
task2/04-task2-upload-dim-tables.py
canovasjm/InterviewProject_JuanCanovas
6ff385c66664328cea0678454560e89e44851e24
[ "MIT" ]
null
null
null
task2/04-task2-upload-dim-tables.py
canovasjm/InterviewProject_JuanCanovas
6ff385c66664328cea0678454560e89e44851e24
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 1 18:17:07 2021 @author: jm """ # %% required libraries import numpy as np import pandas as pd from sqlalchemy import create_engine # %% connect to DB # create connection using pymssql engine = create_engine('mssql+pymssql://sa:<YourStrong@Passw...
34.698413
133
0.730101
539a58166d003e0486119a3a4445a376e8149b19
6,897
py
Python
cogs/server.py
vikasbaghel1001/Kanna-Chan
6f74978cb73b66cdb0952351a7e84a9e4ef4ebeb
[ "MIT" ]
5
2021-10-17T07:29:42.000Z
2022-03-23T11:01:58.000Z
cogs/server.py
vikasbaghel1001/Kanna-Chan
6f74978cb73b66cdb0952351a7e84a9e4ef4ebeb
[ "MIT" ]
1
2021-10-17T08:14:09.000Z
2021-10-17T08:14:09.000Z
cogs/server.py
vikasbaghel1001/Kanna-Chan
6f74978cb73b66cdb0952351a7e84a9e4ef4ebeb
[ "MIT" ]
4
2021-07-12T04:20:22.000Z
2021-10-01T03:29:50.000Z
import discord from discord.ext import commands arrow = "<a:right:877425183839891496>" kwee = "<:kannawee:877036162122924072>" kdance = "<a:kanna_dance:877038778798207016>" kbored = "<:kanna_bored:877036162827583538>" ksmug = "<:kanna_smug:877038777896427560>" heart = "<a:explosion_heart:877426228775227392>"
54.307087
636
0.641438
539b64bd9ed2668ae9a573fa432b5a05793c8032
109
py
Python
test/run/t344.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
test/run/t344.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
test/run/t344.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
for ch in "Hello world!": d = ord(ch) h = hex(d) o = oct(d) b = bin(d) print ch, d, h, o, b
12.111111
25
0.449541
539b84ee2616f61a9bf370a8a3b1b21465720328
10,016
py
Python
paho/mqtt/subscribe.py
RandomGamer342/TTM4115-plantsensor
e63c34160d284bb6fd26563eeba949d54026348b
[ "MIT" ]
8
2017-01-17T02:25:08.000Z
2019-07-24T13:39:55.000Z
python/lib/python3.4/site-packages/paho/mqtt/subscribe.py
nidiascampos/smartgreen
d574d90918702ac3bd383ed77d673f871576c5b0
[ "Apache-2.0" ]
5
2018-11-20T16:57:21.000Z
2019-03-17T19:59:52.000Z
python/lib/python3.4/site-packages/paho/mqtt/subscribe.py
nidiascampos/smartgreen
d574d90918702ac3bd383ed77d673f871576c5b0
[ "Apache-2.0" ]
9
2017-01-19T03:56:05.000Z
2020-03-10T04:03:20.000Z
# Copyright (c) 2016 Roger Light <roger@atchoo.org> # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # and Eclipse Distribution License v1.0 which accompany this distribution. # # The Eclipse Public License is available at # ...
38.523077
92
0.648862
539b8675dc9b20bffab7e413aa5943d934069113
1,561
py
Python
py/2017/day24/aoc_day_24.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2017/day24/aoc_day_24.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2017/day24/aoc_day_24.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
2
2019-12-01T15:33:27.000Z
2020-12-14T05:37:23.000Z
from collections import defaultdict if __name__ == "__main__": d = defaultdict(set) # with open('aoc_day_24_sample.txt') as f: with open("aoc_day_24_input.txt") as f: sample = f.readlines() # sample = [ # '0/1', # '1/2', # '1/3', # '1/4', # '5/0', ...
27.875
88
0.59385
539ea2a319db010bc0f4b82dc9bd72f7d9cbdfe7
175
py
Python
scratchnet/scratchnet.py
Gr1m3y/scratchnet
5fce471b6e12dc05b3a92fd8581445f7d598d1c3
[ "MIT" ]
null
null
null
scratchnet/scratchnet.py
Gr1m3y/scratchnet
5fce471b6e12dc05b3a92fd8581445f7d598d1c3
[ "MIT" ]
null
null
null
scratchnet/scratchnet.py
Gr1m3y/scratchnet
5fce471b6e12dc05b3a92fd8581445f7d598d1c3
[ "MIT" ]
null
null
null
import numpy as np import network if __name__ == "__main__": main()
13.461538
32
0.617143
539eb7f2ba00a494348f5e2c2412e8b083606e64
1,048
py
Python
live-plotting.py
rmhsawyer/EC601-Final-Project-Mapping_User_Face_To_Emoji
05a61dca25ef6dc6827e3389a753eb65a09c1813
[ "Apache-2.0" ]
null
null
null
live-plotting.py
rmhsawyer/EC601-Final-Project-Mapping_User_Face_To_Emoji
05a61dca25ef6dc6827e3389a753eb65a09c1813
[ "Apache-2.0" ]
22
2017-11-10T21:37:20.000Z
2017-12-05T22:36:50.000Z
live-plotting.py
rmhsawyer/EC601-Final-Project
05a61dca25ef6dc6827e3389a753eb65a09c1813
[ "Apache-2.0" ]
3
2017-10-30T20:07:18.000Z
2017-12-03T00:47:18.000Z
#draw the predictions from real-time.py import matplotlib.pyplot as plt import matplotlib.animation as animation from matplotlib import style style.use('fivethirtyeight') fig = plt.figure() ax1 = fig.add_subplot(1,1,1) ani = animation.FuncAnimation(fig, animate, interval=1000) plt.show()
24.952381
78
0.605916
539f08b39f8bed483a13e19cdf11f4b9e2b776e6
1,850
py
Python
code/run_policy.py
kirk86/ARS
a4ac03e06bce5f183f7b18ea74b81c6c45c4426b
[ "BSD-2-Clause" ]
null
null
null
code/run_policy.py
kirk86/ARS
a4ac03e06bce5f183f7b18ea74b81c6c45c4426b
[ "BSD-2-Clause" ]
null
null
null
code/run_policy.py
kirk86/ARS
a4ac03e06bce5f183f7b18ea74b81c6c45c4426b
[ "BSD-2-Clause" ]
1
2019-03-27T14:11:16.000Z
2019-03-27T14:11:16.000Z
""" Code to load a policy and generate rollout data. Adapted from https://github.com/berkeleydeeprlcourse. Example usage: python run_policy.py ../trained_policies/Humanoid-v1/policy_reward_11600/lin_policy_plus.npz Humanoid-v1 --render \ --num_rollouts 20 """ import numpy as np import gym if __name__...
28.90625
119
0.605946
539f836eb4814996e6e8dcea4c9325a8edccf36d
6,048
py
Python
src/poliastro/plotting/tisserand.py
TreshUp/poliastro
602eb3c39d315be6dc1edaa12d72ab0e361334f6
[ "MIT" ]
null
null
null
src/poliastro/plotting/tisserand.py
TreshUp/poliastro
602eb3c39d315be6dc1edaa12d72ab0e361334f6
[ "MIT" ]
null
null
null
src/poliastro/plotting/tisserand.py
TreshUp/poliastro
602eb3c39d315be6dc1edaa12d72ab0e361334f6
[ "MIT" ]
null
null
null
""" Generates Tisserand plots """ from enum import Enum import numpy as np from astropy import units as u from matplotlib import pyplot as plt from poliastro.plotting._base import BODY_COLORS from poliastro.twobody.mean_elements import get_mean_elements from poliastro.util import norm
30.24
81
0.586475
53a13df64d25ae2c757b6265afa2baab533adc4f
3,122
py
Python
libs/Rack.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
22
2015-01-16T01:36:32.000Z
2020-06-08T00:46:18.000Z
libs/Rack.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
8
2015-12-28T18:56:19.000Z
2019-04-01T17:33:48.000Z
libs/Rack.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
13
2015-01-13T20:56:22.000Z
2022-02-23T06:01:17.000Z
from KeyValueTree import KeyValueTree from truth.models import KeyValue as TruthKeyValue, Truth from systems.models import KeyValue as KeyValue from django.test.client import RequestFactory from api_v2.keyvalue_handler import KeyValueHandler import json factory = RequestFactory()
34.688889
122
0.575593
53a26f62743c91c61bf312038531a22cbbef6701
151
py
Python
r2c_isg/functions/__init__.py
returntocorp/inputset-generator
c33952cc5683e9e70b24f76936c42ec8e354d121
[ "MIT" ]
3
2019-11-02T20:14:34.000Z
2020-01-23T21:47:20.000Z
r2c_isg/functions/__init__.py
returntocorp/inputset-generator
c33952cc5683e9e70b24f76936c42ec8e354d121
[ "MIT" ]
19
2019-09-18T01:48:07.000Z
2021-11-04T11:20:48.000Z
r2c_isg/functions/__init__.py
returntocorp/inputset-generator
c33952cc5683e9e70b24f76936c42ec8e354d121
[ "MIT" ]
3
2019-11-15T22:31:13.000Z
2020-03-10T10:19:39.000Z
from .trim import trim from .sample import sample from .sort import sort function_map = { 'trim': trim, 'sample': sample, 'sort': sort }
13.727273
26
0.649007
53a287190d58a2db9d8427aaa2bd973ac3e2cd59
59
py
Python
__init__.py
csalyk/nirspec
58661371871d29103afe42bfccc0bff9ff773914
[ "MIT-0" ]
null
null
null
__init__.py
csalyk/nirspec
58661371871d29103afe42bfccc0bff9ff773914
[ "MIT-0" ]
null
null
null
__init__.py
csalyk/nirspec
58661371871d29103afe42bfccc0bff9ff773914
[ "MIT-0" ]
null
null
null
from .nirspec import divspec from .nirspec import gluespec
19.666667
29
0.830508
53a2e756b6afda167f3e4ff4e520ec037aac6965
9,526
py
Python
poem.py
xcollantes/poetry-generator
456c9702f0105b49b8c3edbb55043a10efbf359b
[ "MIT" ]
null
null
null
poem.py
xcollantes/poetry-generator
456c9702f0105b49b8c3edbb55043a10efbf359b
[ "MIT" ]
null
null
null
poem.py
xcollantes/poetry-generator
456c9702f0105b49b8c3edbb55043a10efbf359b
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import print_function import datetime import os import random import sys import uuid import base64 import yaml import re try: import en except: print("DOWNLOD NODECUBE") print("""wget https://www.nodebox.net/code/data/media/linguistics.zip unzip lingui...
39.526971
97
0.43607
53a46773e97ade0a733cbe735e77d4be70d5d02d
3,927
py
Python
openstack/tests/unit/block_storage/v2/test_proxy.py
infonova/openstacksdk
3cf6730a71d8fb448f24af8a5b4e82f2af749cea
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/block_storage/v2/test_proxy.py
infonova/openstacksdk
3cf6730a71d8fb448f24af8a5b4e82f2af749cea
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/block_storage/v2/test_proxy.py
infonova/openstacksdk
3cf6730a71d8fb448f24af8a5b4e82f2af749cea
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
39.27
75
0.663102
53a4815531cf8a3d91a379873dd45b934995baa1
20,346
py
Python
src/ncstyler/console.py
starofrainnight/ncstyler
d13a6fa330b955db1cb9aa7a6ff1751ec41e82eb
[ "MIT" ]
null
null
null
src/ncstyler/console.py
starofrainnight/ncstyler
d13a6fa330b955db1cb9aa7a6ff1751ec41e82eb
[ "MIT" ]
null
null
null
src/ncstyler/console.py
starofrainnight/ncstyler
d13a6fa330b955db1cb9aa7a6ff1751ec41e82eb
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import CppHeaderParser import re import sys import yaml import copy import six import os.path import traceback def main(): a = Application() sys.exit(a.exec_()) if __name__ == "__main__": # Execute only if run as a script main()
38.172608
97
0.524182
53a4ae1a747ba84b0abf192cd72d5b27b2b5e891
1,527
py
Python
theone/wsgi/server.py
laozijiaojiangnan/TheOne
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
[ "Apache-2.0" ]
null
null
null
theone/wsgi/server.py
laozijiaojiangnan/TheOne
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
[ "Apache-2.0" ]
null
null
null
theone/wsgi/server.py
laozijiaojiangnan/TheOne
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
[ "Apache-2.0" ]
null
null
null
import typing as t from http.server import HTTPServer, BaseHTTPRequestHandler from . import response as resp
28.277778
105
0.612967
53a59bcf9df24d2abf9133b0c94be6aa674beda0
4,462
py
Python
pytorch_translate/attention/multihead_attention.py
dzhulgakov/translate
018d3eed8d93ff32e86c912e68045c7a3f4ed0b7
[ "BSD-3-Clause" ]
1
2019-06-14T20:20:39.000Z
2019-06-14T20:20:39.000Z
pytorch_translate/attention/multihead_attention.py
dzhulgakov/translate
018d3eed8d93ff32e86c912e68045c7a3f4ed0b7
[ "BSD-3-Clause" ]
null
null
null
pytorch_translate/attention/multihead_attention.py
dzhulgakov/translate
018d3eed8d93ff32e86c912e68045c7a3f4ed0b7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 from fairseq.modules import multihead_attention as fair_multihead from pytorch_translate.attention import ( BaseAttention, attention_utils, register_attention, )
35.412698
85
0.62528
53a74fabccfed340e02d074e5c163a36783d5463
1,102
py
Python
custom_components/purrsong/__init__.py
RobertD502/home-assistant-lavviebot
5c69f474786f043773cba42b7806fb77d4f89672
[ "MIT" ]
3
2021-04-15T21:23:26.000Z
2021-12-18T07:45:40.000Z
custom_components/purrsong/__init__.py
RobertD502/home-assistant-lavviebot
5c69f474786f043773cba42b7806fb77d4f89672
[ "MIT" ]
2
2021-10-21T12:08:32.000Z
2021-11-12T19:13:11.000Z
custom_components/purrsong/__init__.py
RobertD502/home-assistant-lavviebot
5c69f474786f043773cba42b7806fb77d4f89672
[ "MIT" ]
null
null
null
"""Support for Purrsong LavvieBot S""" import asyncio import logging import voluptuous as vol from lavviebot import LavvieBotApi import homeassistant.helpers.config_validation as cv from homeassistant import config_entries from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.exceptions import Co...
26.238095
83
0.772232
53a892c5198d37c345b5950774654f861533af79
2,904
py
Python
problems/Kelvin_Helmholtz/problem.py
sddyates/mars
a56735bd344b7337151fb419b1c832b0c702ea69
[ "MIT" ]
1
2019-12-20T20:29:14.000Z
2019-12-20T20:29:14.000Z
problems/Kelvin_Helmholtz/problem.py
sddyates/mars
a56735bd344b7337151fb419b1c832b0c702ea69
[ "MIT" ]
3
2019-08-30T08:12:16.000Z
2020-05-15T16:19:53.000Z
problems/Kelvin_Helmholtz/problem.py
sddyates/mars
a56735bd344b7337151fb419b1c832b0c702ea69
[ "MIT" ]
1
2019-12-21T03:51:30.000Z
2019-12-21T03:51:30.000Z
from mars import main_loop import numpy as np from mars.settings import * if __name__ == "__main__": main_loop(Problem())
24.2
68
0.490358
53a8f467665d04dfb54d9331579d408e1a611989
1,461
py
Python
pythainlp/util/thai.py
korkeatw/pythainlp
6fc7c3434d5e58c8e8e2bf13470445cbab0866bd
[ "Apache-2.0" ]
null
null
null
pythainlp/util/thai.py
korkeatw/pythainlp
6fc7c3434d5e58c8e8e2bf13470445cbab0866bd
[ "Apache-2.0" ]
null
null
null
pythainlp/util/thai.py
korkeatw/pythainlp
6fc7c3434d5e58c8e8e2bf13470445cbab0866bd
[ "Apache-2.0" ]
1
2020-05-27T09:53:09.000Z
2020-05-27T09:53:09.000Z
# -*- coding: utf-8 -*- """ Check if it is Thai text """ import string _DEFAULT_IGNORE_CHARS = string.whitespace + string.digits + string.punctuation def isthaichar(ch: str) -> bool: """ Check if a character is Thai :param str ch: input character :return: True or False """ ch_val = ord(...
22.476923
87
0.612594
53a95c744ad18d63a19b3fc856fe6442690ea1c8
54
py
Python
Numpy/tempCodeRunnerFile.py
zharmedia386/Data-Science-Stuff
40183c329e3b30c582c545c260ca7916f29e2f09
[ "MIT" ]
null
null
null
Numpy/tempCodeRunnerFile.py
zharmedia386/Data-Science-Stuff
40183c329e3b30c582c545c260ca7916f29e2f09
[ "MIT" ]
null
null
null
Numpy/tempCodeRunnerFile.py
zharmedia386/Data-Science-Stuff
40183c329e3b30c582c545c260ca7916f29e2f09
[ "MIT" ]
null
null
null
print(b) print(c) print(d) print(e) print(f) print(g)
7.714286
8
0.666667
53a96c42fcec2518a3a26c0e6dece5934119cc53
1,941
py
Python
Python/Filter.py
KilroyWasHere-cs-j/savitzky-golay
2ce110d54e9ad7bc1e4a0c29fa80ad8303ec530f
[ "MIT" ]
null
null
null
Python/Filter.py
KilroyWasHere-cs-j/savitzky-golay
2ce110d54e9ad7bc1e4a0c29fa80ad8303ec530f
[ "MIT" ]
null
null
null
Python/Filter.py
KilroyWasHere-cs-j/savitzky-golay
2ce110d54e9ad7bc1e4a0c29fa80ad8303ec530f
[ "MIT" ]
null
null
null
import numpy as np from scipy.signal import savgol_filter import matplotlib.pyplot as plt import MadDog x = [] y = [] # Generating the noisy signal x, y = fill_data() print(len(y)) # Savitzky-Golay filter x_filtered, y_filtered = savitzky(x, y, 2) print("X unfiltered>> ", x) print("Y unfiltered>> ", y) print("X...
26.589041
107
0.640907
53aa536c76b41bd1afbf13c8b634be33ef9462e1
8,087
py
Python
examples/adwords/v201406/advanced_operations/add_ad_customizer.py
dietrichc/streamline-ppc-reports
256f79246aba3c2cf8f792d87a066391a2f471e0
[ "Apache-2.0" ]
null
null
null
examples/adwords/v201406/advanced_operations/add_ad_customizer.py
dietrichc/streamline-ppc-reports
256f79246aba3c2cf8f792d87a066391a2f471e0
[ "Apache-2.0" ]
null
null
null
examples/adwords/v201406/advanced_operations/add_ad_customizer.py
dietrichc/streamline-ppc-reports
256f79246aba3c2cf8f792d87a066391a2f471e0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2014 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 b...
32.09127
80
0.614072
53aaad486aeb5cf94c98b45787e68241bed70175
2,001
py
Python
tests/test_minhash.py
azachar/pyminhash
8a595fb25fe7172ea31d604fe8a40b8c11f1b8af
[ "MIT" ]
null
null
null
tests/test_minhash.py
azachar/pyminhash
8a595fb25fe7172ea31d604fe8a40b8c11f1b8af
[ "MIT" ]
null
null
null
tests/test_minhash.py
azachar/pyminhash
8a595fb25fe7172ea31d604fe8a40b8c11f1b8af
[ "MIT" ]
null
null
null
import pytest from pyminhash import MinHash from pyminhash.datasets import load_data
30.318182
102
0.667166
53ab5b39a644e03ecaaf97048f3ae768e29b5a48
503
py
Python
settings.py
danylo-dudok/youtube-rss
c4478605274cdeac33f909d7fcb7d265898e80bc
[ "MIT" ]
null
null
null
settings.py
danylo-dudok/youtube-rss
c4478605274cdeac33f909d7fcb7d265898e80bc
[ "MIT" ]
null
null
null
settings.py
danylo-dudok/youtube-rss
c4478605274cdeac33f909d7fcb7d265898e80bc
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from typing import final from tools import localize_time RSS_URL_PREFIX: final = 'https://www.youtube.com/feeds/videos.xml?channel_id={0}' LOCATION_ARGUMENT_PREFIX: final = '--location=' CHANNEL_ARGUMENT_PREFIX: final = '--channels=' LAST_CHECK_ARGUMENT_PREFIX: final = '--last...
35.928571
93
0.787276
53ac58babeeeae8a59ad21aa748c5f201e132f9d
1,325
py
Python
openpicle/caravel.py
DX-MON/OpenPICle
c036333f807b1b4959af22bde8c4cac553ef162f
[ "BSD-3-Clause" ]
null
null
null
openpicle/caravel.py
DX-MON/OpenPICle
c036333f807b1b4959af22bde8c4cac553ef162f
[ "BSD-3-Clause" ]
null
null
null
openpicle/caravel.py
DX-MON/OpenPICle
c036333f807b1b4959af22bde8c4cac553ef162f
[ "BSD-3-Clause" ]
null
null
null
# SPDX-License-Identifier: BSD-3-Clause from amaranth import Elaboratable, Module, Signal, ResetInserter, EnableInserter __all__ = ( 'PIC16Caravel', )
25
82
0.682264
53ad1ae14a311f840335b9dec9f60aa2cc4425a1
2,615
py
Python
cogs/stats.py
est73/raid-shack
727b79a50a0ff5a5fc1cdfe03d51ba6703343b2e
[ "MIT" ]
null
null
null
cogs/stats.py
est73/raid-shack
727b79a50a0ff5a5fc1cdfe03d51ba6703343b2e
[ "MIT" ]
null
null
null
cogs/stats.py
est73/raid-shack
727b79a50a0ff5a5fc1cdfe03d51ba6703343b2e
[ "MIT" ]
null
null
null
from discord.ext import commands import discord
35.337838
84
0.507457
53b0797fa1d2b73bd60c7d0448335bb8ff3970e6
2,995
py
Python
tests/bucket/test_bucket.py
WillChilds-Klein/mistress-mapreduce
c991a502545bd0d3ec4f914cdc63faf6a40e77ae
[ "Apache-2.0" ]
2
2018-12-02T11:10:15.000Z
2019-02-21T22:24:00.000Z
tests/bucket/test_bucket.py
WillChilds-Klein/mistress-mapreduce
c991a502545bd0d3ec4f914cdc63faf6a40e77ae
[ "Apache-2.0" ]
1
2019-02-21T22:23:36.000Z
2019-02-21T22:23:36.000Z
tests/bucket/test_bucket.py
WillChilds-Klein/mistress-mapreduce
c991a502545bd0d3ec4f914cdc63faf6a40e77ae
[ "Apache-2.0" ]
3
2018-04-26T16:02:10.000Z
2018-12-02T11:10:16.000Z
from mrs.bucket import WriteBucket from mrs import BinWriter, HexWriter # vim: et sw=4 sts=4
26.741071
69
0.621035
53b14303d9879fe4fc46ca016bb6d34bfedbf48e
35,783
py
Python
inquire/agents/dempref.py
HARPLab/inquire
fa74eb10e5391a0f226753668a31527c68fc6962
[ "BSD-3-Clause" ]
null
null
null
inquire/agents/dempref.py
HARPLab/inquire
fa74eb10e5391a0f226753668a31527c68fc6962
[ "BSD-3-Clause" ]
null
null
null
inquire/agents/dempref.py
HARPLab/inquire
fa74eb10e5391a0f226753668a31527c68fc6962
[ "BSD-3-Clause" ]
null
null
null
""" An agent which uses demonstrations and preferences. Code adapted from Learning Reward Functions by Integrating Human Demonstrations and Preferences. """ import itertools import os import time from pathlib import Path from typing import Dict, List import arviz as az from inquire.agents.agent import Agent from inq...
40.570295
123
0.506386
53b25c7fce6d985ae97109a316a32f1fdb359f32
1,049
py
Python
coba/learners/__init__.py
mrucker/banditbenchmark
0365291b3a0cf1d862d294e0386d0ccad3f360f1
[ "BSD-3-Clause" ]
1
2020-07-22T13:43:14.000Z
2020-07-22T13:43:14.000Z
coba/learners/__init__.py
mrucker/coba
4f679fb5c6e39e2d0bf3e609c77a2a6865168795
[ "BSD-3-Clause" ]
null
null
null
coba/learners/__init__.py
mrucker/coba
4f679fb5c6e39e2d0bf3e609c77a2a6865168795
[ "BSD-3-Clause" ]
null
null
null
"""This module contains all public learners and learner interfaces.""" from coba.learners.primitives import Learner, SafeLearner from coba.learners.bandit import EpsilonBanditLearner, UcbBanditLearner, FixedLearner, RandomLearner from coba.learners.corral import CorralLearner from coba.learners.vowpal impo...
36.172414
122
0.766444
53b40880bc916c9f0a3ace8c04060a57ded76e7b
24,347
py
Python
virtual/lib/python3.8/site-packages/dns/zonefile.py
Lenus254/personal_blog
aac38e4b5372c86efa8e24db2e051fef8e5feef8
[ "Unlicense" ]
1
2022-01-27T05:54:14.000Z
2022-01-27T05:54:14.000Z
virtual/lib/python3.8/site-packages/dns/zonefile.py
Lenus254/personal_blog
aac38e4b5372c86efa8e24db2e051fef8e5feef8
[ "Unlicense" ]
null
null
null
virtual/lib/python3.8/site-packages/dns/zonefile.py
Lenus254/personal_blog
aac38e4b5372c86efa8e24db2e051fef8e5feef8
[ "Unlicense" ]
null
null
null
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and ...
38.9552
83
0.548897
53b4099090d815c2fccdfff9285d6d8c4361e95f
11,719
py
Python
swift/common/daemon.py
fossabot/swift-1
63fc013b8b96484cede0e9901ad54676b8c93298
[ "Apache-2.0" ]
null
null
null
swift/common/daemon.py
fossabot/swift-1
63fc013b8b96484cede0e9901ad54676b8c93298
[ "Apache-2.0" ]
null
null
null
swift/common/daemon.py
fossabot/swift-1
63fc013b8b96484cede0e9901ad54676b8c93298
[ "Apache-2.0" ]
1
2020-03-09T19:58:52.000Z
2020-03-09T19:58:52.000Z
# Copyright (c) 2010-2012 OpenStack Foundation # # 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...
36.621875
79
0.63572
53b4d42745fdda68cc9c6626c17825d3356f7324
474
py
Python
backend/resource_files_sample.py
Bhaskers-Blu-Org1/multicloud-incident-response-navigator
e6ba6322fdcc533b6ed14abb4681470a6bb6bd85
[ "Apache-2.0" ]
null
null
null
backend/resource_files_sample.py
Bhaskers-Blu-Org1/multicloud-incident-response-navigator
e6ba6322fdcc533b6ed14abb4681470a6bb6bd85
[ "Apache-2.0" ]
null
null
null
backend/resource_files_sample.py
Bhaskers-Blu-Org1/multicloud-incident-response-navigator
e6ba6322fdcc533b6ed14abb4681470a6bb6bd85
[ "Apache-2.0" ]
1
2020-07-30T10:07:19.000Z
2020-07-30T10:07:19.000Z
import resource_files resources = resource_files.ResourceFiles() # sample use case of getting yamls print(resources.get_yaml("Pod", "jumpy-shark-gbapp-frontend-844fdccf55-ggkbf", "default", "mycluster")) # sample use case of getting events print(resources.get_events('mycluster','default','78abd8c9-ac06-11e9-b68f-0e7...
36.461538
103
0.78481
53b5ca21f061bcccc9e7720c97265d2e56f05552
1,305
py
Python
backend/api/v1/auth_module/auth_api.py
aroraenterprise/projecteos
e1fb0438af8cb59b77792523c6616c480b23a6f8
[ "MIT" ]
null
null
null
backend/api/v1/auth_module/auth_api.py
aroraenterprise/projecteos
e1fb0438af8cb59b77792523c6616c480b23a6f8
[ "MIT" ]
null
null
null
backend/api/v1/auth_module/auth_api.py
aroraenterprise/projecteos
e1fb0438af8cb59b77792523c6616c480b23a6f8
[ "MIT" ]
null
null
null
""" Project: flask-rest Author: Saj Arora Description: Handle auth endpoints such as auth/signup, auth/login """ from api.v1 import make_json_ok_response, SageController, SageMethod from api.v1.fundamentals import helper from .auth_controller import AuthController auth_controller = { 'signup': SageController(sa...
36.25
104
0.744828
53b66284f62a337ba9819ca33a9acfe617722619
1,785
py
Python
tests/QuantumToolboxIntegration/test_singleQubitOpenDynamics.py
AngsarM/QuanGuru
5db6105f843bbc78c2d5b1547e32d494fbe10b8d
[ "BSD-3-Clause" ]
9
2021-05-23T06:30:45.000Z
2021-12-27T13:33:54.000Z
tests/QuantumToolboxIntegration/test_singleQubitOpenDynamics.py
cahitkargi/QuanGuru
9b5c94465cd58bc32f6ff845f29dfdec7e0f9075
[ "BSD-3-Clause" ]
26
2022-03-18T02:40:54.000Z
2022-03-25T07:00:25.000Z
tests/QuantumToolboxIntegration/test_singleQubitOpenDynamics.py
cahitkargi/QuanGuru
9b5c94465cd58bc32f6ff845f29dfdec7e0f9075
[ "BSD-3-Clause" ]
5
2021-05-23T06:30:24.000Z
2022-02-04T02:40:08.000Z
import random as rn import numpy as np # open system dynamics of a qubit and compare numerical results with the analytical calculations # NOTE these are also TUTORIALS of the library, so see the Tutorials for what these are doing and analytical # calculations. # currently includes 2 cases: (i) decay only, and (ii) un...
45.769231
117
0.773109
53b6650eb89817fbb23a4d021878f43cb942eb48
538
py
Python
QuGraphy/state.py
Mohamed-ShehabEldin/QuGraphy
c43fe7128f91e7bd383393f5ff16ff613077e8d7
[ "Apache-2.0" ]
null
null
null
QuGraphy/state.py
Mohamed-ShehabEldin/QuGraphy
c43fe7128f91e7bd383393f5ff16ff613077e8d7
[ "Apache-2.0" ]
null
null
null
QuGraphy/state.py
Mohamed-ShehabEldin/QuGraphy
c43fe7128f91e7bd383393f5ff16ff613077e8d7
[ "Apache-2.0" ]
null
null
null
#this file will contain function that related to vector state from .density import * #we may use some functions from them and dependencies
25.619048
79
0.633829
53b6dc5235fed6c6481fdc6dfb8b105b1f554689
4,480
py
Python
uncoverml/metadata_profiler.py
GeoscienceAustralia/uncoverml
672914377afa4ad1c069fcd4845bc45f80132e36
[ "Apache-2.0" ]
34
2017-03-14T23:59:58.000Z
2022-03-03T18:04:25.000Z
uncoverml/metadata_profiler.py
GeoscienceAustralia/uncoverml
672914377afa4ad1c069fcd4845bc45f80132e36
[ "Apache-2.0" ]
106
2017-03-22T00:26:10.000Z
2022-03-12T00:19:08.000Z
uncoverml/metadata_profiler.py
GeoscienceAustralia/uncoverml
672914377afa4ad1c069fcd4845bc45f80132e36
[ "Apache-2.0" ]
21
2017-05-04T04:02:39.000Z
2022-02-04T00:55:18.000Z
#! /usr/bin/env python """ Description: Gather Metadata for the uncover-ml prediction output results: Reference: email 2019-05-24 Overview Creator: (person who generated the model) Model; Name: Type and date: Algorithm: Extent: Lat/long - location on Australia map? SB Notes: None of the above is r...
32.941176
206
0.620536
53b7cf475edf549606a00bf10c8b39ab817c0d94
72
py
Python
testjpkg/jsonify/hij.py
thisisishara/test_pypi_cli
15b22ed8943a18a6d9de9ee4ba6a84249a633e2e
[ "MIT" ]
null
null
null
testjpkg/jsonify/hij.py
thisisishara/test_pypi_cli
15b22ed8943a18a6d9de9ee4ba6a84249a633e2e
[ "MIT" ]
null
null
null
testjpkg/jsonify/hij.py
thisisishara/test_pypi_cli
15b22ed8943a18a6d9de9ee4ba6a84249a633e2e
[ "MIT" ]
null
null
null
print("hiiiiiiiiiiiiiiiix")
12
28
0.666667
53b7d55368f6a08688dd3db11b258ac91759ec48
2,447
py
Python
asv_bench/benchmarks/algorithms.py
raspbian-packages/pandas
fb33806b5286deb327b2e0fa96aedf25a6ed563f
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
asv_bench/benchmarks/algorithms.py
raspbian-packages/pandas
fb33806b5286deb327b2e0fa96aedf25a6ed563f
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
asv_bench/benchmarks/algorithms.py
raspbian-packages/pandas
fb33806b5286deb327b2e0fa96aedf25a6ed563f
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd from pandas.util import testing as tm
26.89011
67
0.612178
53b8d7ac852024e1d3318cbf747bac9b0ef35d8a
28,857
py
Python
RMtools_1D/do_RMsynth_1D.py
lh-astro/RM-Tools
ac64cc41b2f696f21ee7dd001303cbad1ff71114
[ "MIT" ]
null
null
null
RMtools_1D/do_RMsynth_1D.py
lh-astro/RM-Tools
ac64cc41b2f696f21ee7dd001303cbad1ff71114
[ "MIT" ]
null
null
null
RMtools_1D/do_RMsynth_1D.py
lh-astro/RM-Tools
ac64cc41b2f696f21ee7dd001303cbad1ff71114
[ "MIT" ]
null
null
null
#!/usr/bin/env python #=============================================================================# # # # NAME: do_RMsynth_1D.py # # ...
45.159624
111
0.524517
53b911e92af8c5251a19a68b93418217d94e2790
310
py
Python
cogdl/modules/conv/__init__.py
awesome-archive/cogdl
0a354eaaaf851e7218197508e7e85a81d3fb5753
[ "MIT" ]
8
2020-06-03T00:55:09.000Z
2022-01-23T16:06:56.000Z
cogdl/modules/conv/__init__.py
awesome-archive/cogdl
0a354eaaaf851e7218197508e7e85a81d3fb5753
[ "MIT" ]
null
null
null
cogdl/modules/conv/__init__.py
awesome-archive/cogdl
0a354eaaaf851e7218197508e7e85a81d3fb5753
[ "MIT" ]
6
2020-06-03T00:55:11.000Z
2022-03-16T01:14:36.000Z
from .message_passing import MessagePassing from .gcn_conv import GCNConv from .gat_conv import GATConv from .se_layer import SELayer from .aggregator import Meanaggregator from .maggregator import meanaggr __all__ = [ 'MessagePassing', 'GCNConv', 'GATConv', 'SELayer', 'Meanaggregator' ]
20.666667
43
0.751613
53b93c021c611ea7b35c2a4e8768e23aee0fabe0
1,449
py
Python
netket/utils/jax.py
gpescia/MyNetKet
958510966a5870d9d491de0628903cf1fc210921
[ "Apache-2.0" ]
1
2022-01-31T15:19:09.000Z
2022-01-31T15:19:09.000Z
netket/utils/jax.py
gpescia/MyNetKet
958510966a5870d9d491de0628903cf1fc210921
[ "Apache-2.0" ]
26
2021-08-06T15:27:57.000Z
2022-03-30T16:55:18.000Z
netket/utils/jax.py
gpescia/MyNetKet
958510966a5870d9d491de0628903cf1fc210921
[ "Apache-2.0" ]
1
2021-04-25T15:47:32.000Z
2021-04-25T15:47:32.000Z
# Copyright 2021 The NetKet Authors - 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 ...
30.829787
78
0.712215
53b95578f3b9aa9d904006c7f7edb3a1fb45bd48
10,933
py
Python
geetools/batch/featurecollection.py
Kungreye/gee_tools
d0712ac78410250c41503ca08075f536d58d2ef3
[ "MIT" ]
null
null
null
geetools/batch/featurecollection.py
Kungreye/gee_tools
d0712ac78410250c41503ca08075f536d58d2ef3
[ "MIT" ]
null
null
null
geetools/batch/featurecollection.py
Kungreye/gee_tools
d0712ac78410250c41503ca08075f536d58d2ef3
[ "MIT" ]
null
null
null
# coding=utf-8 import ee from . import utils import json import csv from .. import tools def fromShapefile(filename, crs=None, start=None, end=None): """ Convert an ESRI file (.shp and .dbf must be present) to a ee.FeatureCollection At the moment only works for shapes with less than 1000 records and does...
32.346154
83
0.611269
53bae4caf0f5e1b3ae61fd16a27c99803d8b7c2e
1,357
py
Python
index.py
extwiii/Rock-paper-scissors-lizard-Spock
7a8eda9f168636a9878c91620e625997ba0994a8
[ "Apache-2.0" ]
1
2018-08-02T00:52:33.000Z
2018-08-02T00:52:33.000Z
index.py
extwiii/Rock-paper-scissors-lizard-Spock
7a8eda9f168636a9878c91620e625997ba0994a8
[ "Apache-2.0" ]
null
null
null
index.py
extwiii/Rock-paper-scissors-lizard-Spock
7a8eda9f168636a9878c91620e625997ba0994a8
[ "Apache-2.0" ]
null
null
null
# Rock-paper-scissors-lizard-Spock template # The key idea of this program is to equate the strings # "rock", "paper", "scissors", "lizard", "Spock" to numbers # as follows: # # 0 - rock # 1 - Spock # 2 - paper # 3 - lizard # 4 - scissors import random rpsls("rock") rpsls("Spock") rpsls("paper") rpsls("lizard") rpsl...
21.539683
59
0.590273
53bd7ca2bf66bb072074f8694f4fa68fad92a150
9,067
py
Python
libs/clustering/ensembles/utils.py
greenelab/phenoplier
95f04b17f0b5227560fcf32ac0a85b2c5aa9001f
[ "BSD-2-Clause-Patent" ]
3
2021-08-17T21:59:19.000Z
2022-03-08T15:46:24.000Z
libs/clustering/ensembles/utils.py
greenelab/phenoplier
95f04b17f0b5227560fcf32ac0a85b2c5aa9001f
[ "BSD-2-Clause-Patent" ]
4
2021-08-04T13:57:24.000Z
2021-10-11T14:57:15.000Z
libs/clustering/ensembles/utils.py
greenelab/phenoplier
95f04b17f0b5227560fcf32ac0a85b2c5aa9001f
[ "BSD-2-Clause-Patent" ]
null
null
null
""" Contains functions to generate and combine a clustering ensemble. """ import numpy as np import pandas as pd from sklearn.metrics import pairwise_distances from sklearn.metrics import adjusted_rand_score as ari from sklearn.metrics import adjusted_mutual_info_score as ami from sklearn.metrics import normalized_mutu...
35.837945
88
0.644645
53bdcb0790280882aedd07e5cb2cef0159140f96
7,236
py
Python
backend/chart/application/service/employees.py
toshi-click/chart_app
10577d7835554a93688ae0c58ecb25fbe2925bec
[ "BSD-3-Clause" ]
null
null
null
backend/chart/application/service/employees.py
toshi-click/chart_app
10577d7835554a93688ae0c58ecb25fbe2925bec
[ "BSD-3-Clause" ]
7
2020-10-25T05:34:54.000Z
2020-12-02T11:31:44.000Z
backend/chart/application/service/employees.py
toshi-click/chart_app
10577d7835554a93688ae0c58ecb25fbe2925bec
[ "BSD-3-Clause" ]
1
2021-04-30T16:51:43.000Z
2021-04-30T16:51:43.000Z
import logging from django.db import transaction, connection from django.utils import timezone from django.utils.timezone import localtime from chart.application.enums.department_type import DepartmentType from chart.application.enums.gender_type import GenderType from chart.application.service.app_logic_base import ...
43.590361
116
0.674268
53bf55da72ae86acb1c699435bc12016f38e84ea
146
py
Python
DataQualityTester/views/pages.py
pwyf/data-quality-tester
d7674849c64d4d41ff4e4b6b12631994c7ce0a92
[ "MIT" ]
null
null
null
DataQualityTester/views/pages.py
pwyf/data-quality-tester
d7674849c64d4d41ff4e4b6b12631994c7ce0a92
[ "MIT" ]
53
2017-04-07T09:41:38.000Z
2022-02-11T14:26:46.000Z
DataQualityTester/views/pages.py
pwyf/iati-simple-tester
ef7f06ebbd4dd45e6ca76d93a3f624abc33d961c
[ "MIT" ]
3
2017-07-19T13:43:14.000Z
2019-10-29T15:25:49.000Z
from flask import render_template
14.6
41
0.726027
53bfb5244dff3d80fd05051eac4247280b733cea
5,761
py
Python
hastakayit_gui.py
roselight/Image-Recognition-with-OpenCv
4d0607f37bc80ee0b00790cdcbb0a22c76852ac4
[ "MIT" ]
2
2020-04-10T21:53:52.000Z
2020-04-11T12:24:35.000Z
hastakayit_gui.py
roselight/Image-Recognition-with-OpenCv
4d0607f37bc80ee0b00790cdcbb0a22c76852ac4
[ "MIT" ]
null
null
null
hastakayit_gui.py
roselight/Image-Recognition-with-OpenCv
4d0607f37bc80ee0b00790cdcbb0a22c76852ac4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\hastakayit_gui.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets import mysql.connector from PyQt5.QtWidgets import QMessageBox,QWidget,Q...
44.658915
117
0.69849
53c0dd2b4f081d4c8d070b26922f68bf139eaa76
4,138
py
Python
.travis/manage_daily_builds.py
loonwerks/AGREE
58640ab89aaa3c72ccca0b8c80cf96d1815981da
[ "BSD-3-Clause" ]
5
2020-12-28T15:41:04.000Z
2021-07-31T09:07:28.000Z
.travis/manage_daily_builds.py
loonwerks/AGREE
58640ab89aaa3c72ccca0b8c80cf96d1815981da
[ "BSD-3-Clause" ]
89
2020-01-27T17:16:00.000Z
2022-03-31T09:57:25.000Z
.travis/manage_daily_builds.py
loonwerks/AGREE
58640ab89aaa3c72ccca0b8c80cf96d1815981da
[ "BSD-3-Clause" ]
5
2020-02-25T00:33:21.000Z
2021-01-02T07:23:11.000Z
#!/usr/bin/env python3 ''' Copyright (c) 2021, Collins Aerospace. Developed with the sponsorship of Defense Advanced Research Projects Agency (DARPA). Permission is hereby granted, free of charge, to any person obtaining a copy of this data, including any software or models in source or binary form, as well as any d...
48.682353
137
0.678347
53c1b1b92893f74554831ae30476aefdb5464370
5,743
py
Python
tests/crowdsourcing/tasks/turn_annotations_static/test_turn_annotations_static_analysis.py
KaihuiLiang/ParlAI
fb5c92741243756516fa50073d34e94ba0b6981e
[ "MIT" ]
null
null
null
tests/crowdsourcing/tasks/turn_annotations_static/test_turn_annotations_static_analysis.py
KaihuiLiang/ParlAI
fb5c92741243756516fa50073d34e94ba0b6981e
[ "MIT" ]
1
2020-11-12T02:20:02.000Z
2020-11-12T02:20:02.000Z
tests/crowdsourcing/tasks/turn_annotations_static/test_turn_annotations_static_analysis.py
MoPei/ParlAI
321bc857f2765cd76d5134531a802442ac4c9f5c
[ "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. """ Test components of specific crowdsourcing tasks. """ import json import os import unittest import pandas as pd imp...
37.292208
93
0.482675
53c38f978d506f03ad72b1b6b50a34e76cbf6a7b
3,937
py
Python
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/extras/messaging/rabbitmq_plugin.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
1
2020-10-14T00:06:54.000Z
2020-10-14T00:06:54.000Z
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/extras/messaging/rabbitmq_plugin.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
null
null
null
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/extras/messaging/rabbitmq_plugin.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
2
2015-08-06T07:45:48.000Z
2017-01-04T17:47:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Chatham Financial <oss@chathamfinancial.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3...
30.053435
88
0.654559
53c4401601b96a14bafd9a44d9c96d488de53fcf
7,279
py
Python
vitrage/datasources/static/driver.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/datasources/static/driver.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/datasources/static/driver.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 - Nokia, ZTE # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
37.911458
79
0.637588
53c47f75ab180de02752f1ea49f9b87157a860e1
2,406
py
Python
napari/layers/shapes/mesh.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
null
null
null
napari/layers/shapes/mesh.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
null
null
null
napari/layers/shapes/mesh.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
null
null
null
import numpy as np
38.806452
79
0.646301
53c5781ea07cd092d5d5320da909512506460ef4
184
py
Python
python/helpers.py
cdacos/astrophysics_with_a_pc
b0017856005a4771fbd89c8137fb320b72b1b633
[ "FSFAP" ]
null
null
null
python/helpers.py
cdacos/astrophysics_with_a_pc
b0017856005a4771fbd89c8137fb320b72b1b633
[ "FSFAP" ]
null
null
null
python/helpers.py
cdacos/astrophysics_with_a_pc
b0017856005a4771fbd89c8137fb320b72b1b633
[ "FSFAP" ]
1
2021-03-14T23:13:28.000Z
2021-03-14T23:13:28.000Z
import sys
20.444444
45
0.63587
53c5eb302f7f03de564020dfecea1ce909aa994c
12,916
py
Python
configs/docker-ubuntu-img/para.py
MarioCarrilloA/stx-packaging
56cf32c4d65ba20f9317102d922ce946a800527d
[ "Apache-2.0" ]
1
2019-06-02T00:28:03.000Z
2019-06-02T00:28:03.000Z
configs/docker-ubuntu-img/para.py
MarioCarrilloA/stx-packaging
56cf32c4d65ba20f9317102d922ce946a800527d
[ "Apache-2.0" ]
11
2019-04-05T16:04:54.000Z
2019-08-23T19:24:49.000Z
configs/docker-ubuntu-img/para.py
MarioCarrilloA/stx-packaging
56cf32c4d65ba20f9317102d922ce946a800527d
[ "Apache-2.0" ]
5
2019-02-18T23:11:30.000Z
2019-04-29T07:42:31.000Z
#!/usr/bin/python3 # vim:se tw=0 sts=4 ts=4 et ai: """ Copyright 2014 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
38.440476
554
0.477083
53c6b101ead41851286a75be3bcca965a4128b2f
6,164
py
Python
build/lib/jet_django/views/model.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
193
2018-08-27T06:10:48.000Z
2022-03-08T13:04:55.000Z
build/lib/jet_django/views/model.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
23
2018-10-21T15:05:41.000Z
2020-12-20T15:18:58.000Z
build/lib/jet_django/views/model.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
38
2018-10-31T16:19:25.000Z
2022-02-10T05:08:24.000Z
from django.core.exceptions import NON_FIELD_ERRORS from rest_framework import status, viewsets, serializers from rest_framework.decorators import list_route from rest_framework.response import Response from rest_framework.serializers import ModelSerializer from jet_django.filters.model_aggregate import AggregateFilte...
36.91018
161
0.638384