Skip to main content

A Python library to interact with the Windows atom table via ctypes.

Project description

windows_atom

windows_atom is a Python library that provides an interface for interacting with the Windows atom table using a ctypes module wrapper. This library allows for adding, finding, retrieving, and deleting global or local atoms.

Features

  • Add atoms globally using add_atom
  • Add atoms with local or global flags using add_atomEx
  • Search for an atom with find_atom
  • Retrieve the name of an atom with get_atom_name
  • Delete an atom using delete_atom

Installation

You can install through pypi with:

pip install windows_atom

You can install the package after downloading or cloning the repository:

If you dont want to build you can download the release from github then use this command:

pip windows_atom-1.0-py3-none-any.whl

Usage

You can import the files with:

from windows_atom import *

Adding an Atom :

add_atom("Hello world") #Will return an atom id

Add an Atom with local or global Flags:

global_atom = add_atomEx("example_global_atom") # Global atom

local_atom = add_atomEx("example_local_atom", flags=1) # Local atom

Find an Atom using id:

get_atom_name(atom)

Find an Atom using name:

find_atom("example_unicode_atom")

Delete an Atom:

delete_atom(atom)

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

windows_atom-1.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

windows_atom-1.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file windows_atom-1.4.tar.gz.

File metadata

  • Download URL: windows_atom-1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for windows_atom-1.4.tar.gz
Algorithm Hash digest
SHA256 d531b84e4a682349a3e65bbf30027f9b8c1a60c97819a462ef9353bb6518b83e
MD5 e90499a4444c49c5b69a069e3f4ec258
BLAKE2b-256 44006a3fb74e23a24ffd1d4626674818e05a5184fb0f8262c8b28aa9f4554526

See more details on using hashes here.

File details

Details for the file windows_atom-1.4-py3-none-any.whl.

File metadata

  • Download URL: windows_atom-1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for windows_atom-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d725da228ef7a550005f14905023b68297bbfbfa3f7e0b91eccd4225626678d7
MD5 b2a70d77ec843e7b578972efd40dc62f
BLAKE2b-256 7ce854b0e6cf01a5c11e3c4a6537eb510ea46843cfde40721b9e34d7b9504066

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