Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson 0e193c223c issue #508: master: minify all Mitogen/ansible_mitogen sources.
Minify-safe files are marked with a magical "# !mitogen: minify_safe"
comment anywhere in the file, which activates the minifier. The result
is naturally cached by ModuleResponder, therefore lru_cache is gone too.

Given:

    import os, mitogen
    @mitogen.main()
    def main(router):
        c = router.ssh(hostname='k3')
        c.call(os.getpid)
        router.sudo(via=c)

SSH footprint drops from 56.2 KiB to 42.75 KiB (-23.9%)
Ansible "shell: hostname" drops 149.26 KiB to 117.42 KiB (-21.3%)
6 years ago
.ci ci: fix incorrect partition/rpartition from 8a4caea84f 6 years ago
.github github: tweak issue template. 6 years ago
ansible_mitogen issue #508: master: minify all Mitogen/ansible_mitogen sources. 6 years ago
docs docs: update Changelog. 6 years ago
examples core: many docstring updates and an example substitute for Channel 6 years ago
mitogen issue #508: master: minify all Mitogen/ansible_mitogen sources. 6 years ago
scripts misc: rename to scripts. tab completion!! 6 years ago
tests issue #508: master: minify all Mitogen/ansible_mitogen sources. 6 years ago
.gitignore Add venvs/ to gitignore 6 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml issue #477: travis.yml typo. 6 years ago
LICENSE Add license text everywhere. 7 years ago
README.md Motivational shame badges back in README 6 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 6 years ago
preamble_size.py add --dump to preamble_size.py. 6 years ago
run_tests Allow independant control of coverage erase and reporting 6 years ago
setup.cfg Ignore another annoying flake8 message. 7 years ago
setup.py Drop 'alpha' trove classifier 6 years ago
tox.ini Aggregate code coverage data across tox all runs 6 years ago

README.md