py-lootbox


Namepy-lootbox JSON
Version 1.6.0 PyPI version JSON
download
home_pageNone
SummaryPython versions and dependency management made easy.
upload_time2024-10-29 09:07:53
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseApache-2.0
keywords packaging lootbox loot cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Lootbox
Lootbox creates isolated Python installations to easily manage multiple Python versions on your computer. It allows you to create projects with its CLI and add and manage dependencies for them. It was created by a student, and for serious usage, you should probably check out Poetry instead. It is also written in Rust, so it's automatically faster and better than Poetry. ;)
## Usage
You can create and manage project dependencies and install Python versions right now. It also provides a simple utility for bundling the project if you want to get a simpler version with requirements.txt. If I have time, I might even add the option to use it to publish packages to PyPI (adding the functionality of "pyproject.toml", "setup.py", etc., directly to Lootbox).
### Installation
```
pip install py-lootbox
```
### Install Python Version
This works differently on Linux and Windows to avoid the weird behaviors of the Python installer. On Windows, the version is installed using NuGet, and on Linux (and maybe macOS, though I haven't tested it), it builds the Python version from source (Python tarball), so the installation can be quite slow.
```
loot install {version_to_install}
loot install 3.10.0
```
### Create project
```
loot new {name} {python_version}
loot new test 3.10.0

cd {name}
cd test
```
### Run project
```
loot run
```
### Add dependency
```
loot add {package_name}
loot add bs4
```
### Bundle
```
loot bundle
```
### Run command inside venv
In some cases you might want to run a command inside the projects venv. This is common if one of your dependencies provides a cli.
```
loot exec {command_to_run}
loot exec alembic -h
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "py-lootbox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Alejandro Sempere <asempere158@gmail.com>",
    "keywords": "packaging, lootbox, loot, cli",
    "author": null,
    "author_email": "Alejandro Sempere <asempere158@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ff/f7/4567e9a74d94510d746de1f2e506251444f2cc6c9877e222899c374d4fa1/py_lootbox-1.6.0.tar.gz",
    "platform": null,
    "description": "# Lootbox\nLootbox creates isolated Python installations to easily manage multiple Python versions on your computer. It allows you to create projects with its CLI and add and manage dependencies for them. It was created by a student, and for serious usage, you should probably check out Poetry instead. It is also written in Rust, so it's automatically faster and better than Poetry. ;)\n## Usage\nYou can create and manage project dependencies and install Python versions right now. It also provides a simple utility for bundling the project if you want to get a simpler version with requirements.txt. If I have time, I might even add the option to use it to publish packages to PyPI (adding the functionality of \"pyproject.toml\", \"setup.py\", etc., directly to Lootbox).\n### Installation\n```\npip install py-lootbox\n```\n### Install Python Version\nThis works differently on Linux and Windows to avoid the weird behaviors of the Python installer. On Windows, the version is installed using NuGet, and on Linux (and maybe macOS, though I haven't tested it), it builds the Python version from source (Python tarball), so the installation can be quite slow.\n```\nloot install {version_to_install}\nloot install 3.10.0\n```\n### Create project\n```\nloot new {name} {python_version}\nloot new test 3.10.0\n\ncd {name}\ncd test\n```\n### Run project\n```\nloot run\n```\n### Add dependency\n```\nloot add {package_name}\nloot add bs4\n```\n### Bundle\n```\nloot bundle\n```\n### Run command inside venv\nIn some cases you might want to run a command inside the projects venv. This is common if one of your dependencies provides a cli.\n```\nloot exec {command_to_run}\nloot exec alembic -h\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Python versions and dependency management made easy.",
    "version": "1.6.0",
    "project_urls": {
        "Repository": "https://github.com/Asempere123123/lootbox"
    },
    "split_keywords": [
        "packaging",
        " lootbox",
        " loot",
        " cli"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "21391b7b502be00c18b83ee5eaa9ea29818c8c87ce52c8993b664182f4464bd1",
                "md5": "7d54eb16fa405ab8254f963ac42339b6",
                "sha256": "31dabe27b7b3871976cd355a7f52ad3722474b099aa1c631d5e8f09badf2b203"
            },
            "downloads": -1,
            "filename": "py_lootbox-1.6.0-cp310-cp310-manylinux_2_34_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7d54eb16fa405ab8254f963ac42339b6",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 4451067,
            "upload_time": "2024-10-29T09:07:47",
            "upload_time_iso_8601": "2024-10-29T09:07:47.876917Z",
            "url": "https://files.pythonhosted.org/packages/21/39/1b7b502be00c18b83ee5eaa9ea29818c8c87ce52c8993b664182f4464bd1/py_lootbox-1.6.0-cp310-cp310-manylinux_2_34_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fff74567e9a74d94510d746de1f2e506251444f2cc6c9877e222899c374d4fa1",
                "md5": "f548d8e6dcffe849cf854c82846de20d",
                "sha256": "735ab94210e14c7fa443f8032b0cb042de260211dc4f67662b6c0d1edbf3fd07"
            },
            "downloads": -1,
            "filename": "py_lootbox-1.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f548d8e6dcffe849cf854c82846de20d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 24125,
            "upload_time": "2024-10-29T09:07:53",
            "upload_time_iso_8601": "2024-10-29T09:07:53.336690Z",
            "url": "https://files.pythonhosted.org/packages/ff/f7/4567e9a74d94510d746de1f2e506251444f2cc6c9877e222899c374d4fa1/py_lootbox-1.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-29 09:07:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Asempere123123",
    "github_project": "lootbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "py-lootbox"
}
        
Elapsed time: 0.39108s