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 |
|---|---|---|---|---|---|---|---|---|---|---|
toddheitmann/PetroPy | setup.py | 1 | 1590 | """Setup script for PetroPy"""
from setuptools import setup
from os import path
from petropy import __version__
with open(path.join(path.dirname(__file__), "requirements.txt"), "r") as f:
requirements = f.read().splitlines()
with open(path.join(path.dirname(__file__), "README.rst"), "r") as f:
long_descripti... | mit | 8,575,491,469,597,915,000 | 37.780488 | 101 | 0.637107 | false |
saisankargochhayat/algo_quest | leetcode/115. Distinct Subsequences/soln.py | 1 | 1479 | from functools import lru_cache
class Solution:
def numDistinct(self, s: str, t: str) -> int:
@lru_cache(maxsize=None)
def helper(i, j):
M, N = len(s), len(t)
if i == M or j == N or M-i < N-j:
return int(j == N)
# if i of s and j of s... | apache-2.0 | 3,884,121,225,222,017,000 | 27.461538 | 74 | 0.408384 | false |
skosukhin/spack | var/spack/repos/builtin/packages/trimgalore/package.py | 1 | 1901 | ##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | lgpl-2.1 | 4,734,068,059,006,878,000 | 42.204545 | 80 | 0.6707 | false |
benob/chainer | chainer/functions/evaluation/accuracy.py | 1 | 2436 | import numpy
import six
from chainer import cuda
from chainer import function
from chainer.utils import type_check
class Accuracy(function.Function):
def __init__(self, ignore_label=None):
self.ignore_label = ignore_label
def check_type_forward(self, in_types):
type_check.expect(in_types.si... | mit | -7,014,396,633,179,930,000 | 31.918919 | 78 | 0.573481 | false |
zakirovandrey/cfmaxwell | src/genConeFold.py | 1 | 21709 | #!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
from types import *
from operator import *
def makeCombinations(lst, res=['']):
if len(lst)<=0: return res
else: return makeCombinations(lst[:-1], [c+n for n in res for c in lst[-1]])
class CFact:
def __init__(self, Gen, actN):
self.Gen=Gen; self.actN=act... | gpl-2.0 | -776,956,531,473,899,800 | 54.430446 | 291 | 0.592831 | false |
atom-bomb/drill_from_image | drill_from_image.py | 1 | 11733 | #!/usr/bin/python
#
# Hey, here's a thing:
#
# You can use this bit of python script to generate GCode to drill a PCB based on an image file that you used
# to etch the board.
#
# This script makes GCode to drill the center of sections of an image that are a given color or brightness.
#
# All you need to do is load the... | unlicense | 695,087,722,139,142,000 | 32.618911 | 112 | 0.594903 | false |
735tesla/SkypeDump | skypedump.py | 1 | 6469 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import unicodedata
import webbrowser
import hashlib
import sqlite3 as sqlite
import xml.etree.ElementTree as ET
import platform
import sys
class ChatMessage(object):
def __init__(self):
super(ChatMessage, self).__init__()
self.from_username = '[da... | gpl-2.0 | 962,441,054,399,818,200 | 27.004329 | 126 | 0.64554 | false |
jtauber/czerny | prototypes/process_hanon_21.py | 1 | 2417 | #!/usr/bin/env python
from align import nw_align
def load_score(filename):
score = []
for line in open(filename):
note, duration_64 = line.strip().split()
note = int(note)
duration_64 = int(duration_64)
score.append((note, duration_64))
return score
def load_performan... | mit | 829,367,193,271,788,400 | 29.2125 | 79 | 0.599917 | false |
Farthen/OTFBot | otfbot/plugins/ircClient/seen.py | 1 | 2384 | # This file is part of OtfBot.
#
# OtfBot 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.
#
# OtfBot is distributed in the hope that it... | gpl-2.0 | -1,188,863,002,668,787,700 | 36.25 | 176 | 0.599832 | false |
QuantiModo/QuantiModo-SDK-Python | SwaggerPetstore/models/connector.py | 1 | 3170 | #!/usr/bin/env python
# coding: utf-8
"""
Copyright 2015 SmartBear Software
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
Unle... | gpl-2.0 | -8,626,761,504,861,406,000 | 31.346939 | 100 | 0.561199 | false |
mvsaha/blahb | blahb/label.py | 1 | 15233 | import numba
from .utils import exponential_search
from .strgen import *
def _split_init_into_coords_init_str(dim):
return "coords_{} = loc[:, {}]".format(dim, dim)
def split_init_into_coords_init_str(ndim):
return '\n'.join([_split_init_into_coords_init_str(dim)
for dim in range(ndim)... | mit | 230,391,288,093,049,820 | 31.551282 | 101 | 0.601589 | false |
istio/tools | perf/docker/rabbitmq/client.py | 1 | 2647 | # Copyright Istio 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 License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | apache-2.0 | 3,253,971,791,620,770,300 | 23.738318 | 74 | 0.649037 | false |
HybridF5/jacket | jacket/api/compute/openstack/compute/legacy_v2/contrib/floating_ip_pools.py | 1 | 2154 | # Copyright (c) 2011 X.commerce, a business unit of eBay 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 req... | apache-2.0 | 1,853,800,950,264,657,400 | 31.149254 | 78 | 0.65506 | false |
pekkosk/hotbit | hotbit/containers/chiralwedge.py | 1 | 5906 | from __future__ import division
import numpy as np
from box.mix import phival
from math import sin,cos
from weakref import proxy
import warnings
class ChiralWedge:
def __init__(self,atoms,type):
'''
Class for chiral+wedge boundary conditions.
@param: atoms hotbit.Atoms instance
... | gpl-2.0 | -158,940,071,351,519,900 | 35.45679 | 119 | 0.532509 | false |
asidev/aybu-core | aybu/core/models/user.py | 1 | 7972 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright 2010-2012 Asidev s.r.l.
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... | apache-2.0 | 5,875,499,489,000,414,000 | 33.214592 | 81 | 0.568239 | false |
webhamster/pidart | gamemanager/events.py | 1 | 1818 | from circuits import Event
class ReceiveInput(Event):
""" Some input arrived (fieldcode or other input) """
class StartGame(Event):
""" Start a new game. """
class GameInitialized(Event):
""" A new game was started. """
class DartStuck(Event):
""" A dart is stuck. May be fired many times in a row. "... | gpl-3.0 | -3,084,225,024,514,160,600 | 24.971429 | 76 | 0.663916 | false |
uw-it-aca/sqlshare-rest | sqlshare_rest/views/download.py | 1 | 1410 | from oauth2_provider.decorators import protected_resource
from django.views.decorators.csrf import csrf_exempt
from django.core.urlresolvers import reverse
from django.http import HttpResponse
from sqlshare_rest.views import get_oauth_user, get403, get404, get400, get405
from sqlshare_rest.util.db import get_backend
fr... | apache-2.0 | 3,505,049,341,933,977,000 | 27.77551 | 78 | 0.70922 | false |
yakky/djangocms-text-ckeditor | tests/test_field.py | 1 | 2818 | # -*- coding: utf-8 -*-
from django.template import Context, Template
from django.utils.safestring import SafeData
from djangocms_helper.base_test import BaseTestCase
from tests.test_app.forms import SimpleTextForm
from tests.test_app.models import SimpleText
from djangocms_text_ckeditor.fields import HTMLFormField
... | bsd-3-clause | -3,695,870,091,653,139,500 | 36.078947 | 86 | 0.635912 | false |
facilecoin/facilecoin-core | qa/rpc-tests/keypool.py | 1 | 4292 | #!/usr/bin/env python2
# Copyright (c) 2014 The FacileCoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the wallet keypool, and interaction with wallet encryption/locking
# Add python-facilecoinrpc t... | mit | -2,767,100,042,064,680,000 | 31.515152 | 105 | 0.643523 | false |
Sannoso/baxter_examples | scripts/sander_ik_test_posemessagebranche.py | 1 | 4913 | #!/usr/bin/env python
"""
Sanders ik_comparison test python script
This script is written to be ran with the gazebo simulated Baxter
It will probably run on the robot live aswel, but is not tested on it
"""
#import various libraries
import argparse
import struct
import sys
import rospy
#import library to use time.sl... | bsd-3-clause | -4,293,015,152,964,666,000 | 25.132979 | 89 | 0.58335 | false |
evansde77/cirrus | src/cirrus/delegate.py | 1 | 2385 | #!/usr/bin/env python
"""
_delegate_
Main cirrus command that delegates the call to
the sub command verb enabling
git cirrus do_a_thing to be routed to the appropriate
command call for do_a_thing
"""
import os
import os.path
import pkg_resources
import sys
import signal
import subprocess
import cirrus.environment ... | apache-2.0 | -2,823,482,492,811,789,000 | 21.932692 | 75 | 0.600419 | false |
moreati/revelation | epiphany/test/test_execute_bitwise.py | 1 | 7492 | from pydgin.utils import trim_32
from epiphany.instruction import Instruction
from epiphany.isa import decode
from epiphany.machine import RESET_ADDR
from epiphany.test.machine import StateChecker, new_state
import opcode_factory
import pytest
@pytest.mark.parametrize('rn,rm,is16bit', [(-1, 28, True),
... | bsd-3-clause | -798,977,002,079,429,200 | 44.406061 | 79 | 0.49693 | false |
nbari/my-sandbox | python/email/server.py | 1 | 1444 | import smtplib
import smtpd
import asyncore
import email.utils
from email.mime.text import MIMEText
import threading
class SMTPReceiver(smtpd.SMTPServer):
def process_message(self, peer, mailfrom, rcpttos, data):
print 'Receiving message from:', peer
print 'Message addressed from:', mailfrom
... | bsd-3-clause | -5,075,651,557,787,795,000 | 28.469388 | 71 | 0.549169 | false |
laurentb/weboob | modules/onlinenet/module.py | 1 | 2721 | # -*- coding: utf-8 -*-
# Copyright(C) 2016 Edouard Lambert
#
# This file is part of a weboob module.
#
# This weboob module 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 3 of the... | lgpl-3.0 | -5,601,386,455,273,830,000 | 35.77027 | 127 | 0.714076 | false |
kanairen/RegularIcosahedronDict | src/map/factory/base_shape_map_factory.py | 1 | 4162 | #!/usr/bin/env python
# coding: utf-8
import numpy as np
from src.obj.obj3d import Obj3d
from src.obj.grid.base_grid import BaseGrid
class BaseShapeMapFactory(object):
DIST_UNDEFINED = -1
def __init__(self, model_id, obj3d, grid, n_div, cls, grid_scale):
"""
:type model_id: int or long:
... | mit | -6,878,317,469,387,684,000 | 24.382353 | 78 | 0.548378 | false |
ikben/troposphere | examples/WAF_Common_Attacks_Sample.py | 1 | 5554 | # Converted from AWS WAF Sample located at:
# https://s3.amazonaws.com/cloudformation-examples/community/common-attacks.json
from troposphere import (
Template,
Parameter,
Join,
Ref
)
from troposphere.waf import (
Rule,
SqlInjectionMatchSet,
WebACL,
SizeConstraintSet,
IPSet,
Xss... | bsd-2-clause | -8,663,083,156,962,772,000 | 23.359649 | 80 | 0.541232 | false |
jonlatorre/VideoCargador | video/models.py | 1 | 1791 | # encoding: utf-8
from django.db import models
import os
from mencoder import *
class Video(models.Model):
"""This is a small demo using just two fields. The slug field is really not
necessary, but makes the code simpler. ImageField depends on PIL or
pillow (where Pillow is easily installable in a virtual... | mit | 5,213,071,513,827,455,000 | 35.55102 | 79 | 0.654941 | false |
mrshu/scikit-learn | examples/plot_permutation_test_for_classification.py | 1 | 2236 | """
=================================================================
Test with permutations the significance of a classification score
=================================================================
In order to test if a classification score is significative a technique
in repeating the classification procedure aft... | bsd-3-clause | 4,989,806,373,800,379,000 | 31.882353 | 79 | 0.61449 | false |
codebikeclimb/NASARobotComp | Robot2017_Master/Robot2016/motorTest.py | 1 | 2963 | #!/usr/bin/python
from Adafruit_MotorHAT import Adafruit_MotorHAT, Adafruit_DCMotor
import serial
import time
import atexit
#initialize i2c communication with motor shield
roboMotor = Adafruit_MotorHAT(addr=0x60)
#initialize serial communications with XBee RF reciever
xBee = serial.Serial('/dev/ttyACM1',57600)
compas... | gpl-3.0 | -6,703,005,234,935,376,000 | 21.792308 | 75 | 0.76949 | false |
rzinkstok/skymap | skymap/labeling/runner.py | 1 | 2495 | import time
import random
from PIL import Image, ImageDraw
from skymap.labeling.common import Point, BoundingBox, evaluate, POSITION_WEIGHT
from skymap.labeling.greedy import GreedyLabeler, AdvancedGreedyLabeler
from skymap.labeling.grasp import GraspLabeler
from skymap.labeling.genetic import GeneticLabeler, CachedGe... | gpl-3.0 | -6,816,814,384,139,079,000 | 27.678161 | 80 | 0.578357 | false |
kazarinov/python-daemon-manager | tests/test_daemon.py | 1 | 2769 | # -*- coding: utf-8 -*-
import unittest
import subprocess
import shlex
class TestConsole(unittest.TestCase):
def call(self, command):
args = shlex.split(command)
command = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
return command.stdout.read()
def command(... | lgpl-3.0 | -7,683,339,806,421,436,000 | 39.735294 | 140 | 0.616468 | false |
google/mannequinchallenge | loaders/aligned_data_loader.py | 1 | 1933 | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | apache-2.0 | -2,236,632,270,222,474,800 | 34.796296 | 84 | 0.578893 | false |
xemul/p.haul | phaul/connection.py | 1 | 1171 | #
# p.haul connection module contain logic needed to establish connection
# between p.haul and p.haul-service.
#
import logging
import socket
import util
class connection(object):
"""p.haul connection
Class encapsulate connections reqired for p.haul work, including rpc socket
(socket for RPC calls), memory socke... | lgpl-2.1 | -7,130,818,278,763,077,000 | 23.914894 | 76 | 0.733561 | false |
AQORN/thunder-engine | thunder_web/api/views.py | 1 | 1791 | from django.shortcuts import render
from rest_framework import status
from rest_framework.decorators import api_view
#
from rest_framework.response import Response
from task.models import Task
from api.serializers import TaskSerializer
#
@api_view(['GET', 'POST'])
def task_list(request):
"""
List all tasks, ... | gpl-3.0 | -5,743,528,586,565,458,000 | 27.428571 | 76 | 0.638749 | false |
PyBossa/pybossa | test/test_sched_depth_first_all.py | 1 | 48364 | # -*- coding: utf8 -*-
# This file is part of PYBOSSA.
#
# Copyright (C) 2015 Scifabric LTD.
#
# PYBOSSA 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 Free Software Foundation, either version 3 of the License, or
# (at your op... | agpl-3.0 | 3,603,119,875,285,052,000 | 39.744735 | 106 | 0.57549 | false |
alxnov/ansible-modules-core | cloud/amazon/ec2_vol.py | 1 | 22132 | #!/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 | -8,963,196,909,828,346,000 | 32.482602 | 414 | 0.628682 | false |
yyamano/RESTx | src/python/restx/render/__init__.py | 1 | 1140 | """
RESTx: Sane, simple and effective data publishing and integration.
Copyright (C) 2010 MuleSoft Inc. http://www.mulesoft.com
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... | gpl-3.0 | 6,498,477,152,287,166,000 | 33.545455 | 70 | 0.774561 | false |
octesian/IoTEM | IoTEM/urls.py | 1 | 1376 | """IoTEM URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-base... | gpl-3.0 | 5,857,188,549,150,959,000 | 44.866667 | 97 | 0.659884 | false |
tjcsl/cslbot | cslbot/commands/metar.py | 1 | 2400 | # -*- coding: utf-8 -*-
# Copyright (C) 2013-2018 Samuel Damashek, Peter Foley, James Forcier, Srijay Kasturi, Reed Koser, Christopher Reffett, and Tris Wilson
#
# 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 Softw... | gpl-2.0 | 6,708,503,875,459,143,000 | 35.923077 | 135 | 0.64125 | false |
googleapis/google-api-java-client-services | generator/src/googleapis/codegen/schema.py | 1 | 18349 | #!/usr/bin/python2.7
# Copyright 2010 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 requi... | apache-2.0 | -3,918,453,363,792,271,400 | 37.548319 | 80 | 0.642378 | false |
dthgeek/QuickOSM | core/actions.py | 1 | 4118 | # -*- coding: utf-8 -*-
"""
/***************************************************************************
QuickOSM
A QGIS plugin
OSM Overpass API frontend
-------------------
begin : 2014-06-11
copyright : (C) 2014 by 3Liz
email ... | gpl-2.0 | 1,764,082,413,191,741,200 | 34.196581 | 78 | 0.448033 | false |
Amber-MD/ambertools-conda-build | conda_tools/test/test_fix_conda_gfortran_linking_osx.py | 1 | 1041 | # pytest -vs .
import os
import sys
from mock import patch
import shutil
sys.path.insert(0, '..')
from fix_conda_gfortran_linking_osx import repack_conda_package, main
this_dir = os.path.dirname(__file__)
PACK_SCRIPT = os.path.join(this_dir, '..',
'pack_binary_without_conda_install.py')
FA... | mit | 669,227,652,938,590,500 | 26.394737 | 79 | 0.635927 | false |
brightiup/brightiup | brightiup/compiler/bt_lexer.py | 1 | 1391 | import ply.lex as lex
class BTLexerException(Exception):
def __init__(self, message):
self.message = message
def __str__(self):
return self.message
class BTLexer(object):
"""BT lexer"""
keywords = [
# "import",
"state",
]
tokens = [keyword.upper() for keyword ... | gpl-2.0 | -243,517,580,238,202,750 | 21.803279 | 88 | 0.4867 | false |
holzman/glideinwms-old | lib/condorMonitor.py | 1 | 24800 | #
# Project:
# glideinWMS
#
# File Version:
#
# Description:
# This module implements classes to query the condor daemons
# and manipulate the results
# Please notice that it also converts \" into "
#
# Author:
# Igor Sfiligoi (Aug 30th 2006)
#
import condorExe
import condorSecurity
import os
import string
... | bsd-3-clause | 6,990,342,089,642,197,000 | 31.124352 | 148 | 0.586048 | false |
vinu76jsr/django_profiler | docs/conf.py | 1 | 8147 | # -*- coding: utf-8 -*-
#
# complexity documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 9 22:26:36 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# ... | bsd-3-clause | -2,368,062,073,458,400,000 | 31.07874 | 80 | 0.707377 | false |
nvoron23/netmiko | tests/test_cisco_ios.py | 1 | 2115 | #!/usr/bin/env python
import pytest
import netmiko
import time
from DEVICE_CREDS import *
def setup_module(module):
module.EXPECTED_RESPONSES = {
'base_prompt' : 'pynet-rtr1',
'interface_ip' : '10.220.88.20'
}
show_ver_command = 'show version'
module.basic_command = 'show ip i... | mit | -1,181,263,027,566,322,700 | 22.764045 | 75 | 0.665248 | false |
apuigsech/emv-framework | iso7816.py | 1 | 5968 | #!/usr/bin/python
#
# Python ISO7816 (as part of EMV Framework)
# Copyrigh 2012 Albert Puigsech Galicia <albert@puigsech.com>
#
# This code 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; eithe... | gpl-3.0 | 7,305,658,734,531,248,000 | 22.131783 | 95 | 0.649464 | false |
guegue/forocacao | forocacao/users/views.py | 1 | 3882 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import base64
from PIL import Image, ImageDraw, ImageFont
from django.core.urlresolvers import reverse
from django.http import HttpResponse
from django.views.generic import DetailView, ListView, RedirectView, UpdateView
from braces.view... | bsd-3-clause | -8,969,089,653,582,079,000 | 34.290909 | 119 | 0.61154 | false |
icgood/pymap | pymap/parsing/specials/options.py | 1 | 5476 |
from __future__ import annotations
import re
from collections.abc import Iterable, Mapping
from typing import Optional
from . import AString, SequenceSet
from .. import Params, Parseable
from ..exceptions import NotParseable
from ..primitives import Number, List
from ...bytes import BytesFormat, rev
__all__ = ['Ext... | mit | 3,286,872,938,212,346,000 | 29.422222 | 76 | 0.56355 | false |
squirrelo/qiita | qiita_ware/dispatchable.py | 1 | 8731 | # -----------------------------------------------------------------------------
# Copyright (c) 2014--, The Qiita Development Team.
#
# Distributed under the terms of the BSD 3-clause License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | bsd-3-clause | 4,269,830,663,802,809,300 | 28.59661 | 79 | 0.590654 | false |
bepatient-fr/itools | itools/pkg/build_gulp.py | 1 | 4272 | # -*- coding: UTF-8 -*-
# Copyright (C) 2016 Sylvain Taverne <taverne.sylvain@gmail.com>
#
# 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 of the License, or
# (at your option) ... | gpl-3.0 | 1,900,275,981,483,111,000 | 34.6 | 91 | 0.526919 | false |
lnls-fac/sirius | pymodels/TS_V03_03/lattice.py | 1 | 10721 | """Lattice module.
In this module the lattice of the corresponding accelerator is defined.
"""
import math as _math
import numpy as _np
from pyaccel import lattice as _pyacc_lat, elements as _pyacc_ele, \
accelerator as _pyacc_acc, optics as _pyacc_opt
energy = 0.15e9 # [eV]
default_optics_mode = 'M1'
class ... | mit | -4,336,585,749,294,970,400 | 33.583871 | 78 | 0.544819 | false |
toshka/torrt | torrt/notifiers/telegram.py | 1 | 1820 | import logging
import requests
from requests import RequestException
from torrt.base_notifier import BaseNotifier
from torrt.utils import NotifierClassesRegistry
LOGGER = logging.getLogger(__name__)
class TelegramNotifier(BaseNotifier):
"""Telegram bot notifier. See instructions how to create bot at https://cor... | bsd-3-clause | -1,036,498,508,307,981,600 | 34 | 105 | 0.593407 | false |
alpine9000/amiga_examples | tools/external/amitools/amitools/fs/validate/DirScan.py | 1 | 6864 | from BlockScan import BlockScan
from amitools.fs.FSString import FSString
from amitools.fs.FileName import FileName
from amitools.fs.validate.Log import Log
import amitools.fs.DosType as DosType
class DirChainEntry:
"""entry of the hash chain"""
def __init__(self, blk_info):
self.blk_info = blk_info
self.p... | bsd-2-clause | -732,434,269,223,529,100 | 28.333333 | 147 | 0.60169 | false |
oaubert/advene | setup.py | 1 | 6968 | #! /usr/bin/env python3
import logging
logger = logging.getLogger(__name__)
import os
from setuptools import setup, find_packages
import sys
# We define the main script name here (file in bin), since we have to change it for MacOS X
SCRIPTNAME='advene'
def check_changelog(maindir, version):
"""Check that the ch... | gpl-2.0 | 829,313,294,184,711,600 | 37.076503 | 159 | 0.65729 | false |
ytsapras/robonet_site | scripts/OBSOLETE_CODE/run_tap.py | 1 | 5800 | #################################################################################
# Collection of routines to update the RoboNet database tables
# Keywords match the class model fields in ../robonet_site/events/models.py
#
# Written by Yiannis Tsapras Oct 2016
# Last update:
###########################################... | gpl-2.0 | -7,316,641,612,667,854,000 | 40.134752 | 141 | 0.602414 | false |
tensorflow/datasets | tensorflow_datasets/structured/genomics_ood_test.py | 1 | 1468 | # coding=utf-8
# Copyright 2021 The TensorFlow Datasets 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 License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | apache-2.0 | -8,410,193,488,320,906,000 | 33.952381 | 74 | 0.709128 | false |
ArcherSys/ArcherSys | Lib/encodings/iso2022_jp.py | 1 | 3299 | <<<<<<< HEAD
<<<<<<< HEAD
#
# iso2022_jp.py: Python Unicode Codec for ISO2022_JP
#
# Written by Hye-Shik Chang <perky@FreeBSD.org>
#
import _codecs_iso2022, codecs
import _multibytecodec as mbc
codec = _codecs_iso2022.getcodec('iso2022_jp')
class Codec(codecs.Codec):
encode = codec.encode
decode = codec.deco... | mit | 5,202,806,530,791,460,000 | 25.821138 | 74 | 0.700515 | false |
willcassella/SinGE | Tools/SinGED/types.py | 1 | 12310 | # types.py
import bpy
from bpy.types import PropertyGroup
from bpy.props import BoolProperty, IntProperty, FloatProperty, StringProperty, PointerProperty, EnumProperty, FloatVectorProperty
from functools import partial
def get_unused_component_types(scene=None, context=None):
# Unused arguments
del scene, co... | mit | -3,868,031,757,075,581,000 | 39.89701 | 167 | 0.670106 | false |
Seattle-Meal-Maps/seattle-meal-maps-api | meal_api/meal_api/urls.py | 1 | 1205 | """meal_api URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-ba... | mit | -6,016,341,527,609,289,000 | 32.472222 | 82 | 0.703734 | false |
hpcugent/vsc-mympirun | test/pmi_utils.py | 1 | 6270 | #
# Copyright 2019-2021 Ghent University
#
# This file is part of vsc-mympirun,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
# the Flemish Research Foundat... | gpl-2.0 | -978,821,178,101,611,400 | 34.224719 | 118 | 0.626156 | false |
ZeitOnline/z3c.celery | src/z3c/celery/session.py | 1 | 1860 | import threading
import transaction
import zope.interface
import transaction.interfaces
class CelerySession(threading.local):
"""Thread local session of data to be sent to Celery."""
def __init__(self):
self.tasks = []
self._needs_to_join = True
def add_call(self, method, *args, **kw):
... | bsd-3-clause | -8,065,323,295,136,975,000 | 23.473684 | 74 | 0.601075 | false |
bnoi/scikit-tracker | sktracker/tracker/cost_function/tests/test_abstract_cost_functions.py | 1 | 1500 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from nose.tools import assert_raises
import sys
import pandas as pd
import numpy as np
from sktracker.tracker.cost_function import AbstractCostF... | bsd-3-clause | 8,376,291,811,204,249,000 | 26.777778 | 75 | 0.64 | false |
arindampradhan/yaaHN | tests/test_item_model.py | 1 | 1836 | import httpretty
import unittest
from os import path
import types
import sys
import requests
from yaaHN.models import item
from yaaHN import hn_client
from yaaHN.helpers import item_parser, API_BASE
from test_utils import get_content, PRESET_DIR
class TestItem(unittest.TestCase):
def setUp(self):
httpret... | mit | 6,554,353,882,973,497,000 | 31.785714 | 85 | 0.619281 | false |
chubbymaggie/idalink | idalink/memory.py | 1 | 10682 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2013- Yan Shoshitaishvili aka. zardus
# Ruoyu Wang aka. fish
# Andrew Dutcher aka. rhelmot
# Kevin Borgolte aka. cao
#
# This program is free software; you can redistribute it and/or modify
# it un... | gpl-3.0 | -4,595,868,428,126,769,700 | 30.791667 | 80 | 0.586407 | false |
sdpp/python-keystoneclient | keystoneclient/tests/unit/v2_0/test_service_catalog.py | 1 | 9165 | # 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
# d... | apache-2.0 | -4,503,097,674,112,767,500 | 43.926471 | 79 | 0.602728 | false |
jantman/biweeklybudget | biweeklybudget/interest.py | 1 | 37651 | """
The latest version of this package is available at:
<http://github.com/jantman/biweeklybudget>
################################################################################
Copyright 2016 Jason Antman <jason@jasonantman.com> <http://www.jasonantman.com>
This file is part of biweeklybudget, also known as bi... | agpl-3.0 | -4,902,928,390,450,669,000 | 34.319887 | 80 | 0.587235 | false |
rouge8/20questions | admin.py | 1 | 2796 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
'''
admin.py
Andy Freeland and Dan Levy
5 June 2010
Provides administrative functions, such as retraining characters and deleting
objects and characters. Accessed at the /admin url. Laughably insecure.
'''
import web
import config, model
imp... | mit | 3,521,186,683,873,155,000 | 31.511628 | 110 | 0.609084 | false |
gunny26/webstorage | bin/filename_to_checksum_dict.py | 1 | 6212 | #!/usr/bin/python3
# pylint: disable=line-too-long
# disable=locally-disabled, multiple-statements, fixme, line-too-long
"""
command line program to create/restore/test WebStorageArchives
"""
import os
import hashlib
import datetime
import dateutil.parser
import time
import sys
import socket
import argparse
import stat... | gpl-2.0 | 6,207,287,639,097,450,000 | 40.139073 | 114 | 0.61027 | false |
ionux/bitforge | bitforge/utils/encoding.py | 1 | 10832 | # -*- coding: utf-8 -*-
"""
Various utilities useful for converting one Bitcoin format to another, including some
the human-transcribable format hashed_base58.
The MIT License (MIT)
Copyright (c) 2013 by Richard Kiss
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... | mit | -1,994,404,400,331,621,600 | 34.631579 | 108 | 0.681961 | false |
DedMemez/ODS-August-2017 | dna/DNAVisGroup.py | 1 | 2344 | # Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.dna.DNAVisGroup
from panda3d.core import LVector3, LVector3f
import DNAGroup
import DNABattleCell
import DNAUtil
class DNAVisGroup(DNAGroup.DNAGroup):
COMPONENT_CODE = 2
def __init__(self, name):
DNAGroup.DNAGroup.__init__(s... | apache-2.0 | 3,608,324,131,246,925,300 | 26.962963 | 85 | 0.611348 | false |
erykoff/redmapper | redmapper/__init__.py | 1 | 1821 | import os
os.environ['MKL_NUM_THREADS'] = '1'
os.environ['NUMEXPR_NUM_THREADS'] = '1'
os.environ['OMP_NUM_THREADS'] = '1'
from ._version import __version__, __version_info__
version = __version__
from . import calibration
from . import pipeline
from . import redmagic
from .configuration import Configuration
from .... | apache-2.0 | 5,558,822,357,060,048,000 | 40.386364 | 111 | 0.830862 | false |
CopyChat/Plotting | Python/PythonNetCDF.py | 1 | 10821 | '''
NAME
NetCDF with Python
PURPOSE
To demonstrate how to read and write data with NetCDF files using
a NetCDF file from the NCEP/NCAR Reanalysis.
Plotting using Matplotlib and Basemap is also shown.
PROGRAMMER(S)
Chris Slocum
REVISION HISTORY
20140320 -- Initial version created and posted onlin... | gpl-3.0 | 2,362,746,802,840,747,500 | 42.633065 | 81 | 0.641253 | false |
tek/amino | amino/tree.py | 1 | 14049 | import abc
from typing import Callable, TypeVar, Generic, Union, cast, Any
from amino.logging import Logging
from amino import LazyList, Boolean, __, _, Either, Right, Maybe, Left, L, Map, curried
from amino.boolean import false, true
from amino.tc.base import Implicits
from amino.tc.flat_map import FlatMap
from amino... | mit | -5,395,947,376,289,710,000 | 25.76 | 110 | 0.55947 | false |
marshallward/payu | test/test_manifest.py | 1 | 16595 | import copy
import os
from pathlib import Path
import pdb
import pytest
import shutil
import yaml
import payu
import payu.models.test
from .common import cd, make_random_file, get_manifests
from .common import tmpdir, ctrldir, labdir, workdir
from .common import sweep_work, payu_init, payu_setup
from .common import c... | apache-2.0 | -2,940,327,849,327,437,000 | 27.367521 | 76 | 0.666225 | false |
KyleJamesWalker/ansible-modules-core | cloud/amazon/ec2_asg.py | 1 | 34388 | #!/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 | -6,694,148,389,157,273,000 | 40.331731 | 232 | 0.645022 | false |
sireliah/poniat | menu.py | 1 | 2882 | #-*- coding: utf-8 -*-
import sys
import pygame
from pygame.locals import *
from utils import *
from initial import LoadMenuTextures
class MainMenu(LoadMenuTextures):
def __init__(self, modes, win_w, win_h):
self.showmain = True
self.submenu = False
self.click = False
self.mod... | gpl-3.0 | 1,126,106,222,080,723,800 | 27.514851 | 83 | 0.498958 | false |
FeodorM/some_code | some_nice_python_things/weather.py | 1 | 2096 | #! /usr/bin/env python3
import pyowm
import datetime
owm = pyowm.OWM('2642ecf7132b8918b8f073910006483c', language='ru')
now = pyowm.timeutils.now().date()
tomorrow = pyowm.timeutils.tomorrow().date()
def to_human_time(unix):
return datetime.datetime.fromtimestamp(unix)
def weather_date(weather):
return t... | mit | 2,245,925,329,467,947,500 | 23.797619 | 84 | 0.572732 | false |
jeremiedecock/snippets | python/tkinter/python3/cairo_with_pil.py | 1 | 3643 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Jérémie DECOCK (http://www.jdhp.org)
# 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 witho... | mit | 2,852,471,698,596,769,000 | 34.676471 | 110 | 0.732344 | false |
ostinelli/pyopenspime | lib/dns/rdataset.py | 1 | 11607 | # Copyright (C) 2001-2007 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 this permission notice
# appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ... | gpl-3.0 | 7,146,983,658,648,308,000 | 34.279635 | 78 | 0.591023 | false |
killbill/killbill-client-python | killbill/api/account_api.py | 1 | 210059 | # coding: utf-8
#
# Copyright 2010-2014 Ning, Inc.
# Copyright 2014-2020 Groupon, Inc
# Copyright 2020-2021 Equinix, Inc
# Copyright 2014-2021 The Billing Project, LLC
#
# The Billing Project, LLC licenses this file to you under the Apache License, version 2.0
# (the "License"); you may not use this file except in com... | apache-2.0 | 8,223,314,462,339,926,000 | 42.553597 | 207 | 0.58277 | false |
nmarley/dash | contrib/zmq/zmq_sub.py | 1 | 5988 | #!/usr/bin/env python3
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""
ZMQ example using python3's asyncio
Dash should be started with the command line arguments:
... | mit | 356,747,117,795,739,300 | 43.686567 | 107 | 0.629092 | false |
mpoullet/audio-tools | KissFFT/kiss_fft130/test/testkiss.py | 1 | 3565 | #!/usr/bin/env python
import math
import sys
import os
import random
import struct
import popen2
import getopt
import numpy
pi=math.pi
e=math.e
j=complex(0,1)
doreal=0
datatype = os.environ.get('DATATYPE','float')
util = '../tools/fft_' + datatype
minsnr=90
if datatype == 'double':
fmt='d'
elif datatype=='int1... | mit | -8,352,119,809,851,959,000 | 21.006173 | 72 | 0.555961 | false |
chrissorchard/malucrawl | malware_crawl/tasks.py | 1 | 2599 | from celery import task, chord
from .scan import scanners, heavy_scanners
from .search import search_engines
from .source import sources
from datetime import datetime
from dateutil.tz import tzutc
from models import TopicSet
# validator = jsonschema.Draft3Validator(json.loads(pkgutil.get_data("malware_cr... | mit | -8,517,734,512,202,998,000 | 22.518868 | 120 | 0.560215 | false |
atvKumar/TheWatcher | mkEmail.py | 1 | 5302 | from smtplib import SMTP, SMTP_SSL
from smtplib import SMTPException
from mimetypes import guess_type
from os.path import basename
from email.utils import COMMASPACE
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.base import MIMEBase
from email.encoders import encode... | apache-2.0 | -3,787,192,903,398,085,000 | 35.068027 | 77 | 0.557714 | false |
chrislit/abydos | tests/distance/test_distance_faith.py | 1 | 4993 | # Copyright 2019-2020 by Christopher C. Little.
# This file is part of Abydos.
#
# Abydos 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 versio... | gpl-3.0 | -651,294,029,013,972,900 | 39.92623 | 77 | 0.622471 | false |
thinkle/gourmet | gourmet/plugins/duplicate_finder/recipeMerger.py | 1 | 25533 | """recipeMerger.py
This module contains code for handling the 'merging' of duplicate
recipes.
"""
import os.path
import time
from typing import Union
from gettext import gettext as _
from gi.repository import Gtk, Pango
from gourmet import convert, gglobals, recipeIdentifier, recipeManager
from gourmet.gtk_extras im... | gpl-2.0 | 6,182,747,767,306,343,000 | 39.464342 | 180 | 0.567932 | false |
JoseBlanca/seq_crumbs | test/seq/test_seqio.py | 1 | 10372 | # Copyright 2012 Jose Blanca, Peio Ziarsolo, COMAV-Univ. Politecnica Valencia
# This file is part of seq_crumbs.
# seq_crumbs 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, ... | gpl-3.0 | -4,225,053,976,801,928,000 | 38.139623 | 78 | 0.58253 | false |
ishanatmuz/HangmanMinimalist | hangman.py | 1 | 4431 | import random
import string
import os
import platform
# Defining the text file containing the list of words
WORDLIST_FILENAME = "words.txt"
MAX_GUESSES = 8
def loadWords():
# Returns a list of valid words. Words are taken from the file words.txt
print "Loading word list from file..."
# Open file for ... | mit | 7,097,529,540,876,522,000 | 36.880342 | 118 | 0.61995 | false |
mirestrepo/voxels-at-lems | registration_eval/results/compute_trans_geo_accuracy.py | 1 | 13935 | #!/usr/bin/env python
# encoding: utf-8
"""
compute_transformation_error.py
Created by Maria Isabel Restrepo on 2012-09-24.
Copyright (c) 2012 . All rights reserved.
This script computes the distances betweeen an estimated similarity transformation and its ground truth
The transformation is used to transform a "source... | bsd-2-clause | 5,998,700,725,163,091,000 | 37.924581 | 150 | 0.568497 | false |
smpss91341/2016springcd_aG8 | static/publishconf.py | 1 | 1717 | #!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
# 因為 publishconf.py 在 pelicanconf.py 之後, 因此若兩處有相同變數的設定, ... | agpl-3.0 | 2,163,716,201,491,112,700 | 27.98 | 86 | 0.721877 | false |
denizs/torchUp | torchup/logging/logger.py | 1 | 1865 | import tensorflow as tf
import numpy as np
import scipy.misc
from tensorboardX.src.summary_pb2 import Summary
from tensorboardX import SummaryWriter
try:
from StringIO import StringIO
except ImportError:
from io import BytesIO
class Logger(object):
def __init__(self, log_dir):
'''
Create... | bsd-2-clause | -5,471,846,208,124,120,000 | 28.140625 | 83 | 0.604826 | false |
ziir/caliopen.api | caliopen/api/__init__.py | 1 | 1127 | # -*- coding: utf-8 -*-
__version__ = '0.0.1'
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
import logging
from pyramid.config import Configurator
from caliopen.base.config import Configuratio... | gpl-3.0 | -7,291,350,353,224,447,000 | 27.897436 | 64 | 0.678793 | false |
noironetworks/networking-cisco | networking_cisco/tests/unit/cisco/l3/l3_router_test_support.py | 1 | 6077 | # Copyright 2014 Cisco Systems, 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 requir... | apache-2.0 | -5,213,895,254,985,300,000 | 40.060811 | 78 | 0.68751 | false |
HXLStandard/libhxl-python | hxl/model.py | 1 | 48776 | """Main data-model classes for the Humanitarian Exchange Language (HXL).
This module defines the basic classes for working with HXL data. Other
modules have classes derived from these (e.g. in
[hxl.filters](filters.html) or [hxl.io](io.html)). The core class is
[Dataset](#hxl.model.Dataset), which defines the operatio... | unlicense | -8,416,026,671,488,264,000 | 38.114675 | 143 | 0.603247 | false |
KDD-OpenSource/geox-young-academy | day-3/Kalman-filter_Mark.py | 1 | 1494 | # -*- coding: utf-8 -*-
"""
Created on Wed Oct 11 10:10:24 2017
@author: Mark
"""
import numpy as np
import matplotlib.pyplot as plt
#Define functions
def model(state_0,A,B):
state_1 = A*state_0 + np.random.normal(0,B)
return state_1
state_null=np.random.normal(0,0.4)
def observation_functi... | mit | 167,307,088,535,886,000 | 21.34375 | 76 | 0.613788 | false |
Brazelton-Lab/lab_scripts | edit-esom-class-file.py | 1 | 1891 | #! /usr/bin/env python
"""
edit user-provided ESOM class file with new assignments in user-provided file
each line of user-provided file of new assignments should contain a data point number and a class number, separated by tabs
usage:
python edit-esom-class-file.py esom.cls new-assignments.tsv new-class-filename.cl... | gpl-2.0 | -7,825,894,047,534,338,000 | 31.603448 | 131 | 0.710206 | false |
dimtruck/magnum | magnum/tests/functional/k8s/test_k8s_python_client.py | 1 | 6881 | # 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 the Li... | apache-2.0 | 6,369,746,258,494,733,000 | 41.214724 | 77 | 0.533789 | false |
lpramuk/robottelo | tests/foreman/cli/test_satellitesync.py | 1 | 80631 | # -*- encoding: utf-8 -*-
"""Test class for InterSatellite Sync
:Requirement: Satellitesync
:CaseAutomation: Automated
:CaseLevel: Component
:CaseComponent: InterSatelliteSync
:TestType: Functional
:CaseImportance: High
:Upstream: No
"""
import json
from random import randint
from fauxfactory import gen_integer... | gpl-3.0 | -2,365,239,478,329,593,300 | 34.56727 | 99 | 0.603378 | false |
xhqu1981/custodian | custodian/qchem/handlers.py | 1 | 25246 | # coding: utf-8
from __future__ import unicode_literals, division
import shutil
import time
"""
This module implements error handlers for QChem runs. Currently tested only
for B3LYP DFT jobs.
"""
import copy
import glob
import json
import logging
import os
import re
import tarfile
from pymatgen.core.structure impor... | mit | -107,415,132,109,779,500 | 44.735507 | 90 | 0.528202 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.