Skip to content

Commit

Permalink
Release v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
animator committed Feb 9, 2023
1 parent 5759e11 commit f171219
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 16 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
**v1.2.1:**

* Support for Python 3.9.x

**v1.2.0:**

* `titus2` home page and documentation has been migrated to [https://realworldpython.guide](https://realworldpython.guide/titus2/)
* `titus2` home page and documentation has been migrated to [https://realworldpython.github.io](https://realworldpython.github.io/titus2/)

**v1.1.0:**

Expand Down
34 changes: 25 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
<img src="https://realworldpython.github.io/titus2/images/logo-text.png" alt="titus2 logo">
</div>

[![Build Status](https://travis-ci.org/animator/titus2.svg?branch=master)](https://travis-ci.org/animator/titus2)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/titus2)](https://pypi.org/project/titus2)
[![PyPI version](https://badge.fury.io/py/titus2.svg)](https://pypi.org/project/titus2)
![Maintenance](https://img.shields.io/maintenance/yes/2020)
![Maintenance](https://img.shields.io/maintenance/yes/2023)
[![GitHub](https://img.shields.io/github/license/animator/titus2)](https://github.com/animator/titus2/blob/master/LICENSE)

# Project Documentation - [Link](https://realworldpython.github.io/titus2/)
Expand All @@ -26,11 +25,11 @@ and the push to production pang continues ..

- `titus2` home page and documentation has been migrated to [https://realworldpython.github.io](https://realworldpython.github.io/titus2/).

### Changes in titus2 v1.2.0
### Changes in titus2 v1.2.1

View the complete changelog [here](https://github.com/animator/titus2/blob/master/CHANGELOG.md).

Titus 2 - Portable Format for Analytics (PFA) implementation for Python 3.4+
Titus 2 - Portable Format for Analytics (PFA) implementation for Python 3.4-3.9
========

Titus 2 is a fork of the original Titus python library which resides in the (now defunct) [Hadrian repository](https://github.com/opendatagroup/hadrian). Titus is not actively maintained by the Open Data Group and only supports Python 2, so this fork was created to actively support its development for Python 3.
Expand All @@ -41,11 +40,11 @@ Titus 2 is a complete, independent implementation of [Portable Format for Analyt

Titus 2 uses a number of open source projects to work properly:

* avro-python3 >= 1.8.2
* numpy >= 1.15.0
* pytz >= 2019.1
* pyyaml >= 5.1.2
* ply >= 3.11
* `avro-python3 >= 1.8.2`
* `numpy == 1.14.0` (python 3.4 & 3.5) or `numpy >=1.15.0, <1.20` (python 3.6+)
* `pytz >= 2019.1`
* `pyyaml >= 5.1.2`
* `ply >= 3.11`

The above packages are available via `pip` and are automatically installed during setup.

Expand Down Expand Up @@ -85,6 +84,23 @@ for num in l:
See the [Project Documentation](https://realworldpython.github.io/titus2/) for user guide and tutorials.

### Current Testing Framework

To run the tests, you can execute

```
python3 setup.py test
```

To generate the coverage report, you can execute

```
pip3 install coverage
coverage run setup.py test
coverage report
```

**Testing Status**:

- Unit testing status available [here](https://travis-ci.org/animator/titus2) [![Build Status](https://travis-ci.org/animator/titus2.svg?branch=master)](https://travis-ci.org/animator/titus2)
- Conformance testing status available [here](https://travis-ci.org/animator/pfa) [![Build Status](https://travis-ci.org/animator/pfa.svg?branch=master)](https://travis-ci.org/animator/pfa)

Expand Down
19 changes: 14 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
# python setup.py install --home=~
LONG_DESCRIPTION = open(path.join(path.dirname(__file__), 'README.md')).read()

requires = ["numpy==1.14.0; python_version < '3.6'",
"numpy>=1.15.0, <1.20; python_version >= '3.6'",
"avro-python3>=1.8.2",
"ply>=3.11",
"pyyaml>=5.1.2",
"pytz>=2019.1"]

setup(name="titus2",
version=titus.version.__version__,
author="Ankit Mahato",
Expand All @@ -54,9 +61,9 @@
"Documentation": "https://realworldpython.guide/titus2/",
},
test_suite="test",
install_requires=["avro-python3>=1.8.2", "ply>=3.11", "pyyaml>=5.1.2", "numpy>=1.15.0", "pytz>=2019.1"],
tests_require=["avro-python3>=1.8.2", "ply>=3.11", "pyyaml>=5.1.2", "numpy>=1.15.0", "pytz>=2019.1"],
python_requires='>=3.4',
install_requires=requires,
tests_require=requires,
python_requires='>=3.4,<3.10',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand All @@ -71,17 +78,19 @@
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Natural Language :: English',
],
)

### details of dependencies:
#
# Tested in Python 3.4-3.8.
# Tested in Python 3.4-3.9.
# Will not work in Python 2.x.
#
# avro-python3 is required; it is an integral part of PFA.
Expand Down
2 changes: 1 addition & 1 deletion titus/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version_info__ = (1,2,0)
__version_info__ = (1,2,1)

__version__ = ".".join(map(str, __version_info__))

Expand Down

0 comments on commit f171219

Please sign in to comment.