Skip to main content

Application Stats for nobinobi

Project description

https://badge.fury.io/py/nobinobi-stats.svg https://travis-ci.org/prolibre-ch/nobinobi-stats.svg?branch=master https://codecov.io/gh/prolibre-ch/nobinobi-stats/branch/master/graph/badge.svg

Package Stats for nobinobi

Documentation

The full documentation is at https://nobinobi-stats.readthedocs.io.

Quickstart

Install Nobinobi Stats:

pip install nobinobi-stats

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'phonenumber_field',
    'crispy_forms',
    'django_extensions',
    'rest_framework',
    'rest_framework.authtoken',
    'rest_framework_datatables',
    'menu',
    'bootstrap_modal_forms',
    'widget_tweaks',
    'django_select2',
    'bootstrap_datepicker_plus',
    'nobinobi_core',
    'nobinobi_staff',
    'nobinobi_child.apps.NobinobiChildConfig',
    'nobinobi_daily_follow_up.apps.NobinobiDailyFollowUpConfig',
    'nobinobi_stats.apps.NobinobiStatsConfig',
    ...
)

Add Nobinobi Stats’s URL patterns:

from nobinobi_core import urls as nobinobi_core_urls
from nobinobi_staff import urls as nobinobi_staff_urls
from nobinobi_child import urls as nobinobi_child_urls
from nobinobi_daily_follow_up import urls as nobinobi_daily_follow_up_urls
from nobinobi_stats import urls as nobinobi_stats_urls

urlpatterns = [
    ...
    path('', include(nobinobi_core_urls)),
    path('', include(nobinobi_staff_urls)),
    path('', include(nobinobi_child_urls)),
    path('', include(nobinobi_daily_follow_up_urls)),
    path('', include(nobinobi_stats_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

History

0.1.5 (2023-09-13)

  • 75783f3 - Update stats occupancy to use ocs and dayoff

0.1.4 (2023-09-12)

  • cde21fa - Fix stats occupancy remove Organisation Closure from stats

0.1.3 (2022-02-24)

  • 5e7d804 - fix in stats attendance when 3 periods is between us

0.1.2 (2021-12-14)

  • 2292069 - fix error in new version of bootstrap datetimepicker

  • 02cac33 - Add FR translation to git

0.1.1 (2021-09-24)

  • 359beea - Fix for bumpversion

  • c937c74 - Update Copyright

0.1.0 (2021-09-24)

  • First release on PyPI.

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

nobinobi-stats-0.1.5.tar.gz (33.0 kB view hashes)

Uploaded Source

Built Distribution

nobinobi_stats-0.1.5-py2.py3-none-any.whl (42.3 kB view hashes)

Uploaded Python 2 Python 3

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