Skip to main content

Pelican Github Projects

Embed a list of your public GitHub projects in your pages.

Installation

To install pelican-githubprojects, simply install it from PyPI:

$ pip install pelican-githubprojects

Configuration

Enable the plugin in your pelicanconf.py

PLUGINS = [
    # ...
    'pelican_githubprojects',
    # ...
]

Add a setting with your GitHub username.

GITHUB_USER = 'kura'

Available data

name:

The name of your project.

language:

The language your project is written in, information on how GitHub detects languages is available here. It is GitHub that detects the language, not this plugin. So please, no issues about that.

description:

The description of your project (as set on GitHub.)

homepage:

The homepage of your project (as set on GitHub.)

github_url:

The web page URL of your project on GitHub (not the GIT or API URL.)

Usage

In your templates you will be able to iterate over the github_projects variable, as below.

{% if GITHUB_USER %}
    <h1>Projects</h1>
    {% for project in github_projects %}
        <h2>{{ project.name }} <sup>({{ project.language }})</sup></h2>
        <p>{{ project.description }}</p>
        <p>
            <a href="{{ project.homepage }}">Homepage</a>
            <a href="{{ project.github_url }}">GitHub</a>
        </p>
    {% endfor %}
{% endif %}

License

MIT license.

Metadata

Release files for pelican-githubprojects 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pelican-githubprojects 0.1.1
File Size Uploaded
pelican-githubprojects-0.1.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-githubprojects 0.1.1
File Interpreter ABI Platform
pelican_githubprojects-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.8 kB

Release files / pelican-githubprojects-0.1.1.tar.gz

Download URL pelican-githubprojects-0.1.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
339dafdfe60c6237d9924bdfc9316f3630c61aad3d769e236100dcae8740b72d
BLAKE2b-256 checksum
How to use checksums
3e38e15560532881dd60c13ad014faea22db844f70a2520660ef4231d63c1e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pelican_githubprojects-0.1.1-py2.py3-none-any.whl

Download URL pelican_githubprojects-0.1.1-py2.py3-none-any.whl
Size 6.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0959ebe29f151fe6ebe6862dea52964b8484f8ef9814413f98000bf70f707f06
BLAKE2b-256 checksum
How to use checksums
82eefb382cd5375826690553ff68c2959e771a0105c20d0b2ca21aab96f43242
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page