File: index.rst

package info (click to toggle)
python-pint 0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,916 kB
  • sloc: python: 20,307; makefile: 149
file content (51 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Getting Started
===============

The getting started guide aims to get you using pint productively as quickly as possible.



Installation
------------

Pint has no dependencies except Python itself. It runs on Python 3.9+.

.. grid:: 2

    .. grid-item-card::  Prefer pip?

        **pint** can be installed via pip from `PyPI <https://pypi.org/project/pint>`__.

        ++++++++++++++++++++++

        .. code-block:: bash

            pip install pint

    .. grid-item-card::  Working with conda?

        **pint** is part of the `Conda-Forge <https://conda-forge.org//>`__
        channel and can be installed with Anaconda or Miniconda:

        ++++++++++++++++++++++

        .. code-block:: bash

            conda install -c conda-forge pint


That's all! You can check that Pint is correctly installed by starting up python, and importing Pint:

.. code-block:: python

    >>> import pint
    >>> pint.__version__  # doctest: +SKIP

.. toctree::
    :maxdepth: 2
    :hidden:

    overview
    tutorial
    pint-in-your-projects
    faq