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.3.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.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: windows_atom-1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 2d6cbfe74b4df9f93001a7dcc0b5204a58800321e18693fcf1767ca1423c30ea
MD5 a2c51bc6973ff5266a46d02ec4992222
BLAKE2b-256 499035753614da514433aa6099a3233b9cffb3a38788efe99475262482f51e72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: windows_atom-1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 617d4276b6fd260dbc9db0e2a8236525aee69fc96fd7c4a2ede1999277dcaf0b
MD5 a38b6b3b3718d13bdda7d591db63cd95
BLAKE2b-256 18664d2ae6e193f0476696d270922c9f02e302bfb11344c90a0897e56fe32032

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