semvec/pypi-packages huggingface dataset:
novu-python 1.1.0
This project aims to provide a wrapper for the Novu API.
License: MIT
Requires Python: >=3.8,<4.0
Keywords: novu,python,sdk,api,wrapper

# Novu Client (Python)

[![PyPI](https://img.shields.io/pypi/v/novu-python?color=blue)](https://pypi.org/project/novu-python/)
![Tests Status](https://github.com/SpikeeLabs/novu-python/actions/workflows/.github/workflows/tests.yml/badge.svg)
[![codecov](https://codecov.io/gh/SpikeeLabs/novu-python/branch/main/graph/badge.svg?token=RON7F8QTZX)](https://codecov.io/gh/SpikeeLabs/novu-python)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/novu-python)
![PyPI - License](https://img.shields.io/pypi/l/novu-python)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)

---

This project aims to provide a python wrapper for the Novu API.

> :warning: **This deposit is not officially maintained by [novuhq](https://github.com/novuhq).** The Novu software development team is currently (March 2023) thinking of using the [ferns](https://www.buildwithfern.com/) solution to create an SDK for all languages for easier maintenance. For more details on the subject or to follow the progress on the official SDK support, you can check the issue https://github.com/novuhq/novu/issues/2835.

## Install

To install this package

```shell
# Via pip
pip install novu-python

# Via poetry
poetry add novu-python
```

## Quick start

This package is a wrapper of all the resources offered by Novu, we will just start by triggering an event on Novu.

To do this, you will need to:

1. Follow Novu's procedure on how to set up your first template and keep in mind the identifier to trigger the template: https://docs.novu.co/overview/quick-start#create-a-notification-template
2. Retrieve your API key from the platform directly in the settings section: https://web.novu.co/settings
3. Play the following script:

```python
from novu.api import EventApi

event_api = EventApi("https://api.novu.co/api/", "<NOVU_API_TOKEN>")
event_api.trigger(
    name="<YOUR_TEMPLATE_NAME>",
    recipients="<YOUR_SUBSCRIBER_ID>",
    payload={},  # Your Novu payload goes here
)
```

If all is ok, this should have triggered a notification in Novu.

## Development

```bash
# install deps
poetry install

# pre-commit
poetry run pre-commit install --install-hook
poetry run pre-commit install --install-hooks --hook-type commit-msg
```
lmodule 0.4.0
Lmod Module API
License: MIT
Requires Python: >=3.6, <4

|license| |docs| |codecov| |pypi| |python|

.. |docs| image:: https://readthedocs.org/projects/lmodule/badge/?version=latest
    :target: https://readthedocs.org/projects/lmodule/builds/
    :alt: Documentation Status
.. |license| image:: https://img.shields.io/github/license/buildtesters/lmodule.svg
    :target: https://github.com/buildtesters/lmodule/blob/master/LICENSE
.. |codecov| image:: https://codecov.io/gh/buildtesters/lmodule/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/buildtesters/lmodule
.. |pypi| image:: https://img.shields.io/pypi/v/lmodule.svg
    :target: https://pypi.org/project/lmodule/
.. |python| image:: https://img.shields.io/pypi/pyversions/lmodule.svg
    :target: https://pypi.org/project/lmodule/


Lmodule (Lmod Module)
---------------------

Lmodule is a Python 3 API for `Lmod <https://lmod.readthedocs.io/>`_ module system. Lmodule can assist HPC facilities in testing their
software stack via ``module load`` testing. The API can be used by developers and system-administrators for interacting with module system.
Developers can utilize the Lmodule API for interacting  with module system in their python code, while System Administrators can leverage 
the Lmodule API for testing their Software Stack.


Author
-------

lmodule was created by `Shahzeb Siddiqui <http://github.com/shahzebsiddiqui/>`_.

Contributing Back
------------------

We encourage community feedback and participation to help improve the lmodule API. To get started you can do the following:

- Join the slack community

- Test the API and provide feedback in the form of `Issue <https://github.com/buildtesters/lmodule/issues>`_ or `Pull Request <https://github.com/buildtesters/lmodule/pulls>`_.


Slack
------

Click the `Join Slack Channel <https://communityinviter.com/apps/hpcbuildtest/buildtest-slack-invitation>`_ to join the community.
If you already have an account then access the Slack Channel `here  <https://hpcbuildtest.slack.com>`_

LICENSE
---------

lmodule is released under the MIT license. See the `LICENSE <https://github.com/buildtesters/lmodule/blob/master/LICENSE>`_
file for more details.

Talks
------

- **Automate Module Testing with Lmodule** at `EasyBuild User Meeting <https://easybuild.io/eum/>`_ - `Slides <https://easybuild.io/eum21/023_eum21_Lmodule.pdf>`_,  `Video <https://www.youtube.com/watch?v=RyUhPSzIrqQ&list=PLhnGtSmEGEQh0pCtmkFQsDzeoo6tbYnyZ&index=30>`_