No project description provided
Project description
开发与发布
启动 venv 环境
python3 -m venv venv
source ./venv/bin/activate
pip install maturin
开发
编译
# 开发
maturin develop
测试
# 测试
python
>>> import ba_rocket
>>> ba_rocket.download_files([("https://tosv.byted.org/obj/labcv.ftp/tests/output1.mp4", "./test.jpg")], 1024 * 1024, 10)
Successfully downloaded https://tosv.byted.org/obj/labcv.ftp/tests/output1.mp4 in 5.63s
发布
构建 for mac
# 编译
maturin build --release
构建 for linux
构建 Docker 镜像
cd dockerfiles
docker build -t manylinux_maturin .
docker run --rm -v $(pwd):/io manylinux_maturin build --release
publish
# 发布
pip install --index-url https://test.pypi.org/simple/
maturin publish
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
byted_barocket-0.1.3.tar.gz
(16.2 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
File details
Details for the file byted_barocket-0.1.3.tar.gz.
File metadata
- Download URL: byted_barocket-0.1.3.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b0b35f19eb7f959a0cf98661e357188329e60e60aa1ffe1aa6291f6a41aa946
|
|
| MD5 |
dfb085413d5c74dd874ea2517f7ef03d
|
|
| BLAKE2b-256 |
6639b9fe0c82666618f191276e50c88755c51657167375b083f15f73c2644628
|
File details
Details for the file byted_barocket-0.1.3-cp310-cp310-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: byted_barocket-0.1.3-cp310-cp310-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
968ee09c8a077807ee1791874b58ca92a52711b75244031728bc07f677e0c2be
|
|
| MD5 |
84d4e80679526bd14a734839489eb94a
|
|
| BLAKE2b-256 |
56782285653463de07b2c8a9dff4cc94216b8456d6e5b81e782695cfac2e7b95
|