semvec/pypi-packages huggingface dataset:
sdlc-genai-databricks 0.1.7
A Python package that integrates GenAI, GitHub, and Databricks for SDLC automation.
License: MIT
Requires Python: >=3.8
Keywords: sdlc, genai, databricks, pyspark, github

# sdlc_genai_databricks

A Python package that integrates GenAI with Databricks and GitHub to support intelligent SDLC workflows.

## Installation

```bash
pip install sdlc-genai-databricks
django-cognito-jwt2 0.2.0
Django backends for AWS Cognito JWT
License: MIT

.. start-no-pypi
.. image:: https://github.com/bekindsoft/django-cognito-jwt2/workflows/Python%20Tests/badge.svg
    :target: https://github.com/bekindsoft/django-cognito-jwt2/workflows/Python%20Tests/

.. image:: http://codecov.io/github/LabD/django-cognito-jwt/coverage.svg?branch=master
    :target: http://codecov.io/github/bekindsoft/django-cognito-jwt2?branch=master

.. image:: https://img.shields.io/pypi/v/django-cognito-jwt2.svg
    :target: https://pypi.python.org/pypi/django-cognito-jwt2/

.. image:: https://readthedocs.org/projects/django-cognito-jwt/badge/?version=latest
    :target: https://django-cognito-jwt2.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status
.. end-no-pypi


Django Cognito JWT2
===================

An Authentication backend for Django Rest Framework for AWS Cognito JWT tokens


Installation
============

.. code-block:: shell

   pip install django-cognito-jwt2

Usage
=====

Add the following lines to your Django ``settings.py`` file:

.. code-block:: python

    COGNITO_AWS_REGION = '<aws region>' # 'eu-central-1'
    COGNITO_USER_POOL = '<user pool>'   # 'eu-central-1_xYzaq'
    COGNITO_AUDIENCE = '<client id>'

(Optional) If you want to cache the Cognito public keys between requests you can
enable the ``COGNITO_PUBLIC_KEYS_CACHING_ENABLED`` setting (it only works if you
have the Django ``CACHES`` setup to anything other than the dummy backend).

.. code-block:: python

    COGNITO_PUBLIC_KEYS_CACHING_ENABLED = True
    COGNITO_PUBLIC_KEYS_CACHING_TIMEOUT = 60*60*24  # 24h caching, default is 300s

Also update the rest framework settings to use the correct authentication backend:

.. code-block:: python

    REST_FRAMEWORK = {
        'DEFAULT_AUTHENTICATION_CLASSES': [
            ...
            'django_cognito_jwt2.JSONWebTokenAuthentication',
            ...
        ],
        ...
     }



Be sure you are passing the ID Token JWT from Cognito as the authentication header.
Using the Access Token will work for authentication only but we're unable to use the `get_or_create_for_cognito` method with the Access Token.


(Optional) If you want to use a different user model then the default DJANGO_USER_MODEL
you can use the ``COGNITO_USER_MODEL`` setting.

.. code-block:: python

	COGNITO_USER_MODEL = "myproject.AppUser"
zenmoney-py 1.0.12
Library for zenmoney.ru API
License: MIT
Requires Python: ~=3.12

# ZenMoney Python Library

A Python library for interacting with the [ZenMoney API](https://github.com/zenmoney/ZenPlugins/wiki/ZenMoney-API). This library provides a simple and intuitive interface to work with ZenMoney's financial management platform.

## Features

- OAuth2 authentication
- Synchronization with ZenMoney server
- Support for all ZenMoney API endpoints
- Type-safe models for request/response data
- Error handling and exception management

## Installation

You can install the library using pip:

```bash
pip install zenmoney-py
```

## Requirements

- Python 3.12 or higher
- requests >= 2.32.3

## Quick Start

Here's a simple example of how to use the library:

```python
import time
from zenmoney import ZenmoneyOAuth2, ZenmoneyRequest
from zenmoney.models import Diff

# Initialize OAuth2 client
oauth = ZenmoneyOAuth2(
    consumer_key='your_consumer_key',
    consumer_secret='your_consumer_secret',
    username='your_username',
    password='your_password'
)

# Create API client
zenmoney_client = ZenmoneyRequest(oauth.token.access_token)

# Prepare synchronization parameters
server_timestamp = 0
current_timestamp = int(time.time())
params = Diff(
    server_timestamp=server_timestamp,
    current_client_timestamp=current_timestamp,
)

# Get data from ZenMoney
data = zenmoney_client.diff(params=params)
```

## Authentication

The library uses OAuth2 for authentication. You'll need to provide:
- Consumer Key
- Consumer Secret
- Username
- Password

These credentials can be obtained from your ZenMoney account settings.

## Available Endpoints

The library supports the two main ZenMoney API endpoints:

### Diff Endpoint
The `diff` endpoint is used for synchronization with the ZenMoney server. It allows you to:
- Get the latest changes from the server
- Send your local changes to the server
- Maintain data consistency between client and server

Example usage:
```python
# Get server changes
data = zenmoney_client.diff(params=Diff(
    server_timestamp=0,
    current_client_timestamp=int(time.time())
))
```

### Suggest Endpoint
The `suggest` endpoint helps with transaction categorization and payee suggestions. It can:
- Suggest categories for transactions
- Recommend payees based on transaction details
- Help with transaction tagging

Example usage:
```python
# Get suggestions for a transaction
suggestions = zenmoney_client.suggest({
    "payee": "McDonalds"
})
```

## Development

To set up the development environment:

1. Clone the repository:
```bash
git clone https://github.com/cooper30/zenmoney_lib.git
cd zenmoney_lib
```

2. Create and activate a virtual environment:
```bash
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
```

3. Install development dependencies:
```bash
pip install -r requirements.txt
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Author

- Nikita Zvekov (hassler494@gmail.com)

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.