A collection of useful non-standard Python functions which aim to be simple to use, highly readable but not efficient.
Project description
A collection of useful non-standard Python functions which aim to be simple to use, highly readable but not efficient.
An example:
>>> from fpyutils import filelines >>> f = open('foo.txt') >>> f.read() "This is\nfoo.\nfoo\nThis is\nnot\nbar.\nAnd it's\n foo\n\nBye!\n" >>> import fpyutils >>> fpyutils.get_line_matches('foo.txt','foo',5) {1: 3, 2: 8}
Documentation
Conventions
PEP.
For each module m.py it exists, if necessary, its utility file called _m.py
4 space indentation.
Workflow for implementing new modules
Define your idea
Implement a unit test class
Write the code
Test it (run make test)
PEP standards compliancy (run make pep)
Update the documentation (run make doc)
Make a pull request
License
Copyright (C) 2017 frnmst (Franco Masotti) <franco.masotti@live.com> <franco.masotti@student.unife.it>
fpyutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
fpyutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with fpyutils. If not, see <http://www.gnu.org/licenses/>.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fpyutils-0.0.4.tar.gz
.
File metadata
- Download URL: fpyutils-0.0.4.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f431520c31eef748824e809072d211022e4c66933a9e6ee7d040e2edae9ad3e5 |
|
MD5 | 69fad8ae67c62b737f702f456823a648 |
|
BLAKE2b-256 | da6488767d390183a3e1ed7a904b754821f63efa1a84b45be504f998531c2e92 |
File details
Details for the file fpyutils-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: fpyutils-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00da606d38ddc438fd476736f62571f626b83830d2a37561a99e72912f23f870 |
|
MD5 | fd7566e0531bd7718ce8c84a47660cbc |
|
BLAKE2b-256 | 288029a5e14472ce5758b0acecb942e0243f1aac6a3c923e581d82538655c792 |