Kaydet (Commit) cf33fca8 authored tarafından Batuhan Taşkaya's avatar Batuhan Taşkaya

Add readme

üst 9cdc0e04
......@@ -5,14 +5,9 @@ install:
- pip install pipenv
- pipenv install pytest --dev
- pipenv run python setup.py install
- pipenv run python -m pytest
script: python -m pytest
script: python -c "import pepallow"
deploy:
provider: pypi
user: BTaskaya
password:
secure:
FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL
FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL
FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL FILL
secure: 5G0KWEuEEyViPkL3YUYC9hJt8TwtZlIBlTb91odnCosDRBGnVg7dgUU3Uma4OMmI1rdw0GTozBd97ow2bCPCSD59Vkks+65AFq1aE/TbboL7goRvg8LjMrNHMQsmuuufSfEv9OQVh9tefHJQ6LQ9LGrwRRC6PYlkqo1c3UwPIepBgh2yFx8SO3+cqmvq5neOBdm1HjF1Z097J5OOFdyRao9WtNSAmcyoJF4qMYyBGXGSgcxi3OEzFGe0vUGFf4zWWdbuZh9X8cXCZgq3MAE/d2mHNRa5ohLseN0mQmaGCyDoW/2BErwts9rXBbmFsUoHRywGlTBNFEKVK2DXqQAdJog41bhgyRN0ploYVbygL6/kMIz7pWHaevteS7JRUmP1mTt2eO1nLLANI1c9WTEWjZa17Ok6xaHWaiTdMlzi2pfzhFGzLFNivLtLMtzHg1NqNo6KgfYkQNSTC59X+zL+fyuVAaY0iEQdNDdHObd5MgrebsKXwmkanFBTVy2jbHwg68URBxqNMZ/hdb4TEDyRY7CXbl/CHH13Z7Z9zPyaJxIuqB1SpuV8tIQFtdkqLhpsVZ3ClW1/x01CzJF+MTgdnGAzrDJJO8Id+FZGhSt3ENQwZVcAishqaFx0JA0RlN3duoruy6CalQkHjQv9TGQU/cyR/8doJQMc1iE/+lHb6fw=
# pepallow
Hack the interpreter for running rejected pep's changes.
# PEPAllow
See what happens if a pep was accepted.
## Supporteds
- PEP211
- PEP231
- PEP313
## Demo
[![asciicast](https://asciinema.org/a/239257.svg)](https://asciinema.org/a/239257)
## Usage
```py
from pepallow.allow import Allow
with Allow(313):
assert IV == 4
with Allow(211):
s = [1, 2, 3]
t = "abc"
for i, j in s @ t:
pass
...
```
## How It Works
When you import `pepallow.allow`, it reimport your module then patch it with `pepallow.peps/*` items. The items uses power of the `AST` module cpython gave us.
......@@ -8,7 +8,7 @@ with open(current_dir / "README.md", encoding="utf-8") as f:
setup(
name="pepallow",
version="0.1",
version="0.1.1",
packages=find_packages(),
url="https://github.com/abstractequalsmagic/pepallow",
description = "Hack the interpreter for running rejected pep's changes.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment