semvec/pypi-packages huggingface dataset:
dictalchemy3 1.0.0
Contains asdict and fromdict methods for SQL-Alchemy declarative models
License: MIT

dictalchemy3
============

|Test|

``dictalchemy3`` adds asdict() and fromdict() methods to SQLAlchemy declarative models.

``dictalchemy`` was written by Daniel Holmstrom with contributions from Rob Hardwick and Mike Klimin.

``dictalchemy3`` is just a fork of the original project to make the code more modern (remove Python 2 support) and compatible to latest SQLAlchemy and setuptools versions. The API and functionality remain completely unchanged, so that it is a drop in replacement for the original ``dictalchemy``.

Documentation
-------------

Documentation can be found at `http://pythonhosted.org/dictalchemy/ <http://pythonhosted.org/dictalchemy/>`_

Source
------

The source is hosted at `http://github.com/danielholmstrom/dictalchemy <http://github.com/danielholmstrom/dictalchemy>`_.

Licence
-------

Dictalchemy is MIT licenced.

.. |Test| image:: https://github.com/disko/dictalchemy3/actions/workflows/test.yml/badge.svg
   :target: https://github.com/disko/dictalchemy3/actions/workflows/test.yml
lido-cli 2.1.0
Lido CLI tool for node operator key validation
License: MIT
Requires Python: >3.7.1,<4

# <img src="https://docs.lido.fi/img/logo.svg" alt="Lido" width="46"/> Node Operator Key Checker CLI

## Installation

You can get this tool using `pip`:

```
pip install lido-cli
```

Or if you cloned this repository, install Python dependencies via:

```
./init.sh
```

Depending on how it's installed use:

`lido-cli ...opts command ...opts` or `python lido_validate_keys.py ...opts command ...opts`

## Running

### RPC Provider

This is the only thing required, the rest will be handled automatically unless overridden.

```
lido-cli --rpc https://mainnet.provider.io/v3/XXX validate_network_keys
```

### Optional Parameters

By default, CLI will use embedded strings and ABIs, but you can specify your own arguments if needed. Make sure to use them on CLI itself and not on the command eg:

```
lido-cli --rpc https://mainnet.provider.io/v3/XXX --multicall_max_bunch 100 --multicall_max_workers 3 --multicall_max_retries 5 validate_network_keys
```

```
--rpc                               RPC provider for network calls.
--multicall_max_bunch               Max bunch amount of Calls in one Multicall (max recommended 300).
--multicall_max_workers             Max parallel calls for multicalls.
--multicall_max_retries             Max call retries.
-d --details                        More logs about node operators and keys. (only for validate_network_keys)
```

### Checking Network Keys

Command: `validate_network_keys`

Example:

```
lido-cli --rpc https://mainnet.provider.io/v3/XXX validate_network_keys
```

### Checking Keys from File

Command: `validate_file_keys`
Specify the input file via `--file`

Example:

```
lido-cli --rpc https://mainnet.provider.io/v3/XXX validate_file_keys --file input.json
```

### ---

You can also get all commands and options via `python lido_validate_keys.py --help`
WOdEv 1.0.1
Week Odd (or) Even
License: MIT

# WOdEv
Week Odd (or) Even

A useful tool for people who label odd/even weeks in their schedule.

The default calendar is [Jalali](https://en.wikipedia.org/wiki/Jalali_calendar).

## Getting Started

### Prerequisites

* Python3 (>= 3.6)
* pip3

### Install

```bash
pip install wodev
```

## Usage

```bash
$ woodev

# e.g. output:
# first week: 1400-06-22,
# today: 1400-06-26,
# odev: ODD
```

## Roadmap

See the [open issues](https://github.com/MohammadSalek/WOdEv/issues) for a list of proposed features (and known issues).
fylesdk 2.3.1
Python SDK for accessing Fyle APIs
License: MIT
Keywords: fyle,api,python,sdk

# FyleSDK

Python SDK for accessing Fyle APIs. [Fyle](https://www.fylehq.com/) is an expense management system.

## Installation

This project requires [Python 3+](https://www.python.org/downloads/) and [Requests](https://pypi.org/project/requests/) library (pip install requests).

1. Download this project and use it (copy it in your project, etc).
2. Install it from [pip](https://pypi.org).
        
        $ pip install fylesdk

## Usage

To use this SDK you'll need these Fyle credentials used for OAuth2 authentication: **client ID**, **client secret** and **refresh token**.

This SDK is very easy to use.
* First you'll need to create a connection using the main class FyleSDK.
```python
from fylesdk import FyleSDK

connection = FyleSDK(
    base_url='<YOUR BASE URL>',
    client_id='<YOUR CLIENT ID>',
    client_secret='<YOUR CLIENT SECRET>',
    refresh_token='<YOUR REFRESH TOKEN>'
)
```

* Introducing APIs version 3 from version 1.0.0 onwards. These are faster and more performant APIs but are still under development. This is how you can access them -
```python
# Transactions
expenses = connection.v3.expenses.get()
reports = connection.v3.reports.get()
advances = connection.v3.advances.get()
bank_transactions = connection.v3.bank_transactions.get()
refunds = connection.v3.refunds.get()

# Requests
advance_requests = connection.v3.advance_requests.get()
trip_requests = connection.v3.trip_requests.get()
reimbursements = connection.v3.reimbursements.get()
settlements = connection.v3.settlements.get()
balance_transfers = connection.v3.balance_transfers.get()

# Organisation Data
orgs = connection.v3.orgs.get()
employees = connection.v3.employees.get()
categories = connection.v3.categories.get()
projects = connection.v3.projects.get()
cost_centers = connection.v3.cost_centers.get()

# Custom Properties
advance_request_custom_properties = connection.v3.advance_request_custom_properties.get()
trip_request_custom_properties = connection.v3.trip_request_custom_properties.get()
employee_custom_properties = connection.v3.employee_custom_properties.get()
expense_custom_properties = connection.v3.expense_custom_properties.get()
```

*  You can still access the V1 APIs as before:
```python
"""
USAGE: <FyleSDK INSTANCE>.<API_NAME>.<API_METHOD>(<PARAMETERS>)
"""

# Get a list of all Employees (with all available details for Employee)
response = connection.Employees.get()

# Get count of Reports updated on or after 2019-01-01
response = connection.Reports.count(updated_at='gte:2019-01-01T00:00:00.000Z')

# Create a new Expense of 10 USD, spent at 2019-01-01 and from employee with email user@mail.com
new_expense = [{
    'employee_email': 'user@mail.com',
    'currency': 'USD',
    'amount': 10,
    'spent_at': '2019-01-01T00:00:00.000Z',
    'reimbursable': True
}]
response = connection.Expenses.post(new_expense)

```

## License

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