There are no reviews yet. Be the first to send feedback to the community and the maintainers!
# Kivy.org Website (https://www.kivy.org) ## Folder structure - `configs` : contains the configurations needed to build the page templates via the **build** tool (during development and also distribution). - `content` : This folder will be copied as-is to the website distribution (`dist`) during **build**. _Please make sure that everything included in this folder is expected to be publicly accessible via kivy.org._ - `templates` : All the HTML templates needed to build the Kivy website are here. - `tools`: Contains `build.py`, which is needed in order to build the website. ## How do we generate the page from templates? The **build tool** (`tools/build.py`) uses the `config/config.json` file in order to know which pages should be built and how to build them. Multiple pages are defined in `config/config.json`, and each page has its own `template` and `env`. ### But in `templates/index.html`, there's an `[[ include "components/header.html" ]]`. What that does mean? And how we should use `env`? The **build tool** uses [Renoir](https://github.com/emmett-framework/renoir) under the hood as a templating engine. Renoir is easy, production-ready and has quite complete [documentation](https://github.com/emmett-framework/renoir/blob/master/docs/quickstart.md). `env` should contain all the variables that need to be accessed during the page generation. As an example, with the following configuration: ```json ... { "template": "index.html", "env": { "name": "Kivy" } } ... ``` And the following snippet in `index.html` ```html <p>Hi, [[ =name ]]</p> ``` Will produce the following output, when the template has been built: ```html <p>Hello, Kivy</p> ``` ## How about the styling (CSS)? Writing CSS code from scratch can be boring and stressful, and sometimes it is a pain to maintain. [TailwindCSS](https://github.com/tailwindlabs/tailwindcss) fills this gap, marking itself as a utility-first CSS framework for rapidly building custom user interfaces. It also comes with an extensive documentation and offers a lot of examples: [Getting Started with Tailwind CSS](https://tailwindcss.com/docs). ## Quick start: ### First-time setup - Clone the `kivy-website` repository and move into the `kivy-website` folder ```bash git clone https://github.com/kivy/kivy-website.git cd kivy-website ``` - Install `node` requirements (`tailwindcss`) ```bash npm install ``` - Install the required `python` deps to build the website templates. (a virtualenv is recommended) ```bash pip install -r requirements.txt ``` ## Building the website (output is placed in the `dist` folder) ### Development mode Both **tailwindcss** and the **build tool** come with auto-reload options in order to speed up site development. ```bash npm run develop ``` ```bash python tools/build.py --watch ``` ### Building for production ```bash npm run build ``` ```bash python tools/build.py ```
kivy
Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOSpython-for-android
Turn your Python application into an Android APKbuildozer
Generic Python packager for Android and iOSplyer
Plyer is a platform-independent Python wrapper for platform-dependent APIspyjnius
Access Java classes from Pythonkivy-designer
UI designer for Kivy - DEPRECATEDkivy-ios
Toolchain for compiling Python / Kivy / other libraries for iOSkivent
KivEnt is an entity-based game engine for Kivyaudiostream
Audio API for streaming raw data to speakerspyobjus
Access Objective-C classes from Pythonkivy-remote-shell
Remote SSH + Python interactive shell in Kivyoscpy
An efficient OSC implementation compatible with python2.7 and 3.5+kivy-launcher
Reboot of the older Kivy launcherpythonar
python auto reloaderkivy-sdk-packager
Scripts for Kivy SDK generation on Windows, OS X and Linuxkivy-berkelium
Berkelium extension for Kivy - DEPRECATED, use https://github.com/kivy-garden/garden.cefpython instead.p4a-cloud
Build cloud for Python for android - DEPRECATEDpiki
kivy games for raspberry piaprofiler
Simple tool that allow you to emit start/end event, and markskivy-server
Docker configuration for the Kivy serverpycon2013
pycon 2013 kivy presentationkivy-ideas
Various ideas related to the Kivy project.condiment
Conditionally include or remove code, according to the environment variableskivy-translations
This is the repository where Kivy translations are managed - DEPRECATEDplyer_demo
an android app to showcase all plyer featureskivy-design
Graphical elements used by the Kivy Organizationncis
angle-builder
Build and releases ANGLE binaries for different platformsncis-inspector
A Kivy app to interact with the NCIS module in Kivy appsp4a-pygame-bootstrap-components
The jni components of the python-for-android pygame bootstrapkivy_pong_demo
Demo kivy pong-game apptemplates
This is a template repository, supposed to help developers with getting a quick setup of a kivy app repository that uses GitHub actions to build packages for various platforms.ncis-kivy
an ncis module to inspect kivy applicationsncis-python
kivy-website-docs
mcnotify
GitHub App that comments on predefined issues after certain eventsLove Open Source and this site? Check out how you can help us