juntagrico-pg
postgres db editor for juntagrico.
This is an extension for juntagrico. You can find more information about juntagrico here (https://github.com/juntagrico/juntagrico)
Installation
Install juntagrico-pg via pip
$ pip install juntagrico-pg
or add it in your projects requirements.txt
In settings.py add 'juntagrico_pg', before juntagrico.
INSTALLED_APPS = [
...
'juntagrico_pg',
'juntagrico',
]
In your urls.py you also need to extend the pattern:
urlpatterns = [
...
path('', include('juntagrico_pg.urls')),
]
Security
The console executes any SQL with the database user of your juntagrico instance. A user with the permission
juntagrico_pg.can_sql can read and change all data, e.g. password hashes and session keys, and can make
themselves a superuser. Only give this permission to people you would also give superuser rights.
Superusers always have this permission.
Settings
| Setting | Default | Description |
|---|---|---|
JPG_MAX_ROWS |
1000 |
Maximum number of rows shown in a result. |
JPG_STATEMENT_TIMEOUT |
30000 |
PostgreSQL statement_timeout in milliseconds for queries of the console. 0 or None disables it. |
The row limit only limits the output. The database driver still loads the whole result into memory, so the statement timeout is the actual protection against expensive queries.
Logging
Every statement is logged with the executing user to the logger juntagrico_pg (level INFO, failures with
level WARNING). Make sure your LOGGING configuration keeps these messages, e.g.:
LOGGING = {
...
'loggers': {
'juntagrico_pg': {
'handlers': ['console'],
'level': 'INFO',
},
},
}
psql meta commands
Commands starting with a backslash are executed with pgspecial.
Only commands that read the catalog are supported: \d, \dt, \dv, \dm, \di, \ds, \df, \dn,
\du, \dx, \dT, \l and \h. They accept a pattern like in psql, e.g. \dt juntagrico_m* or
\d juntagrico_member.
Metadata
Release files for juntagrico-pg 2.0.1
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 |
|---|---|---|---|---|
| juntagrico_pg-2.0.1.tar.gz | 15.3 kB | With provenance | Details for juntagrico_pg-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| juntagrico_pg-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for juntagrico_pg-2.0.1-py3-none-any.whl |
Total release size: 30.5 kB
Release files / juntagrico_pg-2.0.1.tar.gz
| Download URL | juntagrico_pg-2.0.1.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
530a810adcc9a043883c479dcd49f638c8afd57c2c2df59f9ccbfc151f9f0dee
|
|
BLAKE2b-256 checksum How to use checksums |
ff0f5adc79b80f038623b97ce690d84b9c5f1b855b499fa874c790d31cc7bae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / juntagrico_pg-2.0.1-py3-none-any.whl
| Download URL | juntagrico_pg-2.0.1-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79bd9c6708b99977cfd1813c93f75847a8013391a5dadc086777e3ba5249fdb5
|
|
BLAKE2b-256 checksum How to use checksums |
36c99e11cc2694641fdbf6d8b027a3477d937f72b399f8501b9f8f44a0dbbf8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for juntagrico-pg 2.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for juntagrico_pg-2.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA 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.