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.2.0.tar.gz (8.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.2.0.tar.gz.

File metadata

File hashes

Hashes for canonicalwebteam_directory_parser-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a2739035378e00c8e3f96a47e9c989f978ffbbe0a931e730f891913ba171e3d5
MD5 11fbfe58f9a65ac39b7bf1bd724d1c0d
BLAKE2b-256 876ddaccc8148d38627653361f73fa8f46464e35ac4aa378bdd2418764e496ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for canonicalwebteam_directory_parser-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aca71952d9654e3bb4e6ace34e80466c76f02b2c34ddcc5a3784563a559e8547
MD5 6fea924afcf7f9a970328ddc5ceddf06
BLAKE2b-256 a73d0174eda9b6d7e567562fc049d019f229784c0b1ecbe624a506c60bc6f704

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