semvec/pypi-packages huggingface dataset:
moduleimplant 0.2.0
A custom module implant system for Ultralytics models
Requires Python: >=3.9

# Module-Implant

This project can help you implant 3rd party / custom pytorch nn.module components
into Ultralytics library. After that, you can simply modify the yaml file,
which defines your network structure, with new components.

## 1. Install

There are 2 ways to install this project.
You can simply download / clone the project and follow the manual instructions below, or try:

```bash
pip install moduleimplant
```

## 2. Usage

**Auto setup**

Module-Implant need some manual operations to modify Ultralytics since Ultralytics does not provide APIs for custom modules and using if-else to select inner modules.

For auto setup, try:

```bash
moduleimlpant modify
```

for modifying Ulralytics pack;

```bash
moduleimlpant de-modify
```

for cancle modification before uninstallation.

**manual setup**

Paste moduleimplant.py file where task.py located, modify task.py as following:
1. import
    ```python
    from .moduleimplant import ModuleImplant
    ```
2. update globals() during parse_model()
    ```python
    globals().update(ModuleImplant.get_third_party_modules_dict())
    # insert this before 'for i, (f, n, m, args) in enumerate...'
    ```
3. add this elif within others in the for statement that mentioned above
    ```python
    elif m in ModuleImplant.get_third_party_modules():
        c1, c2, args = ModuleImplant.parse_third_party_module(ch, f, n, m, args)
    ```
    
Then, modify the paralled `__init__.py` file as following:
1. add this piece of code
    ```python
    from .moduleimplant import (
        ModuleImplant
    )
    ```
2. add "ModuleImplant" to `__all__`

**prepare custom modules**

You also need a parser func to parse arguments provided by .yaml file.
Implement a func called 'yaml_args_parser' in your custom module like this:
```python
@staticmethod
def yaml_args_parser(ch, f, n, m, args):
    return ch[f], ch[f], [ch[f], *args]
```
tasks.py will pass 5 arguments for your custom module:
- ch: a list that recorded all layers' output channel count
- f: previous layer's serial number which indicates where this layer's data comes from
- n: assume that your layer should be a serial of modules, n represents the repetition times
- m: definition form of this module
- args: custom arguments after aboves

tasks.py needs 3 return values:
- c1: layer's input channel count
- c2: layer's output channel count
- args: all arguments that module's initial function requires
rimo-storage 1.4.0
好！
Requires Python: >=3.6

# 莉沫酱存储！

做实验的时候经常要存一些数据，用手写`with open`很麻烦，就想着，啊那不如直接搞一个存硬盘的dict吧！


## 样例

```python
from rimo_storage import 超dict
d = 超dict('./savedata')
d['x'] = 114514
d['y'] = '好！'
```

然后下次运行程序的时候就还可以读`d`里面的内容了。

嗯，就是这么简单！


## 接口

`rimo_storage.超dict(path, compress=None, serialize='json')`

基本上就相当于普通的`Dict[str, Any]`。

其中`compress`和`serialize`的类型是`Union[str, Tuple[Callable, Callable], None]`，它的行为是这样——
- `compress`可以选择`zlib`或者`lzma`，`serialize`可以选择`json`和`pickle`。
- 如果传`Tuple[Callable, Callable]`，则第一个函数会在写入的时候用，第二个函数会在读取的时候用。
- 如果是`None`，则什么都不做。

究竟能存什么东西依赖`serialize`，如果是`json`就只能存可json化的东西，如果是`pickle`就只能存可以pickle的东西<sub>(我又在讲废话了)</sub>。

`rimo_storage.cache.disk_cache(*, path=None, compress=None, serialize='json')`

一个装饰器，差不多就是标准库的`functools.cache`的存硬盘版本，参数的意思和上面一样。


## 安装

只要使用pip安装就行啦！

```sh
pip install rimo-storage
```


## 结束

就这样，大家88，我继续回去做实验啦！
condoAccess 0.0.2
Sistema de gerenciamento de entrada e saída de condomínio.
Requires Python: >=3.8

# Gerenciamento_de_portaria
# condoAccess

## DescriÃ§Ã£o

Um sistema de armazenamento e gerenciamento de entrada e saÃ­da de um condomÃ­nio. Este projeto facilita o cadastro de visitantes, registro de entradas e saÃ­das, e a listagem de visitas.

## Funcionalidades

- **Cadastro de Visitantes**: Permite cadastrar novos visitantes com nome, RG e telefone.
- **Listagem de Visitantes**: Lista todos os visitantes cadastrados.
- **Registro de Entrada**: Registra a entrada dos visitantes no condomÃ­nio.
- **Registro de SaÃ­da**: Registra a saÃ­da dos visitantes do condomÃ­nio.
- **Listagem de Visitas**: Lista todas as visitas registradas.

## Estrutura do projeto 

    CONDOACCESS/
        â”œâ”€â”€ __init__.py
        â”œâ”€â”€ main.py
        â”œâ”€â”€ visitantes.py
        â”œâ”€â”€ visitas.py
        â”œâ”€â”€ database/
        â”‚   â”œâ”€â”€ __init__.py
        â”‚   â””â”€â”€ database.py
        â”œâ”€â”€ README.md
        â”œâ”€â”€ setup.py
        â””â”€â”€ requirements.txt

## InstalaÃ§Ã£o

Para instalar o pacote, vocÃª pode usar o comando abaixo:

```sh
pip install condoAccess
```
## Author
 Adonis