Skip to main content

The seano command-line interface

Project description

Seano

Seano (a sea of notes) is a primitive, lightweight database that automatically associates records with the Git tags where the records where first created.

Records in a Seano database are Json objects, which are stored on disk as distinct YAML files to improve human-readability. The primary key of the records is an arbitrary string, which is encoded into the filename of the YAML file, and is colloquially referred to as the "note ID". Note IDs are random hex strings by default, but under the hood, they can be pretty much any filesystem-safe string.

Seano is heavily inspired by reno, written by Doug Hellmann at OpenStack, and bears a number of similarities to it. The main difference is that Seano is designed more for general-purpose (though, still lightweight) storage, and concomitantly, is engineered to more easily coexist with third party data formatters.

Testing Locally

Starting from scratch, this is how to set up local unit testing:

# Create and enter a virtual environment:
virtualenv .venv
. .venv/bin/activate

# Install Seano in the virtual environment in "editable mode"
pip install -e .

# Install extra dependencies needed by the unit tests:
pip install -r ci_utest_requirements.txt

Then, going forward, you can run unit tests like this:

pytest

Copyright 2025 Andrew Keller

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Download files

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

Source Distribution

seano_cli-2.0.2.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

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

seano_cli-2.0.2-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

Details for the file seano_cli-2.0.2.tar.gz.

File metadata

  • Download URL: seano_cli-2.0.2.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for seano_cli-2.0.2.tar.gz
Algorithm Hash digest
SHA256 9b7087af568303d95efa127f12948bc6f2b186d7f972162447b35b3568a86b41
MD5 b7965e09b8e2717065dd8d3d6cc991ac
BLAKE2b-256 2a6923ee4d2af4a803a0d2060c986b681471efcf421ed89eecef91f18a8ea519

See more details on using hashes here.

File details

Details for the file seano_cli-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: seano_cli-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 50.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for seano_cli-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c66ebdd03d27727bf8886246d00ce056bcca1085ea1df44e91292c7431bd796d
MD5 704889c9775d7d9ff7d85787ede49eb3
BLAKE2b-256 5d079023c51562a4ff7734c9bc5fe74804bb27ff1a052c418d30912722a30d01

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