Skip to main content

NAME

python data structures list serialized and deserialization


SYNOPSIS

from DataStructuresSerialized import DataStructuresSerialized

city       = ["China", "010", "beijing"]
separator  = '|'
serialized = DataStructuresSerialized(city, separator).getSerializedString()
print(serialized)

DataStructuresSerialized $ China|010|beijing

cityString = "China|010|beijing"
separator  = '|'
city       = DataStructuresSerialized(city, separator).getDeserializationStruct()
print(city)

DataStructuresSerialized $ ['China', '10', 'beijing']

cityString = "China|010|beijing"
separator  = '|'
index      = 1
newString  = "000"
city       = DataStructuresSerialized(cityString, separator)

city.update(index, newString)
newCityString = city.getSerializedString()

print(newCityString)

DataStructuresSerialized $ China|000|beijing

DESCRIPTION

getSerializedString

return serialized string, only support list data structures serialized

getDeserializationStruct

return deserialization list data struct

update

update serialized string or list data structures some substring

Metadata

Release files for DataStructuresSerialized 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DataStructuresSerialized 0.0.3
File Size Uploaded Provenance Actions
DataStructuresSerialized-0.0.3.tar.gz 2.5 kB Without provenance Details for DataStructuresSerialized-0.0.3.tar.gz

Release files / DataStructuresSerialized-0.0.3.tar.gz

Download URL DataStructuresSerialized-0.0.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1ea3626978f276928c21993531c5bd3921adba5e091e853cfc24ae8616927548
BLAKE2b-256 checksum
How to use checksums
2137b7840f52c80de93ec7e047898f5df1578e2bff966d6b7ccda5951b02f77c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for DataStructuresSerialized 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page