Skip to main content

No project description provided

Project description

Fix6 Python Library

pypi fern shield

Installation

Add this dependency to your project's build file:

pip install fern-fix6
# or
poetry add fern-fix6

Usage

from fix6.client import Fix6

client = Fix6()

weather_data = client.weather.get_weather_data("project_id", 
  period="daily", 
  validate=True, 
  start_data="2022-06-13")

print("Received response from Fix6", weather_data)

Async Client

from fix6.client import AsyncFix6
import asyncio

client = AsyncFix6()

async def get_weather_data() -> None:
  weather_data = client.weather.get_weather_data("project_id", 
    period="daily", 
    validate=True, 
    start_data="2022-06-13")
  print("Received response from Fix6", weather_data)

asyncio.run(get_weather_data())

Handling Exceptions

All exceptions thrown by the SDK will sublcass moneykit.ApiError.

from superagent.core import ApiError

try:
  client.masks.get_project_mask("project_id")
except APIError as e:
  # handle any api related error

Error codes are as followed:

Status Code Error Type
404 NotFoundError
409 ConflictError
422 UnprocessableEntityError

Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your pyproject.toml file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!

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

fix6-0.0.7.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

fix6-0.0.7-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file fix6-0.0.7.tar.gz.

File metadata

  • Download URL: fix6-0.0.7.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/5.15.0-1040-azure

File hashes

Hashes for fix6-0.0.7.tar.gz
Algorithm Hash digest
SHA256 646c136db3a51806ed32a4a24905948460bd16828b5e6ac7bc253aa84b102202
MD5 108619b8b74f85626b01e2bad9e6a9e8
BLAKE2b-256 eb828770de2a53aa4aa4780cba11d00684c0fa99c0a17ed0b60da691a8d0d30a

See more details on using hashes here.

File details

Details for the file fix6-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: fix6-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/5.15.0-1040-azure

File hashes

Hashes for fix6-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7893356cd70e45ac01163d1ba22bf2d0689160a586a0ee574ef08046a557c594
MD5 77e3bd098cc77e517811a80b38ad6873
BLAKE2b-256 48656e20e163c0abf387a34cab6f11a9e9c5d2e2e6cecb911d0f23163aada950

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page