Skip to main content

A terminal-based Magento configuration management tool

Project description

Magento Config Tool 🛠️

A Python terminal-based Magento configuration management tool that allows users to search, edit, and manage Magento's core_config_data table using a curses-based CLI UI.

🚀 Features

Search by Path – Find Magento configurations by their path.
View All Records – Paginated list of core_config_data entries.
Edit Configuration by ID – Modify values in core_config_data.
View Database Configuration – Fetch DB settings from env.php.
Curses-Based UI – Keyboard-friendly navigation.


📦 Installation

1️⃣ Install via pip (from PyPI)

Once published, you can install it via:

pip3 install mage-conf

1️⃣ Install via pip (from Git)

pip3 install https://github.com/Genaker/magento-config-tool

2️⃣ Install from Source

If installing from a local clone:

git clone https://github.com/yourusername/magento-config-tool.git
cd magento-config-tool
pip3 install --editable .

🛠 Usage

Run the tool

After installation, run:

mage-conf

Keyboard Shortcuts

  • Arrow Keys ( ) – Navigate the menu.
  • Enter () – Select an option.
  • ESC () – Exit to the main menu.

📂 Commands & Functionality

Feature Description
Search by Path Search for records in core_config_data by path.
Show All Records Displays a paginated list of all configuration records.
Edit by ID Edit any configuration value by entering its ID.
View DB Config Reads and displays Magento's DB credentials from env.php.
Exit Quit the application (ESC key).

⚙️ How It Works

1️⃣ Read Magento DB Configuration

The tool automatically fetches database credentials from:

app/etc/env.php

2️⃣ Connect to Magento Database

It connects using SQLAlchemy and MySQL Connector.

3️⃣ Perform Queries on core_config_data

  • Searches by path
  • Lists all records with pagination
  • Allows editing values

🏗 Development

Clone and Run Locally

git clone https://github.com/yourusername/magento-config-tool.git
cd magento-config-tool
pip3 install --editable .
mage-conf

Build and Publish to PyPI

python3 setup.py sdist bdist_wheel
pip3 install twine
twine upload dist/*

📝 License

This project is open-source and licensed under the MIT License.


👨‍💻 Contributions & Support

💡 Have ideas or found an issue?
Feel free to open an issue or submit a pull request on GitHub!

🔗 GitHub Repository: yourusername/magento-config-tool


🚀 Now you can manage Magento configs right from your terminal using Python! 🔥

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magento-config-tool-1.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

magento_config_tool-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file magento-config-tool-1.0.0.tar.gz.

File metadata

  • Download URL: magento-config-tool-1.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for magento-config-tool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1ab3347dd707bfeade401f7b870c65439f360bd3920318c44f9a4bfcd2df7e2d
MD5 93fc698d9123992d9190646624bc6138
BLAKE2b-256 266c1a3c01a0c769eade2bd2bff67e47a482f66cb34ad51ce91e68d5b59c43d3

See more details on using hashes here.

File details

Details for the file magento_config_tool-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for magento_config_tool-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5a3895c379bf794cc5a213cda1ebcf13e81e406162fa8b37326555f4357bcd3
MD5 4fc92c58b767bce55b74be2fa176d584
BLAKE2b-256 d75c49f6191a88c45dbd203bf74d097070fe5cf8d0914f38df5b3f8975351823

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page