-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Feedback for Python binding #234
Comments
I'd invite you to file issues with the Keyring project around what is the use-case that's unmet. I do believe Keyring has native As for Linux Keyring aims to be everything to everyone. It's a CLI and library and integrated into key projects like pip and twine and other projects like jaraco.abode. It's meant to work on any platform and allow for any backend to implement any (secure) store. The Keyring project does aim to be a pure Python library (at least the core implementation) in order to support environments that don't have access to compilers or binaries, so a native rewrite based on Rust would be problematic. Any implementation would at the very least need to provide a pure Python fallback of essential behavior. I hope that provides some context. I welcome you to ask more specific probing questions or open issues to explore different opportunities. |
@jaraco thanks for the reply!
macOS is supported for sure, but just because of jaraco/keyring#670.
In my wrapper implementation, I distribute wheels for cross-platform, so no compiler is needed, and installation is fast.
We had some use cases where the dbus is not available, it was the main reason that I wrap the It is great that I got feedback from you @jaraco, so I'll close this issue to not spam discussion on python binding stuff in this repo. I'll open an issue in your repo to have further discussion. |
While supplying cross-platform wheels does cover a lot of cases, there are many others where such an approach is infeasible, such as:
As an example, see jaraco/inflect#195, where I attempted to utilize pydantic, also built on Rust and with wide platform support, but still found it broke several use cases and made Inflect non-viable for many cases. |
Hi developers,
Thank you for providing such a great tool!
For one of our team's projects, we needed a cross-platform Python API to access the system keyring. While the existing
keyring
library is excellent, it doesn't fully meet our requirements—particularly regarding native support for macOS and Linuxkeyutils
.To address this, I created a wrapper using
pyo3
and published the package on PyPI. You can find the repository here: https://github.com/unkcpz/keyringrs.I'm looking forward to hearing your feedback, and I’d especially appreciate input from the original Python
keyring
maintainers (pinging @jaraco). While the current implementation meets our team's needs, I’m open to exploring the possibility of making it more generic for broader Python usage—or even integrating it withkeyring
if it makes sense.I look forward to your thoughts!
The text was updated successfully, but these errors were encountered: