debrouwere / python-addressable Goto Github PK
View Code? Open in Web Editor NEWUse lists like you would dictionaries.
License: ISC License
Use lists like you would dictionaries.
License: ISC License
addressable
supports non-unique indices, in which case it simply picks the first matching object. This would be much more useful if we could set a sort order using a predicate function, so we have some control over what the "first matching object" will actually be.
The raison d'être of this package is to make lists or dicts of things easier to work with, so e.g. we've implemented case-insensitive navigation, suggestions for similar keys on KeyErrors and so on. It might also be nice to output an ascii table of the list's contents when calling list.describe()
. https://github.com/bufordtaylor/python-texttable looks like it might do the trick.
It should be possible to use our map
and filter
interpretations in every situation where you can use Python's regular map and filter functions. This avoids end-users having to muck around with builtin etc. if they've imported some of addressable
into the global namespace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.