Skip to content

v0.1.113

Choose a tag to compare

@LayerDynamics LayerDynamics released this 01 May 00:16
· 3 commits to main since this release

Scriptic 0.1.113 - minor updates

🚀 Overview

We're excited to announce the initial release of Scriptic, a minimalist embeddable Python REPL designed for seamless integration into Python applications. Scriptic provides a lightweight, zero-dependency solution for adding interactive shell capabilities to your projects.

✨ Key Features

  • Minimalist Design: Zero external dependencies for easy integration
  • Multi-line Support: Seamlessly handle multi-line Python code input
  • Context Injection: Inject variables and functions into the REPL context
  • Custom Commands: Register your own commands with the %command syntax
  • Command History: Built-in command history with persistence
  • Tab Completion: Smart completion for variables, commands, and Python builtins

📋 Included Commands

  • %help - Display available commands and their usage
  • %exit - Exit the REPL
  • %vars - Display all variables in the current context
  • %reset - Reset or clear variables from the context
  • %run - Execute a Python script file
  • %load - Load a Python script file into the REPL
  • %history - View, clear, save or load command history
  • %debug - Enter the Python debugger (pdb)

💻 Installation

pip install scriptic

🔧 Basic Usage

from scriptic import Scriptic

# Create a REPL with custom context
context = {"greeting": "Hello, World!"}
repl = Scriptic(context)
repl.run()

📚 Documentation

Full documentation is available at our GitHub repository.

🧪 Test Coverage

This release includes comprehensive test coverage (>97%) ensuring reliability and stability.

🔜 Coming Soon

  • Additional customization options
  • Enhanced tab completion
  • More built-in commands
  • Improved error handling and debugging tools

🙏 Feedback

We welcome your feedback, bug reports, and feature requests! Please submit issues and pull requests on GitHub.


Scriptic is licensed under the MIT License