semvec/pypi-packages huggingface dataset:
argc 2.1.0
A argument parsing module for python 2 and 3
License: MIT

A argument parsing module that also can run commands.

Note the argc.get key is the string but only if the argument started with an "-"
if it started with "--" then you can use it by added and "-" in front of the string
```py
argc().get("s") # - short
argc().get("-long") # -- long
```

## Changelog
2.1.0 - single file version

2.0.2 - Bugfixes

2.0.1 - Fixed detectType for python2

2.0.0 - Added tests working way better now

1.1.3 - stupid dots

1.1.2 - removed / in as an arguement

1.1.1 - Some more bugfixes!

1.1.0 - Thought so. and python2 support

1.0.2 - Confusion

1.0.1 - Bugfix

1.0.0 - Release


### Example 1
```py
from argc import argc

if __name__ import "__main__":
    # for python 2 do as it does not support charectar conversion
    # args = argc(sys.argv, False)
    args = argc() # uses sys.argv by default
    args.add("version", 10.0, True) # the true means that it will exit when the command is done
    args.add("func", lambda: 100**10, True) # real time calculations and running of functions
    args.add("func_2", functionname) # or just a function
    args.add("help", [
        "It also supports lists for multi-line prints",
        "With support for {}".format("functions"),
        lambda: 10-9**10,
        "So yeah... Awsome"
    ], True)

    args.run() # checks and runs arguments (can stop program)

    args.get("-config_name", True) # get config if by default it will return Value but
    # add True it will return True/False
```

### Example 2
```py
# example program that takes some arguments
# run as ${python} test.py ${args}

import random
from argc import argc

__version__ = "1.0.0"
__author__ = "Monty python"
__package__ = "STRING RING"
 __help__ = [
    "Usage: ",
    "   import STRING_RING as sr",
    "   tone = 10",
    "   sr.RING(tone)",
    "Author: {}".format(__author__),
    "Name: %(__package__)s"
]


# arguments are case sensetive but the -- and - is stripped
# so you only need the names. but that also means that -hallo,  --hallo and /hallo 
# all triggers the hello command
# option

if __name__ == "__main__":
    args = argc() # uses sys.argv by default
    args.add("help", __help__, True) # exits on help
    args.add("version", __version__,  True)
    # supports functions (prints return value)
    args.add("func", lambda: random.randint(0, 10**10), True)
    # checks and runs commands
    args.run() 

    # code after .run
    
    # Use .get for config
    if args.get("useL"):
        print("Using L")
    else:
        print("am not using L")

    # and for custom config using long
    print(args.get("-config", False)) # Use raw data returns None if it does not exist 
```
python-cobe 0.2.2
A library to enable streaming of custom entities to Cobe.io from within any Python applications
License: MIT

========================
Python Bindings for Cobe
========================

`Cobe <https://cobe.io/>`_ is a platform for monitoring applications and
services. It provides a live, searchable view of your infrastructure
components, and their relationships, decorated with metrics and alarms.

This library provides an interface to topologically model custom Python
applications using Cobe. Both Python 2 and 3 are supported.


Example
=======

.. code-block:: python

    import cobe

    with cobe.Source(destination='stream.cobe.io') as source:
        model = cobe.Model()
        application = cobe.Update('MyApplication')
        subsystem = cobe.Update('MyApplication:SubSystem')
        subsystem.attributes['performance'].set(9001)
        subsystem.attributes['performance'].traits.add('metric:gauge')
        model.relate(parent=application, child=subsystem)
        model.relate(parent=cobe.identify_process(), child=application)
        source.send(model)


Getting Started
===============

Firstly you will need `a Cobe account and Topology
<https://cobe.io/register>`_. Once you've created your topology, read the
`getting started documentation <https://cobe.io/docs/python/getting-started/>`_
to start monitoring your own Python applications.

If you come across any bugs please do `report them
<https://bitbucket.org/cobeio/python-cobe/issues/new>`_.
ArkPrice 0.1.1
Fetch the current price of Ark
License: MIT
Requires Python: >=3
Keywords: Ark python api price markets cryptocurrency

[![Build Status](https://travis-ci.org/Highjhacker/arkprice.svg?branch=master)](https://travis-ci.org/Highjhacker/arkprice)
[![HitCount](http://hits.dwyl.io/Highjhacker/priceark.svg)](http://hits.dwyl.io/Highjhacker/priceark) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) 
# ArkPrice

Fetch the price of Ark in any (crypto)currency.

## Built with
- [Python](https://www.python.org/)
- [Requests](http://docs.python-requests.org/en/master/)

## Installation

```shell
$ pip install arkprice
```

## Usage

### Fetching the price

You can fetch the price without any parameter, by default the return value will be in USD, 
or specify multiples (crypto)currency you want to use.

```python
from ArkPrice import get_price

print(get_price("eur"))
print(get_price("eur", "btc", "usd"))
>>> {'EUR': 4.41}
>>> {'EUR': 4.41, 'BTC': 0.0004976, 'USD': 5.39}
```

### Output the price

Output the price directly in the console with the correct symbol of the currency.

```python
from ArkPrice import output_price

output_price("eur", "btc", "usd")

>>> 4.46 €
>>> 0.0004994 Ƀ
>>> 5.43 $
```

## TODOS

- [x] Core code.
- [ ] Write documentation.
- [x] Unit testing.
- [x] Package it.
- [x] Travis.
    - [ ] Missing support for python 3.2.
    - [ ] OSX Support ?
    - [ ] Windows support ?
- [ ] More markets ?
    - [x] CryptoCompare
    - [ ] CoinMarketCap
    - ...

## Authors

- Jolan Beer - Highjhacker

## License

ArkPrice is under MIT license. See the [LICENSE file](https://github.com/Highjhacker/arkprice/blob/master/LICENSE) for more informations.
verace 0.4.1
Library for checking version strings in project files.
License: MIT
Keywords: project files version check library

|License| |Build Status|

Introduction
============

This project provides a Python 2.7/3.x library to aid checking strings
in files. Verace’s main use case is checking that version strings are
consistent in project files. The main features of this library are:

-  Custom parse any project files for strings.

-  Easily determine if all strings are consistent.

-  Quickly updated tracked strings.

-  Should work on any platform without additional dependencies;
   `Qprompt <https://github.com/jeffrimko/Qprompt>`__ is recommended for
   default prompts.

Status
======

Currently, this project is in the **development release** stage. While
this project is suitable for use, please note that there may be
incompatibilities in new releases.

Requirements
============

Verace should run on any Python 2.7/3.x interpreter without additional
dependencies.

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

Verace can be installed with pip using the following command:
``pip install verace``

Additional, Verace can be installed from source by running:
``python setup.py install``

Usage
=====

Start by importing Verace into your Python script:

.. code:: python

    import verace

Create a ``VerChecker`` object, name it and set the root location:

.. code:: python

    mychk = verace.VerChecker("My Checker", __file__)

Include a file to check. If no check function is provided,
``check_basic()`` will be used by default. Let’s look for the version
string in ``setup.py``:

.. code:: python

    mychk.include(r"lib\setup.py", match="version = ", splits=[('"',1)])

Get the string found by the checker:

.. code:: python

    print("version found = " + mychk.string())
    # version found = 0.4.1

The string can be updated in all associated files:

.. code:: python

    mychk.update("something different!")

That’s the basics. Check out `the
documentation <http://verace.readthedocs.io>`__ for more info.

Here are some real-world examples of Verace in action:

-  `Auxly <https://github.com/jeffrimko/Auxly/blob/master/_Check_Versions.py>`__

-  `Qprompt <https://github.com/jeffrimko/Qprompt/blob/master/_Check_Versions.py>`__

-  `Verace
   (meta) <https://github.com/jeffrimko/Verace/blob/master/_Check_Versions.py>`__

Documentation
=============

The full documentation for this project can be found `here on Read the
Docs <http://verace.readthedocs.io>`__.

FAQ
===

How is **Verace** pronounced?

-  "ver-AH-che" - Italian word for "truthful/accurate".

Is this library only for Python projects?

-  Not at all! Any project can use Verace!

.. |Verace| image:: doc/logo/verace.png
.. |License| image:: http://img.shields.io/:license-mit-blue.svg
.. |Build Status| image:: https://travis-ci.org/jeffrimko/Verace.svg?branch=master
dict-recursive-update 1.0.1
A Python module who does recursive update work on 2 dicts.
License: MIT
Keywords: dict recursive update

=====================
dict-recursive-update
=====================

.. image:: https://travis-ci.org/Maples7/dict-recursive-update.svg?branch=master
    :target: https://travis-ci.org/Maples7/dict-recursive-update

.. image:: https://img.shields.io/pypi/v/dict-recursive-update.svg
    :target: https://pypi.python.org/pypi/dict-recursive-update

A Python module who does recursive update work on 2 dicts.

Usage
=====

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

.. code:: shell

    pip install dict-recursive-update


Examples
--------

.. code:: python

    >>> from dict_recursive_update import recursive_update

    >>> recursive_update({'a': {'b': 2}}, {'a': {'b': 3, 'd': 4}, 'e': 5})
    {'a': {'b': 3, 'd': 4}, 'e': 5}

    >>> recursive_update('a', 'b')
    Traceback (most recent call last):
        ...
    TypeError: Params of recursive_update should be dicts

    >>> recursive_update({'a': [1]}, {'a': [2], 'c': {'d': {'c': 3}}})
    {'a': [2], 'c': {'d': {'c': 3}}}

    >>> recursive_update({'a': {'c': 1, 'd': {}}, 'b': 4}, {'b': 5})
    {'a': {'c': 1, 'd': {}}, 'b': 5}

    >>> recursive_update({'a': {'c': 1, 'd': {}}, 'b': 4}, {'a': 2})
    {'a': 2, 'b': 4}


Why?
====

This is originally designed for merge multiple configurations in different running environment such as production or stage.

As a node.js developer, package `config <https://github.com/lorenwest/node-config>`_ and `lodash <https://github.com/lodash/lodash>`_ are very handy for me. This package is the base of `a python-version config package <https://github.com/Maples7/py-config>`_.

In a normal project, there is usually a copy of default configuration, but when we deploy it, some configurations differ from default ones like database address. So a handy configuration-loading package is supposed to load right configurations according to the running environment.

License
=======
`MIT <./LICENSE.txt>`_
django-price-level 1.0.0
Adds time limited price levels to your model.
License: MIT
Keywords: django-price-level

=============================
django-price-level
=============================

.. image:: https://badge.fury.io/py/django-price-level.png
    :target: https://badge.fury.io/py/django-price-level

.. image:: https://travis-ci.org/PetrDlouhy/django-price-level.png?branch=master
    :target: https://travis-ci.org/PetrDlouhy/django-price-level

Adds time limited price levels to your model class.

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

The full documentation is at https://django-price-level.readthedocs.io.

Quickstart
----------

Install django-price-level::

    pip install django-price-level

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'price_level',
        ...
    )

Configure in your settings the desired model:

.. code-block:: python

   from model_utils import Choices
   PRICE_LEVEL_MODEL = 'your.Model'
   PRICE_LEVEL_CATEGORY_CHOICES = Choices(('basic', _('Basic')), ('company', _('For companies')))
   PRICE_LEVEL_CATEGORY_DEFAULT = 'basic'

Add author middleware in settings:

.. code-block:: python

  MIDDLEWARE_CLASSES = [
      ...
      'author.middlewares.AuthorDefaultBackendMiddleware',
      ...
   ]

Use `Pricable` behavioral mixin to your model:

.. code-block:: python

   from price_level.models import Pricable
   class Model(Pricable, models.Model):
      ...
   
Now you can get current price for your category:

.. code-block:: python

     price_level = model.get_current_price_level(category='company')

Features
--------

* Adds PriceLevel models can be bound to your model class

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2017-01-05)
++++++++++++++++++

* First release on PyPI.