Skip to main content

Send bulk repo change requests

Project description

Mass Driver

Send bulk repo change requests.

This repository is on Github: Overkillguy/mass-driver.

Requires Python 3.11

Usage

See the docs at jiby.tech/mass-driver/

Run the command

Install the module first:

make install
# or
poetry install

Then inside the virtual environment, launch the command:

# Run single command inside virtualenv
poetry run mass-driver

# or
# Load the virtualenv first
poetry shell
# Then launch the command, staying in virtualenv
mass-driver

Development

Python setup

This repository uses Python3.11, using Poetry as package manager to define a Python package inside src/mass_driver/.

poetry will create virtual environments if needed, fetch dependencies, and install them for development.

For ease of development, a Makefile is provided, use it like this:

make  # equivalent to "make all" = install lint docs test build
# run only specific tasks:
make install
make lint
make test
# Combine tasks:
make install test

Once installed, the module's code can now be reached through running Python in Poetry:

$ poetry run python
>>> from mass_driver import main
>>> main("blabla")

This codebase uses pre-commit to run linting tools like flake8. Use pre-commit install to install git pre-commit hooks to force running these checks before any code can be committed, use make lint to run these manually. Testing is provided by pytest separately in make test.

Documentation

Documentation is generated via Sphinx, using the cool myst_parser plugin to support Markdown files like this one.

Other Sphinx plugins provide extra documentation features, like the recent AutoAPI to generate API reference without headaches.

To build the documentation, run

# Requires the project dependencies provided by "make install"
make docs
# Generates docs/build/html/

To browse the website version of the documentation you just built, run:

make docs-serve

And remember that make supports multiple targets, so you can generate the documentation and serve it:

make docs docs-serve

License

This project is released under GPLv3 or later. See COPYING file for GPLv3 license details.

Templated repository

This repo was created by the cookiecutter template available at https://github.com/OverkillGuy/python-template, using commit hash: 5c882f2e22311a2307263d14877c8229a2ed6961.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mass_driver-0.7.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file mass_driver-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: mass_driver-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/6.0.12-76060006-generic

File hashes

Hashes for mass_driver-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61a10d7e93783c8e0504bcdc10c1f96552616c67e542e1cc14f941947dc3c8e5
MD5 930122941dd908aaa848b5468920add9
BLAKE2b-256 fcdaaa5b87b1e4fc8e9d90665bfe51a98180ad39735394ee7d0cb2b52f3a4f8b

See more details on using hashes here.

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