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.4.tar.gz (4.2 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.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file xgrcpy-1.1.4.tar.gz.

File metadata

  • Download URL: xgrcpy-1.1.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for xgrcpy-1.1.4.tar.gz
Algorithm Hash digest
SHA256 817d1a923e37600dfa8e3fa2d87ae1e33d4039ef5e03b90c7ac68da685b75615
MD5 a605ef16d8bc6d1a6108a300c7abb974
BLAKE2b-256 29580896b0b61c9afc1ba64a074bd94fd96c444e90237f88435d028196c774cd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for XGRCpy-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1dd29dabd0052e5bfefa859be62c7680807934e764f1be7ead4a0435b7d8a294
MD5 0158d30794c07692b9306ee5a0cbb8cd
BLAKE2b-256 c2eb59ab3d6bef62e29150a11c6b89a73aba7534d787cbfedad8f3740ce945a4

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