Brat package
Update and initialize submodules if cloning the repository
git submodule update --init --recursive
Installation from git
python3.8 -m venv venv
source venv/bin/activate
# python3.8 -m pip install .
python3.8 -m pip install git+https://github.com/melissayan/brat-package.git
# Confirm the executable is placed in the path
which brat
How to run brat
Create a test directory that will be used for annotation data:
mkdir -pv test
cd test
BRAT_PASSWORD=pass4 brat 8081
Environment Variables
Defaults:
BRAT_DATA_DIR=$(cwd)/annotation-data
BRAT_WORK_DIR=${HOME}/.brat
BRAT_USER=admin
BRAT_PASSWORD=
BRAT_AUTH_ENABLED='true'
BRAT_LOG_REQUESTS='true'
BRAT_MAX_SEARCH_RESULT_NUMBER=1000
BRAT_DEBUG='false'
BRAT_ADMIN_CONTACT_EMAIL='admin@example.com'
BRAT_HOST='' # empty string means 0.0.0.0
BRAT_PORT=8081
All the variables can be overriden if set exporter before running brat.
If using BRAT_AUTH_ENABLED=true make sure to set BRAT_PASSWORD.
Example of disabling login:
BRAT_AUTH_ENABLED=false brat
Metadata
Release files for bratserver 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bratserver-0.0.1.tar.gz | 19.7 MB | Without provenance | Details for bratserver-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bratserver-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for bratserver-0.0.1-py3-none-any.whl |
Total release size: 39.7 MB
Release files / bratserver-0.0.1.tar.gz
| Download URL | bratserver-0.0.1.tar.gz |
|---|---|
| Size | 19.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e627fc280c5e46f266b4c0207614517715d2a5c0a003b592305fdde48a1ccc0
|
|
BLAKE2b-256 checksum How to use checksums |
2ec2e17cce37bf0a08cdd39d0f21820cba484160ae2d238ba2e2fd8750f95524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / bratserver-0.0.1-py3-none-any.whl
| Download URL | bratserver-0.0.1-py3-none-any.whl |
|---|---|
| Size | 20.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a296d705ba2b04d2abefb53ab40d295509c879c9be6510e164f4c433612b889
|
|
BLAKE2b-256 checksum How to use checksums |
3e79314ca04008678d2f39010b81aae38cb98e8fff15178ba4e7f58a06181feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Security for bratserver 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.