Nextcloud cookbook API
Python API client for nextcloud cookbook app API
Table of contents
About
This is a Python API client for the Nextcloud Cookbook app API. It allows you to interact with your Nextcloud Cookbook instance programmatically, enabling you to manage recipes, ingredients, and other related data.
Installation
Installation from pip
Install the latest version of the API client from pip:
pip install nextcloud-cookbook-api
You can also very easily update to a newer version:
pip install -U nextcloud-cookbook-api
Installation from source
You can also install the latest version of the API client directly from source:
git clone https://github.com/infinityofspace/nextcloud_cookbook_api.git
cd nextcloud_cookbook_api
pip install .
Usage
You can find the full documentation for the API client here.
Development
Setup environment
First get the source code:
git clone https://github.com/infinityofspace/nextcloud_cookbook_api.git
cd nextcloud_cookbook_api
Now create a virtual environment, activate it and install all dependencies with the following commands:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Now you can start developing.
Contributing
Feel free to contribute to this project by creating a pull request. Before you create a pull request, make sure that you code meets the following requirements (you can use the specified commands to check/fulfill the requirements):
- check unit tests:
python -m unittest tests/**/*.py - format the code:
ruff format - check linting errors:
ruff check
Tests
You can run the tests with the following command:
python -m unittest tests/*.py
Documentation
To build the documentation, you can use the following commands:
sphinx-apidoc -f -o docs/source nextcloud_cookbook_api
cd docs && make html
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for nextcloud-cookbook-api 0.1.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 | |
|---|---|---|---|
| nextcloud_cookbook_api-0.1.0.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nextcloud_cookbook_api-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / nextcloud_cookbook_api-0.1.0.tar.gz
| Download URL | nextcloud_cookbook_api-0.1.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
613b7e99855de9f512f125924d05228ce0551dda5eaa3706741eb1ac8c4c7418
|
|
BLAKE2b-256 checksum How to use checksums |
ef80da5a4b1ba652b0d0b532102291ad4d468417ba6f4ebe25c3c1f2ab98dd35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / nextcloud_cookbook_api-0.1.0-py3-none-any.whl
| Download URL | nextcloud_cookbook_api-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cb6d6f1a341a6055073e96f995e9abd5697816d9572629e75a73416bad69bbf
|
|
BLAKE2b-256 checksum How to use checksums |
00cb2d8fee440a275e17ff2c80083ebbfcbb6c9b1139081c5b810cb1b1ea2424
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|