frappex-client v0.1.1

Reference

Contributing#

Bug reports, fixes, tests and documentation are all welcome.

Report a bug#

Open an issue with:

  • the frappex-client, Frappe and Python versions,
  • whether you used Client or AsyncClient,
  • the smallest code that shows the problem, and the full exception text.

Remove API keys, passwords and personal data from anything you paste. Security problems go through private reporting, never a public issue.

Propose a feature#

Open an issue first, describing the task you are trying to do rather than only the solution. Agreeing on the scope before writing code saves everyone time.

Set up the project#

You need uv and Python 3.10 or newer.

git clone https://github.com/Padmapriyan27/frappex-client.git
cd frappex-client
uv sync

Run the same checks as CI:

uv run ruff check . && uv run ruff format --check .
uv run mypy
uv run pytest --cov

Submit a change#

  1. Create a branch from main.
  2. Add or update tests. A change in behaviour needs a test that fails without it.
  3. Change Client and AsyncClient together; they must stay identical.
  4. Add a line under Unreleased in CHANGELOG.md.
  5. Open a pull request with a Conventional Commits title, such as fix(protocol): encode '#' in document names.

Reviewers check that both clients still match, that the security rules still hold, and that public functions are typed and documented.

The full developer guide covers the architecture, adding an API call, integration tests and releasing.

By contributing you agree that your work is released under the MIT License.

Found a mistake? Open an issue.