repo_name stringlengths 5 92 | path stringlengths 4 232 | copies stringclasses 19
values | size stringlengths 4 7 | content stringlengths 721 1.04M | license stringclasses 15
values | hash int64 -9,223,277,421,539,062,000 9,223,102,107B | line_mean float64 6.51 99.9 | line_max int64 15 997 | alpha_frac float64 0.25 0.97 | autogenerated bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|
snorp/hyde | hydeengine/siteinfo.py | 1 | 18444 | import sys
import re
import time as sleeper
import operator
from datetime import date, datetime, time
from threading import Thread, Event
from hydeengine import url
from hydeengine.file_system import File, Folder
class SiteResource(object):
def __init__(self, a_file, node):
super(SiteResource, self).__in... | mit | -2,269,040,068,060,413,000 | 29.639535 | 94 | 0.529278 | false |
vivyly/terralope | interest/models.py | 1 | 1383 | from django.db import models
class InterestStatus(models.Model):
status = models.CharField() #choices=visited, upcoming, skip, other
reason = models.TextField()
priority = models.IntegerField() #ramge: 1 to 5
class InterestType(models.Model):
itype = models.CharField() #choices=restaurant, cafe, s... | bsd-3-clause | -2,270,946,406,100,435,200 | 36.378378 | 104 | 0.671728 | false |
Nikita1710/ANUFifty50-Online-Mentoring-Platform | project/fifty_fifty/pair/models.py | 1 | 5408 | from django.db import models
from webcore.models import Profile
from django.core.exceptions import ValidationError
# Create your models here.
class Pair(models.Model):
"""
This class defines a mentor-mentee pair
It contains mentor name matched with mentee name
"""
name = models.CharField(max_len... | apache-2.0 | -3,124,029,483,599,776,000 | 45.62069 | 175 | 0.690089 | false |
mgax/airship | tests/instance_test.py | 1 | 3213 | from datetime import datetime
import json
from mock import Mock, patch, call
from common import AirshipTestCase
class ProgramsRecorder(object):
def __init__(self):
self.programs = []
def __call__(self, bucket_id, programs):
self.programs.extend([{'name': name, 'command': p['command']}
... | bsd-2-clause | 1,123,626,564,624,386,200 | 34.7 | 77 | 0.620293 | false |
VT-CHCI/migrated-6DOF-techniques | homer_kinect.py | 1 | 11693 | import viz
import os
import fnmatch
import random
import math
import vizmat
import vetools
import kinect
import time
#Voice Includes
from win32com.client import constants
import win32com.client
import pythoncom
VOICE_ACTIONS = { "pickup" : 0
,"drop" : 1
,"move" : 2
,"turn right" : 3
... | gpl-2.0 | 3,363,622,253,121,453,600 | 29.774457 | 196 | 0.719832 | false |
sserrot/champion_relationships | venv/Lib/site-packages/networkx/readwrite/tests/test_gpickle.py | 1 | 2098 | #!/usr/bin/env python
import os
import tempfile
import networkx as nx
from networkx.testing.utils import *
class TestGpickle(object):
@classmethod
def setup_class(cls):
G = nx.Graph(name="test")
e = [('a', 'b'), ('b', 'c'), ('c', 'd'), ('d', 'e'), ('e', 'f'), ('a', 'f')]
G.add_edges_f... | mit | 8,515,580,088,358,273,000 | 31.78125 | 84 | 0.472831 | false |
TuSimple/simpledet | core/detection_metric.py | 1 | 6411 | import mxnet as mx
import numpy as np
class EvalMetricWithSummary(mx.metric.EvalMetric):
def __init__(self, name, output_names=None, label_names=None, summary=None, **kwargs):
super().__init__(name, output_names=output_names, label_names=label_names, **kwargs)
self.summary = summary
self.g... | apache-2.0 | -4,316,445,551,903,096,300 | 34.622222 | 95 | 0.576821 | false |
hankcs/HanLP | hanlp/utils/file_read_backwards/buffer_work_space.py | 1 | 6248 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""BufferWorkSpace module."""
import os
new_lines = ["\r\n", "\n", "\r"]
new_lines_bytes = [n.encode("ascii") for n in new_lines] # we only support encodings that's backward compat with ascii
class BufferWorkSpace:
"""It is a helper module for FileReadBackwards."... | apache-2.0 | 6,088,511,471,272,099,000 | 29.930693 | 119 | 0.616517 | false |
Neoklosch/Motey | tests/models/test_service_model.py | 1 | 3614 | import unittest
import uuid
from motey.models.image import Image
from motey.models.service import Service
from motey.models.service_state import ServiceState
class TestServiceModel(unittest.TestCase):
@classmethod
def setUp(self):
self.service_id = uuid.uuid4().hex
self.expecting_service = Se... | apache-2.0 | -6,646,852,243,268,312,000 | 49.194444 | 101 | 0.532651 | false |
valpo-sats/scheduling-bazaar | python-files/OriginalFiles/plot_access_time.py | 1 | 1380 | import ephem
import matplotlib.pyplot as plt
def plot_access_time(start, gs, tle):
"""Plots Access Time in seconds/day.
Arguments:
start -- string formatted 'yyyy/mm/dd HH:MM:SS'
gs -- 4 element list containing desired [name,lat,lon,alt]
tle -- 3 element list containing desired tle [line0,line1,... | agpl-3.0 | -5,564,691,874,353,863,000 | 27.163265 | 106 | 0.592754 | false |
sonali0901/zulip | tools/tests/test_template_parser.py | 1 | 7066 | from __future__ import absolute_import
from __future__ import print_function
from typing import Optional, Any
import sys
import unittest
try:
from tools.lib.template_parser import (
TemplateParserException,
is_django_block_tag,
tokenize,
validate,
)
except ImportError:
pri... | apache-2.0 | -798,909,012,626,543,000 | 27.959016 | 135 | 0.505519 | false |
ghchinoy/tensorflow | tensorflow/python/eager/context.py | 1 | 59347 | # Copyright 2017 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... | apache-2.0 | -604,187,361,074,344,600 | 33.304624 | 89 | 0.689302 | false |
hellrich/JeSemE | pipeline/transform_models/representations/explicit.py | 1 | 2705 | import heapq
from scipy.sparse import dok_matrix, csr_matrix
import numpy as np
from representations.matrix_serializer import load_vocabulary, load_matrix
class Explicit:
"""
Base class for explicit representations. Assumes that the serialized input is e^PMI.
"""
def __init__(self,... | mit | 176,913,104,907,567,780 | 30.202381 | 88 | 0.543068 | false |
phaethon/scapy | kamene/fields.py | 1 | 29092 | ## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
"""
Fields: basic data structures that make up parts of packets.
"""
import struct,copy,socket
from .config import conf
... | gpl-2.0 | -4,917,469,473,235,873,000 | 29.817797 | 121 | 0.525987 | false |
benrudolph/commcare-hq | corehq/pillows/domain.py | 1 | 2180 | import copy
from corehq.apps.accounting.models import Subscription
from corehq.apps.domain.models import Domain
from corehq.pillows.base import HQPillow
from corehq.pillows.mappings.domain_mapping import DOMAIN_MAPPING, DOMAIN_INDEX
from dimagi.utils.decorators.memoized import memoized
from django.conf import settings
... | bsd-3-clause | -1,702,521,204,793,609,500 | 33.603175 | 82 | 0.557339 | false |
adriank/ACR | ACR/utils/interpreter.py | 1 | 24629 | #!/usr/bin/env python
# code from http://effbot.org/zone/simple-top-down-parsing.htm
# licence of original code was public domain
# relicenced to AGPL v3 by Asyncode Ltd. and:
# - specialized to work with ACR,
# - added interpreter,
# - optimized
# !!!NOT THREAD SAFE!!!
#TODO thread safety!
import sys
import re
from ... | agpl-3.0 | -1,584,788,798,473,539,800 | 25.284952 | 123 | 0.604125 | false |
SeedScientific/polio | source_data/api.py | 1 | 11615 | from pprint import pprint
from traceback import format_exc
from time import strftime
from tastypie.constants import ALL
from tastypie.resources import ModelResource
from tastypie.authorization import Authorization
from tastypie.authentication import ApiKeyAuthentication
from django.contrib.auth.models import User
from... | agpl-3.0 | 1,021,524,907,181,872,600 | 32.666667 | 91 | 0.60396 | false |
hsanjuan/dccpi | dccpi/dcc_encoder.py | 1 | 3030 | """
Copyright (C) 2016 Hector Sanjuan
This file is part of "dccpi".
"dccpi" 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 of the License, or
(at your option) any later... | gpl-3.0 | -1,576,064,629,392,750,600 | 33.827586 | 77 | 0.656766 | false |
Khroki/MCEdit-Unified | pymclevel/infiniteworld.py | 1 | 83854 | '''
Created on Jul 22, 2011
@author: Rio
'''
import collections
from datetime import datetime
import itertools
from logging import getLogger
from math import floor
import os
import random
import shutil
import struct
import time
import traceback
import weakref
import zlib
import sys
from box import BoundingBox
from e... | isc | 1,637,628,105,352,019,500 | 33.968307 | 153 | 0.568238 | false |
deepmind/pysc2 | pysc2/env/sc2_env_test.py | 1 | 1938 | #!/usr/bin/python
# Copyright 2019 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | apache-2.0 | 1,172,902,400,510,405,600 | 33 | 80 | 0.660991 | false |
novapost/workalendar | workalendar/africa/south_africa.py | 1 | 5741 | from datetime import timedelta, date
from ..core import WesternCalendar, SUN, MON, FRI
from ..exceptions import CalendarError
from ..registry_tools import iso_register
@iso_register('ZA')
class SouthAfrica(WesternCalendar):
"South Africa"
include_good_friday = True
include_christmas = True
def holid... | mit | -3,313,031,156,292,787,700 | 35.106918 | 79 | 0.536492 | false |
aws/aws-iot-device-sdk-arduino-yun | AWS-IoT-Python-Runtime/lib/command/commandShadowUnregisterDeltaCallback.py | 1 | 3284 | '''
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "... | apache-2.0 | 8,615,658,127,585,319,000 | 48.757576 | 153 | 0.706456 | false |
uricamic/clandmark | python_interface/examples/webcam_input.py | 1 | 2184 | # -*- coding: utf-8 -*-
"""
Created on Sun Feb 05 16:26:55 2017
@author: uricar.michal
"""
import sys
# sys.path.append("D:/GitHub/clandmark/install/share/clandmark/python/")
sys.path.append("D:/GitHub/clandmark/build_win10/install/share/clandmark/python")
from py_flandmark import PyFlandmark
from py_featurePool imp... | gpl-3.0 | -109,012,591,267,559,540 | 28.133333 | 90 | 0.668498 | false |
zimeon/iiif | tests/test_generators_check.py | 1 | 1028 | """Test code for iiif.generators.check."""
import unittest
from iiif.generators.check import PixelGen
class TestAll(unittest.TestCase):
"""Tests."""
def test01_size(self):
"""Test size."""
gen = PixelGen()
self.assertEqual(len(gen.size), 2)
self.assertEqual(int(gen.size[0]), ... | gpl-3.0 | 1,568,612,114,040,428,000 | 30.151515 | 62 | 0.566148 | false |
estaban/pyload | module/plugins/hoster/RyushareCom.py | 1 | 2928 | # -*- coding: utf-8 -*-
# Test links (random.bin):
# http://ryushare.com/cl0jy8ric2js/random.bin
import re
from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
from module.plugins.internal.CaptchaService import SolveMedia
class RyushareCom(XFileSharingPro):
__name__ = "RyushareCom"... | gpl-3.0 | -402,923,207,536,529,150 | 34.707317 | 115 | 0.565232 | false |
jensengroup/prohxms | fit_scripts/plot_binom.py | 1 | 1814 | import numpy
from scipy.special import binom, gamma
from matplotlib import pyplot
import sys
def factorial(x):
try:
return gamma(x + 1)
except OverflowError:
print "Overflow, x =",x
exit(0)
def B(x, y):
return factorial(x - 1) * factorial(y - 1) / factorial(x + y - 1)
n = ... | bsd-2-clause | -7,749,743,198,352,513,000 | 24.194444 | 132 | 0.59151 | false |
jpn--/pines | pines/egnyte.py | 1 | 19610 | import os.path
import egnyte
import re
import time
import hashlib
import pickle
import io
from .logger import flogger
from .bytesize import bytes_scaled
from .codex import phash
elog = flogger(label='EGNYTE')
## init
_updates = False
config = egnyte.configuration.load()
if "api_key" not in config:
config["api_k... | mit | -4,781,646,616,371,856,000 | 29.784929 | 133 | 0.704284 | false |
Neuroglycerin/neukrill-net-tools | neukrill_net/nk_mlp.py | 1 | 20367 | #!/bin/python
#
# Hacking together tutorials from deeplearning.net to make
# a MLP model
import numpy
import theano
import theano.tensor as T
import sklearn.cross_validation
class LogisticRegression(object):
"""Multi-class Logistic Regression Class
The logistic regression is fully described by a weight matri... | mit | 5,596,525,416,680,245,000 | 39.09252 | 87 | 0.550498 | false |
gkc1000/pyscf | pyscf/dmrgscf/chemps2.py | 1 | 7134 | #!/usr/bin/env python
# Copyright 2014-2019 The PySCF Developers. 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
#
# U... | apache-2.0 | -5,384,420,666,182,643,000 | 31.724771 | 84 | 0.552425 | false |
checkr/fdep | fdep/commands/install.py | 1 | 3710 | """Install dependencies for the project.
.. code:: bash
fdep install [<files...>]
"""
from __future__ import print_function
import os
import sys
import time
from threading import Thread
from fdep.backends import StorageBackend
from fdep.commands import ConfigRequiredMixin, SubcommandRunner
from fdep.interfaces.p... | mit | 3,853,921,461,467,970,600 | 32.125 | 97 | 0.55903 | false |
CuonDeveloper/cuon | cuon_server/src/cuon/Misc.py | 1 | 77416 | import time
from datetime import datetime
import random
import xmlrpclib
from xmlrpclib import ServerProxy
from twisted.web import xmlrpc
from basics import basics
import Database
import commands
import bz2
import base64
import types
import zipfile
import os.path
import shlex, subprocess
import locale
from loca... | gpl-3.0 | 2,838,068,027,676,360,000 | 45.636145 | 461 | 0.491023 | false |
cushon/bazel | src/test/py/bazel/test_base.py | 1 | 19134 | # pylint: disable=g-bad-file-header
# pylint: disable=superfluous-parens
# Copyright 2017 The Bazel 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:/... | apache-2.0 | -5,474,031,926,822,813,000 | 33.789091 | 80 | 0.609648 | false |
loglow/spine | web/spine/manage.py | 1 | 1044 | #!/usr/bin/env python
# ##### BEGIN GPL LICENSE BLOCK #####
#
# 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 option) any later version.
#
# ... | gpl-3.0 | 335,316,665,583,474,940 | 35 | 74 | 0.724138 | false |
ezavarygin/voffset | functions/up_parse.py | 1 | 5142 | #!/usr/bin/env python
import numpy as np
from barak.convolve import convolve_constant_dv
from astropy.io import fits
class Up_parse:
"""
The class is to parse a UVES_popler output file.
It provides wavelength, flux, sigma_error, mask (valid pixels) arrays.
"""
def __init__(self, path_to_fits... | mit | -7,309,214,557,721,606,000 | 36.532847 | 130 | 0.551731 | false |
bokjk/nomadgram | config/settings/production.py | 1 | 7379 | """
Production settings for nomadgram project.
- Use Amazon's S3 for storing static files and uploaded media
- Use mailgun to send emails
- Use Redis for cache
"""
from .base import * # noqa
# SECRET CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://d... | mit | -4,942,602,742,973,600,000 | 35.349754 | 117 | 0.603876 | false |
mauromorales/vim-pad | pythonx/pad/list.py | 1 | 9079 | # coding=utf-8
from sys import version_info
import vim
import re
from os import remove, mkdir
from shutil import move
from os.path import exists, getmtime, join, isfile, basename
from .pad import PadInfo
from .timestamps import natural_timestamp
from .collator import NotesCollator
from .vim_interface import *
from .u... | mit | -2,199,504,057,831,976,400 | 38.447826 | 127 | 0.465006 | false |
jaor/bigmler | bigmler/options/project.py | 1 | 1481 | # -*- coding: utf-8 -*-
#
# Copyright 2014-2020 BigML
#
# 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 ... | apache-2.0 | 1,164,270,938,239,606,300 | 30.510638 | 75 | 0.625928 | false |
alejandro-mc/BDM-DDD | value_noisecomplaints/constnoise_vs_resunits_CartoDB.py | 1 | 2702 | import pyspark
import operator
import sys
#311 call 2010 to present csv
#0 Unique Key,Created Date,Closed Date,Agency,Agency Name,
#5 Complaint Type,Descriptor,Location Type,Incident Zip,Incident Address,
#10 Street Name,Cross Street 1,Cross Street 2,Intersection Street 1,
#14 Intersection Street 2,Address Type,Cit... | mit | -9,114,007,511,462,917,000 | 32.775 | 88 | 0.65285 | false |
damjankuznar/pylof | lof.py | 1 | 8726 | #!/usr/bin/python
# -*- coding: utf8 -*-
"""
lof
~~~~~~~~~~~~
This module implements the Local Outlier Factor algorithm.
:copyright: (c) 2013 by Damjan Kužnar.
:license: GNU GPL v2, see LICENSE for more details.
"""
from __future__ import division
import warnings
def distance_euclidean(instance1, instance2):
""... | gpl-2.0 | 78,586,740,808,771,040 | 50.023392 | 153 | 0.658567 | false |
iwm911/plaso | plaso/output/l2t_csv.py | 1 | 4971 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2012 The Plaso Project Authors.
# Please see the AUTHORS file for details on individual authors.
#
# 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 L... | apache-2.0 | -8,886,323,838,709,941,000 | 34.255319 | 80 | 0.648562 | false |
TheAlgorithms/Python | divide_and_conquer/max_difference_pair.py | 1 | 1288 | def max_difference(a: list[int]) -> tuple[int, int]:
"""
We are given an array A[1..n] of integers, n >= 1. We want to
find a pair of indices (i, j) such that
1 <= i <= j <= n and A[j] - A[i] is as large as possible.
Explanation:
https://www.geeksforgeeks.org/maximum-difference-between-two-elem... | mit | 3,591,755,431,774,145,500 | 28.272727 | 84 | 0.540373 | false |
chanlhock/IMU | imu.py | 1 | 7408 | ##################################################################################################################
# Platform for study of IMU features and functionality (using Samsung S3 internal phone IMU)
# Demo program (imu.py)
#
# Copyright (c) 2014 Bernard Chan
# chanlhock@gmail.com
#
# Date Author N... | gpl-2.0 | 65,653,024,744,031,210 | 36.393939 | 133 | 0.550918 | false |
4979/courses | data-mining/cluster-analysis/assignment/clustering-data/python/k_means.py | 1 | 1636 | from utils import *
def computeSSE(data, centers, clusterID):
sse = 0
nData = len(data)
for i in range(nData):
c = clusterID[i]
sse += squaredDistance(data[i], centers[c])
return sse
def updateClusterID(data, centers):
nData = len(data)
clusterID = [0] * nD... | apache-2.0 | -2,623,922,692,638,324,700 | 23.058824 | 95 | 0.583741 | false |
agreco/understanding-json-schema | source/sphinxext/jsonschemaext.py | 1 | 5137 | import json
from docutils import nodes
from docutils import statemachine
from sphinx.util.compat import Directive
from sphinx.util.nodes import set_source_info
import jsonschema
class AttrDict(dict):
def __init__(self, *args, **kwargs):
super(AttrDict, self).__init__(*args, **kwargs)
self.__dict... | bsd-3-clause | 899,671,128,345,433,600 | 29.040936 | 77 | 0.543508 | false |
yayoiukai/signalserver | fileuploads/urls.py | 1 | 1665 | from django.conf.urls import url, include
from . import views
app_name = 'fileuploads'
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'^(?P<filename_id>[0-9]+)/$', views.detail, name='detail'),
url(r'^(?P<filename_id>[0-9]+)/results/$', views.results, name='results'),
url(r'^about/$', vie... | mit | 4,689,833,463,780,428,000 | 46.571429 | 78 | 0.601802 | false |
balloon-stat/komadori.vim | bin/periodic.py | 1 | 1897 | #! /usr/bin/python
# -*- encoding: utf-8 -*-
import time
import threading
import subprocess
class Periodic:
def __init__(self, arg):
self.interval = int(arg['interval']) / 1000
self.temp_dir = arg['temp_dir']
self.arg = arg
self.is_running = True
self.is_finish = False
... | mit | -701,395,974,281,160,200 | 29.111111 | 101 | 0.529784 | false |
skybon/obozrenie | obozrenie/global_strings.py | 1 | 5347 | #!/usr/bin/env python3
# This source file is part of Obozrenie
# Copyright 2015 Artem Vorotnikov
# For more information, see https://github.com/obozrenie/obozrenie
# Obozrenie is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3, as
# published by th... | gpl-3.0 | 7,381,501,888,848,904,000 | 64.195122 | 174 | 0.503554 | false |
andersinno/kuvaselaamo | hkm/models/campaigns.py | 1 | 6676 | # -*- coding: utf-8 -*-
from decimal import Decimal
from django.db import models
from django.utils.translation import ugettext_lazy as _
from parler.managers import TranslatableQuerySet
from parler.models import TranslatableModel, TranslatedFields
import datetime
import random
CAMPAIGN_CODE_KEYSPACE = "acdefghkmnpq... | mit | 1,468,477,457,438,374,400 | 28.48 | 107 | 0.61535 | false |
tomkralidis/geonode | geonode/base/populate_test_data.py | 1 | 13166 | # -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2016 OSGeo
#
# 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 3 ... | gpl-3.0 | -2,283,285,614,868,138,200 | 41.198718 | 120 | 0.531369 | false |
tb0hdan/aria2py | src/aria2py.py | 1 | 3371 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from random import seed as rs, choice as rc
import requests
from string import ascii_lowercase as sl, digits as sg
import time
import thread
try:
import subprocess
except ImportError:
import subprocess32
class Aria2Response(object):
'''
'''
... | bsd-3-clause | 8,602,863,853,262,264,000 | 28.570175 | 90 | 0.554435 | false |
daicang/Leetcode-solutions | 327-count-of-range-sum.py | 1 | 1440 | # 327-count-of-range-sum.py
class Solution(object):
def countRangeSum(self, nums, lower, upper):
"""
:type nums: List[int]
:type lower: int
:type upper: int
:rtype: int
"""
# Start: inclusive
# End: exclusive
def iter(start, end):
... | mit | -4,701,958,517,367,572,000 | 32.488372 | 68 | 0.421528 | false |
kd0aij/matrixpilot_old | Tools/MAVLink/MAVProxy/modules/test.py | 1 | 1455 | #!/usr/bin/env python
'''test flight for DCM noise'''
import time, math
mpstate = None
def name():
'''return module name'''
return "test"
def description():
'''return module description'''
return "test flight"
def enum(**enums):
return type('Enum', (), enums)
TestState = en... | gpl-3.0 | 9,086,622,942,246,767,000 | 28.3125 | 66 | 0.61512 | false |
dfroger/quickstart | monetdb/run_test.py | 1 | 1702 | import os
import subprocess
import shutil
import pymonetdb
import pymonetdb.control
HERE = os.path.dirname(os.path.realpath(__file__))
farm = os.path.join(HERE, 'dbfarm')
db = 'demo'
port = 56789
user = 'monetdb'
password = 'monetdb'
passphrase = 'monetdb'
table = 'names'
hostname = 'localhost'
def mdb_daemon(*args... | gpl-3.0 | 3,461,758,564,888,420,400 | 25.184615 | 78 | 0.69389 | false |
HyShai/youtube-dl | youtube_dl/extractor/vimeo.py | 1 | 24633 | # encoding: utf-8
from __future__ import unicode_literals
import json
import re
import itertools
from .common import InfoExtractor
from .subtitles import SubtitlesInfoExtractor
from ..compat import (
compat_HTTPError,
compat_urllib_parse,
compat_urllib_request,
compat_urlparse,
)
from ..utils import (... | unlicense | -2,801,266,216,853,445,000 | 39.37377 | 186 | 0.533783 | false |
samsu/api_client | api_client/fgd_client.py | 1 | 8945 | # Copyright 2017 Fortinet, 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 ... | apache-2.0 | -3,735,949,904,844,201,000 | 42.42233 | 88 | 0.586473 | false |
daonb/django-notification | setup.py | 1 | 1041 | from distutils.core import setup
setup(
name='django-notification',
version=__import__('notification').__version__,
description='Many sites need to notify users when certain events have occurred and to allow configurable options as to how those notifications are to be received. The project aims to provide ... | mit | 3,924,761,397,491,651,600 | 39.038462 | 241 | 0.659942 | false |
zetaops/SpiffWorkflow | SpiffWorkflow/bpmn/parser/task_parsers.py | 1 | 9377 | # -*- coding: utf-8 -*-
from __future__ import division
# Copyright (C) 2012 Matthew Hampton
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at ... | lgpl-3.0 | -2,078,421,531,639,438,000 | 38.23431 | 125 | 0.647649 | false |
shinken-monitoring/mod-hot-dependencies | test/test_module_hot_dependencies_arbiter.py | 1 | 7910 | #!/usr/bin/env python
#
# Copyright (C) 2009-2010:
# Gabes Jean, naparuba@gmail.com
# Gerhard Lausser, Gerhard.Lausser@consol.de
#
# This file is part of Shinken.
#
# Shinken is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the... | agpl-3.0 | -3,542,759,689,202,088,400 | 35.284404 | 139 | 0.642225 | false |
jarod-w/ocsetup | ocsetup/ocsetup_ui_constants.py | 1 | 2271 | #!/usr/bin/env python
# encoding=utf-8
# Copyright (C) 2012 Sunus Lee, CT
#
# 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 option) any later versi... | gpl-2.0 | -3,508,203,991,537,941,500 | 30.541667 | 79 | 0.737561 | false |
hvanderlaan/ikea-smartlight | tradfri-groups.py | 1 | 2536 | #!/usr/bin/env python
# file : tradfri-groups.py
# purpose : controlling status from the Ikea tradfri smart groups
#
# author : harald van der laan
# date : 2017/11/01
# version : v1.2.0
#
# changelog :
# - v1.2.0 update for gateway 1.1.15 issues (harald)
# - v1... | gpl-3.0 | 6,765,534,810,563,812,000 | 32.368421 | 98 | 0.605678 | false |
tanderegg/ansible-modules-core | cloud/amazon/iam.py | 1 | 29461 | #!/usr/bin/python
# 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 of the License, or
# (at your option) any later version.
#
# Ansible is distributed... | gpl-3.0 | 2,938,177,219,696,797,000 | 39.028533 | 213 | 0.572859 | false |
MJuddBooth/pandas | pandas/tests/series/test_operators.py | 1 | 25957 | # coding=utf-8
# pylint: disable-msg=E1101,W0612
from datetime import datetime, timedelta
import operator
import numpy as np
import pytest
import pandas.compat as compat
from pandas.compat import range
import pandas as pd
from pandas import (
Categorical, DataFrame, Index, Series, bdate_range, date_range, isna)... | bsd-3-clause | 242,884,756,809,424,640 | 33.334656 | 80 | 0.534461 | false |
Fl0rianFischer/sme_odoo | addons/website_slides/models/slides.py | 2 | 26185 | # -*- coding: utf-8 -*-
import datetime
import io
import json
from PIL import Image
import re
from urllib import urlencode
import urllib2
from urlparse import urlparse
from openerp import api, fields, models, SUPERUSER_ID, _
from openerp.tools import image
from openerp.exceptions import Warning
from openerp.addons.we... | gpl-3.0 | -5,301,546,923,757,541,000 | 48.686907 | 189 | 0.611342 | false |
petrus-v/server-tools | email_template_dateutil/__openerp__.py | 1 | 2017 | # -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.com>).
#
# This program is free software: you can redistribute it and/or m... | agpl-3.0 | -2,969,069,165,911,297,000 | 33.186441 | 79 | 0.609817 | false |
matham/moa | moa/tests/test_state_recovery.py | 1 | 4371 |
import unittest
class RecoveryTestCase(unittest.TestCase):
path = ''
def setUp(self):
import os
from os import path
self.path = path.join(path.abspath(path.dirname(__file__)),
'mrec_temp')
if not os.path.exists(self.path):
os.mkdir(s... | mit | 6,859,785,622,317,480,000 | 36.358974 | 79 | 0.610387 | false |
centralniak/railworks-dispatcher | setup.py | 1 | 1417 | #!/usr/bin/env python
import os
from setuptools import setup
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Topic :: Games/Ent... | mit | 4,140,694,050,081,376,000 | 29.804348 | 101 | 0.66549 | false |
helicontech/zoo | Zoocmd/core/env_manager.py | 1 | 1125 | # -*- coding: utf-8 -*-
class EnvManager(object):
"""
Коллекция переменных окружения.
"""
def __init__(self):
# внутренне коллекция
self.vars = dict()
def expandvars(self, path: str):
"""
Заменяет переменные окружения в пути на значения.
"""
resul... | apache-2.0 | -4,402,580,731,429,686,300 | 21.642857 | 62 | 0.514737 | false |
macbre/index-digest | indexdigest/database.py | 1 | 11378 | """
Database connector wrapper
"""
import logging
import re
from collections import OrderedDict, defaultdict
from warnings import filterwarnings
import MySQLdb
from MySQLdb.cursors import DictCursor
from MySQLdb._exceptions import OperationalError, ProgrammingError
from indexdigest.schema import Column, Index
from in... | mit | -5,335,004,131,898,290,000 | 29.021108 | 100 | 0.563983 | false |
leiferikb/bitpop | build/scripts/slave/recipes/codesearch.py | 1 | 1506 | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
DEPS = [
'chromium',
'gclient',
'gsutil',
'path',
'properties',
'python',
'step',
]
def GenSteps(api):
tarball_name = api.properties.get('ta... | gpl-3.0 | 8,138,538,737,411,672,000 | 27.961538 | 74 | 0.638778 | false |
Insoleet/aiohttp | aiohttp/wsgi.py | 1 | 6627 | """wsgi server.
TODO:
* proxy protocol
* x-forward security
* wsgi file support (os.sendfile)
"""
import asyncio
import inspect
import io
import os
import sys
from urllib.parse import urlsplit
import aiohttp
from aiohttp import server, hdrs
__all__ = ('WSGIServerHttpProtocol',)
class WSGIServerHttpProtocol(... | apache-2.0 | -1,170,978,584,572,801,500 | 29.539171 | 78 | 0.577033 | false |
triflesoft/django-application-talos | applications/talos_rest/validators.py | 1 | 3005 | # This method validates mobile phone
# using Django's built in RegexpValidator
# And raises serializers.ValidationError if some
# error occurs
from talos_rest import constants
from re import compile
email_regex = compile(r'^[^@]+@[^@]+\.[^@]+$')
def validate_phone(phone, validate_uniqueness=False):
from django.... | bsd-3-clause | 7,669,992,987,828,616,000 | 33.54023 | 126 | 0.657903 | false |
iulian787/spack | var/spack/repos/builtin/packages/py-pyopencl/package.py | 2 | 1331 | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyPyopencl(PythonPackage):
"""Python wrapper for OpenCL."""
homepage = "https://docu... | lgpl-2.1 | -5,569,500,365,171,931,000 | 37.028571 | 98 | 0.636364 | false |
studiobytestorm/YDM | ylister.py | 1 | 2450 |
# coding: utf-8
# In[2]:
# Name: youParse.py
# Version: 1.3
# Author: pantuts
# Description: Parse URLs in Youtube User's Playlist (Video Playlist not Favorites)
# Use python3 and later
# Agreement: You can use, modify, or redistribute this tool under
# the terms of GNU General Public License (GPLv3).
# This tool is... | gpl-2.0 | 5,190,535,159,306,234,000 | 22.786408 | 93 | 0.530612 | false |
toway/towaymeetups | mba/views/infomations.py | 1 | 2008 | #!/usr/bin/python
# coding: utf-8
from datetime import datetime
import deform
import colander
import jinja2
from deform import ValidationFailure
from deform.widget import CheckedPasswordWidget
from pyramid.view import view_config
from pyramid.httpexceptions import HTTPForbidden
from pyramid.httpexceptions import HTTP... | gpl-3.0 | 851,975,616,576,866,200 | 24.1 | 85 | 0.729084 | false |
tempbottle/Nuitka | tests/basics/Functions.py | 1 | 11964 | # Copyright 2015, Kay Hayen, mailto:kay.hayen@gmail.com
#
# Python tests originally created or extracted from other peoples work. The
# parts were too small to be protected.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the ... | apache-2.0 | -4,546,367,704,531,664,400 | 23.617284 | 147 | 0.683969 | false |
gusdan/django-elasticache | django_elasticache/cluster_utils.py | 1 | 2219 | """
utils for discovery cluster
"""
from distutils.version import StrictVersion
from django.utils.encoding import smart_text
import re
from telnetlib import Telnet
class WrongProtocolData(ValueError):
"""
Exception for raising when we get something unexpected
in telnet protocol
"""
def __init__(se... | mit | 8,953,881,322,708,368,000 | 27.818182 | 76 | 0.55881 | false |
minghuascode/pyj | library/pyjamas/HTTPRequest.browser.py | 1 | 2667 |
class HTTPRequest(object):
def doCreateXmlHTTPRequest(self):
if JS("""typeof $wnd.XMLHttpRequest != 'undefined'"""):
# IE7+, Mozilla, Safari, ...
res = JS("""new XMLHttpRequest()""")
return res
return None
def asyncImpl(self, method, user, pwd, url, postData,... | apache-2.0 | 5,295,085,839,185,521,000 | 36.041667 | 93 | 0.511436 | false |
ufal/neuralmonkey | neuralmonkey/decoders/ctc_decoder.py | 1 | 5403 | from typing import Dict
import tensorflow as tf
from typeguard import check_argument_types
from neuralmonkey.dataset import Dataset
from neuralmonkey.decorators import tensor
from neuralmonkey.model.feedable import FeedDict
from neuralmonkey.model.parameterized import InitializerSpecs
from neuralmonkey.model.model_pa... | bsd-3-clause | 5,719,258,912,911,822,000 | 34.084416 | 79 | 0.609291 | false |
MrFlynn/pushbullet-backup | backup.py | 1 | 1988 | #!/usr/bin/env python3
# Need requests and configparser.
import requests
import configparser
import time
import glob
import sys
import json
def main():
# List of pushes:
push_list = []
# Import configuration with API token.
c = configparser.ConfigParser()
# Read config file and set token var.
... | mit | -8,766,102,038,988,531,000 | 25.157895 | 80 | 0.572938 | false |
sahiljain/catapult | dashboard/dashboard/pinpoint/handlers/isolated.py | 1 | 3009 | # Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Service for tracking .isolateds and looking them up by builder and commit.
An .isolated file is a way to describe the dependencies of a specific build.
... | bsd-3-clause | -7,993,889,154,747,204,000 | 32.808989 | 82 | 0.696909 | false |
pchan126/Blender_DTS_30 | Common_Gui.py | 1 | 61883 | '''
Blender_Gui.py
Copyright (c) 2003 - 2008 James Urquhart(j_urquhart@btinternet.com)
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... | mit | 8,779,069,002,237,935,000 | 35.444641 | 199 | 0.689818 | false |
dingliu0305/Tree-Tensor-Networks-in-Machine-Learning | code/utilities_mnist.py | 1 | 2685 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Created on Mon May 15 11:09:35 2017"""
import numpy as np
import tncontract as tn
import scipy.io as sio
from itertools import product
from itertools import combinations
def load_train_data(filename, n_train, n_train_each, bond_label, bond_data, current_class):
im... | mit | -5,148,681,326,247,184,000 | 38.485294 | 104 | 0.568715 | false |
drybjed/ferment | src/ferment/scripts.py | 1 | 2317 | import click
import docker
from wheezy.template.engine import Engine
from wheezy.template.ext.core import CoreExtension
from wheezy.template.ext.code import CodeExtension
from wheezy.template.loader import DictLoader
from . import templates
import logging
LOG = logging.getLogger(__name__)
LOG_LEVELS = {
"info... | apache-2.0 | 5,922,961,529,612,910,000 | 22.17 | 90 | 0.621062 | false |
drepetto/chiplotle | chiplotle/documentation/scripts/compile_api.py | 1 | 2458 | #!/usr/bin/env python
def compile_plotters():
from chiplotle import plotters
content = 'Chiplotle Known Plotters\n'
content += '========================\n\n'
## get classes in plotters...
for cls in dir(plotters):
if not cls.startswith('__'):
content += '.. autoclass:: chiplo... | gpl-3.0 | 891,172,439,412,085,600 | 24.873684 | 75 | 0.548413 | false |
noiselabs/box-linux-sync | src/noiselabs/box/pms/slackpkg.py | 1 | 1292 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# This file is part of box-linux-sync.
#
# Copyright (C) 2013 Vítor Brandão <noisebleed@noiselabs.org>
#
# box-linux-sync is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software... | lgpl-3.0 | 7,988,316,949,457,500,000 | 32.947368 | 80 | 0.711628 | false |
pulp/devel | scripts/checkout.py | 1 | 2899 | #!/usr/bin/env python3
import argparse
import os
import subprocess
import sys
import requests
import yaml
# Make a Python 3 virtualenv and install requests and PyYAML
# pyvenv pulp_checkout
# source pulp_checkout/bin/activate
# pip install requests PyYAML
#
# Run the script using the Python3 interpreter
# ... | gpl-2.0 | -8,274,774,061,209,647,000 | 34.353659 | 150 | 0.646775 | false |
fhcrc/ampliconnoise | anoisetools/test/scripts/test_split.py | 1 | 1320 | import unittest
from anoisetools.scripts import split
def _line_iterator(s):
return iter(s.splitlines())
class ReadBarcodeTestCase(unittest.TestCase):
def test_basic(self):
s = "Barcode1,ACGTGA,ACGT"
i = _line_iterator(s)
actual = split.load_barcodes(i)
self.assertEqual(1, le... | gpl-3.0 | 6,850,267,133,278,299,000 | 29.697674 | 61 | 0.610606 | false |
SUNET/eduid-common | src/eduid_common/session/tests/test_redis_session.py | 1 | 4735 | from unittest import TestCase
import nacl
import pytest
from eduid_common.config.base import RedisConfig
from eduid_common.session.meta import SessionMeta
from eduid_common.session.redis_session import RedisEncryptedSession, SessionManager, SessionOutOfSync
from eduid_common.session.testing import RedisTemporaryInsta... | bsd-3-clause | -7,852,368,144,511,551,000 | 45.421569 | 110 | 0.695459 | false |
HPC-buildtest/buildtest-framework | buildtest/executors/setup.py | 1 | 7559 | """
This module is responsible for setup of executors defined in buildtest
configuration. The BuildExecutor class initializes the executors and chooses the
executor class (LocalExecutor, LSFExecutor, SlurmExecutor) to call depending
on executor name.
"""
import logging
import os
import sys
from buildtest.defaults imp... | mit | 692,358,135,882,666,800 | 39.42246 | 123 | 0.621246 | false |
mpascu/universal-data-logger | universaldatalogger/settings.py | 1 | 3474 | """
Django settings for universaldatalogger project.
Generated by 'django-admin startproject' using Django 1.11.3.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
""... | gpl-3.0 | -4,638,098,541,751,851,000 | 24.740741 | 91 | 0.675302 | false |
mozilla/inventory | core/search/views.py | 1 | 5906 | from django.shortcuts import render
from django.http import HttpResponse, Http404
from django.db.utils import DatabaseError
from django.core.exceptions import ValidationError
from mozdns.utils import get_zones
from core.search.compiler.django_compile import compile_to_django
from core.search.compiler.django_compile i... | bsd-3-clause | -7,082,705,490,358,729,000 | 31.994413 | 79 | 0.601422 | false |
openstack/sahara | sahara/tests/unit/service/test_ops.py | 1 | 8062 | # Copyright (c) 2014 Mirantis 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 writ... | apache-2.0 | -8,121,293,942,918,869,000 | 41.209424 | 79 | 0.643761 | false |
azgs/hazards-viewer | python/zonal_stats.py | 1 | 3850 | import gdal
class GDALCalculateArea:
"""
Problem: How do we compute zonal stats from a raster
given only a bounding box from geoserver?
Geoserver Bounding Box = [LEFT,BOTTOM,RIGHT,TOP]
So, corner coordinates =
A:(LEFT,TOP)
B:(LEFT,BOTTOM)
C:(RIGHT,BOTTOM)
D:(RIGHT,TOP)
* ------------------------> *
... | mit | 5,799,255,570,391,207,000 | 29.085938 | 63 | 0.660779 | false |
YannChemin/wxGIPE | proc_modis_stateqa.py | 1 | 19388 | ###############################################################################
# $Id$
#
# Project: Sub1 project of IRRI
# Purpose: State Quality Assessment extraction from MODIS09A (500m)
# Author: Yann Chemin, <yann.chemin@gmail.com>
#
##############################################################################... | unlicense | 2,442,333,516,317,674,000 | 29.436421 | 232 | 0.669589 | false |
mariofix/ad-login | adlogin.py | 1 | 1088 | #!/usr/bin/python
# Mario Hernandez
# github.com/mariofix
# Licences under GPL v3
#
# For use with nginx
# uwsgi -s /tmp/ad-login.sock -w adlogin:app --enable-threads --chmod-socket=666
#
import bender
from flask import Flask, request, jsonify
app = Flask(__name__)
@app.route("/auth", methods=["GET", "POST"])
def aut... | gpl-3.0 | -2,111,995,277,812,121,300 | 30.085714 | 93 | 0.596507 | false |
snoopycrimecop/snoopycrimecop | test/integration/Sandbox.py | 1 | 5143 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2013 University of Dundee & Open Microscopy Environment
# All Rights Reserved.
#
# 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 Foundat... | gpl-2.0 | 2,442,089,335,320,077,000 | 31.345912 | 76 | 0.572429 | false |
varikin/dali | dali/gallery/tests/admin.py | 1 | 9324 | from django.contrib.auth.models import User, Permission
from django.core.exceptions import ValidationError
from django.core.files.uploadedfile import SimpleUploadedFile
from django.http import HttpRequest, QueryDict
from django.test import TestCase
from django.test.client import Client
from dali.gallery.admin.forms imp... | apache-2.0 | -3,810,525,009,990,027,300 | 41.575342 | 113 | 0.656371 | false |
matthewh/django-push-notifications | push_notifications/conf/app.py | 1 | 10584 | from django.core.exceptions import ImproperlyConfigured
from django.utils.six import string_types
from ..settings import PUSH_NOTIFICATIONS_SETTINGS as SETTINGS
from .base import BaseConfig, check_apns_certificate
SETTING_MISMATCH = (
"Application '{application_id}' ({platform}) does not support the setting '{setti... | mit | 8,903,771,636,529,426,000 | 32.283019 | 92 | 0.727797 | false |
googleapis/googleapis-gen | google/cloud/bigquery/v2/bigquery-v2-py/google/cloud/bigquery_v2/services/model_service/transports/grpc_asyncio.py | 1 | 15036 | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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... | apache-2.0 | 2,729,069,836,911,825,000 | 43.75 | 87 | 0.606278 | false |
CroissanceCommune/autonomie | autonomie/tests/forms/tasks/test_invoice.py | 1 | 10550 | # -*- coding: utf-8 -*-
# * Authors:
# * TJEBBES Gaston <g.t@majerti.fr>
# * Arezki Feth <f.a@majerti.fr>;
# * Miotte Julien <j.m@majerti.fr>;
import colander
import pytest
import datetime
from autonomie.forms.tasks.invoice import (
get_add_edit_invoice_schema,
get_add_edit_cancelinvoice_schem... | gpl-3.0 | -1,022,901,219,711,277,700 | 25.971867 | 79 | 0.51849 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.