Skip to main content

A simple example library

Project description

pySciTools

A collection of useful tools for scientific computing.

Installation

You can install the library via pip:

pip install pySciTools

Usage

from pySciTools import func1, func2

data = [1, 2, 3]
result = func1(data)
print(result)

sum_result = func2(3, 4)
print(sum_result)

Upload to PyPI

# Install packaging tools
pip install twine setuptools wheel

# Build the package
# Modify the version in setup.py
rm -rf dist build *egg-info
# Remove-Item -Recurse -Force dist, build, *.egg-info

python setup.py sdist bdist_wheel

# Upload the package
# Set up $HOME/.pypirc and create a token
twine upload dist/*

pyproject.toml 构建方式

pyproject.toml 配置项目

# Install packaging tools
pip install --upgrade setuptools wheel build twine

# Modify the version in setup.py
rm -rf dist *egg-info
Remove-Item -Recurse -Force dist, *.egg-info

# Modify version number

python -m build
twine check dist/*
twine upload dist/*


pysci-gpu-test
pysci-rename-img-vid

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

pyscitools-0.1.10.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

pyscitools-0.1.10-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file pyscitools-0.1.10.tar.gz.

File metadata

  • Download URL: pyscitools-0.1.10.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for pyscitools-0.1.10.tar.gz
Algorithm Hash digest
SHA256 dc4fb05575e3f870be3d3292118249ecf0fa8a3c6d64a28e1b66ab06c4855699
MD5 d8cd8644277590b8538a38e01c5ca244
BLAKE2b-256 aac582427c0bfaffbe80f5e9beb7c362a41715daee51123ae0fb3b98633c816e

See more details on using hashes here.

File details

Details for the file pyscitools-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: pyscitools-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for pyscitools-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 172036659e66d50a9f278aa661f20b147d30aa5c396dbf44d6eb07c1fe0af552
MD5 19404b67ba32304544d60321104d367a
BLAKE2b-256 4f2e8f1a33cb375398bc4a48dbfaee0534dcdd7773c4d3eec1c9bbfc5d585c93

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