Skip to main content

Veeam Client

Veeam Rest API Client or wrapper to make it easier to interact with the Veeam API.

The Veeam API documentation

Installation

pip install veeam

Usage

from veeam.client import VeeamClient

client = VeeamClient()

Supply your own session

Ensure the url ends in /api

from veeam.client import VeeamClient 
from requests import Session 

session = Session()
session.headers.update({'token': 'ABCDE'}) 

client = VeeamClient(
    url='https://api.veeam.example/api', 
    veeam_username='admin', 
    veeam_password='pazzw0rd', 
    session=session
)

Uploading to Pypi

Make sure to bump the version in setup.py

Create the dist and build folders

python setup.py sdist bdist_wheel

Upload to test pypi

twine upload --repository testpypi dist/*

Upload to real pypi

twine upload --repository pypi dist/*

Testing the Library

You can use the package from the test pypi with:

pip install -i https://test.pypi.org/simple/ veeam

Running Tests

pytest

Contributing

...

Release files for veeam 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for veeam 0.1.5
File Size Uploaded
veeam-0.1.5.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for veeam 0.1.5
File Interpreter ABI Platform
veeam-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / veeam-0.1.5.tar.gz

Download URL veeam-0.1.5.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
023513ea4c846bef276e4cf36d5d72577e9464ab47eba3393a3ad699d38003da
BLAKE2b-256 checksum
How to use checksums
62ef0a13fae3612d590588a5f607d475d618c483858d81073785936cd2df52f5
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 / veeam-0.1.5-py3-none-any.whl

Download URL veeam-0.1.5-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83c74ef67aaa2d35ae9118c64ec155bc3ab7cb08858d578b17cf82f6e6e66eda
BLAKE2b-256 checksum
How to use checksums
5daadce7ad2b02c8ceef826820752e033de513e25ae829f3f6941bb35f15c174
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 history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page