fhit 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fhit-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: fhit
3
+ Version: 0.1.0
4
+ Summary:
5
+ Author: wsd
6
+ Author-email: wsd@fhit.cn
7
+ Requires-Python: >=3.13
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.13
10
+ Classifier: Programming Language :: Python :: 3.14
11
+ Description-Content-Type: text/markdown
12
+
13
+ # fhit library
14
+
15
+ 本项目在`python-docx`基础上,做了一些调整,具体如下:
16
+
17
+ - 增加word文档的图表功能
18
+ - 重新打包为 fhdocx
19
+
20
+ 以下为 python-docx 库的概述
21
+
22
+ *python-docx* is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
23
+
24
+ ## Installation
25
+
26
+ ```
27
+ pip install python-docx
28
+ ```
29
+
30
+ ## Example
31
+
32
+ ```python
33
+ >>> from docx import Document
34
+
35
+ >>> document = Document()
36
+ >>> document.add_paragraph("It was a dark and stormy night.")
37
+ <docx.text.paragraph.Paragraph object at 0x10f19e760>
38
+ >>> document.save("dark-and-stormy.docx")
39
+
40
+ >>> document = Document("dark-and-stormy.docx")
41
+ >>> document.paragraphs[0].text
42
+ 'It was a dark and stormy night.'
43
+ ```
44
+
45
+ More information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)
46
+
fhit-0.1.0/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # fhit library
2
+
3
+ 本项目在`python-docx`基础上,做了一些调整,具体如下:
4
+
5
+ - 增加word文档的图表功能
6
+ - 重新打包为 fhdocx
7
+
8
+ 以下为 python-docx 库的概述
9
+
10
+ *python-docx* is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
11
+
12
+ ## Installation
13
+
14
+ ```
15
+ pip install python-docx
16
+ ```
17
+
18
+ ## Example
19
+
20
+ ```python
21
+ >>> from docx import Document
22
+
23
+ >>> document = Document()
24
+ >>> document.add_paragraph("It was a dark and stormy night.")
25
+ <docx.text.paragraph.Paragraph object at 0x10f19e760>
26
+ >>> document.save("dark-and-stormy.docx")
27
+
28
+ >>> document = Document("dark-and-stormy.docx")
29
+ >>> document.paragraphs[0].text
30
+ 'It was a dark and stormy night.'
31
+ ```
32
+
33
+ More information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)
@@ -0,0 +1,18 @@
1
+ [project]
2
+ name = "fhit"
3
+ version = "0.1.0"
4
+ description = ""
5
+ authors = [
6
+ {name = "wsd",email = "wsd@fhit.cn"}
7
+ ]
8
+ readme = "README.md"
9
+ requires-python = ">=3.13"
10
+ dependencies = [
11
+ ]
12
+
13
+ [tool.poetry]
14
+ packages = [{include = "fhit", from = "src"}]
15
+
16
+ [build-system]
17
+ requires = ["poetry-core>=2.0.0,<3.0.0"]
18
+ build-backend = "poetry.core.masonry.api"
File without changes