Metadata-Version: 2.4
Name: studiolabs-indexnow
Version: 1.0.0
Summary: A tiny, dependency-free IndexNow submitter. Notify Bing, Yandex, and Bing-powered engines the moment a page changes. Built by Studio Labs.
Author: Studio Labs
License: MIT
Project-URL: Homepage, https://www.studiolabsai.com
Project-URL: Repository, https://github.com/studio-labs-ai/indexnow
Keywords: indexnow,seo,bing,yandex,sitemap,search-engine,indexing
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# studiolabs-indexnow

A tiny, dependency-free [IndexNow](https://www.indexnow.org/) submitter (Python 3.8+, standard library only). It notifies IndexNow-participating search engines (Bing, Yandex, and engines that pull from Bing's index) the moment a page is added or changed. Google does not use IndexNow.

Built and used by [Studio Labs](https://www.studiolabsai.com), an AI product studio.

## Install

```bash
pip install studiolabs-indexnow
```

## Usage

```bash
# Submit every <loc> URL from your sitemap
INDEXNOW_HOST=example.com INDEXNOW_KEY=your-key indexnow

# Submit only specific URLs
INDEXNOW_HOST=example.com INDEXNOW_KEY=your-key indexnow https://example.com/new-page
```

Host the key file at `https://<host>/<key>.txt` with the key as its exact content, so IndexNow can verify ownership.

## Status codes

- `200` / `202`: accepted
- `400`: bad request
- `403`: key not found or incorrect at keyLocation
- `422`: a URL does not match the host, or the key does not match
- `429`: rate limited

## License

MIT

---

Made by [Studio Labs](https://www.studiolabsai.com).
