Metadata-Version: 2.1
Name: dependency-dash
Version: 0.1.0b1
Summary: A fully Open Source dependency dashboard.
Author-email: Dominic Davis-Foster <dominic@davis-foster.co.uk>
License: MIT
Keywords: dashboard,dependency,github,requirement
Home-page: https://github.com/repo-helper/dependency-dash
Project-URL: Issue Tracker, https://github.com/repo-helper/dependency-dash/issues
Project-URL: Source Code, https://github.com/repo-helper/dependency-dash
Platform: Linux
Platform: macOS
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Requires-Python: >=3.7
Requires-Dist: dom-toml>=0.5.0
Requires-Dist: domdf-python-tools>=2.9.1
Requires-Dist: flask>=1.0.4
Requires-Dist: flask-restx>=0.5.0
Requires-Dist: github3-py>=2.0.0
Requires-Dist: gunicorn>=20.1.0
Requires-Dist: jinja2>=2.9.0
Requires-Dist: markdown>=3.3.4
Requires-Dist: packaging>=21.0
Requires-Dist: platformdirs>=2.2.0
Requires-Dist: pybadges>=2.2.1
Requires-Dist: pygments>=2.10.0
Requires-Dist: pypi-json>=0.2.0
Requires-Dist: requests>=2.26.0
Requires-Dist: setup-py-upgrade==1.2.1
Requires-Dist: shippinglabel>=1.0.0
Requires-Dist: werkzeug<2.2
Requires-Dist: wtforms>=2.2.0
Description-Content-Type: text/x-rst


================
dependency-dash
================

.. start short_desc

**A fully Open Source dependency dashboard.**

.. end short_desc


.. start shields

.. list-table::
	:stub-columns: 1
	:widths: 10 90

	* - Tests
	  - |actions_linux| |actions_macos|
	* - PyPI
	  - |pypi-version| |supported-versions| |supported-implementations| |wheel|
	* - Activity
	  - |commits-latest| |commits-since| |maintained| |pypi-downloads|
	* - QA
	  - |codefactor| |actions_flake8| |actions_mypy|
	* - Other
	  - |license| |language| |requires|

.. |actions_linux| image:: https://github.com/repo-helper/dependency-dash/workflows/Linux/badge.svg
	:target: https://github.com/repo-helper/dependency-dash/actions?query=workflow%3A%22Linux%22
	:alt: Linux Test Status

.. |actions_macos| image:: https://github.com/repo-helper/dependency-dash/workflows/macOS/badge.svg
	:target: https://github.com/repo-helper/dependency-dash/actions?query=workflow%3A%22macOS%22
	:alt: macOS Test Status

.. |actions_flake8| image:: https://github.com/repo-helper/dependency-dash/workflows/Flake8/badge.svg
	:target: https://github.com/repo-helper/dependency-dash/actions?query=workflow%3A%22Flake8%22
	:alt: Flake8 Status

.. |actions_mypy| image:: https://github.com/repo-helper/dependency-dash/workflows/mypy/badge.svg
	:target: https://github.com/repo-helper/dependency-dash/actions?query=workflow%3A%22mypy%22
	:alt: mypy status

.. |requires| image:: https://dependency-dash.herokuapp.com/github/repo-helper/dependency-dash/badge.svg
	:target: https://dependency-dash.herokuapp.com/github/repo-helper/dependency-dash/
	:alt: Requirements Status

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/repo-helper/dependency-dash?logo=codefactor
	:target: https://www.codefactor.io/repository/github/repo-helper/dependency-dash
	:alt: CodeFactor Grade

.. |pypi-version| image:: https://img.shields.io/pypi/v/dependency-dash
	:target: https://pypi.org/project/dependency-dash/
	:alt: PyPI - Package Version

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/dependency-dash?logo=python&logoColor=white
	:target: https://pypi.org/project/dependency-dash/
	:alt: PyPI - Supported Python Versions

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/dependency-dash
	:target: https://pypi.org/project/dependency-dash/
	:alt: PyPI - Supported Implementations

.. |wheel| image:: https://img.shields.io/pypi/wheel/dependency-dash
	:target: https://pypi.org/project/dependency-dash/
	:alt: PyPI - Wheel

.. |license| image:: https://img.shields.io/github/license/repo-helper/dependency-dash
	:target: https://github.com/repo-helper/dependency-dash/blob/master/LICENSE
	:alt: License

.. |language| image:: https://img.shields.io/github/languages/top/repo-helper/dependency-dash
	:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/dependency-dash/v0.1.0b1
	:target: https://github.com/repo-helper/dependency-dash/pulse
	:alt: GitHub commits since tagged version

.. |commits-latest| image:: https://img.shields.io/github/last-commit/repo-helper/dependency-dash
	:target: https://github.com/repo-helper/dependency-dash/commit/master
	:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
	:alt: Maintenance

.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/dependency-dash
	:target: https://pypi.org/project/dependency-dash/
	:alt: PyPI - Downloads

.. end shields

Installation
--------------

.. start installation

``dependency-dash`` can be installed from PyPI.

To install with ``pip``:

.. code-block:: bash

	$ python -m pip install dependency-dash

.. end installation


Usage
--------

Before starting you'll need to `create a personal access token`_.
The token doesn't need access to any additional scopes.

Then set the ``GITHUB_TOKEN`` environment variable to the token.
``dependency-dash`` supports ``.env`` files is you wish to place the token in there instead.

You'll also need to set the ``DD_ROOT_URL`` to the root URL of the web server,
including the scheme.
This defaults to ``http://localhost:5000``.

Then run the app using a `WSGI server`_ such as Gunicorn:

.. code-block:: bash

	$ gunicorn dependency_dash:app -w 4 -b 127.0.0.1

.. _create a personal access token: https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
.. _WSGI server: https://flask.palletsprojects.com/en/2.0.x/deploying/wsgi-standalone/
