This project uses pipenv for dependency management. To install or update dependencies:
- To install exactly what is specified in
Pipfile.lock(reproducible environment):pipenv sync
- To update all packages to the latest allowed by your
Pipfileand regeneratePipfile.lock:pipenv update
- To update a specific package and regenerate
Pipfile.lock:pipenv update <package-name>
Make sure to activate your pipenv shell or use pipenv run for commands if not already inside the environment.
Start API locally via
pipenv run uvicorn api.main:app --reload
Ensure you have a VPN connection to the server and opened a tunnel to the db.
The API returns title, text and ts_item_published for all articles within the specified time range.
This project uses bumpver for version management, following calendar versioning (YYYY.MM.PATCH). Versioning is configured in pyproject.toml.
- To bump the patch version (e.g.,
2025.11.0→2025.11.1):bumpver update --patch
- To bump the minor version (e.g.,
2025.11.1→2025.12.1):bumpver update --minor
- To bump the major version (e.g.,
2025.12.1→2026.1.1):bumpver update --major
- To preview the version change without making changes, use the
--dryflag:bumpver update --dry --patch
By default, bumpver will update the version, commit, tag, and push the changes as configured in pyproject.toml.