Skip to main content

(py) Active Tigger

🚧 Under development 🚧

License Python Version PyPI Version

Server/client BERT fine tunning app using active learning

Python refactoring of R Shiny ActiveTigger app (Julien Boelaert & Etienne Ollion)

Installation

You can install activetigger via pip (be careful to use Python 3.11):

pip install activetigger

Start the server

Create a config file config.yaml in the directory where you want to launch the server :

  • path : path to store files (for instance ./data)
  • secret_key : to secure tokens. To generate it openssl rand -hex 32C
  • path_models: absolute path to fasttext models

Then, to launch the server (on 0.0.0.0 port 8000 by default). You can configurate exposed port if needed.

python -m activetigger

Otherwise, you can launch only the API with uvicorn:

uvicorn activetigger.api:app --host 0.0.0.0 --port 80 --reload

Users management

You can create/delete users with the root account.

You can also create a add_users.yaml file with the users to add when the server starts :

user1: password1
user2: password2

Technical specifications

  • REST-like client/server architecture
  • Moslty stateless
  • Mixed data storage : sqlite + files
  • Backend Python
    • FastAPI
    • Multiprocessing for CPU-bound tasts (concurrent.futures.ProcessPoolExecutor)
  • Frontend
    • Streamlit (prototyping)
    • React (in the future)

Metadata

Release files for activetigger 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for activetigger 0.1.4
File Size Uploaded
activetigger-0.1.4.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for activetigger 0.1.4
File Interpreter ABI Platform
activetigger-0.1.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 2.5 MB

Release files / activetigger-0.1.4.tar.gz

Download URL activetigger-0.1.4.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
425c68c775cb32fb6ea6e8eedf5c9c61547078c6b6f22456292caad76eb87a13
BLAKE2b-256 checksum
How to use checksums
3555d90250ecc79087d249e2d6d3a1d59dcdedba665efe56ec6f3049bcb48194
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / activetigger-0.1.4-py2.py3-none-any.whl

Download URL activetigger-0.1.4-py2.py3-none-any.whl
Size 1.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e944cce60cd44d837bdefb0e3e22856ea0d1f412d4e1e304263e1a3e4b96d87a
BLAKE2b-256 checksum
How to use checksums
8d2258e47349785ad1720eba3bc263af6adc27f7d2a700862394177e70605024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page