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 ModelAPI with the specific model you wish to use and adjust the input_data accordingly.

Documentation
For detailed information on available models and their parameters, please refer to the Scientific Microservices API documentation.

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.
Read the Docs

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scientificmicroservices-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a38ede8c45ed7dc9a7645cc490090c12cc7985216e6a82efda0a40b1c547602e
MD5 bfc610651d34c598aeced1fee42dd2aa
BLAKE2b-256 cffd76592772eb3ee3fe45d710550d1cf2f8e4d0ed3cf7f4de8e22197ac957a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scientificmicroservices-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 566a81d0c7dc1586c430fabd71124299cd023ce59b8347f3d4c62e7205382bc4
MD5 8bad015d8b551ea4a658830c35170f00
BLAKE2b-256 588993c9e1f14522e2035045a345eb0aee1ae154d26b988f2fdd9f03fc36f715

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