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
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.1.tar.gz
(5.0 kB
view details)
File details
Details for the file casjobs-0.0.1.tar.gz.
File metadata
- Download URL: casjobs-0.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02cc7ee58aeba4d246a8623980ab249fb271360427308c2846b7a422c1613171
|
|
| MD5 |
a12c6460dc5385415a0e3e95ff0d01c0
|
|
| BLAKE2b-256 |
4bf3891cb50db8e830752130dea72c26ba70fc54793d6ae0f4cd4de8e9f25cf6
|