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.5.tar.gz (32.0 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.5-py3-none-any.whl (21.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trackerlab-0.0.5.tar.gz
  • Upload date:
  • Size: 32.0 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.5.tar.gz
Algorithm Hash digest
SHA256 e2a33534ba4a7047c9a05cf82e76bf26eae529ad27f83b5e06d1eeaf3d66f0df
MD5 7c8fc92e8f23567b50fdb01f63fad46e
BLAKE2b-256 a0310cdfb5373aff495af80b2466baefe3da648616a7c6db377049863818b34f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trackerlab-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.1 MB
  • 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bbebaed34a7bb00e9ab5934d37de3a1c7485294936cd8b2ee645634cbd93191a
MD5 4dfda0a8f33a17b374bf186b3c9052d1
BLAKE2b-256 fbcca98abb077494bc8a88dcd37f8ee17ed8cd8643d344aa7328731501821bd9

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