An Erlang application that extends the minutia Python library.
Extra features:
- A built in cache mechanism.
- Auto-dispatching based on the URL scheme.
When installing minutia the media
extra dependency is included.
To build minutiae you will need the following:
- A unix-like environment
- Python 3.11 or later
- venv
- pip
- Erlang/OTP 26 or later
- rebar3
- GNU make
To run minutiae you need:
- Python 3.11 or later
- Erlang/OTP 26 or later
minutiae is built using rebar3. You can compile it by running: $ rebar3 compile
.
or you can include it in your projects as a dependency in rebar.config:
{deps, [%% ... Other dependencies
{minutiae, {git, "https://github.com/hyperimpose/minutiae.git", {branch, "master"}}}]}.
You can quickly build and run minutiae using: $ rebar3 shell
.
Then you can run the example found in Usage. You can also read the User documentation for more examples and
a complete description of the library.
- User documentation
- API reference, examples, configuration
%% After minutiae has been started you can access resources as follows:
minutiae:get("https://hyperimpose.org").
%% The previous call would return the following:
{ok,#{m => http_html, t => <<"hyperimpose">>, explicit => false}}
minutiae is licensed under the GNU Affero General Public License version 3 (AGPLv3).
A copy of this license is included in the file COPYING.