skip to navigation
skip to content

Not Logged In

casjobs 0.0.1

An interface to CasJobs for Humans.

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

 
File Type Py Version Uploaded on Size
casjobs-0.0.1.tar.gz (md5) Source 2012-11-15 4KB
  • Downloads (All Versions):
  • 50 downloads in the last day
  • 274 downloads in the last week
  • 635 downloads in the last month