Content map
A way to share content from a specific domain using SQLite as an alternative to RSS feeds. The purpose of this library is to simply create a dataset for all the content on your website, using the XML sitemap as a starting point.
Possibility to include vector search similarity features in the dataset very easily.
Article that explains the rationale behind this type of datasets here.
Installation
pip install contentmap
Quickstart
To build your contentmap.db with vector search capabilities and containing all your content using your XML sitemap as a starting point, you only need to write the following:
from contentmap.sitemap import SitemapToContentDatabase
database = SitemapToContentDatabase(
sitemap_sources=["https://yourblog.com/sitemap.xml"],
concurrency=10,
include_vss=True
)
database.build()
This will automatically create the SQLite database file, with vector search capabilities (piggybacking on sqlite-vss integration on Langchain).
Thanks to @medoror for contributing.
Metadata
Release files for contentmap 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| contentmap-0.5.0.tar.gz | 4.1 kB | Without provenance | Details for contentmap-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| contentmap-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for contentmap-0.5.0-py3-none-any.whl |
Total release size: 9.1 kB
Release files / contentmap-0.5.0.tar.gz
| Download URL | contentmap-0.5.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2203fbda010a66eb42433d58b1d1ec019399f4d1872a16975f8f312c77518e2c
|
|
BLAKE2b-256 checksum How to use checksums |
4622e70f11c764efd46889d670eb8b1e7c30983e92cb6811f394a308a9c2c0a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.8.18 Linux/6.5.0-1025-azure
|
Release files / contentmap-0.5.0-py3-none-any.whl
| Download URL | contentmap-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52fce9020fcce86ecbb701bde4db2be3e671722517a0476a43c02081ef053bc2
|
|
BLAKE2b-256 checksum How to use checksums |
c52f9891b4673048cf0f53daeae9c05ec0eeff4930050f8abb7f0dd5a9bb3ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.8.18 Linux/6.5.0-1025-azure
|
Security for contentmap 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.