Metadata-Version: 2.3
Name: eyeliner
Version: 0.1.1
Summary: Automatic Image Registration using Retinal Landmarks
License: MIT
Author: Aveturi13
Author-email: advaithveturi@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: albumentations (>=1.4.21,<2.0.0)
Requires-Dist: coloredlogs (>=15.0.1,<16.0.0)
Requires-Dist: jupyter (>=1.0.0,<2.0.0)
Requires-Dist: kornia (>=0.7.2,<0.8.0)
Requires-Dist: matplotlib (>=3.8.4,<4.0.0)
Requires-Dist: monai (>=1.3.0,<2.0.0)
Requires-Dist: numpy (>=1.26.4,<2.0.0)
Requires-Dist: opencv-python (>=4.9.0.80,<5.0.0.0)
Requires-Dist: pandas (>=2.2.2,<3.0.0)
Requires-Dist: patchify (>=0.2.3,<0.3.0)
Requires-Dist: scikit-image (>=0.23.2,<0.24.0)
Requires-Dist: scipy (>=1.13.0,<2.0.0)
Requires-Dist: termcolor (>=2.5.0,<3.0.0)
Requires-Dist: torch (>=2.2.2,<3.0.0)
Requires-Dist: torchvision (>=0.17.2,<0.18.0)
Requires-Dist: tqdm (>=4.66.2,<5.0.0)
Project-URL: Homepage, https://github.com/QTIM-Lab/EyeLiner
Project-URL: Repository, https://github.com/QTIM-Lab/EyeLiner
Description-Content-Type: text/markdown

# EyeLiner

Creates a pip package from the [EyeLiner](https://github.com/QTIM-Lab/EyeLiner) project.

## Manual Deployment

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

1. Create [PyPI](https://pypi.org/) account online.
2. Clone the repo:
```
git clone git@github.com:QTIM-Lab/eyeliner_reg.git
```
3. Create virtual environment running python 3.10.4 and run `poetry install`.
4. Perform tests to ensure code is running with no execution errors: `poetry run pytest`
5. Build the package by running `poetry build`
7. Generate PyPI token
8. Configure poetry with organization's PyPI token:
```
poetry config pypi-token.pypi "your-organization-api-token"
```
9. 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:

```bash
# 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:

```bash
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
```
