refactor: simplify CLI dependencies and update package metadata
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Security Scanning / security-scan (push) Successful in 36s

- Reduced requires.txt from 58 dependencies to 5 core packages (click, pydantic, pyyaml, requests, rich)
- Removed heavy dependencies: fastapi, uvicorn, sqlalchemy, web3, pandas, numpy, opencv, redis, tenseal
- Updated PKG-INFO with expanded technical documentation including navigation, quick start, and quality metrics
- Added aitbc_cli package modules to SOURCES.txt (config, auth, commands, utils subdirs)
- Reorganized top_level.txt to include aitbc
This commit is contained in:
aitbc
2026-05-19 17:48:28 +02:00
parent 93a823c655
commit 57cfa2e65a
5 changed files with 158 additions and 165 deletions

View File

@@ -19,61 +19,11 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Distributed Computing Classifier: Topic :: System :: Distributed Computing
Requires-Python: >=3.13 Requires-Python: >=3.13
Description-Content-Type: text/markdown Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.115.0 Requires-Dist: click>=8.0
Requires-Dist: uvicorn[standard]>=0.32.0 Requires-Dist: pydantic>=2.0
Requires-Dist: gunicorn>=22.0.0
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: sqlalchemy[asyncio]>=2.0.47
Requires-Dist: sqlmodel>=0.0.37
Requires-Dist: alembic>=1.18.0
Requires-Dist: aiosqlite>=0.20.0
Requires-Dist: asyncpg>=0.29.0
Requires-Dist: pydantic>=2.12.0
Requires-Dist: pydantic-settings>=2.13.0
Requires-Dist: python-dotenv>=1.2.0
Requires-Dist: slowapi>=0.1.9
Requires-Dist: limits>=5.8.0
Requires-Dist: prometheus-client>=0.24.0
Requires-Dist: httpx>=0.28.0
Requires-Dist: requests>=2.32.0
Requires-Dist: aiohttp>=3.9.0
Requires-Dist: cryptography>=46.0.0
Requires-Dist: pynacl>=1.5.0
Requires-Dist: ecdsa>=0.19.0
Requires-Dist: base58>=2.1.1
Requires-Dist: web3>=6.11.0
Requires-Dist: eth-account>=0.13.0
Requires-Dist: pandas>=2.2.0
Requires-Dist: numpy>=1.26.0
Requires-Dist: pytest>=8.0.0
Requires-Dist: pytest-asyncio>=0.24.0
Requires-Dist: black>=24.0.0
Requires-Dist: flake8>=7.0.0
Requires-Dist: click>=8.1.0
Requires-Dist: rich>=13.0.0
Requires-Dist: typer>=0.12.0
Requires-Dist: click-completion>=0.5.2
Requires-Dist: tabulate>=0.9.0
Requires-Dist: colorama>=0.4.4
Requires-Dist: keyring>=23.0.0
Requires-Dist: orjson>=3.10.0
Requires-Dist: msgpack>=1.1.0
Requires-Dist: python-multipart>=0.0.6
Requires-Dist: structlog>=24.1.0
Requires-Dist: sentry-sdk>=2.0.0
Requires-Dist: python-dateutil>=2.9.0
Requires-Dist: pytz>=2024.1
Requires-Dist: schedule>=1.2.0
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: pyyaml>=6.0 Requires-Dist: pyyaml>=6.0
Requires-Dist: asyncio-mqtt>=0.16.0 Requires-Dist: requests>=2.28
Requires-Dist: websockets>=13.0.0 Requires-Dist: rich>=13.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: opencv-python>=4.9.0
Requires-Dist: redis>=5.0.0
Requires-Dist: psutil>=5.9.0
Requires-Dist: tenseal
Requires-Dist: web3>=6.11.0
Provides-Extra: dev Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev" Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev" Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
@@ -94,18 +44,76 @@ Dynamic: requires-dist
Dynamic: requires-python Dynamic: requires-python
Dynamic: summary Dynamic: summary
# AITBC CLI # AITBC CLI Technical Documentation
Command Line Interface for AITBC Network **Level**: Intermediate<br>
**Prerequisites**: Basic CLI familiarity, shell usage, and AITBC project context<br>
**Estimated Time**: 10-15 minutes<br>
**Last Updated**: 2026-04-27<br>
**Version**: 1.0
## Installation ## 🧭 **Navigation Path:**
**🏠 [Documentation Home](../README.md)** → **👛 CLI Technical** → *You are here*
**breadcrumb**: Home → CLI Technical → Overview
---
## 🎯 **See Also:**
- **📚 Docs Home**: [Documentation Home](../README.md) - Main docs landing page
- **📖 About Docs**: [About Documentation](../about/README.md) - Template standard and audit checklist
- **🎯 Beginner CLI**: [Beginner Documentation](../beginner/README.md) - CLI basics and user workflows
- **🧪 Testing Docs**: [Testing Documentation](../testing/README.md) - Validation and regression testing
- **📋 Project Docs**: [Project Documentation](../project/README.md) - Project context
---
## 📚 **What lives here**
This directory provides the technical CLI entry point mirrored by the top-level docs symlink.
It contains installation and usage notes for the AITBC CLI and related technical references.
---
## 🚀 **Quick Start**
### Installation
```bash ```bash
pip install -e . pip install -e .
``` ```
## Usage ### Usage
```bash ```bash
aitbc --help aitbc --help
``` ```
---
## 🔗 **Related Resources**
### 📚 **Further Reading:**
- [Documentation Home](../README.md) - Main docs landing page
- [About Documentation](../about/README.md) - Template standard and audit checklist
- [Beginner Documentation](../beginner/README.md) - CLI basics and user workflows
- [Testing Documentation](../testing/README.md) - Validation and regression testing
### 🆘 **Help & Support:**
- **Documentation Issues**: [Report Issues](https://github.com/oib/AITBC/issues)
- **Community Forum**: [AITBC Forum](https://forum.aitbc.net)
- **Technical Support**: [AITBC Support](https://support.aitbc.net)
---
## 📊 **Quality Metrics**
- **Structure**: 10/10 - Template-compliant landing page with clear navigation.
- **Content**: 10/10 - Short and focused CLI technical entry point.
- **Navigation**: 10/10 - Links to the docs home, beginner CLI, and testing docs.
- **Status**: Active index page.
---
*Last updated: 2026-04-27*<br>
*Version: 1.0*<br>
*Status: Active index for CLI technical documentation*

View File

@@ -1,5 +1,7 @@
README.md README.md
setup.py setup.py
aitbc_cli/__init__.py
aitbc_cli/config.py
aitbc_cli.egg-info/PKG-INFO aitbc_cli.egg-info/PKG-INFO
aitbc_cli.egg-info/SOURCES.txt aitbc_cli.egg-info/SOURCES.txt
aitbc_cli.egg-info/dependency_links.txt aitbc_cli.egg-info/dependency_links.txt
@@ -7,60 +9,41 @@ aitbc_cli.egg-info/entry_points.txt
aitbc_cli.egg-info/not-zip-safe aitbc_cli.egg-info/not-zip-safe
aitbc_cli.egg-info/requires.txt aitbc_cli.egg-info/requires.txt
aitbc_cli.egg-info/top_level.txt aitbc_cli.egg-info/top_level.txt
aitbc_cli/auth/__init__.py
aitbc_cli/commands/__init__.py
aitbc_cli/commands/agent_comm.py
aitbc_cli/commands/agent_sdk.py
aitbc_cli/commands/analytics.py
aitbc_cli/commands/chain.py
aitbc_cli/commands/config.py
aitbc_cli/commands/cross_chain.py
aitbc_cli/commands/deployment.py
aitbc_cli/commands/edge.py
aitbc_cli/commands/exchange.py
aitbc_cli/commands/exchange_island.py
aitbc_cli/commands/genesis.py
aitbc_cli/commands/gpu_marketplace.py
aitbc_cli/commands/hermes.py
aitbc_cli/commands/marketplace_cmd.py
aitbc_cli/commands/mining.py
aitbc_cli/commands/monitor.py
aitbc_cli/commands/node.py
aitbc_cli/commands/operations.py
aitbc_cli/commands/resource.py
aitbc_cli/commands/simulate.py
aitbc_cli/commands/system.py
aitbc_cli/commands/system_architect.py
aitbc_cli/commands/transactions.py
aitbc_cli/commands/wallet.py
aitbc_cli/commands/workflow.py
aitbc_cli/utils/__init__.py
aitbc_cli/utils/blockchain.py
aitbc_cli/utils/chain_id.py
aitbc_cli/utils/island_credentials.py
aitbc_cli/utils/wallet.py
auth/__init__.py auth/__init__.py
commands/__init__.py
commands/admin.py
commands/advanced_analytics.py
commands/agent.py
commands/agent_comm.py
commands/ai.py
commands/ai_surveillance.py
commands/ai_trading.py
commands/analytics.py
commands/auth.py
commands/blockchain.py
commands/chain.py
commands/client.py
commands/compliance.py
commands/config.py
commands/cross_chain.py
commands/dao.py
commands/deployment.py
commands/enterprise_integration.py
commands/exchange.py
commands/explorer.py
commands/genesis.py
commands/genesis_protection.py
commands/global_ai_agents.py
commands/global_infrastructure.py
commands/governance.py
commands/keystore.py
commands/market_maker.py
commands/marketplace.py
commands/marketplace_advanced.py
commands/marketplace_cmd.py
commands/miner.py
commands/monitor.py
commands/multi_region_load_balancer.py
commands/multimodal.py
commands/multisig.py
commands/node.py
commands/openclaw.py
commands/optimize.py
commands/oracle.py
commands/plugin_analytics.py
commands/plugin_marketplace.py
commands/plugin_registry.py
commands/plugin_security.py
commands/production_deploy.py
commands/regulatory.py
commands/simulate.py
commands/surveillance.py
commands/swarm.py
commands/sync.py
commands/transfer_control.py
commands/wallet.py
config/__init__.py config/__init__.py
config/chains.py
config/genesis_ait_devnet_proper.yaml config/genesis_ait_devnet_proper.yaml
config/genesis_multi_chain_dev.yaml config/genesis_multi_chain_dev.yaml
config/healthcare_chain_config.yaml config/healthcare_chain_config.yaml
@@ -74,16 +57,60 @@ core/config.py
core/genesis_generator.py core/genesis_generator.py
core/imports.py core/imports.py
core/main.py core/main.py
core/main_fixed.py
core/marketplace.py core/marketplace.py
core/node_client.py core/node_client.py
core/plugins.py core/plugins.py
handlers/__init__.py
handlers/account.py
handlers/ai.py
handlers/analytics.py
handlers/blockchain.py
handlers/bridge.py
handlers/contract.py
handlers/market.py
handlers/messaging.py
handlers/network.py
handlers/performance.py
handlers/pool_hub.py
handlers/resource.py
handlers/system.py
handlers/wallet.py
handlers/workflow.py
models/__init__.py models/__init__.py
models/chain.py models/chain.py
parsers/__init__.py
parsers/agent.py
parsers/ai.py
parsers/analytics.py
parsers/blockchain.py
parsers/bridge.py
parsers/contract.py
parsers/genesis.py
parsers/hermes.py
parsers/market.py
parsers/messaging.py
parsers/network.py
parsers/performance.py
parsers/pool_hub.py
parsers/resource.py
parsers/script.py
parsers/system.py
parsers/wallet.py
parsers/workflow.py
security/__init__.py security/__init__.py
security/translation_policy.py security/translation_policy.py
tests/__init__.py
tests/run_cli_tests.py
tests/test_cli_basic.py
tests/test_cli_comprehensive.py
tests/test_exchange_island.py
tests/test_gpu_marketplace.py
tests/test_island_credentials.py
utils/__init__.py utils/__init__.py
utils/crypto_utils.py utils/crypto_utils.py
utils/dual_mode_wallet_adapter.py utils/dual_mode_wallet_adapter.py
utils/error_handling.py
utils/kyc_aml_providers.py utils/kyc_aml_providers.py
utils/secure_audit.py utils/secure_audit.py
utils/security.py utils/security.py

View File

@@ -1,58 +1,8 @@
fastapi>=0.115.0 click>=8.0
uvicorn[standard]>=0.32.0 pydantic>=2.0
gunicorn>=22.0.0
sqlalchemy>=2.0.0
sqlalchemy[asyncio]>=2.0.47
sqlmodel>=0.0.37
alembic>=1.18.0
aiosqlite>=0.20.0
asyncpg>=0.29.0
pydantic>=2.12.0
pydantic-settings>=2.13.0
python-dotenv>=1.2.0
slowapi>=0.1.9
limits>=5.8.0
prometheus-client>=0.24.0
httpx>=0.28.0
requests>=2.32.0
aiohttp>=3.9.0
cryptography>=46.0.0
pynacl>=1.5.0
ecdsa>=0.19.0
base58>=2.1.1
web3>=6.11.0
eth-account>=0.13.0
pandas>=2.2.0
numpy>=1.26.0
pytest>=8.0.0
pytest-asyncio>=0.24.0
black>=24.0.0
flake8>=7.0.0
click>=8.1.0
rich>=13.0.0
typer>=0.12.0
click-completion>=0.5.2
tabulate>=0.9.0
colorama>=0.4.4
keyring>=23.0.0
orjson>=3.10.0
msgpack>=1.1.0
python-multipart>=0.0.6
structlog>=24.1.0
sentry-sdk>=2.0.0
python-dateutil>=2.9.0
pytz>=2024.1
schedule>=1.2.0
aiofiles>=24.1.0
pyyaml>=6.0 pyyaml>=6.0
asyncio-mqtt>=0.16.0 requests>=2.28
websockets>=13.0.0 rich>=13.0
pillow>=10.0.0
opencv-python>=4.9.0
redis>=5.0.0
psutil>=5.9.0
tenseal
web3>=6.11.0
[dev] [dev]
pytest>=7.0.0 pytest>=7.0.0

View File

@@ -1,7 +1,10 @@
aitbc_cli
auth auth
commands
config config
core core
handlers
models models
parsers
security security
tests
utils utils

5
cli/requirements.txt Normal file
View File

@@ -0,0 +1,5 @@
click>=8.0
pydantic>=2.0
pyyaml>=6.0
requests>=2.28
rich>=13.0