Skip to main content

maishu's office package

Project description

Maishu Office package

基于python-docx和openpyxl一个简易的操作office套件的库

示例:

  1. 读取word文档
from maioffice import word
doc = word.load('sample.docx')
  1. 替换word文档中的文字
doc = word.load('sample.docx')
word.replace(doc, '旧的文字', '新的文字')
  1. 读取excel文档
from maioffice import excel
workbook = excel.load('sample.xlsx')

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

maioffice-0.0.6.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

maioffice-0.0.6-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file maioffice-0.0.6.tar.gz.

File metadata

  • Download URL: maioffice-0.0.6.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/48.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for maioffice-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b06dee02e35f07b28348f50da54802541890415fe909dc82f6a38be43d904175
MD5 e5c666b9fc2d51d899760fae8c130015
BLAKE2b-256 f79edb660fb843ceb500f8b63d01e227356b3645791e204b492e1e47a5194ccf

See more details on using hashes here.

File details

Details for the file maioffice-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: maioffice-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/48.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for maioffice-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dfcf6760d373142755ff239dcdb933b11af07fe67941fe7a86c81c4f3ef4eaa9
MD5 e3cf4beaaecb6841dc0a8c49f5e6d213
BLAKE2b-256 736f810649f324d7aa492c5d70ec13de58a76aa58ac65ec3adac25bf5ea97572

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