Skip to content

Commit 5a55251

Browse files
committed
Added missing license in module pydoc
1 parent 30bc18f commit 5a55251

File tree

7 files changed

+165
-5
lines changed

7 files changed

+165
-5
lines changed

javaobj/api.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
#!/usr/bin/env python3
22
"""
33
Definition of the object transformer API
4+
5+
:authors: Thomas Calmant
6+
:license: Apache License 2.0
7+
:version: 0.4.0
8+
:status: Alpha
9+
10+
..
11+
12+
Copyright 2019 Thomas Calmant
13+
14+
Licensed under the Apache License, Version 2.0 (the "License");
15+
you may not use this file except in compliance with the License.
16+
You may obtain a copy of the License at
17+
18+
http://www.apache.org/licenses/LICENSE-2.0
19+
20+
Unless required by applicable law or agreed to in writing, software
21+
distributed under the License is distributed on an "AS IS" BASIS,
22+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
See the License for the specific language governing permissions and
24+
limitations under the License.
425
"""
526

627
from typing import Optional

javaobj/deserialize/__init__.py

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,36 @@
1+
#!/usr/bin/env python3
12
"""
2-
Debugging module, port of the jdeserialize project from Java
3-
=> https://github.com/frohoff/jdeserialize
3+
Rewritten version of the un-marshalling process of javaobj.
4+
5+
The previous process had issues in some cases that
6+
7+
This package is based on the approach of the jdeserialize project (in Java)
8+
See: https://github.com/frohoff/jdeserialize
9+
10+
The object transformer concept of javaobj has been adapted to work with this
11+
approach.
12+
13+
This package should handle more files than before, in read-only mode.
14+
The writing mode should be handled by the "classic" javaobj code.
15+
16+
:authors: Thomas Calmant
17+
:license: Apache License 2.0
18+
:version: 0.4.0
19+
:status: Alpha
20+
21+
..
22+
23+
Copyright 2019 Thomas Calmant
24+
25+
Licensed under the Apache License, Version 2.0 (the "License");
26+
you may not use this file except in compliance with the License.
27+
You may obtain a copy of the License at
28+
29+
http://www.apache.org/licenses/LICENSE-2.0
30+
31+
Unless required by applicable law or agreed to in writing, software
32+
distributed under the License is distributed on an "AS IS" BASIS,
33+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34+
See the License for the specific language governing permissions and
35+
limitations under the License.
436
"""

javaobj/deserialize/beans.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
#!/usr/bin/env python3
22
"""
3-
Definition of the beans used in javaobj
3+
Definition of the beans used to represent the parsed objects
4+
5+
:authors: Thomas Calmant
6+
:license: Apache License 2.0
7+
:version: 0.4.0
8+
:status: Alpha
9+
10+
..
11+
12+
Copyright 2019 Thomas Calmant
13+
14+
Licensed under the Apache License, Version 2.0 (the "License");
15+
you may not use this file except in compliance with the License.
16+
You may obtain a copy of the License at
17+
18+
http://www.apache.org/licenses/LICENSE-2.0
19+
20+
Unless required by applicable law or agreed to in writing, software
21+
distributed under the License is distributed on an "AS IS" BASIS,
22+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
See the License for the specific language governing permissions and
24+
limitations under the License.
425
"""
526

627
from enum import Enum, IntEnum
@@ -217,6 +238,7 @@ def flags(self):
217238
Mimics the javaobj API
218239
"""
219240
return self.desc_flags
241+
220242
@property
221243
def fields_names(self):
222244
"""

javaobj/deserialize/constants.py

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
#!/usr/bin/env python3
22
"""
3-
Definition of the constants used in javaobj
3+
Definition of the constants used in the deserialization process
4+
5+
:authors: Thomas Calmant
6+
:license: Apache License 2.0
7+
:version: 0.4.0
8+
:status: Alpha
9+
10+
..
11+
12+
Copyright 2019 Thomas Calmant
13+
14+
Licensed under the Apache License, Version 2.0 (the "License");
15+
you may not use this file except in compliance with the License.
16+
You may obtain a copy of the License at
17+
18+
http://www.apache.org/licenses/LICENSE-2.0
19+
20+
Unless required by applicable law or agreed to in writing, software
21+
distributed under the License is distributed on an "AS IS" BASIS,
22+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
See the License for the specific language governing permissions and
24+
limitations under the License.
425
"""
526

627
STREAM_MAGIC = 0xACED

javaobj/deserialize/core.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
#!/usr/bin/env python3
22
"""
3-
New core version of python-javaobj, using the same approach as jdeserialize
3+
Second parsing approach for javaobj, using the same approach as jdeserialize
4+
See: https://github.com/frohoff/jdeserialize
5+
6+
:authors: Thomas Calmant
7+
:license: Apache License 2.0
8+
:version: 0.4.0
9+
:status: Alpha
10+
11+
..
12+
13+
Copyright 2019 Thomas Calmant
14+
15+
Licensed under the Apache License, Version 2.0 (the "License");
16+
you may not use this file except in compliance with the License.
17+
You may obtain a copy of the License at
18+
19+
http://www.apache.org/licenses/LICENSE-2.0
20+
21+
Unless required by applicable law or agreed to in writing, software
22+
distributed under the License is distributed on an "AS IS" BASIS,
23+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24+
See the License for the specific language governing permissions and
25+
limitations under the License.
426
"""
527

628
from enum import Enum

javaobj/deserialize/stream.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
#!/usr/bin/env python3
22
"""
33
Utility module to handle streams like in Java
4+
5+
:authors: Thomas Calmant
6+
:license: Apache License 2.0
7+
:version: 0.4.0
8+
:status: Alpha
9+
10+
..
11+
12+
Copyright 2019 Thomas Calmant
13+
14+
Licensed under the Apache License, Version 2.0 (the "License");
15+
you may not use this file except in compliance with the License.
16+
You may obtain a copy of the License at
17+
18+
http://www.apache.org/licenses/LICENSE-2.0
19+
20+
Unless required by applicable law or agreed to in writing, software
21+
distributed under the License is distributed on an "AS IS" BASIS,
22+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
See the License for the specific language governing permissions and
24+
limitations under the License.
425
"""
526

627
from typing import Any, IO, List

javaobj/transformers.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
#!/usr/bin/env python3
22
"""
33
Defines the default object transformers
4+
5+
:authors: Thomas Calmant
6+
:license: Apache License 2.0
7+
:version: 0.4.0
8+
:status: Alpha
9+
10+
..
11+
12+
Copyright 2019 Thomas Calmant
13+
14+
Licensed under the Apache License, Version 2.0 (the "License");
15+
you may not use this file except in compliance with the License.
16+
You may obtain a copy of the License at
17+
18+
http://www.apache.org/licenses/LICENSE-2.0
19+
20+
Unless required by applicable law or agreed to in writing, software
21+
distributed under the License is distributed on an "AS IS" BASIS,
22+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
See the License for the specific language governing permissions and
24+
limitations under the License.
425
"""
526

627
from typing import List, Optional

0 commit comments

Comments
 (0)