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.1.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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ifq-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a9e1a84cfd1b6122d6c70d6599b15ec0b38e71f7fc3c0d9aa584a245c85011ff
MD5 4532a2da3d36b94d93b0fdb3037a9b5a
BLAKE2b-256 7e0d8f43f1444dc25eb824fd73246f2da68df278bf108f3f16b31745fdd9040b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ifq-0.4.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: ifq-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ifq-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4c5abd0ce8aeca62b420267d6a500e099c6bd941dd9a5d8266c9cd40b24c9f5
MD5 7d2e57b1ad1ca567ac5c3a43f905dcb8
BLAKE2b-256 ceaaae217dc0a3ff9dec02b57725bd950f3f75c462685cf8246c195b1f8ee68d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ifq-0.4.1-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