Metadata-Version: 2.5
Name: university-community
Version: 0.1.1
Summary: University Community: communities with roles, privacy, invitations and delegated moderation for the University platform.
Project-URL: Homepage, https://github.com/NzeStan/University
Project-URL: Documentation, https://github.com/NzeStan/University/blob/main/docs/modules/community.md
Project-URL: Source, https://github.com/NzeStan/University
Project-URL: Changelog, https://github.com/NzeStan/University/blob/main/CHANGELOG.md
Author-email: Ifeanyi Stanley <nnamaniifeanyi10@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: africa,clubs,community,django,drf,groups,roles,university
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 5.2
Classifier: Framework :: Django :: 6.0
Classifier: Framework :: Django :: 6.1
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: university-core<0.2,>=0.1
Provides-Extra: test
Requires-Dist: drf-spectacular>=0.27; extra == 'test'
Requires-Dist: pytest-cov>=5; extra == 'test'
Requires-Dist: pytest-django>=4.8; extra == 'test'
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# university-community

Communities for the [University platform](https://github.com/NzeStan/University):
public, restricted and private communities; institution, campus, department, club, interest and
creator communities. Members have owner, admin, moderator and member roles. This is an optional
*level two* module that depends only on `university-core`.

- Join instantly (public), on approval (restricted), or by invitation and invite link (private).
  Private communities are invisible to outsiders.
- Strict role hierarchy, with exactly one owner and explicit ownership transfer. Nobody can act on
  peers or superiors.
- Communities are **audiences**: community-only social posts, anonymous community boards and
  community-scoped moderation queues work automatically through Core hooks.
- Delegated moderation: community moderators moderate their own community. Communities linked to
  an institution stay under its managers' authority, and reports about a community itself go to
  the parent scope.
- Optional "members of this institution only", official recognition by the parent scope, invite
  links stored as hashes, audit trail, export and purge with ownership succession.

```bash
pip install university-community
```

```python
INSTALLED_APPS = [..., *CORE_APPS, "university.community"]
```

Guide: https://github.com/NzeStan/University/blob/main/docs/modules/community.md
