cockpit-api


Namecockpit-api JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://github.com/Knuckles-Team/cockpit-api
SummaryCockpit CMS API Python Wrapper
upload_time2024-07-26 15:32:52
maintainerNone
docs_urlNone
authorAudel Rouhi
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements requests urllib3 pydantic
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Cockpit CMS API

![PyPI - Version](https://img.shields.io/pypi/v/cockpit-api)
![PyPI - Downloads](https://img.shields.io/pypi/dd/cockpit-api)
![GitHub Repo stars](https://img.shields.io/github/stars/Knuckles-Team/cockpit-api)
![GitHub forks](https://img.shields.io/github/forks/Knuckles-Team/cockpit-api)
![GitHub contributors](https://img.shields.io/github/contributors/Knuckles-Team/cockpit-api)
![PyPI - License](https://img.shields.io/pypi/l/cockpit-api)
![GitHub](https://img.shields.io/github/license/Knuckles-Team/cockpit-api)

![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/Knuckles-Team/cockpit-api)
![GitHub pull requests](https://img.shields.io/github/issues-pr/Knuckles-Team/cockpit-api)
![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/Knuckles-Team/cockpit-api)
![GitHub issues](https://img.shields.io/github/issues/Knuckles-Team/cockpit-api)

![GitHub top language](https://img.shields.io/github/languages/top/Knuckles-Team/cockpit-api)
![GitHub language count](https://img.shields.io/github/languages/count/Knuckles-Team/cockpit-api)
![GitHub repo size](https://img.shields.io/github/repo-size/Knuckles-Team/cockpit-api)
![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/Knuckles-Team/cockpit-api)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/cockpit-api)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/cockpit-api)

*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

<details>
  <summary><b>Usage:</b></summary>

```python
#!/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)
```

</details>

<details>
  <summary><b>Installation Instructions:</b></summary>

```bash
python -m pip install cockpit-api
```

</details>

<details>
  <summary><b>Repository Owners:</b></summary>


<img width="100%" height="180em" src="https://github-readme-stats.vercel.app/api?username=Knucklessg1&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true" />

![GitHub followers](https://img.shields.io/github/followers/Knucklessg1)
![GitHub User's stars](https://img.shields.io/github/stars/Knucklessg1)
</details>



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Knuckles-Team/cockpit-api",
    "name": "cockpit-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Audel Rouhi",
    "author_email": "knucklessg1@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "# Cockpit CMS API\n\n![PyPI - Version](https://img.shields.io/pypi/v/cockpit-api)\n![PyPI - Downloads](https://img.shields.io/pypi/dd/cockpit-api)\n![GitHub Repo stars](https://img.shields.io/github/stars/Knuckles-Team/cockpit-api)\n![GitHub forks](https://img.shields.io/github/forks/Knuckles-Team/cockpit-api)\n![GitHub contributors](https://img.shields.io/github/contributors/Knuckles-Team/cockpit-api)\n![PyPI - License](https://img.shields.io/pypi/l/cockpit-api)\n![GitHub](https://img.shields.io/github/license/Knuckles-Team/cockpit-api)\n\n![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/Knuckles-Team/cockpit-api)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/Knuckles-Team/cockpit-api)\n![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/Knuckles-Team/cockpit-api)\n![GitHub issues](https://img.shields.io/github/issues/Knuckles-Team/cockpit-api)\n\n![GitHub top language](https://img.shields.io/github/languages/top/Knuckles-Team/cockpit-api)\n![GitHub language count](https://img.shields.io/github/languages/count/Knuckles-Team/cockpit-api)\n![GitHub repo size](https://img.shields.io/github/repo-size/Knuckles-Team/cockpit-api)\n![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/Knuckles-Team/cockpit-api)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/cockpit-api)\n![PyPI - Implementation](https://img.shields.io/pypi/implementation/cockpit-api)\n\n*Version: 0.3.1*\n\nCockpit CMS API Python Wrapper\n\nIncludes standard Cockpit API Calls\n\n### API Calls:\n- Get Content\n- Add/Update Content\n- Get Asset\n- Get Image Asset\n\nThis repository is actively maintained and will continue adding more API calls\n\nContribution Opportunities:\n- Support new API calls\n\n<details>\n  <summary><b>Usage:</b></summary>\n\n```python\n#!/usr/bin/python\n# coding: utf-8\nimport cockpit_api\n\ntoken = \"<TOKEN>\"\napi_url = \"<COCKPIT API URL>\"\nclient = cockpit_api.Api(url=api_url, token=token)\n\ncontent = client.get_content(model=\"<COLLECTION/SINGLETON>\")\nprint(content)\n```\n\n</details>\n\n<details>\n  <summary><b>Installation Instructions:</b></summary>\n\n```bash\npython -m pip install cockpit-api\n```\n\n</details>\n\n<details>\n  <summary><b>Repository Owners:</b></summary>\n\n\n<img width=\"100%\" height=\"180em\" src=\"https://github-readme-stats.vercel.app/api?username=Knucklessg1&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true\" />\n\n![GitHub followers](https://img.shields.io/github/followers/Knucklessg1)\n![GitHub User's stars](https://img.shields.io/github/stars/Knucklessg1)\n</details>\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Cockpit CMS API Python Wrapper",
    "version": "0.3.1",
    "project_urls": {
        "Homepage": "https://github.com/Knuckles-Team/cockpit-api"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b95adfada5ee172d683cb6c2abdecfbb0078c39e0703b36ddda97f8afd46e34",
                "md5": "5c7b624c2b43907a56acff2a9b28485c",
                "sha256": "d12ca0a298b596ee2e79647ba87e7ba11b5f9415a106e6e6827960c71280e805"
            },
            "downloads": -1,
            "filename": "cockpit_api-0.3.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5c7b624c2b43907a56acff2a9b28485c",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 5856,
            "upload_time": "2024-07-26T15:32:52",
            "upload_time_iso_8601": "2024-07-26T15:32:52.153537Z",
            "url": "https://files.pythonhosted.org/packages/9b/95/adfada5ee172d683cb6c2abdecfbb0078c39e0703b36ddda97f8afd46e34/cockpit_api-0.3.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-26 15:32:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Knuckles-Team",
    "github_project": "cockpit-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.8.1"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    ">=",
                    "2.2.2"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    ">=",
                    "2.8.2"
                ]
            ]
        }
    ],
    "lcname": "cockpit-api"
}
        
Elapsed time: 0.43988s