Package for payment handling via https://www.coinpayments.net
Project description
=============================
django-coinpayments
=============================
.. image:: https://badge.fury.io/py/django-coinpayments.svg
:target: https://badge.fury.io/py/django-coinpayments
.. image:: https://travis-ci.org/Bearle/django-coinpayments.svg?branch=master
:target: https://travis-ci.org/Bearle/django-coinpayments
.. image:: https://codecov.io/gh/Bearle/django-coinpayments/branch/master/graph/badge.svg
:target: https://codecov.io/gh/Bearle/django-coinpayments
Package for payment handling via https://www.coinpayments.net
Screenshots
-----------
.. image:: https://github.com/Bearle/django-coinpayments/blob/master/screenshots/transaction.jpg?raw=true
Features
--------
* Has full Coinpayments API client based on .. _`This one`: https://github.com/DogFive/pyCoinPayments
* Has celery, cron tasks for transaction status updates
* Provides a simple `create_tx` method
* Multiple accepted coins can be set using COINPAYMENTS_ACCEPTED_COINS variable in settings.py
Dependencies
============
* `django >= 1.9 <http://djangoproject.com/>`_
* `django-model-utils >=2.0 <https://github.com/jazzband/django-model-utils>`_
Documentation
-------------
The full documentation is at https://django-coinpayments.readthedocs.io.
Quickstart
----------
Install django-coinpayments::
pip install django-coinpayments
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'django_coinpayments',
...
)
Run ``migrate``::
python manage.py migrate django_coinpayments
**Important!**
You have to provide API keys with `create_transaction`, `get_tx_info` permissions like this in your settings.py:
.. code-block:: python
COINPAYMENTS_API_KEY = 'aaaaa'
COINPAYMENTS_API_SECRET = 'aaa'
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.1 (2018-04-26)
++++++++++++++++++
* Some typo fixes by https://github.com/rubik
0.1.0 (2018-04-06)
++++++++++++++++++
* First release on PyPI.
django-coinpayments
=============================
.. image:: https://badge.fury.io/py/django-coinpayments.svg
:target: https://badge.fury.io/py/django-coinpayments
.. image:: https://travis-ci.org/Bearle/django-coinpayments.svg?branch=master
:target: https://travis-ci.org/Bearle/django-coinpayments
.. image:: https://codecov.io/gh/Bearle/django-coinpayments/branch/master/graph/badge.svg
:target: https://codecov.io/gh/Bearle/django-coinpayments
Package for payment handling via https://www.coinpayments.net
Screenshots
-----------
.. image:: https://github.com/Bearle/django-coinpayments/blob/master/screenshots/transaction.jpg?raw=true
Features
--------
* Has full Coinpayments API client based on .. _`This one`: https://github.com/DogFive/pyCoinPayments
* Has celery, cron tasks for transaction status updates
* Provides a simple `create_tx` method
* Multiple accepted coins can be set using COINPAYMENTS_ACCEPTED_COINS variable in settings.py
Dependencies
============
* `django >= 1.9 <http://djangoproject.com/>`_
* `django-model-utils >=2.0 <https://github.com/jazzband/django-model-utils>`_
Documentation
-------------
The full documentation is at https://django-coinpayments.readthedocs.io.
Quickstart
----------
Install django-coinpayments::
pip install django-coinpayments
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'django_coinpayments',
...
)
Run ``migrate``::
python manage.py migrate django_coinpayments
**Important!**
You have to provide API keys with `create_transaction`, `get_tx_info` permissions like this in your settings.py:
.. code-block:: python
COINPAYMENTS_API_KEY = 'aaaaa'
COINPAYMENTS_API_SECRET = 'aaa'
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.1 (2018-04-26)
++++++++++++++++++
* Some typo fixes by https://github.com/rubik
0.1.0 (2018-04-06)
++++++++++++++++++
* First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-coinpayments-0.1.1.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for django-coinpayments-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 089493b3e4796b56bb00635a1b6694decc77d8f9351159ebd8f72ab7b1e81578 |
|
MD5 | c9816b3708c64c37c9cd75f364cdb1ae |
|
BLAKE2b-256 | 4987fd3d1b08aba19bdf1dd73fc9f9f93618c3df8b12bf4c810498165dadc5ae |
Close
Hashes for django_coinpayments-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d01b4c94c72a726bdce3d0575c56c9dda5cfa19d3ee080607576fb22c7201fb2 |
|
MD5 | 39924e09ff38e590bd12e35b168bdb77 |
|
BLAKE2b-256 | fd13def819318aad2f21e6d3c7a61216587d3cc0102a2318bcaa62a5a6b3dce0 |