semvec/pypi-packages huggingface dataset:
nemli 0.1.0
Um bot de discord para criar resumos baseado nas últimas mensagens de um canal
License: MIT
Requires Python: >=3.10

# nemli-nemlerei-bot

Esse projeto contém um bot de discord capaz de fazer resumos de
conversas de canais em tópicos para fácil compreensão de pessoas que
não estavam presentes em tais conversas.

Como base do projeto, será usado este [template].

[template]: https://github.com/aadibhoyar/python-discord-bot-template

# dev

## Requisitos

Para rodar esse projeto você precisa pelo menos ter a versão 3.10 de
Python instalada e o gerenciador de pacotes [PDM].

[PDM]: https://pdm-project.org/en/latest/

## Gerenciamento do projeto

Instalar o projeto:

```
pdm install
```

Rodar testes:

```
pdm tests
```

Rodar linters:

```
pdm lint
```

Rodar linters + tests:

```
pdm check
```

Rodar formatador em todo código:

```
pdm format
```

## Executar projeto

Para rodar o projeto, após executado `pdm install`, você pode chamar:

```
pdm run nemli
```

Tenha certeza de ter exportado as variáveis de ambiente necessárias.

## Comandos extras

Para instalar novas dependências, digite:

```
pdm add <dependency>
```

Ou, caso seja uma dependencia de desenvolvimento, como
pytest/mypy/flake8, você pode usar usar:

```
pdm add --dev <dependency>
```
rpmfile 2.1.0
Read rpm archive files
License: MIT

# rpmfile

[![Build Status](https://travis-ci.org/srossross/rpmfile.svg?branch=master)](https://travis-ci.org/srossross/rpmfile)
[![Actions Status](https://github.com/srossross/rpmfile/workflows/Tests/badge.svg?branch=master&event=push)](https://github.com/srossross/rpmfile/actions)
[![PyPI version](https://img.shields.io/pypi/v/rpmfile.svg)](https://pypi.org/project/rpmfile)

Tools for inspecting RPM files in python. This module is modeled after the
[tarfile](https://docs.python.org/3/library/tarfile.html) module.

## Install

```console
$ python -m pip install -U rpmfile
```

If you want to use `rpmfile` with `zstd` compressed rpms, you'll need to install
the  [zstandard](https://pypi.org/project/zstandard/) module.

`zstd` also requires that you are using Python >= 3.5

```console
$ python -m pip install -U zstandard
```

## Example

See the [tests](tests/test_extract.py) for more examples.

```python
import rpmfile

with rpmfile.open('file.rpm') as rpm:

    # Inspect the RPM headers
    print(rpm.headers.keys())
    print(rpm.headers.get('arch', 'noarch'))

    # Extract a fileobject from the archive
    fd = rpm.extractfile('./usr/bin/script')
    print(fd.read())

    for member in rpm.getmembers():
        print(member)
```

## Command line usage

You can use `rpmfile` via it's module invocation or via `rpmfile` command if
your `PATH` environment variable is configured correctly. Pass `--help` for all
options.

List RPM contents

```conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | python -m rpmfile -l -
./path/to/file
```

Extract files

```conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | rpmfile -xv -
./path/to/file
```

Extract files to directory

```conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | rpmfile -xvC /tmp -
/tmp/path/to/file
```

Display RPM information (similar to command `rpm -qip` in Linux)

```conosle
curl -sfL 'https://example.com/some.rpm.gz' |gzip -d - | rpmfile -i -
Name        : something
Version     : 1.02
Release     : 1
Architecture: noarch
Group       : default
Size        : 1234
License     : BSD
Signature   : None
Source RPM  : some.src.rpm
Build Date  : Tue Apr  9 08:55:16 2019
Build Host  : demo
URL         : http://example.com/some
Summary     : Example of something
Description : 
The description of something.
It can display more than one line.
```


## Classes

* rpmfile.RPMFile: The RPMFile object provides an interface to a RPM archive
* rpmfile.RPMInfo: An RPMInfo object represents one member in a RPMFile.

## Contributing

The [black](https://github.com/psf/black) formater should be used on all files
before submitting a contribution. Version 19.10b0.

```console
$ pip install black==19.10b0
$ black .
```

## Code in this module was borrowed from:

* https://bitbucket.org/krp/cpiofile
* https://github.com/mjvm/pyrpm