Metadata-Version: 2.5
Name: notefeed
Version: 0.2.0
Summary: Post markdown notes to a notefeed server, from Python or the command line.
Project-URL: Documentation, https://marceltov.github.io/notefeed/clients/
Project-URL: Source, https://github.com/Marceltov/notefeed
License-Expression: MIT
License-File: LICENSE
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications
Requires-Python: >=3.10
Provides-Extra: test
Requires-Dist: pytest>=9; extra == 'test'
Description-Content-Type: text/markdown

# notefeed

Post markdown notes to a [notefeed](https://github.com/Marceltov/notefeed) server from Python or the command line. No dependencies.

```sh
pip install notefeed
export NOTEFEED_URL=https://notes.example.com NOTEFEED_TOKEN=...
notefeed post "# Backup finished"
backup.sh 2>&1 | notefeed post -
```

```python
from notefeed import Client

client = Client("https://notes.example.com", token)  # URL and token set once
print(client.post("# Deploy done\nversion 1.4.2").url)
```

The `notefeed` command reads `--url` / `--token`, or `NOTEFEED_URL` / `NOTEFEED_TOKEN`. The library itself never reads the environment.

Full documentation: https://marceltov.github.io/notefeed/clients/
