# pulp_rpm-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v3
- Package version: 3.3.0b2.dev01586206884
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## 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.pulp_rpm
```
### 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.pulp_rpm
```
## 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.pulp_rpm
from pulpcore.client.pulp_rpm.rest import ApiException
from pprint import pprint
configuration = pulpcore.client.pulp_rpm.Configuration()
# Configure HTTP basic authorization: Basic
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# Defining host is optional and default to http://localhost:24817
configuration.host = "http://localhost:24817"
# Enter a context with an instance of the API client
with pulpcore.client.pulp_rpm.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_rpm.ContentAdvisoriesApi(api_client)
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
file = '/path/to/file' # file | An uploaded file that should be turned into the artifact of the content unit. (optional)
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
try:
# Create an update record
api_response = api_instance.create(relative_path, artifact=artifact, file=file, repository=repository)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentAdvisoriesApi->create: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *http://localhost:24817*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ContentAdvisoriesApi* | [**create**](docs/ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
*ContentAdvisoriesApi* | [**list**](docs/ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
*ContentAdvisoriesApi* | [**read**](docs/ContentAdvisoriesApi.md#read) | **GET** {update_record_href} | Inspect an update record
*ContentDistributionTreesApi* | [**delete**](docs/ContentDistributionTreesApi.md#delete) | **DELETE** {distribution_tree_href} | Delete a distribution tree
*ContentDistributionTreesApi* | [**list**](docs/ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees
*ContentDistributionTreesApi* | [**read**](docs/ContentDistributionTreesApi.md#read) | **GET** {distribution_tree_href} | Inspect a distribution tree
*ContentModulemdDefaultsApi* | [**create**](docs/ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_defaults/ | Create a modulemd defaults
*ContentModulemdDefaultsApi* | [**list**](docs/ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_defaults/ | List modulemd defaultss
*ContentModulemdDefaultsApi* | [**read**](docs/ContentModulemdDefaultsApi.md#read) | **GET** {modulemd_defaults_href} | Inspect a modulemd defaults
*ContentModulemdsApi* | [**create**](docs/ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
*ContentModulemdsApi* | [**list**](docs/ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
*ContentModulemdsApi* | [**read**](docs/ContentModulemdsApi.md#read) | **GET** {modulemd_href} | Inspect a modulemd
*ContentPackagecategoriesApi* | [**delete**](docs/ContentPackagecategoriesApi.md#delete) | **DELETE** {package_category_href} | Delete a package category
*ContentPackagecategoriesApi* | [**list**](docs/ContentPackagecategoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagecategories/ | List package categorys
*ContentPackagecategoriesApi* | [**read**](docs/ContentPackagecategoriesApi.md#read) | **GET** {package_category_href} | Inspect a package category
*ContentPackageenvironmentsApi* | [**delete**](docs/ContentPackageenvironmentsApi.md#delete) | **DELETE** {package_environment_href} | Delete a package environment
*ContentPackageenvironmentsApi* | [**list**](docs/ContentPackageenvironmentsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packageenvironments/ | List package environments
*ContentPackageenvironmentsApi* | [**read**](docs/ContentPackageenvironmentsApi.md#read) | **GET** {package_environment_href} | Inspect a package environment
*ContentPackagegroupsApi* | [**delete**](docs/ContentPackagegroupsApi.md#delete) | **DELETE** {package_group_href} | Delete a package group
*ContentPackagegroupsApi* | [**list**](docs/ContentPackagegroupsApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagegroups/ | List package groups
*ContentPackagegroupsApi* | [**read**](docs/ContentPackagegroupsApi.md#read) | **GET** {package_group_href} | Inspect a package group
*ContentPackagelangpacksApi* | [**delete**](docs/ContentPackagelangpacksApi.md#delete) | **DELETE** {package_langpacks_href} | Delete a package langpacks
*ContentPackagelangpacksApi* | [**list**](docs/ContentPackagelangpacksApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagelangpacks/ | List package langpackss
*ContentPackagelangpacksApi* | [**read**](docs/ContentPackagelangpacksApi.md#read) | **GET** {package_langpacks_href} | Inspect a package langpacks
*ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
*ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
*ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
*ContentRepoMetadataFilesApi* | [**delete**](docs/ContentRepoMetadataFilesApi.md#delete) | **DELETE** {repo_metadata_file_href} | Delete a repo metadata file
*ContentRepoMetadataFilesApi* | [**list**](docs/ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
*ContentRepoMetadataFilesApi* | [**read**](docs/ContentRepoMetadataFilesApi.md#read) | **GET** {repo_metadata_file_href} | Inspect a repo metadata file
*DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
*DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
*DistributionsRpmApi* | [**list**](docs/DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
*DistributionsRpmApi* | [**partial_update**](docs/DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_distribution_href} | Partially update a rpm distribution
*DistributionsRpmApi* | [**read**](docs/DistributionsRpmApi.md#read) | **GET** {rpm_distribu
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共132个文件
py:124个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:pulp_rpm-client-3.3.0b2.dev1586206884.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | pulp_rpm-client-3.3.0b2.dev1586206884.tar.gz (132个子文件)
setup.cfg 69B
README.md 13KB
PKG-INFO 418B
PKG-INFO 418B
repositories_rpm_api.py 46KB
remotes_rpm_api.py 37KB
distributions_rpm_api.py 36KB
rpm_package.py 36KB
content_modulemds_api.py 28KB
content_packages_api.py 28KB
publications_rpm_api.py 25KB
api_client.py 25KB
content_advisories_api.py 25KB
content_modulemd_defaults_api.py 25KB
repositories_rpm_versions_api.py 24KB
rpm_distribution_tree.py 24KB
rpm_update_record.py 19KB
content_packageenvironments_api.py 19KB
content_repo_metadata_files_api.py 18KB
content_distribution_trees_api.py 18KB
content_packagelangpacks_api.py 18KB
content_packagecategories_api.py 18KB
content_packagegroups_api.py 18KB
rpm_rpm_remote.py 15KB
rpm_package_group.py 15KB
rpm_package_environment.py 15KB
variant.py 14KB
rpm_modulemd.py 14KB
configuration.py 13KB
rpm_package_category.py 13KB
rest.py 12KB
artifact.py 11KB
rpm_repo_metadata_file.py 10KB
rpm_rpm_distribution.py 9KB
rpm_modulemd_defaults.py 9KB
rpm_rpm_repository.py 9KB
addon.py 8KB
test_inline_response2001.py 8KB
rpm_repository_sync_url.py 7KB
repository_version.py 7KB
image.py 6KB
repository_add_remove_content.py 6KB
test_inline_response2008.py 6KB
test_rpm_distribution_tree.py 6KB
rpm_package_langpacks.py 6KB
rpm_copy_api.py 6KB
rpm_rpm_publication.py 6KB
inline_response20010.py 5KB
inline_response20011.py 5KB
inline_response20014.py 5KB
inline_response20013.py 5KB
inline_response2005.py 5KB
inline_response2002.py 5KB
inline_response2007.py 5KB
inline_response2009.py 5KB
inline_response2001.py 5KB
inline_response20012.py 5KB
inline_response2004.py 5KB
inline_response2006.py 5KB
inline_response2003.py 5KB
inline_response2008.py 5KB
inline_response200.py 5KB
__init__.py 5KB
rpm_update_collection.py 5KB
content_summary.py 5KB
test_inline_response200.py 5KB
checksum.py 5KB
copy.py 4KB
test_inline_response2005.py 4KB
test_inline_response20014.py 4KB
exceptions.py 4KB
test_inline_response2006.py 4KB
__init__.py 4KB
async_operation_response.py 4KB
test_inline_response2004.py 3KB
test_rpm_package.py 3KB
test_inline_response2003.py 3KB
test_inline_response20012.py 3KB
test_rpm_package_environment.py 3KB
test_inline_response2002.py 3KB
test_rpm_update_record.py 3KB
test_inline_response20013.py 3KB
test_inline_response20010.py 3KB
test_inline_response2009.py 3KB
test_rpm_package_group.py 3KB
test_rpm_package_category.py 2KB
test_image.py 2KB
test_inline_response2007.py 2KB
test_inline_response20011.py 2KB
test_rpm_modulemd.py 2KB
test_content_summary.py 2KB
test_repository_version.py 2KB
test_rpm_rpm_remote.py 2KB
test_variant.py 2KB
test_rpm_modulemd_defaults.py 2KB
test_rpm_repo_metadata_file.py 2KB
test_repositories_rpm_api.py 2KB
test_rpm_rpm_distribution.py 2KB
test_rpm_package_langpacks.py 2KB
test_rpm_rpm_repository.py 2KB
共 132 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功