Skip to main content

CLI tool and Python library to download PDF issues of ilfattoquotidiano.it

Project description

ifq

PyPI Changelog Tests License

CLI tool and Python library to download PDF issues of ilfattoquotidiano.it

Installation

Install this tool using pip:

pip install ifq

Usage

Download the IFQ issue for Jan, 2nd 2025:

# Requires a valid subscription to the newspaper
export IFQ_USERNAME="[your username]"
export IFQ_PASSWORD="[your password]"

$ ifq issues download 2025-01-02

Downloading issue for 2025-01-02 00:00:00 to /Users/zmoog/code/projects/zmoog/ifq
Downloaded issue to /Users/zmoog/code/projects/zmoog/ifq/2025-01-02.pdf

$ file 2025-01-02.pdf 
2025-01-02.pdf: PDF document, version 1.7

For help, run:

ifq --help

You can also use:

python -m ifq --help

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd ifq
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

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

ifq-0.4.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ifq-0.4-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file ifq-0.4.tar.gz.

File metadata

  • Download URL: ifq-0.4.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ifq-0.4.tar.gz
Algorithm Hash digest
SHA256 ebe454a7e40dd37a73ad09eb7dbe156a3b7f6d2ef7bb8dba031e45bd86c8269e
MD5 e4a2c1ce0ede8f35122d4b1cd3ae1840
BLAKE2b-256 9e7e26cacdf4aa19a90a0e448a3d688a6b84c46c7cb08f82d570d5671e1a3f3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ifq-0.4.tar.gz:

Publisher: publish.yml on zmoog/ifq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ifq-0.4-py3-none-any.whl.

File metadata

  • Download URL: ifq-0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ifq-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4005fb58f1d3e8934bf3801fdca71a0a4e37c5ceb61c930a5f36cd77fc023b79
MD5 9df592a027cd9986526b30549f17db1f
BLAKE2b-256 11efae27c2778daedae91341bf7103e08dc09baa55286ba260e6299cbc6e24d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ifq-0.4-py3-none-any.whl:

Publisher: publish.yml on zmoog/ifq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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