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
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
Release history Release notifications | RSS feed
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.35.tar.gz
(20.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-ripple_api-0.0.35.tar.gz.
File metadata
- Download URL: django-ripple_api-0.0.35.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d063b9d7c71229b04c051c01a4dac0ddeccaa09741e94edfdbbfbac311e4cc4a
|
|
| MD5 |
3ba9329dd75bf92f1f0a0f276b0317dd
|
|
| BLAKE2b-256 |
df51240d7bf2bf70fc2366505edda2a5038eb371a7e0961fc7090767329c5b25
|
File details
Details for the file django-ripple_api-0.0.35.linux-x86_64.tar.gz.
File metadata
- Download URL: django-ripple_api-0.0.35.linux-x86_64.tar.gz
- Upload date:
- Size: 44.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e647db10117ca36085adedecd45c9026626e21ee577d10b4dcf46b9fba589e8
|
|
| MD5 |
7b618fc6c694072a7ff2676292622113
|
|
| BLAKE2b-256 |
0a77871a78ebe4f87f4d265575aac7023f0f755ee7cf9b4625dd46e255381feb
|