Skip to main content

Dynamic Memory Chunk — dynamic library for compressed memory chunk packages, following the same philosophy of amcx

Project description

Dynamic Memory Chunk (dmc)

DMC is a dynamic library that lets you install specialized packages based on your needs as a developer. Every package in the DMC ecosystem follows the same philosophy of amcx a Python library for adaptive memory chunking with compression and recovery.

Author: hacko223
License: LGPL-3.0 See the LICENSE and LICENSE.LESSER file for details

Repo: https://github.com/hacko223/dynamic-memory-chunk


read wiki for more info


Installation

pip install dmc-core

How it works

DMC downloads packages directly from GitHub and integrates them into import dmc. Packages are only loaded into memory when you actually use them — if you have 10 packages installed and only use one, the other 9 are never loaded.

import dmc

# Loads only when accessed
dmc.amcx.SmartMemory("chat.amcx")

# Or import directly
from dmc import amcx
amcx.SmartMemory("chat.amcx")

Commands

dmc install --package "name"    # install a package
dmc list                         # installed and available packages
dmc info --package "name"       # package details
dmc search keyword               # search the registry
dmc update --package "name"     # update to latest
dmc update --all                 # update all
dmc reinstall --package "name"  # remove and reinstall
dmc remove --package "name"     # remove a package
dmc edit --package "name"       # remove individual modules
dmc freeze                       # list installed as name==version
dmc export --output file.txt     # export to a file
dmc import --file file.txt       # install from a file
dmc download --package "name"   # download .zip without installing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dmc_core-0.3.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dmc_core-0.3.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file dmc_core-0.3.1.tar.gz.

File metadata

  • Download URL: dmc_core-0.3.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for dmc_core-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5832edb78b5eb0cb7ae558b05052b2f34d42bd430b0fc37cdedb517c917846de
MD5 543fe1b541893ec4836252f86550f4d8
BLAKE2b-256 55ad9a2c96c85fccd40735feb9bb218f7541e1451e6e0738cc91f6b5750e0829

See more details on using hashes here.

File details

Details for the file dmc_core-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: dmc_core-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for dmc_core-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a050ea4c8065550fc0fa9de57f1cc544c2c3185f0bf66d1b18feedac2e5fc5c
MD5 4b7549a008de75cc2a5d977207fc75c1
BLAKE2b-256 192407ac37f5656d8ebd639cc6337fc306d207ce5dc9fe8fff5740d82f920300

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page