# Bareos REST API Client
`Bareos REST API` 에 대한 파이썬 클라이언트 모듈입니다.
## 설치
```bash
pip install bareos_restapi_client
```
## 사용법
```py
# e.g.
from bareos_restapi_client import (
BareosRestApiClient,
clientResource,
)
client = BareosRestApiClient(base_url='', username='', password='')
client_data = models.clientResource(
name="testuser",
address="10.0.0.1",
password="supersecret",
connectionfromclienttodirector="yes",
connectionfromdirectortoclient="no",
heartbeatinterval="60",
tlsenable="no",
tlsrequire="no",
enabled="yes"
)
response = client.create_client(client_data=client_data)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/your-repo",
"name": "bareos-restapi-client",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/68/2e/e33c37fb34e4a91c1760d9b20d5b233252faf8e92697aa1693e7e8e7bd9a/bareos_restapi_client-0.1.22.tar.gz",
"platform": null,
"description": "# Bareos REST API Client\n\n`Bareos REST API` \uc5d0 \ub300\ud55c \ud30c\uc774\uc36c \ud074\ub77c\uc774\uc5b8\ud2b8 \ubaa8\ub4c8\uc785\ub2c8\ub2e4.\n\n## \uc124\uce58\n\n```bash\npip install bareos_restapi_client\n```\n\n## \uc0ac\uc6a9\ubc95\n\n```py\n# e.g.\nfrom bareos_restapi_client import (\n BareosRestApiClient,\n clientResource,\n)\n\nclient = BareosRestApiClient(base_url='', username='', password='')\n\nclient_data = models.clientResource(\n name=\"testuser\",\n address=\"10.0.0.1\",\n password=\"supersecret\",\n connectionfromclienttodirector=\"yes\",\n connectionfromdirectortoclient=\"no\",\n heartbeatinterval=\"60\",\n tlsenable=\"no\",\n tlsrequire=\"no\",\n enabled=\"yes\"\n)\n\nresponse = client.create_client(client_data=client_data)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A client for Bareos REST API",
"version": "0.1.22",
"project_urls": {
"Homepage": "https://github.com/yourusername/your-repo"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "44c970d7f02b2111fa53a73e083ef5b45e474a2b9f83d572721e4f7e2042d1e4",
"md5": "22652f0604df8ed79e58266419e623e0",
"sha256": "d36048ee16e863226c18272469a918ad7949f0b7dc3ad8ea59440a23a2ed1b8c"
},
"downloads": -1,
"filename": "bareos_restapi_client-0.1.22-py3-none-any.whl",
"has_sig": false,
"md5_digest": "22652f0604df8ed79e58266419e623e0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 8507,
"upload_time": "2025-02-18T10:48:28",
"upload_time_iso_8601": "2025-02-18T10:48:28.776195Z",
"url": "https://files.pythonhosted.org/packages/44/c9/70d7f02b2111fa53a73e083ef5b45e474a2b9f83d572721e4f7e2042d1e4/bareos_restapi_client-0.1.22-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "682ee33c37fb34e4a91c1760d9b20d5b233252faf8e92697aa1693e7e8e7bd9a",
"md5": "fce0d60c6d0b11daa2fdc82687d81cab",
"sha256": "44f5fb1dc06f72b92a9ae29ce63d4f24b546972af9603bf47c31344fc5efb0a8"
},
"downloads": -1,
"filename": "bareos_restapi_client-0.1.22.tar.gz",
"has_sig": false,
"md5_digest": "fce0d60c6d0b11daa2fdc82687d81cab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 8147,
"upload_time": "2025-02-18T10:48:30",
"upload_time_iso_8601": "2025-02-18T10:48:30.632973Z",
"url": "https://files.pythonhosted.org/packages/68/2e/e33c37fb34e4a91c1760d9b20d5b233252faf8e92697aa1693e7e8e7bd9a/bareos_restapi_client-0.1.22.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-18 10:48:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "your-repo",
"github_not_found": true,
"lcname": "bareos-restapi-client"
}