Skip to main content

Programatically tries to answer the 12 questions from Adam Johnson's blog post https://adamj.eu/tech/2021/11/04/the-well-maintained-test/

Project description

the-well-maintained-test

PyPI Changelog Tests License Code style: black Imports: isort Imports: flake8 pre-commit.ci status

Programatically tries to answer the 12 questions from Adam Johnson's blog post

Installation

Install this tool using pip:

$ pip install the-well-maintained-test

Authentication

The GitHub API will rate limit anonymous calls. You can authenticate yourself with a personal token (documentation on how to generate is here)

Run this command and paste in your new token:

the-well-maintained-test auth

This will create a file called auth.json in your current directory containing the required value. To save the file at a different path or filename, use the --auth=myauth.json option.

the-well-maintained-test --help

Usage: the-well-maintained-test [OPTIONS] COMMAND [ARGS]...

  Programatically tries to answer the 12 questions from Adam Johnson's blog post
  https://adamj.eu/tech/2021/11/04/the-well-maintained-test/

  package is a package on pypi you'd like to check:

      the-well-maintained-test package the-well-maintained-test

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  auth          Generates a json file with your GitHub Personal Token so...
  check         Check your GitHub API Usage Stats
  package       Name of a package on PyPi you'd like to check
  questions     List of questions tested
  requirements  Loop over a requirements.txt file

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd the-well-maintained-test
python -m venv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

just test

To run mypy command you'll need to run

mypy --install-types

Then, to run mypy:

just mypy

You can also do a pre-commit check on the files by running

just check

This will run several pre-commit hooks, but before that it will run mypy

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

the-well-maintained-test-0.11.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

the_well_maintained_test-0.11.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file the-well-maintained-test-0.11.0.tar.gz.

File metadata

  • Download URL: the-well-maintained-test-0.11.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for the-well-maintained-test-0.11.0.tar.gz
Algorithm Hash digest
SHA256 42b2ed5cb67247c1f0f4f465d8b1825995e2013c1167734a400818bb5f2dcaa7
MD5 1a3201ab8658faed450998efa4f94a1f
BLAKE2b-256 510513084eb52e39cc09e0ca46faa8d6b106bdf7680c89126150b725412b0e75

See more details on using hashes here.

File details

Details for the file the_well_maintained_test-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: the_well_maintained_test-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for the_well_maintained_test-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df517c196d1171dfce349b161743305617a4961b7be94962a0f8ad50c018b8e6
MD5 8a05b3d242946cb95c3877138edd5fc3
BLAKE2b-256 66dea7e65239b5ac863414170958418ac0a26a39f5f06994ef4b3ecf9b00b921

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