Comments (3)
Ah, the good old days when this module lacked typings and supported both Python 2.7 and 3+. Now, with the typing of text: str, it's required that the caller passes in a string.
Some parts of the code might need pruning; however, the module is very stable. Rocking the boat is not part of the plan moving forward. Thanks.
from python-slugify.
No problem. It seems like this module always fails if passed a non-Str, so I think we can remove that code then?
from python-slugify.
Next time around ..
from python-slugify.
Related Issues (20)
- Slugify 6.1.0 breaks under Python 3.4.2 - ImportError: No module named 'typing' HOT 2
- Missing slugify cmd line command: removed 'entry_points' from setup.py HOT 4
- Installing python-slugify on Python 2.7 does not install a compatible version of slugify HOT 6
- Proposal: Discontinue Python 2 support HOT 2
- Question: Why is save_order False by default? HOT 3
- Question: Why are custom replacements ran twice? HOT 1
- Document the use of what's in special.py HOT 1
- Is it possible to translate characters to romanised Japanese rather than Chinese? HOT 1
- How to replace the ampersand symbol "&" for two hyphens "--"? HOT 1
- Missing unittests HOT 2
- Fuzzing Python Slugify on OSS-Fuzz HOT 2
- Enable installation without GPL dependencies HOT 1
- Option to convert a string to a "safe" filename and modify the original name as less as possible HOT 1
- Formally support python 3.12
- pip install python-slugify[unidecode] also installs text-unidecode HOT 1
- PyPi tarball is missing files HOT 2
- Unicode confusables characters are removed HOT 1
- Argument to make flugified strings valid XML id attributes. HOT 1
- Unicode does not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-slugify.