EyeLiner
Creates a pip package from the EyeLiner project.
Manual Deployment
To manually deploy the package to PyPi, run the following commands:
- Create PyPI account online.
- Clone the repo:
git clone git@github.com:QTIM-Lab/eyeliner_reg.git
- Create virtual environment running python 3.10.4 and run
poetry install. - Perform tests to ensure code is running with no execution errors:
poetry run pytest - Build the package by running
poetry build - Generate PyPI token
- Configure poetry with organization's PyPI token:
poetry config pypi-token.pypi "your-organization-api-token"
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| eyeliner-0.1.1.tar.gz | 48.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|