Skip to main content

API-v3

Version 3 API for OneVizion

This is a wrapper for simplifying API connection to a OneVizion system.

Install with

pip install onevizion

The Parameters.json file is not necessary, but we added in, since we use it for our scripts, and it keeps hardcoded logins and things our of a script.

All of our scripts use a Parameters.json file, which includes usernames and passwords along with URLs and other configuration. This lets us test locally, then copy a script up unedited, to the production server or UAT server, and it will work correctly using parameters for that system.

That file looks like this:

{
	"trackor.onevizion.com": {
		"url":"trackor.onevizion.com",
		"UserName": "jsmith",
		"Password": "xxxxxxxxxxxx"
	},
	"Veracode": {
		"UserName": "jsmith@onevizion.com",
		"Password": "xxxxxxxxx"
	},
	"Folders": {
		"Archiva": "/opt/tomcat/data/repositories/releases",
		"Git": "/Users/jsmith/GitHub/IKAM/ov"
	},
	"SMTP_ESRI": {
		"UserName": "jsmith@onevizion.com",
		"Password": "xxxxxxxxxxxxx",
		"Server": "smtp.office365.com",
		"Port": "587",
		"Security": "STARTTLS",
		"To": "jsmith@onevizion.com"
	},
	"SMTP": {
		"UserName": "jsmith@onevizion.com",
		"Password": "xxxxxxxxxxxx",
		"Server": "smtp.office365.com",
		"Port": "587",
		"Security": "STARTTLS",
		"To": "jsmith@onevizion.com"
	},
	"AWSCredentials": {
		"AccessKey": "AOJBFJQEBFJQEFJEEJBFEJF",
		"SecretAccessKey":"jlknf3kj4nr34rjnwj4nrwj4werwe"
	}
}

The idea is that you have a token, like "STMP" , or "trackor.onevizion.com", and it has all the relavent parameter info.

We tried to add some automatic Logging and Messaging for all API connections. It is optional, but can cut down on lines of code if you want to use it. To implement this, we created a Config stucture so you can pass parameters to ALL instances of the classes you create. This is not elegant, but it cut down on necessary lines of code and made readability much better.

This Config structure is used for Messaging by setting the "Verbosity" item to a number. Vebosity = 0 gives only error messaging, Verbosity = 1 gives a little more information. The higher the number, the more information, although, at teh time of this writing, 2 is the highest used. for example:

onevizion.Config["Verbosity"] = 1

The Logging part is handled in onevizion.Config["Trace"]. Trace is an OrderedDict. This can be used however you need to get a list of Messaging that hapened during the script's run.

You can find samples of scripts using this library at api-samples

Releasing

Maintainers: see RELEASING.md.

Release files for onevizion 1.2.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 onevizion 1.2.0
File Size Uploaded
onevizion-1.2.0.tar.gz 61.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onevizion 1.2.0
File Interpreter ABI Platform
onevizion-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 97.6 kB

Release files / onevizion-1.2.0.tar.gz

Download URL onevizion-1.2.0.tar.gz
Size 61.1 kB
Tags Source
SHA-256 checksum
How to use checksums
86ed2ce5f6c3ac7b05caed96db807f235c9cee40668697ea74d75b472728ee3e
BLAKE2b-256 checksum
How to use checksums
814f67a31b07de614bbec197086661041d2fe3879a9ff0736604a7c5531ffcda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / onevizion-1.2.0-py2.py3-none-any.whl

Download URL onevizion-1.2.0-py2.py3-none-any.whl
Size 36.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1d7012ff816c32e5ea076d77a0527ebce8eb37986b0d588f6383997665ecccd1
BLAKE2b-256 checksum
How to use checksums
92cdde1724ac695738424c816bd142300981af49ff76233f649067d271be6952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.38

2 release files

1.0.37

2 release files

1.0.36

2 release files

1.0.35

2 release files

1.0.34

2 release files

1.0.30

2 release files

1.0.27

2 release files

1.0.26

2 release files

1.0.25

2 release files

1.0.24

2 release files

1.0.23

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.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