Skip to main content

Python wrapper for the Ripple API

Project description

============================================
Python Ripple API and transaction management
============================================

Settings
========

* ``RIPPLE_ACCOUNT`` - account that acts as 'manager' and monitors incoming transactions
* ``RIPPLE_SECRET`` - secret for 'manager' account
* ``RIPPLE_API_DATA[0]['RIPPLE_API_URL']``
* ``RIPPLE_API_DATA[0]['RIPPLE_API_USER']``
* ``RIPPLE_API_DATA[0]['RIPPLE_API_PASSWORD']``
* ``RIPPLE_TIMEOUT`` - timeout for django manamgement command calls
* ``RIPPLE_TRANSACTION_MONITOR_MIN_LEDGER_INDEX`` - offset, ledger index to start transaction monitoring with,
default is the beginning of time

Example Config::

RIPPLE_API_DATA = [
{
'RIPPLE_API_URL': 'http://s_west.ripple.com:51234',
'RIPPLE_API_USER': '',
'RIPPLE_API_PASSWORD': '',
}
] # You can specify multiple servers and ripple_api app will try them in order if one of servers
# returns error


Signals
=======

* ``ripple_api.signals.transaction_status_changed = Signal(providing_args=["old_status"])`` - sent
when existing Transaction's status is changed
* default django's post_save signal is useful to get new Transactions


.. TODO:
* docs on api usage
* docs on management command

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-ripple_api-0.0.49.tar.gz (22.9 kB view details)

Uploaded Source

File details

Details for the file django-ripple_api-0.0.49.tar.gz.

File metadata

  • Download URL: django-ripple_api-0.0.49.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for django-ripple_api-0.0.49.tar.gz
Algorithm Hash digest
SHA256 40a622590292e6fdd02cd6aef20e0d002b365d096894b612d9ca3365919d8b0a
MD5 aaa4ad7d1c3a6061880a5b8515a504fa
BLAKE2b-256 38e4ccbe18163eabac634eb0973cfea04db39c45bb94d9ed5da1fd18fb10fe24

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page