Skip to main content

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

rippletxt-1.0.tar.gz (1.6 kB view details)

Uploaded Source

File details

Details for the file rippletxt-1.0.tar.gz.

File metadata

  • Download URL: rippletxt-1.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rippletxt-1.0.tar.gz
Algorithm Hash digest
SHA256 94a604b783282c0b4a678db01e1114df0c38046681eef3d61bed568fdb69e58e
MD5 511e9a644409eafa397d8a2dd0082482
BLAKE2b-256 fd48e7a7ab4a0b89dd95f71361d7e221f0d2a6cd53167aaf292715b914445cfe

See more details on using hashes here.

Supported by

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