Skip to main content
pymemfd -- memfd_create wrapper for Python
==========================================

This modules provides a Python wrapper for the new memfd_create() syscall
and the new file-sealing fcntl() operators.

Low level interface
-------------------

memfd.memfd_create(name, flags) -> int

memfd.MFD_ALLOW_SEALING

memfd.MFD_CLOEXEC

memfd.F_ADD_SEALS

memfd.F_GET_SEALS

memfd.F_SEAL_SEAL

memfd.F_SEAL_GROW

memfd.F_SEAL_SHRINK

memfd.F_SEAL_WRITE


High level interfaces
---------------------

memfd.open(name, *, flags=MFD_CLOEXEC, mode='wb+', buffering=0, closefd=True,
**kwargs) -> io.FileIO

memfd.F_SEAL_ALL

memfd.MFD_ALLOW_SEALING_CLOEXEC

More
----

http://man7.org/linux/man-pages/man2/memfd_create.2.html

https://dvdhrm.wordpress.com/tag/memfd/

Release files for pymemfd 0.1

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

Source distribution (sdist)

Source distribution for pymemfd 0.1
File Size Uploaded
pymemfd-0.1.tar.gz 4.5 kB Details

Release files / pymemfd-0.1.tar.gz

Download URL pymemfd-0.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e754c0ffc036e0eb2e07feabe2687487afde52b960522aa011ab99848e554d9c
BLAKE2b-256 checksum
How to use checksums
9398927c4c8ea2a39191af16631756cfd84a401d6fe7bdb7414b5c8c2943e3e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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