Skip to main content

This basically does the same thing as python-casjobs but it only depends on Requests which makes it more useful in my opinion.

Usage

Install it:

pip install casjobs

Here’s how you might get the fields in Stripe 82 that hit the Pisces overdensity:

import casjobs

query = """SELECT *
INTO mydb.pisces2
FROM Stripe82..Field AS p
WHERE p.mjd_g > 0 AND p.ramin < 355 AND p.ramax > 355
"""

jobs = CasJobs()
job_id = jobs.submit(query)
status = jobs.monitor(job_id)
print status

License

MIT

Metadata

Release files for casjobs 0.0.2

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

Source distribution (sdist)

Source distribution for casjobs 0.0.2
File Size Uploaded Provenance Actions
casjobs-0.0.2.tar.gz 6.4 kB Without provenance Details for casjobs-0.0.2.tar.gz

Release files / casjobs-0.0.2.tar.gz

Download URL casjobs-0.0.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dd70b1838fd64f433de794a43130adcefff70a587f2e712ef3ce442f04716e7e
BLAKE2b-256 checksum
How to use checksums
c7a9924a360728676b29e0ed680c4c999770a1926785df1416f790d574c0bb3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Security for casjobs 0.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.0.2 This release

1 release file No 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