semvec/pypi-packages huggingface dataset:
back-channel-client 0.2.0
Back channel client
Requires Python: >=3.9

![PyPI - Version](https://img.shields.io/pypi/v/rpi-remote?style=for-the-badge&logo=python&logoColor=yellow&link=https%3A%2F%2Fpypi.org%2Fproject%2Frpi-remote%2F)

# Back Channel client

## Installation

### Install/Upgrade package
``` shell
python3 -m pip install --upgrade back-channel-client --user
```

### Create service
``` shell
echo "[Unit]
Description=back-channel-client
After=multi-user.target
Conflicts=getty@tty1.service
[Service]
User=${USER}
Type=simple
Environment="LC_ALL=C.UTF-8"
Environment="LANG=C.UTF-8"
ExecStart=${HOME}/.local/bin/back-channel-client
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target" | sudo tee /etc/systemd/system/back-channel-client.service
```
``` shell
sudo systemctl daemon-reload
sudo systemctl enable back-channel-client.service
sudo systemctl start back-channel-client.service
```

## Configuration
Config file path: ```~/.config/back_channel_client/config.ini```

This file automatically generated when the service starts. See the example below.
``` ini
[connection]
server_host = http://localhost
ssh_username = root
ssh_port = 22
period_time_sec = 30
client_name = test_client
disk_path = /media/HDD
```

## Check logs
``` shell
journalctl -fu back-channel-client
```
clownload 0.0.4
download files from clown computers
Requires Python: >=3.10

# 🤡 🎪 clownload 🎪 🤡

> "All our data is stored in the Clown."
>
> "Unlock the power of the Clown."
>
> "Clown-native. Infintely elastic.  Enterprise-grade."
>
> "Juggling As A Service"

A tool to download files from clown computers.

## Setup

* `pip install clownload`

* `export DROPBOX_TOKEN=...`.   Create a token [here][apps].


## Usage


### Download from Dropbox
```sh
clownload dropbox --source SOURCE DEST
```

This will download all files from dropbox folder `SOURCE` to local
directory `DEST`.

It will also create a csv file called `DEST/checksums.csv` with the dropbox
content hashes of all the downloaded files.

Local files that have already been downloaded will be skipped.

Any existing files under `DEST` whose name conflicts will be moved aside to
names like `file.old.1` and `file.old.2`.

Additional csv files with known hashes to skip can be specified with `--known`.

### Calculate Checksums
```sh
clownload calcsums .
```

Calculate content hashes of local files and save them to `checksums.csv`.

## License
[Apache Software License 2.0][license]


[apps]: https://www.dropbox.com/developers/apps
[license]: https://www.apache.org/licenses/LICENSE-2.0.html
ultra-framework 0.1.1
Framework based on FastAPI.
Requires Python: >=3.12

from typing import Self

# UltraFramework

## Description
Framework for FastAPI inspired by Java Spring.

* It exposes a base entity class SQLEntity that can be derived in order to define custom entities.
* It exposes a base repository class CRUDRepository[M]  that can be derived in order to define custom repositories. The following public methods are available:
  * save(entity: M): M
  * save_many(entities: list[M]): list[M]
  * find_all(limit: int | None, offset: int | None): Iterable[M]
  * delete(entity: M): None

Example:

```python
from typing import Self, Annotated

from sqlalchemy import create_engine, DDL
from sqlalchemy.orm import mapped_column, Mapped, Session
from sqlalchemy.sql.elements import ColumnElement
from ultra_framework.entities.sql_entity import SQLEntity
from ultra_framework.repositories.crud_repository import CRUDRepository
from ultra_framework.repositories.base_repository_factory import BaseRepositoryFactory
from ultra_framework.utils.dependencies import session_dependency
from ultra_framework.database.session_factory import SessionFactory


engine = create_engine("sqlite:///", connect_args={"check_same_thread": False})

conn = engine.connect()
conn.execute(DDL("""create table users (
    id integer primary key, 
    name text
)"""))
conn.close()

session_factory = SessionFactory(engine)


class UserEntity(SQLEntity):
  __tablename__ = "users"

  id: Mapped[int] = mapped_column(primary_key=True)
  name: Mapped[str]

  @classmethod
  def by_id(cls, idx: int) -> ColumnElement[bool]:
    return cls.id == idx


class UserRepository(CRUDRepository[UserEntity]):
  entity_class = UserEntity

  def find_by_id(self, idx: int) -> UserEntity:
    return self.filter_by_conditions([UserEntity.by_id(idx)]).one()


class RepositoryFactory(BaseRepositoryFactory):
  repository_map = {
    "users": UserRepository,
  }

  @property
  def user_repository(self) -> UserRepository:
    return self.get_repository("users")

  @classmethod
  def create_factory(cls, session: Annotated[Session, session_dependency(session_factory)]) -> Self:
    return cls(session)
```
openstep-parser 2.0.3
OpenStep plist reader into python objects
Requires Python: >=3.10

[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/kronenthaler/openstep-parser/branch-check/master?logo=github&style=flat-square)](https://github.com/kronenthaler/openstep-parser/actions?query=workflow%3Abranch-check)
[![Codacy branch coverage](https://img.shields.io/codacy/coverage/d5402a91aa7b4234bd1c19b5e86a63be/master?logo=codacy&style=flat-square)](https://www.codacy.com/app/kronenthaler/pbxproj?utm_source=github.com&utm_medium=referral&utm_content=kronenthaler/pbxproj&utm_campaign=badger)
[![Codacy grade](https://img.shields.io/codacy/grade/d5402a91aa7b4234bd1c19b5e86a63be?logo=codacy&style=flat-square)](https://www.codacy.com/app/kronenthaler/openstep-parser?utm_source=github.com&utm_medium=referral&utm_content=kronenthaler/openstep-parser&utm_campaign=badger)
[![PyPI](https://img.shields.io/pypi/v/openstep-parser?color=97cb02&logo=python&logoColor=ffffff&style=flat-square)](https://pypi.python.org/pypi/openstep_parser)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/openstep-parser?color=97cb02&logo=python&logoColor=ffffff&style=flat-square)](https://pypi.python.org/pypi/openstep_parser/)
[![PyPI - License](https://img.shields.io/pypi/l/openstep-parser?color=97cb02&logo=python&logoColor=ffffff&style=flat-square)](LICENSE)

# OpenStep Parser

Parse Xcode projects directly using python. It doesn't require system command utilities.