The news client written in Python that fetches and curates the world news across the web.
Project description
Newspy
The news client written in Python that fetches and curates the world news across the web.
Requirements
- Python 3.10
- Poetry 1.3.1+ (for dependency management)
- yarn (for the semantic-release versioning)
- API Key from the New API Organisation: https://newsapi.org/
News Sources
- News API. Requires API Key from: https://newsapi.org/
- RSS feeds
Getting started
- Install and confirm the Python version
python --version
- Create the virtual environment
python -m venv .venv
# Activate virtual environment
.venv/bin/activate # Linux or MacOS
.venv/Script/activate # Windows
- Install the requirements
poetry install
- Install the git hook scripts
pre-commit install
- Yarn install semantic-release dependencies
yarn install
- Set up husky pre-commit hook
yarn husky add .husky/commit-msg 'yarn commitlint --edit $1'
Chores
- Add GitHub Action for Continuous Integration (CI)
- Add GitHub Action for Continuous Deployment (CD)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
newspy-1.1.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
newspy-1.1.1-py3-none-any.whl
(9.5 kB
view hashes)