Skip to main content

Flask extension to parse websites and extract structured data to build sitemaps.

Project description

canonicalwebteam.directory-parser

Flask extension to parse websites and extract structured data to build sitemaps.

Install

Install the project with pip: pip install canonicalwebteam.directory-parser

You can add the extension on your project by doing the following:

from canonicalwebteam.directory_parser import scan_directory

node = scan_directory("<example-templates-path>)

node will return a tree of all the templates given in the `

Local development

Linting and formatting

Tests can be run with Tox:

pip3 install tox  # Install tox
tox -e lint       # Check the format of Python code
tox -e format     # Reformat the Python code

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

canonicalwebteam_directory_parser-1.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file canonicalwebteam_directory_parser-1.1.0.tar.gz.

File metadata

File hashes

Hashes for canonicalwebteam_directory_parser-1.1.0.tar.gz
Algorithm Hash digest
SHA256 272e0bf828526efb57129cc862fe92dd5b0621fdda0f1ad0d171ae9338f0afb8
MD5 c7542485afb26308c0a6c2547045831c
BLAKE2b-256 263bc0ffc7c96c1ac46f148f1a4fc887b4b8ecd591497b61c499027ccaaefb90

See more details on using hashes here.

File details

Details for the file canonicalwebteam_directory_parser-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for canonicalwebteam_directory_parser-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9293289a630121140eeaaf1a74bfc2bf139ab3e4b656e0ce50cfd05a110f3618
MD5 92dcfb102883aa02685ec98173d35f08
BLAKE2b-256 0c033ac381976d8e043493ee027db87d72ef9212da5bbfb32bf67e1eebe01307

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