# inflator
> Inflate gobos.
###### Inflator is a package manager for goboscript
### [documentation](https://inflated-goboscript.github.io/inflator/)
### [pypi](https://pypi.org/project/inflator/)
## Installation
1. Clone the repository
2. Run `cd inflator`
3. Run `pip install .`
## Usage
Inflator will try to behave like the old [backpack](https://github.com/aspizu/backpack) version when dealing
with `goboscript.toml`.
In the future, it will probably not support the current backpack version/syntax.
If you want to integrate your project with inflator, add an `inflator.toml` file to your project.
This is the file that inflator will look at for config and dependencies.
### Installing packages/gobos
Inflator uses a loosely [pip](https://github.com/pypa/pip) inspired syntax.
The command for installing packages is `inflate install`
- For installing a local package:
- Ensure an `inflator.toml` file is provided (see below)
- cd to inside your package, to the same level as `inflator.toml`
- run `inflate install .`
> [!NOTE]
> You can find public gobos at https://github.com/topics/inflated-goboscript
- For installing GitHub packages
- run `inflate install <link to github repository>`
- Optionally supply a version (tag name):<br>
`inflate install <link to github repository> -V <version>`
- For local package development
- You can install an 'editable' package using the `-e` flag.
- `inflate install -e .`
- This will store a symlink in your appdata instead of copying the folder, which means that changes to the original
package will take effect instantly. This is like how `pip installe -e .` behaves
Inflator will avoid installing packages which have already been installed (same username, reponame and version).
To override this, use the `-U` flag.
> [!NOTE]
> If you are a package developer using inflator, you can upload your gobos to GitHub.
> Remember to provide `inflator.toml`.
> Please also add the `inflated-goboscript` tag to your repository
### Syncing packages/gobos
<details><summary>
Inflator.toml syntax:
</summary>
```toml
# These 3 are used for local installating of a package.
# They are only needed if you are making your own package.
# `username` is only needed to keep locally installed packages linked to a specific user.
# But it is recommended to always include your username here
name = "<name of your package, e.g. 'projectenv'>"
version = "<version string, e.g. v0.0.0>"
username = "<Your username, e.g. FAReTek1>"
[dependencies]
# This is used by any project that has dependencies
# Use a package by relative path
vec2 = "../vec2"
# use an existing installed package
# WARNING: This will NOT work with inflate install!
# This assumes that you have already INSTALLED a package named `quat`
# e.g. from GitHub, or locally
quat = "quat"
# Use a GitHub repository
geo2d = "https://github.com/FAReTek1/geo2d"
# Use a GitHub repository with a version.
# Version numbers also work with globbing
geo2d_v7 = ["https://github.com/FAReTek1/geo2d", "v*.*.7"]
# Use an INSTALLED package with a version
# These version nums can also be globbed
penv-inf = ["projectenv-inflated", "v0.0.2"]
# Use an INSTALLED package with a version and specify a username
penv-inf = ["projectenv-inflated", "v0.0.2", "faretek1"]
```
If you are creating a package, do not include dependencies which rely on something already being installed
(because inflator will try to evaluate them when trying to install your package, and will not be able to find their
source)
</details>
To sync packages:
> [!NOTE]
> If you are on windows, you will need permissions to create symlinks
1. cd to your goboscript project
2. run `inflate`
3. if you want to do this without cding, do `inflate -i <dir>`
4. pkgs will end up in `inflate/` or `backpack/` as symlinks
### Other commands
#### inflate find
This lists out all packages that fit the specified name, username, or version
Syntax:
`inflate find [reponame] -U [username] -V [version]`
Globbing is allowed
You can omit all fields to list out all installed gobos.
#### inflate parse
This prints out what inflator makes of a `goboscript.toml` or `inflator.toml` file.
Used for development, but you can use it too.
Syntax:
`inflate parse [filepath]`
#### inflate toml
This auto generates an `inflator.toml` file for you.
Recommended to run with `goboscript new <args>`
Make sure you set your username or else
#### inflate -V
Prints out the inflate version
#### inflate -L
Prints out the path to the log folder
### development installation
1. clone the GitHub repository
2. cd to the repo directory
3. do `pip install -e .`
4. you can use inflate using `inflate <args>`
## credits
banner image is partially from https://scratch.mit.edu/projects/317901726/remixtree/
Raw data
{
"_id": null,
"home_page": null,
"name": "inflator",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "goboscript",
"author": "faretek1",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ab/99/a7f35411fc5ddb2e97a777192a5b667c22a3c0811795b0c61d5aa0be94d9/inflator-1.0.7.tar.gz",
"platform": null,
"description": "# inflator\n\n> Inflate gobos.\n\n###### Inflator is a package manager for goboscript\n\n### [documentation](https://inflated-goboscript.github.io/inflator/)\n### [pypi](https://pypi.org/project/inflator/)\n\n## Installation\n\n1. Clone the repository\n2. Run `cd inflator`\n3. Run `pip install .`\n\n## Usage\n\nInflator will try to behave like the old [backpack](https://github.com/aspizu/backpack) version when dealing\nwith `goboscript.toml`.\nIn the future, it will probably not support the current backpack version/syntax.\n\nIf you want to integrate your project with inflator, add an `inflator.toml` file to your project.\nThis is the file that inflator will look at for config and dependencies.\n\n### Installing packages/gobos\n\nInflator uses a loosely [pip](https://github.com/pypa/pip) inspired syntax.\n\nThe command for installing packages is `inflate install`\n\n- For installing a local package:\n - Ensure an `inflator.toml` file is provided (see below)\n - cd to inside your package, to the same level as `inflator.toml`\n - run `inflate install .`\n\n> [!NOTE]\n> You can find public gobos at https://github.com/topics/inflated-goboscript\n\n- For installing GitHub packages\n - run `inflate install <link to github repository>`\n - Optionally supply a version (tag name):<br>\n `inflate install <link to github repository> -V <version>`\n\n- For local package development\n - You can install an 'editable' package using the `-e` flag.\n - `inflate install -e .`\n - This will store a symlink in your appdata instead of copying the folder, which means that changes to the original\n package will take effect instantly. This is like how `pip installe -e .` behaves\n\nInflator will avoid installing packages which have already been installed (same username, reponame and version).\nTo override this, use the `-U` flag.\n\n> [!NOTE]\n> If you are a package developer using inflator, you can upload your gobos to GitHub.\n> Remember to provide `inflator.toml`.\n> Please also add the `inflated-goboscript` tag to your repository \n\n### Syncing packages/gobos\n\n<details><summary>\nInflator.toml syntax:\n</summary>\n\n```toml\n# These 3 are used for local installating of a package.\n# They are only needed if you are making your own package.\n# `username` is only needed to keep locally installed packages linked to a specific user.\n# But it is recommended to always include your username here\nname = \"<name of your package, e.g. 'projectenv'>\"\nversion = \"<version string, e.g. v0.0.0>\"\nusername = \"<Your username, e.g. FAReTek1>\"\n\n[dependencies]\n# This is used by any project that has dependencies\n# Use a package by relative path\nvec2 = \"../vec2\"\n\n# use an existing installed package\n# WARNING: This will NOT work with inflate install!\n# This assumes that you have already INSTALLED a package named `quat`\n# e.g. from GitHub, or locally\nquat = \"quat\"\n\n# Use a GitHub repository\ngeo2d = \"https://github.com/FAReTek1/geo2d\"\n\n# Use a GitHub repository with a version.\n# Version numbers also work with globbing\ngeo2d_v7 = [\"https://github.com/FAReTek1/geo2d\", \"v*.*.7\"]\n\n# Use an INSTALLED package with a version\n# These version nums can also be globbed\npenv-inf = [\"projectenv-inflated\", \"v0.0.2\"]\n\n# Use an INSTALLED package with a version and specify a username\npenv-inf = [\"projectenv-inflated\", \"v0.0.2\", \"faretek1\"]\n```\n\nIf you are creating a package, do not include dependencies which rely on something already being installed\n(because inflator will try to evaluate them when trying to install your package, and will not be able to find their\nsource)\n\n</details>\n\nTo sync packages:\n> [!NOTE]\n> If you are on windows, you will need permissions to create symlinks\n\n1. cd to your goboscript project\n2. run `inflate`\n3. if you want to do this without cding, do `inflate -i <dir>`\n4. pkgs will end up in `inflate/` or `backpack/` as symlinks\n\n### Other commands\n#### inflate find\nThis lists out all packages that fit the specified name, username, or version\n\nSyntax:\n`inflate find [reponame] -U [username] -V [version]`\n\nGlobbing is allowed\nYou can omit all fields to list out all installed gobos.\n\n#### inflate parse\nThis prints out what inflator makes of a `goboscript.toml` or `inflator.toml` file.\nUsed for development, but you can use it too.\n\nSyntax:\n`inflate parse [filepath]`\n\n#### inflate toml\nThis auto generates an `inflator.toml` file for you.\nRecommended to run with `goboscript new <args>`\nMake sure you set your username or else\n\n#### inflate -V\nPrints out the inflate version\n\n#### inflate -L\nPrints out the path to the log folder\n\n### development installation\n\n1. clone the GitHub repository\n2. cd to the repo directory\n3. do `pip install -e .`\n4. you can use inflate using `inflate <args>`\n\n## credits\n\nbanner image is partially from https://scratch.mit.edu/projects/317901726/remixtree/\n",
"bugtrack_url": null,
"license": null,
"summary": "Inflates gobos. A goboscript package manager.",
"version": "1.0.7",
"project_urls": {
"Documentation": "https://inflated-goboscript.github.io/inflator/",
"Homepage": "https://inflated-goboscript.github.io/inflator/",
"Source": "https://github.com/inflated-goboscript/inflator"
},
"split_keywords": [
"goboscript"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "616da77ab95d5272011e02c94210ab0a4f49982f6e826444323f542e847b4f2f",
"md5": "c42662b58a08316f2d47bf817327a22d",
"sha256": "1cb0544c4f0b2af145f0979584d25b783570a3432d0b920a264a688269e98cae"
},
"downloads": -1,
"filename": "inflator-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c42662b58a08316f2d47bf817327a22d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14113,
"upload_time": "2025-09-06T18:07:28",
"upload_time_iso_8601": "2025-09-06T18:07:28.400745Z",
"url": "https://files.pythonhosted.org/packages/61/6d/a77ab95d5272011e02c94210ab0a4f49982f6e826444323f542e847b4f2f/inflator-1.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "ab99a7f35411fc5ddb2e97a777192a5b667c22a3c0811795b0c61d5aa0be94d9",
"md5": "b6794009316c879b66ab134b26402773",
"sha256": "7576f7e43f503288c4329f4840c22a9c23eeff85214a90c64ef5e467c86eb148"
},
"downloads": -1,
"filename": "inflator-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "b6794009316c879b66ab134b26402773",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13271,
"upload_time": "2025-09-06T18:07:29",
"upload_time_iso_8601": "2025-09-06T18:07:29.486274Z",
"url": "https://files.pythonhosted.org/packages/ab/99/a7f35411fc5ddb2e97a777192a5b667c22a3c0811795b0c61d5aa0be94d9/inflator-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-06 18:07:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inflated-goboscript",
"github_project": "inflator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "setuptools",
"specs": [
[
"~=",
"80.9.0"
]
]
},
{
"name": "furl",
"specs": [
[
"~=",
"2.1.4"
]
]
},
{
"name": "httpx",
"specs": [
[
"~=",
"0.28.1"
]
]
},
{
"name": "python-slugify",
"specs": [
[
"~=",
"8.0.4"
]
]
},
{
"name": "pygithub",
"specs": [
[
"~=",
"2.8.1"
]
]
}
],
"lcname": "inflator"
}