Skip to main content

A package to decrypt and view XGRC table data

Project description

XGRCpy

XGRCPy is a Python package that allows users to interact with an XGRC software service to retrieve encrypted data and decrypt it for further processing. It includes methods for key generation, decryption, and interacting with remote APIs.

Installation

To install XGRCpy, ensure you have Python installed (version 3.6 or higher), then use pip to install the package:

pip install XGRCpy

## Usage

After installation, you can use the XGRCpy package to interact with the XGRC software service. Below is an example of how to use the XGRCViewTable function to fetch and decrypt a table from the service.

### Example Code
```python
from XGRCpy import XGRCViewTable

# User credentials for accessing the service
username = "your_username"
password = "your_password"
table = "desired_table"
api_key = "your_api_key"

# Fetching and decrypting the table
response = XGRCViewTable(username, password, table, api_key)

#OR

# Fetching and decrypting the SP
response = XGRCSPView(username, password, SPName, api_key)

# Display the decrypted content
print(response)



###PowerBI Example
#Returnes a pandas DataFrame to be used with PowerBI 
result = XGRCViewTablePowerBI(Table, API_UserName, API_Password, API_Key)
if result is not None:
   print("Decrypted DataFrame:\n", result)
    
else:
    print("Failed to decrypt data.")

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

XGRCpy-1.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

XGRCpy-1.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file XGRCpy-1.1.2.tar.gz.

File metadata

  • Download URL: XGRCpy-1.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.5

File hashes

Hashes for XGRCpy-1.1.2.tar.gz
Algorithm Hash digest
SHA256 8ecea18b3da9e7d5ac01f17513e69837ee1d47d2baa7558d531680ee0d12332e
MD5 8dbd0dc09f2e0a0d0aeef8ca18ba956f
BLAKE2b-256 4d39f97374c5ca1cd3f63e1f629086784eea7ac79fefc5585f803ef569eaca03

See more details on using hashes here.

File details

Details for the file XGRCpy-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: XGRCpy-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.5

File hashes

Hashes for XGRCpy-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a047c87d783cb993f1c4653201091c2e1f048f7f0a82abb5874bb901a5e5e952
MD5 520d71a1ab5f0d07ca0c1ff5d6390469
BLAKE2b-256 e7e04cb8c3a17b3c73e973d7b44fca5bc9d3afb882dba818320de5e6868b7770

See more details on using hashes here.

Supported by

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