Metadata-Version: 2.4
Name: seedance2pro-io
Version: 0.1.1
Summary: Python metadata and integration helper package for https://seedance2pro.io blog and Next.js publishing workflows
Author-email: "seedance2pro.io" <support@seedance2pro.io>
License-Expression: MIT
Project-URL: Homepage, https://seedance2pro.io
Project-URL: Documentation, https://seedance2pro.io/docs
Project-URL: Repository, https://github.com/youram470-art/seedance2pro-io-python
Project-URL: Issues, https://github.com/youram470-art/seedance2pro-io-python/issues
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# seedance2pro-io

Python metadata and integration helper package for [seedance2pro.io](https://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:

```bash
pip install seedance2pro-io
```

Upgrade to the latest published version:

```bash
pip install --upgrade seedance2pro-io
```

## Quick Start

```python
from seedance2pro_io import HOMEPAGE, hello, get_site_info

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

Expected output includes the public website URL:

```text
https://seedance2pro.io
```

## Metadata API

The package exposes simple constants for direct imports:

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

You can also retrieve everything at once:

```python
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:

```python
{
    "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:

```python
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:

```text
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

- Website: https://seedance2pro.io
- Documentation: https://seedance2pro.io/docs
- Source: https://github.com/youram470-art/seedance2pro-io-python
- PyPI: https://pypi.org/project/seedance2pro-io/

## License

MIT
