pyaether-cli 0.0.3__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.
- pyaether_cli-0.0.3/.github/CODE_OF_CONDUCT.md +131 -0
- pyaether_cli-0.0.3/.github/ISSUE_TEMPLATE/bug_report.md +45 -0
- pyaether_cli-0.0.3/.github/ISSUE_TEMPLATE/config.yml +6 -0
- pyaether_cli-0.0.3/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
- pyaether_cli-0.0.3/.github/ISSUE_TEMPLATE/misc.md +12 -0
- pyaether_cli-0.0.3/.github/PULL_REQUEST_TEMPLATE.md +16 -0
- pyaether_cli-0.0.3/.github/workflows/build_and_publish.yaml +51 -0
- pyaether_cli-0.0.3/.gitignore +154 -0
- pyaether_cli-0.0.3/.pre-commit-config.yaml +21 -0
- pyaether_cli-0.0.3/.python-version +1 -0
- pyaether_cli-0.0.3/CHANGELOG.md +20 -0
- pyaether_cli-0.0.3/LICENCE.md +25 -0
- pyaether_cli-0.0.3/PKG-INFO +23 -0
- pyaether_cli-0.0.3/README.md +3 -0
- pyaether_cli-0.0.3/pyproject.toml +85 -0
- pyaether_cli-0.0.3/scripts/branch-name-check.sh +9 -0
- pyaether_cli-0.0.3/scripts/build.sh +2 -0
- pyaether_cli-0.0.3/scripts/publish.sh +19 -0
- pyaether_cli-0.0.3/scripts/versioning.py +248 -0
- pyaether_cli-0.0.3/src/aether_cli/__init__.py +1 -0
- pyaether_cli-0.0.3/src/aether_cli/__main__.py +4 -0
- pyaether_cli-0.0.3/src/aether_cli/build_process.py +110 -0
- pyaether_cli-0.0.3/src/aether_cli/cli.py +197 -0
- pyaether_cli-0.0.3/src/aether_cli/configs.py +108 -0
- pyaether_cli-0.0.3/src/aether_cli/run_server.py +44 -0
- pyaether_cli-0.0.3/src/aether_cli/utils.py +50 -0
- pyaether_cli-0.0.3/tests/__init__.py +0 -0
- pyaether_cli-0.0.3/uv.lock +611 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
+
community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
+
any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
|
35
|
+
without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official email address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at [@Dexter2389](https://github.com/Dexter2389).
|
|
63
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
64
|
+
|
|
65
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
66
|
+
reporter of any incident.
|
|
67
|
+
|
|
68
|
+
## Enforcement Guidelines
|
|
69
|
+
|
|
70
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
71
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
72
|
+
|
|
73
|
+
### 1. Correction
|
|
74
|
+
|
|
75
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
76
|
+
unprofessional or unwelcome in the community.
|
|
77
|
+
|
|
78
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
79
|
+
clarity around the nature of the violation and an explanation of why the
|
|
80
|
+
behavior was inappropriate. A public apology may be requested.
|
|
81
|
+
|
|
82
|
+
### 2. Warning
|
|
83
|
+
|
|
84
|
+
**Community Impact**: A violation through a single incident or series of
|
|
85
|
+
actions.
|
|
86
|
+
|
|
87
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
88
|
+
interaction with the people involved, including unsolicited interaction with
|
|
89
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
90
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
91
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
|
92
|
+
ban.
|
|
93
|
+
|
|
94
|
+
### 3. Temporary Ban
|
|
95
|
+
|
|
96
|
+
**Community Impact**: A serious violation of community standards, including
|
|
97
|
+
sustained inappropriate behavior.
|
|
98
|
+
|
|
99
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
100
|
+
communication with the community for a specified period of time. No public or
|
|
101
|
+
private interaction with the people involved, including unsolicited interaction
|
|
102
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
103
|
+
Violating these terms may lead to a permanent ban.
|
|
104
|
+
|
|
105
|
+
### 4. Permanent Ban
|
|
106
|
+
|
|
107
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
108
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
109
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
110
|
+
|
|
111
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
112
|
+
community.
|
|
113
|
+
|
|
114
|
+
## Attribution
|
|
115
|
+
|
|
116
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
117
|
+
version 2.1, available at
|
|
118
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
119
|
+
|
|
120
|
+
Community Impact Guidelines were inspired by
|
|
121
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
122
|
+
|
|
123
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
124
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
|
125
|
+
[https://www.contributor-covenant.org/translations][translations].
|
|
126
|
+
|
|
127
|
+
[homepage]: https://www.contributor-covenant.org
|
|
128
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
129
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
130
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
131
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 🐛 Bug Report
|
|
3
|
+
about: File a bug report to help us improve
|
|
4
|
+
labels: bug
|
|
5
|
+
assignees: ""
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
**Bug Summary**
|
|
9
|
+
|
|
10
|
+
Please describe what you were trying to get done.
|
|
11
|
+
|
|
12
|
+
**What happened?**
|
|
13
|
+
|
|
14
|
+
Tell us what happened, what went wrong.
|
|
15
|
+
|
|
16
|
+
**What did you expect to happen?**
|
|
17
|
+
|
|
18
|
+
Describe what you expected to happen.
|
|
19
|
+
|
|
20
|
+
**Reproduction Steps**
|
|
21
|
+
|
|
22
|
+
Please provide a minimal, self-contained copy-pastable example that demonstrates the issue.
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Relevant Log Output**
|
|
29
|
+
|
|
30
|
+
Please copy and paste any relevant output.
|
|
31
|
+
|
|
32
|
+
```console
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Anything else we need to know?**
|
|
36
|
+
|
|
37
|
+
Please describe any other information you want to share.
|
|
38
|
+
|
|
39
|
+
**Dev Environment Information**
|
|
40
|
+
|
|
41
|
+
Please provide some basic information about your dev environment (Python version, Aether CLI Version, Aether Version, OS, etc.).
|
|
42
|
+
|
|
43
|
+
```console
|
|
44
|
+
<paste here>
|
|
45
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 💡 Feature Request
|
|
3
|
+
about: Suggest an idea for Aether CLI
|
|
4
|
+
labels: feature-request
|
|
5
|
+
assignees: ""
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
**Is your feature request related to a problem? Please describe.**
|
|
9
|
+
|
|
10
|
+
A clear and concise description of what the problem is.
|
|
11
|
+
|
|
12
|
+
**Describe the solution you'd like**
|
|
13
|
+
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
|
|
18
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
19
|
+
|
|
20
|
+
**Additional context**
|
|
21
|
+
|
|
22
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## Description
|
|
2
|
+
|
|
3
|
+
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
|
|
4
|
+
|
|
5
|
+
Fixes #(issue_number)
|
|
6
|
+
|
|
7
|
+
## Checklist before requesting a review
|
|
8
|
+
<!-- Feel free to remove check-list items aren't relevant to your change -->
|
|
9
|
+
|
|
10
|
+
- [ ] My code follows the style guidelines of this project.
|
|
11
|
+
- [ ] I have performed a self-review of my code.
|
|
12
|
+
- [ ] If it is a core feature, I have added thorough tests.
|
|
13
|
+
- [ ] I have made corresponding changes to the documentation.
|
|
14
|
+
- [ ] I have added tests that prove my fix is effective or that my feature works.
|
|
15
|
+
- [ ] New and existing tests pass locally with my changes.
|
|
16
|
+
- [ ] Any dependent changes have been merged and published in downstream modules.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Build and Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*.*.*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build-package:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout repository
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- name: Install uv
|
|
17
|
+
uses: astral-sh/setup-uv@v5
|
|
18
|
+
with:
|
|
19
|
+
enable-cache: true
|
|
20
|
+
cache-dependency-glob: "uv.lock"
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: uv sync --frozen --no-install-project --no-group dev --no-group test
|
|
24
|
+
|
|
25
|
+
- name: Build Python package
|
|
26
|
+
run: uv build
|
|
27
|
+
|
|
28
|
+
- name: Upload artifacts
|
|
29
|
+
uses: actions/upload-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: release-dists
|
|
32
|
+
path: dist/
|
|
33
|
+
|
|
34
|
+
publish-package:
|
|
35
|
+
needs: build-package
|
|
36
|
+
runs-on: ubuntu-latest
|
|
37
|
+
environment: release
|
|
38
|
+
permissions:
|
|
39
|
+
id-token: write
|
|
40
|
+
steps:
|
|
41
|
+
- name: Download distributions
|
|
42
|
+
uses: actions/download-artifact@v4
|
|
43
|
+
with:
|
|
44
|
+
name: release-dists
|
|
45
|
+
path: dist/
|
|
46
|
+
|
|
47
|
+
- name: Install uv
|
|
48
|
+
uses: astral-sh/setup-uv@v5
|
|
49
|
+
|
|
50
|
+
- name: Publish to PyPI via OIDC
|
|
51
|
+
run: uv publish -v dist/*
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
98
|
+
__pypackages__/
|
|
99
|
+
|
|
100
|
+
# Celery stuff
|
|
101
|
+
celerybeat-schedule
|
|
102
|
+
celerybeat.pid
|
|
103
|
+
|
|
104
|
+
# SageMath parsed files
|
|
105
|
+
*.sage.py
|
|
106
|
+
|
|
107
|
+
# Environments
|
|
108
|
+
.venv
|
|
109
|
+
env/
|
|
110
|
+
venv/
|
|
111
|
+
ENV/
|
|
112
|
+
env.bak/
|
|
113
|
+
venv.bak/
|
|
114
|
+
.env
|
|
115
|
+
|
|
116
|
+
# Spyder project settings
|
|
117
|
+
.spyderproject
|
|
118
|
+
.spyproject
|
|
119
|
+
|
|
120
|
+
# Rope project settings
|
|
121
|
+
.ropeproject
|
|
122
|
+
|
|
123
|
+
# mkdocs documentation
|
|
124
|
+
/site
|
|
125
|
+
|
|
126
|
+
# mypy
|
|
127
|
+
.mypy_cache/
|
|
128
|
+
.dmypy.json
|
|
129
|
+
dmypy.json
|
|
130
|
+
|
|
131
|
+
# ruff
|
|
132
|
+
.ruff_cache/
|
|
133
|
+
|
|
134
|
+
# Pyre type checker
|
|
135
|
+
.pyre/
|
|
136
|
+
|
|
137
|
+
# pytype static type analyzer
|
|
138
|
+
.pytype/
|
|
139
|
+
|
|
140
|
+
# IDE
|
|
141
|
+
.idea
|
|
142
|
+
|
|
143
|
+
# Cython debug symbols
|
|
144
|
+
cython_debug/
|
|
145
|
+
|
|
146
|
+
*.ipynb
|
|
147
|
+
*credentials*.json
|
|
148
|
+
|
|
149
|
+
# Custom ignore files/folders
|
|
150
|
+
.DS_Store
|
|
151
|
+
.pypirc
|
|
152
|
+
.vscode
|
|
153
|
+
poetry.toml
|
|
154
|
+
scratch*
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: local
|
|
3
|
+
hooks:
|
|
4
|
+
- id: ruff-check
|
|
5
|
+
name: ruff-check
|
|
6
|
+
entry: ruff check --fix --force-exclude src scripts tests
|
|
7
|
+
language: system
|
|
8
|
+
always_run: true
|
|
9
|
+
pass_filenames: false
|
|
10
|
+
- id: ruff-format
|
|
11
|
+
name: ruff-format
|
|
12
|
+
entry: ruff format --force-exclude src scripts tests
|
|
13
|
+
language: system
|
|
14
|
+
always_run: true
|
|
15
|
+
pass_filenames: false
|
|
16
|
+
- id: branch-name-and-commit-permission-check
|
|
17
|
+
name: branch name and commit permission check
|
|
18
|
+
entry: bash ./scripts/branch-name-check.sh
|
|
19
|
+
language: system
|
|
20
|
+
always_run: true
|
|
21
|
+
pass_filenames: false
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
All notable changes to this project will be documented in this file.
|
|
3
|
+
|
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## v0.1.0 - [Unreleased]
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Deleted
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
----------------------------------------------------------------
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
BSD 2-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, Saurabh Ghanekar
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
17
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
18
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
19
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
20
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
21
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
22
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
23
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
24
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
25
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyaether-cli
|
|
3
|
+
Version: 0.0.3
|
|
4
|
+
Summary: A CLI to build and run dev server for Aether apps.
|
|
5
|
+
Project-URL: homepage, https://github.com/pyaether/aether-cli
|
|
6
|
+
Project-URL: repository, https://github.com/pyaether/aether-cli
|
|
7
|
+
Project-URL: documentation, https://github.com/pyaether/aether-cli
|
|
8
|
+
Author-email: Saurabh Ghanekar <ghanekarsaurabh8@gmail.com>
|
|
9
|
+
License-Expression: BSD-2-Clause
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: beautifulsoup4>=4.13
|
|
14
|
+
Requires-Dist: click>=8.1
|
|
15
|
+
Requires-Dist: pyaether
|
|
16
|
+
Requires-Dist: pydantic>=2.10
|
|
17
|
+
Requires-Dist: rich>=13.9
|
|
18
|
+
Requires-Dist: typing-extensions>=4
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# Aether CLI
|
|
22
|
+
|
|
23
|
+
Build and run your Aether apps as well as manage your Altar UI components from the command line.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "pyaether-cli"
|
|
3
|
+
version = "0.0.3"
|
|
4
|
+
description = "A CLI to build and run dev server for Aether apps."
|
|
5
|
+
authors = [{ name = "Saurabh Ghanekar", email = "ghanekarsaurabh8@gmail.com" }]
|
|
6
|
+
license = "BSD-2-Clause"
|
|
7
|
+
license-files = ["LICENSE.md"]
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
urls = { homepage = "https://github.com/pyaether/aether-cli", repository = "https://github.com/pyaether/aether-cli", documentation = "https://github.com/pyaether/aether-cli" }
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Operating System :: OS Independent",
|
|
14
|
+
]
|
|
15
|
+
dependencies = [
|
|
16
|
+
"beautifulsoup4>=4.13",
|
|
17
|
+
"click>=8.1",
|
|
18
|
+
"pyaether",
|
|
19
|
+
"pydantic>=2.10",
|
|
20
|
+
"rich>=13.9",
|
|
21
|
+
"typing-extensions>=4",
|
|
22
|
+
]
|
|
23
|
+
scripts = { aether = "aether_cli.cli:main" }
|
|
24
|
+
|
|
25
|
+
[dependency-groups]
|
|
26
|
+
dev = [
|
|
27
|
+
"pre-commit>=4.0",
|
|
28
|
+
"ruff>=0.9",
|
|
29
|
+
"tomli>=2.2; python_version < '3.11'", # Note: Remove this when the 'requires-python' becomes ">=3.11"
|
|
30
|
+
]
|
|
31
|
+
test = ["pytest>=8.3", "pytest-cov>=6.0"]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
[tool.uv]
|
|
35
|
+
default-groups = ["dev", "test"]
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
[[tool.uv.index]]
|
|
39
|
+
explicit = true
|
|
40
|
+
name = "testpypi"
|
|
41
|
+
publish-url = "https://test.pypi.org/legacy"
|
|
42
|
+
url = "https://test.pypi.org/simple"
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
[tool.ruff]
|
|
46
|
+
line-length = 88
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
[tool.ruff.lint]
|
|
50
|
+
select = [
|
|
51
|
+
# "D", # pydocstyle
|
|
52
|
+
"E", # pycodestyle errors
|
|
53
|
+
"W", # pycodestyle warnings
|
|
54
|
+
"F", # pyflakes
|
|
55
|
+
"I", # isort
|
|
56
|
+
"S", # flake8-bandit
|
|
57
|
+
"B", # flake8-bugbear
|
|
58
|
+
"C4", # flake8-comprehensions
|
|
59
|
+
"UP", # pyupgrade
|
|
60
|
+
"ARG001", # unused arguments in functions
|
|
61
|
+
]
|
|
62
|
+
ignore = [
|
|
63
|
+
"E501", # line too long, handled by black
|
|
64
|
+
"B008", # do not perform function calls in argument defaults
|
|
65
|
+
"W191", # indentation contains tabs
|
|
66
|
+
"B904", # Allow raising exceptions without from e, for HTTPException
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
[tool.ruff.lint.pydocstyle]
|
|
71
|
+
convention = "google"
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
[tool.versioning]
|
|
75
|
+
backend = "uv"
|
|
76
|
+
|
|
77
|
+
[tool.versioning.files]
|
|
78
|
+
version_variable = ["src/aether_cli/__init__.py:__version__"]
|
|
79
|
+
|
|
80
|
+
[tool.hatch.build.targets.wheel]
|
|
81
|
+
packages = ["src/aether_cli"]
|
|
82
|
+
|
|
83
|
+
[build-system]
|
|
84
|
+
requires = ["hatchling"]
|
|
85
|
+
build-backend = "hatchling.build"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
2
|
+
|
|
3
|
+
if [[ $BRANCH =~ (master|main|develop) ]]; then
|
|
4
|
+
echo "You are on branch $BRANCH. Are you sure you want to commit to this branch?"
|
|
5
|
+
echo "If so, commit with -n to bypass this pre-commit hook."
|
|
6
|
+
exit 1
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
exit 0
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
machine_type=$(uname -s)
|
|
2
|
+
|
|
3
|
+
if [ "$machine_type" = "Darwin" ]; then
|
|
4
|
+
export $(grep -v '^#' .env | tr '\n' '\0' | xargs -0)
|
|
5
|
+
else
|
|
6
|
+
export $(grep -v '^#' .env | xargs -d '\n')
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
while getopts i: flag; do
|
|
10
|
+
case "${flag}" in
|
|
11
|
+
i) index=${OPTARG} ;;
|
|
12
|
+
esac
|
|
13
|
+
done
|
|
14
|
+
|
|
15
|
+
if [ "$index" = "test" ]; then
|
|
16
|
+
uv publish --index testpypi --username $TEST_PYPI_TOKEN_USERNAME --password $TEST_PYPI_TOKEN_PASSWORD
|
|
17
|
+
else
|
|
18
|
+
uv publish --username $PYPI_TOKEN_USERNAME --password $PYPI_TOKEN_PASSWORD
|
|
19
|
+
fi
|