Skip to main content

SDSS product for database management

Project description

sdssdb

Versions Documentation Status Test

SDSS product for database management.

Useful links

Installation

To install sdssdb for regular usage, from PyPi,

pip install sdssdb

Developer Install

git clone https://github.com/sdss/sdssdb
cd sdssdb
uv sync --python 3.12 --locked

This only installs the dependencies needed to run the code. For development, you can install extra dependencies needed for building docs or running tests with the --all-groups keyword.

uv sync --all-groups --python=3.12 --locked

If you don't have uv installed, you can install directly with pip:

git clone https://github.com/sdss/sdssdb
cd sdssdb
pip install -e .

Building Sphinx Docs locally

Within the sdssdb directory, run

sdss docs.build

To have the docs autobuild and watch for changes, use nox. To build and run the local docs server, run

nox

This will start a local docs server on a random port. You should see something like,

[sphinx-autobuild] Serving on http://127.0.0.1:54429
[sphinx-autobuild] Waiting to detect changes...

It should open the site automatically in a new browser window. If 127.0.0.1:[port] fails to load, try localhost:[port].

How to use

    >>> from sdssdb.peewee.sdss5db import catalogdb
    >>> targets = catalogdb.GaiaDR2Source.select().where(catalogdb.GaiaDR2Source.phot_g_mean_mag < 15)

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

sdssdb-1.1.1.tar.gz (177.9 kB view details)

Uploaded Source

Built Distribution

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

sdssdb-1.1.1-py3-none-any.whl (208.0 kB view details)

Uploaded Python 3

File details

Details for the file sdssdb-1.1.1.tar.gz.

File metadata

  • Download URL: sdssdb-1.1.1.tar.gz
  • Upload date:
  • Size: 177.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sdssdb-1.1.1.tar.gz
Algorithm Hash digest
SHA256 df86f592f05b7f186e74cf68bd4f52f4491a69c976f967ec2d5661deda522b16
MD5 14a47cba1271025b11f6e663529eb533
BLAKE2b-256 f4401754d39949d42fcd5a35a95455b03cc0df8844c807df9ea71fd09b238d6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdssdb-1.1.1.tar.gz:

Publisher: release.yml on sdss/sdssdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sdssdb-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: sdssdb-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 208.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sdssdb-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97108092494354903d4ac164306c79da44317517a5d9aa03f30ff4d0ec265dcd
MD5 193f2553f2c32c1f1cb2d56c6668a129
BLAKE2b-256 ffb5b32dad30ceb07e810cc85065c1ae914772fb29309a06e4253f0df6e3d344

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdssdb-1.1.1-py3-none-any.whl:

Publisher: release.yml on sdss/sdssdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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