Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
P
pepallow
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
9
Konular (issue)
9
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
pepallow
Commits
cf33fca8
Kaydet (Commit)
cf33fca8
authored
Nis 06, 2019
tarafından
Batuhan Taşkaya
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add readme
üst
9cdc0e04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
10 deletions
+27
-10
.travis.yml
.travis.yml
+2
-7
README.md
README.md
+24
-2
setup.py
setup.py
+1
-1
No files found.
.travis.yml
Dosyayı görüntüle @
cf33fca8
...
...
@@ -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=
README.md
Dosyayı görüntüle @
cf33fca8
# 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.
setup.py
Dosyayı görüntüle @
cf33fca8
...
...
@@ -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."
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment