Skip to main content

A small example package

Project description

python setup.py sdist upload

python setup.py sdist bdist_wheel

C:\Users\zx\AppData\Roaming\Python\Python38\Scripts\twine.exe

C:\Users\zx\AppData\Roaming\Python\Python38\Scripts\twine.exe upload --repository-url https://upload.pypi.org/legacy/ dist/*

['Has0_acc_2', 'Has0_F1_score', 'Non0_acc_2', 'Non0_F1_score', 'Mult_acc_5', 'Mult_acc_7', 'MAE', 'Corr', 'LOSS']

ted. Migrate to API Tokens or Trusted Publishers instead. See https://pypi.org/help/#apitoken and https://pypi.org/help/#trusted-publishers

pypi-AgEIcHlwaS5vcmcCJDM4ZWVlYWZjLWUyNTItNDFiOS04ZThhLWY3ZTgxMjY1MGE5OAACKlszLCJiYWQyNDk0NS01YzkzLTQyMGQtYWJjNS1mZTUyYTc1ZDNjODIiXQAABiB0Pi624udpN2f7xbfGJKXKpWvtQ-pJRSs4M-YeayUJAQ

pip install opencv-python

python setup.py sdist bdist_wheel

import tarfile

def extract_tar_gz(file_path, extract_path): with tarfile.open(file_path, 'r:gz') as tar: tar.extractall(extract_path)

调用示例

file_path = '/path/to/file.tar.gz' extract_path = '/path/to/extract' extract_tar_gz(file_path, extract_path)

torchvision torchaudio pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

pip3 install torch --index-url https://download.pytorch.org/whl/cu118

https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64/

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

whujaketest-1.0.4.tar.gz (17.7 MB view details)

Uploaded Source

Built Distribution

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

whujaketest-1.0.4-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file whujaketest-1.0.4.tar.gz.

File metadata

  • Download URL: whujaketest-1.0.4.tar.gz
  • Upload date:
  • Size: 17.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.3

File hashes

Hashes for whujaketest-1.0.4.tar.gz
Algorithm Hash digest
SHA256 491aa1538a9b0b75bf508d4f0fc85d9c65d986c9abdb5b6e06133368fb852ce0
MD5 be9db3c95db48f021ca2fdb7af635fbd
BLAKE2b-256 835e3e45688aecd1d3ab9afaa57fc520f5841fef03715efe176d1b0596ed96f2

See more details on using hashes here.

File details

Details for the file whujaketest-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: whujaketest-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.3

File hashes

Hashes for whujaketest-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 890c62e5d5186b4fd9c214195a6e73df8ba359e909fa9ddedc52d2c07e4219d8
MD5 aeda691d2a654c816a1e20c76d84f4ab
BLAKE2b-256 b57b985bc1774e5683093f0fb096390018b168be4600dd0ce14f5c9f29f7276b

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