Skip to main content

MSNoise-DB CLI Tool

This is a Python-based command-line interface (CLI) tool for managing a portable postgresql server for MSNoise.

The tool allows you to install, start, stop, create, and drop databases.

Github Action Status

Features

  • Setup PostgreSQL.
  • Start PostgreSQL server in the background (custom port by default 5099, configurable)
  • Stop PostgreSQL server.
  • Create a new database.
  • Drop an existing database.

Prerequisites

  • Python 3.11 or above.
  • click package: Install using conda install -c conda-forge click.
  • postgresql package: Install using conda install -c conda-forge postgresql.

Installation

  1. Install the code

    pip install git+https://github.com/ROBelgium/msnoise-db
    

    if your console doesn't have git, you can access the zip directly:

    pip install https://github.com/ROBelgium/msnoise-db/archive.master.zip
    
  2. Create a new folder to store the database data

Usage

Start a PostgreSQL Server (and set up if not existing)

Start the PostgreSQL server in the background.

msnoisedb start

Stop PostgreSQL Server

Stop the running PostgreSQL server.

msnoisedb stop

Create a New Database

Create a new database.

msnoisedb create-db DATABASE_NAME

Drop an Existing Database

Drop an existing database.

msnoisedb drop-db DATABASE_NAME

List databases

Drop an existing database.

msnoisedb list-db

Configuring an MSNoise project

Create a new project database

msnoisedb create-db test_database

Initialise the db in msnoise:

msnoise db init
Launching the init
Welcome to MSNoise

What database technology do you want to use?
 [1] sqlite
 [2] mysql
 [3] postgresql
Choice: 3
Server: [localhost]: localhost:5099
Database: [msnoise]: test_database
Username: [msnoise]: msnoise
Password (not shown as you type): msnoise
Table prefix: []:
Installation Done! - Go to Configuration Step!

Notes

  • Supported Platforms: The tool is designed to work on Windows, Linux and MacOS platforms.

License

This project is licensed under the EUPL License. See the LICENSE file for more details.

Acknowledgements

  • Click for creating powerful command-line interfaces.

Metadata

Release files for msnoisedb 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for msnoisedb 0.1.4
File Size Uploaded Provenance Actions
msnoisedb-0.1.4.tar.gz 12.9 kB With provenance Details for msnoisedb-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for msnoisedb 0.1.4
File Interpreter ABI Platform Actions
msnoisedb-0.1.4-py3-none-any.whl Python 3 none any Details for msnoisedb-0.1.4-py3-none-any.whl

Total release size: 23.7 kB

Release files / msnoisedb-0.1.4.tar.gz

Download URL msnoisedb-0.1.4.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
87598f73afdb607a0b74062d89cc53cdc4f92e39e2679f62f1b9a47d9a883f25
BLAKE2b-256 checksum
How to use checksums
c457425b6d7a742b2c094371726e1d1ff9dc0ef9090480f8d922cc6692fbb375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / msnoisedb-0.1.4-py3-none-any.whl

Download URL msnoisedb-0.1.4-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8337640dac6245bef69ed1e25c6c2e6dc3c9c4f1ac2ea0aab29aab8c6edd886f
BLAKE2b-256 checksum
How to use checksums
b905979362e5810ae8925c6cd19a1a7258ca41b4800743b263d70420d52f8708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Security for msnoisedb 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for msnoisedb-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page