ABLE Labs API
Project description
ABLE Labs API
ABLE Labs 로봇 제어 API 패키지입니다.
설치
pip install ablelabs
사용법
from ablelabs.neon_v2.notable import Notable
# 로봇 API 초기화 및 사용
base_url = "http://localhost:7777"
notable = Notable(base_url)
요구사항
- Python 3.10 이상
개발자 가이드
배포
PyPI에 패키지를 배포하려면 deploy.py 스크립트를 사용합니다.
사전 준비
-
가상환경 활성화
source .venv/bin/activate # macOS/Linux # 또는 .venv\Scripts\activate # Windows
-
PyPI 토큰 설정
# tokens.py 파일에 토큰 설정 PYPI_TOKEN = "your-actual-pypi-token"
참고:
deploy.py스크립트가 필요한 도구들(twine,wheel)을 자동으로 설치합니다.
배포 실행
-
버전 업데이트
# setup.py 파일에서 version 번호를 올려주세요 # 예: "0.4.0" → "0.4.1"
버전 규칙:
MAJOR.MINOR.PATCH형식 사용MAJOR: 호환되지 않는 API 변경MINOR: 새로운 기능 추가 (하위 호환)PATCH: 버그 수정 (하위 호환)
-
배포 스크립트 실행
python deploy.py
스크립트는 다음 단계를 자동으로 수행합니다:
- 환경 확인 (가상환경, Python 버전, 필요한 도구)
- 이전 빌드 파일 정리
- 패키지 빌드 (
setup.py sdist bdist_wheel) - 패키지 검사 (
twine check) - PyPI 업로드 (
twine upload --skip-existing) - 빌드 파일 자동 정리
수동 배포
자동화 스크립트 대신 수동으로 배포할 수도 있습니다:
# 빌드
python setup.py sdist bdist_wheel
# 검사
python -m twine check dist/*
# 업로드
python -m twine upload --skip-existing dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ablelabs-0.4.6.tar.gz
(65.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ablelabs-0.4.6-py3-none-any.whl
(109.5 kB
view details)
File details
Details for the file ablelabs-0.4.6.tar.gz.
File metadata
- Download URL: ablelabs-0.4.6.tar.gz
- Upload date:
- Size: 65.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e76ec8defd6a6b305d4c9b27361b6e727f8981e24236dbfefa2258f97720cd9d
|
|
| MD5 |
f20d1ab07270d34a8834fde89b4db085
|
|
| BLAKE2b-256 |
d0a5d27d16f6ef95e0dc5c6685b40b6575c53984a966212f00b21eca552be91d
|
File details
Details for the file ablelabs-0.4.6-py3-none-any.whl.
File metadata
- Download URL: ablelabs-0.4.6-py3-none-any.whl
- Upload date:
- Size: 109.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e7fe5af0dbb6f3e7c9ed82451e462145187a3856c206fd0c85277e9b17c87b8
|
|
| MD5 |
c3fdb0ce77473dea21e2d0db788b759a
|
|
| BLAKE2b-256 |
a4f4a64e5dbf361ee15c7497c10053a3f6679db03b57284f9b5e2e2d961e2fee
|