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.3.tar.gz
.
File metadata
- Download URL: herschelhelp-1.0.3.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 | b113233cd5a9a1e3b6c74e091a88e6da4c5b697d07a606bfa7f6e9c24eef7dd3 |
|
MD5 | 64da25fb4f6d9cdde5c17fe37498fdf3 |
|
BLAKE2b-256 | c84d8ae84af2906b0429765daafcfd85988d574acadf97660f33c3a5985dbd14 |
File details
Details for the file herschelhelp-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: herschelhelp-1.0.3-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 | 23190e7df396d91b5ea0cb5b6ff4a8f1d6dfb8654523013c8429f7b1a710695d |
|
MD5 | 3a163cb86461894f177a408568024531 |
|
BLAKE2b-256 | 5ced464463b47cab8fc9d05d79455a223198ad383341c1e70a7020ba49fc2a72 |