fern-pave-0.0.19
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fern-pave-0.0.19 |
| نام | fern-pave |
| نسخه کتابخانه | 0.0.19 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fern-pave/ |
| مجوز | - |
# Pave Python Library
[](https://pypi.python.org/pypi/fern-pave)
[](https://github.com/fern-api/fern)
## Documentation
API documentation is available at <https://docs.pave.dev/>.
## Installation
```bash
pip install fern-pave
# or
poetry add fern-pave
```
## Usage
```python
import datetime as dt
from pave.client import Pave
pave_client = Pave(api_key="YOUR_API_KEY")
user_financial_health = pave_client.cashflow.get_financial_health(
user_id='USER_ID',
start_date=dt.datetime(2020, 5, 17),
end_date=dt.datetime(2022, 2, 15),
)
print(user_financial_health)
```
## Async client
This SDK also includes an async client, which supports the `await` syntax:
```python
import asyncio
from pave.client import AsyncPave
pave_client = AsyncPave(api_key="YOUR_API_KEY")
async def get_user_financial_health() -> None:
user_financial_health = await pave_client.cashflow.get_financial_health(
user_id='USER_ID',
start_date=dt.datetime(2020, 5, 17),
end_date=dt.datetime(2022, 2, 15),
)
print(user_financial_health)
asyncio.run(get_user_financial_health())
```
## 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!
نیازمندی
| مقدار | نام |
|---|---|
| >=1.9.2,<2.0.0 | pydantic |
| ==1.0.2 | backports-cached_property |
| ==0.1.3 | types-backports |
| ==0.23.3 | httpx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl fern-pave-0.0.19:
pip install fern-pave-0.0.19.whl
نصب پکیج tar.gz fern-pave-0.0.19:
pip install fern-pave-0.0.19.tar.gz