Giter Site home page Giter Site logo

geotribu / pyqgis-icons-cheatsheet Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 162 KB

Script and tooling to convert QGIS embedded icons into a searchable website. Meant to be useful during QGIS plugin development (PyQGIS).

Home Page: https://pyqgis-icons-cheatsheet.geotribu.fr/

License: MIT License

Python 100.00%
cheatsheet geotribu pyqgis qgis-plugin qt-resource

pyqgis-icons-cheatsheet's Introduction

PyQGIS icons cheatsheet generator

๐Ÿš€ Build & publish

Code style: black flake8 Imports: isort pre-commit pre-commit.ci status

Script to convert a remote QRC (Qt Resources Collection files) into a markdown table to preview images.

This project covers QGIS project and generates a cheatsheet published on https://geotribu.github.io/pyqgis-icons-cheatsheet/.

Credits

Author: Julien M. (:octopus: Guts on GitHub, ๐Ÿฆ GeoJulien on Twitter) for Geotribu collaborative website.

Code under MIT license.
Content and methodolgy under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).
Website icon by Arunmozhi, CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0, via Wikimedia Commons.

Related plugin

There is also a plugin that allow to browse resources right into QGIS. Don't miss it!

demo_qgis_plugin_resource_browser.webm

Related contents


Development

Requirements

Setup

Typically on Ubuntu:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip setuptools wheel
python -m pip install -U -r requirements.txt
pre-commit install

Cheatsheet

Run the script:

python qrc_preview_in_md.py

The output markdown page is located at docs/index.md, overriding the version pushed as project has been started.

Website

Copy the README.MD into the docs folder:

cp README.md docs/credits.md

Build:

mkdocs build

Serve locally:

mkdocs serve

Open your browser on: http://localhost:8000


Deployment

The website is monthly regenerated and deployed on GitHub Pages using GitHub Actions. For more details, see the deploy.yml workflow.

pyqgis-icons-cheatsheet's People

Contributors

dependabot[bot] avatar guts avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.