fpdf2
Pylint
fpdf2 | Pylint | |
---|---|---|
23 | 29 | |
938 | 5,127 | |
2.3% | 0.8% | |
9.2 | 9.6 | |
9 days ago | 3 days ago | |
Python | Python | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fpdf2
-
Pylint strict base configuration
I recently used this approach on fpdf2: PR #780 Hardening Pylint config
- New fpdf2 release - 2.7.4 - Images can now be embedded as CMYK - Docs for using Pygal & FastAPI - Various bugfixes
- Pdfkit vs weasyprint ?
- New fpdf2 release - 2.7.0 - New methods table() and set_fallback_fonts() - keep_aspect_ratio - ICC Profiles
-
Generating PDF files via FastAPI and sending the file to the user's email. (Currently using PyPDF2)
If you want to contribute to fpdf2, I would welcome a Pull Request to add an example of using it with FastAPI, in this documentation Markdown page: https://github.com/PyFPDF/fpdf2/blob/master/docs/UsageInWebAPI.md 😉
- New fpdf2 release - 2.6.1 - PDF encryption - skewing - markdown hyperlinks - Python 3.11
- New fpdf2 release - 2.6.0 - HTMLMixin not needed anymore - more HTML tags supported - demonstration Jupyter notebook
- looking for an "low dependency" or pythonesque way to generate PDF's
- New fpdf2 release - v2.5.7 - Support for subscript & superscript - set_page_background - embed_file - set_char_spacing
- New fpdf2 release - v2.5.6 - PDF document signing - greek tutorial - better SVG image parsing
Pylint
-
W1203: logging-fstring-interpolation (Solved)
A little introduction about pylint. Pylint is a static code analyzer, it analyses your code without actually running it. Pylint looks for potential errors, gives suggestions on coding standards that your code is not adhering to, potential places where refactoring might help, and also warnings about smelly code.
-
Enhancing Python Code Quality: A Comprehensive Guide to Linting with Ruff
Pylint, on the other hand, focuses on code analysis and style checking. It offers extensive customization options and supports various coding standards. Pylint is known for its comprehensive reports and ability to detect a wide range of code issues.
-
Options for configuration of python libraries - Stack Overflow
In my opinion, the best way to expose configuration options is to read and parse them from the project's pyproject.toml file. Here's how Pylint handles it.
-
Pylint strict base configuration
I even contributed to Pylint by submitting a new rule a few years ago : implicit-str-concat.
-
Premier League Project Infrastructure Update
Implemented code formatting with Black and linting with Pylint in my CI pipeline. Here is my updated GitHub Actions Workflow file: ci.yml
-
Improve your Django Code with pre-commit
One last thing to do before running the hooks is to create a config file, just like we did with flake8. For this you are going to create a pylintrc file at the roor of your project and copy the contents of the pylintrc file from the pylint repo (here is the link to it).
- Even the Pylint codebase uses Ruff
What are some alternatives?
pikepdf - A Python library for reading and writing PDF, powered by QPDF
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
borb - borb is a library for reading, creating and manipulating PDF files in python.
pylama - Code audit tool for python.
rst2pdf - Use a text editor. Make a PDF.
black - The uncompromising Python code formatter
undying-dusk - The very first PDF video game
prospector - Inspects Python source files and provides information about type and location of classes, methods etc
oso - Oso is a batteries-included framework for building authorization in your application.
autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.
yellowbrick - Visual analysis and diagnostic tools to facilitate machine learning model selection.
ruff - An extremely fast Python linter and code formatter, written in Rust.