|
1 | | -.. image:: https://readthedocs.org/projects/bitmath/badge/?version=latest |
2 | | - :target: http://bitmath.rtfd.org/ |
3 | | - :align: right |
4 | | - :height: 19 |
5 | | - :width: 77 |
6 | | - |
7 | 1 | .. image:: https://github.com/timlnx/bitmath/actions/workflows/python.yml/badge.svg |
8 | 2 | :target: https://github.com/timlnx/bitmath/actions/workflows/python.yml |
| 3 | +.. image:: https://img.shields.io/pypi/v/bitmath.svg |
| 4 | + :target: https://pypi.org/project/bitmath/ |
| 5 | + :alt: Latest Version |
| 6 | +.. image:: https://img.shields.io/pypi/dm/bitmath?style=flat-square |
| 7 | + :target: https://pypistats.org/packages/bitmath |
| 8 | + :alt: PyPI - Package Downloads |
| 9 | +.. image:: https://img.shields.io/pypi/implementation/bitmath?style=flat-square |
| 10 | + :alt: PyPI - Implementation |
| 11 | +.. image:: https://img.shields.io/pypi/pyversions/bitmath?style=flat-square |
| 12 | + :alt: PyPI - Python Version |
9 | 13 |
|
| 14 | +.. image:: https://readthedocs.org/projects/bitmath/badge/?version=latest |
| 15 | + :target: http://bitmath.rtfd.org/ |
10 | 16 | .. image:: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml/badge.svg |
11 | 17 | :target: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml |
12 | 18 | :alt: Bandit Security Scan |
13 | | - |
14 | 19 | .. image:: https://img.shields.io/github/issues/timlnx/bitmath?style=flat-square |
15 | 20 | :target: https://github.com/timlnx/bitmath/issues |
16 | 21 | :alt: Open issues |
17 | | - |
18 | 22 | .. image:: https://img.shields.io/github/issues-pr/timlnx/bitmath?style=flat-square |
19 | 23 | :target: https://github.com/timlnx/bitmath/pulls |
20 | 24 | :alt: Open pull requests |
21 | | - |
22 | | -.. image:: https://img.shields.io/pypi/v/bitmath.svg |
23 | | - :target: https://pypi.org/project/bitmath/ |
24 | | - :alt: Latest Version |
25 | | - |
26 | | -.. image:: https://img.shields.io/pypi/dm/bitmath?style=flat-square |
27 | | - :target: https://pypistats.org/packages/bitmath |
28 | | - :alt: PyPI - Package Downloads |
29 | | - |
30 | 25 | .. image:: https://img.shields.io/github/stars/timlnx/bitmath?style=flat-square |
31 | | - :target: https://pypistats.org/packages/bitmath |
| 26 | + :target: https://github.com/timlnx/bitmath |
32 | 27 | :alt: GitHub Project Popularity |
33 | | - |
34 | 28 | .. image:: https://img.shields.io/badge/license-MIT-blue.svg |
35 | 29 | :target: https://github.com/timlnx/bitmath/blob/master/LICENSE |
36 | 30 | :alt: License |
37 | 31 |
|
38 | | -.. image:: https://img.shields.io/pypi/implementation/bitmath?style=flat-square |
39 | | - :alt: PyPI - Implementation |
40 | | - |
41 | | -.. image:: https://img.shields.io/pypi/pyversions/bitmath?style=flat-square |
42 | | - :alt: PyPI - Python Version |
43 | | - |
44 | 32 |
|
45 | 33 | bitmath |
46 | 34 | ======= |
47 | 35 |
|
| 36 | +* Free software: MIT License |
| 37 | +* Documentation: https://bitmath.readthedocs.io/en/latest/ |
| 38 | +* Source: https://github.com/timlnx/bitmath |
| 39 | +* Bugs: https://github.com/timlnx/bitmath/issues |
| 40 | +* Contributing: https://bitmath.readthedocs.io/en/latest/contributing.html |
| 41 | + |
48 | 42 | `bitmath <http://bitmath.readthedocs.org/en/latest/>`_ simplifies many |
49 | 43 | facets of interacting with file sizes in various units. Originally |
50 | 44 | focusing on file size unit conversion, functionality now includes: |
@@ -96,44 +90,33 @@ issues. |
96 | 90 | Installation |
97 | 91 | ============ |
98 | 92 |
|
99 | | -The easiest way to install bitmath is via ``dnf`` (or ``yum``) if |
100 | | -you're on a Fedora/RHEL based distribution. bitmath is available in |
101 | | -the main Fedora repositories, as well as EPEL Repositories. As of 2023 |
102 | | -bitmath is only developed, tested, and supported for `currently |
103 | | -supported <https://devguide.python.org/versions/>`_ Python releases. |
104 | | - |
105 | | - |
106 | | -.. code-block:: bash |
107 | | -
|
108 | | - $ sudo dnf install python3-bitmath |
| 93 | +.. admonition:: Seeking a Debian Maintainer |
109 | 94 |
|
| 95 | + bitmath is not currently packaged for Debian or Ubuntu. If you're |
| 96 | + interested in maintaining the package for those distributions, please |
| 97 | + see `issue #117 <https://github.com/timlnx/bitmath/issues/117>`_. |
110 | 98 |
|
111 | | -**PyPI**: |
| 99 | +Requires Python 3.9 or newer. No runtime dependencies outside the |
| 100 | +standard library. |
112 | 101 |
|
113 | | -You could also install bitmath from `PyPI |
114 | | -<https://pypi.org/project/bitmath/>`_ if you like: |
| 102 | +**PyPI** (the typical path): |
115 | 103 |
|
116 | 104 | .. code-block:: bash |
117 | 105 |
|
118 | | - $ pip install --user bitmath |
119 | | -
|
120 | | -
|
121 | | -
|
122 | | -**Source**: |
| 106 | + pip install bitmath |
123 | 107 |
|
124 | | -To install from source, clone the repository and use pip: |
| 108 | +**Fedora and EPEL** |
125 | 109 |
|
126 | 110 | .. code-block:: bash |
127 | 111 |
|
128 | | - $ git clone https://github.com/timlnx/bitmath.git |
129 | | - $ cd bitmath |
130 | | - $ pip install . |
| 112 | + sudo dnf install python3-bitmath |
131 | 113 |
|
132 | | -To also install the ``bitmath`` manpage: |
| 114 | +**From source** |
133 | 115 |
|
134 | 116 | .. code-block:: bash |
135 | 117 |
|
136 | | - $ sudo make install |
| 118 | + git clone https://github.com/timlnx/bitmath.git |
| 119 | + pip install ./bitmath |
137 | 120 |
|
138 | 121 |
|
139 | 122 | Documentation |
|
0 commit comments