goatseo 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- goatseo-0.1.0/LICENSE +21 -0
- goatseo-0.1.0/PKG-INFO +46 -0
- goatseo-0.1.0/README.md +17 -0
- goatseo-0.1.0/pyproject.toml +59 -0
- goatseo-0.1.0/pyproject.toml.orig +45 -0
- goatseo-0.1.0/src/goatseo/__init__.py +29 -0
- goatseo-0.1.0/src/goatseo/py.typed +0 -0
goatseo-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Louis Midson LAJEANTY <midsonlajeanty@proton.me>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
goatseo-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: goatseo
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The type-safe SEO toolkit for Python.
|
|
5
|
+
Keywords: seo,schema.org,json-ld,opengraph,twitter-cards,metadata
|
|
6
|
+
Author: Louis Midson LAJEANTY
|
|
7
|
+
Author-email: Louis Midson LAJEANTY <midsonlajeanty@proton.me>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
Requires-Dist: goatseo-seo==0.1.0
|
|
18
|
+
Requires-Dist: goatseo-django==0.1.0 ; extra == 'django'
|
|
19
|
+
Requires-Dist: goatseo-fastapi==0.1.0 ; extra == 'fastapi'
|
|
20
|
+
Requires-Dist: goatseo-flask==0.1.0 ; extra == 'flask'
|
|
21
|
+
Requires-Python: >=3.14
|
|
22
|
+
Project-URL: Homepage, https://github.com/goatlabshq/goatseo
|
|
23
|
+
Project-URL: Documentation, https://goatlabshq.github.io/goatseo/
|
|
24
|
+
Project-URL: Issues, https://github.com/goatlabshq/goatseo/issues
|
|
25
|
+
Provides-Extra: django
|
|
26
|
+
Provides-Extra: fastapi
|
|
27
|
+
Provides-Extra: flask
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# goatseo
|
|
31
|
+
|
|
32
|
+
The type-safe SEO toolkit for Python. Installs the `SEO` builder with metadata, Open Graph, Twitter/X Cards and Schema.org support; framework adapters are available as extras.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pip install goatseo
|
|
36
|
+
pip install "goatseo[django]" # or [fastapi], [flask]
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
from goatseo import SEO
|
|
41
|
+
|
|
42
|
+
seo = SEO(title="Hello World", description="An interesting article")
|
|
43
|
+
print(seo.render())
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Part of [GoatSEO](https://github.com/goatlabshq/goatseo). See the [documentation](https://goatlabshq.github.io/goatseo/).
|
goatseo-0.1.0/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# goatseo
|
|
2
|
+
|
|
3
|
+
The type-safe SEO toolkit for Python. Installs the `SEO` builder with metadata, Open Graph, Twitter/X Cards and Schema.org support; framework adapters are available as extras.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pip install goatseo
|
|
7
|
+
pip install "goatseo[django]" # or [fastapi], [flask]
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from goatseo import SEO
|
|
12
|
+
|
|
13
|
+
seo = SEO(title="Hello World", description="An interesting article")
|
|
14
|
+
print(seo.render())
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Part of [GoatSEO](https://github.com/goatlabshq/goatseo). See the [documentation](https://goatlabshq.github.io/goatseo/).
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "goatseo"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "The type-safe SEO toolkit for Python."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
requires-python = ">=3.14"
|
|
9
|
+
keywords = [
|
|
10
|
+
"seo",
|
|
11
|
+
"schema.org",
|
|
12
|
+
"json-ld",
|
|
13
|
+
"opengraph",
|
|
14
|
+
"twitter-cards",
|
|
15
|
+
"metadata",
|
|
16
|
+
]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 3 - Alpha",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Programming Language :: Python :: 3.14",
|
|
23
|
+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
|
24
|
+
"Typing :: Typed",
|
|
25
|
+
]
|
|
26
|
+
dependencies = ["goatseo-seo==0.1.0"]
|
|
27
|
+
|
|
28
|
+
[[project.authors]]
|
|
29
|
+
name = "Louis Midson LAJEANTY"
|
|
30
|
+
email = "midsonlajeanty@proton.me"
|
|
31
|
+
|
|
32
|
+
[project.optional-dependencies]
|
|
33
|
+
django = ["goatseo-django==0.1.0"]
|
|
34
|
+
fastapi = ["goatseo-fastapi==0.1.0"]
|
|
35
|
+
flask = ["goatseo-flask==0.1.0"]
|
|
36
|
+
|
|
37
|
+
[project.urls]
|
|
38
|
+
Homepage = "https://github.com/goatlabshq/goatseo"
|
|
39
|
+
Documentation = "https://goatlabshq.github.io/goatseo/"
|
|
40
|
+
Issues = "https://github.com/goatlabshq/goatseo/issues"
|
|
41
|
+
|
|
42
|
+
[build-system]
|
|
43
|
+
requires = ["uv_build>=0.12,<0.13"]
|
|
44
|
+
build-backend = "uv_build"
|
|
45
|
+
|
|
46
|
+
[tool.uv.build-backend]
|
|
47
|
+
module-name = "goatseo"
|
|
48
|
+
|
|
49
|
+
[tool.uv.sources.goatseo-seo]
|
|
50
|
+
workspace = true
|
|
51
|
+
|
|
52
|
+
[tool.uv.sources.goatseo-django]
|
|
53
|
+
workspace = true
|
|
54
|
+
|
|
55
|
+
[tool.uv.sources.goatseo-fastapi]
|
|
56
|
+
workspace = true
|
|
57
|
+
|
|
58
|
+
[tool.uv.sources.goatseo-flask]
|
|
59
|
+
workspace = true
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "goatseo"
|
|
3
|
+
version = "0.1.0" # x-release-please-version
|
|
4
|
+
description = "The type-safe SEO toolkit for Python."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [{ name = "Louis Midson LAJEANTY", email = "midsonlajeanty@proton.me" }]
|
|
9
|
+
requires-python = ">=3.14"
|
|
10
|
+
keywords = ["seo", "schema.org", "json-ld", "opengraph", "twitter-cards", "metadata"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 3 - Alpha",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"License :: OSI Approved :: MIT License",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.14",
|
|
17
|
+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
|
18
|
+
"Typing :: Typed",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"goatseo-seo==0.1.0", # x-release-please-version
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.optional-dependencies]
|
|
25
|
+
django = ["goatseo-django==0.1.0"] # x-release-please-version
|
|
26
|
+
fastapi = ["goatseo-fastapi==0.1.0"] # x-release-please-version
|
|
27
|
+
flask = ["goatseo-flask==0.1.0"] # x-release-please-version
|
|
28
|
+
|
|
29
|
+
[project.urls]
|
|
30
|
+
Homepage = "https://github.com/goatlabshq/goatseo"
|
|
31
|
+
Documentation = "https://goatlabshq.github.io/goatseo/"
|
|
32
|
+
Issues = "https://github.com/goatlabshq/goatseo/issues"
|
|
33
|
+
|
|
34
|
+
[build-system]
|
|
35
|
+
requires = ["uv_build>=0.12,<0.13"]
|
|
36
|
+
build-backend = "uv_build"
|
|
37
|
+
|
|
38
|
+
[tool.uv.build-backend]
|
|
39
|
+
module-name = "goatseo"
|
|
40
|
+
|
|
41
|
+
[tool.uv.sources]
|
|
42
|
+
goatseo-seo = { workspace = true }
|
|
43
|
+
goatseo-django = { workspace = true }
|
|
44
|
+
goatseo-fastapi = { workspace = true }
|
|
45
|
+
goatseo-flask = { workspace = true }
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""GoatSEO: the type-safe SEO toolkit for Python."""
|
|
2
|
+
|
|
3
|
+
from pkgutil import extend_path
|
|
4
|
+
|
|
5
|
+
# Editable installs give each workspace package its own sys.path entry; extending __path__
|
|
6
|
+
# lets goatseo.core, goatseo.schema, ... resolve as portions of this regular package.
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
9
|
+
from goatseo.core import (
|
|
10
|
+
Metadata,
|
|
11
|
+
Precedence,
|
|
12
|
+
RequestContext,
|
|
13
|
+
Robots,
|
|
14
|
+
SafeHtml,
|
|
15
|
+
StaticRequestContext,
|
|
16
|
+
SupportsMetadata,
|
|
17
|
+
)
|
|
18
|
+
from goatseo.seo import SEO
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"SEO",
|
|
22
|
+
"Metadata",
|
|
23
|
+
"Precedence",
|
|
24
|
+
"RequestContext",
|
|
25
|
+
"Robots",
|
|
26
|
+
"SafeHtml",
|
|
27
|
+
"StaticRequestContext",
|
|
28
|
+
"SupportsMetadata",
|
|
29
|
+
]
|
|
File without changes
|