Skip to main content

Metadata editor for MS Office documents

Project description

NoMETA

What is NoMETA?

NoMETA is a library for editing MS Office documents metadata, it works with documents of Office >= 2007 and has been tested with docx, pptx, xlsx, vsdx and accdt files.

License

NoMETA is released under the terms of the Apache license v2.0. See LICENSE for information.

Getting started

NoMETA is available in PyPI.org, so the recommended method to install is $ pip install nometa. Otherwise, you can download the source code and run by yourself.

NoMETA has a command line interface (CLI) that you can run directly. However, only a subset of metadata can be edited by CLI. You can use the command $ nometa -h to learn how to execute NoMETA on CLI.

The code snippet below gives a sample of how to use NoMETA programmatically. For more details, read the documentation.

>>> from nometa import Document, Core, App
>>> doc = Document("tests/resource/test.docx",Core,App)
>>> doc.core.creator
'Michael Myers'
>>> doc.core.creator = "Johnny Test"
>>> doc.save("test2.docx")

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

nometa-0.1.1.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

nometa-0.1.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file nometa-0.1.1.tar.gz.

File metadata

  • Download URL: nometa-0.1.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.20.1 CPython/3.11.2 Linux/6.1.0-28-amd64

File hashes

Hashes for nometa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6af7c2721ef154543ff726f7bd0a23d770af3932da834bc5d689c41b0256fc5a
MD5 795cc86c319d9f3fd72b1bf127a8d7cb
BLAKE2b-256 9d2e6c36dfcf18df55d4e6474819bccf2f42ebd9ee6f25161c741796d380c7c8

See more details on using hashes here.

File details

Details for the file nometa-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nometa-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.20.1 CPython/3.11.2 Linux/6.1.0-28-amd64

File hashes

Hashes for nometa-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 733cf28b73d4781394e204c8024e9c10a4a6199da252237af11c2be7ad12123e
MD5 93ead5598fc85a8c8453940c664ce3b3
BLAKE2b-256 ba4021b4cbc2cfe3a748e418e3dcaeb20deb39e813985088b7c8bed31c7a9a9c

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