Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

activetigger

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activetigger

ActiveTigger in Python

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

(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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc