Interaction with the Godot Asset Library
Project description
godot-asset-library-client
Interact with the Godot Asset Library
This script retrieves all the information already available in the project to upload an Godot asset into the Godot asset library.
Features
- Smart metadata gathering: avoid duplicating information already there
- Smart behaviour with existing pending edits
- Smart behaviour with existing previews (still not working)
- Shortcuts for previews hosted youtube or the repository (still not working)
Install
pip install godot-asset-library-client
Usage
-
Define
ASSET_STORE_USERandASSET_STORE_PASSWORDenvironment variables. You may use a .env file with them but consider security concerns. -
Write a yaml metadata file with content like this
asset_id: '6666666' # You will obtain this id after the first publish by hand
repo_hosting: GitHub
repo: vokimon/godot-dice-roller
branch: main
category: "1" # 2D Tools
project_license: AGPLv3
previews:
# Shortcut for youtube previews
- youtube: AD8awHLpFxs
# Shortcut for media commited in the repository
- repoimage: /screenshots/example-landscape.png
repothumb: /screenshots/example-landscape-thumb.jpg
# If not shortcutted the preview entry should look like this
- type: image
link: https://raw.githubusercontent.com/vokimon/godot-dice-roller/refs/heads/main/screenshots/example-portrait.png
thumbnail: https://raw.githubusercontent.com/vokimon/godot-dice-roller/refs/heads/main/screenshots/example-portrait-thumb.jpg
# These will be concatenated and processed as description
description_files:
- README.md
- CHANGES.md
Smart metadata guessing
If not explicitly provided, it takes most metadata from existing files in your repository so you don't have to duplicate that.
From project.godot:
- Project name
- Project version
- Project description
- Project icon
- Godot version
From local git:
- Commit hash
TODO
- BUG: Previews are generated as json but the api returns a warning and ignores them
- Expressive CLI interface with subcommands and options
- Solve the emoji problem by not removing them
- Solution to the first upload
- Identify license available in repository
- Identify branch from current branch
- Identify repo name from git remote
Project details
Release history Release notifications | RSS feed
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 godot_asset_library_client-0.0.1.tar.gz.
File metadata
- Download URL: godot_asset_library_client-0.0.1.tar.gz
- Upload date:
- Size: 42.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 |
d6603bf3a2d2575bc3028f71ce00181acd0e3ad3adbc0af9e4e35319c9631d48
|
|
| MD5 |
0fdc9ce9426058420fc6a7e9d8f77ea3
|
|
| BLAKE2b-256 |
73b93dea44d680b30289f9ae12a28fa823c0d406ceac02960c198335416b393b
|
Provenance
The following attestation bundles were made for godot_asset_library_client-0.0.1.tar.gz:
Publisher:
python-publish.yml on vokimon/godot-asset-library-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_asset_library_client-0.0.1.tar.gz -
Subject digest:
d6603bf3a2d2575bc3028f71ce00181acd0e3ad3adbc0af9e4e35319c9631d48 - Sigstore transparency entry: 157442143
- Sigstore integration time:
-
Permalink:
vokimon/godot-asset-library-client@d6ab242adbd5900b7af88dd0babe9625b068a3c6 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/vokimon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d6ab242adbd5900b7af88dd0babe9625b068a3c6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file godot_asset_library_client-0.0.1-py3-none-any.whl.
File metadata
- Download URL: godot_asset_library_client-0.0.1-py3-none-any.whl
- Upload date:
- Size: 30.5 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 |
fef5fed38bfb3029c32eeecb404f510e1b0782028812b76d2934e0787d23a8d1
|
|
| MD5 |
555d3ea8cf17f353663eacdedbf616a4
|
|
| BLAKE2b-256 |
3749e0a7e7c739fcc977f64ae57f6bfe6d295af2b0d4ff37cfd80e854a0077cf
|
Provenance
The following attestation bundles were made for godot_asset_library_client-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on vokimon/godot-asset-library-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
godot_asset_library_client-0.0.1-py3-none-any.whl -
Subject digest:
fef5fed38bfb3029c32eeecb404f510e1b0782028812b76d2934e0787d23a8d1 - Sigstore transparency entry: 157442144
- Sigstore integration time:
-
Permalink:
vokimon/godot-asset-library-client@d6ab242adbd5900b7af88dd0babe9625b068a3c6 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/vokimon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d6ab242adbd5900b7af88dd0babe9625b068a3c6 -
Trigger Event:
workflow_dispatch
-
Statement type: