Skip to content
프로젝트

RamezIssac/django-erp-framework

GitHub에서 보기

소개

A Django based framework to create diverse business solutions, equipped with a reporting engine with charts, widgets system , a custom admin site and other goodies

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • A Reporting Engine that can generate grouped reports and/or time series and/or crosstab from any model in your apps.
  • Charting capabilities to represent the data in the reports.
  • Widget system to create dashboards and display bits of the reports results and/or its charts on any page you want.
  • Customizable and easily extensible.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
https://img.shields.io/readthedocs/django-erp-framework https://img.shields.io/codecov/c/github/RamezIssac/django-erp-framework

Django ERP Framework

A light-weight, effective, Django based framework to create various business applications, resource planing and management systems.

Offers a ready made platform where you can start to create data entry pages and attach various reports to them.

Features

  • A Reporting Engine that can generate grouped reports and/or time series and/or crosstab from any model in your apps.
  • Charting capabilities to represent the data in the reports.
  • Widget system to create dashboards and display bits of the reports results and/or its charts on any page you want.
  • Customizable and easily extensible.
  • Django Jazzy Tabler admin theme integration ready to use.
  • Python 3.10+, Django 5.2 / 6.1

Installation

$ pip install django-erp-framework
    OR
$ pip install -e git+https://github.com/RamezIssac/django-erp-framework.git#egg=django-erp-framework@develop

Check out the getting started on Read The Docs.

Demo

You can checkout a demo application here.

Code is available on Github.

Homepage

Documentation

Available on Read The Docs

Please Proceed to the tutorial Create a sales application Part 1

Reporting Engine

The reporting engine of this framework is released as a separate package django-slick-reporting.

Testing and contribution

To run the test suite, first, create and activate a virtual environment. Then clone the repo, install the test requirements and run the tests:

# 1. Clone and install requirements
$ git clone [email protected]:RamezIssac/django-erp-framework.git
$ cd tests
$ pip install -e ..
$ pip install -r requirements.txt

# 2. Set the test database connection details in the environment
$ export DATABASE_NAME=<database name>
$ export DATABASE_USER=<database user>
$ export DATABASE_PASSWORD=<database password if any>

# 3. Run the tests
$ ./runtests.py
# And for Coverage report
$ coverage run --include=../* runtests.py [-k]
$ coverage html

Mutation testing

Each pull request runs mutation testing on the Python lines it changes and measures their coverage (scripts/mutate_changed.py, Mutation workflow). It posts the mutant counts, the changed-lines coverage, up to 40 surviving mutants and the changed lines no test runs to the job summary and a PR comment. It is a report: survivors and uncovered lines do not fail the PR. To run the same check locally from the repo root:

$ pip install "mutmut[patch]==2.5.1"
$ python scripts/mutate_changed.py origin/develop   # BASE: the branch the PR targets
$ mutmut results      # ids of the surviving mutants
$ mutmut show <id>    # the diff of one mutant

The report prints at the end and stays in comment.md.

Kill a survivor with a test that asserts the mutated value. When the mutant cannot change behaviour (an equivalent mutant), mark the line with # pragma: no mutate and a short reason:

closest = get_close_matches(word, choices, n=1)  # pragma: no mutate: only closest[0] is read

For more information on contributing, we honor Django's guidelines.

관련 프로젝트 살펴보기

불러오는 중…