一个提供多个结构的Python项目
Project description
"structure"简述
介绍
纯Python写的项目,主项目在 src目录下,提供了树,二叉树,队列,栈,单向链表和双向链表的操作。
说明:其中,树和二叉树的实现是由AI生成的。
文件
目录如下:
structure/
|— src/
| |—— __pycache__/
| |—— Node.cpython-310.pyc
| |—— __init__.py
| |—— FIFO.py
| |—— LIFO.py
| |—— Link.py
| |—— Node.py
| |—— Tree.py
|—— README.md
|—— setup.py
|—— LICENSE
|—— .gitignore
|—— README-EN.md
其中:
-
FIFO.py:队列
-
LIFO.py:栈
-
Link.py:链表
-
Node.py:节点
-
Tree.py:树
你可以通过pip生成wheel文件。
一般情况下,你可以通过:
from structure import *
来直接导入Tree, DoubleNodeLink, LinkNode, stick, queue和BinaryTree这几个类,也就是说,导入除了节点类以外的任何类。
如果你要导入节点类,你可以:
from structure import Node
或:
from structure.Node import Class1, Class2……
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file structure_tool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: structure_tool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b76f3f0ccb17b36389b0f29c4d1cf5abbd8dcdb057b61b7dc99760c5fac1e43
|
|
| MD5 |
5893838f1749596010780f69b6b3620d
|
|
| BLAKE2b-256 |
93853b0a2184dc861da88c359f2b6a41e9734451ac2762310cc224c1c2bf5cd0
|