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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file nobinobi-stats-0.1.5.tar.gz.

File metadata

  • Download URL: nobinobi-stats-0.1.5.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.5

File hashes

Hashes for nobinobi-stats-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ed86499e130b11d4b3fad2fa353d600f1c77f1ff60502085b130c854dccbc263
MD5 816a08857932dbf7a7031f80f89679a8
BLAKE2b-256 aa3fe31f74b9520740672f80bce272e67aea3f9a122bd0c7467bb60883c39c50

See more details on using hashes here.

File details

Details for the file nobinobi_stats-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: nobinobi_stats-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.5

File hashes

Hashes for nobinobi_stats-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e90fba3d6e9461285e822571d7ac46e6f3fc39ae6321827b9067c43ba3e15d41
MD5 64f540c0902f1a659f5713793deacb81
BLAKE2b-256 dfd6b559527419b85d704964d0de9e323b1d6099cc2c5383073ed421d14a21b0

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