Skip to main content

Metadata model management module.

Project description

metacatalog

PyPI version Dev status codecov DOI

CI Status
Unit tests e2e Test
Documentation Documentation
Deployment Upload Python Package

Management tool for the V-FOR-WaTer metadata database application. Although developed in and for the V-FOR-WaTer project, metacatalog is a standalone database application, that can be used on its own.

Docs

The full documentation is available at: https://vforwater.github.io/metacatalog

Installation description is given at: https://vforwater.github.io/metacatalog/home/install.html

Quickstart

Install metacatalog:

pip install metacatalog

With a Postgis database called metacatalog installed at localhost:5432 you can store a default connection like: Be aware that any password saved along with the default connection is saved in clear-text!!

metacatalog connection --save postgresql://postgres:<masterpassword>@localhost:5432/metacatalog

Refer to the connection documentation to learn about all possibilities to connect to a database.

The database table can be installed and populated like:

metacatalog init -C postgresql://postgres:<password>@localhost:5432/metacatalog

And now you can use the database via:

Using metacatalog on Windows

On one of my Windows systems the setuptools scripts does not get recognized properly and thus the CLI does not work properly if not called by full path. Therefore with version 0.1.4 the CLI is implemented the module main entrypoint. Wherever the docs call the metacatalog script, you can use the module, like:

Instead of:

metacatalog [options] <commad>

you can use:

python -m metacatalog [options] <command>

This should work cross-platform. Tested on Ubuntu 18, debian 9, Windows 7 and Windows 10.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

metacatalog-0.9.1.tar.gz (267.1 kB view hashes)

Uploaded Source

Built Distribution

metacatalog-0.9.1-py3-none-any.whl (304.5 kB view hashes)

Uploaded Python 3

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