Metadata-Version: 2.4
Name: octodns-platformcraft
Version: 0.0.2
Summary: OctoDNS provider for Platformcraft
Author-email: Platformcraft <info@pcrf.ru>
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: octodns==1.15.0
Requires-Dist: requests_ratelimiter==0.9.3
Provides-Extra: dev
Requires-Dist: pytest==8.3.4; extra == "dev"

# Platformcraft provider for octoDNS

### Activate venv and install dependencies

```shell
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
```

#### For testing, additionally
```shell
pip install -e .[dev]
```

### Configuration

[Example](/examples/config/pc.yaml)


### Octodns examples

#### Checking entries

```shell
LOGIN={your_login} PASSWORD={your_password} octodns-sync --config-file examples/config/pc.yaml --debug
```

#### Applying entries

```shell
LOGIN={your_login} PASSWORD={your_password} octodns-sync --config-file examples/config/pc.yaml --debug --doit
```

### Test run

```shell
LOGIN={your_login} PASSWORD={your_password} python -m pytest tests/ --debug --log-cli-level=INFO
```
