# pulpcore-client
Fetch, Upload, Organize, and Distribute Software Packages
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v3
- Package version: 3.8.0.dev01603111095
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on a repository, you can install directly using:
```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
Then import the package:
```python
import pulpcore.client.pulpcore
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import pulpcore.client.pulpcore
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import pulpcore.client.pulpcore
from pulpcore.client.pulpcore.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://pulp
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulpcore.Configuration(
host = "http://pulp"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulpcore.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure API key authorization: cookieAuth
configuration = pulpcore.client.pulpcore.Configuration(
host = "http://pulp",
api_key = {
'Session': 'YOUR_API_KEY'
}
)
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Session'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulpcore.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulpcore.AccessPoliciesApi(api_client)
limit = 56 # int | Number of results to return per page. (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
ordering = 'ordering_example' # str | Which field to use when ordering the results. (optional)
fields = 'fields_example' # str | A list of fields to include in the response. (optional)
exclude_fields = 'exclude_fields_example' # str | A list of fields to exclude from the response. (optional)
try:
# List access policys
api_response = api_instance.list(limit=limit, offset=offset, ordering=ordering, fields=fields, exclude_fields=exclude_fields)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccessPoliciesApi->list: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *http://pulp*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccessPoliciesApi* | [**list**](docs/AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys
*AccessPoliciesApi* | [**partial_update**](docs/AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy
*AccessPoliciesApi* | [**read**](docs/AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy
*AccessPoliciesApi* | [**update**](docs/AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy
*ArtifactsApi* | [**create**](docs/ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
*ArtifactsApi* | [**delete**](docs/ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
*ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
*ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
*ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {core_pulp_pulp_export_href}exports/ | Create a pulp export
*ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {core_pulp_pulp_export_href} | Delete a pulp export
*ExportersCoreExportsApi* | [**list**](docs/ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
*ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {core_pulp_pulp_export_href} | Inspect a pulp export
*ExportersPulpApi* | [**create**](docs/ExportersPulpApi.md#create) | **POST** /pulp/api/v3/exporters/core/pulp/ | Create a pulp exporter
*ExportersPulpApi* | [**delete**](docs/ExportersPulpApi.md#delete) | **DELETE** {pulp_exporter_href} | Delete a pulp exporter
*ExportersPulpApi* | [**list**](docs/ExportersPulpApi.md#list) | **GET** /pulp/api/v3/exporters/core/pulp/ | List pulp exporters
*ExportersPulpApi* | [**partial_update**](docs/ExportersPulpApi.md#partial_update) | **PATCH** {pulp_exporter_href} | Update a pulp exporter
*ExportersPulpApi* | [**read**](docs/ExportersPulpApi.md#read) | **GET** {pulp_exporter_href} | Inspect a pulp exporter
*ExportersPulpApi* | [**update**](docs/ExportersPulpApi.md#update) | **PUT** {pulp_exporter_href} | Update a pulp exporter
*GroupsApi* | [**create**](docs/GroupsApi.md#create) | **POST** /pulp/api/v3/groups/ | Create a group
*GroupsApi* | [**delete**](docs/GroupsApi.md#delete) | **DELETE** {auth_group_href} | Delete a group
*GroupsApi* | [**list**](docs/GroupsApi.md#list) | **GET** /pulp/api/v3/groups/ | List groups
*GroupsApi* | [**partial_update**](docs/GroupsApi.md#partial_update) | **PATCH** {auth_group_href} | Update a group
*GroupsApi* | [**read**](docs/GroupsApi.md#read) | **GET** {auth_group_href} | Inspect a group
*GroupsApi* | [**update**](docs/GroupsApi.md#update) | **PUT** {auth_group_href} | Update a group
*GroupsModelPermissionsApi* | [**create**](docs/GroupsModelPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}model_permissions/ | Create a permission
*GroupsModelPermissionsApi* | [**list**](docs/GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
*GroupsObjectPermissionsApi* | [**create**](docs/GroupsObjectPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}object_permissions/ | Create a permission
*GroupsObjectPermissionsApi* | [**delete**](docs/GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_auth_groups_permission_href} | Delete a permission
*GroupsObjectPermissionsApi* | [**list**](docs/GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
*GroupsObjectPermissionsApi* | [**read**](docs/GroupsObjectPermissionsApi.md#read) | **GET** {auth_auth_groups_permission_href} | Inspect a permission
*GroupsUsersApi* | [**create**](docs/GroupsUsersApi.md#create) | **POST** {auth_auth_groups_user_href}users/ | Create an user
*GroupsUsersApi* | [**delete**](docs/GroupsUsersApi.md#delete) | **DELETE** {auth_auth_groups_user_href} | Delete an user
*GroupsUsersApi* | [**list**](docs/GroupsUsersApi.md#list) | **GET** {auth_group_href}users/ | List users
*ImportersCoreImportsApi* | [**create**](docs/ImportersCoreImportsApi.md#create) | **POST** {core_pulp_pulp_import_href}imports/ | Create a pulp import
*ImportersCoreImportsApi* | [**delete**](docs/ImportersCoreImportsApi.md#delete) | **DELETE** {core_pulp_pulp_import_h
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | pulpcore-client-3.8.0.dev1603111095.tar.gz (170个子文件)
setup.cfg 69B
README.md 14KB
PKG-INFO 366B
PKG-INFO 366B
tasks_api.py 37KB
exporters_pulp_api.py 35KB
importers_pulp_api.py 35KB
uploads_api.py 35KB
groups_api.py 34KB
artifacts_api.py 33KB
api_client.py 26KB
access_policies_api.py 25KB
groups_object_permissions_api.py 25KB
exporters_core_exports_api.py 25KB
importers_core_imports_api.py 24KB
workers_api.py 20KB
groups_users_api.py 18KB
users_api.py 18KB
task_groups_api.py 17KB
task_response.py 14KB
configuration.py 14KB
groups_model_permissions_api.py 14KB
signing_services_api.py 13KB
rest.py 12KB
user_response.py 11KB
task_group_response.py 11KB
artifact_response.py 10KB
status_response.py 9KB
pulp_export_response.py 8KB
artifact.py 8KB
pulp_exporter_response.py 8KB
access_policy_response.py 8KB
pulp_export.py 7KB
progress_report_response.py 7KB
__init__.py 7KB
upload_detail_response.py 7KB
group_progress_report_response.py 7KB
pulp_importer_response.py 6KB
signing_service_response.py 6KB
pulp_exporter.py 6KB
access_policy.py 6KB
import_response.py 6KB
storage_response.py 6KB
upload_response.py 6KB
worker_response.py 6KB
patched_pulp_exporter.py 6KB
patched_access_policy.py 6KB
paginated_signing_service_response_list.py 5KB
paginated_pulp_importer_response_list.py 5KB
paginated_access_policy_response_list.py 5KB
paginated_pulp_exporter_response_list.py 5KB
paginated_permission_response_list.py 5KB
paginated_pulp_export_response_list.py 5KB
paginated_task_group_response_list.py 5KB
paginated_group_user_response_list.py 5KB
paginated_artifact_response_list.py 5KB
paginated_upload_response_list.py 5KB
paginated_worker_response_list.py 5KB
paginated_import_response_list.py 5KB
paginated_group_response_list.py 5KB
status_api.py 5KB
paginated_user_response_list.py 5KB
paginated_task_response_list.py 5KB
__init__.py 5KB
permission_response.py 5KB
orphans_api.py 5KB
group_response.py 5KB
pulp_importer.py 5KB
group_user_response.py 5KB
patched_pulp_importer.py 5KB
version_response.py 4KB
content_app_status_response.py 4KB
user_group_response.py 4KB
upload_chunk.py 4KB
pulp_import.py 4KB
upload_chunk_response.py 4KB
group_user.py 4KB
database_connection_response.py 4KB
exceptions.py 4KB
redis_connection_response.py 4KB
group.py 4KB
test_status_response.py 4KB
upload_commit.py 3KB
async_operation_response.py 3KB
patched_group.py 3KB
patched_task_cancel.py 3KB
upload.py 3KB
test_paginated_task_response_list.py 3KB
test_task_response.py 3KB
test_paginated_task_group_response_list.py 3KB
test_paginated_user_response_list.py 2KB
test_paginated_pulp_export_response_list.py 2KB
test_paginated_access_policy_response_list.py 2KB
test_paginated_artifact_response_list.py 2KB
test_paginated_pulp_exporter_response_list.py 2KB
test_paginated_pulp_importer_response_list.py 2KB
test_paginated_signing_service_response_list.py 2KB
test_paginated_worker_response_list.py 2KB
test_paginated_upload_response_list.py 2KB
test_task_group_response.py 2KB
共 170 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- JAVA:RSA加密工具类
- 8145v 备份文件 8145v 备份文件
- Spring异步工具类
- 如何用Excel进行数据分析
- 基于Bert+BiLSTM+CRF的命名实体识别(高分项目).zip
- 财务自由操作系统课程十周课程笔记第四周
- 吉林大学计算机硕士研究生最优化理论期末自测AB卷
- RLHF Workflow: From Reward Modeling to Online RLHF
- You Only Cache Once: Decoder-Decoder Architectures for Language
- WAVCRAFT: AUDIO EDITING AND GENERATION WITH LARGE LANGUAGE MODEL
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功