Skip to main content

Python Package to Generate Meetup Websites

Project description

meetlify

Python based Static Site Genrator for Meetups/Meetup Webites.

license status pypi_version supported_python_versions

How to Use?

This package is available at pypi and you can install it with pip install meetlify command. It will also install required additional libraries/Python Packages automatically.

Using GitHub Template

We have prepard meetlify-template which is a sample template repository. Just use this template to create your own repository.

This approach is for buy and non techies who just want to host a simple meetup website. Make sure that GitHub actions are allowed to execute on your account. After successful clone, the website will automatically create/update gh_pages branch which you can link with any static hosting provider e.g. GitHub Page, Netlify, Cloudflare Pages, Vercel and others. However, this repo is optimized for hosting on Netlify.

Using Command Line Interface (CLI)

Create an empty folder on your computer or move to a desired location where you want to create the Meetup Website.

  1. Now execute meetlify init which will crate an empty configuration file (JSON) in the folder. Feel free to edit it as per your need. Content of the configuration file are self explanatory.

  2. Now execute meetlify setup which will setup the all folders as per your configurations.

  3. Now execute meetlify make which will generate full website in output folder.

Using Application Programming Interface (API)

You can embed meetilify into your existing workflow easily. Here is a sample snippet.

from pathlib import Path
from meetlify.api import Meetlify
from meetlify.utils import initialize

destination_path = Path("/home/user/Desktop/sample_webiste/")

# Now initialize configurationn file
initialize(dest_=destination_path)

# Modify newly created config.json file as per your need.
mtlfy = Meetlify(dest_=destination_path)
mtlfy.render_home()
mtlfy.render_404_page()
mtlfy.render_meetups()
mtlfy.render_posts()
mtlfy.render_pages()
mtlfy.render_categories()
mtlfy.render_redirects()
mtlfy.render_sitemaps()
mtlfy.render_robots_txt()
mtlfy.copy_assests()

How to Extend ?

  • Clone or download this repository to your computer.
  • Create a virtual environment using python -m .venv venv
  • Navigate to the downloaded directory and then install all required dependencies using pip install -e .
  • Now you can open api.py file and start editing it. Feel free to extend it or even submit a pull request if you have a useful feature.

Contribute

Pull Requests, Feature Suggestions, and collaborations are welcome.

About Us

This work is a collaborative effort of PyBodensee, and SerpWings.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meetlify-0.1.12.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meetlify-0.1.12-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file meetlify-0.1.12.tar.gz.

File metadata

  • Download URL: meetlify-0.1.12.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for meetlify-0.1.12.tar.gz
Algorithm Hash digest
SHA256 5653589c71770ae86e2bfcae065e47273b1b92de174ed1fa80c7207d50b7af93
MD5 affeec52dda85fa7a3a0198732dec87c
BLAKE2b-256 a42ab7f4421c892caca83b0be85154dd12b76f4bdb2b2de1ee5257b999b01bb3

See more details on using hashes here.

File details

Details for the file meetlify-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: meetlify-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for meetlify-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 9138b799740151aac306d211f0a58abed8eaaa2fe5d38ea77afeadebd66cdfc5
MD5 b94cc8ddcb697c3da32e4451dae7e179
BLAKE2b-256 97e05e62145ea1341c261b39c888ced8f87391f7e39de1a9ab60415a9e7a2a03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page