Skip to main content

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.

Metadata

Release files for trackerlab 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trackerlab 0.0.5
File Size Uploaded Provenance Actions
trackerlab-0.0.5.tar.gz 32.0 kB Without provenance Details for trackerlab-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trackerlab 0.0.5
File Interpreter ABI Platform Actions
trackerlab-0.0.5-py3-none-any.whl Python 3 none any Details for trackerlab-0.0.5-py3-none-any.whl

Total release size: 21.1 MB

Release files / trackerlab-0.0.5.tar.gz

Download URL trackerlab-0.0.5.tar.gz
Size 32.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e2a33534ba4a7047c9a05cf82e76bf26eae529ad27f83b5e06d1eeaf3d66f0df
BLAKE2b-256 checksum
How to use checksums
a0310cdfb5373aff495af80b2466baefe3da648616a7c6db377049863818b34f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / trackerlab-0.0.5-py3-none-any.whl

Download URL trackerlab-0.0.5-py3-none-any.whl
Size 21.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bbebaed34a7bb00e9ab5934d37de3a1c7485294936cd8b2ee645634cbd93191a
BLAKE2b-256 checksum
How to use checksums
fbcca98abb077494bc8a88dcd37f8ee17ed8cd8643d344aa7328731501821bd9
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for trackerlab 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page