Convert edval export to ManageBac CSV upload for timetables
Project description
edval2mb
Convert edval export of schedule to ManageBac CSV. Can be used as csv timetable upload
Install
Please install python version 3.9 or above. On Mac, you can use brew, and on Windows, you can use the Microsoft Store.
Best practice with Python is to create virtual environments to install tools. It is recommended. The most straight-forward way to create and use a virtual environment is the follwing:
python3 -m venv venv
That sets up the virtual environment. Then, to activate the virtual environment:
source venv/bin/activate # Mac/Unix
./venv/Bin/Activate # Windows
Once the virtual environment is activated, install:
pip install edval2mb
You will now have the command line tool "edval2mb" available in the terminal.
To use
This tool takes as input the csv export, and will save the result into a file that is output when complete.
edval2mb path/to/exported/csv.csv to_mb
Output:
Saved csv of 1365 rows (including header) and 5 columns to /path/to/managebac_timetable.csv
Options
To view the options available on the to_mb
command, please see the output to this command:
edval2mb path/to/exported/csv.csv
Output:
Options:
--academic-year TEXT The value passed here will be output to each
row of the output
--day-start-index INTEGER Some schools ManageBac timetable starts from
day 0. In this case, you can pass 0 to this
option.
--period-start-index INTEGER Some schools have their timetable start with
0. In this case, you can pass 0 to this
option.
--day TEXT If the exported csv uses days of week other
than Mon, Tue, Wed Thu Friday, you can specify
these by passing multiple --day Lundi --day
Marchi etc in sequential order
--output-path TEXT The path (including file name) of the output
file
--help Show this message and exit.
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
Built Distribution
File details
Details for the file edval2mb-0.3.4.tar.gz
.
File metadata
- Download URL: edval2mb-0.3.4.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c5a677ee67d6ccd5168a34fd449e12374cced78a635bbcbe3e5ac4499c789d5 |
|
MD5 | a75c0d2c29eef99dab4f9c8a3b8a159c |
|
BLAKE2b-256 | 11ac94d0880eefe8699d3511d919cf101e8226f49f8b5a52148cc33d516ec448 |
File details
Details for the file edval2mb-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: edval2mb-0.3.4-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6c240a7f7db5212b600b31556efafbfc454df00780f81af53d35401d713970 |
|
MD5 | ea81cea3a7f87f85912c91503e2b2d22 |
|
BLAKE2b-256 | b623d270208d60246d1bda91ff4a4d6e38baf4551208b9fded91a1cf2326510a |