Simple Cloudflare email alias management
Project description
pycfalias
Easy Cloudflare email alias management
Installation
-
Install via python pip
pip install pycfalias
-
Configure either via configuration file or environment variables
export CF_FORWARD_EMAIL=$your_forward_email export CF_TOKEN=$your_cloudflare_token export CF_ZONE_ID=$your_cloudflare_zone_id
OR
Create a file in your home directory called
.pycfalias.toml
(note the dot)"CF_FORWARD_EMAIL" = "$your_forward_email" "CF_TOKEN" = "$your_cloudflare_token" "CF_ZONE_ID" = "$your_cloudflare_zone_id"
Usage
List email aliases
pycfalias -l [--list]
Create an email alias
pycfalias -c [--create]
Remove existing email alias
pycfalias -r [--remove]
Acknowledgments
- Inspiration - cf-alias
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
pycfalias-0.0.8.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pycfalias-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 363b3608eaf2d9f45a30d21eec768cb2fc576d214c8fcfb60ec3591184bfa43b |
|
MD5 | e1fc2a213c132a8fc3c8966abe243753 |
|
BLAKE2b-256 | cb78b2722fa278bc6915c2a06428bc6688868dbb583f3df0cd5945c5f966f1b1 |