Importspy

Latest version: v0.2.1

Safety actively analyzes 714668 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.7

Not secure
ersion v0.1.7 brings significant improvements and optimizations to **ImportSpy**, including code restructuring, documentation enhancements, and new usage examples to streamline the adoption of the package.

---

Key Highlights

- **Documentation Improvements:**
- The README has been converted to `.rst` format for better compatibility with **Sphinx**.
- New usage examples have been added to demonstrate how to use **ImportSpy** in modular systems and plugin-based architectures.
- Documentation has been updated to version 0.1.7, including enhanced API references for better understanding.

- **Code Refactoring:**
- Code has been reorganized to improve readability and maintainability.
- Docstrings have been enhanced to adhere to Python and Sphinx standards, making it easier to automatically generate documentation.
- Removed outdated examples and migrated the README to `.rst` format.

- **New Import Validation Example:**
- A complete new example demonstrates how **ImportSpy** can enforce rules on modules importing your code.
- This example includes both rule definitions in `developer_code.py` and the implementation of those rules in `importing_module.py`.

---

How to Upgrade

To upgrade to the latest version of **ImportSpy**, run the following command:

bash
pip install --upgrade importspy

0.1.6

Not secure
This release introduces significant improvements to ImportSpy:

- **SpyModel with Pydantic**: Enhanced validation using Pydantic for structured module metadata (filenames, versions, functions, classes).
- **Refactored Module Utilities**: Improved clarity and reorganization of utilities for module inspection and validation.
- **PluginSpy Enhancements**: Added functionality for better plugin and extension management.
- **Comprehensive Tests**: Expanded test coverage, including new validations and logging improvements.
- **Documentation Updates**: Improved examples, docstrings, and integration documentation.

This update focuses on better validation, clearer utilities, and enhanced testing.

0.1.5

Not secure
This release focuses on improving the documentation for ImportSpy:

- Enhanced the initial description in README to provide a more comprehensive overview of ImportSpy's core features, including dynamic imports, plugin isolation, validation, and proactive integration.
- Updated the example.rst documentation to better reflect ImportSpy's capabilities in managing plugin-based architectures and ensuring modularity and security.
- These changes improve overall clarity and better communicate ImportSpy's strengths to developers.

No major code changes in this release, primarily focused on documentation updates.

0.1.4

Not secure
- **Enhanced Import Analysis**: Provides deeper insights into your Python module imports, with improved accuracy and reporting.
- **Performance Improvements**: Optimized tracking mechanisms for faster and more efficient module inspection.
- **Bug Fixes**: Resolved various minor bugs to ensure a smoother experience.
- **Extended Compatibility**: Improved compatibility with different Python environments and module structures.

This release is a major step towards making ImportSpy more accessible to an international audience, and we are continuously working to improve its features and capabilities. We welcome feedback from the community to help make the tool even better.

Feel free to explore, contribute, or open issues if you encounter any problems.

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.