Extremely lightweight and purpose-built feature extraction and retrieval engine (FERE).
Project description
FERElight | ˈferēlīt |
Extremely lightweight and purpose-built feature extraction and retrieval engine (FERE).
Installation
From PyPI
pip install ferelight
From Source
pip install git+https://github.com/FEREorg/ferelight.git
Usage
To configure the pgvector PostgreSQL connection, create a file config.json in the root directory with the following content:
{
"DBHOST": "<host>",
"DBPORT": "<port>",
"DBUSER": "<user>",
"DBPASSWORD": "<password>"
}
To run the server, please execute the following from the root directory:
pip3 install -r requirements.txt
python3 -m ferelight
You can also specify a custom path to the configuration file:
python3 -m ferelight --config /path/to/your/config.json
# or using the short option
python3 -m ferelight -c /path/to/your/config.json
Running with Docker
Using Docker Hub
The Docker image is available on Docker Hub. You can pull and run it directly:
docker pull florianspiess/ferelight:latest
docker run -p 8080:8080 florianspiess/ferelight:latest
Building Locally
To build and run the server on a Docker container locally, execute the following from the root directory:
# building the image
docker build -t ferelight .
# starting up a container
docker run -p 8080:8080 ferelight
Development
Releasing New Versions
To release a new version:
- Update the version number in
ferelight/__init__.py - Create a new GitHub release or tag with a version number (e.g.,
v1.0.1) - The GitHub Actions workflows will automatically:
- Build and publish the package to PyPI
- Build and publish the Docker image to Docker Hub (as both
latestand version-specific tags)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ferelight-1.0.4.tar.gz.
File metadata
- Download URL: ferelight-1.0.4.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0804105ac9eadbff38756baabccaeeedc34f2a906fbc0a2cb070c6836879df07
|
|
| MD5 |
15097777ae9ec1f3c5098d5600c8ac26
|
|
| BLAKE2b-256 |
756897278db869e573752223354cfd1301d92c43c8a87fb5376f02bdd2c93436
|
Provenance
The following attestation bundles were made for ferelight-1.0.4.tar.gz:
Publisher:
publish.yml on FEREorg/ferelight
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ferelight-1.0.4.tar.gz -
Subject digest:
0804105ac9eadbff38756baabccaeeedc34f2a906fbc0a2cb070c6836879df07 - Sigstore transparency entry: 213409448
- Sigstore integration time:
-
Permalink:
FEREorg/ferelight@cae91d6f503e1e86baa5999613f3bef2fca8f14e -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/FEREorg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cae91d6f503e1e86baa5999613f3bef2fca8f14e -
Trigger Event:
release
-
Statement type:
File details
Details for the file ferelight-1.0.4-py3-none-any.whl.
File metadata
- Download URL: ferelight-1.0.4-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94d092832bc89c0b92aef18305fbbfc0ac0ec58ef69f61a782c7bf789905ae6c
|
|
| MD5 |
eb47a242197414e344ceff9af75453e0
|
|
| BLAKE2b-256 |
3a01b52228695b286b463a71fc099b6001d51f40ecf296f69e5b1b208393ae33
|
Provenance
The following attestation bundles were made for ferelight-1.0.4-py3-none-any.whl:
Publisher:
publish.yml on FEREorg/ferelight
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ferelight-1.0.4-py3-none-any.whl -
Subject digest:
94d092832bc89c0b92aef18305fbbfc0ac0ec58ef69f61a782c7bf789905ae6c - Sigstore transparency entry: 213409450
- Sigstore integration time:
-
Permalink:
FEREorg/ferelight@cae91d6f503e1e86baa5999613f3bef2fca8f14e -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/FEREorg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cae91d6f503e1e86baa5999613f3bef2fca8f14e -
Trigger Event:
release
-
Statement type: