Skip to content

Commit 7b18678

Browse files
committed
Updated docs.
1 parent 8263f60 commit 7b18678

File tree

3 files changed

+19
-46
lines changed

3 files changed

+19
-46
lines changed

domdf_python_tools/__init__.py

Lines changed: 12 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,11 @@
1-
# Compiled 2018-2020 by Dominic Davis-Foster <dominic@davis-foster.co.uk>
1+
#!/usr/bin/env python
22
#
3-
# terminal.py
4-
# Copyright © 2014-2019 Dominic Davis-Foster <dominic@davis-foster.co.uk>
3+
# __init__.py
4+
"""
5+
Helpful functions for Python 🐍 🛠️
6+
"""
57
#
6-
# get_terminal_size, _get_terminal_size_windows, _get_terminal_size_tput and _get_terminal_size_linux
7-
# from https://gist.github.com/jtriley/1108174
8-
# Copyright © 2011 jtriley
9-
#
10-
# paths.py
11-
# Copyright © 2018-2020 Dominic Davis-Foster <dominic@davis-foster.co.uk>
12-
#
13-
# copytree based on https://stackoverflow.com/a/12514470/3092681
14-
# Copyright © 2012 atzz
15-
# Licensed under CC-BY-SA
16-
#
17-
# pagesizes.py
18-
# Based on reportlab.lib.pagesizes and reportlab.lib.units
19-
# www.reportlab.co.uk
20-
# Copyright ReportLab Europe Ltd. 2000-2017
21-
# Copyright (c) 2000-2018, ReportLab Inc.
22-
# All rights reserved.
23-
# Licensed under the BSD License
24-
#
25-
# Includes data from en.wikipedia.org.
26-
# Licensed under the Creative Commons Attribution-ShareAlike License
27-
#
28-
# Parts of the docstrings based on the Python 3.8.2 Documentation
29-
# Licensed under the Python Software Foundation License Version 2.
30-
# Copyright © 2001-2020 Python Software Foundation. All rights reserved.
31-
# Copyright © 2000 BeOpen.com . All rights reserved.
32-
# Copyright © 1995-2000 Corporation for National Research Initiatives . All rights reserved.
33-
# Copyright © 1991-1995 Stichting Mathematisch Centrum . All rights reserved.
8+
# Copyright © 2018-2020 by Dominic Davis-Foster <dominic@davis-foster.co.uk>
349
#
3510
# This program is free software; you can redistribute it and/or modify
3611
# it under the terms of the GNU Lesser General Public License as published by
@@ -39,7 +14,7 @@
3914
#
4015
# This program is distributed in the hope that it will be useful,
4116
# but WITHOUT ANY WARRANTY; without even the implied warranty of
42-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4318
# GNU Lesser General Public License for more details.
4419
#
4520
# You should have received a copy of the GNU Lesser General Public License
@@ -48,15 +23,9 @@
4823
# MA 02110-1301, USA.
4924
#
5025

51-
# this package
52-
from domdf_python_tools import doctools, pagesizes, paths, terminal, utils
53-
from domdf_python_tools.utils import *
54-
55-
__all__ = ["paths", "terminal", "utils", "dates"]
56-
57-
__author__ = "Dominic Davis-Foster"
58-
__copyright__ = "2014-2020 Dominic Davis-Foster"
26+
__author__: str = "Dominic Davis-Foster"
27+
__copyright__: str = "2014-2020 Dominic Davis-Foster"
5928

60-
__license__ = "LGPLv3+"
61-
__version__ = "0.4.3"
62-
__email__ = "dominic@davis-foster.co.uk"
29+
__license__: str = "LGPLv3+"
30+
__version__: str = "0.4.3"
31+
__email__: str = "dominic@davis-foster.co.uk"

domdf_python_tools/pagesizes/sizes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""
55
Common pagesizes in point/pt
66
7-
TODO: list of the page sizes
7+
.. TODO:: list of the page sizes
88
"""
99
#
1010
# Copyright © 2020 Dominic Davis-Foster <dominic@davis-foster.co.uk>

domdf_python_tools/paths.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@
1111
# Licensed under the Python Software Foundation License Version 2.
1212
# Copyright © 2001-2020 Python Software Foundation. All rights reserved.
1313
# Copyright © 2000 BeOpen.com . All rights reserved.
14-
# Copyright © 1995-2000 Corporation for National Research Initiatives . All rights reserved.
15-
# Copyright © 1991-1995 Stichting Mathematisch Centrum . All rights reserved.
14+
# Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
15+
# Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
16+
#
17+
# copytree based on https://stackoverflow.com/a/12514470/3092681
18+
# Copyright © 2012 atzz
19+
# Licensed under CC-BY-SA
1620
#
1721
# This program is free software; you can redistribute it and/or modify
1822
# it under the terms of the GNU Lesser General Public License as published by

0 commit comments

Comments
 (0)