saltstack / istr Goto Github PK
View Code? Open in Web Editor NEWCase-insensitive string matching
License: Other
Case-insensitive string matching
License: Other
PR #182 fails on Appveyor, see this log https://ci.appveyor.com/project/saltstack-public/istr/builds/29210960/job/8nm77kj7yqhem5go
<Reason is that pip is attempted to be upgraded using the pip command itself, which is locked on Windows.
This can be fixed by changing "pip install" to "python -m pip install".
Hi ๐
This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.
Once you have closed this issue, I'll create separate pull requests for every update as soon as I find one.
That's it for now!
Happy merging! ๐ค
The istr package currently declares support for Python version 3.5 only. It should add support for Python versions 3.6, 3.7 and 3.8. Presumably, that is for free and only requires updating the classifiers in setup.py, plus the tested environments in Travis, Allveyor and tox.ini.
The coverage tests report a coverage of 53%. A class of this complexity should have 100%.
Despite the fact that Python 2.7 wil be declared end of life in 1/2020, there are numerous projects out there that still support it. If any of those wants to start using istr
, the main inhibitor will be that istr does not support 2.7. My own Python projects are all of that category :-)
I think what it takes to add Python 2.7 support is:
six.text_type
instead of str
(or because nothing else would be used of six, a simple type definition that mimics that).str.casefold()
with str.tolower()
It is great that the docs are on RTD, but there are several issues with the current docs:
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.