pyfispip
Successor to https://github.com/fopina/pygtm
Installation
Simply use pip:
$ pip install pyfispip
Or install latest version from github:
$ pip install git+https://github.com/fopina/pyfispip/
Usage
Use it in your code (check examples folder):
>>> from fispip import PIP
>>> pip = PIP()
>>> pip.connect('localhost',61315,'1','XXX')
>>> pip.executeSQL('SELECT TJD FROM CUVAR')
(['60960'], ['D'])
Or quickly use the CLI:
$ python -m fispip -h
usage: __main__.py [-h] [-u USER] [-p PWD] [-P PORT] [-S TYPE] [-s]
host params [params ...]
Python FIS MTM/PIP SQL/RPC Interface
positional arguments:
host Hostname to connect
params For RPC: MRPC_ID [MRPC_PARAM1 [MRPC_PARAM...]] For
SQL: SQL_STATEMENT
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER PIP Username (default: 1)
-p PWD, --password PWD
PIP Password (default: XXX)
-P PORT, --port PORT MTM port (default: 61315)
-S TYPE, --server TYPE
PIP server type (default: SCA$IBS)
-s, --sql Execute SQL statement (default action is RPC)
$ python -m fispip localhost -s select tjd from cuvar
60960
Metadata
Release files for fispip 0.0.3
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 |
|---|---|---|---|---|
| fispip-0.0.3.tar.gz | 9.5 kB | Without provenance | Details for fispip-0.0.3.tar.gz |
Release files / fispip-0.0.3.tar.gz
| Download URL | fispip-0.0.3.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74b7b4f01cf770aec864886d9d81c56cc60f25c283ca61c11aead3299208ee0b
|
|
BLAKE2b-256 checksum How to use checksums |
e569b5868937b6caaaaeda7353e9dae50043f90e669a7584308d7814de7b9e19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fispip 0.0.3
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.