example_pkg_opi’s documentation

Small example of Python 3 package.


Installation

If pip is installed on your platform you can do:

$ python3 -m pip install --index-url https://test.pypi.org/simple/ example_pkg_opi

Without pip, download the archive example_pkg_opi-?.tar.gz, unzip it somewhere. Next in the somewhere/example_pkg_opi-?/ subdirectory run:

$ python3 setup.py install

In both cases, you must use admin access. So with GNU/Linux you will probably do:

$ sudo [your command]

Or you can install in user environment with:

$ python3 -m pip install --index-url https://test.pypi.org/simple/ example_pkg_opi --user

Python documentation on package and distributing projects


Author: 🌳 Olivier Pirson — OPi OPi 🇧🇪🇫🇷🇬🇧 🐧 👨‍💻 👨‍🔬

🌐 Website: http://www.opimedia.be/

💾 Bitbucket: https://bitbucket.org/OPiMedia/


License: GPLv3 GPLv3

Copyright (C) 2019, 2020 Olivier Pirson

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

pkg

Logo composed from these two images:

Table of contents

example_pkg_opi

example_pkg_opi/__init__.py.

Small example of Python 3 package.

license

GPLv3 — Copyright (C) 2019, 2020 Olivier Pirson

author

Olivier Pirson — http://www.opimedia.be/

version

April 30, 2020

example_pkg_opi.URL = 'https://python3-example-pkg.readthedocs.io/'

Main URL of the project.

example_pkg_opi.URL_DOC = 'https://python3-example-pkg.readthedocs.io/'

URL of the online documentation.

example_pkg_opi.URL_PYPI = 'https://test.pypi.org/project/example-pkg-opi'

URL of the package on TestPyPI.

example_pkg_opi.URL_SRC = 'https://bitbucket.org/OPiMedia/python3-example-pkg'

URL of the complete sources on Bitbucket.

example_pkg_opi.VERSION = '1.0.13'

Version of the package.

example_pkg_opi.name = 'example_pkg_opi'

Name of the package.

Index

example_pkg_opi.module

example_pkg_opi/module.py.

license

GPLv3 — Copyright (C) 2019, 2020 Olivier Pirson

author

Olivier Pirson — http://www.opimedia.be/

version

April 20, 2020

example_pkg_opi.module.example(text)[source]

Return a message containing text.

Simple example function.

Parameters

text (str) –

Return type

str

Index

Indices and tables

Changes

  • 1.0.13 — April 30, 2020

    • Added Pyreverse use in Makefile.

  • 1.0.12 — April 26, 2020

    • Corrected documentation links in Makefile and order import in setup.py.

  • 1.0.11 — April 14, 2020

    • Cleaning for use of JOB variable in Makefile and more recent pydocstyle.

  • 1.0.10 — April 13, 2020

    • Replace old pep8 static analyzer by new pycodestyle.

  • 1.0.9 — April 13, 2020

    • Minor changes about documentation, pydocstyle and parallel static checking.

  • 1.0.8 — April 12, 2020

    • Corrected README.rst reading in setup.py.

  • 1.0.7 — April 11, 2020

    • Added some static tests.

    • Updated installation information.

  • 1.0.6 — September 10, 2019

    • Added pydostyle use.

    • Removed import of pytest in test files.

  • 1.0.5 — February 11, 2019

    • Improved package building and doc, and minor corrections.

  • 1.0.0 — February 10, 2019 — First public version