Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 541 Request: yaramail #2098

Closed
1 task done
seanthegeek opened this issue Jul 18, 2022 · 1 comment
Closed
1 task done

PEP 541 Request: yaramail #2098

seanthegeek opened this issue Jul 18, 2022 · 1 comment
Labels
PEP 541 Package name support requests

Comments

@seanthegeek
Copy link

seanthegeek commented Jul 18, 2022

Project to be claimed

yaramail: https://pypi.org/project/yaramail

Your PyPI username

Sean.Whalen: https://pypi.org/user/Sean.Whalen

Reasons for the request

I'd like to create a new project on PyPI called yaramail that uses yara to scan emails. A yaramail project is not currently viable on PyPI, so I spent weeks building a new project by that name thinking I could use it , but when I tried to upload the first release using hatch, I got an error stating that the name was not allowed. Unfortunately, no feedback was provided about why the name was not allowed.

(venv) sean@sean-desktop ~/d/yaramail (main)> hatch publish
Enter your username: Sean.Whalen
Enter your credentials:
dist/yaramail-1.0.0-py3-none-any.whl ... failed
Client error '400 The name 'yaramail' isn't allowed. See https://pypi.org/help/#project-name for more information.' for url 'https://upload.pypi.org/legacy/'
For more information check: https://httpstatuses.com/400

PyPI might consider the name yaramail to be too similar to the existing yara-python package. There are clear differences between the projects and their names. yara-python is a Python interface to the libyara C library. yaramail uses yara-python to scan emails with YARA rules.

Is it possible that a yaramail project was created and deleted on PyPI at some point? When choosing a name for my project, I did notice another GitHub repository with the same name and similar goals, but I figured I was in the clear because the last commit to that repository was in 2013, and I didn't see a PyPI project with that name. I have no idea what else to call my project other than yaramail.

Maintenance or replacement?

Replacement

Source code repositories URLs

No current project exists on PyPI

Repository of proposed code: https://github.com/seanthegeek/yaramail
Documentation: https://seanthegeek.github.io/yaramail/

Contact and additional research

No current project exists on PyPI

Code of Conduct

  • I agree to follow the PSF Code of Conduct
@seanthegeek
Copy link
Author

I went with yara-mail instead.

What is interesting is, when I tried to upload yara-mail to Test PyPI after successfully uploading yaramail to Test PyPI, I got a much more specific error message that said the name was too similar to an existing project, until I deleted the yaramail project in Test PyPI.

(venv) sean@sean-desktop ~/d/yaramail (main) [1]> hatch publish -r test
dist/yara_mail-1.0.0-py3-none-any.whl ... failed
Client error '400 The name 'yara-mail' is too similar to an existing project. See https://test.pypi.org/help/#project-name for more information.' for url 'https://test.pypi.org/legacy/'
For more information check: https://httpstatuses.com/400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PEP 541 Package name support requests
Projects
None yet
Development

No branches or pull requests

1 participant