Skip to main content

PetName and Distributed Directory Name resolver

Project description

PetName and Distributed Directory Name resolver

This tool resolves names to addresses, starting from your local directory and following links to other directories.

PROTOTYPE! This is still a work-in-progress. Currently only the local-directory resolving is implemented.

To try it out:

  • Clone this repository
  • Install the package with pip install .
  • Create a file ~/.local/share/petnames/local/server1.txt containing lines like these:
suggested_name=Server One
reti_dest=dst0aabbccddeeffaabbccddeeffaabbccdd
reti_id=id0bacdbacd...
  • Run ddig server1 which should display the properties you created

There is also a modified version of rnx.py which will resolve names instead of destination hashes, so you can run:

./rnx.py server1 'cat /proc/cpuinfo'

Usage:

ddig NAME [PROPERTY]

NAME is a sequence of names joined by periods ("dots")

PROPERTY is the record property you want to retrieve (default: 'all')

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

petnames-0.1.20251118.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

petnames-0.1.20251118-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file petnames-0.1.20251118.tar.gz.

File metadata

  • Download URL: petnames-0.1.20251118.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for petnames-0.1.20251118.tar.gz
Algorithm Hash digest
SHA256 82f17ce18b041578d71689d5085be7b42739030d1be67ef340c836578deb42c0
MD5 b1083576c85191c5d593fb02c1e91903
BLAKE2b-256 a9ca7ecea94631920495e68b5490d6ba869223f3459542f091ffb62ba7d14a6c

See more details on using hashes here.

File details

Details for the file petnames-0.1.20251118-py3-none-any.whl.

File metadata

File hashes

Hashes for petnames-0.1.20251118-py3-none-any.whl
Algorithm Hash digest
SHA256 40bb9c80b3e2ae2e5b74320e43b142a100301846e40bf7962e3648834b25c16c
MD5 ebccd2edea19b5f6905b08323470492b
BLAKE2b-256 16ccb547f9777ce9adbcb8f09d355c03303f263d1ba87c67f37f7cfeaabde679

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