semvec/pypi-packages huggingface dataset:
pydimple 0.1
Proof-of-concept implementation of dimple (debiased inference made simple)
License: MIT
Requires Python: >=3.8

# dimple: a proof of concept

Proof-of-concept package implementing dimple ('debiased inference made simple') from "Simplifying Debiased Inference via Automatic Differentiation and Probabilistic Programming" [[link](https://LINK_TO_BE_ADDED)]

## Installation

To install the package, make sure you have Python 3.8 or later and run the following command:

```bash
pip install pydimple
```

Once installed, it can be imported in Python via:

```Python
import dimple
```

## Usage

For examples, please refer to the [Examples.md](Examples.md) file.

## Acknowledgement

Much of dimple's core automatic differentiation code is from the excellent [Medium tutorial](https://towardsdatascience.com/build-your-own-automatic-differentiation-program-6ecd585eec2a) by [Jonathan Kernes](https://jmkernes.github.io/). Thank you, Jonathan, for letting me use it!

## Contributing

I'm not a software engineer, but I'm interested in developing this project further. If you share this interest and have relevant coding skills, please reach out! I'd love to collaborate.

\[[aluedtke@uw.edu](mailto:aluedtke@uw.edu)\]
partnero 0.4.0
A Python SDK designed to wrap around the Partnero API.
License: MIT
Requires Python: <4.0,>=3.10

# Partnero SDK

The Partnero SDK provides a simple and powerful Python interface to the Partnero API, allowing developers to manage customers, partners, transactions, webhooks, coupons, and promotion codes programmatically. It simplifies interactions by providing a centralized client (`PartneroClient`) that handles configuration and request management.

[Partnero API Documentation](https://developers.partnero.com/reference/general.html)

## Installation

To install the Partnero SDK, run the following command:

```bash
pip install partnero
```

## Configuration

Before using the SDK, configure the `PartneroClient` with your API token:

```python
from partnero import PartneroClient

# Replace 'your_api_token_here' with your actual API token
client = PartneroClient(api_key='your_api_token_here')
```

## Usage

With `PartneroClient`, you can easily access different parts of the Partnero API. Here's how you can use it to manage customers, partners, transactions, and webhooks:

### Customer Management

**List Customers**

```python
customers = client.customers.list_customers(limit=10, page=1)
print(customers)
```

**Create a New Customer**

```python
new_customer = client.customers.create_customer(
    partner_key='your_partner_key',
    customer_key='unique_customer_key',
    email='customer@example.com',
    name='Customer Name'
)
print(new_customer)
```

### Partner Management

**List Partners**

```python
partners = client.partners.list_partners(limit=5, page=1)
print(partners)
```

**Register a New Partner**

```python
new_partner = client.partners.create_partner(
    email='newpartner@example.com',
    name='New Partner',
    password='securepassword123'
)
print(new_partner)
```

### Transaction Management

**List Transactions**

```python
transactions = client.transactions.list_transactions(limit=5, page=1)
print(transactions)
```

**Create a Transaction**

```python
new_transaction = client.transactions.create_transaction(
    customer_key='customer_key',
    transaction_key='unique_transaction_key',
    amount=39.99,
    product_id='product_id',
    product_type='type',
    action='purchase'
)
print(new_transaction)
```

### Webhook Management

**List Webhooks**

```python
webhooks = client.webhooks.list_webhooks(limit=5, page=1)
print(webhooks)
```

**Create a Webhook**

```python
new_webhook = client.webhooks.create_webhook(
    name='Order Placed',
    url='https://yourdomain.com/webhooks/order_placed',
    events=['order_placed'],
    is_active=True
)
print(new_webhook)
```

## Contributions

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.

## License

This SDK is released under the MIT License. See the LICENSE file for more details.

---
trujillo-sunat-package 0.0.1
Este paquete está diseñado específicamente para proporcionar clases que permiten a los usuarios establecer una conexión eficiente con las API SUNAT
License: MIT

# Introducción 
Este paquete está diseñado específicamente para proporcionar clases que permiten a los usuarios establecer una conexión eficiente con las API SUNAT.

# Empezando
Este proyecto cuenta con las siguientes clases:
1.	Generador de token (Clase Token)
```
import os
from dotenv import load_dotenv
from trujillo.sunat.token import Token

load_dotenv()

args = {
    'client_id': os.environ["CLIENT_ID"],
    'client_secret': os.environ["CLIENT_SECRET"]
}

token = Token(args=args).generate_token()
```
2.	Ver el estado del comprobante de pago (Clase ValidateReceip)
```
import pandas as pd
from trujillo.sunat.validate import ValidateReceip

validate = ValidateReceip(token=token, ruc='20609699982')

consult = [{
    'numRuc': '20609699982'
    , 'codComp': '03'
    , 'numeroSerie': 'B040'
    , 'numero': '00055401'
    , 'fechaEmision': '01/04/2024'
    , 'monto': '145.7'
}]

results = validate.get_records(consult=consult)
dataset = []
for result in results:
    dataset.append(result)

content = pd.DataFrame(dataset)
```