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
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
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 whujaketest-1.0.3.tar.gz.
File metadata
- Download URL: whujaketest-1.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2271ad62393e9de03e8ba4141a49ef582379620b62de8b57e6553952d8187a76
|
|
| MD5 |
6afb6adcf53be15d7a00337412ad48d0
|
|
| BLAKE2b-256 |
33010532841e747068783ac4fe2f96c3cd26c2468a4227d724ef3e409e7fbcbd
|
File details
Details for the file whujaketest-1.0.3-py3-none-any.whl.
File metadata
- Download URL: whujaketest-1.0.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0031ea3ef786e6802e962abe53294b821d3777ea0bf7ff36aad706f007daf455
|
|
| MD5 |
a9cd7e2d8e4f0b928e259600d1d36577
|
|
| BLAKE2b-256 |
001a62646f9deea8ca7887b42642b98feaafbfd838a0a99b99907deb1ce88d7f
|