Enfusion API
A Python package to interact with the Enfusion API and retrieve data as pandas DataFrames. This package uses the same mechanism as the excel plug-in.
Installation
You can install the Enfusion API package using pip:
pip install enfusion_api
Usage
Here are examples of how to use the Enfusion API package:
Without Authentication (When Already Logged In)
If you're already logged into the Enfusion software on your machine, you can use the API without providing credentials:
from enfusion_api import EnfusionAPI
# Create an instance of EnfusionAPI without authentication
api = EnfusionAPI()
# Define the webservice URLs you want to fetch data from
urls = ["https://your-enfusion-report-url.com"]
# Get the data
dataframes = api.get_data(urls)
# Process the dataframes
for df in dataframes:
print(df.head())
Webservice URLs are accessed from within Enfusion on My Reports, right click and "Copy Web Service URL":
With Authentication
If you need to provide authentication details:
from enfusion_api import EnfusionAPI
# Create an instance of EnfusionAPI with authentication
api = EnfusionAPI(
admin_user_name="your_admin_username",
admin_password="your_admin_password",
user_name="your_username",
password="your_password"
)
# Define the URLs you want to fetch data from
urls = ["https://your-enfusion-report-url.com"]
# Get the data
dataframes = api.get_data(urls)
# Process the dataframes
for df in dataframes:
print(df.head())
Note: Reconciliation Reports (.diff) are not currently supported without authentication.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for enfusion-api 0.1.0
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 | |
|---|---|---|---|---|
| enfusion_api-0.1.0.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enfusion_api-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / enfusion_api-0.1.0.tar.gz
| Download URL | enfusion_api-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b99c20f1abdacb3d41f89ed3b91ab30e235abd2c71fd85a2aaa6ae17ab70927e
|
|
BLAKE2b-256 checksum How to use checksums |
ae617af63cdedad06b4dc143fc742d3a76c8fdfd34d797e00aae7e6ce43e16f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / enfusion_api-0.1.0-py3-none-any.whl
| Download URL | enfusion_api-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcdf73f32f96886ce8374bc41f139cf5148769933e0257239945b0b7f098134c
|
|
BLAKE2b-256 checksum How to use checksums |
9cb5989068d00a447f5192e34b0cc90243532311f5af2939c45bc3ee30f1b3b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for enfusion-api 0.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.