SDSS product for database management
Project description
sdssdb
SDSS product for database management.
Useful links
- GitHub: https://github.com/sdss/sdssdb
- Documentation: https://sdssdb.readthedocs.org
- Issues: https://github.com/sdss/sdssdb/issues
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdssdb-1.1.0.tar.gz.
File metadata
- Download URL: sdssdb-1.1.0.tar.gz
- Upload date:
- Size: 177.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee34bbd780d5fff0b70dff06d9be65168d42097b1a3589a9ff10d41d035cc5e2
|
|
| MD5 |
c68cda40d9eaf37d411d16e3fe0dc511
|
|
| BLAKE2b-256 |
0bbf9217ebf336d689f8c5b2364830e415956ce9f09a25ea841265d28a38bf74
|
Provenance
The following attestation bundles were made for sdssdb-1.1.0.tar.gz:
Publisher:
release.yml on sdss/sdssdb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdssdb-1.1.0.tar.gz -
Subject digest:
ee34bbd780d5fff0b70dff06d9be65168d42097b1a3589a9ff10d41d035cc5e2 - Sigstore transparency entry: 1474015113
- Sigstore integration time:
-
Permalink:
sdss/sdssdb@8456b349edc29139793af61975ce1dd186932c0c -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/sdss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8456b349edc29139793af61975ce1dd186932c0c -
Trigger Event:
push
-
Statement type:
File details
Details for the file sdssdb-1.1.0-py3-none-any.whl.
File metadata
- Download URL: sdssdb-1.1.0-py3-none-any.whl
- Upload date:
- Size: 207.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d3b8de884da9c2b8201cae5b65f8f559e03c87e4ce35a9f8aa68d1836ebeaac
|
|
| MD5 |
e154b5ce9c93447ecab5de87d4881dae
|
|
| BLAKE2b-256 |
3d06a6a613db08a401abe459961306f65f62682cacaf9f9d65927847c4e414ea
|
Provenance
The following attestation bundles were made for sdssdb-1.1.0-py3-none-any.whl:
Publisher:
release.yml on sdss/sdssdb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdssdb-1.1.0-py3-none-any.whl -
Subject digest:
6d3b8de884da9c2b8201cae5b65f8f559e03c87e4ce35a9f8aa68d1836ebeaac - Sigstore transparency entry: 1474015171
- Sigstore integration time:
-
Permalink:
sdss/sdssdb@8456b349edc29139793af61975ce1dd186932c0c -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/sdss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8456b349edc29139793af61975ce1dd186932c0c -
Trigger Event:
push
-
Statement type: