Skip to main content

tryppy

Tryppy is an open-source Python package designed to simplify segmentation, feature extraction, and classification of microscopy data from Trypanosoma brucei.
It has been developed specifically for the TrypTag dataset. The performance on other microscopy datasets has not been evaluated and may vary.

How to install

We provided several options to make the functionality of tryppy available to you. You can choose to install the package via pip or github into your python environment. Alternatively you can choose to use our code via the provided Docker container. This is especially usefull for an easy to use proof of concept, when trying out new data.

From Pypi

pip install tryppy

Here you find the official pypi website.

From Github

pip install git+https://github.com/himmiE/tryppy.git

Using Docker Hub (recommended)

An official Docker image is available to run tryppy without installing Python or any dependencies locally. If you have Docker installed, you can pull the latest image with:

docker build -t tryppy:latest .

docker run tryppy:latest

This launches an interactive Python shell with tryppy preinstalled.

How to use

No matter which approach you choose, you may want to look at the config.json file. (describe where it is to be found) This file is to be edited by you whenever you want to change something about the workflow. It is probably a good idea to save changes in a new config file, in case you break something. You can also change the filename to have different versions. You will be able to choose the right config file later in your code.

The Config File

When you first run your code a basic config-file will be created for you. ...

option description example_input
left foo right foo This is an alt text.
left bar right bar
left baz right baz

The Data

Use In Code

import NAME_OF_PACKAGE

# define the path for your data.
# if you have a custom config.json file, it should go here.
data_path = directory_where_data_should_do

# if you are handling multiple tasks with this package or are experimenting
# with different setups, you can rename the config file and pass the filename
# (relative to your defined data_path).

obj_name = NAME_OF_PACKAGE(data_path)
# alt: 
# obj_name = NAME_OF_PACKAGE(data_path, config_filename = 'save_all_config.json')

obj_name.run()

License

TODO

Metadata

Release files for tryppy 0.1.0

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

Source distribution (sdist)

Source distribution for tryppy 0.1.0
File Size Uploaded
tryppy-0.1.0.tar.gz 568.1 kB Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / tryppy-0.1.0.tar.gz

Download URL tryppy-0.1.0.tar.gz
Size 568.1 kB
Tags Source
SHA-256 checksum
How to use checksums
874673d89323eae947e07708e07694e3e5121e12b16f5bd5473b8febab2a3492
BLAKE2b-256 checksum
How to use checksums
8fdfe5658f0e75adac7e1715a575f22b0959fee4315a0973823919582fb821c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release files / tryppy-0.1.0-py3-none-any.whl

Download URL tryppy-0.1.0-py3-none-any.whl
Size 581.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac2e600b1c9479ebe0ca10ca52e65b9f84273fee16b516fba7d3a363bd7b7a6c
BLAKE2b-256 checksum
How to use checksums
d28e41be0a5fdc3072c161f04803fffb169f61199fb9609ee8d5d8eda2a48cc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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