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.4.tar.gz (10.8 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.4-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trackerlab-0.0.4.tar.gz
  • Upload date:
  • Size: 10.8 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.4.tar.gz
Algorithm Hash digest
SHA256 ffeca01af044804cc0046a7cef6b4398d4458a474ebe691bf9f4c91cd9411c8f
MD5 839c710a2be335e7d4a2c16cd281d9b7
BLAKE2b-256 f1d94e4b0d8c42692ec8e126bd6c8333e09797602bc42a859dcabae29feb659f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trackerlab-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a030300d4acad9e61eab4d5f20371a089fc518126ea7af06207ddf23767b2b50
MD5 2c3ae19279a4d5a714d5a1ffffc8f908
BLAKE2b-256 d015bd5f3a87d03abe87b7e6172fdc61593d49ddd8372be6be6e992c0a119db9

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