Skip to content

Commit 7c4fb54

Browse files
committed
feat: changed package name
1 parent a330971 commit 7c4fb54

104 files changed

Lines changed: 564 additions & 564 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
55

6-
name: openapi_client Python package
6+
name: hlconnect_client Python package
77

88
on: [push, pull_request]
99

@@ -31,4 +31,4 @@ jobs:
3131
pip install -r test-requirements.txt
3232
- name: Test with pytest
3333
run: |
34-
pytest --cov=openapi_client
34+
pytest --cov=hlconnect_client

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ stages:
1212
script:
1313
- pip install -r requirements.txt
1414
- pip install -r test-requirements.txt
15-
- pytest --cov=openapi_client
15+
- pytest --cov=hlconnect_client
1616

1717
pytest-3.9:
1818
extends: .pytest

.openapi-generator/FILES

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -32,43 +32,43 @@ docs/RenderingItem.md
3232
docs/UsergenItem.md
3333
docs/ViewUrl.md
3434
git_push.sh
35-
openapi_client/__init__.py
36-
openapi_client/api/__init__.py
37-
openapi_client/api/assets_api.py
38-
openapi_client/api/health_api.py
39-
openapi_client/api/purchase_api.py
40-
openapi_client/api/purchase_cancel_api.py
41-
openapi_client/api/purchase_download_url_api.py
42-
openapi_client/api/purchase_info_api.py
43-
openapi_client/api/purchase_register_api.py
44-
openapi_client/api/purchase_view_url_api.py
45-
openapi_client/api_client.py
46-
openapi_client/api_response.py
47-
openapi_client/configuration.py
48-
openapi_client/exceptions.py
49-
openapi_client/models/__init__.py
50-
openapi_client/models/asset_item.py
51-
openapi_client/models/asset_part_form.py
52-
openapi_client/models/assets_list_response.py
53-
openapi_client/models/contributor_item.py
54-
openapi_client/models/download_url.py
55-
openapi_client/models/error_response.py
56-
openapi_client/models/health_item.py
57-
openapi_client/models/image_item.py
58-
openapi_client/models/instrument_item.py
59-
openapi_client/models/medley_asset_item.py
60-
openapi_client/models/order_item.py
61-
openapi_client/models/order_processing_failed_response.py
62-
openapi_client/models/package_item.py
63-
openapi_client/models/price_item.py
64-
openapi_client/models/purchase_in_processing_response.py
65-
openapi_client/models/purchase_register_request.py
66-
openapi_client/models/related_good_item.py
67-
openapi_client/models/rendering_item.py
68-
openapi_client/models/usergen_item.py
69-
openapi_client/models/view_url.py
70-
openapi_client/py.typed
71-
openapi_client/rest.py
35+
hlconnect_client/__init__.py
36+
hlconnect_client/api/__init__.py
37+
hlconnect_client/api/assets_api.py
38+
hlconnect_client/api/health_api.py
39+
hlconnect_client/api/purchase_api.py
40+
hlconnect_client/api/purchase_cancel_api.py
41+
hlconnect_client/api/purchase_download_url_api.py
42+
hlconnect_client/api/purchase_info_api.py
43+
hlconnect_client/api/purchase_register_api.py
44+
hlconnect_client/api/purchase_view_url_api.py
45+
hlconnect_client/api_client.py
46+
hlconnect_client/api_response.py
47+
hlconnect_client/configuration.py
48+
hlconnect_client/exceptions.py
49+
hlconnect_client/models/__init__.py
50+
hlconnect_client/models/asset_item.py
51+
hlconnect_client/models/asset_part_form.py
52+
hlconnect_client/models/assets_list_response.py
53+
hlconnect_client/models/contributor_item.py
54+
hlconnect_client/models/download_url.py
55+
hlconnect_client/models/error_response.py
56+
hlconnect_client/models/health_item.py
57+
hlconnect_client/models/image_item.py
58+
hlconnect_client/models/instrument_item.py
59+
hlconnect_client/models/medley_asset_item.py
60+
hlconnect_client/models/order_item.py
61+
hlconnect_client/models/order_processing_failed_response.py
62+
hlconnect_client/models/package_item.py
63+
hlconnect_client/models/price_item.py
64+
hlconnect_client/models/purchase_in_processing_response.py
65+
hlconnect_client/models/purchase_register_request.py
66+
hlconnect_client/models/related_good_item.py
67+
hlconnect_client/models/rendering_item.py
68+
hlconnect_client/models/usergen_item.py
69+
hlconnect_client/models/view_url.py
70+
hlconnect_client/py.typed
71+
hlconnect_client/rest.py
7272
pyproject.toml
7373
requirements.txt
7474
setup.cfg

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ install:
1414
- "pip install -r requirements.txt"
1515
- "pip install -r test-requirements.txt"
1616
# command to run tests
17-
script: pytest --cov=openapi_client
17+
script: pytest --cov=hlconnect_client

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# openapi-client
2-
HL Connector provides a simplified API interface to Hal Leonard's Digital Asset Management (DAM) system. This API enables vendors to integrate with Hal Leonard's digital content distribution platform to purchase registrations, download, and manage digital sheet music and other media assets
1+
# hlconnect_client
2+
HL Connect provides a simplified API interface to Hal Leonard's Digital Asset Management (DAM) system. This API enables vendors to integrate with Hal Leonard's digital content distribution platform to purchase registrations, download, and manage digital sheet music and other media assets
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 0.2
7-
- Package version: 1.0.0
7+
- Package version: 0.0.2
88
- Generator version: 7.18.0-SNAPSHOT
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -24,7 +24,7 @@ pip install git+https://github.com/HLConnect/hlconnect-python.git
2424

2525
Then import the package:
2626
```python
27-
import openapi_client
27+
import hlconnect_client
2828
```
2929

3030
### Setuptools
@@ -38,7 +38,7 @@ python setup.py install --user
3838

3939
Then import the package:
4040
```python
41-
import openapi_client
41+
import hlconnect_client
4242
```
4343

4444
### Tests
@@ -51,13 +51,13 @@ Please follow the [installation procedure](#installation--usage) and then run th
5151

5252
```python
5353

54-
import openapi_client
55-
from openapi_client.rest import ApiException
54+
import hlconnect_client
55+
from hlconnect_client.rest import ApiException
5656
from pprint import pprint
5757

5858
# Defining the host is optional and defaults to https://hlconnect-api.mu.se
5959
# See configuration.py for a list of all supported configuration parameters.
60-
configuration = openapi_client.Configuration(
60+
configuration = hlconnect_client.Configuration(
6161
host = "https://hlconnect-api.mu.se"
6262
)
6363

@@ -67,15 +67,15 @@ configuration = openapi_client.Configuration(
6767
# satisfies your auth use case.
6868

6969
# Configure Bearer authorization: access_token
70-
configuration = openapi_client.Configuration(
70+
configuration = hlconnect_client.Configuration(
7171
access_token = os.environ["BEARER_TOKEN"]
7272
)
7373

7474

7575
# Enter a context with an instance of the API client
76-
with openapi_client.ApiClient(configuration) as api_client:
76+
with hlconnect_client.ApiClient(configuration) as api_client:
7777
# Create an instance of the API class
78-
api_instance = openapi_client.AssetsApi(api_client)
78+
api_instance = hlconnect_client.AssetsApi(api_client)
7979
page_size = 20 # int | Number of assets to return per page (optional) (default to 20)
8080
last_id = 56 # int | The ID of the last asset from the previous page. Used for pagination to retrieve the next page of results. (optional)
8181

docs/AssetItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Name | Type | Description | Notes
4545
## Example
4646

4747
```python
48-
from openapi_client.models.asset_item import AssetItem
48+
from hlconnect_client.models.asset_item import AssetItem
4949

5050
# TODO update the JSON string below
5151
json = "{}"

docs/AssetPartForm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
## Example
1313

1414
```python
15-
from openapi_client.models.asset_part_form import AssetPartForm
15+
from hlconnect_client.models.asset_part_form import AssetPartForm
1616

1717
# TODO update the JSON string below
1818
json = "{}"

docs/AssetsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_client.AssetsApi
1+
# hlconnect_client.AssetsApi
22

33
All URIs are relative to *https://hlconnect-api.mu.se*
44

@@ -19,14 +19,14 @@ Returns a list of digital assets with their complete metadata. Assets include in
1919
* Bearer Authentication (access_token):
2020

2121
```python
22-
import openapi_client
23-
from openapi_client.models.assets_list_response import AssetsListResponse
24-
from openapi_client.rest import ApiException
22+
import hlconnect_client
23+
from hlconnect_client.models.assets_list_response import AssetsListResponse
24+
from hlconnect_client.rest import ApiException
2525
from pprint import pprint
2626

2727
# Defining the host is optional and defaults to https://hlconnect-api.mu.se
2828
# See configuration.py for a list of all supported configuration parameters.
29-
configuration = openapi_client.Configuration(
29+
configuration = hlconnect_client.Configuration(
3030
host = "https://hlconnect-api.mu.se"
3131
)
3232

@@ -36,14 +36,14 @@ configuration = openapi_client.Configuration(
3636
# satisfies your auth use case.
3737

3838
# Configure Bearer authorization: access_token
39-
configuration = openapi_client.Configuration(
39+
configuration = hlconnect_client.Configuration(
4040
access_token = os.environ["BEARER_TOKEN"]
4141
)
4242

4343
# Enter a context with an instance of the API client
44-
with openapi_client.ApiClient(configuration) as api_client:
44+
with hlconnect_client.ApiClient(configuration) as api_client:
4545
# Create an instance of the API class
46-
api_instance = openapi_client.AssetsApi(api_client)
46+
api_instance = hlconnect_client.AssetsApi(api_client)
4747
page_size = 20 # int | Number of assets to return per page (optional) (default to 20)
4848
last_id = 56 # int | The ID of the last asset from the previous page. Used for pagination to retrieve the next page of results. (optional)
4949

docs/AssetsListResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
## Example
1414

1515
```python
16-
from openapi_client.models.assets_list_response import AssetsListResponse
16+
from hlconnect_client.models.assets_list_response import AssetsListResponse
1717

1818
# TODO update the JSON string below
1919
json = "{}"

docs/ContributorItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
## Example
1515

1616
```python
17-
from openapi_client.models.contributor_item import ContributorItem
17+
from hlconnect_client.models.contributor_item import ContributorItem
1818

1919
# TODO update the JSON string below
2020
json = "{}"

0 commit comments

Comments
 (0)