semvec/pypi-packages huggingface dataset:
telemetry 2.0.8
Remote measurements for your app
License: MIT


Remote measuring abstraction for software applications.

`telemetry` serves as a simple facade or abstraction for various telemetry frameworks (e.g. pagerduty, slack, graphite) 
allowing the end user to plug in the desired telemetry framework at deployment time. Think [slf4j](http://www.slf4j.org/)
but for events and numbers.  This library borrows from their example (and copy.)

As your projects grow, their telemetry requirements will change.  The purpose of this library is to simplify
implementation, provide easy configuration, encourage testing, and avoid vendor lock.

## Supported Services:

* pagerduty
* slack
* statsd, graphite, datadog

Telemeters preference to being configurable, but don't require more than
credentials to get working. For instance, slack can be implemented with
the following:

```SLACK_ROOM_ID=Txxx/Byyy/Zzzz python
import logging
from telemetry import SlackTelemeter

logging.basicConfig(level=logging.INFO)
logging.getLogger().addHandler(SlackTelemeter())
logging.info("hello room!")
```

or 

```SLACK_ROOM_ID=Txxx/Byyy/Zzzz python

from telemetry import SlackTelemeter
meter = SlackTelemeter()
meter.message("your message!")
```

Clients are written using core python libraries, so `telemetry` is light weight.
calculator-package-foxylex 1.0.0
A simple calculator package
License: MIT
Requires Python: >=3.6

# Calculator Package

This package provides a simple calculator class. The fuctions available in calculator:
Addition / Subtraction.
Multiplication / Division.
Take (n) root of a number.


## Installation

You can install the package via pip:

```bash
pip install calculator-package-foxylex
```

## Usage

```python
from calculator.calculator import Calculator

# Create a new calculator instance
calc = Calculator()

# Perform arithmetic operations
calc.add(5)
print("Addition result:", calc.memory)  # Output: 5

calc.subtract(3)
print("Subtraction result:", calc.memory)  # Output: 2

calc.multiply(4)
print("Multiplication result:", calc.memory)  # Output: 8

calc.divide(2)
print("Division result:", calc.memory)  # Output: 4.0

calc.take_root(2)
print("Square root result:", calc.memory)  # Output: 2.0

# Reset the memory
calc.reset_memory()
print("Memory after reset:", calc.memory)  # Output: 0
```

## Operations

The Calculator Package supports the following operations:

Addition
Subtraction
Multiplication
Division
Taking the nth root

## Unit Tests

Unit tests for the Calculator Package are located in the tests/ directory. These tests ensure that each operation functions correctly and that error handling is implemented where necessary. To run the unit tests, use the following command:

```bash
python -m unittest tests.test_calculator
```

## License

This project is licensed under the MIT License. See the LICENSE file for details.
django-contactform 2.2.1
A Django app to display simple contact form.
License: MIT

===========
ContactForm
===========

|Build status| |Documentation Status|

Django app to manage simple contact form On Django >= 3 projects.

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Install the app using pip

.. code-block:: text

    pip install django-contactform


2. Add 'contactform' to your `INSTALLED_APPS` settings like this

.. code-block:: python

    INSTALLED_APPS = [
        ...
        'contactform',
    ]

3. Configure the recipients of your form in your settings

.. code-block:: python

    CONTACTFORM_RECIPIENTS = ['me@example.com']

4. Include the contactform URLconf in your project urls.py like

.. code-block:: python

    path('contact/', include('contactform.urls')),

5. Add a form to your page using the `contact_form` template tag

.. code-block:: python

    {% load contact_form %}

    {% contact_form %}


.. |Build status| image:: https://travis-ci.org/geelweb/geelweb-django-contactform.svg?branch=master
.. |Documentation Status| image:: https://readthedocs.org/projects/django-contactform/badge/?version=latest
   :target: https://readthedocs.org/projects/django-contactform/?badge=latest


The MIT License (MIT)

Copyright (c) 2020 Guillaume Luchet

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.