Skip to main content

Summary

vipwrap is a package used to interact with the Vermont Information Processing software (VIP). It is mainly just a wrapper around FTP and SFTP libraries. Used to upload and download files from VIP's GDI system. But could be expanded on with SQL functionality or if VIP ever added a genuine API in the future.

Installation

pip install vipwrap

Usage

Vipwrap contains two modules, gdi and models.

gdi covers the actual connection to VIP's GDI servers and the downloading/uploading of files. Largely just a wrapper around ftp libraries. Nothing that's necessarily VIP-specific happening in it. Use of the GDI2 class is recommended. VIP has largely phased out their GDI1 system. See their documentation/customer support for more details.

Example usage:

from vipwrap.gdi import GDI2

gdi = GDI2(
    host=os.environ["FTP_HOST"],
    port=int(os.environ["FTP_PORT"]),
    username=os.environ["FTP_USER"],
    password=os.environ["FTP_PASS"],
)
gdi.download_file("./FILENAME.csv", "LOCAL_PATH.csv")

models contains various classes for working with order or sales history data. Intention is to be able to construct order or sales history as python objects rather than as raw flat files and include methods for conversion to/from .DAT format that the GDI system expects. Has not been extensively tested in prod yet.

from vipwrap.models import InvoiceBatch, OrderBatch

ords = OrderBatch().from_flat_file(
    r"LOCATION\85_ORDERS_0000001234_20261021_123456.DAT"
)
invs = InvoiceBatch().from_flat_file(
    r"LOCATION\90_SALESHISTORY_0000001234_20261021_123456.DAT"
)

Metadata

Release files for vipwrap 1.0

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

Source distribution (sdist)

Source distribution for vipwrap 1.0
File Size Uploaded Provenance Actions
vipwrap-1.0.tar.gz 21.5 kB Without provenance Details for vipwrap-1.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.5 kB

Release files / vipwrap-1.0.tar.gz

Download URL vipwrap-1.0.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b4e117629b1655ff87609fdd41a5566fa957f6f6544078fe7802cba414fc423
BLAKE2b-256 checksum
How to use checksums
43c9bae7be4ae3f0e0c876501e048c0a888cf273b26453a27fdd8b3dfe11fd7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vipwrap-1.0-py3-none-any.whl

Download URL vipwrap-1.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0768aeac10b5fe5cf342793a980ee906cf95677f6f833eed8ce83b9653bd125a
BLAKE2b-256 checksum
How to use checksums
b713ba98f96be8139cdfd529171944fe9690fb92080a4a759b13db9453b2067e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for vipwrap 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.

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