Skip to main content

Easily call the APIs by Scientific Microservices. Requires an API key to be registered (currently via RapidAPI)

Project description

Scientific Microservices Python Wrapper

This Python module provides a simple interface to the APIs offered by Scientific Microservices. These APIs deliver lightweight, cloud-hosted scientific models designed for rapid data analysis and preprocessing.

Features

  • Simple Interface – Invoke scientific models with minimal code.
  • Fast Responses – Get results in milliseconds.
  • Chainable APIs – Combine multiple APIs for advanced workflows.
  • Stateless Operations – Each call is independent.
  • Secure Communication – All data is transmitted over secure protocols.

Installation

Install the package using pip:

pip install ScientificMicroservices

Usage

Here's a basic example of how to use the wrapper:

from ScientificMicroservices import DetectOutliers
# Initialize the API client
api_key = os.environ("api_key")

# Define the input data
input_data = [1, 2, 4, 5, 40, 3, 5, 6]

# Call the API
outliers = DetectOutliers(input_data, api_key)

# Process the response
print(response)

Replace DetectOutliers with the specific API you wish to use and adjust the input_data accordingly.

Documentation

For detailed information on available models and their parameters, please refer to the README on the Rapid product page of the relevant API.

Contributing

Contributions are welcome! If you'd like to improve this wrapper or add support for additional models, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

scientificmicroservices-1.0.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

scientificmicroservices-1.0.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file scientificmicroservices-1.0.2.tar.gz.

File metadata

  • Download URL: scientificmicroservices-1.0.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for scientificmicroservices-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c3007b6a4b4f7c4b6c4746688659e1167f8c9898855b3cfac52ca37613723829
MD5 b2b8269fd5315f247fe6af8aa7f6c350
BLAKE2b-256 07481b0eacee0852dbe84e93851d29e14782a24c38e9ea82c8934d3ba4c82f2f

See more details on using hashes here.

File details

Details for the file scientificmicroservices-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for scientificmicroservices-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc484d2499c845d69105cb47c8b194b45ea1fea326958d48ee3273967ca7bfd
MD5 8b6e0cf6059291463e2197b45ce99eb7
BLAKE2b-256 88c875f606a68d44fa42f350eabc9f9bc7ac95f038a260b2622175f723e53efc

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