Skip to main content

Intellio Python Module

Connect Intellio hardware to Python to build robotics, sensor, computer-vision, and AI projects.

The Intellio Python module exposes the QuarkyIntellio class. It connects to an Intellio board using a Bluetooth Low Energy (BLE) Wi-Fi setup flow, receives camera images over Wi-Fi, and provides Python methods for hardware controls such as LEDs, audio, motors, servos, and supported external sensors.

It can be combined with OpenCV, MediaPipe, and NumPy to build hand-tracking, gesture-recognition, eye-tracking, and other interactive projects on a Windows laptop.

Documentation scope: This README is based on the Intellio/camera.py, ble.py, ble_gui.py, and stream.py source versions shared during development. It documents the methods implemented in that source, not a certification that every method has been tested on every firmware revision. In particular, Lightning RGB uses a special send-only workaround on the tested device; see Lightning compatibility note.

Contents

Features

  • BLE-assisted Wi-Fi configuration and automatic Intellio IP discovery.
  • Live JPEG camera frames delivered to Python as OpenCV-compatible NumPy arrays.
  • Hardware commands for onboard LED, motors, servos, speaker and audio, camera settings, and supported external sensors.
  • Lightning extension commands for RGB strips and an 8x8 LED matrix.
  • Integration with Python computer-vision libraries without running hand-tracking inference on the microcontroller.

Requirements

Hardware

  • Intellio board with compatible firmware.
  • Windows laptop or PC with Bluetooth and Wi-Fi.
  • Intellio and the laptop connected to the appropriate network after BLE setup.
  • Optional hardware for examples: ultrasonic/IR sensor, RGB LED matrix, OLED, supported color/motion sensors, or motors.

Software

  • Python (the development projects used Python 3.12 on Windows).
  • VS Code or another Python editor.
  • A Python environment named air-env (Conda or virtual environment; see below).
  • Python packages: bleak, opencv-python, numpy; mediapipe for hand/face tracking.
  • tkinter for the BLE setup window (normally included with standard Windows Python installs).

This repository documentation does not establish a published PyPI package name. The setup instructions below work with a local checkout that contains the Intellio/ package. Use pip install -e . only if the repository includes valid pyproject.toml or setup.py packaging metadata.

Project structure

A typical checkout can be organized as follows. Example script names are suggestions; keep your existing files wherever you prefer.

Intellio-PIP-Module/
|-- Intellio/
|   |-- __init__.py
|   |-- camera.py         # QuarkyIntellio public hardware API
|   |-- ble.py            # BLE scanning and GATT communication
|   |-- ble_gui.py        # Connection manager
|   `-- stream.py         # JPEG-over-UDP camera receiver
|-- examples/             # Optional example scripts
|   |-- hand_tracking.py
|   |-- air_harp.py
|   |-- drowsiness.py
|   `-- gesture_led.py
`-- README.md

Run example scripts from the repository root so that from Intellio import QuarkyIntellio resolves the local package. The directory name and its capitalization should match the package in your checkout.

Getting started: open air-env

Open the Intellio-PIP-Module folder in VS Code and select Terminal > New Terminal. Activate the environment every time you open a new terminal, unless VS Code has already activated it for you.

air-env is a virtual environment inside the project

Use the command appropriate for your terminal:

Windows Command Prompt:

cd C:\Users\sheet\Downloads\Intellio-PIP-Module
air-env\Scripts\activate.bat

Windows PowerShell:

cd C:\Users\sheet\Downloads\Intellio-PIP-Module
.\air-env\Scripts\Activate.ps1

Git Bash:

cd /c/Users/sheet/Downloads/Intellio-PIP-Module
source air-env/Scripts/activate

To create a new local virtual environment, run python -m venv air-env once from the project root, then activate it with one of the above commands. Do not mix a Conda environment and a local virtual environment with the same name.

Verify that VS Code is using the correct Python

python -c "import sys; print(sys.executable)"
python -m pip show bleak opencv-python numpy mediapipe

In VS Code, choose Python: Select Interpreter from the Command Palette and select the interpreter belonging to air-env. When finished with a terminal session, run conda deactivate (Conda) or deactivate (venv).

Install dependencies

For a first-time environment, install the runtime packages:

python -m pip install bleak opencv-python numpy

For the hand-tracking and face-tracking scripts in this project, the working examples used the MediaPipe Solutions API and this version:

python -m pip install "mediapipe==0.10.21"

Check the installations:

python -c "import cv2, numpy, mediapipe, bleak; print('Core dependencies available')"

If your existing air-env already runs Air Harp or Drowsiness Detection successfully, keep its working dependencies. Avoid upgrading MediaPipe just before a demonstration: newer releases may have a different API from the mp.solutions code in these examples. Some optional demos may require additional packages; follow the individual script's imports.

If you are creating a distributable package and your checkout contains pyproject.toml or setup.py, you may also install the local project in editable mode:

python -m pip install -e .

Otherwise, run from the repository root and import the local Intellio directory directly.

Connect to Intellio

from Intellio import QuarkyIntellio

intellio = QuarkyIntellio()
intellio.connect()
print("Intellio IP:", intellio.ip)
  1. Power on Intellio and enable Bluetooth and Wi-Fi on your laptop.
  2. Run the Python program. connect() opens the Intellio BLE/Wi-Fi manager.
  3. Scan for Intellio, select the board, and connect over Bluetooth.
  4. Supply Wi-Fi credentials and choose Station Mode (through a router) or the compatible AP setup for your firmware.
  5. Wait for the program to print a discovered Intellio IP address.
  6. Close the connection-manager window to allow the script to continue. The existing implementation starts the camera-stream receiver automatically when the IP is discovered.

connect() blocks while the Tkinter window is open. You can also instantiate with a known IP, QuarkyIntellio(ip="192.168.x.x"), but that bypasses BLE discovery and does not automatically start the camera stream; call startstream() explicitly when using that approach.

Communication used by the supplied implementation

Channel Purpose Configuration in source
BLE Device discovery and Wi-Fi provisioning ble.py and ble_gui.py
UDP 5005 on PC Incoming JPEG camera frames stream.py
UDP 5006 on device Outgoing PC hardware-control commands camera.py
UDP 5007 on PC Expected hardware-control replies camera.py socket binding

Port numbers describe the shared Python implementation. The actual board firmware and network must support the same transport for hardware commands to work.

Camera quick start

Save as camera_test.py in the repository root:

import time
import cv2
from Intellio import QuarkyIntellio

intellio = QuarkyIntellio()
intellio.connect()

try:
    while True:
        frame = intellio.get_frame()
        if frame is None:
            time.sleep(0.02)
            continue

        cv2.imshow("Intellio Camera", frame)
        if cv2.waitKey(1) & 0xFF == ord("q"):
            break
finally:
    intellio.stopstream()
    cv2.destroyAllWindows()

Run:

python camera_test.py

get_frame() returns the most recent decoded BGR image (a NumPy array compatible with OpenCV), or None until the first frame arrives. The CameraStream receiver runs in a separate thread and caches the latest frame.

Create a hand-tracking project

MediaPipe analyzes each frame on the laptop. The camera comes from Intellio; OpenCV displays frames; MediaPipe returns up to 21 landmarks per hand for the Hands model used in these examples.

  1. Activate air-env and install the packages shown above.
  2. Create a file such as hand_tracking.py in the repository root.
  3. Import QuarkyIntellio, OpenCV, and MediaPipe.
  4. Connect Intellio and read frames via get_frame().
  5. Convert BGR to RGB for MediaPipe, then process landmarks.
  6. Draw landmarks or classify gestures, and use Intellio hardware methods when the recognized gesture changes.

Starter hand-tracking program

import time
import cv2
import mediapipe as mp
from Intellio import QuarkyIntellio

mp_hands = mp.solutions.hands
mp_draw = mp.solutions.drawing_utils

intellio = QuarkyIntellio()
intellio.connect()

try:
    with mp_hands.Hands(
        static_image_mode=False,
        max_num_hands=2,
        model_complexity=0,
        min_detection_confidence=0.6,
        min_tracking_confidence=0.6,
    ) as hands:
        while True:
            frame = intellio.get_frame()
            if frame is None:
                time.sleep(0.02)
                continue

            frame = cv2.flip(frame, 1)  # Mirror preview
            rgb = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
            results = hands.process(rgb)

            if results.multi_hand_landmarks:
                for hand in results.multi_hand_landmarks:
                    mp_draw.draw_landmarks(
                        frame, hand, mp_hands.HAND_CONNECTIONS
                    )
                    # Example: hand.landmark[8] is index-finger tip.
                    tip = hand.landmark[8]
                    x = int(tip.x * frame.shape[1])
                    y = int(tip.y * frame.shape[0])
                    cv2.circle(frame, (x, y), 8, (0, 255, 0), -1)

            cv2.imshow("Intellio Hand Tracking", frame)
            if cv2.waitKey(1) & 0xFF == ord("q"):
                break
finally:
    intellio.stopstream()
    cv2.destroyAllWindows()

Run:

python hand_tracking.py

For smooth projects: Use the latest frame, reduce inference resolution if necessary, debounce gestures (for example, hold a gesture for 0.5-0.7 seconds), and avoid sending a hardware command on every video frame. A speaker command may block until completion: send it from a single serialized hardware-command worker if you also need fluid video. Do not let multiple threads call the same UDP send/receive socket concurrently without synchronization.

Complete API reference

All methods below are on an instance of QuarkyIntellio. Names and argument order match the shared camera.py; Python method names are case-sensitive. The class includes 54 public methods in the supplied version, plus internal helpers documented at the end.

Connection and video

Method Description / parameters
QuarkyIntellio(ip=None) Create the client. Optional ip skips IP discovery but not the need for compatible Wi-Fi connectivity.
connect() Open BLE/Wi-Fi manager; wait for window to close. IP notification also starts the stream in this source version.
startstream() Start receiving camera frames on UDP 5005.
get_frame() Return latest BGR OpenCV frame, or None while unavailable.
stopstream() Request that the camera receiver stop.

Robot motors and servos

Method Description / parameters
runrobot(direction, speed) Robot direction: 1 forward, 2 backward, 3 left, 4 right, 5 stop; speed 0-100 as documented in source.
runbothmotors(left_speed, right_speed) Drive left/right motors at separate speed values.
stoprobot() Stop robot motors.
runmotor(motor, direction, speed) Motor 'L' or 'R'; direction 1 forward, 2 backward, 3 lock, 4 stop.
stopmotor(motor) Stop one motor ('L' or 'R').
setservo(pin, angle) Logical servo pin: 0=S1, 1=A2, 2=A1; angle 0-180 degrees.
servomoveintime(pin, angle, seconds) Move a servo to an angle over the requested duration.

Motor-control methods are documented from the Python implementation. Some mappings may require alignment with the specific firmware and expansion-board configuration; do not assume all have been hardware-verified.

Built-in RGB LED

Method Description / parameters
setled(r, g, b, brightness=30) Set Intellio's built-in RGB LED, with requested brightness.
turnoffled() Turn off the built-in LED.

Lightning RGB strips and 8x8 LED matrix

Method Description / parameters
initialisergb(strip, numled, pin) Initialize strip index (1 is typical), number of LEDs (64 for an 8x8 matrix), and firmware-expected pin identifier. Command 73.
setrgbpixel(strip, pixel, r, g, b) Set a zero-based pixel index; send showrgb() to apply it. Command 74.
showrgb(strip) Push pending pixel colors to the physical LEDs. Command 75.
showpattern1(pattern, strip, r, g, b, delay_ms) 1 Color Wipe, 2 Theater Chase. Delay in milliseconds. Command 76.
showpattern2(pattern, strip, delay_ms) 1 Rainbow, 2 Rainbow Cycle, 3 Theater Chase Rainbow. Delay in milliseconds. Command 77.
clearrgb(strip) Clear the strip/matrix. Command 78.

Example (tested logical A1 setting):

# After connecting Intellio and verifying the matrix power/wiring:
intellio.initialisergb(1, 64, 2)   # strip 1, 64 LEDs, A1 argument used in test
intellio.setrgbpixel(1, 0, 10, 0, 0)
intellio.showrgb(1)
intellio.clearrgb(1)

The A1 2 value is the one used in the working development test. Do not treat 2 as a universally valid ESP32 GPIO number. The actual output mapping depends on the board and firmware. Check matrix voltage/current requirements; many addressable 8x8 RGB matrices need a suitable 5 V supply and a shared ground. Avoid powering 64 LEDs from an unverified 3.3 V GPIO rail.

See Lightning compatibility note for the send-only behavior used with the tested board.

Ultrasonic and digital/analog sensors

Method Description / parameters
setultrasonicpins(trig, echo) Assign distinct ports from 'A1', 'A2', 'S1' to trigger and echo. Validates the names.
getultrasonic() Read distance as a float from firmware.
readdigital(pin) Read digital state 0 or 1; uses GET action.
prepare_ir_input(pin="A1") Prepare A1/A2 for IR/digital input by switching PWM/analog state as required by this firmware.
readanalog(pin) Read an analog value as float or None; source documents 'A1'/'A2'.
readpushbutton(button) Read left (1) or right (2) pushbutton as float or None.

The ultrasonic and IR input paths were tested during development. Other sensor methods are included because they exist in camera.py; confirm action-code compatibility before release.

Color and proximity sensor (APDS9960)

Method Description / parameters
initcolorsensor() Initialize the attached color/proximity sensor; returns True only on exact "Done".
getlightlevel(channel=0) 0 clear, 1 red, 2 green, 3 blue channel; numeric result or None.
iscolordetected(color) Check a firmware-defined color index; returns boolean.
getproximity() Proximity value, documented 0-255, or None.
recordcolorprofile(slot) Save a color profile to slot 0-7; returns boolean in this implementation.
deleteallcolorprofiles() Clear recorded profiles; returns raw firmware response.
iscolorprofiledetected(slot) Check whether a saved profile is detected; returns boolean.
isgesturedetected(gesture) Sensor gesture indices: 0 none, 1 up, 2 down, 3 left, 4 right. Not the same as MediaPipe hand tracking.

Motion sensor (MPU6050)

Method Description / parameters
initmotionsensor() Initialize supported motion sensor; returns boolean on exact "Done".
getacceleration(axis) Read acceleration, axis 0=X, 1=Y, 2=Z; float or None.
getgyroscope(axis) Read gyroscope value for axis 0=X, 1=Y, 2=Z; float or None.
gettiltangle(axis) Read tilt-angle value for axis 0=X, 1=Y, 2=Z; float or None.
gettemperature() Read sensor temperature in Celsius, or None.

OLED display

Method Description / parameters
initoled() Request OLED initialization; returns boolean on exact "Done".
clearoled() Clear OLED display; returns boolean.
displaytext(text) Display text; returns boolean.
scrolltext(text) Scroll supplied text; returns boolean.
displayemotion(emotion) Display a firmware-defined emotion index; returns boolean.

Status note: OLED initialization was not confirmed working in the shared firmware. The device-side advancesensorhandler() section previously contained _ensure_oled without calling it, so a Done response does not prove that the display initialized. This cannot be fixed solely by documenting or calling initoled() from the PC. Avoid advertising OLED as tested until verified on the release firmware.

Speaker and audio

Method Description / parameters
playsound(filename, volume=80) Play a sound by filename available to the device/firmware.
playsounduntildone(filename, volume=80) Play and wait for completion response; returns boolean based on "done".
stopsound() Stop currently playing device sound.
setvolume(volume) Set speaker volume, documented 0-100 by source.
playtone(frequency, duration_ms) Play a tone of the specified frequency (Hz) for the specified duration (milliseconds); validates positive values and waits for response.

Example:

intellio.playtone(440, 200)  # 440 Hz for 200 ms

playtone() generates a tone, not synthesized speech. A file passed to playsound() must be accessible to the Intellio firmware; an arbitrary filename on the laptop is not automatically transferred to the device.

Camera settings

Method Description / parameters
setbrightness(value) Set camera brightness. Firmware defines the accepted range.
setcontrast(value) Set contrast. Firmware defines the accepted range.
setsaturation(value) Set saturation. Firmware defines the accepted range.
setquality(value) Set camera JPEG quality setting. Firmware defines the accepted range.
setvflip(value) Enable/disable vertical flip (commonly 0/1).
sethmirror(value) Enable/disable horizontal mirroring (commonly 0/1).
Method Role
_send(*args, action=2, timeout=None) Build a frame/{action}/... command, send via UDP 5006, and await response on the client's UDP socket.
_rgb_request(command, *args) Lightning transport helper; special handling described below.
_send_sensor(*args) Wrap hardware command 215 for advanced sensors.
_send_setting(*args) Send setting/... commands to the device.
_set_ip(ip) Validate/set the discovered IP; starts the camera receiver on discovery.

Other implementation components:

  • BLEManager (ble.py): scan(), connect(address), disconnect(), send(data), start_notify(callback), and is_connected. These are asynchronous BLE utilities used by the connection manager.
  • BLEApp (ble_gui.py): Tkinter UI for scanning, connecting, provisioning Wi-Fi, and forwarding an IP notification to QuarkyIntellio.
  • CameraStream (stream.py): start(), stop(), and get_frame(); background _receiver() assembles JPEG data packets into decoded OpenCV frames.

Project examples

The following examples were developed around this module. They demonstrate how to combine camera frames with laptop-side inference and device feedback.

Project Main capabilities Run command (when script is present)
Air Harp MediaPipe Hands, virtual musical strings, gesture plucking, speaker tones python Intellio_Air_Harp.py
Eye Gaze & Drowsiness Detection Face/iris landmarks, eye-closure tracking, audio alerts python Intellio_Eye_Gaze_Drowsiness.py
Air Writing Hand landmarks, finger-motion drawing, smoothing python Air_Writing_Intellio.py
Hand Gesture-Controlled LED Matrix Count fingers; choose colors for an external 8x8 RGB matrix python Hand_Gesture_LED.py
Gesture-Controlled Virtual Pet (prototype) Hand-gesture recognition, emotion changes, optional OLED feedback python Intellio_AI_Virtual_Pet_Final.py

The filenames above correspond to example scripts discussed during development; only run names that actually exist in your checkout. Some examples have multiple revisions. They are educational demonstrations and are not safety-certified monitoring systems.

Gesture LED mapping example

Recognized gesture Action
Closed fist / 0 extended non-thumb fingers LEDs off
1 extended finger Red
2 extended fingers Green
3 extended fingers Blue
4 extended fingers Purple

A typical LED action fills the matrix with a single command:

# Run only when the stable gesture changes.
intellio.showpattern1(1, 1, 15, 0, 0, 0)  # red Color Wipe, 0 ms delay

Lightning compatibility note

The hardware-tested development setup required a send-only Lightning request. The earlier uploaded camera.py source used the regular request-response helper and raised WinError 10054 during RGB initialization. In a later local test, replacing _rgb_request() with a send-only command sender allowed the LED matrix to work. Ultrasonic and IR should continue using the original _send() request-response path.

If your checkout still contains the acknowledgment-based _rgb_request, the tested workaround was to replace only that helper inside the QuarkyIntellio class:

def _rgb_request(self, command, *args):
    """Send Lightning command without waiting for a UDP acknowledgment."""
    if not self.ip:
        raise RuntimeError("Intellio is not connected")

    parts = "/".join(str(x) for x in (command, *args))
    packet = ("frame/2/" + parts).encode("utf-8")

    with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock:
        sock.sendto(packet, (self.ip, CONTROL_PORT))

    return "SENT_UNCONFIRMED"

This snippet assumes socket and CONTROL_PORT are already defined at the top of camera.py, as in the shared implementation. It only confirms that the PC sent the packet; it does not prove the device received or executed it. The separate temporary socket also means firmware responses are not collected. This is a device-/firmware-specific compatibility workaround, not a general production guarantee. Do not modify the working _send() method or use this workaround indiscriminately for other sensors. A future release should ideally provide an explicit documented acknowledgment/non-acknowledgment mode and test its behavior against supported firmware.

Avoid calling long-running Rainbow patterns continuously in a live camera loop: pattern execution may block firmware control, and repeated calls can cause sluggish video or lost device commands. Prefer short Color Wipe updates triggered only by confirmed gesture changes.

Troubleshooting

Symptom What to check
ModuleNotFoundError: No module named 'Intellio' Run from repository root, check Intellio/__init__.py, or install the package in editable mode if packaging metadata exists.
No module named 'mediapipe', cv2, or bleak Activate the intended air-env, then install the missing package with python -m pip.
mp.solutions is unavailable Verify the MediaPipe version; the example scripts use mediapipe==0.10.21.
Connection manager opens but no IP appears Check BLE connection, Wi-Fi credentials, compatible Station/AP mode, laptop network, and notifications.
get_frame() returns None Wait for camera stream, check network and UDP 5005, and ensure only one program owns the receiver port.
[WinError 10054] during hardware command Check the board's UDP control service, correct device IP/port, and firmware; the camera stream can work independently of hardware commands.
Ultrasonic/IR works but Lightning errors Check whether the repo uses the tested send-only _rgb_request(); leave general _send() unchanged.
Lightning command prints SENT_UNCONFIRMED but nothing lights Confirm firmware/device receives command, strip initialization, pin mapping, LED type, power supply, data connection, and shared ground.
Rainbow animation appears stuck Animation can be long or blocking; use shorter effects and avoid repeated requests.
OLED reports False Check board firmware's OLED initialization implementation and hardware wiring; a PC-only change may not resolve it.
Video freezes while playing audio Avoid blocking speaker commands on the frame-processing thread; serialize device commands in a worker.
Address already in use on UDP 5005/5007 Close duplicate Python scripts or other processes holding those ports.

Debug from the correct environment

python -c "import sys; print(sys.executable)"
python -m pip list
python camera_test.py

For release issues, capture the exact method call, terminal traceback, Python and dependency versions, firmware revision, and whether camera, ultrasonic, and IR commands still work on the same session. Do not share Wi-Fi passwords, BLE secrets, or sensitive network details in public issues.

Development and release checklist

  • Verify air-env activation and import on a clean Windows development machine.
  • Confirm the README's file names match the published repository contents.
  • Include package metadata and dependency declarations if publishing to PyPI.
  • Test BLE Station/AP setup and camera stream end to end.
  • Re-test ultrasonic and IR methods after any transport change.
  • Test Lightning one-pixel color, matrix clear, and simple Color Wipe with the target firmware; label send-only behavior explicitly.
  • Test speaker, motor/servo, and OLED functions before claiming release support.
  • Validate device power and wiring for external accessories.
  • Add firmware compatibility matrix and accurate product support contacts/links when available.

Intellio Python Module - Build computer-vision and interactive hardware projects using Python, Intellio, and your favorite AI libraries.

Metadata

Release files for quarky-intellio 0.1.0

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

Source distribution (sdist)

Source distribution for quarky-intellio 0.1.0
File Size Uploaded Provenance Actions
quarky_intellio-0.1.0.tar.gz 35.5 kB Without provenance Details for quarky_intellio-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quarky-intellio 0.1.0
File Interpreter ABI Platform Actions
quarky_intellio-0.1.0-py3-none-any.whl Python 3 none any Details for quarky_intellio-0.1.0-py3-none-any.whl

Total release size: 61.7 kB

Release files / quarky_intellio-0.1.0.tar.gz

Download URL quarky_intellio-0.1.0.tar.gz
Size 35.5 kB
Tags Source
SHA-256 checksum
How to use checksums
61a9a354411d9dfed537d6f9d3f9568629339ce339de0ec53a1273b55353c41d
BLAKE2b-256 checksum
How to use checksums
d2346bdbfe5c43a0fa96b9611f7419769924959e06dea74414ba68494a9933d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / quarky_intellio-0.1.0-py3-none-any.whl

Download URL quarky_intellio-0.1.0-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97503d7f602a6fa285423ee11825aa41ee1fa7d25881540d8fcabf83d276be1a
BLAKE2b-256 checksum
How to use checksums
49775fa5c0d25bac4fdcbac887977a59a5b181bd5ab148668650f7c8dc1d01b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Security for quarky-intellio 0.1.0

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.

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