Skip to main content

An object-oriented wrapper for the KIPR Botball library with additional functionalities.

Project description

MyPythonModule

PyPI version

An object-oriented wrapper for the KIPR Botball library with additional functionalities.

Installation

The module is installed using pip:

pip install IHSBotballKit

Usage

Documentation can be found in the source code or stubs. Examples use cases are provided in the examples folder.

Contributing

Contributions are welcome! Please follow the following style guides:

  • Use standard python syntax and naming conventions(e.g. snake_case for variables, CamelCase for classes).
  • All importable members must be documented using Google style docstrings.
  • Type hinting is not required but strongly recommended whenever possible.
  • It is recommended to use a static type checker such as mypy while contributing to the package.
  • Create stubs in the stubs folder after you've made all the changes. A good way to do that is to use mypy's stubgen.
    • note: the stubs generated will have some issues and incomplete typing. It is your job to fix them before committing the code.

      # generate all the stubs at once
      stubgen -p ./IHSBotballKit -v --include-docstrings -o ./stubs
      # generate stubs for one (or more) file
      stubgen ./IHSBotballKit/file.py ./IHSBotballKit/file2.py -v --include-docstrings -0 ./stubs
      
  • Chores:
    • Update version number in __init__.py according to semantic versioning guidelines.
    • Create new release on GitHub.
    • Update relevant information in setup.py, namely version, download url, and dependencies.
    • Run the following to upload the new version to pypi.
      rm -rf dist && python3 setup.py sdist
      twine check dist/* # make sure there are no problems in the uploaded file(s)
      twine upload dist/*
      

Acknowledgements

  • Botballkit - For inspiration and some functionality.

Issues

If you encounter any issues, please create a new issue here. Please be detailed in the description of the issue, include relevant background information (e.g. operating system, software versions), expected behavior, and how to reproduce the issue.

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

IHSBotballKit-1.0.1.tar.gz (30.2 kB view details)

Uploaded Source

File details

Details for the file IHSBotballKit-1.0.1.tar.gz.

File metadata

  • Download URL: IHSBotballKit-1.0.1.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for IHSBotballKit-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c8d344b7fe9566db32e49da689e432098b6e08006d67b5c9d94197a50b24866a
MD5 3e65efd74ab43274def38dabc3ca3afa
BLAKE2b-256 fc51d5c71c5d3c8f1dfc7cadc53c2cef7266d38a454bf2e1c42ce001438c6bfe

See more details on using hashes here.

Supported by

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