Domain monitoring & registration with AWS route53
Project description
Domain monitoring & registration with AWS route53
Usage
Show help message and exit
dm53 --help
Check availability of a domain
dm53 check --domain-name example.com
Note: Make sure AWS credentials are configured, following example uses env variables
AWS_ACCESS_KEY_ID=my-access-key \ AWS_SECRET_ACCESS_KEY=my-secret-access-key \ dm53 check --domain-name example.comfor more details see boto3 docs
Keep checking with a 5 seconds interval until the domain becomes available
dm53 check --domain-name example.com --monitor --interval 5
Register a domain if available
dm53 check --domain-name example.com --register --path /path/to/registration-details.json
Note: Registration details must be provided through a JSON file, see this example or read more in AWS docs
Run in background to ignore hangup signal with
nohup, forward output to
examplecom.out
nohup dm53 check --domain-name example.com --monitor > examplecom.out 2>&1 &
Note: The
nohup
command prints a shell job ID and a process ID. Terminate the process withkill -9 <PID>
.
Contributing
Contributions are welcome via pull requests.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Develop
Activate virtual environment
poetry shell
Install dependencies
poetry install --remove-untracked
Install git hooks
pre-commit install --hook-type pre-commit
Run linter
flake8 .
Format code
black .
Sort imports
isort .
Install current project from branch
poetry add git+https://github.com/MousaZeidBaker/dm53.git#branch-name
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
Built Distribution
File details
Details for the file dm53-0.2.2.tar.gz
.
File metadata
- Download URL: dm53-0.2.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.13 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e77ba3d97541f4517f68c111cc7dba2b14ccdbbd161b806162685a47ab22cc21 |
|
MD5 | 6604f6a71f4aeac8bac4be5e1aa826a3 |
|
BLAKE2b-256 | 2618a1b6d285d5b9463b7736cf458d4a5b01a2a6984d0ecffbfa5d2bbf5b8e9d |
File details
Details for the file dm53-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: dm53-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.13 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23df56fae3687eebdbebbbffec91ccfabd4ea9e026b6fb6c5cd574922cdf18fa |
|
MD5 | 6a5501625ed6372127d9824cd4bd6c7f |
|
BLAKE2b-256 | 13e8364420bf880fdc1132acab9596cf7d06bdc2cec1f3924b51d048ceac4e1c |