Pip installable client for Glyph Forge API
Project description
Glyph Forge
Local SDK for building and running DOCX schemas. Process documents entirely on your machine - no API key required!
Installation
pip install glyph-forge
Quick Start
from glyph_forge import ForgeClient, create_workspace
# Create workspace
ws = create_workspace()
# Initialize client (no API key needed!)
client = ForgeClient()
# Build schema from a template DOCX
schema = client.build_schema_from_docx(
ws,
docx_path="template.docx",
save_as="my_schema"
)
# Run schema with your plaintext
docx_path = client.run_schema(
ws,
schema=schema,
plaintext="Your content here...",
dest_name="output.docx"
)
print(f"Generated DOCX: {docx_path}")
Features
✅ No API Key Required - Works immediately after installation ✅ 100% Local Processing - All operations run on your machine ✅ Privacy First - No data sent to external servers ✅ Offline Support - Works without internet connection ✅ Open Source - Apache 2.0 licensed, inspect all code ✅ Fast - No network latency
CLI Usage
# Build schema from template
glyph-forge build template.docx -o ./output
# Build and run in one command
glyph-forge build-and-run template.docx input.txt -o ./output
# Run existing schema
glyph-forge run schema.json input.txt -o ./output
How It Works
Glyph Forge uses the local SDK to:
- Extract - Unzip and parse DOCX XML structure
- Analyze - Detect headings, paragraphs, lists, tables
- Build Schema - Create reusable document templates
- Run Schema - Generate new DOCXs from plaintext
All processing happens locally using lxml and python-docx.
Documentation
For more information, visit glyphapi.ai
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Copyright 2025 Devpro LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glyph_forge-2.1.0.tar.gz.
File metadata
- Download URL: glyph_forge-2.1.0.tar.gz
- Upload date:
- Size: 183.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
002e56af40117ccdd76d5ef870d989e24d0ff3878cca8ce5ccb9d619ad7c61de
|
|
| MD5 |
ea164ea6c1735bcdc0c0a4bd22160ba2
|
|
| BLAKE2b-256 |
0ff7a72a5f684535eb7403fa1c69b6eef80053d39e8104adc104e52d17a6a111
|
Provenance
The following attestation bundles were made for glyph_forge-2.1.0.tar.gz:
Publisher:
release.yml on Devpro-LLC/glyph-forge-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
glyph_forge-2.1.0.tar.gz -
Subject digest:
002e56af40117ccdd76d5ef870d989e24d0ff3878cca8ce5ccb9d619ad7c61de - Sigstore transparency entry: 849654163
- Sigstore integration time:
-
Permalink:
Devpro-LLC/glyph-forge-client@29ed713ab42cf2ca94138b64cda81f6d5ff62e2b -
Branch / Tag:
refs/heads/prod - Owner: https://github.com/Devpro-LLC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@29ed713ab42cf2ca94138b64cda81f6d5ff62e2b -
Trigger Event:
push
-
Statement type:
File details
Details for the file glyph_forge-2.1.0-py3-none-any.whl.
File metadata
- Download URL: glyph_forge-2.1.0-py3-none-any.whl
- Upload date:
- Size: 241.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
428683b078b85d42a0dafe58493f4b7d8d06b2f41e4067ca4d23812f455a5598
|
|
| MD5 |
4aa9ddf49073368afb5dac6ddb95cb32
|
|
| BLAKE2b-256 |
ac8284630b86e3c35a771bc0788c913ce683a30d09c1f79f805886fd38311b93
|
Provenance
The following attestation bundles were made for glyph_forge-2.1.0-py3-none-any.whl:
Publisher:
release.yml on Devpro-LLC/glyph-forge-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
glyph_forge-2.1.0-py3-none-any.whl -
Subject digest:
428683b078b85d42a0dafe58493f4b7d8d06b2f41e4067ca4d23812f455a5598 - Sigstore transparency entry: 849654164
- Sigstore integration time:
-
Permalink:
Devpro-LLC/glyph-forge-client@29ed713ab42cf2ca94138b64cda81f6d5ff62e2b -
Branch / Tag:
refs/heads/prod - Owner: https://github.com/Devpro-LLC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@29ed713ab42cf2ca94138b64cda81f6d5ff62e2b -
Trigger Event:
push
-
Statement type: