Geert JM Vanderkelen

Naming a Python package for distribution?

Naming a Python package for distribution?

I’m currently figuring out how to name the MySQL Connector/Python distributions so it works well with PyPi. Source archives would be named like mysql-connector-python-X.Y.Z.tar.gz.

The ‘name’ metadata would be ‘MySQL Connector Python’, thus without any underscores or dashes. This works OK, but if people have objections, please leave a comment.

5 thoughts on “Naming a Python package for distribution?

    1. Geert Vanderkelen Post author

      Thanks Medardo, however, ‘mysql’ is the ‘enterprise’ name (of sorts) and we are trying to keep consistent with our other connectors like ‘mysql-connector-j’ and ‘mysql-connector-odbc’.

  1. Lennart Regebro

    Including “python” is unecessary from PyPI’s point of view. Otherwise mysql-connector-python-X.Y.Z.tar.gz is fine.

    1. Geert Vanderkelen Post author

      MySQL Connector/Python is indeed the official name. We’ve settled with ‘mysql-connector-python’ in the meta data, since eventually, that is how package will be named. It’s magically being renamed with dashes anyways, but explicit is better.

Leave a Reply

Your email address will not be published. Required fields are marked *

85 − 75 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>