Single Event Data Frame Processor: Backend to handle photoelectron resolved datastreams
Project description
Backend to handle photoelectron resolved datastreams.
Table of Contents
Installation
For Users (pip)
Prerequisites
- Python 3.8+
- pip
Steps
- Create a new virtual environment using either venv, pyenv, conda, etc. See below for an example.
python -m venv .sed-venv
- Activate your environment:
# On macOS/Linux
source .sed-venv/bin/activate
# On Windows
.sed-venv\Scripts\activate
- Install
sed
, distributed assed-processor
on PyPI:
pip install sed-processor[all]
- If you intend to work with Jupyter notebooks, it is helpful to install a Jupyter kernel for your environment. This can be done, once your environment is activated, by typing:
python -m ipykernel install --user --name=sed_kernel
- If you do not use Jupyter Notebook or Jupyter Lab, you can skip the installing those dependencies
pip install sed-processor
For Contributors (pip)
Prerequisites
- Git
- Python 3.8+
- pip
Steps
- Clone the repository:
git clone https://github.com/OpenCOMPES/sed.git
cd sed
- Create and activate a virtual environment:
# Create a virtual environment
python -m venv .sed-dev
# Activate the virtual environment
# On macOS/Linux
source .sed-dev/bin/activate
# On Windows
.sed-dev\Scripts\activate
- Install the repository in editable mode with all dependencies:
pip install -e .[all]
Now you have the development version of sed
installed in your local environment. Feel free to make changes and submit pull requests.
For Maintainers (poetry)
Prerequisites
- Poetry: Poetry Installation
Steps
- Create a virtual environment by typing:
poetry shell
-
A new shell will be spawned with the new environment activated.
-
Install the dependencies from the
pyproject.toml
by typing:
poetry install --with dev, docs
-
If you wish to use the virtual environment created by Poetry to work in a Jupyter notebook, you first need to install the optional notebook dependencies and then create a Jupyter kernel for that.
- Install the optional dependencies:
poetry install -E notebook
- Make sure to run the command below within your virtual environment (
poetry run
ensures this) by typing:
poetry run ipython kernel install --user --name=sed_poetry
- The new kernel will now be available in your Jupyter kernels list.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sed_processor-0.1.10a10.tar.gz
(128.3 kB
view hashes)
Built Distribution
Close
Hashes for sed_processor-0.1.10a10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed1ad7f6e8d799b4f6b90cf210eff2f25603fed5b4c75b6dacf4f6ec853a5255 |
|
MD5 | 004aa9efc25ca3dade11fdc36b2fb3d2 |
|
BLAKE2b-256 | c3d8d8c6556607c92b98ade3a297799d315f3a2362dd636dd5dd057315df3034 |