Skip to content

Python API for the EAGLE cosmological simulation database.

License

Notifications You must be signed in to change notification settings

kyleaoman/eagleSqlTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eagleSqlTools

Utility to access the EAGLE public database using python. Based on the original verison by John Helly. Modified to support Python 3 as well as Python 2.

Installation:

From PyPI:

  • Simply run pip install eaglesqltools.
  • Launch python; you should be able to do import eagleSqlTools.

From github:

  • Download via web UI, or git clone https://github.com/kyleaoman/eagleSqlTools.git
  • Install dependencies if necessary (see setup.py).
  • Global install (Linux):
    • cd to directory with setup.py
    • run sudo pip install -e . (-e installs via symlink, so pulling repository will do a 'live' update of the installation)
  • User install (Linux):
    • cd to directory with setup.py
    • ensure ~/lib/python3.6/site-packages or similar is on your PYTHONPATH (e.g. echo $PYTHONPATH), if not, add it (perhaps in .bash_profile or similar)
    • run pip install --prefix ~ -e . (-e installs via symlink, so pulling repository will do a 'live' update of the installation)
  • cd to a directory outside the module and launch python; you should be able to do import eagleSqlTools

Usage:

See examples in the database release paper. Some examples seem to need some slight modification to work under Python 3.

About

Python API for the EAGLE cosmological simulation database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages