Skip to main content

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

Getting started

  1. Install and confirm the Python version
python --version
  1. Create the virtual environment
python -m venv .venv

# Activate virtual environment
.venv/bin/activate # Linux or MacOS
.venv/Script/activate # Windows
  1. Install the requirements
poetry install
  1. Install the git hook scripts
pre-commit install
  1. Yarn install semantic-release dependencies
yarn install
  1. 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


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.2.1.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

newspy-1.2.1-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page