minchoc
Minimal Chocolatey-compatible NuGet server in a Django app.
Installation
pip install minchoc
In settings.py, add 'minchoc' to INSTALLED_APPS. Set ALLOW_PACKAGE_DELETION to True if you
want to enable this API.
INSTALLED_APPS = ['minchoc']
ALLOW_PACKAGE_DELETION = True
A DELETE call to /api/v2/package/<id>/<version> will be denied even with authentication unless
ALLOW_PACKAGE_DELETION is set to True.
Add path('/api/v2/', include('minchoc.urls')) to your root urls.py. Example:
from django.urls import include, path
urlpatterns = [
path('admin/', admin.site.urls),
path('api/v2/', include('minchoc.urls')),
]
Run ./manage.py migrate or similar to install the database schema.
Notes
When a user is created, a NugetUser is also made. This will contain the API key for pushing.
It can be viewed in admin.
Add your source to Chocolatey
As administrator:
choco source add -s 'https://your-host/url-prefix'
choco apikey add -s 'https://your-host/url-prefix' -k 'your-key'
On non-Windows platforms, you can use my pychoco package, which also supports the above commands.
Supported commands
choco installchoco pushchoco search
Metadata
Release files for minchoc 0.2.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 | |
|---|---|---|---|
| minchoc-0.2.0.tar.gz | 22.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minchoc-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.6 kB
Release files / minchoc-0.2.0.tar.gz
| Download URL | minchoc-0.2.0.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54f9c0b7ddb925ccebea1c3f951bdaacb5e77c776471ad005c143fbd7117b570
|
|
BLAKE2b-256 checksum How to use checksums |
1f7ced230ded726ef65fa24bf1a6b87224748d796a540496c1b8b77feebf8239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 27, 2026.
Transparency logRelease files / minchoc-0.2.0-py3-none-any.whl
| Download URL | minchoc-0.2.0-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31b8a1c3848c9b757f57ebfd667ff6ae4c03fa3b1900cad50df70fc44e2861c6
|
|
BLAKE2b-256 checksum How to use checksums |
b3d29697a43e4c69e9b750a528522ed8fda7203130fb516ddd60a5e265fd0f49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 27, 2026.
Transparency log