semvec/pypi-packages huggingface dataset:
pykitty 0.3.0
The unofficial Kittysplit wrapper for Python.
License: MIT
Requires Python: >=3.8,<4.0

# PyKitty

This Python SDK allows you to interact with [KittySplit](https://kittysplit.de/) to manage expenses in a group. You can fetch a list of users, select a user and add expenses.

## Installation

To install the package, use the following command:

```bash
pip install pykitty
```

## Usage

1. Open a kitty on https://kittysplit.de/ and set a username
2. Once opened, copy the full Kittysplit URL, e.g. `https://kittysplit.de/test_kitty/ADLKFJLAKD.../`

Create your first expense with the following code (replace `<kitty_URL>` and `<your_username>`):

```python
from pykitty import KittySplitAPI
api = KittySplitAPI("<kitty_URL>")
api.select_user("<your_username>")
api.add_expense(
    amount="10.00",
    description="A warm welcome by pykitty!",
)
```

### Get Users

To fetch a list of users, use the `get_users` method:

```python
users = api.get_users()
```

This will return a dictionary with usernames as keys and user IDs as values.

### Select User

To select a user, use the `select_user` method:

```python
api.select_user("username")
```

This method will set the `selected_viewing_party_id` attribute to the ID of the specified user.

### Add Expense

To add an expense, use the `add_expense` method:

```python
api.add_expense(
    amount="10.00",
    description="Lunch",
)
```

This method will add a new expense with the specified details.

With the `entry_date` parameter, you can specify the date of the expense:

```python
api.add_expense(
    amount="10.00",
    description="Lunch",
    entry_date="2023-03-29",
)
```

With the `weight_mapping` parameter, you can specify how much each user should pay for the expense. The sum of the weights must be `1`.

```python
api.add_expense(
    amount="10.00",
    description="Lunch",
    weight_mapping={"username1": 0.6, "username2": 0.4},
)
```

### Get Expenses
```python
api.get_expenses()
```

## License

This project is licensed under the MIT License.

## Next Steps (TODO)

- [x] Parse Kitty URL to extract `kitty_id` 
- [x] Implement `get_expenses` method to retrieve all expenses.
- [x] Add support for deleting expenses.
- [ ] Enhance test coverage.
- [ ] Add support for updating expenses.
- [ ] Document CLI usage.
- [ ] Support for Kittysplit in other languages.
labgraph-db 0.2.1
A library for storing experimental materials science data as graphs using MongoDB.
License: MIT
Requires Python: >=3.8
Keywords: materials,science,machine,automation,data,mongodb,storage

[![Documentation Status](https://readthedocs.org/projects/labgraph/badge/?version=latest)](https://labgraph.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/rekumar/labgraph/branch/master/graph/badge.svg?token=TUCYBZI2P4)](https://codecov.io/gh/rekumar/labgraph)

<picture>
 <source media="(prefers-color-scheme: dark)" srcset="./docs/source/img/logo/labgraph_dark mode.png">
 <source media="(prefers-color-scheme: light)" srcset="./docs/source/img/logo/labgraph_light mode.png">
 <img alt="LabGraph: a graph-based schema for storing experimental data for chemistry and materials science." src="./docs/source/img/logo/labgraph_light mode.png">
</picture>

> **Warning**
> This project is still under development!

This library defines a graph-based schema for storing materials science data. 

You can read the (evolving) documentation [here](https://labgraph.readthedocs.io/en/latest/).


## Additional Dependencies

- A `Sample` graph can be plotted within Python using `Sample.plot()`. The default `networkx` plotting layouts can be pretty confusing to interpret. If you install [graphviz](https://www.graphviz.org), `labgraph` will instead use graphviz to design the graph layout in a hierarchical fashion. This only affects plotting, but if you are relying on this functionality it can make a big difference!
timey-wimey 0.1.2
A simple CLI for generating times
License: MIT
Requires Python: >=3.11,<4.0

# Timey-wimey
A simple CLI tool to generate dates from plain English. 

## Usage

You can pass in a string using natural language and it'll parse it.
```shell
❯ timey-wimey "two hours ago utc"
2023-05-19T00:13:27.866775+00:00
```

If you want a range of dates you can use the `--to` flag to get it. You use the `--interval` flag to set the 
interval it increments by. The interval should be in the format: `integer unit` so like: `3 days` or `1 hour`.

```shell
❯ timey-wimey "two hours ago utc" --to "three hours utc" --interval "30 minutes"         
2023-05-19T00:15:30.469480+00:00
2023-05-19T00:15:30.469480+00:00
2023-05-18T23:45:30.469480+00:00
```


## Instal

```shell
pipx install timey-wimey
```
cemd-metasurf 0.1.2
Optical properties of metasurfaces made of dipolar particles
License: MIT

# cemd_metasurf
Coupled electric and magnetic dipole (CEMD) librery for calculating optical properties of metasurfaces.

### Installation
```
pip install cemd-metasurf
```

The current version can calculate reflexion and transmision for lattices with one particle per unit cell. In future releases it is planning to add new functionalities as:

- More than one particles per unit cell.
- Near field calculation (with periodicity along the lattice).
- Local density of states and near field for dipole exitation.
- Presence of layered ubstrate.

For any comment feel free to contact me!
drabujetas@gmail.com