porkbun-fastmail
CLI to quickly add DNS records for Fastmail to a Porkbun domain.
Getting Started
- Generate API tokens using the Porkbun docs.
- Enable API access on the domain(s) you want to add records to (the "Installing keys and enabling API access on specific domains" in the previous docs link)
- Clone this git repo locally
- Install the python dependencies via
pip install -r requirements.txt - Create a
.envfile from.env.templateand populate the secrets - Load the
.envfile values into your shell, preferable using direnv - Run
python -m porkbun-fastmail <yourdomain> - Verify the records were created correctly in the Porkbun admin panel
- Check the DNS records in the Fastmail domain settings
- (Optional) Add a new email address in the Fastmail email addresses settings
- (Optional) Send a test email to and from your new email address
Notes
The Porkbun API docs: https://porkbun.com/api/json/v3/documentation.
The archived porkbun-dynamic-dns-python project was also used for reference.
Build
Install build dependencies
python3 -m pip install --upgrade build twine
Build
python3 -m build
Upload to test.pypi.org
python3 -m twine upload --repository testpypi dist/*
Upload to PyPI
python3 -m twine upload dist/*
Metadata
Release files for porkbun-fastmail 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| porkbun-fastmail-1.0.4.tar.gz | 3.8 kB | Without provenance | Details for porkbun-fastmail-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| porkbun_fastmail-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for porkbun_fastmail-1.0.4-py3-none-any.whl |
Total release size: 7.9 kB
Release files / porkbun-fastmail-1.0.4.tar.gz
| Download URL | porkbun-fastmail-1.0.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
376619d34c841413c4fc06ff0ccf427ec52217a220e0c86a1e3e85d035f8f34d
|
|
BLAKE2b-256 checksum How to use checksums |
7868b30e8cf4bec502894bc62932f6a5a2905e58a61df83c2097ae96cd35a2d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Release files / porkbun_fastmail-1.0.4-py3-none-any.whl
| Download URL | porkbun_fastmail-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a984eec298b118cd6b1c8e2c8079d1a9f9cdc5cfc5ff4698c3f20e7c2555f1b
|
|
BLAKE2b-256 checksum How to use checksums |
5795133cd2ee70b1cc55161b0cf6ef6452214725df4c0f7469bee452d1c7d6bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Security for porkbun-fastmail 1.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.