Skip to main content

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


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.2.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

byted_barocket-0.1.2-cp39-cp39-macosx_10_12_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 10.12+ x86-64

File details

Details for the file byted_barocket-0.1.2.tar.gz.

File metadata

  • Download URL: byted_barocket-0.1.2.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.6.0

File hashes

Hashes for byted_barocket-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3d9be1404d627cc210d9e6798d1ec997e9cfc112e4b120ce89a9c4e3e0282301
MD5 84bba55dd47411042a97dcf7cd2deb77
BLAKE2b-256 e8204063cfa840b7efd0a8ff52000979c7280e69888ec62052dba75e6ee3a4f3

See more details on using hashes here.

File details

Details for the file byted_barocket-0.1.2-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for byted_barocket-0.1.2-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d46951e1b7469c84c6546900993b2fcd95cfc459c6eb415c9d5cb4906ca4236
MD5 b56e9a2fe3921ea8e46ec63977dbf1a9
BLAKE2b-256 10cb8d5af1127c42ab1937fd88e95a38e48660b37f1c723eea5099c1afce3f65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page