Skip to main content

Aspen-PyConnect

Aspen-PyConnect is a wrapper for pulling data from Aspen IP.21 historian servers using Python. The current version uses a SOAP connector by default.

Installation

Use the package manager pip to install aspen-pyconnect.

pip install aspen-pyconnect

Usage

Opening a Connection

from aspen_pyconnect import IP21Connector

aspen = IP21Connector(server='SERVER_NAME', user='DOMAIN\USERNAME', pw='PASSWORD')
aspen.connect()

Loading a Single Tag from History into Pandas DataFrame

import pandas as pd
from datetime import datetime

data = aspen.history(
    start_time=datetime(2020, 1, 1),
    end_time=datetime.now(),
    name='TAG_NAME',
    period='01:00:00',
    stepped=0
)
df = pd.DataFrame(data)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for aspen-pyconnect 0.1.11

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

Source distribution (sdist)

Source distribution for aspen-pyconnect 0.1.11
File Size Uploaded Provenance
aspen_pyconnect-0.1.11.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aspen-pyconnect 0.1.11
File Interpreter ABI Platform
aspen_pyconnect-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / aspen_pyconnect-0.1.11.tar.gz

Download URL aspen_pyconnect-0.1.11.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0a387fa57133dfbebeb43f53ceac2676dfb6956076859740ddda0cbb2bcf38ac
BLAKE2b-256 checksum
How to use checksums
1c643ebc8ecb334caca01c9dec978b80414b360a934caddce002dd727674757d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / aspen_pyconnect-0.1.11-py3-none-any.whl

Download URL aspen_pyconnect-0.1.11-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43a86b62caa799d36edfcfd480690f02367bbcc9ccf50eba38f1f61f1ef5da65
BLAKE2b-256 checksum
How to use checksums
9f02cd739e063027d18b6dba446fd3567b23cc518dde56ab8fe8808e5f104d41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Security for aspen-pyconnect 0.1.11

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.

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