Skip to content

Commit 9227f52

Browse files
committed
Add the remaining libsrcml 1.1.0 functions, move all function comments to be docstrings, add license headers to all source code files, and ensure all test cases run
1 parent b9752b9 commit 9227f52

40 files changed

+1483
-1777
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ test/
33
proj*
44
*.cpp
55
foo.xml
6+
output1.xml
67

78
# Byte-compiled / optimized / DLL files
89
__pycache__/

Full_List.txt

Lines changed: 0 additions & 239 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# pylibsrcml
2-
Python bindings for libsrcml. V1.0 May 2022
2+
Python bindings for libsrcml. V1.1.0 August 2025
33

4-
All of libsrcml is supported (and tested). To install:
4+
All of libsrcml is supported (and tested). To install:
55

6-
Make sure the latest version of srcML (developer) is installed. Also the recent version of Python. Then run
6+
Make sure the latest version of srcML is installed. Also the recent version of Python. Then run:
77

88
`pip install pylibsrcml`

__init__.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
# SPDX-License-Identifier: GPL-3.0-only
2+
"""
3+
@file __init__.py
4+
5+
@copyright Copyright (C) 2014-2025 srcML, LLC. (www.srcML.org)
6+
7+
This file is part of pylibsrcml, a Python binding of libsrcml
8+
"""
9+
110
__title__ = "pylibsrcml"
211
__license__ = "GNU GPL3"
3-
__copyright__ = "Copyright (C) 2022 srcML, LLC (srcML.org)"
4-
__version__ = "1.0.0-1"
12+
__copyright__ = "Copyright (C) 2013-2024 srcML, LLC (srcML.org)"
13+
__version__ = "1.0.0"
514

615
from .values import *
716
from .utility_funcs import *
@@ -10,5 +19,3 @@
1019
from .srcml_unit import srcMLUnit
1120
from .srcml_transform_result import srcMLTransformResult
1221
from .srcml_archive import srcMLArchive, srcMLArchiveRead, srcMLArchiveWrite, srcMLArchiveWriteString
13-
14-
from atexit import register

0 commit comments

Comments
 (0)