Skip to main content

Download editions of Mexico's official gazette (DOF) as PDF and convert them to Markdown.

Project description

dof2md

Downloads editions of Mexico's official gazette (DOF, Diario Oficial de la Federación) as PDF and converts them to Markdown.

Part of the LegalIA monorepo.

Install

pip install -e ".[test]"

Usage

dof2md 2010-01-05                     # morning edition (default)
dof2md 2010-01-05 --edition VES       # evening edition
dof2md 2010-01-05 --outdir my_folder  # output directory

Generates <date>-<edition>.pdf and <date>-<edition>.md in the output directory.

Tests

pytest -v

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

dof2md-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

dof2md-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file dof2md-0.1.0.tar.gz.

File metadata

  • Download URL: dof2md-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dof2md-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46809bf48888d27a25f4398f2fdcc0637ff8f707da52965991c6d24519ed5ecc
MD5 b210cb23c54934c28b7059698d70b5f2
BLAKE2b-256 e03b8b43b9f03cf020d7bb64c5cddf0d140b6808eed0d868c8d594a3989d2111

See more details on using hashes here.

File details

Details for the file dof2md-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dof2md-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dof2md-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 515c903d871da50118bb70711cacc7fce12eef4f699710088b7f4040624da4c5
MD5 7688de0b60596c188de76f2cfeb7329c
BLAKE2b-256 9c7bb883a75da7568d57f98fcf88f4591521f3d3d06915874c81125c2dc5bb6b

See more details on using hashes here.

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