exceltoamx-0.0.5
توضیحات
xlsx to amx dict list
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | exceltoamx-0.0.5 |
| نام | exceltoamx |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Logan Vaughn |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/logantv/exceltoamx |
| آدرس اینترنتی | https://pypi.org/project/exceltoamx/ |
| مجوز | - |
# exceltoamx
import excel spreadsheet to list of amx dicts.
This is NOT a generic Excel importer. It's specific to campus AMX systems.
Each amx system is represented by a dictionary populated by the excel columns.
These dictionaries are then put into a single list and returned.
Required columns:
building_name,
room_number,
master_ip
Columns handled here but not required:
system_number,
space_use_code,
tp_generation
Any additional columns are allowed. They will be converted to dict k,v pairs
Requires tablib. Dictionary keys are populated from the top row of data in
the .xlsx file.
Each additional row is turned into a dictionary with the values from that row.
Then all of the rows/dictionaries are put into a list and returned.
We could also return the xlsx dataset, but there's no current use for it so
I left that commented out.
:param path: path to .xlsx file
:return: list of dictionaries
نیازمندی
| مقدار | نام |
|---|---|
| - | tablib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl exceltoamx-0.0.5:
pip install exceltoamx-0.0.5.whl
نصب پکیج tar.gz exceltoamx-0.0.5:
pip install exceltoamx-0.0.5.tar.gz