ft-package-iderighe


Nameft-package-iderighe JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryPackage for counting the number of lines in files
upload_time2024-07-24 09:33:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT license Copyright (c) 2024 iderighe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords lines file count
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GENERAL

README.md Contient des informations sur le package. Il sera affiché comme documentation
sur la page de notre package sur PyPI. On peut écrire n’importe quoi dans ce fichier.

# FT_PACKAGE_IDERIGHE

Ce package est un test de création de package. Pour ce test, ce package aura comme 
fonction de compter le nombre de lignes dans un texte.txt

# AU PREALABLE : CONSTRUIRE LE PACKAGE

 - pip install --upgrade build
 (- python3 -m build --sdist => NON : ne crée que ft_package-0.0.1.tar.gz)
 - python -m build -> crée ft_package-0.0.1.tar.gz ET ft_package-0.0.1-py3-none-any.whl
=> build installe le builder spécifié dans le fichier.toml
et l'utilisera ensuite pour construire une distribution sdist et wheel (fichier.whl)

Après ces deux commandes, on a ft_package-0.0.1.tar.gz ET ft_package-0.0.1-py3-none-any.whl

# AU PREALABLE : CREER UN COMPTE PERSO SUR PyPI

Récupérer un token pour l'API PyPI

# AU PREALABLE : PUBLIER LE PACKAGE SUR LA BIBLIO PYTHON PyPI

 - python3 -m pip install twine => installe twine
 - ajouter export PATH="$HOME/.local/bin:$PATH" dans le fichier .zshrc
 - source ~/.zshrc => recharge le fichier de config
 - twine upload dist/* => cancel le wallet KDE, puis entrer le token de l'API

A ce stade, notre package est dans la biblio online PyPI (Python Package Index)

# TELECHARGER LE PACKAGE

 - pip install ./dist/ft_package-0.0.1.tar.gz
 - pip install ./dist/ft_package-0.0.1-py3-none-any.whl
ATTENTION : les deux commandes doivent fonctionner

# VERIFICATION

 - pip list : pour voir si le package apparait dans les packages installés
 - pip show -v ft_package : display les caractéristique du package

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ft-package-iderighe",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "lines, file, count",
    "author": null,
    "author_email": "iderighe <iderighe@student.42.fr>",
    "download_url": "https://files.pythonhosted.org/packages/2c/90/4f824517f2f7243dbc42bd9211f135789c732bde47f68e389b70b34d12b3/ft_package_iderighe-0.0.1.tar.gz",
    "platform": null,
    "description": "# GENERAL\n\nREADME.md Contient des informations sur le package. Il sera affich\u00e9 comme documentation\nsur la page de notre package sur PyPI. On peut \u00e9crire n\u2019importe quoi dans ce fichier.\n\n# FT_PACKAGE_IDERIGHE\n\nCe package est un test de cr\u00e9ation de package. Pour ce test, ce package aura comme \nfonction de compter le nombre de lignes dans un texte.txt\n\n# AU PREALABLE : CONSTRUIRE LE PACKAGE\n\n - pip install --upgrade build\n (- python3 -m build --sdist => NON : ne cr\u00e9e que ft_package-0.0.1.tar.gz)\n - python -m build -> cr\u00e9e ft_package-0.0.1.tar.gz ET ft_package-0.0.1-py3-none-any.whl\n=> build installe le builder sp\u00e9cifi\u00e9 dans le fichier.toml\net l'utilisera ensuite pour construire une distribution sdist et wheel (fichier.whl)\n\nApr\u00e8s ces deux commandes, on a ft_package-0.0.1.tar.gz ET ft_package-0.0.1-py3-none-any.whl\n\n# AU PREALABLE : CREER UN COMPTE PERSO SUR PyPI\n\nR\u00e9cup\u00e9rer un token pour l'API PyPI\n\n# AU PREALABLE : PUBLIER LE PACKAGE SUR LA BIBLIO PYTHON PyPI\n\n - python3 -m pip install twine => installe twine\n - ajouter export PATH=\"$HOME/.local/bin:$PATH\" dans le fichier .zshrc\n - source ~/.zshrc => recharge le fichier de config\n - twine upload dist/* => cancel le wallet KDE, puis entrer le token de l'API\n\nA ce stade, notre package est dans la biblio online PyPI (Python Package Index)\n\n# TELECHARGER LE PACKAGE\n\n - pip install ./dist/ft_package-0.0.1.tar.gz\n - pip install ./dist/ft_package-0.0.1-py3-none-any.whl\nATTENTION : les deux commandes doivent fonctionner\n\n# VERIFICATION\n\n - pip list : pour voir si le package apparait dans les packages install\u00e9s\n - pip show -v ft_package : display les caract\u00e9ristique du package\n",
    "bugtrack_url": null,
    "license": "MIT license  Copyright (c) 2024 iderighe  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Package for counting the number of lines in files",
    "version": "0.0.1",
    "project_urls": null,
    "split_keywords": [
        "lines",
        " file",
        " count"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48e1bf4d88601967c654bb3661a5c4318de73eac3492a1fff0cac6bd8eb9c797",
                "md5": "13bf294d16369801b6ad509b4c2fce86",
                "sha256": "42cb3d77eeccdacd64e16cc910a7bada9de0b289a29c3324dc908ac9c7e94ffe"
            },
            "downloads": -1,
            "filename": "ft_package_iderighe-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "13bf294d16369801b6ad509b4c2fce86",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 4219,
            "upload_time": "2024-07-24T09:33:41",
            "upload_time_iso_8601": "2024-07-24T09:33:41.467929Z",
            "url": "https://files.pythonhosted.org/packages/48/e1/bf4d88601967c654bb3661a5c4318de73eac3492a1fff0cac6bd8eb9c797/ft_package_iderighe-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c904f824517f2f7243dbc42bd9211f135789c732bde47f68e389b70b34d12b3",
                "md5": "8cb2d15b4afa15201c99a472b5915cd7",
                "sha256": "a98197ce7eb5960b2792e0dad3f2132101f6d41c4cbf9a1eecd366408644967a"
            },
            "downloads": -1,
            "filename": "ft_package_iderighe-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8cb2d15b4afa15201c99a472b5915cd7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3269,
            "upload_time": "2024-07-24T09:33:42",
            "upload_time_iso_8601": "2024-07-24T09:33:42.536089Z",
            "url": "https://files.pythonhosted.org/packages/2c/90/4f824517f2f7243dbc42bd9211f135789c732bde47f68e389b70b34d12b3/ft_package_iderighe-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-24 09:33:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ft-package-iderighe"
}
        
Elapsed time: 0.27899s