HELP project module
Project description
This Python module aims at facilitating the working HELP data. It also contains tools that are useful while building the project database. We also hope that the code may of general use in astronomy projects.
Installation
Provided you installed [Anaconda](https://www.continuum.io/) or [miniconda](http://conda.pydata.org/miniconda.html) here are the commands to run (from within the cloned GitHub repository):
`Shell $ conda create -n herschelhelp python=3 $ conda activate herschelhelp $ pip install -e . $ python database_builder/__init__.py `
This will install the code in editable mode allowing source files to be updated.
You will need to activate this new environment with conda activate herschelhelp when you want to use this module or its command.
Command line
This module provides a herschelhelp command line for an easy access to some tools. This command has (will have) several sub-commands to perform various tasks. Running the command alone will show the list of available (sub)commands. Running herschelhelp <COMMAND> –help will display the help on the given command.
Note for macOS users: to be able to use the command line, the locale of the system must be set to an UTF-8 one, see [this page](http://click.pocoo.org/5/python3/#python3-surrogates).
Running inside a Jupyter notebook
If one need to use this code inside a Jupyter notebook, one should install the notebook stuff:
`Shell $ conda install notebook `
and add the environment Python to the list of kernels for Jupyter:
`Shell $ python -m ipykernel install --user --name helpext --display-name "Python (herschelhelp_python)" `
The notebooks must be set to use this kernel.
Note: maybe it’s not mandatory to install the full notebook and only the ipykernel is required if Jupyter is already installed on the system.
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
Built Distribution
File details
Details for the file herschelhelp-1.0.1.tar.gz
.
File metadata
- Download URL: herschelhelp-1.0.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b3ce87e64e8b199cde5cead33322e85485b292df51f3847d70b6f714157c19 |
|
MD5 | 400f66a2263008f6d1aef0f012901700 |
|
BLAKE2b-256 | 3bfb813e4ba3a4157da977e26a3d7088682b21d0a97bf50a2a4f4402f2d094cb |
File details
Details for the file herschelhelp-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: herschelhelp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 44.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 118dc0aea34468d6de495349a2b29a7ea9dd19493d7940308610073baa8c2516 |
|
MD5 | 0ad70e2af44b3f181d3c5175ff7c9512 |
|
BLAKE2b-256 | 942714aba6849228dca1925390f18d8b2dd88b45bfcc183e37d732b57e92f4ca |