misc/py-modelscope-hub 0.4.6 FreeBSD
Python client to connect with ModelScope Hub
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
5bdf4f6efe- License
- APACHE20
- Categories
- misc, python
- Package size
- 376.7 KiB, 2260.2 KiB installed
Description
modelscope-hub connects your code to the ModelScope ecosystem - models, datasets, Studio spaces, skills, and MCP servers - through a single HubApi class or the ms CLI.
Features: * Unified repo interface — one set of methods for models, datasets, studios, skills, and MCP servers * OpenAPI-first - built on the ModelScope OpenAPI surface with transparent legacy fallback * Production-grade downloads - HTTP Range resume, parallel range download for large files, per-file retry with backoff, SHA256 integrity checks, file lock for multiprocess safety, offline mode, progress callbacks, and intra-cloud acceleration * Full lifecycle CLI - download, upload, deploy, manage secrets, inspect cache - all from the terminal * Deep ecosystem integration - seamless access to 100K+ models and datasets on ModelScope Hub; works with the modelscope training framework, Studio deployment platform, and MCP server infrastructure
Install
Binary package:
pkg install py312-modelscope-hub
From the ports tree:
cd /usr/ports/misc/py-modelscope-hub/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-modelscope-hub>0:misc/py-modelscope-hub
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.4.2 | 0.4.6 | - | - | 0.4.6 |
| FreeBSD:14:quarterly | 0.4.2 | 0.4.2 | n/a | - | 0.4.2 |
| FreeBSD:15:latest | 0.4.6 | 0.4.6 | n/a | - | - |
| FreeBSD:15:quarterly | 0.4.2 | 0.4.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.4.2 | 0.4.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 5
${PYTHON_PKGNAMEPREFIX}cryptography>=41: security/py-cryptography${PYTHON_PKGNAMEPREFIX}filelock>=3.9: sysutils/py-filelock${PYTHON_PKGNAMEPREFIX}requests>=2.28: www/py-requests${PYTHON_PKGNAMEPREFIX}tqdm>=4.64.0: misc/py-tqdm${PYTHON_PKGNAMEPREFIX}urllib3>=1.26: net/py-urllib3
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 18
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| modelscope_hub-0.4.6.tar.gz | 298574 | c54de09be2ccb27b9214f7c3ebe5751121f335f5016643f789589d0547e78c52 |
Master sites 1
- PYPI