get `pre` and `next` node for every number in pd_code.
Project description
pd_code_pre_nxt
get pre and next node for every number in pd_code.
Install
pip install pd-code-pre-nxt
Usage
import pd_code_pre_nxt
# link pd_code
pd_code = [[1, 5, 2, 4], [3, 1, 4, 6], [5, 3, 6, 2]]
# output number set (ascending order)
print(pd_code_pre_nxt.get_num_set(pd_code))
# get pre, nxt dict for pd_code
pre, nxt = pd_code_pre_nxt.get_pre_nxt(pd_code)
print(pre)
print(nxt)
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 Distribution
pd_code_pre_nxt-0.0.1.tar.gz
(2.6 kB
view details)
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 pd_code_pre_nxt-0.0.1.tar.gz.
File metadata
- Download URL: pd_code_pre_nxt-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5031a28e7236ed29b78222c300c3a863056251ec30854920299421c6ceaaeed1
|
|
| MD5 |
2f8ba4b9d7fcd2880c0e72b19c47ce48
|
|
| BLAKE2b-256 |
52cc5e04c1ca074286a7278b0a30b04c85e9d99773731966bd12c33d187dff15
|
File details
Details for the file pd_code_pre_nxt-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pd_code_pre_nxt-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db15b6e4eaa0451f193059c6b0f70aab13938005766c070fe337edd2c7fb83b7
|
|
| MD5 |
8132e8a7a24a3046c19f57bd6d6e16e1
|
|
| BLAKE2b-256 |
50d3ee4094fd1ac3fb9ad83e4f0197ee61a2c621b376b652006bbb34eed3c4bb
|