semvec/pypi-packages huggingface dataset:
bienvenue 3.0.1
Read config from environment for 12 factor apps
License: MIT
Keywords: django,environment,environ,env

=========
bienvenue
=========

|PyPI| |Build Status| |Coverage Report|

Python module for reading config from environment for `12-factor apps <https://12factor.net/>`_.
Supports Python 3.4+

Rationale
---------

In a 12-factor app, `config comes from the environment <https://12factor.net/config>`_.
For example, on Heroku, config variables are set using ``heroku config:set`` on the command line,
then `passed to the application in the environment <https://devcenter.heroku.com/articles/config-vars>`_.

Reading and parsing config from the environment is tedious and error-prone. For
example, a Django app has ``settings.DEBUG`` which should be
either ``True`` or ``False``. The operator runs ``heroku config:set DJANGO_DEBUG
off`` intending to disable it, but the application only sees a non-empty string
and treats the value as ``True``.

This sort of problem can be handled case-by-case but doesn't need to be. Clearly
a configuration setting with a fallback boolean value should be interpreted as
boolean from the environment. Likewise a fallback integer setting indicates the
associated environment variable should be converted from string to int.

Sounds like a job for a small and well-tested Python module, right?

Installation
------------

Install from PyPI_:

.. code:: sh

    pip install bienvenue

Usage
-----

Bienvenue provides the function ``make_env_reader`` which returns a new
function for accessing the environment. For example:

.. code:: python

    from bienvenue import make_env_reader

    env = make_env_reader(prefix='MY_')

    DEBUG = env('DEBUG', False)
    SECRET_KEY = env('SECRET_KEY', 'fallback-secret-for-dev')
    ALLOWED_HOSTS = env('ALLOWED_HOSTS', [])

The env reader looks for ``MY_DEBUG`` in ``os.environ``. If it's not there,
the default value ``False`` will be returned. However if it's found, then the
value there will be interpreted according to the type of the default, in this
case boolean. Common strings such as on/off, true/false and yes/no are
interpreted into ``True`` or ``False``.

Likewise ``SECRET_KEY`` will be extracted from ``MY_SECRET_KEY`` and then
interpreted as a string value.

``ALLOWED_HOSTS`` will be extracted from ``MY_ALLOWED_HOSTS`` and JSON
decoded as a list, since the default value is a list.

If bienvenue encounters unknown types or values during parsing, it will log an
error and fall back to the provided default.

Legal
-----

Copyright 2017 `Scampersand LLC <https://scampersand.com>`_

Released under the `MIT license <https://github.com/scampersand/bienvenue/blob/master/LICENSE>`_

.. _PyPI: https://pypi.python.org/pypi/bienvenue

.. |Build Status| image:: https://img.shields.io/travis/scampersand/bienvenue/master.svg?style=plastic
   :target: https://travis-ci.org/scampersand/bienvenue?branch=master

.. |Coverage Report| image:: https://img.shields.io/codecov/c/github/scampersand/bienvenue/master.svg?style=plastic
   :target: https://codecov.io/gh/scampersand/bienvenue/branch/master

.. |PyPI| image:: https://img.shields.io/pypi/v/bienvenue.svg?style=plastic
   :target: PyPI_
poloniex-aio 0.3.1
An async library for Poloniex api
License: MIT
Requires Python: >=3.5

Poloniex-aio
=================================

An async library for `Poloniex api <https://poloniex.com/support/api/>`_ with builtin requests rate control.

This library is still exerimental.

.. image:: https://api.travis-ci.org/OlivierCazade/poloniex_aio.svg?branch=master
	   :target: https://travis-ci.org/OlivierCazade/poloniex_aio


Install
-------

A pip package is available.

.. code:: python

   pip3 install poloniex-aio


Usage
-----

Full documentation available at `readthedocs <https://poloniex-aio.readthedocs.io/en/stable/>`_

.. code:: python

   from poloniex_aio import public

   async def printTicker():
    async with aiohttp.ClientSession() as client:
        res = await public.returnTicker(client)
	print(res)
ohmlr 0.0.17
One-hot multinomial logisitc regression
License: MIT
Keywords: inference,statistics,machine learning

One-hot multinomial logistic regression
========================

Quick Start
-----------

Installation
~~~~~~~~~~~~

- To install ``ohmlr`` on your computer using ``pip``, execute

  .. code-block:: sh

     pip install ohmlr

- Test out ``ohmlr`` in Python:

  .. code-block:: python

     import ohmlr
     import numpy as np

     # create model and generate data
     n_features = 16
     n_x_classes = np.random.randint(2, 10, size=n_features)
     n_y_classes = 8
     model = ohmlr.ohmlr().random(n_features, n_x_classes, n_y_classes)
     x, y = model.generate_data(n_samples=1000)

     # fit and score model
     model.fit(x, y)
     print(model.score(x, y))


Links
-----

Online documentation:
    http://joepatmckenna.github.io/ohmlr

Source code repository:
    https://github.com/joepatmckenna/ohmlr

Python package index:
    https://pypi.python.org/pypi/ohmlr
scroodle 1.0
IDC Moodle scrapper
License: MIT

# scroodle
> Moodle scraper for IDC Herzliya. Automatically collects new assignments and information from current semester's courses

Do you find yourself browsing [IDC Moodle](http://moodle.idc.ac.il/2018/my/index.php?lang=en) every couple of hours, every day, clicking through each course and scrolling until the end of time, just to check whether new assignments or announcements are up?

<img src="readme_gif.gif">

No more! :books: 

## What is it?

**scroodle** is a small, easy-to-use Python program that does the 'hard job' for you, so you don't have to! Insert your Moodle username and password, and get all the recent homeworks, announcments and resources from *your* current semester's courses in no time!
What's worse than spending your Friday morning scrolling through Moodle?

## How to install it?
The first two steps are first-time only!

Clone the git repository to your local machine.
```sh
git clone https://github.com/tsehori/scroodle.git
```

Then, install the dependencies from requirements.txt:
```sh
pip install -r requirements.txt
```

To use the program, make sure that your current directory in the command line is *scroodle*, then:
```sh
python main.py
```
And just follow the program's instructions!
kinton 0.2.0
This is the perfect tool if you want run the same tasks in servers in AWS and Google Cloud with only one comand.
License: MIT
Keywords: ansible infrastructure provisioning

Kinton is a software that automates software provisioning and configuration management when you have servers in different cloud computing providers or in different cloud computing accounts in the same provider. This is the perfect tool if you want run the same tasks in servers in AWS and Google Cloud with only one comand.