Skip to main content

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


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)

Uploaded Source

Built Distribution

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

baai_datacube-0.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

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

Hashes for baai_datacube-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f9ba24a0ab490fccdc50f771dec42de84a5bf339cc95d014cb4831909714fc57
MD5 df7d10849c5e917e9ddd2d5b64200787
BLAKE2b-256 a36483792f9ceee737f194e74cfa75dc0baf1cecc4d56ad76de437a42462c49c

See more details on using hashes here.

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

Hashes for baai_datacube-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a9dd32ca4a7e89ce9a0c23d6cbee0a47b30c5edd644112c72d7e6c54956c327
MD5 6b0fa565608ceb697587101269e2d0e3
BLAKE2b-256 3252dc1f16b15995e71254105c8b6dfd7f8361208bf228632408ad7cfb4f983e

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