poetry-demo-alex-vamvakaris


Namepoetry-demo-alex-vamvakaris JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-07-20 00:10:53
maintainerNone
docs_urlNone
authorYour Name
requires_python<4.0,>=3.11
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Project Dependencies

- Downloading the project to your repository

- You should have both the poetry.lock and the pyproject.toml files

- Use `poetry show --tree` to look at the dependencies graph

<br>

# Specifying dependencies
`poetry add <package-name>`
- This command updates your pyproject.toml and poetry.lock files with the new dependency and its version.

<br>

# Installing Dependencies
`poetry install`

### Installing without poetry.lock

- If you have never run the command before and there is also no poetry.lock file present, Poetry simply resolves all dependencies listed in your pyproject.toml file and downloads the latest version of their files.

- When Poetry has finished installing, it writes all the packages and their exact versions that it downloaded to the poetry.lock file, 

### Installing with poetry.lock
- If there is already a poetry.lock file as well as a pyproject.toml file when you run poetry install, it means either you ran the install command before, or someone else on the project ran the install command and committed the poetry.lock file to the project (which is good).

- Either way, running install when a poetry.lock file is present resolves and installs all dependencies that you listed in pyproject.toml, but Poetry uses the exact versions listed in poetry.lock to ensure that the package versions are consistent for everyone working on your project. 

- As a result you will have all dependencies requested by your pyproject.toml file, but they may not all be at the very latest available versions (some dependencies listed in the poetry.lock file may have released newer versions since the file was created). This is by design, it ensures that your project does not break because of unexpected changes in dependencies.

<br>

# Updating dependencies to their latest versions
`poetry update`
- the poetry.lock file prevents you from automatically getting the latest versions of your dependencies. To update to the latest versions, use the `poetry update` command. This will fetch the latest matching versions (according to your pyproject.toml file) and update the lock file with the new versions. (This is equivalent to deleting the poetry.lock file and running install again.)


# Build your package

`poetry config pypi-token.pypi <your-pypi-token>`

`poetry build`

`poetry publish --build`


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "poetry-demo-alex-vamvakaris",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/9f/42/74a571924d851dd969c3ff823d3ef934f8f5d4458faacbcc58167880a69d/poetry_demo_alex_vamvakaris-0.2.0.tar.gz",
    "platform": null,
    "description": "# Project Dependencies\n\n- Downloading the project to your repository\n\n- You should have both the poetry.lock and the pyproject.toml files\n\n- Use `poetry show --tree` to look at the dependencies graph\n\n<br>\n\n# Specifying dependencies\n`poetry add <package-name>`\n- This command updates your pyproject.toml and poetry.lock files with the new dependency and its version.\n\n<br>\n\n# Installing Dependencies\n`poetry install`\n\n### Installing without poetry.lock\n\n- If you have never run the command before and there is also no poetry.lock file present, Poetry simply resolves all dependencies listed in your pyproject.toml file and downloads the latest version of their files.\n\n- When Poetry has finished installing, it writes all the packages and their exact versions that it downloaded to the poetry.lock file, \n\n### Installing with poetry.lock\n- If there is already a poetry.lock file as well as a pyproject.toml file when you run poetry install, it means either you ran the install command before, or someone else on the project ran the install command and committed the poetry.lock file to the project (which is good).\n\n- Either way, running install when a poetry.lock file is present resolves and installs all dependencies that you listed in pyproject.toml, but Poetry uses the exact versions listed in poetry.lock to ensure that the package versions are consistent for everyone working on your project. \n\n- As a result you will have all dependencies requested by your pyproject.toml file, but they may not all be at the very latest available versions (some dependencies listed in the poetry.lock file may have released newer versions since the file was created). This is by design, it ensures that your project does not break because of unexpected changes in dependencies.\n\n<br>\n\n# Updating dependencies to their latest versions\n`poetry update`\n- the poetry.lock file prevents you from automatically getting the latest versions of your dependencies. To update to the latest versions, use the `poetry update` command. This will fetch the latest matching versions (according to your pyproject.toml file) and update the lock file with the new versions. (This is equivalent to deleting the poetry.lock file and running install again.)\n\n\n# Build your package\n\n`poetry config pypi-token.pypi <your-pypi-token>`\n\n`poetry build`\n\n`poetry publish --build`\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b648fb137e3caf97fbc249416e0197d290073e1d5c7532d785732bdd31dc7728",
                "md5": "e91361ec972eb30c93bcfb7cbb120d46",
                "sha256": "eae913e0b2ccb89819d6bc913e4711853c8c1fb81f82d424dda1e917046efc64"
            },
            "downloads": -1,
            "filename": "poetry_demo_alex_vamvakaris-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e91361ec972eb30c93bcfb7cbb120d46",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 2381,
            "upload_time": "2024-07-20T00:10:51",
            "upload_time_iso_8601": "2024-07-20T00:10:51.815881Z",
            "url": "https://files.pythonhosted.org/packages/b6/48/fb137e3caf97fbc249416e0197d290073e1d5c7532d785732bdd31dc7728/poetry_demo_alex_vamvakaris-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f4274a571924d851dd969c3ff823d3ef934f8f5d4458faacbcc58167880a69d",
                "md5": "ed52b79874375e91dc3c50c453eeb15f",
                "sha256": "7694e6e3de77ab116d732a0e5c2e9ddbec817a7cc7a3be8086b5a7442d162251"
            },
            "downloads": -1,
            "filename": "poetry_demo_alex_vamvakaris-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ed52b79874375e91dc3c50c453eeb15f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 1867,
            "upload_time": "2024-07-20T00:10:53",
            "upload_time_iso_8601": "2024-07-20T00:10:53.144277Z",
            "url": "https://files.pythonhosted.org/packages/9f/42/74a571924d851dd969c3ff823d3ef934f8f5d4458faacbcc58167880a69d/poetry_demo_alex_vamvakaris-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-20 00:10:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "poetry-demo-alex-vamvakaris"
}
        
Elapsed time: 0.37163s