Skip to main content

An interface to CasJobs for Humans.

Project description

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

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

casjobs-0.0.2.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file casjobs-0.0.2.tar.gz.

File metadata

  • Download URL: casjobs-0.0.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for casjobs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dd70b1838fd64f433de794a43130adcefff70a587f2e712ef3ce442f04716e7e
MD5 499386f05de895b7bde76ccb13b57ece
BLAKE2b-256 c7a9924a360728676b29e0ed680c4c999770a1926785df1416f790d574c0bb3b

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