Skip to main content

Don't be fumblin' no trades now

Project description

Runefumbler

The execution engine for interacting with runescape client.

Project Development Setup

This project uses a Windows batch script, dev.bat, to simplify the management of the Python development environment. The script handles virtual environment creation, dependency management, formatting, and testing.

Prerequisites

Ensure the following are installed on your machine:

Usage

1. Setting up the Development Environment

To create a virtual environment and install the necessary dependencies, including development packages, run:

dev.bat create-dev

This will:

  • Create a virtual environment in the .venv directory (if not already created).
  • Install poetry inside the virtual environment (if not available).
  • Install all project dependencies as defined in pyproject.toml, including the dev dependencies.
  • run .venv\Scripts\activate to activate your env

2. Formatting Code

To automatically format your Python code using black and isort, run:

dev.bat format

This command applies both formatters across the project codebase.

3. Checking Code Formatting

To check if your code adheres to the project's formatting standards without applying changes, run:

dev.bat format-check

This will verify that the code is formatted according to black and isort rules.

4. Checking Dependencies

To check for any potential issues in your project dependencies, such as unused or incorrect packages, run:

dev.bat dep-check

5. Updating the Development Environment

To update all the project dependencies to their latest compatible versions, run:

dev.bat update-dev

6. Running Tests

To run the test suite with pytest, along with coverage reports, run:

dev.bat test

This command generates both terminal and HTML coverage reports, with coverage information for the ./runespreader directory.

Available Commands

Command Description
create-dev Set up the virtual environment and install dependencies
format Format the code using black and isort
format-check Check the code formatting without making changes
dep-check Check for dependency issues using deptry
update-dev Update all project dependencies to their latest compatible versions
test Run the test suite with pytest and generate coverage reports

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runefumbler-0.1.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

runefumbler-0.1.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file runefumbler-0.1.5.tar.gz.

File metadata

  • Download URL: runefumbler-0.1.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.9 Windows/10

File hashes

Hashes for runefumbler-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bd20c324eb30f9cca80f15ffa425a6f11cb509c7cbcb71eb8868c14dbfbc5f58
MD5 491c9579b6582130152ddb68aa38e319
BLAKE2b-256 b68c6cae55b9531643b95d596797f1a5e86e64fc524d3398c66f70bb6813e0ca

See more details on using hashes here.

File details

Details for the file runefumbler-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: runefumbler-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.9 Windows/10

File hashes

Hashes for runefumbler-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7359e4f2398eabb2916b44911794cb8bf7a018f3f9c05e8c4e2e938b05015ae2
MD5 142c0a194d6a8e01a7fecd51289af846
BLAKE2b-256 d74c41f10a4922015a02ab167d37708abccd311882b17eccb94d875ecfce0849

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page