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.2.tar.gz (7.1 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.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trackerlab-0.0.2.tar.gz
  • Upload date:
  • Size: 7.1 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.2.tar.gz
Algorithm Hash digest
SHA256 1ca23ec4dae07a098a5b86718dcc98dfb7e8949e0b2aa033c5ea395624ffc27d
MD5 ae4e58e0e87933babd28b34ec4ff99c1
BLAKE2b-256 038ee45cd0a608b109693b7511ea5fc5f55ac541c4511ab5d234ff592d584419

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trackerlab-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3cdf89c1b11607a451373659702c117a1059150eb7e3bb7ec8c9c6c79f33ef40
MD5 554fe651df3a4821ac951dcbe3b7f6f4
BLAKE2b-256 46331b081f41f713f1c4490e322f8a57fc2e21fc9fb5edcf995423a5b55d1bb4

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