Fortimail Rest API Client
Project description
Fortimail Rest API Client
This package is used to communicate with the fortimail rest api
Install
pip install fortimail
Usage
from fortimail.client import FortiMailClient
client = FortiMailClient(
baseurl='myfortimail.com',
username='hello',
password='world'
)
domains = client.get_domains()
Developing
As per the pytest best practices
Create your environment
python3.7 -m venv env
pip install -r requirements/dev.txt
# Install the package in editable mode
pip install -e .
this is similar to running: python setup.py develop
Run Tests
We use pytest, To run tests do: pytest -s
Soon to bring in tox - test automation - for different python versions
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
fortimail-0.1.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for fortimail-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35bbb56faefc54397073432b9e46ae13ed3c4ff0a94d46ebd74180abfeaa08d |
|
MD5 | 3707031bc1135166c891e81a34e31554 |
|
BLAKE2b-256 | f239aaaaff0950b9c749d7089d145df2ea12f5ea9e8d5154f1d0673b7e41a938 |