No project description provided
Project description
start_time = time.time()
with tqdm(desc="处理进度", unit='B', unit_scale=True) as pbar:
with open("../../1949989787863748608_meta.bin", "rb") as fr:
while True:
time.sleep(0.03)
line = fr.readline()
if not line:
break
pbar.total = Progress().download_count
pbar.update(1)
elapsed = time.time() - start_time
pbar.set_postfix({
"已完成": f"{pbar.n}/{pbar.total}",
"耗时": f"{elapsed:.1f}s"
})
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
baai_datacube-0.2.0.tar.gz
(6.4 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 baai_datacube-0.2.0.tar.gz.
File metadata
- Download URL: baai_datacube-0.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.9 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9ba24a0ab490fccdc50f771dec42de84a5bf339cc95d014cb4831909714fc57
|
|
| MD5 |
df7d10849c5e917e9ddd2d5b64200787
|
|
| BLAKE2b-256 |
a36483792f9ceee737f194e74cfa75dc0baf1cecc4d56ad76de437a42462c49c
|
File details
Details for the file baai_datacube-0.2.0-py3-none-any.whl.
File metadata
- Download URL: baai_datacube-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.9 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a9dd32ca4a7e89ce9a0c23d6cbee0a47b30c5edd644112c72d7e6c54956c327
|
|
| MD5 |
6b0fa565608ceb697587101269e2d0e3
|
|
| BLAKE2b-256 |
3252dc1f16b15995e71254105c8b6dfd7f8361208bf228632408ad7cfb4f983e
|