Skip to main content
Help us improve Python packaging – donate today!

Parser for ripple.txt files

Project Description

Python Parser for ripple.txt files
---------------------------

Example:

>>> import rippletxt
>>> rippletxt.loads("""
[domain]
example.org

[accounts]
r3THXKcb5KnJbD5M74kRdMfpoMY1ik8dQ5

[ips]
# ripple.example.org
8.46.236.185 5006
""")
{
'ips': ['8.46.236.185 5006'],
'domain': ['example.org'],
'accounts': ['r3THXKcb5KnJbD5M74kRdMfpoMY1ik8dQ5']
}

>>> rippletxt.get_urls("wasipaid.com")
[
'https://ripple.wasipaid.com/ripple.txt',
'https://www.wasipaid.com/ripple.txt',
'https://wasipaid.com/ripple.txt'
]


Install:

$ pip install rippletxt

Release history Release notifications

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rippletxt-1.0.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None Jun 1, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page