orca-link 0.1.0__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.
- orca_link-0.1.0/.github/workflows/publish.yml +44 -0
- orca_link-0.1.0/.gitignore +207 -0
- orca_link-0.1.0/LICENSE +21 -0
- orca_link-0.1.0/Makefile +62 -0
- orca_link-0.1.0/PKG-INFO +38 -0
- orca_link-0.1.0/README.md +1 -0
- orca_link-0.1.0/orca_link/__init__.py +15 -0
- orca_link-0.1.0/orca_link/cli.py +61 -0
- orca_link-0.1.0/orca_link/orca_link.py +0 -0
- orca_link-0.1.0/orca_link/py.typed +0 -0
- orca_link-0.1.0/orca_link.egg-info/PKG-INFO +38 -0
- orca_link-0.1.0/orca_link.egg-info/SOURCES.txt +27 -0
- orca_link-0.1.0/orca_link.egg-info/dependency_links.txt +1 -0
- orca_link-0.1.0/orca_link.egg-info/entry_points.txt +2 -0
- orca_link-0.1.0/orca_link.egg-info/requires.txt +12 -0
- orca_link-0.1.0/orca_link.egg-info/top_level.txt +1 -0
- orca_link-0.1.0/pyproject.toml +80 -0
- orca_link-0.1.0/scripts/release/.pypirc.example +14 -0
- orca_link-0.1.0/scripts/release/README.md +376 -0
- orca_link-0.1.0/scripts/release/build.sh +58 -0
- orca_link-0.1.0/scripts/release/bump_version.sh +63 -0
- orca_link-0.1.0/scripts/release/check.sh +31 -0
- orca_link-0.1.0/scripts/release/check_env.sh +156 -0
- orca_link-0.1.0/scripts/release/clean.sh +28 -0
- orca_link-0.1.0/scripts/release/release.sh +55 -0
- orca_link-0.1.0/scripts/release/test_install.sh +79 -0
- orca_link-0.1.0/scripts/release/upload_prod.sh +55 -0
- orca_link-0.1.0/scripts/release/upload_test.sh +44 -0
- orca_link-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
|
|
15
|
+
- name: Set up Python
|
|
16
|
+
uses: actions/setup-python@v4
|
|
17
|
+
with:
|
|
18
|
+
python-version: '3.10'
|
|
19
|
+
|
|
20
|
+
- name: Install dependencies
|
|
21
|
+
run: |
|
|
22
|
+
python -m pip install --upgrade pip
|
|
23
|
+
pip install build twine
|
|
24
|
+
|
|
25
|
+
- name: Build distribution
|
|
26
|
+
run: python -m build
|
|
27
|
+
|
|
28
|
+
- name: Check distribution
|
|
29
|
+
run: twine check dist/*
|
|
30
|
+
|
|
31
|
+
- name: Publish to PyPI
|
|
32
|
+
env:
|
|
33
|
+
TWINE_USERNAME: __token__
|
|
34
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
|
35
|
+
run: twine upload dist/*
|
|
36
|
+
|
|
37
|
+
- name: Create GitHub Release
|
|
38
|
+
uses: softprops/action-gh-release@v1
|
|
39
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
40
|
+
with:
|
|
41
|
+
files: dist/*
|
|
42
|
+
draft: false
|
|
43
|
+
prerelease: false
|
|
44
|
+
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
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
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
#uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
#poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
#pdm.lock
|
|
116
|
+
#pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
#pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# SageMath parsed files
|
|
135
|
+
*.sage.py
|
|
136
|
+
|
|
137
|
+
# Environments
|
|
138
|
+
.env
|
|
139
|
+
.envrc
|
|
140
|
+
.venv
|
|
141
|
+
env/
|
|
142
|
+
venv/
|
|
143
|
+
ENV/
|
|
144
|
+
env.bak/
|
|
145
|
+
venv.bak/
|
|
146
|
+
|
|
147
|
+
# Spyder project settings
|
|
148
|
+
.spyderproject
|
|
149
|
+
.spyproject
|
|
150
|
+
|
|
151
|
+
# Rope project settings
|
|
152
|
+
.ropeproject
|
|
153
|
+
|
|
154
|
+
# mkdocs documentation
|
|
155
|
+
/site
|
|
156
|
+
|
|
157
|
+
# mypy
|
|
158
|
+
.mypy_cache/
|
|
159
|
+
.dmypy.json
|
|
160
|
+
dmypy.json
|
|
161
|
+
|
|
162
|
+
# Pyre type checker
|
|
163
|
+
.pyre/
|
|
164
|
+
|
|
165
|
+
# pytype static type analyzer
|
|
166
|
+
.pytype/
|
|
167
|
+
|
|
168
|
+
# Cython debug symbols
|
|
169
|
+
cython_debug/
|
|
170
|
+
|
|
171
|
+
# PyCharm
|
|
172
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
173
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
174
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
175
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
176
|
+
#.idea/
|
|
177
|
+
|
|
178
|
+
# Abstra
|
|
179
|
+
# Abstra is an AI-powered process automation framework.
|
|
180
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
181
|
+
# Learn more at https://abstra.io/docs
|
|
182
|
+
.abstra/
|
|
183
|
+
|
|
184
|
+
# Visual Studio Code
|
|
185
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
186
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
188
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
189
|
+
# .vscode/
|
|
190
|
+
|
|
191
|
+
# Ruff stuff:
|
|
192
|
+
.ruff_cache/
|
|
193
|
+
|
|
194
|
+
# PyPI configuration file
|
|
195
|
+
.pypirc
|
|
196
|
+
|
|
197
|
+
# Cursor
|
|
198
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
199
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
200
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
201
|
+
.cursorignore
|
|
202
|
+
.cursorindexingignore
|
|
203
|
+
|
|
204
|
+
# Marimo
|
|
205
|
+
marimo/_static/
|
|
206
|
+
marimo/_lsp/
|
|
207
|
+
__marimo__/
|
orca_link-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 openverse-orca
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
orca_link-0.1.0/Makefile
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.PHONY: help clean build check release test-install test-release release-test release-prod bump-version
|
|
2
|
+
|
|
3
|
+
help:
|
|
4
|
+
@echo "OrcaLink Release Commands"
|
|
5
|
+
@echo "=========================="
|
|
6
|
+
@echo ""
|
|
7
|
+
@echo "Cleanup:"
|
|
8
|
+
@echo " make clean - Clean build artifacts"
|
|
9
|
+
@echo ""
|
|
10
|
+
@echo "Building:"
|
|
11
|
+
@echo " make build - Build distribution packages"
|
|
12
|
+
@echo " make check - Check package quality"
|
|
13
|
+
@echo ""
|
|
14
|
+
@echo "Version:"
|
|
15
|
+
@echo " make bump-version - Bump version (prompts for version)"
|
|
16
|
+
@echo ""
|
|
17
|
+
@echo "Testing:"
|
|
18
|
+
@echo " make test-install-local - Test install from local wheel"
|
|
19
|
+
@echo " make test-install-test - Test install from TestPyPI"
|
|
20
|
+
@echo " make test-install-prod - Test install from PyPI"
|
|
21
|
+
@echo ""
|
|
22
|
+
@echo "Release:"
|
|
23
|
+
@echo " make release-test - Release to TestPyPI"
|
|
24
|
+
@echo " make release-prod - Release to PyPI (production)"
|
|
25
|
+
@echo ""
|
|
26
|
+
|
|
27
|
+
clean:
|
|
28
|
+
./scripts/release/clean.sh
|
|
29
|
+
|
|
30
|
+
build: clean
|
|
31
|
+
./scripts/release/build.sh
|
|
32
|
+
|
|
33
|
+
check: build
|
|
34
|
+
./scripts/release/check.sh
|
|
35
|
+
|
|
36
|
+
bump-version:
|
|
37
|
+
@read -p "Enter new version (e.g., 0.1.0): " version; \
|
|
38
|
+
./scripts/release/bump_version.sh $$version
|
|
39
|
+
|
|
40
|
+
test-install-local: build
|
|
41
|
+
./scripts/release/test_install.sh local
|
|
42
|
+
|
|
43
|
+
test-install-test:
|
|
44
|
+
./scripts/release/test_install.sh test
|
|
45
|
+
|
|
46
|
+
test-install-prod:
|
|
47
|
+
./scripts/release/test_install.sh prod
|
|
48
|
+
|
|
49
|
+
release-test: check
|
|
50
|
+
./scripts/release/upload_test.sh
|
|
51
|
+
|
|
52
|
+
release-prod: check
|
|
53
|
+
./scripts/release/upload_prod.sh
|
|
54
|
+
|
|
55
|
+
# Full release workflow to TestPyPI
|
|
56
|
+
test-release: clean build check release-test
|
|
57
|
+
@echo "✅ TestPyPI release completed!"
|
|
58
|
+
|
|
59
|
+
# Full release workflow to PyPI
|
|
60
|
+
release: clean build check release-prod
|
|
61
|
+
@echo "✅ PyPI release completed!"
|
|
62
|
+
|
orca_link-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: orca-link
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: OrcaLink - A Python package for orchestrating distributed systems
|
|
5
|
+
Author-email: openverse-orca <contact@openverse-orca.org>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/openverse-orca/OrcaLink
|
|
8
|
+
Project-URL: Documentation, https://orcalink.readthedocs.io
|
|
9
|
+
Project-URL: Repository, https://github.com/openverse-orca/OrcaLink.git
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/openverse-orca/OrcaLink/issues
|
|
11
|
+
Keywords: orca,orchestration,distributed
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Operating System :: OS Independent
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
22
|
+
Classifier: Topic :: System :: Distributed Computing
|
|
23
|
+
Requires-Python: >=3.8
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
29
|
+
Requires-Dist: black>=23.0; extra == "dev"
|
|
30
|
+
Requires-Dist: flake8>=6.0; extra == "dev"
|
|
31
|
+
Requires-Dist: isort>=5.0; extra == "dev"
|
|
32
|
+
Requires-Dist: mypy>=1.0; extra == "dev"
|
|
33
|
+
Provides-Extra: docs
|
|
34
|
+
Requires-Dist: sphinx>=5.0; extra == "docs"
|
|
35
|
+
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "docs"
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
|
|
38
|
+
# OrcaLink
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# OrcaLink
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""
|
|
2
|
+
OrcaLink - Orchestration and Linking for Distributed Systems
|
|
3
|
+
|
|
4
|
+
A Python package for orchestrating and linking distributed systems.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "0.1.0"
|
|
8
|
+
__author__ = "openverse-orca"
|
|
9
|
+
__email__ = "contact@openverse-orca.org"
|
|
10
|
+
__license__ = "MIT"
|
|
11
|
+
|
|
12
|
+
from .cli import main # noqa: F401
|
|
13
|
+
|
|
14
|
+
__all__ = ["__version__", "main"]
|
|
15
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Command-line interface for OrcaLink
|
|
3
|
+
"""
|
|
4
|
+
import sys
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def main(argv: Optional[list] = None) -> int:
|
|
9
|
+
"""
|
|
10
|
+
Main entry point for OrcaLink CLI
|
|
11
|
+
|
|
12
|
+
Args:
|
|
13
|
+
argv: Command line arguments (defaults to sys.argv[1:])
|
|
14
|
+
|
|
15
|
+
Returns:
|
|
16
|
+
Exit code (0 for success)
|
|
17
|
+
"""
|
|
18
|
+
if argv is None:
|
|
19
|
+
argv = sys.argv[1:]
|
|
20
|
+
|
|
21
|
+
# Parse arguments
|
|
22
|
+
if not argv or argv[0] in ('hello', '--hello'):
|
|
23
|
+
print("Hello, World! 🦑 Welcome to OrcaLink!")
|
|
24
|
+
return 0
|
|
25
|
+
elif argv[0] in ('--version', '-v'):
|
|
26
|
+
from . import __version__
|
|
27
|
+
print(f"OrcaLink {__version__}")
|
|
28
|
+
return 0
|
|
29
|
+
elif argv[0] in ('--help', '-h'):
|
|
30
|
+
print_help()
|
|
31
|
+
return 0
|
|
32
|
+
else:
|
|
33
|
+
print(f"Unknown command: {argv[0]}")
|
|
34
|
+
print_help()
|
|
35
|
+
return 1
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def print_help() -> None:
|
|
39
|
+
"""Print help message"""
|
|
40
|
+
help_text = """
|
|
41
|
+
OrcaLink - Orchestration and Linking for Distributed Systems
|
|
42
|
+
|
|
43
|
+
Usage:
|
|
44
|
+
orca-link [COMMAND]
|
|
45
|
+
|
|
46
|
+
Commands:
|
|
47
|
+
hello, --hello Print hello world message
|
|
48
|
+
--version, -v Show version information
|
|
49
|
+
--help, -h Show this help message
|
|
50
|
+
|
|
51
|
+
Examples:
|
|
52
|
+
orca-link hello
|
|
53
|
+
orca-link --version
|
|
54
|
+
orca-link --help
|
|
55
|
+
"""
|
|
56
|
+
print(help_text)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
if __name__ == '__main__':
|
|
60
|
+
sys.exit(main())
|
|
61
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: orca-link
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: OrcaLink - A Python package for orchestrating distributed systems
|
|
5
|
+
Author-email: openverse-orca <contact@openverse-orca.org>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/openverse-orca/OrcaLink
|
|
8
|
+
Project-URL: Documentation, https://orcalink.readthedocs.io
|
|
9
|
+
Project-URL: Repository, https://github.com/openverse-orca/OrcaLink.git
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/openverse-orca/OrcaLink/issues
|
|
11
|
+
Keywords: orca,orchestration,distributed
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Operating System :: OS Independent
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
22
|
+
Classifier: Topic :: System :: Distributed Computing
|
|
23
|
+
Requires-Python: >=3.8
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
29
|
+
Requires-Dist: black>=23.0; extra == "dev"
|
|
30
|
+
Requires-Dist: flake8>=6.0; extra == "dev"
|
|
31
|
+
Requires-Dist: isort>=5.0; extra == "dev"
|
|
32
|
+
Requires-Dist: mypy>=1.0; extra == "dev"
|
|
33
|
+
Provides-Extra: docs
|
|
34
|
+
Requires-Dist: sphinx>=5.0; extra == "docs"
|
|
35
|
+
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "docs"
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
|
|
38
|
+
# OrcaLink
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
LICENSE
|
|
3
|
+
Makefile
|
|
4
|
+
README.md
|
|
5
|
+
pyproject.toml
|
|
6
|
+
.github/workflows/publish.yml
|
|
7
|
+
orca_link/__init__.py
|
|
8
|
+
orca_link/cli.py
|
|
9
|
+
orca_link/orca_link.py
|
|
10
|
+
orca_link/py.typed
|
|
11
|
+
orca_link.egg-info/PKG-INFO
|
|
12
|
+
orca_link.egg-info/SOURCES.txt
|
|
13
|
+
orca_link.egg-info/dependency_links.txt
|
|
14
|
+
orca_link.egg-info/entry_points.txt
|
|
15
|
+
orca_link.egg-info/requires.txt
|
|
16
|
+
orca_link.egg-info/top_level.txt
|
|
17
|
+
scripts/release/.pypirc.example
|
|
18
|
+
scripts/release/README.md
|
|
19
|
+
scripts/release/build.sh
|
|
20
|
+
scripts/release/bump_version.sh
|
|
21
|
+
scripts/release/check.sh
|
|
22
|
+
scripts/release/check_env.sh
|
|
23
|
+
scripts/release/clean.sh
|
|
24
|
+
scripts/release/release.sh
|
|
25
|
+
scripts/release/test_install.sh
|
|
26
|
+
scripts/release/upload_prod.sh
|
|
27
|
+
scripts/release/upload_test.sh
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
orca_link
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "orca-link"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "OrcaLink - A Python package for orchestrating distributed systems"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "openverse-orca", email = "contact@openverse-orca.org"}
|
|
14
|
+
]
|
|
15
|
+
keywords = ["orca", "orchestration", "distributed"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.8",
|
|
21
|
+
"Programming Language :: Python :: 3.9",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
"Topic :: Software Development :: Libraries",
|
|
27
|
+
"Topic :: System :: Distributed Computing",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
dependencies = []
|
|
31
|
+
|
|
32
|
+
[project.optional-dependencies]
|
|
33
|
+
dev = [
|
|
34
|
+
"pytest>=7.0",
|
|
35
|
+
"pytest-cov>=4.0",
|
|
36
|
+
"black>=23.0",
|
|
37
|
+
"flake8>=6.0",
|
|
38
|
+
"isort>=5.0",
|
|
39
|
+
"mypy>=1.0",
|
|
40
|
+
]
|
|
41
|
+
docs = [
|
|
42
|
+
"sphinx>=5.0",
|
|
43
|
+
"sphinx-rtd-theme>=1.0",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
[project.urls]
|
|
47
|
+
Homepage = "https://github.com/openverse-orca/OrcaLink"
|
|
48
|
+
Documentation = "https://orcalink.readthedocs.io"
|
|
49
|
+
Repository = "https://github.com/openverse-orca/OrcaLink.git"
|
|
50
|
+
"Bug Tracker" = "https://github.com/openverse-orca/OrcaLink/issues"
|
|
51
|
+
|
|
52
|
+
[tool.setuptools]
|
|
53
|
+
packages = ["orca_link"]
|
|
54
|
+
|
|
55
|
+
[tool.setuptools.package-data]
|
|
56
|
+
orca_link = ["py.typed"]
|
|
57
|
+
|
|
58
|
+
[project.scripts]
|
|
59
|
+
orca-link = "orca_link.cli:main"
|
|
60
|
+
|
|
61
|
+
# Tool configurations
|
|
62
|
+
|
|
63
|
+
[tool.black]
|
|
64
|
+
line-length = 100
|
|
65
|
+
target-version = ["py38", "py39", "py310", "py311", "py312"]
|
|
66
|
+
|
|
67
|
+
[tool.isort]
|
|
68
|
+
profile = "black"
|
|
69
|
+
line_length = 100
|
|
70
|
+
|
|
71
|
+
[tool.mypy]
|
|
72
|
+
python_version = "3.8"
|
|
73
|
+
warn_return_any = true
|
|
74
|
+
warn_unused_configs = true
|
|
75
|
+
disallow_untyped_defs = false
|
|
76
|
+
|
|
77
|
+
[tool.pytest.ini_options]
|
|
78
|
+
testpaths = ["tests"]
|
|
79
|
+
addopts = "--cov=orca_link --cov-report=html --cov-report=term-missing"
|
|
80
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
[distutils]
|
|
2
|
+
index-servers =
|
|
3
|
+
pypi
|
|
4
|
+
testpypi
|
|
5
|
+
|
|
6
|
+
[pypi]
|
|
7
|
+
username = __token__
|
|
8
|
+
password = pypi-AgEIcHlwaS5vcmcC...你的正式PyPI token...
|
|
9
|
+
|
|
10
|
+
[testpypi]
|
|
11
|
+
repository = https://test.pypi.org/legacy/
|
|
12
|
+
username = __token__
|
|
13
|
+
password = pypi-AgENdGVzdC5weXBpLm9y...你的TestPyPI token...
|
|
14
|
+
|