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.3.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.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: XGRCpy-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 da24de8dd54a4d00c7fc3a92d4bb9b382ce76f3cf4f78deddbe768f5f49c07e2
MD5 6aa9d1290200e52ec73dca5e4ef678ac
BLAKE2b-256 522545ad7a45ad87c9e9428ab9f70bfde071e18d337ffbc0735772590d1396c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: XGRCpy-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b92e406397a528850671e0351bd5a9317e23d474cd1b723e0b21b5c795a0a526
MD5 89a660c8d7653a165884215f1760de94
BLAKE2b-256 3e20e3847db5119f36b0772fe90f522b1a3cd2992a8b8526940accad26f13945

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