Skip to main content

Python package that allows interacting with VIP.

Project description

Summary

At the moment, the package is mainly just a wrapper around FTP and SFTP libraries. It's used to upload files to VIP's GDI system. But could be expanded on with SQL functionality or if VIP ever added a genuine API in the future.

As is, the point of the package is largely just defining how to upload a file to VIP in one place so it doesn't need to be rewritten every time a repo involving VIP is created and can instead just be imported.

There are also pandera models defined for an order and an invoice.

Installation

pip install vipwrap

Usage

Currently consists of one function.

Send File to VIP

Takes standard parameters expected of uploading an existing local file to a remote location via FTP or SFTP.

parameter type description
ftp_method str 'ftp' or 'sftp'
host str the FTP server host
port int the SFTP server port, not used with FTP
user str username to authenticate with
password str password to authenticate with
folder str The base folder location to upload the file to
file IO[str] File stream being uploaded. Usually the output of an open() function

Project details


Download files

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

Source Distribution

vipwrap-0.1.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

vipwrap-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file vipwrap-0.1.1.tar.gz.

File metadata

  • Download URL: vipwrap-0.1.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for vipwrap-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d8851391f19d99f6a102be3fc4c214bbbb3442ba7b07551a66d3f8789dd9935b
MD5 f9fd1f76ce297abfcaa6aefe50bc3ac5
BLAKE2b-256 b963c1a692db3060bb12f257fafa889da6850db668a3406360c339f50390779b

See more details on using hashes here.

File details

Details for the file vipwrap-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vipwrap-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for vipwrap-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a64e2aec9a69ada632e7befef38745d737d7d7e8aa3c5571a77bc5590412d925
MD5 bb39f06c01fdc9c6746fe8f35e0fb840
BLAKE2b-256 48ef86d27a4d2d8ac0498d652de485102d8d86d756ca74bdff7de33dd1bf8949

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page