| Name | python3-cyberfusion-aptly-apicli JSON |
| Version |
1.0.2.2.3
JSON |
| download |
| home_page | None |
| Summary | API library for Aptly. |
| upload_time | 2024-08-26 10:50:50 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | None |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# python3-cyberfusion-aptly-apicli
API library for [Aptly](https://www.aptly.info/).
# Install
## PyPI
Run the following command to install the package from PyPI:
pip3 install python3-cyberfusion-aptly-apicli
## Debian
Run the following commands to build a Debian package:
mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc
# Configure
## Config file options
* Section `aptly-api`, key `serverurl`
* Section `aptly-api`, key `username` (optional)
* Section `aptly-api`, key `apikey` (optional)
## Class options
* `config_file_path`. Non-default config file path.
# Usage
## Example
```python
from cyberfusion.AptlyApiCli import AptlyApiRequest
r = AptlyApiRequest()
# Upload temporary file
endpoint = "/api/files/aptly-0.9"
with open("aptly_0.9~dev+217+ge5d646c_i386.deb", "rb") as f:
r.POST(endpoint, data={}, files={"file": f})
print(r.execute())
# Add package
endpoint = "/api/repos/repo1/file/aptly-0.9"
r = AptlyApiRequest()
r.POST(endpoint, data={})
print(r.execute())
```
Raw data
{
"_id": null,
"home_page": null,
"name": "python3-cyberfusion-aptly-apicli",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Cyberfusion <support@cyberfusion.io>",
"download_url": "https://files.pythonhosted.org/packages/2d/df/bd2270418e5efdcd246e75edc35990b065478f2245770d05485d3a209a66/python3_cyberfusion_aptly_apicli-1.0.2.2.3.tar.gz",
"platform": null,
"description": "# python3-cyberfusion-aptly-apicli\n\nAPI library for [Aptly](https://www.aptly.info/).\n\n# Install\n\n## PyPI\n\nRun the following command to install the package from PyPI:\n\n pip3 install python3-cyberfusion-aptly-apicli\n\n## Debian\n\nRun the following commands to build a Debian package:\n\n mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'\n dpkg-buildpackage -us -uc\n\n# Configure\n\n## Config file options\n\n* Section `aptly-api`, key `serverurl`\n* Section `aptly-api`, key `username` (optional)\n* Section `aptly-api`, key `apikey` (optional)\n\n## Class options\n\n* `config_file_path`. Non-default config file path.\n\n# Usage\n\n## Example\n\n```python\nfrom cyberfusion.AptlyApiCli import AptlyApiRequest\n\nr = AptlyApiRequest()\n\n# Upload temporary file\n\nendpoint = \"/api/files/aptly-0.9\"\n\nwith open(\"aptly_0.9~dev+217+ge5d646c_i386.deb\", \"rb\") as f:\n r.POST(endpoint, data={}, files={\"file\": f})\n\nprint(r.execute())\n\n# Add package\n\nendpoint = \"/api/repos/repo1/file/aptly-0.9\"\n\nr = AptlyApiRequest()\nr.POST(endpoint, data={})\nprint(r.execute())\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "API library for Aptly.",
"version": "1.0.2.2.3",
"project_urls": {
"Source": "https://github.com/CyberfusionIO/python3-cyberfusion-aptly-apicli"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8ef31d0d084101dfacd0bfb98b94cfdfc1ccacd64d509124da647988072bb93d",
"md5": "2b02f6a71d0828f3dcf97397a17da7f4",
"sha256": "e81f156d2cf2303a07286db3346ee4331e5f1f5f6635045f400ed88368a1bd65"
},
"downloads": -1,
"filename": "python3_cyberfusion_aptly_apicli-1.0.2.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2b02f6a71d0828f3dcf97397a17da7f4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4754,
"upload_time": "2024-08-26T10:50:49",
"upload_time_iso_8601": "2024-08-26T10:50:49.075890Z",
"url": "https://files.pythonhosted.org/packages/8e/f3/1d0d084101dfacd0bfb98b94cfdfc1ccacd64d509124da647988072bb93d/python3_cyberfusion_aptly_apicli-1.0.2.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2ddfbd2270418e5efdcd246e75edc35990b065478f2245770d05485d3a209a66",
"md5": "00cd170ad6f58aff5db663ea8cff67df",
"sha256": "4e4c59a82722710a3eed51eaabbb41b80539fe2d7a79dbaebd7ddb039657d240"
},
"downloads": -1,
"filename": "python3_cyberfusion_aptly_apicli-1.0.2.2.3.tar.gz",
"has_sig": false,
"md5_digest": "00cd170ad6f58aff5db663ea8cff67df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4009,
"upload_time": "2024-08-26T10:50:50",
"upload_time_iso_8601": "2024-08-26T10:50:50.886231Z",
"url": "https://files.pythonhosted.org/packages/2d/df/bd2270418e5efdcd246e75edc35990b065478f2245770d05485d3a209a66/python3_cyberfusion_aptly_apicli-1.0.2.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-26 10:50:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "CyberfusionIO",
"github_project": "python3-cyberfusion-aptly-apicli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "python3-cyberfusion-aptly-apicli"
}