
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
A proprietary service for securely interacting with databases, APIs, and other services within a secure environment. Visit https://insyt.co for more information.
# Basic installation (core functionality only)
pip install insyt-secure
Insyt Secure provides flexible installation options to include only the dependencies you need:
# Install with PostgreSQL support
pip install "insyt-secure[postgres]"
# Install with MongoDB support
pip install "insyt-secure[mongodb]"
# Install with multiple database support
pip install "insyt-secure[postgres,mongodb,redis]"
# Install with vector database support
pip install "insyt-secure[pinecone]" # or any other vector DB
# Install with cloud provider support
pip install "insyt-secure[aws]" # or azure
# Install with messaging system support
pip install "insyt-secure[kafka]" # or rabbitmq, pulsar
# Complete installation with all dependencies
pip install "insyt-secure[all]"
Available extension categories:
postgres
, mysql
, mssql
, oracle
, clickhouse
, snowflake
, duckdb
mongodb
, redis
, cassandra
, neo4j
, elasticsearch
, couchdb
pinecone
, qdrant
, milvus
, weaviate
, chroma
, faiss
aws
, azure
kafka
, pulsar
, rabbitmq
Broader categories are also available: rdbms
, nosql
, vector
, cloud
, messaging
# Run with a single project
insyt-secure --projects "your-project-id-123:your-api-key-xyz"
Insyt Secure supports managing one or more projects simultaneously:
# Run with multiple projects
insyt-secure --projects "project-id-1:api-key-1,project-id-2:api-key-2"
Each project connection is managed independently, allowing for simultaneous interactions with multiple Insyt projects, each with its own topic subscriptions and credential management.
# View all available options and examples
insyt-secure --help
The help command provides detailed information about all parameters, their defaults, and usage examples directly in your terminal.
# Run with all options (for a single project)
insyt-secure \
--projects "your-project-id-123:your-api-key-xyz" \
--max-workers 10 \
--execution-timeout 60 \
--allowed-ips "192.168.1.1,10.0.0.1:3456"
By default, logs are user-friendly and redact sensitive information. You can customize logging behavior:
# Enable more detailed debug logs
insyt-secure --projects "your-project-id:your-api-key" --debug
# Show more verbose logs including from third-party libraries
insyt-secure --projects "your-project-id:your-api-key" --verbose
# Output logs in JSON format (useful for log processing systems)
insyt-secure --projects "your-project-id:your-api-key" --json-logs
# Disable redaction of sensitive information (not recommended for production)
insyt-secure --projects "your-project-id:your-api-key" --show-sensitive
You can also control the log level via environment variables:
# Set log level using environment variable
INSYT_LOG_LEVEL=DEBUG insyt-secure --projects "your-project-id:your-api-key"
# Configure projects using environment variable (optional alternative to --projects)
INSYT_PROJECTS="project-id-1:api-key-1,project-id-2:api-key-2" insyt-secure
Insyt Secure is designed to work seamlessly on all major platforms:
The service uses paho-mqtt with a platform-agnostic implementation to ensure consistent behavior across all operating systems.
Parameter | Description | Default |
---|---|---|
--projects | Comma-separated list of project-id:api-key pairs for managing one or more projects | - |
--max-workers | Maximum number of concurrent code executions per project | 5 |
--execution-timeout | Default maximum execution time in seconds per code snippet | 30 |
--allowed-ips | Comma-separated list of allowed IPs/hostnames | All allowed |
--verbose | Enable more verbose logs | False |
--debug | Enable debug level logging | False |
--json-logs | Output logs in JSON format | False |
--show-sensitive | Show sensitive information in logs | False |
This service automatically retrieves and manages connection credentials:
Insyt Secure supports managing one or more projects simultaneously:
You can configure projects in two ways:
Command line parameter:
insyt-secure --projects "project-id-1:api-key-1,project-id-2:api-key-2"
Environment variable:
export INSYT_PROJECTS="project-id-1:api-key-1,project-id-2:api-key-2"
insyt-secure
You can also use the project management programmatically:
from insyt_secure.project_manager import ProjectManager
import asyncio
async def run_projects():
manager = ProjectManager()
# Add one or more projects
await manager.add_project("project-id-1", "api-key-1", "https://api.account.insyt.co/")
await manager.add_project("project-id-2", "api-key-2", "https://api.account.insyt.co/")
# Start the manager
await manager.start()
# Keep the service running
while True:
await asyncio.sleep(60)
if __name__ == "__main__":
asyncio.run(run_projects())
Perfect for running data transformation code that connects to various data sources:
insyt-secure --projects "your-project-id:your-api-key" --max-workers 15
Create a sandboxed environment with restricted network access:
insyt-secure --projects "your-project-id:your-api-key" \
--allowed-ips "10.0.0.1,192.168.1.100" --execution-timeout 20
Run a single service that executes code for multiple projects:
insyt-secure --projects "PRJ-A235466:api-key-1,PRJ-A235477:api-key-2,ai-models:api-key-3" \
--max-workers 10 --execution-timeout 60
docker run -d --name insyt-secure \
insyt-secure insyt-secure \
--projects "your-project-id:your-api-key"
Insyt Secure is designed with a modular dependency structure to minimize installation size and resource usage. Below is a breakdown of what's included in each installation option:
The base installation includes:
httpx
paho-mqtt
postgres
: High-performance PostgreSQL client (asyncpg)mysql
: MySQL client librariesmssql
: Microsoft SQL Server connectivityoracle
: Oracle database connectivityclickhouse
: ClickHouse analytics database clientsnowflake
: Snowflake data warehouse clientduckdb
: Embedded analytical databasemongodb
: MongoDB client with async supportredis
: Redis clientcassandra
: Apache Cassandra and ScyllaDB clientsneo4j
: Neo4j graph database clientelasticsearch
: Elasticsearch search engine clientcouchdb
: CouchDB document database clientpinecone
: Pinecone vector database clientqdrant
: Qdrant vector search engine clientmilvus
: Milvus vector database clientweaviate
: Weaviate vector search enginechroma
: ChromaDB for AI embeddingsfaiss
: Facebook AI Similarity Searchaws
: AWS SDK (boto3) with S3, Dynamo, etc.azure
: Azure clients for Cosmos DB, Blob Storage, etc.kafka
: Apache Kafka clientpulsar
: Apache Pulsar clientrabbitmq
: RabbitMQ clientThe base installation already includes the core ML libraries (numpy, pandas, etc.). If you're installing on a resource-constrained environment, consider using only the specific connector extensions you need rather than the broader categories.
For production deployments, we recommend specifying exact dependencies rather than using broader categories:
# Good (minimal dependencies)
pip install "insyt-secure[postgres,redis]"
# Less efficient (pulls in many unused dependencies)
pip install "insyt-secure[rdbms,nosql]"
Insyt Secure is designed to work on all major platforms without modification:
# Install on Windows
pip install insyt-secure
# Run (in PowerShell or Command Prompt)
insyt-secure --projects "your-project-id-123:your-api-key-xyz"
# Install on macOS/Linux
pip install insyt-secure
# Run
insyt-secure --projects "your-project-id-123:your-api-key-xyz"
# Create a simple Dockerfile
echo 'FROM python:3.10-slim
RUN pip install insyt-secure
ENTRYPOINT ["insyt-secure"]' > Dockerfile
# Build the Docker image
docker build -t insyt-secure .
# Run in Docker
docker run insyt-secure --projects "your-project-id-123:your-api-key-xyz"
Follow these steps to set up insyt-secure on a fresh Ubuntu installation:
# Step 1: Install required packages
sudo apt update
sudo apt install python3-pip
sudo apt install python3-venv python3-full
# Step 2: Create a directory for your project (optional)
mkdir myproject
cd myproject
# Step 3: Create the virtual environment
python3 -m venv venv
# Step 4: Activate the virtual environment
source venv/bin/activate
# Your command prompt should change to show the virtual environment name
# Example: (venv) ubuntu@ip-100-1-11-111:~/myproject$
# Step 5: Install insyt-secure with desired extensions
pip install insyt-secure[mysql,postgres]
pip install python-dotenv
Notes:
insyt-secure --projects "your-project-id-123:your-api-key-xyz"
or run the service in the background:
nohup insyt-secure --projects "your-project-id-123:your-api-key-xyz" &
source venv/bin/activate
deactivate
pkill -f insyt-secure
ps aux | grep insyt-secure
FAQs
A proprietary service for secure database and API interactions
We found that insyt-secure demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.