🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

selectic-py

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selectic-py

0.1.0
PyPI
Maintainers
1

selectic-py

Python bindings for the selectic Rust library, providing cross-platform access to user selections.

Installation

pip install selectic

Or install from source:

git clone https://github.com/zibo-chen/selectic-py.git
cd selectic-py
pip install -e .

Requirements

  • Python 3.7+
  • Rust compiler (for installation from source)
  • setuptools-rust (for installation from source)

Usage

Getting the Current Selection

import selectic_py

try:
    # Get the currently selected text
    text = selectic_py.get_text()
    print(f"Selected text: {text}")
except Exception as e:
    print(f"Error getting text: {e}")

License

This project is licensed under the MIT License - see the LICENSE file for details

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