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

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)

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.2.tar.gz (3.1 kB 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.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whujaketest-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fd76a3edb31ddff381d5d68f4c2b6f5de75e0b3f1273ca6e3492406d4bf4bcf3
MD5 7def8e9f3334abc9f69424345bfe3c53
BLAKE2b-256 e8f04d24d5ac8ddefdc0980ae6d797bade39990a28a1d553dc37f821eb8c2f14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whujaketest-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a57ab64f669c5d633e78718deda594d62d4d1e169c5d5174d2f92f758bb23615
MD5 912c18274f93ea75beaf101e891e2aca
BLAKE2b-256 278c4d4de8d8fbac0d2b29edc6fc4e80cd157796c233ce5c569c2522d2e5e6e0

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