sudo pacman -S xdelta3 ccache axel
2019-02-28T16:00:52-03:00: Nim Website Creator: starting. | |
*** Starting xvfb server: "Xvfb" ":529" "-screen" "0" "800x600x24" *** | |
*** Stating xvfb client: "firejail" *** | |
*** Attaching to Xvfb display 529 *** | |
Basic read-only filesystem: | |
Mounting read-only /bin | |
Mounting read-only /lib | |
Mounting read-only /usr |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# | |
# To generate DEB package from Python Package: | |
# sudo pip3 install stdeb | |
# python3 setup.py --verbose --command-packages=stdeb.command bdist_deb | |
# | |
# | |
# To generate RPM package from Python Package: |
# See: https://setuptools.readthedocs.io/en/latest/setuptools.html#metadata | |
[metadata] | |
name = example | |
provides = example | |
description = example package | |
url = https://github.com/example/example | |
download_url = https://github.com/example/example | |
author = Deborah Melltrozzo | |
author_email = [email protected] | |
maintainer = Deborah Melltrozzo |
Python 3.7+ to Cython CheatSheet by examples as simple as posible, because I cant find a Cython Cheatsheet on Internet.
It start with simple stuff and continues towards more complex ones, is compatible with PXD that allows to left the *.py
untouched.
All values and variable names are example values.
Python dont need a raw Binary unless you are distributing *.PYC
without *.PY
.
These tools were created for Building Binaries in a reproducible Build , here use use them to make reproducible Test.
Whatsoever creating more randomized environment for isolated unittests is always good and helps spot Bugs.
The rest of the tools for Reproducible Builds are more oriented to compiled language builds.
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import re | |
from html.parser import HTMLParser | |
from collections import namedtuple | |
def clean_html(html: str) -> str: |
# Automagic Multi-Language Static Analysis on Commit, before Push. | |
# Install on local: pip install pre-commit pre-commit-hooks | |
# Use in C.I.;Force Run: pre-commit run --all-files | |
# Auto-Update all hooks: pre-commit autoupdate | |
# Run all hooks on Push: pre-commit install --hook-type pre-push | |
# Run all hooks on Commit: pre-commit install | |
# Drop all hooks on Push: pre-commit uninstall --hook-type pre-push | |
# Drop all hooks on Commit: pre-commit uninstall | |
# http://pre-commit.com https://github.com/pre-commit |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Unittest with DocTests.""" | |
import doctest | |
import unittest |