Introduction
The main goal of code-data-share-for-python is to improve the efficiency
of importing python module, including time and memory footprint,
by persistence of code object of imported modules
with a memory-mapped file.
For more information not included in this README,
e.g. detailed user and developer guide, performance results,
please refer to our wiki page .
Basic Usage
code-data-share-for-python provides mechanism to
determine imported packages,
dump a memory mapped file from the list of packages
and import packages directly from the memory mapped file.
Install
pip install code-data-share
Determine the imported packages
# tracer: list imported packages to mod.lst
PYCDSMODE=TRACE PYCDSLIST=mod.lst python -c 'import json'
Create the memory-mapped file
# dumper: create archive named mod.img from mod.lst
python -c 'import cds.dump; cds.dump.run_dump("mod.lst", "mod.img")'
Import packages from archive
# replayer
PYCDSMODE=SHARE PYCDSARCHIVE=mod.img python -c 'import json'
AppCDS in Java
The design is inspired by the Application Class-Data Sharing (AppCDS ) feature,
introduced in OpenJDK.
AppCDS allows a set of application classes to be pre-processed into a shared archive file,
which can then be memory-mapped at runtime to reduce startup time and memory footprint.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages .
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names .
The dropdown lists show the available interpreters, ABIs, and platforms.
Enable javascript to be able to filter the list of wheel files.
Copy a direct link to the current filters
Copy
File name
Interpreter
Interpreter
cp310
cp311
cp312
cp38
cp39
ABI
ABI
cp310
cp311
cp312
cp38
cp39
Platform
Platform
macosx_10_9_universal2
macosx_10_9_x86_64
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_x86_64
win_amd64
win_arm64
File details
Details for the file code_data_share-0.1.0.tar.gz.
File metadata
Download URL: code_data_share-0.1.0.tar.gz
Upload date:
Apr 23, 2024
Size: 41.2 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Hashes for code_data_share-0.1.0.tar.gz
Algorithm
Hash digest
SHA256
0d0e4c95bbc544cb4c2739c55b38f0fa2a8b08fe45b6131fcac43943ce10db50
Copy
MD5
a6357c45f1d35fabfe4e125aeee4e2db
Copy
BLAKE2b-256
f82478f378de67ccb8d29bcf8679312d0bfbcdb7362fd9936660ef62f34284c5
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-win_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-win_arm64.whl
Algorithm
Hash digest
SHA256
5a86e3486fd0b9ab2a4b729c19f9f931dc73318e6667bf13c2eecb013405099d
Copy
MD5
1dc5f033c346e6d67b19de38e1a79618
Copy
BLAKE2b-256
93ed87db0fcb58e2971e59da561a9f49b9c63ede32b6e27f0a1dd1b16e01df4a
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-win_amd64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-win_amd64.whl
Algorithm
Hash digest
SHA256
0d8c198ae1d84df3d697762fd48be0ad51b022b09d96210e24178ef6ea636fb1
Copy
MD5
143a8b9df75e3774d08c96b0ba77ec32
Copy
BLAKE2b-256
b9ea19ac7c277b9bb39276087376f0e816c4751e60f3e662162cdb3b1cfb3ae2
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
ddd5313e9fe34b5c48df872011ba3731816a7558f7f3cd9fbd44a732213ef44e
Copy
MD5
cdf06bf988add523c3b0319b2aff4d69
Copy
BLAKE2b-256
87c20a48cd79206f592a2c09a03c2b716d254a65a837606971ebb44569297879
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
2f745740a810532eaef614497061243d3f7070d90db39208c65a470977097241
Copy
MD5
22e6354a98ef821945be1fd820bca7e0
Copy
BLAKE2b-256
48b78b8d612d3320ed11051f5ab1780ee81f10873f4f29f840aeeb8d8156f16d
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
b516e729422bad617c66b53e3ebcf5b47c62b7c990d274a0208e853947d238f5
Copy
MD5
5985cbac059eb15c3e071024ad370804
Copy
BLAKE2b-256
922d995141662a2ab5fd0cf4b88c1f11fdaf5f2fbd78ee935c67a1ae19056c2e
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm
Hash digest
SHA256
a357ccfb366c2e614fde5f9cde4e4af448c97262118d7701e1e2ffe08b936b34
Copy
MD5
0550da667bc08639e705bdbd41ffa5f6
Copy
BLAKE2b-256
8a857ec6b58b39a014f6617df7d1784f48a946357fe6536dbd73ec8de71575ec
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp312-cp312-macosx_10_9_universal2.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm
Hash digest
SHA256
4a49076701df5343c2141e6f7f4b55b3f38df5ac0a906e84a28ec0d9bd2ff01a
Copy
MD5
1a9d6d8807dc6dfc1160cce1334dd38f
Copy
BLAKE2b-256
ccb630637c95c34bee1b82cd8031b5cdeed82af5b9353655ecf2af339ff27b76
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-win_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-win_arm64.whl
Algorithm
Hash digest
SHA256
2398b7ddd228438ee1cc686129ac83a9e84bcc6b86354d320ae7fba83a7dfb78
Copy
MD5
432969d875f11f6e59ff6099d6af453b
Copy
BLAKE2b-256
a008cb5460f55f1d685379db75e8f21d95c542497efd8b05c131e91553856f9c
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-win_amd64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-win_amd64.whl
Algorithm
Hash digest
SHA256
dd7c82471b067ca2d175bd945fe688ff1b7687b631a7a3e10b621bc4952700ba
Copy
MD5
c2625621feeff95906ae0dc2e31dd4de
Copy
BLAKE2b-256
bab7de81b0c1bcf6b14f5f9f2c66e215cd77301873b6425a6641fda5e373c495
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
bcb3aed125b306218624440680a32cae14c1a92f779e4ff2d9382253de65005b
Copy
MD5
016434bfcb63391cf86a2e46cf60f6bc
Copy
BLAKE2b-256
d0dea5511d371d3a883bd74c15e6142cd710bdad737a4e418031a7a66d64e27b
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
7df627b6449ac2500e6b66a5de87b955f308301f7b10309167610e8ac4e04e58
Copy
MD5
6f70799d8cb86744b910c5f4c10b9fbf
Copy
BLAKE2b-256
84fac8fd95fe2662ff61c1359415a8a3f25971c40a62db3ecc14ee17c3607cda
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
88a27fea433eaa5989a13eafa8ed240cabf24ddada6a19a62eb78819dea550e4
Copy
MD5
448d92d3b25bda841160a0b78a7540df
Copy
BLAKE2b-256
5a5f399b0223da4bab634a5536853e6cf8668666c56aafd355bbe8b237d17d81
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm
Hash digest
SHA256
ed681f9e6170e6f7d022d5ca48a7ce9ce52e3c52e6caa7523961b91949fd0862
Copy
MD5
6e1aa91bd606c6f77fdd5ee1e2173ff1
Copy
BLAKE2b-256
bc72fb85d7c3c951bf75ff2071a6778c5a8f94dda2495f8dca73fae8b4661dc1
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp311-cp311-macosx_10_9_universal2.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm
Hash digest
SHA256
5c0724c757a86cd870ea2983f3ebff98998868424588c772f32bf91725c46d14
Copy
MD5
22dc63518a4b90285a18b4b4fc914ce4
Copy
BLAKE2b-256
6833bbc7fe4565d5bf35fdfd53f12cc52bb9c314201ce32609367705fa6b2f95
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-win_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-win_arm64.whl
Algorithm
Hash digest
SHA256
a9c896a737b6f4941de7f8d2d2d791adccf9fce1d5b0a9a9f36ba3a09b156aad
Copy
MD5
26af3566872fc8200ccebf668ffcf0c7
Copy
BLAKE2b-256
26d7c0622f7fcf2b396752295ee47793395c47130b3dbda211607bf55206135c
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-win_amd64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-win_amd64.whl
Algorithm
Hash digest
SHA256
a3c1d0d2cf4cb5a9e2c70229d03817e3b0c6439c87e4af9cf8099ec4b60691aa
Copy
MD5
56242b01b2c8d1800b8750bab2a72d08
Copy
BLAKE2b-256
a97eaee64d4ed925ee4d1047655d557375098e029837dd9b1480bf293c4e3c24
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
df0f7fac86f5381de53192836b8237bedf2b34187137f82bb59eed3395f55d5c
Copy
MD5
18e88401b51817c4aedcc1f1cd0c54a1
Copy
BLAKE2b-256
82d058daa9b863221cbd52eaf5c34c355861d58614701e3caa90f789d6aeac00
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
f17096633a44f84cab0cb1b0e3cf1950bdcec53f721ed20d858607a41b67af4b
Copy
MD5
f7a56c7a01d586021e98c1cee8bc7495
Copy
BLAKE2b-256
fbbc1105db7a282a3a49d6fa636e156ea7f9094182d55bbabf625b2bc8f93384
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
fb1cb3dcbbd9598487b755cf2cf456af196a9c0dc05a8593f805ac1ff9e07289
Copy
MD5
39515b64b4d3a894870d687e1ba28436
Copy
BLAKE2b-256
8af3a9ce352fdfa358d446093be2bb2a9f20f917760f8b07e48e3e55d1f6ad42
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm
Hash digest
SHA256
3194a5adb47da46402b7541890c33e43c454906c45590a33bbc4b265a8031e48
Copy
MD5
06d29bcbff4422a933c16626453d2f6b
Copy
BLAKE2b-256
76c1b52d9ecf97d49240771962ca413695c15e6cece5707268dbad1a1a594035
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp310-cp310-macosx_10_9_universal2.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm
Hash digest
SHA256
34c3ebdaba084616583abafd72cd35332785f3c1d16ce1c24a175c05a5483c23
Copy
MD5
1871d26bea7b03782852e61ba8ec350d
Copy
BLAKE2b-256
6dc99f2fff5ffce0686b926dfd2a17cd55b84daeab7ccdfc43b6ee1795c37fd3
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-win_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-win_arm64.whl
Algorithm
Hash digest
SHA256
1d76e00169c392f8524a2aa6829554954d96d8cfddb824e84ea3b8dc2135bade
Copy
MD5
be5da2954112bf83786187afad6f24ae
Copy
BLAKE2b-256
44dbad8d7026e451cc79baf473b07b7bb38441b2ec7569f3667b83b55e1b80c9
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-win_amd64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-win_amd64.whl
Algorithm
Hash digest
SHA256
d4a1cf471aaa77d135289bc004ab06781bb65d613e3353ac76b0104df6c422c9
Copy
MD5
0900f6a53a59bd0e05b039e631febf46
Copy
BLAKE2b-256
86cc259dbe83fe45796a100ccca48f820131b780b3fc00e229535b64d532132d
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
93c43b54545cef9a0dc2808adf7a77f16cd3c8b27925104ea46cfee59cb9e3aa
Copy
MD5
ac78dcf85a9980830f9439620297d0e1
Copy
BLAKE2b-256
7e396f50d5e9b925fd5d1fba3ea692bb493a48d421f7fe240d1f02bd8555db0a
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
df632a33b0fb210db94d96df5c96c4a179f192633ab0d4deb01ff76bcb1d3994
Copy
MD5
237cd566af195ca9717a745fdcb6283d
Copy
BLAKE2b-256
131ae37881b2089998d4f7907f53fc6475b8a8bf4cf42c4bccbe91fb9e38c505
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
3253ea6c70c425722e755c5a85ea559f909f806d8116d664869a83ced7f1c859
Copy
MD5
7c43813764b0cd53071bb86ea4e1aef7
Copy
BLAKE2b-256
1984f19be19ad998c37a9a79a549e3c2de7de2a6d6cb3dc2dc04c6e2cf9ed650
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm
Hash digest
SHA256
528952c06d6d10c76d59f1142ed7280e60c80e77efd2b181a27aa19b03cd2f08
Copy
MD5
16918de5b993a35d70cf1b5475daaf03
Copy
BLAKE2b-256
a160ef1d86c22669827c5e75938642526c93effe2a871f9935f4a7cbd07476ae
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp39-cp39-macosx_10_9_universal2.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm
Hash digest
SHA256
49f0fde1e0c212f656be7e6a524fc1196d634bfe6c0ac6fccc4eba713d6c28ae
Copy
MD5
6158d3d3fe1098b6bea41d460fbd1095
Copy
BLAKE2b-256
6780cec18d555f610132eae89b57dc0f751017e367799c2435a94a0062685229
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp38-cp38-win_amd64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp38-cp38-win_amd64.whl
Algorithm
Hash digest
SHA256
fb9337ba545d0d075fb8067c6ff98876ed60d9884b29e3599772a77b089be637
Copy
MD5
dc7b9c50c412bc1c237019dadfe35b49
Copy
BLAKE2b-256
1aa9e22fc1351c31051dc459ac4b32a9bdaffafc3fdd74a772c3147f1999348c
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
3d86838e200046a40d002433fcc75f30d13430b28913b6f988c784cb3a6abe54
Copy
MD5
a37a3cb668948ea332aa191d569521b3
Copy
BLAKE2b-256
a113621136974f83a25090f58962fd45a37d12f369feae2e2ca0edda8f539ef4
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
c27b652b7905c5896e44dce58c0b629ac5fad3d072f377354b9397c0e697f2a1
Copy
MD5
29d02bcf7957249c2f6523e31d26b0b5
Copy
BLAKE2b-256
b5183b5264fe3ed7bfb4a1eb60013f7ee4ea86ab75a12bf9a61ad446cbbd745d
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp38-cp38-macosx_11_0_arm64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
5188f30c6de391f0a8143cadc100c15b2488a9a1bff06e720628eaae1f93b7f2
Copy
MD5
6e5916be2eb8f70e596a7d9006baa6d4
Copy
BLAKE2b-256
21bdd16a6a423818aa1824591976a39fac51d95202e43c1f50e789b859f0146b
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm
Hash digest
SHA256
2c62b53e0577298228db9df09c34802f71ae42f67eb7485f485c191affa36f14
Copy
MD5
e7b0d900f86b7b16eb6cb6112ca12b93
Copy
BLAKE2b-256
aabfb929addaff28170d5ff84650fc2fb2718d41261b7ceba6ba9a90de1dfade
Copy
See more details on using hashes here.
File details
Details for the file code_data_share-0.1.0-cp38-cp38-macosx_10_9_universal2.whl.
File metadata
File hashes
Hashes for code_data_share-0.1.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm
Hash digest
SHA256
d299c3e37fe608804056bf1bcdf102952e11bd7b3cdddd6f2a6f7fbb25850c02
Copy
MD5
22e476591d8f5c04c3fdf7cedcc8b15d
Copy
BLAKE2b-256
46ab3befb277acea5625ae0d92384f6e378e1647a670c4a6ec224342c9778165
Copy
See more details on using hashes here.