semvec/pypi-packages huggingface dataset:
crumbs 2.1.0
Generalized all-in-one parameters module.
License: MIT
Keywords: crumbs,parameters,configuration,environment,arguments

Description
===========

Generalized all-in-one parameters module.

This package provides a single interface to environment variables', 
configuration files', and command line arguments' provided values.  The 
dictionary-like interface makes interacting with these, most of the time 
disparate, resources much simpler.  It also allows parameters' values to be set
in any of the three sources and selects an appropriate value when a parameter's
value is specified in multiple sources.  This way the most expected value,
according to the normal prcedence—command line arguments then configuration
files then environment variables, is always returned.

Installation
============

This package is stored in PyPI and can be installed the standard way::

    pip install crumbs

The latest release available is:

.. image:: https://badge.fury.io/py/crumbs.png
    :target: http://badge.fury.io/py/crumbs

Using Crumbs
============

Usage of this package is outlined in the documentation::

    pydoc crumbs

Developing Crumbs
=================

If you would prefer to clone this package directly from git or assist with 
development, the URL is https://github.com/alunduil/crumbs.

Crumbs is tested continuously by Travis-CI and running the tests is quite 
simple::

    flake8
    nosetests

The current status of the build is:

.. image:: https://secure.travis-ci.org/alunduil/crumbs.png?branch=master
   :target: http://travis-ci.org/alunduil/crumbs

Authors
=======

* Alex Brandt <alunduil@alunduil.com>
* Greg Swift <gregswift@gmail.com>

Known Issues
============

Known issues can be found in the github issue list at
https://github.com/alunduil/crumbs/issues.

Troubleshooting
===============

If you need to troubleshoot an issue or submit information in a bug report, we
recommend obtaining the following pieces of information:

* output with debug logging turned on in your application
* any relevant stack traces
grid-toolkit 1.0.10
A toolkit for generating grid-frequency deviation scenarios over 15 minute timesteps.
License: MIT
Keywords: energy grid system simulation optimization

A grid toolkit
===========================

This toolkit implements the model described in the following paper for generating scenarios of grid-frequency deviations over 15-minute time steps:

T. Mercier, J. Jomaux, and E. De Jaeger, “Stochastic Programming for Valuing Energy Storage Providing Primary Frequency Control”.

# Installation

pip install grid_toolkit

# Use

import grid_toolkit

scenarios = grid_toolkit.generate(n,length,[start_year,start_month,start_day,start_hour])

# Note on arguments

All arguments are integers with n the number of scenarios you want to generate, length the number of time steps of the generated scenarios, start_year,start_month,start_day,start_hour] the starting date of the scenarios.

[start_year,start_month,start_day,start_hour] = [2015,1,1,0] corresponds to 1 January 2015 at midnight.

Note that daylight saving time is taken into account.
c_secp256k1 0.0.8
secp256k1 wrapped with cffi to use with python
License: MIT

Bitcoin secp256k1 C library wrapped with CFFI to use with Python2 and PyPy2.

Benchmarks
----------
These results are achieved on an Intel Core i5-4200U CPU @ 1.6GHz::

    cffi took: 0.75secs / 74μs per op  / 13391 signs per sec

    cffi took: 1.09secs / 109μs per op  / 9170 recovers per sec

Usage
-----
This library offers sign, recover and verify from the secp256k1 bitcoin lib used like this::

    sig = ecdsa_sign_raw(msg32, seckey)

    pubkey = ecdsa_recover_raw(msg32, sig)

    ecdsa_verify_raw(msg32, sig, pubkey)

Dependencies
------------
On Ubuntu::

    $ sudo apt-get install libssl-dev libffi-dev libtool


Installation
------------
Clone repo::

    git clone https://github.com/czepluch/pysecp256k1.git


Install
-------

To install package::

    python setup.py install


Development
-----------

To install::

    python setup.py develop


Test
----

To test and install test dependenceis::

    python setup.py test


Generate source & binary pakacages
----------------------------------

To generate installable source and binary packages::

    python setup.py sdist bdist_wheel