ilovetux / unitils Goto Github PK
View Code? Open in Web Editor NEWA set of simplified unix utility clones, which present a CLI and a Python API (without shelling out).
License: GNU General Public License v3.0
A set of simplified unix utility clones, which present a CLI and a Python API (without shelling out).
License: GNU General Public License v3.0
I have moved pawn to its own project because it doesn't really fit in here. You can view that project here.
This issue is to remove any reference to pawn, this is especially important as installing both unitils and pawn breaks the pawn cli.
Here, we will discuss what exactly we will consider to be a Minimum Viable Product (MVP) for touch.py.
At the very least it should:
-c, --no-create
flag-m
flag to adjust only the modified time-a
flag to adjust only the access timeAlso:
We need to support a case-insensitive match in grep.py
We need to ensure that every piece of functionality makes its way into the api documentation
We also need to write a page for readthedocs for each piece of functionality we have...I'm also hoping to make
these into man pages
Here I will attempt to outline the general strategy for releases of this project.
I am making this an issue, because I am not sure about all of this exactly. The above lists a general outline of what I think should happen, but I am open to ideas and especially tips on how all of this stuff is usually automated. I was going to put it all in the Makefile and there doesn't seem to be anything wrong with that, but if you are reading this and know of a better way, please don't hesitate to comment below.
try on setup.py
$ wc setup.py
40 79 1185 setup.py
$ wc.py setup.py
40 113 1185 setup.py
Also notice wc indents by two spaces
This makes it unusable
This issue is to discuss what is needed to achieve a Minimum Viable Product for zip.py.
NOTE I am used to working with archives through nautilus and do not have much experience with the linux zip command, so if someone knows what will be needed to achieve an MVP for this, please comment below.
I will start to read up on this utility and play around with it to find out how it really works.
I will publish once the basics are all covered and test coverage is back at 100%
This issue is to discuss the MVP for cal.py
At the very least it should:
in this section of the README.rst, we talk about testing on Windows. I have removed the dependencies which broke those tests and added the Python 3.5 environment in appveyor, so this disclaimer is outdated and needs to be removed.
Because codecov works better than what I was using python setup.py nosetests --with-coverage --cover-package unitils
, I need to get test coverage back up to 100%, and now that we have compatibility between all relevant Python versions and Linux and Windows it is time to work on coverage.
This issue is to discuss the Minimum Viable Product for more.py.
At the very least it should:
Also
We are not at 100% test coverage, and because of our util module, we are unlikely to get back to 100% test coverage, also there are broken links.
This makes grep.py completely useless.
I'm looking at this pragmatically, I want to go after the low-hanging fruit first as I believe that will make the project immediately useful. I will keep a list here of utilities I wish to implement for the 0.7.0 release:
This issue is to discuss the MVP for tail.py
At the very least it should
-f, --follow
flag to keep checking for "tailing" a fileThis issue is to discuss what is needed for a Minimum Viable Product (MVP) for rm.py
At the very least rm.py should:
-r, --recursive
flag-f, --force
flagAlso:
This issue is to discuss the Minimum Viable Product (MVP) for unzip.py
The only thing I use this utility for is unzip -l
so it must support that, if anyone has experience working with the linux unzip utility, please comment below.
I just actually pushed a "tracer bullet" into dev, but I wanted to make this feature official. What I want here is a re-imagining of AWK, but with as little work as possible.
The basic premise is that like AWK, you have patterns and actions. The patterns are regular expressions and the actions are Python code blocks enclosed in blasphemous curly-braces ("{}").
An set of input files is passed in along with a script. We then iterate through each line in each input file and when a pattern in our pawn script matches, we execute the action.
Each action has access to global variables:
There are two special patterns:
State is maintained throughout the execution of actions, this means that if an action modifies a variable then any subsequent actions which are called will have access to those modification.
Like the title says.
When simply attempting to output the contents of a file
ls lists items in left-aligned columns, filling the screen. ls.py should behave in the same way
Self explanatory, see title
We try to seek to the beginning of the file in wc in case an open file was passed in, so when stdin is piped in, we get an error since you cannot seek on stdin.
We can run profiles on demand, it is of limited (but not none) value to run it continuously.
I am opening a dev branch with the change to add in the .travis.yml
file for Travis CI to test against Python 3.3 and 3.4. The builds will fail until they do not at which time I will keep the dev branch open and start working on features. The reason I am doing this is that I felt Python 3.3 and 3.4 should have been supported from the beginning, but are not at the moment. I will link back here when I open a pull-request.
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.