Skip to main content

Cockpit CMS API

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 0.3.1

Cockpit CMS API Python Wrapper

Includes standard Cockpit API Calls

API Calls:

  • Get Content
  • Add/Update Content
  • Get Asset
  • Get Image Asset

This repository is actively maintained and will continue adding more API calls

Contribution Opportunities:

  • Support new API calls
Usage:
#!/usr/bin/python
# coding: utf-8
import cockpit_api

token = "<TOKEN>"
api_url = "<COCKPIT API URL>"
client = cockpit_api.Api(url=api_url, token=token)

content = client.get_content(model="<COLLECTION/SINGLETON>")
print(content)
Installation Instructions:
python -m pip install cockpit-api
Repository Owners:

GitHub followers GitHub User's stars

Metadata

Release files for cockpit-api 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for cockpit-api 0.3.1
File Interpreter ABI Platform Actions
cockpit_api-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for cockpit_api-0.3.1-py2.py3-none-any.whl

Release files / cockpit_api-0.3.1-py2.py3-none-any.whl

Download URL cockpit_api-0.3.1-py2.py3-none-any.whl
Size 5.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d12ca0a298b596ee2e79647ba87e7ba11b5f9415a106e6e6827960c71280e805
BLAKE2b-256 checksum
How to use checksums
9b95adfada5ee172d683cb6c2abdecfbb0078c39e0703b36ddda97f8afd46e34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for cockpit-api 0.3.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page