sametmax / bat-belt Goto Github PK
View Code? Open in Web Editor NEWA collection of gagdets make Python even more powerful
A collection of gagdets make Python even more powerful
Now that Python 3.4.0 is out we all have a lot to do ,)
Here is what's happened when I do pip freeze
foxmask@home:~/.pyenv/versions/django-trigger-happy-340$ pip install batbelt
Downloading/unpacking batbelt
Downloading batbelt-0.5.2.tar.gz
Running setup.py (path:/home/foxmask/.pyenv/versions/django-trigger-happy-340/build/batbelt/setup.py) egg_info for package batbelt
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/foxmask/.pyenv/versions/django-trigger-happy-340/build/batbelt/setup.py", line 8, in <module>
from batbelt import __version__
File "/home/foxmask/.pyenv/versions/django-trigger-happy-340/build/batbelt/batbelt/__init__.py", line 8, in <module>
from strings import (slugify, normalize, escape_html,
ImportError: No module named 'strings'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/foxmask/.pyenv/versions/django-trigger-happy-340/build/batbelt/setup.py", line 8, in <module>
from batbelt import __version__
File "/home/foxmask/.pyenv/versions/django-trigger-happy-340/build/batbelt/batbelt/__init__.py", line 8, in <module>
from strings import (slugify, normalize, escape_html,
ImportError: No module named 'strings'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/foxmask/.pyenv/versions/django-trigger-happy-340/build/batbelt
Storing debug log for failure in /home/foxmask/.pip/pip.log
with PHP with have htmlentities to convert char to html entity / html_entiy_decode to revert this behavior.
Would you like to add this to bat-belt ?
You can have a look at https://github.com/foxmask/django-th/blob/master/django_th/html_entities.py I made yesterday to deal with it.
I could make a PR if you want ; otherswise close this ticket :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.