Metadata-Version: 2.4
Name: actovisio-framework
Version: 0.14.0
Summary: Image workflow for content publishers who spend hours finding free images and placing them in articles.
Author-email: Pictovap Contributors <hello@yoldaolmak.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/yoldaolmak/ActoVisio-Framework
Project-URL: Documentation, https://github.com/yoldaolmak/ActoVisio-Framework/blob/main/docs/README.md
Project-URL: Repository, https://github.com/yoldaolmak/ActoVisio-Framework.git
Project-URL: Issues, https://github.com/yoldaolmak/ActoVisio-Framework/issues
Project-URL: Changelog, https://github.com/yoldaolmak/ActoVisio-Framework/blob/main/CHANGELOG.md
Keywords: content publishing,content editor,image search,image sourcing,image placement,image attribution,free stock images,free stock photos,find images for blog posts,blog post images,wordpress,gutenberg,wordpress media library,wordpress image upload,markdown to wordpress,cms integration,publishing workflow,editorial workflow
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Pillow>=10.4.0
Requires-Dist: PyYAML>=6.0.2
Requires-Dist: requests>=2.32.3
Provides-Extra: test
Requires-Dist: pytest>=9.0.3; extra == "test"
Requires-Dist: pytest-cov>=7.1.0; extra == "test"
Requires-Dist: pytest-asyncio>=1.4.0; extra == "test"
Provides-Extra: lint
Requires-Dist: flake8>=7.3.0; extra == "lint"
Provides-Extra: typecheck
Requires-Dist: pyright>=1.1.411; extra == "typecheck"
Dynamic: license-file

# ActoVisio Framework

[![PyPI](https://img.shields.io/pypi/v/pictovap.svg)](https://pypi.org/project/pictovap/)
[![CI](https://github.com/yoldaolmak/ActoVisio-Framework/actions/workflows/ci.yml/badge.svg)](https://github.com/yoldaolmak/ActoVisio-Framework/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

**ActoVisio Framework** is an open-source, CLI-first visual-decision framework for
publishers. Given an article and image candidates, it explains which images
fit each section, why, what source/license evidence is known, and how a CMS
could place them. The output is reviewable; it is not publication approval.

Formerly Pictovap Framework, the same MIT repository is developing the
canonical `actovisio-framework` distribution, `actovisio_framework` import,
and `actovisio-framework` CLI in 0.14.0. The published 0.13.0 `pictovap`
release remains available. A separate compatibility wheel preserves the old
import and CLI without duplicate implementation. See the
[release status](docs/release-status.md) and [naming policy](docs/architecture/naming.md).

ActoVisio Framework is CMS-independent and does not require a hosted service.

## What works

```text
Article → Visual Brief → Candidates → Fit Score + intent proof
        → Global selection → Provenance + CMS placement
        → Visual Plan → explain / audit / diff → Decision Pack
```

- Deterministic article-aware selection with reasons for rejected and chosen
  candidates, slot coverage, and explicit source-attempt evidence.
- Portable provenance, metadata, CMS placement instructions, and a
  side-effect-free Decision Pack builder, validator, and review transition.
- Local and remote image-source adapters; WordPress as the broadest CMS
  adapter, with reference Ghost and Strapi implementations.
- A credential-free demo, a golden corpus benchmark, external-adapter
  contracts, and English/Turkish deterministic metadata templates.

Framework owns visual decisions for **one article**. ActoVisio is the
proprietary enterprise platform built on the Framework in the approved target
architecture. It owns site-wide visual inventory, lineage, governance,
execution and independent verification. Framework is independently usable
under MIT. See the [Framework/Product boundary](docs/architecture/core-product-boundary.md).

## Get started

Requires Python 3.10+. The published stable release is **0.13.0**. See
[Release Status](docs/release-status.md) for package and source identity.

For the last published stable release (legacy identity):

```bash
python -m pip install pictovap==0.13.0
pictovap demo
```

The new distribution is a release candidate; do not run a PyPI install under
the new name until [release status](docs/release-status.md) confirms publication.
After that verification, new installations use `pip install actovisio-framework`.

Use the 0.14.0 development checkout for the new command and import:

```bash
git clone https://github.com/yoldaolmak/ActoVisio-Framework.git
cd ActoVisio-Framework
python -m pip install -e ".[test]"
actovisio-framework demo
```

The demo uses deterministic local data: no credentials or network access.
For your own Markdown article, start with the
[sample publisher profile](examples/profiles/sample-publisher.yaml):

```bash
actovisio-framework plan \
  --article article.md \
  --profile examples/profiles/sample-publisher.yaml \
  --output plan.json \
  --report editor-report.md

actovisio-framework validate --plan plan.json
actovisio-framework explain --plan plan.json --format markdown
actovisio-framework audit --plan plan.json --format markdown
```

The JSON plan is a machine-readable proposal. The report and explanation
provide a reviewable editor view. Use `actovisio-framework diff` to compare existing
plans without contacting providers or the CMS:

```bash
actovisio-framework diff --before plan-old.json --after plan.json --format markdown
actovisio-framework benchmark --corpus tests/corpus
```

A Python integration can build a Decision Pack from a validated plan:

```python
from actovisio_framework import build_decision_pack, validate_decision_pack

pack = build_decision_pack(plan)
assert validate_decision_pack(pack)["status"] == "passed"
```

To complete an editor review without hand-editing the Decision Pack JSON,
run the interactive, offline command on the **development checkout**:

```bash
actovisio-framework review --plan plan.json --actor editor@example.test \
  --output reviewed-pack.json --preview review-preview.md

actovisio-framework review-preview --plan plan.json \
  --reviewed reviewed-pack.json --format markdown
```

Review proposals and eligible alternatives offline with the CLI or the
[Gutenberg reference sidebar](examples/wordpress-review-sidebar/README.md).
See [Decision Pack](docs/concepts/decision-pack.md) for review and import
semantics. Review never updates a CMS post.

## Sources, CMS, and rights

Built-in image sources include local files, Unsplash, DepositPhotos,
Openverse, and Pexels. Live providers may require credentials; unavailable
sources must be recorded as **not evaluable**, not silently reported as
zero search results. Search results do not establish purchased image rights.
For example, a Depositphotos preview is not a licensed asset.

WordPress supports the broadest in-tree placement behavior. Ghost and
Strapi are reference adapters with documented gaps. A plan, dry run, or
reviewed pack does not authorize or prove a CMS update. Check rights,
deployment credentials, and the actual CMS result independently.

## Documentation and contributing

- [Documentation portal](docs/README.md) — choose Evaluate, Use, or Extend
- [Quickstart](docs/quickstart.md) and [WordPress setup](docs/guides/wordpress-setup.md)
- [Architecture](docs/ARCHITECTURE.md) and [API Stability](API_STABILITY.md)
- [Adapter contracts](docs/adapters/overview.md) and [plugin authoring](docs/contributing/plugins.md)
- [Developer guide](docs/DEVELOPER.md) and [contributing](CONTRIBUTING.md)

For contribution opportunities and safe feedback, see [Contributing](CONTRIBUTING.md).

ActoVisio Framework is MIT licensed ([LICENSE](LICENSE)). It has working offline
tests and adapters and a reference Gutenberg review sidebar, but does not
claim a production-ready graphical editor, broad adoption, licensed rights
from search alone, or verified publishing outcomes.
