Skip to main content

Package for detecting features in digital microscopy images

Project description

TrackerLab

Package for detecting features in digital microscopy images.

Documentation

For Users

For Developers

Update setup.py

Update the version in the setup file setup.py:

import setuptools

with open("README.md", "r") as f:
    long_description = f.read()

setuptools.setup(
    name="trackerlab",
    version="0.0.1",
    author="Martin",
    author_email="...",
    description="Package for detecting features in digital microscopy images",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/fraem24/TrackerLab",
    packages=setuptools.find_packages(),
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)

Generating Distribution Packages

The next step is to generate distribution packages for the package. These are archives that are uploaded to the Package Index and can be installed by pip.

Run the following command from the same directory where setup.py is located:

python setup.py sdist bdist_wheel

This command should generate two files in the dist directory:

dist/
  trackerlab-0.0.1-py3-none-any.whl
  trackerlab-0.0.1.tar.gz

Uploading the Distribution Packages

To make your package publicly accessible you need to upload it on PyPI. The credentials for the Molecular Nanophotonics PyPI account are:

Username: molecular-nanophotonics, Password: mona password + "mona"

Run twine to upload all of the archives under dist:

python -m twine upload dist/*

You will be prompted for the username and password you registered with PyPI. After the command completes, you should see output similar to this:

Enter your username: molecular-nanophotonics
Enter your password:
Uploading distributions to https://upload.pypi.org/legacy/
Uploading mypackage-0.0.1-py3-none-any.whl
100%|█████████████████████████████████████| 
Uploading mypackage-0.0.1.tar.gz
100%|█████████████████████████████████████| 

View at:
https://pypi.org/project/trackerlab/0.0.1/

You can now use pip install trackerlab to install the package and verify that it works.

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

trackerlab-0.0.3.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

trackerlab-0.0.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file trackerlab-0.0.3.tar.gz.

File metadata

  • Download URL: trackerlab-0.0.3.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for trackerlab-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ad0b8a0d433e0415cf31dc7cd50e3e338cdda1bb7d395a7018cdf68d3ef5db33
MD5 c7625087143ec1416e5252dc4452de6d
BLAKE2b-256 7f231bf6a3853b653c6d6dd4014165effb5c2a25d835f7048b9143afca53481c

See more details on using hashes here.

File details

Details for the file trackerlab-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: trackerlab-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for trackerlab-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0ec42d3818135608f9586b52a306d412b577a6f4a6fcb0049b2878b65cff589b
MD5 4de925a992c57f836973bb7915b539a8
BLAKE2b-256 d0eb1e978ce5d7e5526392b944e55101147acb6379d00c3c18e3ccf131357459

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