semvec/pypi-packages huggingface dataset:
coinaddr 1.0.1
A crypto-currency address inspection/validation library.
License: MIT
Keywords: bitcoin,litecoin,altcoin,ethereum,address,validation,inspection


CoinAddr
========


.. image:: https://travis-ci.org/joeblackwaslike/coinaddr.svg?branch=master
   :target: https://travis-ci.org/joeblackwaslike/coinaddr
   :alt: Build Status

.. image:: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
   :target: https://github.com/joeblackwaslike/coinaddr
   :alt: Github Repo

.. image:: https://img.shields.io/pypi/v/coinaddr.svg
   :target: https://pypi.python.org/pypi/coinaddr
   :alt: Pypi Version

.. image:: https://img.shields.io/pypi/l/coinaddr.svg
   :target: https://pypi.python.org/pypi/coinaddr
   :alt: Pypi License

.. image:: https://img.shields.io/pypi/wheel/coinaddr.svg
   :target: https://pypi.python.org/pypi/coinaddr
   :alt: Pypi Wheel

.. image:: https://img.shields.io/pypi/pyversions/coinaddr.svg
   :target: https://pypi.python.org/pypi/coinaddr
   :alt: Pypi Versions


Maintainer
----------

Joe Black | me@joeblack.nyc | `github <https://github.com/joeblackwaslike>`_

Introduction
------------

A cryptocurrency address inspection/validation library for python.

Supported currencies
^^^^^^^^^^^^^^^^^^^^


* bitcoin
* bitcoin-cash
* litecoin
* ethereum
* ethereum-classic
* ether-zero
* dogecoin
* dashcoin
* neocoin
* ripple

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

.. code-block:: shell

   pip3 install coinaddr

Usage
-----

.. code-block:: python

   >>> import coinaddr
   >>> coinaddr.validate('btc', b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')
   ValidationResult(name='bitcoin', ticker='btc', address=b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT', valid=True, network='main')

Extending
^^^^^^^^^

Currencies
~~~~~~~~~~

To add a new currency, simply instantiate a new ``coinaddr.currency.Currency`` class.  It will be automatically registered.

.. code-block:: python

   from coinaddr import Currency
   Currency('testcoin', ticker='ttc', validator='Base58Check',
            networks=dict(
               main=(0x00, 0x05), test=(0x6f, 0xc4)))

To override a default currency, simply instantiate a new currency with that name.

Validators
~~~~~~~~~~

To add a new validator, simply create a subclass of ``coinaddr.validation.ValidatorBase`` with your own implementation that implements the ``coinaddr.interfaces.IValidator`` interface.  It will be automatically registered.

.. code-block:: python

   from zope.interface import implementer
   from coinaddr.interfaces import IValidator
   from coinaddr import ValidatorBase


   @implementer(IValidator)
   class NewValidator(ValidatorBase):
       name = 'New'

       @property
       def networks(self):
           return 'testing'

       def validate(self):
           return True

To override a default validator, simply create a new validator with that name.

Changes
-------


* `CHANGELOG <CHANGELOG.md>`_
django-chaos 3.0.2
Chaos is a project that you can use to do project management
License: MIT
Keywords: django-chaos

=============================
Django Chaos
=============================

.. image:: https://gitlab.sigmageosistemas.com.br/dev/django-chaos/badges/master/coverage.svg
.. image:: https://gitlab.sigmageosistemas.com.br/dev/django-chaos/badges/master/pipeline.svg
.. image:: https://readthedocs.org/projects/django-chaos/badge/?version=latest
Project to do project management with a gantt chart.

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

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

Quickstart
----------

Install Django Chaos::

    pip install django-chaos

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'chaos.apps.ChaosConfig',
        ...
    )

Add Django Chaos's URL patterns:

.. code-block:: python

    from chaos import urls as chaos_urls


    urlpatterns = [
        ...
        url(r'^', include(chaos_urls)),
        ...
    ]

Features
--------

* TODO

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-10-09)
++++++++++++++++++

* First release on PyPI.
django-simple-viewset 0.1.11
Simple viewset for models CRUD operations
License: MIT
Keywords: django,simple,viewset,crud

=====================
django-simple-viewset
=====================

Simple viewset for models CRUD operations.

.. code:: python

    # myapp/models.py
    from django.db import models

    class MyModel(models.Model):
        ...
        class Meta:
            ...
            default_permissions = ('add', 'change', 'delete', 'read')


.. code:: python

    # myapp/views.py
    from viewset import ModelViewSet
    from .models import MyModel

    class MyModelViewSet(ModelViewSet):
        model = MyModel


.. code:: python

    # myapp/urls.py
    from django.conf.urls import include
    from myapp.views import MyModelViewSet

    urlpatterns = [
        url(r'', include(MyModelViewSet().urls())),
    ]


.. code:: python

    # settings.py
    INSTALLED_APPS = [
        'simple_viewset',
    ]