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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file canonicalwebteam_directory_parser-1.1.0.tar.gz.
File metadata
- Download URL: canonicalwebteam_directory_parser-1.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
272e0bf828526efb57129cc862fe92dd5b0621fdda0f1ad0d171ae9338f0afb8
|
|
| MD5 |
c7542485afb26308c0a6c2547045831c
|
|
| BLAKE2b-256 |
263bc0ffc7c96c1ac46f148f1a4fc887b4b8ecd591497b61c499027ccaaefb90
|
File details
Details for the file canonicalwebteam_directory_parser-1.1.0-py3-none-any.whl.
File metadata
- Download URL: canonicalwebteam_directory_parser-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9293289a630121140eeaaf1a74bfc2bf139ab3e4b656e0ce50cfd05a110f3618
|
|
| MD5 |
92dcfb102883aa02685ec98173d35f08
|
|
| BLAKE2b-256 |
0c033ac381976d8e043493ee027db87d72ef9212da5bbfb32bf67e1eebe01307
|