semvec/pypi-packages huggingface dataset:
logging-toolbox 0.2.0
logging-toolbox
License: MIT

# `logging-toolbox`

[![Build Status](https://travis-ci.com/thinnect/logging-toolbox.svg?branch=master)](https://travis-ci.com/thinnect/logging-toolbox)

The `logging-toolbox` module contains useful functions to help the user
with logging recurring things like command-line arguments and dependencies
on startup.

## Usage

### Logging program arguments and dependencies

Suppose we have a Python program that has the dependencies `dep1` and `dep2`,
and takes the command-line arguments `--server-url`, `--one-argument` and
`--some-hex-value`. We'll assume the module the program is a part of is
called `simple_program`. Upon startup, we can log the versions of our
dependencies and all arguments.

```python
from .utils import get_args, setup_logging

from logging_toolbox.startup import startup_log
from logging_toolbox.utils import clean_url


if __name__ == '__main__':
    arguments = get_args()
    setup_logging()

    startup_log(arguments,
                critical_modules=['simple_program', 'dep1', 'dep2'],
                cleaners={'server_url': clean_url,
                          'some_hex_value': '0x{:04X}'.format})
```

This should log something like:

```text
=================CONFIG=================
----------------Versions----------------
simple_program : UNKNOWN
dep1           : 0.3.2.dev23
dep2           : 1.0.1
---------------Arguments----------------
one_argument   : argument value
server_url     : https://user:******@server/
some_hex_value : 0x02FF
=======================================
```
virga 0.0.25
Analysing your Cloud infrastructure before the rain falls to the ground
License: MIT
Keywords: qa testing cloud aws

Virga
=====

From `Wikipedia <https://en.wikipedia.org/wiki/Virga>`_: *"In meteorology, Virga is an observable streak or shaft of
precipitation falling from a cloud that evaporates or sublimates before reaching the ground."*

This piece of software is not about a weather phenomenon. Virga is a tool for analysing your Cloud infrastructure
before the rain catastrophically reaches the ground.

For the documentation see `the code repository <https://github.com/gurdulu/virga>`_.
pyopenload 0.7
Python wrapper for openload.co API
License: MIT
Keywords: openload,wrapper,api,api client

PyOpenload |StarButton|
=======================

python wrapper for `Openload.co`_ `API`_.

|travis| |pypi| |format| |CodacyBadge| |license|

Install
-------

.. code-block:: bash

    $ pip install pyopenload


Usage
-----

All `API`_ features are implemented.

**Retrieve account info**

.. code:: python

    from openload import OpenLoad

    ol = OpenLoad('login', 'key')

    account_info = ol.account_info()
    print(account_info)


**Upload file**

.. code:: python

    from openload import OpenLoad

    ol = OpenLoad('login', 'key')

    uploaded_file_info = ol.upload_file('/home/username/file.txt')
    print(uploaded_file_info)


**Retrieve file info**

.. code:: python

    from openload import OpenLoad

    ol = OpenLoad('login', 'key')

    # Random file id.
    file_id = 'YMTqhQAuzVX'

    file_info = ol.file_info(file_id)
    print(file_info)

Documentation
-------------

documentation is available at https://pyopenload.readthedocs.io/.

.. _Openload.co: https://openload.co
.. _API: https://openload.co/api

.. |StarButton| image:: https://img.shields.io/github/stars/mohan3d/pyopenload.svg?style=social&label=Star&maxAge=3600
    :target: https://github.com/mohan3d/PyOpenload

.. |pypi| image:: https://img.shields.io/pypi/v/pyopenload.svg?maxAge=3600&style=flat-square
    :target: https://pypi.python.org/pypi/pyopenload

.. |format| image:: https://img.shields.io/pypi/format/pyopenload.svg?maxAge=3600&style=flat-square
    :target: https://pypi.python.org/pypi/pyopenload

.. |CodacyBadge| image:: https://img.shields.io/codacy/grade/42d0f198fcbe43daae71e21b6a3540fe.svg?maxAge=3600&style=flat-square
    :target: https://www.codacy.com/app/mohan3d94/PyOpenload?utm_source=github.com&utm_medium=referral&utm_content=mohan3d/PyOpenload&utm_campaign=badger

.. |license| image:: https://img.shields.io/pypi/l/pyopenload.svg?maxAge=3600&style=flat-square
    :target: https://choosealicense.com/licenses/mit/

.. |travis| image:: https://img.shields.io/travis/mohan3d/PyOpenload.svg?maxAge=3600&style=flat-square
    :target: https://travis-ci.org/mohan3d/PyOpenload