Skip to main content

m

Project description

m

install

pip install jmlopez-m

To install from a branch run

pip install git+https://github.com/jmlopez-rod/m.git@[branch-name]

The cli supports argcomplete. To set it up follow the following depending on your shell

# for fish shell
register-python-argcomplete --shell fish m > /tmp/foo
sudo mv /tmp/foo /usr/share/fish/vendor_functions.d/m.fish

# for bash shell
register-python-argcomplete --shell bash m > /tmp/foo
sudo mv /tmp/foo /usr/share/bash-completion/completions/m

# for zsh
register-python-argcomplete --shell zsh m > /tmp/foo
sudo mv /tmp/foo /usr/share/zsh/site-functions/_m

development

If you are working on a non-intel machine (M1/M2 Macs) you can run make buildPy311DevContainer and update devcontainer.json to use the m-devcontainer image.

Open the devcontainer in VSCode. Once there open a terminal and run

poetry install

and

pnpm install

to install the dependencies.

There are several make targets to run. The most important one is make ci-checks. Run that since it is the closest to what the CI will run.

Note that part of the documentation relies heavely on the docstrings provided to the functions, classes and modules in the library. Please run make devDocs to make sure that the documentation is up to date. The documentation site will be build and deployed to the gh-pages branch whenever a new commit is pushed to the master branch.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jmlopez_m-0.34.0.tar.gz (108.1 kB view hashes)

Uploaded Source

Built Distribution

jmlopez_m-0.34.0-py3-none-any.whl (166.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page