Skip to main content

pelican-github-activity

Github activity plugin made to work with nice-blog theme

GitHub activity

This plugin makes use of the feedparser_ library that you'll need to install.

Set the GITHUB_ACTIVITY_FEED parameter to your GitHub activity feed. For example, to track Pelican project activity, the setting would be::

 GITHUB_ACTIVITY_FEED = 'https://github.com/getpelican.atom'

If you want to limit the amount of entries to a certain maximum set the GITHUB_ACTIVITY_MAX_ENTRIES parameter.

 GITHUB_ACTIVITY_MAX_ENTRIES = 10

On the template side, you just have to iterate over the github_activity variable, as in this example::

 {% if GITHUB_ACTIVITY_FEED %}
    <div class="social">
            <h2>Github Activity</h2>
            <ul>

            {% for entry in github_activity %}
                <li><b>{{ entry[0] }}</b><br /> {{ entry[1] }}</li>
            {% endfor %}
            </ul>
    </div><!-- /.github_activity -->
 {% endif %}

github_activity is a list of lists. The first element is the title, and the second element is the raw HTML from GitHub.

feedparser

Acknowledgements

This package is based on the github_activity package by Mario Lang and updated to work with the nice-blog theme.

Metadata

Release files for pelican-github-activity 0.1.0

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-github-activity 0.1.0
File Size Uploaded Provenance Actions
pelican_github_activity-0.1.0.tar.gz 2.8 kB Without provenance Details for pelican_github_activity-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pelican-github-activity 0.1.0
File Interpreter ABI Platform Actions
pelican_github_activity-0.1.0-py3-none-any.whl Python 3 none any Details for pelican_github_activity-0.1.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / pelican_github_activity-0.1.0.tar.gz

Download URL pelican_github_activity-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3e08e4f3ae4dd8c3db2ac9d570d67a18e1f5ecc3877a410ee63c25a4cb63493b
BLAKE2b-256 checksum
How to use checksums
03f374a56ff164bf285edee9412605c0e416d78cce88e6b0841fbc13e223864b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / pelican_github_activity-0.1.0-py3-none-any.whl

Download URL pelican_github_activity-0.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc100bae3fe9027be28ad2d5f8703b5abb281738b4c686c237a71e9ccfdd654f
BLAKE2b-256 checksum
How to use checksums
4033926e2036ef6196f4a958a0d1abf6b7a06995563e65ea353dd76d2a6ad77f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for pelican-github-activity 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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