Skip to main content

FERElight

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

To run the server on a Docker container, please 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 to PyPI:

  1. Update the version number in setup.py
  2. Create a new GitHub release or tag with a version number (e.g., v1.0.1)
  3. The GitHub Actions workflow will automatically build and publish the package to PyPI

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.0.1.tar.gz (13.8 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.0.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ferelight-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0b180a6b4b5fb78a74f1c89b98cdcb37f580c78ca21955597f21cbaa0c461224
MD5 243e3cc0a7e95960c17489ec09499829
BLAKE2b-256 41a024d1dd79ae6c4259868f813b4df6468026c1d15c0570da6c18d4931bdec0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ferelight-1.0.1.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.0.1-py3-none-any.whl.

File metadata

  • Download URL: ferelight-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c70ae4f2756d184add1be823b8146975087934feee8b23caae065ddf9795d0f5
MD5 fa89894d24f1894bc88807e454c686a1
BLAKE2b-256 0cda217dfa106f4820f3e1d0490e408ba49131127f1db1144b75159d93e00ea6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ferelight-1.0.1-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