blob: 41ffaf93fb9ef87f214e18e080a238d3cae4d0f6 (
plain)
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. In 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
|