Skip to main content

A extension manager for PostgreSQL

Project description

Mangrove - A PostgreSQL Extension Manager

This is a PostgreSQL extension manager, a command-line tool to download and install PostgreSQL extensions. You can download extension supported by PGXN or Mangrove Index.

Installation

Mangrove is available on Github, AtomGIT, and PyPI. It can be installed via pip

pip3 install magv

Then execute python3 -m magv' and sudo python3 -m magv` to perform initialization. You shall see a warning message in your console after initialization.

WARNING: YOU SHOULD CHANGE YOUR CONFIGURE FILE MANUALLY AT ~/.magv/config.json TO USE MANGROVE

Upgrading

You may upgrade mangrove by running pip3 install magv --upgrade. But if you are using PyPI mirror you might NOT get the latest version.

Usage

Tips: You can find the usage of magv by executing magv -h

Searching

python3 -m magv -s/--search [extension]

This command returns a list of extensions which names contains [extension].

e.g. search_eg

Downloading

python3 -m magv -d/--download [extension]

Similar to searching command, this function also gives you a list of extensions, then you'll be asked to specify which version to download. Downloaded file is stored in ~/.magv/

Installing

sudo python3 -m magv -i/--install [extension]

This function does pretty much the same job as downloading function, but it automatically install the extension. (However, you'll need to install all required library manually)

Don't forget to run install with sudo! Although you can do so you'll receive a warning message.

e.g.

installeg installeg2

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

magv-0.1.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

magv-0.1.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file magv-0.1.3.tar.gz.

File metadata

  • Download URL: magv-0.1.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for magv-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e0210d1e4b3a87c6d0fbfcf75a16e19a131bc848203093a92e05570c4a2c93f6
MD5 e08ff2fd4b54b9d360e1dcaaf76e90cc
BLAKE2b-256 afb66c6eb43f23ec62305a9ce30102d675fe3bfd73f2828853348c1343b36c25

See more details on using hashes here.

File details

Details for the file magv-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: magv-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for magv-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78b78be9af107be552e0be78009ba2900abec3b8c7ec59b2a203a7bc6881c0e7
MD5 cd21c1396a51eac1563d2f938526b3de
BLAKE2b-256 4b72f454e19ca66e875398833d9e310c0cf03660e04d573ab96cbbe0a23fb37f

See more details on using hashes here.

Supported by

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