Shared Memory Dictionary utilizing Posix IPC semaphores and shared memory segments and offering permanent disk storage of data if required.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

9 lines
1.2KB

  1. <p class="pln" id="t1"><span class="com"># -*- coding: utf-8 -*-</span><span class="strut"> </span></p>
  2. <p class="pln" id="t2"><span class="strut"> </span></p>
  3. <p class="stm run hide_run" id="t3"><span class="key">from</span> <span class="nam">pkgutil</span> <span class="key">import</span> <span class="nam">extend_path</span><span class="strut"> </span></p>
  4. <p class="pln" id="t4"><span class="strut"> </span></p>
  5. <p class="stm run hide_run" id="t5"><span class="nam">__path__</span> <span class="op">=</span> <span class="nam">extend_path</span><span class="op">(</span><span class="nam">__path__</span><span class="op">,</span> <span class="nam">__name__</span><span class="op">)</span><span class="strut"> </span></p>
  6. <p class="pln" id="t6"><span class="strut"> </span></p>
  7. <p class="stm run hide_run" id="t7"><span class="key">from</span> <span class="op">.</span><span class="nam">_version</span> <span class="key">import</span> <span class="nam">__version__</span><span class="strut"> </span></p>
  8. <p class="stm run hide_run" id="t8"><span class="key">from</span> <span class="op">.</span><span class="nam">shm_dict</span> <span class="key">import</span> <span class="nam">SHMDict</span><span class="strut"> </span></p>