CLI tool for creating Search APIs.
Project description
Oracle of Ammon
A simple CLI tool for creating Search APIs.
Installation
Creating a virtual environment is highly advised. To do so, run:
python3 -m venv .venv
source .venv/bin/activate
Once your environment is active, simply install the package with:
pip install oracle-of-ammon
Usage
To get started, checkout the help menu:
oracle-of-ammon --help
Here, you will see we currently have two options: summon and locust.
Summon
By default, Summon is configured to initialize an empty search service on port 8000. The API framework used is FastAPI and the underlying search engine is built on Haystack. If you would like to initialize the search service with documents upon startup, provide a filepath with the --path
option. Once the service has been initialized, you can view the API docs at http://127.0.0.1:8000/docs.
Supported filetypes: CSV, TSV, JSON, XLSX, TXT. For specific examples of each file extension, check out this page. Here's an example CSV file:
Locust
Locust is an open source tool for load testing. You're able to swarm your system with millions of simultaneous users -- recording service performance and other metrics. By default, Locust will start on port 8089. To start a new load test, simply enter the number of users you want to simulate, their spawn rate, and the host address to swarm.
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
File details
Details for the file oracle_of_ammon-0.1.5.tar.gz
.
File metadata
- Download URL: oracle_of_ammon-0.1.5.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.7 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce3ec0015defea42e28f6aea16643311b87cc4e1b024f90d8b76fec717adc51 |
|
MD5 | e74a0394eff95efd910bbb5bd429d7ca |
|
BLAKE2b-256 | 9e6c73e9acb8bc2e20ff2723aa97b375190f1d420569599359a4f794c629547e |
File details
Details for the file oracle_of_ammon-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: oracle_of_ammon-0.1.5-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.7 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf95d0a422b67a1c5d2b0c117d0b24ceb2396f6f46803596f122c72ebc39190 |
|
MD5 | 1cd5bf8b4d84f795a9a75dc83b1a2030 |
|
BLAKE2b-256 | c6c56da758c065e79edfdcf6db0d87677d454d91f8e98873e01d8b0f452a8db9 |