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
Metadata
Release files for fortimail 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fortimail-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for fortimail-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fortimail-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fortimail-0.1.0-py3-none-any.whl |
Total release size: 6.7 kB
Release files / fortimail-0.1.0.tar.gz
| Download URL | fortimail-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d704e7079c1b3b10177f343552d0ce6f7b4ae180b3bd3e7f90fed24a2b4cd03
|
|
BLAKE2b-256 checksum How to use checksums |
473e96469978274c696e72fea96397b2644e5db850947fa2fd4bbd08abb60d37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / fortimail-0.1.0-py3-none-any.whl
| Download URL | fortimail-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f35bbb56faefc54397073432b9e46ae13ed3c4ff0a94d46ebd74180abfeaa08d
|
|
BLAKE2b-256 checksum How to use checksums |
f239aaaaff0950b9c749d7089d145df2ea12f5ea9e8d5154f1d0673b7e41a938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for fortimail 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.