Skip to content

Commit ba6d319

Browse files
committed
Initial commit
0 parents  commit ba6d319

File tree

10 files changed

+1042
-0
lines changed

10 files changed

+1042
-0
lines changed

.github/workflows/test.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
concurrency:
10+
group: test-${{ github.head_ref }}
11+
cancel-in-progress: true
12+
13+
env:
14+
PYTHONUNBUFFERED: "1"
15+
FORCE_COLOR: "1"
16+
17+
jobs:
18+
run:
19+
name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os: [ubuntu-latest, windows-latest, macos-latest]
25+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
26+
27+
steps:
28+
- uses: actions/checkout@v3
29+
30+
- name: Set up Python ${{ matrix.python-version }}
31+
uses: actions/setup-python@v4
32+
with:
33+
python-version: ${{ matrix.python-version }}
34+
35+
- name: Install Hatch
36+
run: pip install --upgrade hatch
37+
38+
- name: Run static analysis
39+
run: hatch fmt --check
40+
41+
- name: Run tests
42+
run: hatch test --python ${{ matrix.python-version }} --cover --randomize --parallel --retries 2 --retry-delay 1

.gitignore

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
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+
# 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+
110+
# pdm
111+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112+
#pdm.lock
113+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114+
# in version control.
115+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116+
.pdm.toml
117+
.pdm-python
118+
.pdm-build/
119+
120+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121+
__pypackages__/
122+
123+
# Celery stuff
124+
celerybeat-schedule
125+
celerybeat.pid
126+
127+
# SageMath parsed files
128+
*.sage.py
129+
130+
# Environments
131+
.env
132+
.venv
133+
env/
134+
venv/
135+
ENV/
136+
env.bak/
137+
venv.bak/
138+
139+
# Spyder project settings
140+
.spyderproject
141+
.spyproject
142+
143+
# Rope project settings
144+
.ropeproject
145+
146+
# mkdocs documentation
147+
/site
148+
149+
# mypy
150+
.mypy_cache/
151+
.dmypy.json
152+
dmypy.json
153+
154+
# Pyre type checker
155+
.pyre/
156+
157+
# pytype static type analyzer
158+
.pytype/
159+
160+
# Cython debug symbols
161+
cython_debug/
162+
163+
# PyCharm
164+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166+
# and can be added to the global gitignore or merged into this file. For a more nuclear
167+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
168+
#.idea/
169+
170+
# Ruff stuff:
171+
.ruff_cache/
172+
173+
# PyPI configuration file
174+
.pypirc

Deployfile.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[target]
2+
python_version = "3.13"
3+
glibc_version = "2.40"
4+
arch = "x64"
5+
host = "10.0.0.2"
6+
port = 22

LICENSE.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# kevinbotlib-deploytool-example
2+
3+
[![PyPI - Version](https://img.shields.io/pypi/v/kevinbotlib-deploytool-example.svg)](https://pypi.org/project/kevinbotlib-deploytool-example)
4+
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/kevinbotlib-deploytool-example.svg)](https://pypi.org/project/kevinbotlib-deploytool-example)
5+
6+
-----
7+
8+
## Table of Contents
9+
10+
- [Installation](#installation)
11+
- [License](#license)
12+
13+
## Installation
14+
15+
```console
16+
pip install kevinbotlib-deploytool-example
17+
```
18+
19+
## License
20+
21+
`kevinbotlib-deploytool-example` is distributed under the terms of the [LGPL](https://spdx.org/licenses/LGPL.html) license.

pyproject.toml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "kevinbotlib-deploytool-example"
7+
dynamic = ["version"]
8+
description = 'Example Robot to Deploy with KevinbotLib DeployTool'
9+
readme = "README.md"
10+
requires-python = ">=3.10"
11+
license = "LGPL-3.0-or-later"
12+
keywords = []
13+
authors = [
14+
{ name = "meowmeowahr", email = "meowmeowahr@gmail.com" },
15+
]
16+
classifiers = [
17+
"Development Status :: 4 - Beta",
18+
"Programming Language :: Python",
19+
"Programming Language :: Python :: 3.8",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
26+
]
27+
dependencies = [
28+
"kevinbotlib>=1.0.0a5",
29+
]
30+
31+
[project.urls]
32+
Documentation = "https://github.com/meowmeowahr/kevinbotlib-deploytool-example#readme"
33+
Issues = "https://github.com/meowmeowahr/kevinbotlib-deploytool-example/issues"
34+
Source = "https://github.com/meowmeowahr/kevinbotlib-deploytool-example"
35+
36+
[tool.hatch.version]
37+
path = "src/kevinbotlib_deploytool_example/__about__.py"
38+
39+
[tool.hatch.envs.types]
40+
extra-dependencies = [
41+
"mypy>=1.0.0",
42+
]
43+
[tool.hatch.envs.types.scripts]
44+
check = "mypy --install-types --non-interactive {args:src/kevinbotlib_deploytool_example tests}"
45+
46+
[tool.coverage.run]
47+
source_pkgs = ["kevinbotlib_deploytool_example", "tests"]
48+
branch = true
49+
parallel = true
50+
omit = [
51+
"src/kevinbotlib_deploytool_example/__about__.py",
52+
]
53+
54+
[tool.coverage.paths]
55+
kevinbotlib_deploytool_example = ["src/kevinbotlib_deploytool_example", "*/kevinbotlib-deploytool-example/src/kevinbotlib_deploytool_example"]
56+
tests = ["tests", "*/kevinbotlib-deploytool-example/tests"]
57+
58+
[tool.coverage.report]
59+
exclude_lines = [
60+
"no cov",
61+
"if __name__ == .__main__.:",
62+
"if TYPE_CHECKING:",
63+
]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-FileCopyrightText: 2025-present meowmeowahr <meowmeowahr@gmail.com>
2+
#
3+
# SPDX-License-Identifier: LGPL-3.0-or-later
4+
__version__ = "0.0.1"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025-present meowmeowahr <meowmeowahr@gmail.com>
2+
#
3+
# SPDX-License-Identifier: LGPL-3.0-or-later

tests/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2025-present meowmeowahr <meowmeowahr@gmail.com>
2+
#
3+
# SPDX-License-Identifier: LGPL-3.0-or-later

0 commit comments

Comments
 (0)