semvec/pypi-packages huggingface dataset:
flake8-no-print 0.1.1
Flake8 plugin to forbid print function usage

[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![Coverage Status](https://coveralls.io/repos/github/vyahello/flake8-no-print/badge.svg?branch=master)](https://coveralls.io/github/vyahello/flake8-no-print?branch=master)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Checked with flake8](https://img.shields.io/badge/flake8-checked-blue)](http://flake8.pycqa.org/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE.md)
[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)

# flake8-no-print

> A simple flake8 plugin that forbids the usage of `print` functions in production code.

## Tools

### Production
- python 3.8+
- [flake8](http://flake8.pycqa.org/en/latest/)

### Development

- [black](https://black.readthedocs.io/en/stable/)
- [flake8](http://flake8.pycqa.org/en/latest/)
- [pytest](https://docs.pytest.org/en/7.0.x/)

## Usage

### Installation

```bash
pip install flake8-no-print
✨ 🍰 ✨
```

### Quick start

```python
# foo.py

def bar(*a):
    print(a)
    return 0
```

```bash
flake8 foo.py
foo.py:2:5: NP100 "print()" function usage is forbidden, please consider using "logging" module
```

### Source code

```bash
git clone git@github.com:vyahello/flake8-no-print.git
cd flake8-no-print
python3 -m venv venv 
. venv/bin/activate
pip install -e .
```

**[⬆ back to top](#flake8-no-print)**

## Warnings

`NP100` - print function is forbidden.

## Development notes

### Testing 

Please run the following script to start plugin tests:
```bash
pytest 
```

### CI

To be able to run code analysis, please execute command below:
```bash
./analyse-source-code.sh
```

### Meta

Author – _Vladimir Yahello_.

Distributed under the `MIT` license. See [license](LICENSE.md) for more information.

You can reach out me at:
* [vyahello@gmail.com](vyahello@gmail.com)
* [https://twitter.com/vyahello](https://twitter.com/vyahello)
* [https://www.linkedin.com/in/volodymyr-yahello-821746127](https://www.linkedin.com/in/volodymyr-yahello-821746127)

### Contributing

I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps:

1. Clone the repository
2. Configure `git` for the first time after cloning with your `name` and `email`
3. `pip install -r requirements.txt` to install all project dependencies
4. `pip install -r requirements-dev.txt` to install all development project dependencies
5. Create your feature branch (git checkout -b feature/fooBar)
6. Commit your changes (git commit -am 'Add some fooBar')
7. Push to the branch (git push origin feature/fooBar)
8. Create a new Pull Request

### What's next

All recent activities and ideas are described at project [issues](https://github.com/vyahello/flake8-no-print/issues) page. 
If you have ideas you want to change/implement please do not hesitate and create an issue.

**[⬆ back to top](#flake8-no-print)**
zipfile-isal 0.0.3.3
Monkey patch the standard zipfile module to enable accelerated deflate via isal
Requires Python: >=3.6
Keywords: zip zipfile deflate isal

# zipfile-isal
[![PyPI](https://img.shields.io/pypi/v/zipfile-isal)](https://pypi.org/project/zipfile-isal/)

Monkey patch the standard `zipfile` module to enable accelerated deflate support via isal.

Based on [`zipfile-deflate64`](https://github.com/brianhelba/zipfile-deflate64) and [`zipfile-zstandard`](https://github.com/taisei-project/python-zipfile-zstd), which provides similar functionality but for the `deflate64` algorithm. Unlike `zipfile-deflate64`, this package supports both compression and decompression.

Requires [`isal`](https://github.com/pycompression/python-isal) (and [`slz`](https://github.com/cielavenir/python-slz) optionally).

Note: if you need Python2, use [zipfile39](https://github.com/cielavenir/zipfile39) instead (it is also compatible with Python3).

## Installation
```bash
pip install zipfile-isal
```

## Usage
Anywhere in a Python codebase:
```python
import zipfile_isal  # This has the side effect of patching the zipfile module to support isal
```

Alternatively, `zipfile_isal` re-exports the `zipfile` API, as a convenience:
```python
import zipfile_isal as zipfile

zipfile.ZipFile(...)
```

Compression example:
```python
import zipfile_isal as zipfile

zf = zipfile.ZipFile('/tmp/test.zip', 'w', zipfile.ZIP_DEFLATED, compresslevel=-12)
zf.write('large_file.img')
```

compresslevel:

- -10, -11, -12, -13 correspond to isal 0, 1, 2, 3
- -21 corresponds to slz
- 11 to 19 correspond to 7-zip 1-9