Skip to main content

EyeLiner

Creates a pip package from the EyeLiner project.

Manual Deployment

To manually deploy the package to PyPi, run the following commands:

  1. Create PyPI account online.
  2. Clone the repo:
git clone git@github.com:QTIM-Lab/eyeliner_reg.git
  1. Create virtual environment running python 3.10.4 and run poetry install.
  2. Perform tests to ensure code is running with no execution errors: poetry run pytest
  3. Build the package by running poetry build
  4. Generate PyPI token
  5. Configure poetry with organization's PyPI token:
poetry config pypi-token.pypi "your-organization-api-token"
  1. Publish by running poetry publish

You should be able to pip install eyeliner and run it as a package in your python script or even as a command-line interface (CLI) command. Try the following:

As a python package:

# Create a new environment for testing
python -m venv test_env
source test_env/bin/activate  # On Windows: test_env\Scripts\activate

# Install your package
pip install dist/eyeliner-0.1.0-py3-none-any.whl --force-reinstall

# Test imports and functionality
python -c "from eyeliner import EyeLinerP; print('Import successful!')"

As a CLI command:

eyeliner --fixed-input assets/image_0_vessel.jpg --moving-input assets/image_1_vessel.jpg --moving-image assets/image_1.jpg --reg affine --save affine.png --device cuda:0

Metadata

Release files for eyeliner 0.1.1

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

Source distribution (sdist)

Source distribution for eyeliner 0.1.1
File Size Uploaded
eyeliner-0.1.1.tar.gz 48.9 MB Details

Built distribution (wheel)

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

Total release size: 97.8 MB

Release files / eyeliner-0.1.1.tar.gz

Download URL eyeliner-0.1.1.tar.gz
Size 48.9 MB
Tags Source
SHA-256 checksum
How to use checksums
8d2305fc02754751bcd6754134e358c1b9d4105ea60117d4bf336e4a21e3992d
BLAKE2b-256 checksum
How to use checksums
1f40a2334eb024f07884730c3ed6ab93a2283218ecedc184bb0bfeae5c4af935
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.4 Linux/5.15.0-136-generic

Release files / eyeliner-0.1.1-py3-none-any.whl

Download URL eyeliner-0.1.1-py3-none-any.whl
Size 48.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
40c362fe72c8398b9ae9a6eda08c2da9e31da397536b40a6b1cf1f49844e8d6f
BLAKE2b-256 checksum
How to use checksums
e1ce43a8918e38a9b891647def19464fea21e2cfe6374e7f630ed3fd77a09864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.4 Linux/5.15.0-136-generic

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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