podns_py
A Pronouns over DNS specification compliant Python API.
Documentation
Fetching from domain record.
If you want to fetch someones pronouns from their domain, see the below:
Note that we support both synchronous and asynchronous lookups.
import asyncio
import podns.dns
async def main() -> None:
domain = "abigail.sh"
podns.dns.fetch_pronouns_from_domain_sync(domain)
await podns.dns.fetch_pronouns_from_domain_async(domain)
if __name__ == "__main__":
asyncio.run(main())
Parsing a raw list
If you already have fetched the users pronouns, or are just parsing a raw literal:
import podns.parser
podns.parser.parse_pronoun_records([
"she/her",
"they/them/theirs;preferred"
])
Optional pedantic kwarg on user APIs
For all user-level APIs (that is, podns.dns.fetch_pronouns_from_domain_* and podns.parser.parse_pronoun_records), there is an optional kwarg, pedantic, that defaults to False.
- Setting this to
Truewill raise errors on all specification-violating parse errors from the provided records. - Setting this to
Falsewill only raise errors on egregious specification violations that make parsing impossible. When set toFalse, podns will do its' best to infer intent when met with trivial violations, it will however never return apodns.pronouns.PronounsResponsethat violates the specification.
[!NOTE] there was exactly zero usage of generative ai involved during the development of this package, including autocomplete.
Metadata
Release files for podns 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| podns-0.2.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| podns-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / podns-0.2.2.tar.gz
| Download URL | podns-0.2.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b463b2b746f46e80a8b2603fe23f6952aa60bac5057a5af4e18f2712632b4754
|
|
BLAKE2b-256 checksum How to use checksums |
af364d1f599f6298b9500bfd66ba4f7f4f437bac0cef0f852673540648268ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 20, 2026.
Transparency logRelease files / podns-0.2.2-py3-none-any.whl
| Download URL | podns-0.2.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b8a223983c2528a6d42fdc0fcd05c4098fd90e7f97de90e9dc042d9a82b6c58
|
|
BLAKE2b-256 checksum How to use checksums |
6b29b3a16a9100176d8d49c31e63c9aee2e9203a4bb47e05b94cf4466bbf7983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 20, 2026.
Transparency log