Skip to main content

A Pelican plugin for including Meetup group and event information on generated pages and articles.

Installation

  • Install this package:

    pip install pelican_meetup_info
  • Add the following to your pelicanconf.py to activate the plugin:

    PLUGINS = ['pelican_meetup_info']
  • Then add one of the following pairs of configs:

    • If you keep your config file private:

      MEETUP_API_KEY = 'your key here'
      MEETUP_URLNAME = 'Cleveland-Area-Python-Interest-Group'

      Get your API key here: https://www.google.com/search?q=meetup+api+key&ie=utf-8&oe=utf-8

    • Or if you expose your config file to the public (like in a public repo):

      MEETUP_GROUP_SIGNED_URL = 'https://api.meetup.com/Cleveland-Area-Python-Interest-Group?photo-host=public&sig_id=1442&sig=3c0d385c607d27a7bd3ae14f220f17856eb163c1'
      MEETUP_EVENTS_SIGNED_URL= 'https://api.meetup.com/Cleveland-Area-Python-Interest-Group/events?photo-                                                          host=public&page=20&sig_id=1442&sig=3dcd3aa3bfacf17cb45302a722ced9727e99cd37'

      More info about signed URLs here: https://www.meetup.com/meetup_api/auth/#keysign

Usage

With the plugin installed and properly configured, new dictionaries named meetup_group and meetup_events containg the Meetup API responses will be availabe in your page/article context. You may reference them in templates like this:

meetup_group:

{% if page.meetup_group %}
<h2>Meetup Info</h2>
<h3><a href="{{ page.meetup_group.link }}">{{ page.meetup_group.name }}</a></h3>
{{ page.meetup_group.description }}
{% endif %}

More info about group data: https://secure.meetup.com/meetup_api/console/?path=/:urlname

meetup_events:

{% if page.meetup_events %}
<h2>Upcoming Meetups</h2>
<ul>
    {% for meetup_event in page.meetup_events[:3] %}
    <li>
        <h3><a href="{{ meetup_event.link }}">{{ meetup_event.name }}</a></h3>
        <p>{{ meetup_event.local_date }} at {{ meetup_event.local_time }}</p>
        <p>{{ meetup_event.description }}</p>
        <p>At {{ meetup_event.venue.name }} - {{ meetup_event.venue.address_1 }}, {{ meetup_event.venue.city }}, {{ meetup_event.venue.state }} {{meetup_event.venue.zip }}</p>
    </li>
    {% endfor %}
</ul>
{% endif %}

More info about events data: https://secure.meetup.com/meetup_api/console/?path=/:urlname/events

Metadata

Release files for pelican-meetup-info 0.0.2

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-meetup-info 0.0.2
File Size Uploaded Provenance Actions
pelican-meetup-info-0.0.2.tar.gz 3.0 kB Without provenance Details for pelican-meetup-info-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pelican-meetup-info 0.0.2
File Interpreter ABI Platform Actions
pelican_meetup_info-0.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for pelican_meetup_info-0.0.2-py2.py3-none-any.whl

Total release size: 8.1 kB

Release files / pelican-meetup-info-0.0.2.tar.gz

Download URL pelican-meetup-info-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
376a22f1f724273cbfe98873a7107e97b3e1df32ff30acba8e30cd4833690287
BLAKE2b-256 checksum
How to use checksums
b3e3c67000c42260e7ed3692e73c57116b77025cc8a12795dbdf6831e9333e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pelican_meetup_info-0.0.2-py2.py3-none-any.whl

Download URL pelican_meetup_info-0.0.2-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d5f53efe2a3bb3a532202647e531641367738e8675299128b9c8661aa70501fc
BLAKE2b-256 checksum
How to use checksums
c311cd6577617bb2364ad03dd6d588e3c7eec71fe2f9c136da0517eb9be5a74b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pelican-meetup-info 0.0.2

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.0.2 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