esteria-api-client 0.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- esteria_api_client-0.0.9/.cargo/config.toml +10 -0
- esteria_api_client-0.0.9/.dockerignore +7 -0
- esteria_api_client-0.0.9/.github/dependabot.yml +8 -0
- esteria_api_client-0.0.9/.github/workflows/ci.yaml +110 -0
- esteria_api_client-0.0.9/.gitignore +20 -0
- esteria_api_client-0.0.9/.python-version +1 -0
- esteria_api_client-0.0.9/Cargo.lock +2431 -0
- esteria_api_client-0.0.9/Cargo.toml +38 -0
- esteria_api_client-0.0.9/LICENSE +674 -0
- esteria_api_client-0.0.9/Makefile +36 -0
- esteria_api_client-0.0.9/PKG-INFO +269 -0
- esteria_api_client-0.0.9/README.md +250 -0
- esteria_api_client-0.0.9/dist/wheels-macos-latest-aarch64-py3.13)/esteria_api_client-0.0.9-cp313-cp313-macosx_11_0_arm64.whl +0 -0
- esteria_api_client-0.0.9/dist/wheels-macos-latest-aarch64-py3.14)/esteria_api_client-0.0.9-cp314-cp314-macosx_11_0_arm64.whl +0 -0
- esteria_api_client-0.0.9/dist/wheels-ubuntu-latest-x86_64-py3.13)/esteria_api_client-0.0.9-cp313-cp313-manylinux_2_34_x86_64.whl +0 -0
- esteria_api_client-0.0.9/dist/wheels-ubuntu-latest-x86_64-py3.14)/esteria_api_client-0.0.9-cp314-cp314-manylinux_2_34_x86_64.whl +0 -0
- esteria_api_client-0.0.9/pyproject.toml +31 -0
- esteria_api_client-0.0.9/src/cli.rs +159 -0
- esteria_api_client-0.0.9/src/esteria.rs +387 -0
- esteria_api_client-0.0.9/src/lib.rs +10 -0
- esteria_api_client-0.0.9/src/main.rs +7 -0
- esteria_api_client-0.0.9/src/python.rs +212 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
name: Build and Publish Wheels
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
|
|
7
|
+
env:
|
|
8
|
+
CARGO_TERM_COLOR: always
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
publish-crate-to-crates-io:
|
|
12
|
+
name: Publish Crate to Crates.io
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v5
|
|
18
|
+
|
|
19
|
+
- name: Set up Rust
|
|
20
|
+
uses: dtolnay/rust-toolchain@master
|
|
21
|
+
with:
|
|
22
|
+
toolchain: stable
|
|
23
|
+
|
|
24
|
+
- name: Publish crate to crates.io
|
|
25
|
+
run: cargo publish
|
|
26
|
+
env:
|
|
27
|
+
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
|
28
|
+
|
|
29
|
+
build-wheels:
|
|
30
|
+
name: Build wheels (${{ matrix.os }} - ${{ matrix.arch }} - py${{ matrix.python-version }})
|
|
31
|
+
needs: publish-crate-to-crates-io
|
|
32
|
+
runs-on: ${{ matrix.os }}
|
|
33
|
+
strategy:
|
|
34
|
+
fail-fast: false
|
|
35
|
+
matrix:
|
|
36
|
+
python-version: ["3.13", "3.14"]
|
|
37
|
+
os: [ubuntu-latest, macos-latest]
|
|
38
|
+
include:
|
|
39
|
+
- os: ubuntu-latest
|
|
40
|
+
arch: x86_64
|
|
41
|
+
target: x86_64-unknown-linux-gnu
|
|
42
|
+
- os: macos-latest
|
|
43
|
+
arch: aarch64
|
|
44
|
+
target: aarch64-apple-darwin
|
|
45
|
+
# - os: windows-latest
|
|
46
|
+
# arch: x86_64
|
|
47
|
+
# target: x86_64-pc-windows-msvc
|
|
48
|
+
|
|
49
|
+
steps:
|
|
50
|
+
- uses: actions/checkout@v5
|
|
51
|
+
|
|
52
|
+
- name: Set up Rust
|
|
53
|
+
uses: dtolnay/rust-toolchain@stable
|
|
54
|
+
with:
|
|
55
|
+
toolchain: stable
|
|
56
|
+
components: rustfmt, clippy
|
|
57
|
+
|
|
58
|
+
- name: Install Python
|
|
59
|
+
uses: actions/setup-python@v6
|
|
60
|
+
with:
|
|
61
|
+
python-version: "${{ matrix.python-version }}"
|
|
62
|
+
|
|
63
|
+
- name: Install maturin
|
|
64
|
+
run: pip install maturin
|
|
65
|
+
|
|
66
|
+
- name: Build wheel
|
|
67
|
+
run: |
|
|
68
|
+
maturin build \
|
|
69
|
+
--release \
|
|
70
|
+
--locked \
|
|
71
|
+
--target ${{ matrix.target }} \
|
|
72
|
+
--features python \
|
|
73
|
+
--interpreter python3
|
|
74
|
+
|
|
75
|
+
- name: Upload wheels
|
|
76
|
+
uses: actions/upload-artifact@v5
|
|
77
|
+
with:
|
|
78
|
+
name: wheels-${{ matrix.os }}-${{ matrix.arch }}-py${{ matrix.python-version }})
|
|
79
|
+
path: target/wheels/*.whl
|
|
80
|
+
|
|
81
|
+
# optional publish to PyPI
|
|
82
|
+
publish-to-pypi:
|
|
83
|
+
name: Publish to PyPI
|
|
84
|
+
runs-on: ubuntu-latest
|
|
85
|
+
needs: build-wheels
|
|
86
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
87
|
+
steps:
|
|
88
|
+
- uses: actions/checkout@v5
|
|
89
|
+
- uses: actions/download-artifact@v6
|
|
90
|
+
with:
|
|
91
|
+
path: dist
|
|
92
|
+
|
|
93
|
+
- name: Install Python + maturin
|
|
94
|
+
uses: actions/setup-python@v6
|
|
95
|
+
with:
|
|
96
|
+
python-version: "3.14"
|
|
97
|
+
|
|
98
|
+
- run: pip install maturin
|
|
99
|
+
|
|
100
|
+
- name: Build source distribution (sdist)
|
|
101
|
+
run: maturin sdist --out dist
|
|
102
|
+
|
|
103
|
+
- name: Publish to PyPI
|
|
104
|
+
env:
|
|
105
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
106
|
+
run: |
|
|
107
|
+
# Upload built wheels from matrix builds
|
|
108
|
+
find dist -name "*.whl" -exec maturin upload --skip-existing {} +
|
|
109
|
+
# Upload source distribution produced above
|
|
110
|
+
find dist -name "*.tar.gz" -exec maturin upload --skip-existing {} +
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated by Cargo
|
|
2
|
+
# will have compiled files and executables
|
|
3
|
+
debug/
|
|
4
|
+
target/
|
|
5
|
+
|
|
6
|
+
# These are backup files generated by rustfmt
|
|
7
|
+
**/*.rs.bk
|
|
8
|
+
|
|
9
|
+
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
10
|
+
*.pdb
|
|
11
|
+
|
|
12
|
+
# RustRover
|
|
13
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
14
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
15
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
16
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
17
|
+
.idea/
|
|
18
|
+
.env
|
|
19
|
+
.venv/
|
|
20
|
+
uv.lock
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
==3.14.0
|