Skip to main content

Python metadata and integration helper package for https://seedance2pro.io blog and Next.js publishing workflows

Project description

seedance2pro-io

Python metadata and integration helper package for seedance2pro.io.

seedance2pro-io provides a small, importable Python layer for Seedance 2 Pro blog publishing, MDX content operations, and website 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 seedance2pro-io

Upgrade to the latest published version:

pip install --upgrade seedance2pro-io

Quick Start

from seedance2pro_io import HOMEPAGE, hello, get_site_info

print(hello())
print(HOMEPAGE)
print(get_site_info())

Expected output includes the public website URL:

https://seedance2pro.io

Metadata API

The package exposes simple constants for direct imports:

from seedance2pro_io import (
    HOMEPAGE,
    DOCUMENTATION,
    PACKAGE,
    REPOSITORY,
    LOCAL_REPOSITORY,
    CONTENT_PATH,
    APP_PATH,
)

You can also retrieve everything at once:

from seedance2pro_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": "seedance2pro.io",
    "homepage": "https://seedance2pro.io",
    "documentation": "https://seedance2pro.io/docs",
    "package": "seedance2pro-io",
    "repository": "https://github.com/youram470-art/seedance2pro-io-python",
    "local_repository": "/Users/mac/Documents/code/seedance2_new",
    "content_path": "content/blog",
    "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 seedance2pro_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 Seedance 2 Pro related tooling.
  • Provide a clean PyPI page that points back to https://seedance2pro.io.
  • Share website metadata across scripts without duplicating hard-coded paths.
  • Support Seedance 2 Pro blog metadata, content path discovery, and publishing scripts.
  • Help publishing tools locate content/blog and src/app consistently.

Project Layout

The related website project is organized around local content and Next.js app routes:

Local repository: /Users/mac/Documents/code/seedance2_new
Content path:     content/blog
Next.js app path: src/app

Use it when scripts need to attach Seedance 2 Pro site metadata to generated posts, validate blog paths, or route automation toward the correct Next.js app directory.

Links

License

MIT

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

seedance2pro_io-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

seedance2pro_io-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file seedance2pro_io-0.1.1.tar.gz.

File metadata

  • Download URL: seedance2pro_io-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for seedance2pro_io-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2dd90f8da2548b7db1c2d6a9c2e06f3cdd357df8052c2efbba10154b44b3964f
MD5 879ae91ad466fcd1f3afe38d907c06b6
BLAKE2b-256 4758c2b25587e0e15ce7fd954fd978230c289c06ebb2a0ce1ac254c4e9b8f93e

See more details on using hashes here.

File details

Details for the file seedance2pro_io-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for seedance2pro_io-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99b55ff082a6dfa7c906173a8218f92ab562b483070c19e9a170e17cbf11a8b1
MD5 def276cc80a13400c2ef4d5866da66c9
BLAKE2b-256 3174fba4127b98d72ff94260c77515b19c98f25e97f68778bf696e98d5877b7f

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