A collection of useful non-standard Python functions which aim to be simple to use, highly readable but not efficient. https://docs.franco.net.eu.org/fpyutils/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Franco Masotti a04e4dbf77
Preparing for new release.
3 months ago
.githooks Added new functions and modules. Minor fixes. 1 year ago
assets Run pre-commit on all files. 6 months ago
docs Preparing for new release. 3 months ago
fpyutils Fixed imports. Removed assertions. 3 months ago
packages/aur Preparing for new release. 3 months ago
.gitignore Started migration to the new package standards. 1 year ago
.pre-commit-config.yaml Added hooks. 3 months ago
LICENSE.txt Fixed setup.py, typos and minor stuff. 4 years ago
MANIFEST.in Run pre-commit on all files. 6 months ago
Makefile Preparing for new release. 6 months ago
Pipfile Preparing for new release. 3 months ago
README.rst Updated readme. 3 months ago
setup.py Preparing for new release. 3 months ago

README.rst

fpyutils

PyPI fpyutils version PyPI - License PyPI - Python Version Downloads Dependent repos (via libraries.io) Buy me a coffee

A collection of useful non-standard Python functions which aim to be simple to use, highly readable but not efficient.

Documentation

https://docs.franco.net.eu.org/fpyutils/

API examples

:

>>> import fpyutils
>>> f = open('foo.txt')
>>> f.read()
"This is\nfoo.\nfoo\nThis is\nnot\nbar.\nAnd it's\n    foo\n\nBye!\n"
>>> fpyutils.filelines.get_line_matches('foo.txt','foo',5)
{1: 3, 2: 8}

License

Copyright (C) 2017-2021 frnmst (Franco Masotti) <franco.masotti@live.com>

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/>.

Changelog and Trusted source

You can check the authenticity of new releases using my public key.

Changelogs, instructions, sources and keys can be found at blog.franco.net.eu.org/software.

Crypto donations

  • Bitcoin: bc1qnkflazapw3hjupawj0lm39dh9xt88s7zal5mwu
  • Monero: 84KHWDTd9hbPyGwikk33Qp5GW7o7zRwPb8kJ6u93zs4sNMpDSnM5ZTWVnUp2cudRYNT6rNqctnMQ9NbUewbj7MzCBUcrQEY
  • Dogecoin: DMB5h2GhHiTNW7EcmDnqkYpKs6Da2wK3zP
  • Vertcoin: vtc1qd8n3jvkd2vwrr6cpejkd9wavp4ld6xfu9hkhh0