Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit74f08bd

Browse files
authored
Remove docs & improve README (#14)
1 parentc62d61e commit74f08bd

File tree

10 files changed

+38
-481
lines changed

10 files changed

+38
-481
lines changed

‎.github/workflows/docs.yml‎

Lines changed: 0 additions & 42 deletions
This file was deleted.

‎Makefile‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ clean-generated:## Cleanup generated code
2323
generate:## Generate the code from the OpenAPI specs
2424
./bin/generate.sh
2525

26-
sphinx-docs:## Generate the documentation; uses the sphinx-generated Makefile in docs to clean and build html
27-
($(VENV_RUN); sphinx-apidoc --implicit-namespaces -o docs localstack-sdk-python/localstack)
28-
$(MAKE) -C docs clean
29-
$(MAKE) -C docs html
30-
3126
format:
3227
($(VENV_RUN); python -m ruff format --exclude packages.; python -m ruff check --output-format=full --exclude packages --fix .)
3328

‎README.md‎

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#LocalStack Python SDK
22
[![PyPI version](https://img.shields.io/pypi/v/localstack-sdk-python)](https://pypi.org/project/localstack-sdk-python/)
3+
[![Integration Tests](https://github.com/localstack/localstack-sdk-python/actions/workflows/test.yml/badge.svg)](https://github.com/localstack/localstack-sdk-python/actions/workflows/test.yml)
34

45
This is the Python SDK for LocalStack.
56
LocalStack offers a number of developer endpoints (see[docs](https://docs.localstack.cloud/references/internal-endpoints/)).
@@ -10,19 +11,46 @@ This SDK provides a programmatic and easy way to interact with them.
1011
1112
###Project Structure
1213

13-
This projectfollows the following structure:
14+
This projectis composed by two Python packages:
1415

15-
-`packages/localstack-sdk-generated` is a Python project generated from the OpenAPI specs with[openapi-generator](https://github.com/OpenAPITools/openapi-generator).
16-
LocalStack's OpenAPI specs are available in the[openapi repository](https://github.com/localstack/openapi).
17-
-`localstack-sdk-python` is the main project that has`localstack-sdk-generated` as the main dependency.
16+
-`packages/localstack-sdk-generated`: generated from the LocalStack's OpenAPI specs with[openapi-generator](https://github.com/OpenAPITools/openapi-generator).
17+
The LocalStack's OpenAPI specs are available in[localstack/openapi](https://github.com/localstack/openapi).
18+
This package is not meant to be manually modified, as it needs to be generated every time from the specs.
19+
-`localstack-sdk-python`: the user-facing SDK that consumed`localstack-sdk-generated` as its main dependency.
1820

19-
Developers are not supposed to modify at all`localstack-sdk-generated`.
20-
The code needs to be re-generated from specs every time using the`generate.sh` script in the`bin` folder.
21+
###Installation
2122

22-
This project uses[uv](https://github.com/astral-sh/uv) as package/project manager.
23+
You can install the LocalStack Python SDK with`pip`:
2324

24-
###Install & Run
25+
```shell
26+
pip install localstack-sdk-python
27+
```
28+
29+
####From Source
30+
31+
This project uses[uv](https://github.com/astral-sh/uv) as a package manager.
32+
On a Unix system, you can install`uv` with the standalone installer:
33+
34+
```shell
35+
curl -LsSf https://astral.sh/uv/install.sh| sh
36+
```
37+
38+
Once`uv` is installed, you can install the project from source with:
39+
40+
```shell
41+
make install
42+
```
43+
44+
To run the integration test suite:
45+
46+
```shell
47+
maketest
48+
```
2549

26-
You can simply run`make install-dev` to install the two packages and the needed dependencies.
27-
`make test` runs the test suite.
2850
Note that LocalStack (pro) should be running in the background to execute the test.
51+
52+
###Quickstart
53+
54+
To get started with our SDK, check out the[official documentation onhttps://docs.localstack.cloud](https://docs.localstack.cloud/user-guide/tools/localstack-sdk/python/).
55+
You'll find comprehensive guides and detailed code samples that demonstrate how to use the various features provided
56+
by the SDK.

‎docs/Makefile‎

Lines changed: 0 additions & 21 deletions
This file was deleted.
-116 KB
Binary file not shown.

‎docs/conf.py‎

Lines changed: 0 additions & 59 deletions
This file was deleted.

‎docs/index.rst‎

Lines changed: 0 additions & 52 deletions
This file was deleted.

‎docs/modules.rst‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎pyproject.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dev-dependencies=[
2828
"pytest>=8.3.3",
2929
"ruff>=0.6.9",
3030
"boto3>=1.35.40",
31-
"sphinx>=8.1.3"
3231
]
3332

3433
[tool.uv.sources]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp