Name conflict with other slugify package
See original GitHub issueWhen working on the following code:
from slugify import slugify
fname = slugify("cc / loc") + ".png"
My IDE (PyCharm 2018.2.5) will suggest to automatically download a package, but the wrong one. And this results in an error: NameError: name 'unicode' is not defined
The namespace of this package should be changed, or the half implemented package should be removed from PIP.
A tool like this should work out of the box.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
django - Conflict between python-slugify and awesome-slugify
Both python-slugify and awesome-slugify use the same top-level directory slugify . There is no way to install both at the same time.
Read more >slugify - npm
Start using slugify in your project by running `npm i slugify`. There are 1823 other projects in the npm registry using slugify.
Read more >Custom Post Type slug same as page name causing a conflict
I would like the slug to be the same as a page name, because all of these CPT's will be queried on that...
Read more >Add a slug to environments (!7983) · Merge requests - GitLab
Adds a slug field to the environments table, populating existing rows and ... be really easy for two cleaned and shortened environment names...
Read more >python-slugify - PyPI
A Python slugify application that also handles Unicode. ... However, there is an alternative decoding package called Unidecode (GPL).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@un33k I use PyCharm. If you import a module and it does not exist yet PyCharm will ask you to install what you imported, in the case of:
import slugify
It will install the
slugify
package and notpython-slugify
He installed the slugify package, not
python-slugify
. It’s been there 9 years ago, certainly not a clone.https://github.com/zacharyvoase/slugify/blob/master/src/slugify.py#L24