Giter Site home page Giter Site logo

bidict about collections-extended HOT 5 CLOSED

jab avatar jab commented on August 10, 2024 1
bidict

from collections-extended.

Comments (5)

mlenzen avatar mlenzen commented on August 10, 2024

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.

from collections-extended.

jab avatar jab commented on August 10, 2024

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

from collections-extended.

jab avatar jab commented on August 10, 2024

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.
)))

from collections-extended.

mlenzen avatar mlenzen commented on August 10, 2024

Closing this as there isn't anything really actionable.

from collections-extended.

jab avatar jab commented on August 10, 2024

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.

from collections-extended.

Related Issues (20)

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.