Python API client for nextcloud cookbook app API
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nextcloud_cookbook_api-0.1.0.tar.gz.
File metadata
- Download URL: nextcloud_cookbook_api-0.1.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
613b7e99855de9f512f125924d05228ce0551dda5eaa3706741eb1ac8c4c7418
|
|
| MD5 |
1aec6ebe5dfe94d285106fc2cc0b1ff3
|
|
| BLAKE2b-256 |
ef80da5a4b1ba652b0d0b532102291ad4d468417ba6f4ebe25c3c1f2ab98dd35
|
File details
Details for the file nextcloud_cookbook_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nextcloud_cookbook_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cb6d6f1a341a6055073e96f995e9abd5697816d9572629e75a73416bad69bbf
|
|
| MD5 |
1cb2d5c4b841c21ef13b29d5793553c5
|
|
| BLAKE2b-256 |
00cb2d8fee440a275e17ff2c80083ebbfcbb6c9b1139081c5b810cb1b1ea2424
|