semvec/pypi-packages huggingface dataset:
trafficbench 0.2.2
a tool suite for the experimental exploration of concurrent packet transmissions and their consequences (physical layer effects) in low-power wireless networks
Requires Python: >=3.8
Keywords: concurrent transmission, physical layer, low-power, wireless, rssi, scheduling, synchronization

# Trafficbench

[![PyPiVersion](https://img.shields.io/pypi/v/trafficbench.svg)](https://pypi.org/project/trafficbench)
[![image](https://img.shields.io/pypi/pyversions/trafficbench.svg)](https://pypi.python.org/pypi/trafficbench)
[![Pytest](https://github.com/orgua/trafficbench/actions/workflows/py_unittest.yml/badge.svg)](https://github.com/orgua/trafficbench/actions/workflows/py_unittest.yml)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

Python-Package to process & analyze logs generated by Trafficbench. This replaces the former collection of scripts.

## Installation

### PIP - Online

```Shell
pip install trafficbench -U
```

For bleeding-edge-features or dev-work it is possible to install directly from GitHub-Sources (here `dev`-branch):

```Shell
pip install git+https://github.com/nes-lab/TrafficBench.git@dev#subdirectory=py_package -U
```

### PIP - Offline

- clone repository
- navigate shell into directory
- install local module

```shell
git https://github.com/orgua/shepherd-targets
cd .\nrf52_rf_survey\trafficbench\py_package

pip3 install .
```

### Additional Install-Options

- `glue`: live analysis & visualization
- `lognplot`:
- `dev`: all tools used for development
- `test`: environment to run unittests

Example usage:

```shell
pip3 install .[glue]
pip3 install .[dev, test]
pip3 install .[all]
```

## Usage

### CLI

Examples

```shell
trafficbench --help
trafficbench receive --help
```

### As python library

see [examples](./examples)

## TODO

- publish on PyPI
- further break down long functions
- implement streaming-functionality -> a set of generators?
  - uart -> filter -> dump -> analyze
- further cleanup as ruff & flake8 report 300+ warnings/errors
- add proper documentation with tutorial, examples
- gts = global timestamp
  - only 32 bit, increments with 16 MHz, overflows > 4min
  - should be extended by counting overflows or get guided by receive-TS
- analyze packet reception rate
- plot graph
django-ogmios 0.12.0
Just sends email. Simple, easy, multiformat.
Keywords: email send easy simple helpers django

=============
Django-Ogmios
=============
.. image:: https://travis-ci.org/fusionbox/django-ogmios.svg?branch=master
    :target: https://travis-ci.org/fusionbox/django-ogmios
    :alt: Build Status

Just sends emails. Simple, easy, multiformat.

For those wondering, `Ogmios <https://en.wikipedia.org/wiki/Ogmios>`_ is just the Gallic god of eloquence.

Quickstart
==========

Install from PyPI with ``pip``: ``pip install django-ogmios``.

``yourproject/templates/mail/template.html``::

    from: admin@example.org
    to: Jane Doe <jane.doe@example.net>, {% for u in users %}{{ user.email }}, {% endfor %}
    cc: John Doe <john.doe@example.org>, {{ copy_user.get_full_name }} <{{ copy_user.email }}>
    bcc: anonymous@example.org, secret@example.com
    subject: The whole email is a template
    content-type: markdown
    headers:
      Reply-To: Jaqueline <jaqueline@example.net>
      Organization: Example.org, Inc.
    ---
    {% load special_filter %}

    This is a list of special items:

    {% for item in item_list %}
       * {{ item|special }}
    {% endfor %}


.. code:: python

    import ogmios

    ogmios.send_email('mail/template.html',
                      {'item_list': ['Hello']},
                      attachments=[{
                           'path': '/path/to/file/',
                           'name': 'file.txt',
                           'type': 'text/plain',
                       }])


This will render the content as markdown, and send the email with an HTML part and a Plaintext part.
For attachments, it is possible to just specify the path, or the path, filename and mimetype.

Tips
====

Resend an email with different context:

.. code:: python

    import functools
    import ogmios

    from myapp.models import User

    send_registration = functools.partial(ogmios.send, 'mail/template.html')
    send_registration({'user': User.objects.get(pk=1337)})


Changelog
=========

0.12.0 (2025-01-29)
-------------------

- Use old non-strict behavior of getaddresses. Requires latest patch version of Python >= 3.8

0.11.2 (2020-07-02)
-------------------

- Make bcc work


0.11.1 (2018-10-12)
-------------------

- Fix email parsing [#15]


0.11.0 (2018-09-04)
-------------------

- Add support for Django > 1.11 and remove support for all prior versions.


0.10.0 (2016-04-13)
-------------------

- Add support for Django 1.9
- Drop support for Django 1.7
- Move method of adding attachments out of the template
  and require attachments to be passed as an argument to ``send_email()``.


0.9.3 (2015-08-27)
------------------

- Add Django 1.7 compatibility.


0.9.2 (2015-07-16)
------------------

- Fix ``setup.py`` dependencies.
- Fix tests.
- Fix compatibility with django's cached loader.
- Fix context processing.


0.9.1 (2015-06-22)
------------------

- Fix 'From' field always being default


0.9.0 (2015-06-18)
------------------

- Initial version
grpo 0.0.0
Group Relative Policy Optimization
Requires Python: <4.0,>=3.8

# grpo

[![Release](https://img.shields.io/github/v/release/nlile/grpo)](https://img.shields.io/github/v/release/nlile/grpo)
[![Build status](https://img.shields.io/github/actions/workflow/status/nlile/grpo/main.yml?branch=main)](https://github.com/nlile/grpo/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/nlile/grpo/branch/main/graph/badge.svg)](https://codecov.io/gh/nlile/grpo)
[![Commit activity](https://img.shields.io/github/commit-activity/m/nlile/grpo)](https://img.shields.io/github/commit-activity/m/nlile/grpo)
[![License](https://img.shields.io/github/license/nlile/grpo)](https://img.shields.io/github/license/nlile/grpo)

Group Relative Policy Optimization

- **Github repository**: <https://github.com/nlile/grpo/>
- **Documentation** <https://nlile.github.io/grpo/>

## Getting started with your project

First, create a repository on GitHub with the same name as this project, and then run the following commands:

```bash
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:nlile/grpo.git
git push -u origin main
```

Finally, install the environment and the pre-commit hooks with

```bash
make install
```

You are now ready to start development on your project!
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPI or Artifactory, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/publishing/#set-up-for-pypi).
For activating the automatic documentation with MkDocs, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/mkdocs/#enabling-the-documentation-on-github).
To enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/codecov/).

## Releasing a new version

- Create an API Token on [PyPI](https://pypi.org/).
- Add the API Token to your projects secrets with the name `PYPI_TOKEN` by visiting [this page](https://github.com/nlile/grpo/settings/secrets/actions/new).
- Create a [new release](https://github.com/nlile/grpo/releases/new) on Github.
- Create a new tag in the form `*.*.*`.
- For more details, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/cicd/#how-to-trigger-a-release).

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).