`abstract_solcatcher` provides a comprehensive solution for making HTTP requests specifically tailored for interacting with Solcatcher.io's APIs. It simplifies complex tasks such as data fetching, data manipulation, and interacting with the Flask backend of Solcatcher.io. This module abstracts API calls and Flask requests, providing utility functions that make it easier to perform these operations.
Project description
Abstract Solcatcher
The abstract_solcatcher
package provides a comprehensive solution for making HTTP requests specifically tailored for interacting with Solcatcher.io's APIs. It simplifies complex tasks such as data fetching, data manipulation, and interacting with the Flask backend of Solcatcher.io. This module abstracts API calls and Flask requests, providing utility functions that make it easier to perform these operations.
Features
- API Calls: Facilitates making custom API requests to Solcatcher.io with specific endpoints.
- Flask Backend Interaction: Manages interactions with a Flask backend, including viewing and listing database tables and columns.
- Data Handling: Provides functions to handle and manipulate data before sending it in requests.
Modules
- Abstract Call: Handles direct API interactions with functions that tailor requests for specific Solcatcher.io endpoints.
- Abstract Flask: Manages requests to the Flask backend, providing functions to view and list database tables, as well as retrieve specific table columns.
- Utilities: Contains helper functions that return standard URLs and endpoints, and help in updating data payloads.
Installation
To install the abstract_solcatcher
package, use the following pip command:
pip install abstract_solcatcher
Usage
Making API Calls
To make a custom API call to retrieve metadata:
from abstract_solcatcher import getCallRequest
response = getCallRequest('getMetaData', signature='your_signature_here')
print(response)
Interacting with Flask Backend
To view a specific table in the database:
from abstract_solcatcher import view_table
response = view_table('your_table_name')
print(response)
Listing Database Tables
To list all tables in the database:
from abstract_solcatcher import list_tables
tables = list_tables()
print(tables)
Dependencies
- Python 3.6+
requests
libraryabstract_apis
abstract_utilities
Contributions
Contributions to enhance the functionalities of abstract_solcatcher
are welcome. Please fork the GitHub repository, make your changes, and submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
For any questions or feedback, please reach out to partners@abstractendeavors.com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for abstract_solcatcher-0.0.0.77.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0a38e915d544b50f3cbcc3ff1a74e3007693425c24b1da59db73298907393b |
|
MD5 | 35f4cec7c7f57d550f8de2e6360a6889 |
|
BLAKE2b-256 | 89917c21007d0a16720f99cc8eeadbd61d507ae82e73a8ac7a2b35cc2c917a6e |
Hashes for abstract_solcatcher-0.0.0.77-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48b0bec3cc6975cac4bf1a68f06deb89cd4170b951bdc2a54ce5f1ffd0ccb228 |
|
MD5 | 98d52b0a216d60283e44c989d8cf06c3 |
|
BLAKE2b-256 | 3f498a32355b670a266f1ffe0580ffb67b391593c59e80ff6e5296b3fc82be5b |