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

bidict #42

Closed
jab opened this issue Jan 12, 2016 · 5 comments
Closed

bidict #42

jab opened this issue Jan 12, 2016 · 5 comments

Comments

@jab
Copy link

jab commented Jan 12, 2016

Hi @mlenzen, I am the author of bidict, a Python library that focuses on bidirectional maps. I just came across your library's bijection, and was wondering if you already knew about bidict when you wrote bijection, and either way, what you think of it. (Also, fun to see how similarly the .inverse property is implemented under the hood.) Just wanted to invite you to join forces if you're interested, as we're covering some overlapping ground. Best wishes!

@mlenzen
Copy link
Owner

mlenzen commented Jan 13, 2016

Hey @jab, I hadn't seen bidict until just now. bijection is just a bit of code I had found myself copying between a few projects. You have definitely fleshed out the idea out more than I did, I'll see if there's anything I can add.

As for this project, maybe I'll depend on bidict and have bijection just be a wrapper around it to maintain the api for a bit.

@mlenzen mlenzen self-assigned this Jan 13, 2016
@jab
Copy link
Author

jab commented Jan 13, 2016

Sounds great @mlenzen, look forward to hearing how it goes and improving things however I can!

@jab
Copy link
Author

jab commented Aug 6, 2016

Hey @mlenzen, came out with a new and much improved version of bidict last month (0.12.0) and wanted to let you know in case of interest.

(((
The two most significant improvements are (1) bulk updates fail clean (so if an update causes a ValueDuplicationError for example, you can be sure that none of the given items was inserted), and (2) you can now specify custom on-key-duplication and on-value-duplication behaviors (RAISE, OVERWRITE, IGNORE) when updating a bidict.
More info in the changelog.
)))

@mlenzen mlenzen removed their assignment Sep 14, 2021
@mlenzen
Copy link
Owner

mlenzen commented Jul 15, 2022

Closing this as there isn't anything really actionable.

@mlenzen mlenzen closed this as completed Jul 15, 2022
@jab
Copy link
Author

jab commented Jul 16, 2022

Might you still be interested in depending on (and wrapping) bidict, as you proposed upthread? Would be happy to consider any changes to bidict that could make that easier, in the interest of eventually converging on a single, convergent base implementation where the community could pool resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants