Enthusiast Source Sanity CMS
This Enthusiast plugin enables the import of document data from Sanity CMS.
Usage
Assumption: schema type looks like this:
export default {
name: "blogPost",
type: "document",
title: "Blog Post",
fields: [
{ name: "title", type: "string", title: "Title" },
{ name: "content", type: "array", title: "Content", of: [{ type: "block" }] },
],
};
Fetch all blog posts using below commands:
from source import SanityCMSDocumentSource
s = SanityCMSDocumentSource(1, {'project_id': 'your-project-id-here', 'dataset': 'production', 'schema_type': 'blogPost', 'title_field_name': 'title', 'content_field_name': 'content'})
s.fetch()
Metadata
Release files for enthusiast-source-sanitycms 2.0.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 |
|---|---|---|---|---|
| enthusiast_source_sanitycms-2.0.0.tar.gz | 2.9 kB | Without provenance | Details for enthusiast_source_sanitycms-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| enthusiast_source_sanitycms-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for enthusiast_source_sanitycms-2.0.0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / enthusiast_source_sanitycms-2.0.0.tar.gz
| Download URL | enthusiast_source_sanitycms-2.0.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a6a2e477b7f1dc4f6027b163300bf0606c6e693840b4527aaf3d3a0fb527165
|
|
BLAKE2b-256 checksum How to use checksums |
7cbe4e8ec6a6493fa9a22d95ae32a1573f5af081b04ee868f04dfb1fd2844f68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.16 Linux/7.0.0-1019-azure
|
Release files / enthusiast_source_sanitycms-2.0.0-py3-none-any.whl
| Download URL | enthusiast_source_sanitycms-2.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8565f617451ed6ba82fab9fb429c07e972f70e25194830a634c081339e079471
|
|
BLAKE2b-256 checksum How to use checksums |
c8cd42dc93c52b8676057b342e0ea711567d9fa49d39a0bcb078fe3c2b6ff3b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.16 Linux/7.0.0-1019-azure
|
Security for enthusiast-source-sanitycms 2.0.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.