penguinolog / backports.cached_property Goto Github PK
View Code? Open in Web Editor NEWPython 3.8 functools.cached_property backport to python 3.6
License: MIT License
Python 3.8 functools.cached_property backport to python 3.6
License: MIT License
The links in the package metadata to the homepage and issue tracker are 404.
I wonder if @property
+ @lru_cache(maxsize=1)
is a suitable alternative to emulate @cached_property
on older python versions? How does it compare to @cached_property
?
Thanks for this package!
In trying to package something that has this package as a dependency, I'd like to verify its (many) dependencies with pip check
. If a dependency on backports.cached_property
carries any version info, it fails here, as the METADATA
file shipped has the fallback value of 0.0.0
.
Would a PR be welcome that added a __version__
?
If so, is there a preference in how to add it?
If there is no preference, I have an anecdotal experience: having had bad luck with other "elegant" approaches, the most stable form I have found is:
VERSION
text file, shipped in the module source foldersetup.cfg
with the file:
special keypkgutil
... even works inside a .zip
Thanks again!
This package would be more useful to me if it also supported Python 2.7. What were the reasons not to support Python 2.7?
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.