Skip to main content

Automatic Image Registration using Retinal Landmarks

Project description

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

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

eyeliner-0.1.1.tar.gz (48.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eyeliner-0.1.1-py3-none-any.whl (48.9 MB view details)

Uploaded Python 3

File details

Details for the file eyeliner-0.1.1.tar.gz.

File metadata

  • Download URL: eyeliner-0.1.1.tar.gz
  • Upload date:
  • Size: 48.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.4 Linux/5.15.0-136-generic

File hashes

Hashes for eyeliner-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8d2305fc02754751bcd6754134e358c1b9d4105ea60117d4bf336e4a21e3992d
MD5 7156e08ab634c5628334bdfb699b1cca
BLAKE2b-256 1f40a2334eb024f07884730c3ed6ab93a2283218ecedc184bb0bfeae5c4af935

See more details on using hashes here.

File details

Details for the file eyeliner-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: eyeliner-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.4 Linux/5.15.0-136-generic

File hashes

Hashes for eyeliner-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40c362fe72c8398b9ae9a6eda08c2da9e31da397536b40a6b1cf1f49844e8d6f
MD5 11468cc1a9de28be8ae204ebcd4ae0e7
BLAKE2b-256 e1ce43a8918e38a9b891647def19464fea21e2cfe6374e7f630ed3fd77a09864

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