Python metadata and integration helper package for https://meigenai.io and Meigen AI publishing workflows
Project description
meigenai-io
Python metadata and integration helper package for meigenai.io.
meigenai-io provides a small, importable Python layer for Meigen AI publishing, website metadata, and local content automation workflows. The
package is intentionally lightweight, but the published metadata is complete:
it exposes the production website URL, documentation URL, source repository,
local repository path, content path, and Next.js app path used by the site.
This package is useful as a stable integration point for scripts that generate content, inspect website structure, publish MDX files, or attach site metadata to automation output. It follows the same package-page pattern used by broader SDK-style placeholder packages: clear installation instructions, concrete usage examples, package metadata, and direct links back to the target website.
Installation
Install from PyPI:
pip install meigenai-io
Upgrade to the latest published version:
pip install --upgrade meigenai-io
Quick Start
from meigenai_io import HOMEPAGE, hello, get_site_info
print(hello())
print(HOMEPAGE)
print(get_site_info())
Expected output includes the public website URL:
https://meigenai.io
Metadata API
The package exposes simple constants for direct imports:
from meigenai_io import (
HOMEPAGE,
DOCUMENTATION,
PACKAGE,
REPOSITORY,
LOCAL_REPOSITORY,
CONTENT_PATH,
APP_PATH,
)
You can also retrieve everything at once:
from meigenai_io import get_site_info
site = get_site_info()
print(site["name"])
print(site["homepage"])
print(site["content_path"])
print(site["app_path"])
Returned metadata:
{
"name": "meigenai.io",
"homepage": "https://meigenai.io",
"documentation": "https://meigenai.io/docs",
"package": "meigenai-io",
"repository": "https://github.com/youram470-art/meigenai-io-python",
"local_repository": "/Users/mac/Documents/code/meigenai",
"content_path": "content",
"app_path": "src/app",
}
Automation Example
The metadata can be used in release scripts, blog generators, indexing tools, or site maintenance commands:
from pathlib import Path
from meigenai_io import get_site_info
site = get_site_info()
content_dir = Path(site["local_repository"]) / site["content_path"]
app_dir = Path(site["local_repository"]) / site["app_path"]
print(f"Website: {site['homepage']}")
print(f"Content directory: {content_dir}")
print(f"Next.js app directory: {app_dir}")
Use Cases
- Keep a Python package name reserved for Meigen AI related tooling.
- Provide a clean PyPI page that points back to https://meigenai.io.
- Share website metadata across scripts without duplicating hard-coded paths.
- Support Meigen AI website automation, content indexing, and package metadata reuse.
- Help publishing tools locate
contentandsrc/appconsistently.
Project Layout
The related website project is organized around local content and Next.js app routes:
Local repository: /Users/mac/Documents/code/meigenai
Content path: content
Next.js app path: src/app
Use it when a Python script needs to know where the Meigen AI content lives, which public URL should be attached to generated output, or which repository owns the package metadata.
Links
- Website: https://meigenai.io
- Documentation: https://meigenai.io/docs
- Source: https://github.com/youram470-art/meigenai-io-python
- PyPI: https://pypi.org/project/meigenai-io/
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meigenai_io-0.1.1.tar.gz.
File metadata
- Download URL: meigenai_io-0.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2531a8aee541c227beba4fc71a711af2f6363b62e4fd0bfe4c9e31f59ab47da6
|
|
| MD5 |
a445f26406f2c96bd2cdc3cdc4310a91
|
|
| BLAKE2b-256 |
3f4d58979dabb8cba4c41b132116436945dc6bad354739d19502463baafe0396
|
File details
Details for the file meigenai_io-0.1.1-py3-none-any.whl.
File metadata
- Download URL: meigenai_io-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12c7dd5bcbe61ad8418256abf92da04f241cbae95f69b38d872207f7394b56e6
|
|
| MD5 |
f3629ec351fb8bd79502cf4bb6de001a
|
|
| BLAKE2b-256 |
e6c8e842787126a27d508c79b055fcd1788107962e2ea131a9de643f1fdc3e93
|