semvec/pypi-packages huggingface dataset:
fakeemail 0.11.1
A fake Email Server with a Web Front End

=========
FakeEmail
=========

FakeEmail is an email server, for use in a development environment where routing email is either undesirable, or impossible to manage.

The aim of the system is to open a port, accept SMTP connections and to display a list of the emails that it has received.
At no point will the emails route further on, so there is no requirement for the addresses to be valid, or to wait around waiting for the email to arrive in your inbox.

Installation
------------

Via pip
~~~~~~~

FakeEmail is installable via pip::

  pip install fakeemail


From Source
~~~~~~~~~~~

FakeEmail is installed using the setup.py and depends on Twisted for it's server capabilites. Installation is as straight forward as possible::

  git clone git://github.com/tomwardill/FakeEmail.git
  cd FakeEmail
  python setup.py install


Usage
-----

Starting
~~~~~~~~

If you installed fakeemail via pip, then running is simple::

  fakeemail 2025 8080 0.0.0.0


This will run on SMTP port `2025`, the web interface on `8080` and listen on all network interfaces. Running on port 25 is possible, but you will need to start with root privileges.

Options
~~~~~~~

There are two options for the system:

 * -s or --smtp_port : Which port to run the SMTP listener on (defaults to 2025)
 * -w or --web_port : Which port to run the Web Server on (defaults to 8000)

Use these options as shown below::

  fakeemail -s 1025 -w 8001

Note that to run the SMTP listener on port 25 (the standard SMTP port), you may need to start the daemon with root privileges.

Once the server is running, direct any email at the port that you specified, and then load up http://<servername>:webport (http://localhost:8000 for example)


Dependencies
------------

The dependencies will be installed through the egg, but if you require them to be system installed, they are listed below:

 * twisted
 * jinja2
 * python (2.4+)

Known Issues
------------

The use of `srcdoc` for the iframe element of displaying HTML emails will not work in any current version of Internet Explorer.

Credits
-------

Tom Wardill (original author) - https://github.com/tomwardill
Andrew Plummer - https://github.com/plumdog
John Carr - https://github.com/jc2k
Tapasweni Pathak - https://github.com/tapaswenipathak
Colin Watson - https://github.com/cjwatson
gce 1.0.2
Script Python pour interroger un module Teleinfo de GCE Electronics
Requires Python: >=3.5, <4
Keywords: teleinfo teleinformation gce

# gce.py

[![Build Status](https://travis-ci.org/rene-d/gce.svg?branch=master)](https://travis-ci.org/rene-d/gce)
[![pyi](https://img.shields.io/pypi/v/gce.svg)](https://pypi.python.org/pypi/gce)
[![pyi](https://img.shields.io/pypi/pyversions/gce.svg)](https://pypi.python.org/pypi/gce)

Script Python pour interroger un module [Teleinfo de GCE Electronics](http://gce-electronics.com/fr/carte-et-module-relais-serveur-ethernet/409-teleinformation-ethernet-ecodevices.html).

Documentation ERDF sur la [téléinformation client](https://www.enedis.fr/sites/default/files/Enedis-NOI-CPT_02E.pdf).

Nécessite le module [Requests](http://python-requests.org/) (voir [ici](https://github.com/rene-d/netatmo#installation-on-a-synology-nas) pour installer facilement sur un Synology).

## Installation

### Avec pip

```bash
pip3 install gce
```

## Détection
Les modules Teleinfo écoutent sur le port UDP 30303. Lorsqu'ils reçoivent une trame en broadcast contenant le texte 'Discover GCE Devices', ils envoient une réponse. C'est peut-être la même chose pour un IPX800 mais je ne peux pas tester.

La réponse est composée de trois lignes faciles à analyser:

    NOM<CR><LF>
    ADRESSE MAC<CR><LF>
    PORT<CR><LF>

## Valeurs
Les valeurs de téléinformation client sont extraites de http://ECO-DEVICES/protect/settings/teleinfo1.xml

## Usage en ligne de commande

### Retrouver l'adresse IP du module teleinfo:

    gce find [nom du device]

Exemple d'utilisation:

    curl "http://$(gce find)/api/xdevices.json?cmd=10"

### Afficher tous les champs

    gce

## Usage dans un autre script Python

    #! /usr/bin/env python3
    import gce
    print(gce.teleinfo())

## Licence et garantie

Aucune. Vous pouvez réutiliser le script sans restriction. Il est fourni "tel quel", sans aucune garantie.