Skip to main content

An API to talk to Spine databases.

Project description

Spine Database API

Documentation Status Unit tests codecov PyPI version

A Python package to access and manipulate Spine databases in a customary, unified way.

License

Spine Database API is released under the GNU Lesser General Public License (LGPL) license. All accompanying documentation and manual are released under the Creative Commons BY-SA 4.0 license.

Getting started

Installation

To install the package run:

$ pip install spinedb_api

To upgrade to the most recent version, run:

$ pip install --upgrade spinedb_api

You can also specify a branch, or a tag, for instance:

$ pip install spinedb_api==0.12.1

To install the latest development version use the Git repository url:

$ pip install --upgrade git+https://github.com/spine-tools/Spine-Database-API.git

Building the documentation

Source files for the documentation can be found in docs/source directory. In order to build the HTML docs, you need to install the developer dependencies by running:

$ pip install -r dev-requirements.txt

This installs Sphinx (among other things), which is required in building the documentation. When Sphinx is installed, you can build the HTML pages from the source files by running:

> bin\build_doc.bat

or

$ bin/build_doc.py

depending on your operating system.

After running the build, the index page can be found in docs/build/html/index.html.

 


EU emblem This project has received funding from European Climate, Infrastructure and Environment Executive Agency under the European Union’s HORIZON Research and Innovation Actions under grant agreement N°101095998.
EU emblem This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 774629.

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

spinedb_api-0.31.4.tar.gz (337.5 kB view details)

Uploaded Source

Built Distribution

spinedb_api-0.31.4-py3-none-any.whl (237.2 kB view details)

Uploaded Python 3

File details

Details for the file spinedb_api-0.31.4.tar.gz.

File metadata

  • Download URL: spinedb_api-0.31.4.tar.gz
  • Upload date:
  • Size: 337.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for spinedb_api-0.31.4.tar.gz
Algorithm Hash digest
SHA256 30eab12cb5150ff0f1c2b36e5bf0d1467a7211878856039c6389951bc4c56fa8
MD5 48b6e67d7f30d2b0a3442b98251c420a
BLAKE2b-256 7987f4e02d116c7d3e6389b5e61f38b0e758679035855619eeb2e8334ef90070

See more details on using hashes here.

File details

Details for the file spinedb_api-0.31.4-py3-none-any.whl.

File metadata

  • Download URL: spinedb_api-0.31.4-py3-none-any.whl
  • Upload date:
  • Size: 237.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for spinedb_api-0.31.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c161c5d56f6762abe0fe4957b0f3bc49bf3ec0b63f9d45ce5ed58c53a65ef4e
MD5 1fc4ce30a0a110b6bcb09f2c75c3e6fe
BLAKE2b-256 8e383bc0fe4b08427620c85251b8221a0e71a48427c1a8f8fc6d6080394c523a

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