Skip to content

Commit 251e4da

Browse files
Regenerated as TTX (instead of ttx_py)
1 parent b4d2e97 commit 251e4da

80 files changed

Lines changed: 366 additions & 396 deletions

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: ttx_py Python package
6+
name: ttx Python package
77

88
on: [push, pull_request]
99

@@ -28,4 +28,4 @@ jobs:
2828
pip install -r test-requirements.txt
2929
- name: Test with pytest
3030
run: |
31-
pytest --cov=ttx_py
31+
pytest --cov=ttx

.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=ttx_py
15+
- pytest --cov=ttx
1616

1717
pytest-3.9:
1818
extends: .pytest

.openapi-generator/FILES

Lines changed: 42 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.github/workflows/python.yml
22
.gitignore
33
.gitlab-ci.yml
4-
.openapi-generator-ignore
54
.travis.yml
65
README.md
76
docs/CreateTransactionDto.md
@@ -44,79 +43,46 @@ setup.cfg
4443
setup.py
4544
test-requirements.txt
4645
test/__init__.py
47-
test/test_create_transaction_dto.py
48-
test/test_creator_dto.py
49-
test/test_creator_order_by.py
50-
test/test_creator_partial_dto.py
51-
test/test_creator_partial_dto_pagination_dto.py
52-
test/test_creator_rarity_dto.py
53-
test/test_creator_share_dto.py
54-
test/test_creator_transaction_dto.py
55-
test/test_creators_api.py
56-
test/test_discord_token_dto.py
57-
test/test_link_discord_twitch_dto.py
58-
test/test_loot_box_dto.py
59-
test/test_loot_box_result_dto.py
60-
test/test_model_id.py
61-
test/test_order_direction.py
62-
test/test_player_dto.py
63-
test/test_player_dto_pagination_dto.py
64-
test/test_player_order_by.py
65-
test/test_player_partial_dto.py
66-
test/test_player_share_dto.py
67-
test/test_player_transaction_dto.py
68-
test/test_player_type.py
69-
test/test_players_api.py
70-
test/test_portfolio_snapshot_dto.py
71-
test/test_rarity.py
72-
test/test_sessions_api.py
73-
test/test_stream_status_dto.py
74-
test/test_time_step.py
75-
test/test_token_dto.py
76-
test/test_transaction_action.py
77-
test/test_transactions_api.py
78-
test/test_twitch_user_dto.py
79-
test/test_vote_dto.py
8046
tox.ini
81-
ttx_py/__init__.py
82-
ttx_py/api/__init__.py
83-
ttx_py/api/creators_api.py
84-
ttx_py/api/players_api.py
85-
ttx_py/api/sessions_api.py
86-
ttx_py/api/transactions_api.py
87-
ttx_py/api_client.py
88-
ttx_py/api_response.py
89-
ttx_py/configuration.py
90-
ttx_py/exceptions.py
91-
ttx_py/models/__init__.py
92-
ttx_py/models/create_transaction_dto.py
93-
ttx_py/models/creator_dto.py
94-
ttx_py/models/creator_order_by.py
95-
ttx_py/models/creator_partial_dto.py
96-
ttx_py/models/creator_partial_dto_pagination_dto.py
97-
ttx_py/models/creator_rarity_dto.py
98-
ttx_py/models/creator_share_dto.py
99-
ttx_py/models/creator_transaction_dto.py
100-
ttx_py/models/discord_token_dto.py
101-
ttx_py/models/link_discord_twitch_dto.py
102-
ttx_py/models/loot_box_dto.py
103-
ttx_py/models/loot_box_result_dto.py
104-
ttx_py/models/model_id.py
105-
ttx_py/models/order_direction.py
106-
ttx_py/models/player_dto.py
107-
ttx_py/models/player_dto_pagination_dto.py
108-
ttx_py/models/player_order_by.py
109-
ttx_py/models/player_partial_dto.py
110-
ttx_py/models/player_share_dto.py
111-
ttx_py/models/player_transaction_dto.py
112-
ttx_py/models/player_type.py
113-
ttx_py/models/portfolio_snapshot_dto.py
114-
ttx_py/models/rarity.py
115-
ttx_py/models/stream_status_dto.py
116-
ttx_py/models/time_step.py
117-
ttx_py/models/token_dto.py
118-
ttx_py/models/transaction_action.py
119-
ttx_py/models/twitch_user_dto.py
120-
ttx_py/models/vote_dto.py
121-
ttx_py/py.typed
122-
ttx_py/rest.py
47+
ttx/__init__.py
48+
ttx/api/__init__.py
49+
ttx/api/creators_api.py
50+
ttx/api/players_api.py
51+
ttx/api/sessions_api.py
52+
ttx/api/transactions_api.py
53+
ttx/api_client.py
54+
ttx/api_response.py
55+
ttx/configuration.py
56+
ttx/exceptions.py
57+
ttx/models/__init__.py
58+
ttx/models/create_transaction_dto.py
59+
ttx/models/creator_dto.py
60+
ttx/models/creator_order_by.py
61+
ttx/models/creator_partial_dto.py
62+
ttx/models/creator_partial_dto_pagination_dto.py
63+
ttx/models/creator_rarity_dto.py
64+
ttx/models/creator_share_dto.py
65+
ttx/models/creator_transaction_dto.py
66+
ttx/models/discord_token_dto.py
67+
ttx/models/link_discord_twitch_dto.py
68+
ttx/models/loot_box_dto.py
69+
ttx/models/loot_box_result_dto.py
70+
ttx/models/model_id.py
71+
ttx/models/order_direction.py
72+
ttx/models/player_dto.py
73+
ttx/models/player_dto_pagination_dto.py
74+
ttx/models/player_order_by.py
75+
ttx/models/player_partial_dto.py
76+
ttx/models/player_share_dto.py
77+
ttx/models/player_transaction_dto.py
78+
ttx/models/player_type.py
79+
ttx/models/portfolio_snapshot_dto.py
80+
ttx/models/rarity.py
81+
ttx/models/stream_status_dto.py
82+
ttx/models/time_step.py
83+
ttx/models/token_dto.py
84+
ttx/models/transaction_action.py
85+
ttx/models/twitch_user_dto.py
86+
ttx/models/vote_dto.py
87+
ttx/py.typed
88+
ttx/rest.py

.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=ttx_py
17+
script: pytest --cov=ttx

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ttx-py
1+
# ttx
22
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
@@ -24,7 +24,7 @@ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
2424

2525
Then import the package:
2626
```python
27-
import ttx_py
27+
import ttx
2828
```
2929

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

3939
Then import the package:
4040
```python
41-
import ttx_py
41+
import ttx
4242
```
4343

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

5252
```python
5353

54-
import ttx_py
55-
from ttx_py.rest import ApiException
54+
import ttx
55+
from ttx.rest import ApiException
5656
from pprint import pprint
5757

5858
# Defining the host is optional and defaults to http://localhost
5959
# See configuration.py for a list of all supported configuration parameters.
60-
configuration = ttx_py.Configuration(
60+
configuration = ttx.Configuration(
6161
host = "http://localhost"
6262
)
6363

6464

6565

6666
# Enter a context with an instance of the API client
67-
with ttx_py.ApiClient(configuration) as api_client:
67+
with ttx.ApiClient(configuration) as api_client:
6868
# Create an instance of the API class
69-
api_instance = ttx_py.CreatorsApi(api_client)
69+
api_instance = ttx.CreatorsApi(api_client)
7070
username = 'username_example' # str | (optional)
7171
ticker = 'ticker_example' # str | (optional)
7272

@@ -138,4 +138,8 @@ Class | Method | HTTP request | Description
138138
Endpoints do not require authorization.
139139

140140

141+
## Author
142+
143+
144+
141145

docs/CreateTransactionDto.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 ttx_py.models.create_transaction_dto import CreateTransactionDto
15+
from ttx.models.create_transaction_dto import CreateTransactionDto
1616

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

docs/CreatorDto.md

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

2525
```python
26-
from ttx_py.models.creator_dto import CreatorDto
26+
from ttx.models.creator_dto import CreatorDto
2727

2828
# TODO update the JSON string below
2929
json = "{}"

docs/CreatorPartialDto.md

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

2323
```python
24-
from ttx_py.models.creator_partial_dto import CreatorPartialDto
24+
from ttx.models.creator_partial_dto import CreatorPartialDto
2525

2626
# TODO update the JSON string below
2727
json = "{}"

docs/CreatorPartialDtoPaginationDto.md

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

1313
```python
14-
from ttx_py.models.creator_partial_dto_pagination_dto import CreatorPartialDtoPaginationDto
14+
from ttx.models.creator_partial_dto_pagination_dto import CreatorPartialDtoPaginationDto
1515

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

docs/CreatorRarityDto.md

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

1313
```python
14-
from ttx_py.models.creator_rarity_dto import CreatorRarityDto
14+
from ttx.models.creator_rarity_dto import CreatorRarityDto
1515

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

0 commit comments

Comments
 (0)