fastpluggy-git-module-manager

No description available

v0.1.0
0 downloads this week
Latest version
Requires Python >=3.8
by FastPluggy Team

Quick Install

pip install fastpluggy-git-module-manager
Or with specific version:
pip install fastpluggy-git-module-manager==0.1.0

Git Module Manager Plugin

This plugin is responsible for managing Git operations for FastPluggy modules and plugins. It provides functionality for installing, updating, and checking for updates of plugins from Git repositories.

Migration Plan

This document outlines the plan for migrating Git module management functionality from the FastPluggy core to this plugin.

Migration Tasks

  • [x] Create basic plugin structure
  • [x] Create src directory
  • [x] Create __init__.py files
  • [x] Create plugin.py with plugin definition

  • [x] Move Git tools from core

  • [x] Move GitInfo class from core/tools/git_tools.py
  • [x] Move is_git_installed() function
  • [x] Move get_git_versions() function
  • [x] Move get_git_info_for_module() function

  • [x] Move Git installer from core

  • [x] Move GitPluginInstaller class from core/plugin/installer/git_installer.py
  • [x] Adapt to work as a plugin

  • [x] Move repository functions

  • [x] Move save_or_update_plugin_git_info() function from core/plugin/repository.py
  • [x] Move ModuleRepository class from core/models.py

  • [x] Create API endpoints in the plugin

  • [x] Create endpoint for installing plugins from Git
  • [x] Create endpoint for updating plugins from Git
  • [x] Create endpoint for checking for updates

  • [ ] Update core to use the plugin

  • [ ] Modify PluginInstaller class to use the plugin instead of direct Git functionality
  • [ ] Update update_plugin_from_git action to use the plugin
  • [ ] Remove Git-related code from core

  • [x] Add database models to the plugin

  • [x] Move ModuleRepository class from core/models.py
  • [x] Ensure compatibility with existing database schema

  • [ ] Test the migration

  • [ ] Test installing plugins from Git
  • [ ] Test updating plugins from Git
  • [ ] Test checking for updates
  • [ ] Ensure backward compatibility

Implementation Details

Plugin Structure

The plugin will have the following structure:

git_module_manager/
├── README.md
└── src/
    ├── __init__.py
    ├── plugin.py
    ├── git_tools.py
    ├── git_installer.py
    ├── repository.py
    ├── models.py
    └── routers/
        ├── __init__.py
        └── actions.py

Dependencies

The plugin will require the following dependencies:
- GitPython

Integration Points

The plugin will integrate with the core through:
1. Plugin registration
2. API endpoints
3. Dependency injection

Backward Compatibility

To ensure backward compatibility:
1. The plugin will provide the same API as the core Git functionality
2. The core will delegate to the plugin when Git operations are requested
3. Existing database records will be preserved

No Changelog Available

This plugin does not have a Changelog file or it could not be extracted from the package.

fastpluggy-git-module-manager API

API documentation for this plugin is not available.

Package Analysis

Last analysis performed: 2025-07-20 00:30:33

✓ Valid Entry Point

This plugin has a valid entry point:
git_module_manager = fastpluggy_plugin.git_module_manager.plugin:GitModuleManagerPlugin

Issues Found

Issues were found during analysis, but details are not available.

v0.1.1

v0.1.0

Latest

Plugin Information

Name
fastpluggy-git-module-manager
Version
0.1.0
Entry Point
fastpluggy_plugin.git_module_manager.plugin:GitModuleManagerPlugin
Python
>=3.8
Status
Community

Dependencies

fastpluggy
Core framework
Framework
fastapi
Web framework
Web
sqlalchemy
ORM library
Database
pydantic
Data validation
Validation
jinja2
Template engine
Templates
PyJWT
JWT implementation
Authentication
bcrypt
Password hashing
Security
python-jose
JOSE implementation
Security
passlib
Password hashing library
Security
python-multipart
Form data parsing
Web
aiofiles
Asynchronous file operations
I/O
requests
HTTP client
Web
httpx
Async HTTP client
Web
uvicorn
ASGI server
Web
pytest
Testing framework
Testing
python-socketio[client]
Python Socket.IO client plugin
WebSocket
FastPluggy
Core framework for plugin-based Python applications
Framework
websockets
Library for building WebSocket servers and clients in Python
WebSocket
faster_whisper
None
GitPython
None
gpiozero
None
fastpluggy-ui-tools
UI components and developer tools for building FastPluggy-based interfaces
UI
loguru
Simple yet powerful logging library for Python applications
Logging
alembic
Lightweight database migration tool for SQLAlchemy applications
Database migration
fastpluggy-crud-tools
Automatic CRUD endpoint generation tools for FastPluggy projects
Utilities
psutil
Cross-platform library for retrieving information on running processes and system utilization
System monitoring
babel
Comprehensive i18n and localization library for Python
Internationalization
redis
Python client for the Redis key–value store
Cache/Database
pympler
Development utilities to measure, monitor and analyze Python object memory usage
Profiling
tomli
TOML parser for Python
Parsing
questionary
Interactive command-line user prompts
CLI prompts
ollama
Python client for managing Ollama local large language models
AI/LLM
prometheus-fastapi-instrumentator
Prometheus metrics instrumentation for FastAPI applications
Monitoring
prometheus_client
Official Prometheus instrumentation client for Python
Monitoring

Download Statistics

0
Weekly
0
Monthly
0
Total

Download Frequency: No downloads yet
Average Per Day: 0.0 downloads
Last Download: Never
Yearly Estimate: 0 downloads
0% estimated growth rate based on 16 days of data