🍬python for office
👉 https://www.python4office.cn/ 👈
Python-office is a third-party library on office automation, which do covers its most use cases.
We are devoted to provide functionalities out-of-the-box, allowing beginners to achieve their goals in one line, without any knowledge requirements on the python language.
- Build your office automation environments in one command
- Solve your problem in one line without learning python
- Meet your need right on your workplace
- Improve your efficiency at zero cost
pip install -i https://mirrors.aliyun.com/pypi/simple/ python-office -UAll components bellow are under construction for now.
| package | description |
|---|---|
| excel | excel processing |
| word | word processing |
| ppt | ppt processing |
| pdf processing | |
| file | file system processing |
| tools | efficient tools |
| web | website helpers |
| email processing | |
| image | image processing |
| video | video processing |
| ocr | character recognition & speech recognition |
You can import each module separately according to your requirements,
or simply import office to import everything (not recommended).
You are welcome to commit your code, following the specifications below:
Steps to participate in developing
- For example, you ought to add a
addfunction- your GitHub account is demo
- you create the demo directory in
./contributors - new
add.py, in which you write your code - finish editing, you commit a PR to the
masterbranch (no matter on GitHub or gitee) with your naming proposal - @CoderWanFeng receive it, test it, merge it and finally upload it to PyPI 🎉
- Annotation. you should explain each parameter and returns of every new function. Unit test is alternative. You are allowed to sign it.
- Formatting. Note that you can only format your own code.
- Please pull request to
masterbranch directly, which stands for the published version on PyPI. (This may change when contributors increase in the future) - If we close your issue/PR, ease it. This is our way to keep it clean. You can still discuss it, and we would reopen it when there exists an acknowledged solution.
- fork this repo (on GitHub or gitee)
- clone it to your local file system
- modify your code
- commit & push your changes to the remote repo
- pull request to the
masterbranch after logging in to GitHub/gitee and fill some information - wait for maintainers merging it
This Repository contains 2 branches, listing as follows:
| branch | functionality |
|---|---|
master |
main branch, published on PyPI, you should PR here |
develop |
development branch, |
Please ensure the relationship to this repo. Other issue (such as learning python) is not allowed.
Buy us a cup of coffee if you appreciate python-office. Thank you sincerely.
donate to this project 👈 the donation will be used to support the development of this project

