Skip to main content

Tools & Python function from inetsix.

Project description

Inetsix Python toolbox

Overview

This module provides some generic python functions usually used in many of scripts. Instead of rewriting these functions in all scripts, we have put them in a single module.

Content

Scripts

Repository provides following scripts:

$ excel-to-json.py -e tests/Book1.xlsx -s Sheet1
[
    {
        "description": "ifd1",
        "interface": "ethernet1",
        "state": "up"
    },
    {
        "description": "ifd2",
        "interface": "ethernet2",
        "state": "down"
    }
]

Functions & Classes

Current Functions and classes:

  • ExcelSerializer from inetsix.serializer: Class to serialize excel spreadsheet into Python structure to be consume in scripts or templates
  • From inetsix.tools:
    • Download file with HTTP/HTTPS transport (inetsix.tools.download_http)
    • Load Environnment constant with inetsix.tools.load_constant

Installation

# From github
$ pip install git+https://github.com/titom73/inetsix-python-lib.git

# From pypi servers
$ pip install inetsix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for inetsix, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size inetsix-0.0.5-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size inetsix-0.0.5.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page