Releases: mikeqfu/pyrcs
Releases · mikeqfu/pyrcs
0.2.13
Notable changes since 0.2.12:
- Improved the following functions and classes/methods with bug fixes:
- parse_tr() and parse_date() in the module utils;
- Electrification.get_indep_line_names(), ELRMileage.collect_mileage_file() and LOR.collect_elr_lor_converter() in the sub-package line_data;
- Depots.collect_four_digit_pre_tops_codes, Tunnels.parse_length() and Stations in the sub-package other_assets.
For more information and detailed specifications, check out PyRCS 0.2.13 documentation.
0.2.12
Notable changes since 0.2.11:
- Enabled an offline mode (when Internet connection is lost).
- Renamed the following:
- class methods:
- in the class SignalBoxes:
- in the class Tunnels:
- in the class Viaducts:
- functions in the module utils:
- class methods:
- Removed the functions
collect_site_map()andfetch_site_map()from the module updater. - Added the following:
- a new module collector - combining two modules
_line_dataand_other_assets; - new functions print_connection_error(), print_conn_err(), is_internet_connected() and get_site_map() to the module utils;
- a new method TrackDiagrams.get_track_diagrams_items() - adapted from the function
get_track_diagrams_items()previously in the module utils.
- a new module collector - combining two modules
- Enabled direct access to all classes from importing the package, without having to specifying the sub-modules which they each reside.
For more information and detailed specifications, check out PyRCS 0.2.12 documentation.
0.2.11
Notable changes since 0.2.10:
- Renamed the following methods of the class Stations:
For more information and detailed specifications, check out PyRCS 0.2.11 documentation.
0.2.10
Notable changes since 0.2.9:
- Renamed the following sub-modules (with minor modifications):
crs_nlc_tiploc_stanoxto loc_id;electrificationto elec;track_diagramsto trk_diagr;tunnelsto tunnel.
- Renamed the following modules (without modifications):
elrs_mileagesto elr_mileage;line_namesto line_name;lor_codesto lor_code;depotsto depot;featuresto feature;signal_boxesto sig_box;stationsto station;viaductsto viaduct.
For more information and detailed specifications, check out PyRCS 0.2.10 documentation.
0.2.9
0.2.8
Notable changes since 0.2.7:
- Removed the function
fake_requests_headers()from the module utils. - Made modifications with bug fixes to:
- the class ELRMileages in the sub-module elrs_mileages;
- the function nr_mileage_num_to_str() in the module utils.
- Improved all sub-modules with any specified input data directory being validated.
- Added a new function fix_nr_mileage_str() to the module utils.
For more information and detailed specifications, check out PyRCS 0.2.8 documentation.
0.2.7
Notable changes since 0.2.6:
- Renamed the sub-packages (with modifications to all of their sub-modules):
- Renamed the modules:
line_datato _line_data;other_assetsto _other_assets;updateto updater.
- Renamed the function
update_pkg_metadata()to update_backup_data() in the module updater. - Removed the module
rc_psql. - Improved the module utils with bug fixes.
- Added new functions:
- collect_site_map() and fetch_site_map() to the module updater;
- homepage_url() to the module utils.
0.2.6
0.2.5
Notable changes since 0.2.4:
- Renamed the function
update_package_data()to update_pkg_metadata() in the module update. - Improved the keys of the dict-type data for relevant methods of the two classes: ELRMileages and SignalBoxes.
0.2.4
Notable changes since 0.2.3:
- Removed the module
settings. - Updated import statements in some modules/sub-modules due to changes in their dependencies.
- Made some modifications to a few sub-modules due to changes in the corresponding web pages of the Railway Codes website.