معرفی شرکت ها


demo-package-python-0.0.6


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

This is a sample package which follows the instructions for publishing a Python package to PyPI.
ویژگی مقدار
سیستم عامل -
نام فایل demo-package-python-0.0.6
نام demo-package-python
نسخه کتابخانه 0.0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده "LJ. Sta. Ana" <lvjhn.mx@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/demo-package-python/
مجوز Copyright 2022 Levi John Sta. Ana 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.
# DEMO-PACKAGE-PYTHON This sample package follows the instructions for publishing a Python package in PyPI. This repository can be used as a template for building packages. See section `Reusing as Template` for more info on how. ## Outline This `README.md` file is organized as follows: 1. Outline 2. Full Instructions 3. Summarized/Compact Instructions 4. Code Structure 5. Demo Package Installation Instructions 6. Reusing as Template 7. Adding Additional Files ## Full Instructions Full instructions for publishing a Python package using PyPI can be found here: https://packaging.python.org/en/latest/tutorials/packaging-projects/ I made a `tinyurl.com` short-link for the tutorial link above: https://tinyurl.com/how-to-package-python If you want, you can include the links above in your bookmarks. ## Summarized/Compact Instructions In summary, the instructions can be divided into the outline below if you don't feel like clicking the tutorial link again and again. Full instructions can be found in the tutorials above in case the summary doesn't still help in recalling the procedures. 1. Creating a package 1. Create package files (see code structure below for an example) 1. Create `tests/` directory 1. Create `pyproject.toml` with the necessary `[build-system]`, `[project]`, and `[project.urls]` options 1. Configure metadata of project. Common metadata are shown below. For a more thorough example, see `pyproject.toml` 1. name 1. version 1. authors (must be in array format) 1. description 1. readme 1. license 1. requires-python 1. classifiers 1. Create `README.md` file 1. Create `LICENSE` file 1. Generating distribution archives 1. Step 1: Install `build` package ``` python3 -m pip install --upgrade build` ``` 1. Step 2: Run `python3 -m build` on the first build and successive build updates for different versions. * Generates a `dist/` folder for the built package * Puts a `.whl` and `.tar.gz` file in the dist folder for the current version. 1. Uploading the distribution archives 1. Install `twine`, a tool for uploading packages to different package indices. ``` python3 -m pip install --upgrade twine ``` 1. Upload archives under `dist` ``` python3 -m twine upload --repository testpypi dist/* ``` ## Code Structure ```bash demo-package-python dist/ # distribution files env/ # virtual environment for the package scripts/ # scripts build_pyproject_toml.py # build pyproject_toml.py src/ # source files for the package tests/ # tests for the package main.py utils/ build.sh # shell script for building package publish.sh # shell script for publishing package setup.sh # shell script for setting up package LICENSE # MIT License pyproject.dev.toml # project configuration pyproject.toml # built project configuration requirements.txt # requirements list generated by pip freeze ``` ## Demo Package Installation Instructions The demo package has a simple API of 3 functions. * `.say_hello_world()` * `.say_hi(name)` * `.random_rainbow_color()` - uses the `faker` package To use this package: `pip install demo_package_python` Then: ```js import demo_package_python as demo_package print(".sayHello() => " + demo_package.say_hello_world()) print(".sayHi('John') => " + demo_package.say_hi('John')) print(".randomRainbowColor() => " + demo_package.random_rainbow_color()) ``` It should return the following: ``` .say_hello() => Hello, World! .say_hi('John') => Hi, John! .random_rainbow_color() => blue ``` ## Reusing as Template If you intend to reuse this package as a template for future package projects, use the following command: 1. Clone the project ``` git clone https://gitlab.com/demo-package/demo-package-python.git [your_project] ``` 1. Go to your project directory ``` cd [your_project] ``` 1. Edit `pyproject.dev.toml` to match your project description. > Make sure to edit the right file, you might accidentally edit `pyproject.toml` instead. > The file `pyproject.toml` is automatically built from `pyproject.dev.toml` by adding the dependencies list in `requirements.txt` before building. 1. Remove contents of `src/demo_package_python` ``` rm -rf src/demo_package_python/* ``` 1. Create `__init__.py` in `src/demo_package_python` ``` touch src/demo_package_python/__init__.py ``` 1. Rename `src/demo_package_python` to `src/[your_project_name]` ``` mv src/demo_package_python src/[your_package_name] ``` 1. Make sure that your have `virtualenv` installed and then run the following ``` virtualenv env ``` or ``` python3 -m venv env ``` 1. Activate virtual environment ``` source env/bin/activate ``` > Make sure that the virtual environment is activated before running the succeeding commands. 1. Run from the command line: ``` bash utils/setup.sh ``` > This command should install the packages on the `env/` folder and not on the default location. 1. Use the following commands to simplify building and publishing routines: > Make sure to run the following commands in the virtual environment mode by running `source env/bin/activate` if you haven't yet. 1. To Build Project ``` bash utils/build.sh ``` 1. To Publish Project ``` bash utils/publish.sh ```


نیازمندی

مقدار نام
- anyio==3.6.1
- apturl==0.5.2
- asgiref==3.5.0
- backpack==0.1
- bleach==5.0.1
- blinker==1.4
- brotli==1.0.9
- build==0.8.0
- catfish==4.16.3
- certifi==2022.6.15
- cffi==1.15.1
- chardet==4.0.0
- charset-normalizer==2.1.0
- cleo==0.6.8
- click==8.0.3
- colorama==0.4.4
- command-not-found==0.3
- commonmark==0.9.1
- cryptography==37.0.4
- cupshelpers==1.0
- dbus-python==1.2.18
- defer==1.0.6
- distlib==0.3.4
- distro-info===1.1build1
- distro==1.7.0
- docutils==0.19
- faker==0.8.18
- filelock==3.7.1
- gyp==0.1
- h11==0.13.0
- httplib2==0.20.2
- idna==3.3
- importlib-metadata==4.12.0
- inflection==0.3.1
- jeepney==0.8.0
- keyring==23.6.0
- language-selector==0.1
- launchpadlib==1.10.16
- lazr-restfulclient==0.14.4
- lazr-uri==1.0.6
- lazy-object-proxy==1.7.1
- lightdm-gtk-greeter-settings==1.2.2
- macaroonbakery==1.3.1
- mako==1.1.3
- markupsafe==2.0.1
- memory-profiler==0.60.0
- menulibre==2.2.2
- more-itertools==8.10.0
- mugshot==0.4.3
- mutagen==1.45.1
- netifaces==0.11.0
- oauthlib==3.2.0
- olefile==0.46
- onboard==1.4.1
- orator==0.9.9
- packaging==21.3
- pastel==0.1.1
- pendulum==1.5.1
- pep517==0.12.0
- pexpect==4.8.0
- pillow==9.0.1
- pkginfo==1.8.3
- platformdirs==2.5.2
- ply==3.11
- protobuf==3.12.4
- psutil==5.9.0
- ptyprocess==0.7.0
- pyaml==16.12.2
- pycairo==1.20.1
- pycparser==2.21
- pycryptodomex==3.11.0
- pycups==2.0.1
- pygments==2.12.0
- pygobject==3.42.0
- pyjwt==2.3.0
- pylev==1.4.0
- pymacaroons==0.13.0
- pynacl==1.5.0
- pyparsing==3.0.9
- pyrfc3339==1.1
- python-apt==2.3.0+ubuntu2
- python-dateutil==2.8.2
- python-debian===0.1.43ubuntu1
- pytz==2022.1
- pytzdata==2020.1
- pyxattr==0.7.2
- pyyaml==5.4.1
- readme-renderer==35.0
- reportlab==3.6.8
- requests-toolbelt==0.9.1
- requests==2.28.1
- rfc3986==2.0.0
- rich==12.4.4
- screen-resolution-extra==0.0.0
- secretstorage==3.3.2
- sgt-launcher==0.2.7
- simplejson==3.17.6
- six==1.16.0
- sniffio==1.2.0
- starlette==0.20.4
- systemd-python==234
- text-unidecode==1.2
- toml==0.10.2
- tomli==2.0.1
- twine==4.0.1
- tzlocal==1.5.1
- ubuntu-advantage-tools==27.9
- ubuntu-drivers-common==0.0.0
- ufw==0.36.1
- unattended-upgrades==0.1
- urllib3==1.26.10
- uvicorn==0.15.0
- vboxapi==1.0
- virtualenv==20.15.1
- wadllib==1.3.6
- watchdog==2.1.9
- webencodings==0.5.1
- websockets==9.1
- wrapt==1.14.1
- wsproto==1.0.0
- xcffib==0.11.1
- xkit==0.0.0
- yt-dlp==2022.4.8
- zipp==3.8.0


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl demo-package-python-0.0.6:

    pip install demo-package-python-0.0.6.whl


نصب پکیج tar.gz demo-package-python-0.0.6:

    pip install demo-package-python-0.0.6.tar.gz