Skip to main content

Extremely lightweight and purpose-built feature extraction and retrieval engine (FERE).

Project description

FERElight | ˈferēlīt |

pypi

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:

  1. Update the version number in ferelight/__init__.py
  2. Create a new GitHub release or tag with a version number (e.g., v1.0.1)
  3. The GitHub Actions workflows will automatically:
    • Build and publish the package to PyPI
    • Build and publish the Docker image to Docker Hub (as both latest and version-specific tags)

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

ferelight-1.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

ferelight-1.1.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file ferelight-1.1.0.tar.gz.

File metadata

  • Download URL: ferelight-1.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ferelight-1.1.0.tar.gz
Algorithm Hash digest
SHA256 88232c115fdf1d144b2167deb07d0deb75dd51e401d8403b086aaae2e09f6ab7
MD5 dfa9cab094330573810f5f114ae0ca2c
BLAKE2b-256 007fbaea89819cfa062e629b28be35c94adcaf557ce9b2c1e7fd71f550b42d0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ferelight-1.1.0.tar.gz:

Publisher: publish.yml on FEREorg/ferelight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ferelight-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ferelight-1.1.0-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

Hashes for ferelight-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6568d944a317845e745d269d089e0dbc66ff5a6591b985a38f19b3b30fe6a454
MD5 3fabbd896d93f69d821c362bb90affb5
BLAKE2b-256 3a2e801160b2d548da876eab209021631701c5b1763a30ce22de76bc9b356588

See more details on using hashes here.

Provenance

The following attestation bundles were made for ferelight-1.1.0-py3-none-any.whl:

Publisher: publish.yml on FEREorg/ferelight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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