Giant People
A re-usable package which can be used in any project that requires a generic People app.
This will include the basic formatting and functionality such as model creation via the admin. The package also includes a cms plugin which allows a client to add a select number of people to a page and order them via a "drag and drop", provided by django-admin-sortable2.
Installation
To install with the package manager, run:
$ poetry add giant-people
You should then add "people", "easy_thumbnails" and "filer" to the INSTALLED_APPS in your settings file.
The detail pages in this app use plugins which are not contained within this app. It is recommended that you include a set of plugins in your project, or use the giant-plugins app.
In order to run django-admin commands you will need to set the DJANGO_SETTINGS_MODULE by running
$ export DJANGO_SETTINGS_MODULE=settings
Configuration
This application exposes the following settings:
PEOPLE_ADMIN_LIST_DISPLAYis the field list for the admin index. This must be a list.PEOPLE_ADMIN_SEARCH_FIELDSis the fields that can be searched against in the admin. This must be a list.PEOPLE_ADMIN_FIELDSETSallows the user to define the admin fieldset. This must be a list of two-tuples.PEOPLE_ADMIN_READONLY_FIELDSallows the user to configure readonly fields in the admin. This must be a list.
Preparing for release
In order to prep the package for a new release on TestPyPi and PyPi there is one key thing that you need to do. You need to update the version number in the pyproject.toml.
This is so that the package can be published without running into version number conflicts. The version numbering must also follow the Semantic Version rules which can be found here https://semver.org/.
Publishing
Publishing a package with poetry is incredibly easy. Once you have checked that the version number has been updated (not the same as a previous version) then you only need to run two commands.
$ poetry build
will package the project up for you into a way that can be published.
$ poetry publish
will publish the package to PyPi. You will need to enter the username and password for the account which can be found in the company password manager
Metadata
Release files for giant-people 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| giant-people-0.5.0.tar.gz | 12.0 kB | Without provenance | Details for giant-people-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| giant_people-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for giant_people-0.5.0-py3-none-any.whl |
Total release size: 36.6 kB
Release files / giant-people-0.5.0.tar.gz
| Download URL | giant-people-0.5.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67aeb53b56a66cbe77638915c95d9b74d3ce48ae0df798a1eae2a4945617aa48
|
|
BLAKE2b-256 checksum How to use checksums |
e6a60ee4da011e64e7dbe59165d41f7569de8778084d8f4ecc71c9af547ae0a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Darwin/21.5.0
|
Release files / giant_people-0.5.0-py3-none-any.whl
| Download URL | giant_people-0.5.0-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60b48e2a0f44de5fca009e1538fe3788d6a016b0c12c018994267d1ecfb6a080
|
|
BLAKE2b-256 checksum How to use checksums |
0e722df64548d5b595f914657dd9bb85fc90c53f8f0559a8fe1504bca33244b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Darwin/21.5.0
|
Security for giant-people 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.