Coder Social home page Coder Social logo

PyPI about python-chardet HOT 6 OPEN

jayvdb avatar jayvdb commented on August 21, 2024
PyPI

from python-chardet.

Comments (6)

Joungkyun avatar Joungkyun commented on August 21, 2024

The purpose of this python module (python-chardet) is to improve performance by modifying only the module without changing the code.

This means that anyone who wants to use this module wants to improve performance without changing the code.

Therefore, this module crashes when it is installed at the same time with PyPI's chardet. Moreover, PyPI's chardet is so famous.

For this reason, I can not register with PyPI.

from python-chardet.

jayvdb avatar jayvdb commented on August 21, 2024

You can register it under a different name.

Distros often have conflicting packages. Rpm has a tag in the .spec to indicate conflicts.

from python-chardet.

Joungkyun avatar Joungkyun commented on August 21, 2024

Distros can be packaged without registering at PyPI. I think this is an other issue.

The reason for not registering at PyPI are as follows:

  1. It has the same namespace and apis as PyPI chardet.
  2. Because of the above reasons, a conflict may occur when installing with PIP.

from python-chardet.

jayvdb avatar jayvdb commented on August 21, 2024

https://en.opensuse.org/openSUSE:Packaging_Python see Naming policy

If you only upload a sdist, and not a wheel, the setup.py is always executed. setup.py can refuse to install if the system already has a chardet module.

I have it mostly packaged at https://build.opensuse.org/package/show/home:jayvdb:py-new/python-chardet-c , but I can not submit it as an alternative to the original chardet until it has registered a name. I also fixed up the lib https://build.opensuse.org/request/show/720085

from python-chardet.

Joungkyun avatar Joungkyun commented on August 21, 2024

Well. It seems to be talking differently.

What I worry about is that when I register this extension with PyPI, it crashes because of the same API, namesapce as the existing chardet.

Distros is not my worry yet.

from python-chardet.

jayvdb avatar jayvdb commented on August 21, 2024

What about renaming the dso to _chardet_c and the python code to namespace chardet_c ?

Then it can co-exist with all of the similar libraries
https://build.opensuse.org/package/show/home:jayvdb:py-new/python-cchardet
https://build.opensuse.org/package/show/home:jayvdb:py-new/python-pychardet

from python-chardet.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.