Skip to main content

Migacore Organization Chart

This package provides a cli to calculate and display organization chart of a given set of employees.

Install

You can install it via pip:

$ python3.6 -m venv env
$ pip install mcore-organization-chart

Or you can clone this repo and install it via setuptools:

$ python3.6 -m venv env
$ pip install -r requirements_dev.txt
$ git clone https://github.com/Spin14/mcore-organization-chart.git
$ make install

You can also run the tests, coverage, static type checker (mypy) and linters (flake8) using the available make commands.

$ make help
(...)
lint                 check style with flake8
test                 run tests quickly with the default Python
mypy                 run mypy vs the codebase
coverage             check code coverage quickly with the default Python

Build Organization Chart

Once the package is installed you can feed the build-org-chart command with the target employees list to calculate their organization chart. There is a example.txt input file you can use to give it a try:

$ cat example.txt
    Sarah Watson
    Owen Taylor
    Ellie Ross
    Isaiah Martin

$ build-org-chart example.txt

|--- Sarah Watson
          |--- Owen Taylor
          |--- Ellie Ross
                    |--- Isaiah Martin

Credits

This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

Release files for mcore-organization-chart 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcore-organization-chart 1.0.0
File Size Uploaded
mcore_organization_chart-1.0.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcore-organization-chart 1.0.0
File Interpreter ABI Platform
mcore_organization_chart-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.2 kB

Release files / mcore_organization_chart-1.0.0.tar.gz

Download URL mcore_organization_chart-1.0.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fd0f5a54e7bb56fd05b34fde22a9c91201fa75787818dccffeccdb3f1944a63e
BLAKE2b-256 checksum
How to use checksums
7bd657d579db413509c4bf45202dd04785e225030c635c5ebf46ff3498855ce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mcore_organization_chart-1.0.0-py2.py3-none-any.whl

Download URL mcore_organization_chart-1.0.0-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b8dc4037e839b1bc260ae5dcca47822bbe9f8bd29c9a625f2eb7234f41c07bee
BLAKE2b-256 checksum
How to use checksums
8312bbdb0e3bbc4d2a1f5af600febaa11cf35c5326b8adebb085986ce2eec161
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page