Skip to content

coder-dojo-ham/coder-dojo-common-python

Repository files navigation

Coder Dojo (Ham/Kingston) Common Python Packages

Basic packages containing all the Python dependencies for the Coder Dojo Sessions.

Installation

You can install the package from PyPI using the following command.

'pip install "coder-dojo-common-python[games,data]"

You can install the package from GitHub using the following command.

pip install 'coder_dojo_common_python[games,data] @ https://github.com/Stedders/coder-dojo-common-python/releases/download/v0.0.1/coder_dojo_common_python-0.0.1-py3-none-any.whl'

This will install the games and data packages for the v0.0.1 release.

As packages are updated or new packages added a new version will be published, please check the latest version at https://github.com/coder-dojo-ham/coder-dojo-common-python/releases.

Tooling

The package includes some useful tools to help you.

Kenney Assets

You can manage assets from https://www.kenney.nl/ via a CLI

Query

This command will list all the assets on the kenney.nl website.

kenney-assets query

Install

This will install a selected asset into your current project in a folder called assets.

kenney-assets install tiny-town

Development

Requires poetry.

Install

poetry install

Add package

All packages are added as optional and grouped into extras.

poetry add requests --optional

You will then need to update the extra information to ensure the package is in the correct group.

Either update the appropriate extras section or create a new section under extras in the pyproject.toml file.

[tool.poetry.dependencies]
#...stuff...
requests = { version = "^2.28.2", optional = true } # Package added as optional
#...more stuff...

[tool.poetry.extras]
#...existing extras...
web = ["requesets"] # A new extra 'web'

Build package

poetry build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages