BAR is currently not under active development. Newer versions of Python (post 2.1) no longer support some of the features required by BAR and may cause problems. Further development of BAR will be restarted only in case of significant interest. Assistance and funding would be most welcome.
BAR is a full reservations system intended for the usage of small to medium-sized tour operators and travel agents. The system has been in continuous usage since early 1999 and has proven to be reliable and stable.
BAR Features
- Full PNR management, inclusive of:
- Itinerary
- PAX (name, address, remarks)
- Unlimited number of PAX per PNR (groups)
- Accounting information (prices, invoicing)
- Agent commission
- Inventory management for:
- Flights
- Hotels
- Rental Cars
- Booking from Inventory for:
- Flight
- Hotel
- Rental Car
- On Request booking (e.g. without Inventory) for:
- Flight
- Hotel
- Rental Car
- Tour/excursion
- Transfer
- Itinerary remarks
- Agent tracking and commissioning (multiple commission levels)
- Reporting:
- Legs with Request Status
- Unpaid PNR's
- Passenger Name Lists
- Document printing:
- Invoices
- Flight tickets (non-IATA)
- Vouchers
- PAX Itineraries
However, BAR is released under the terms and conditions of the GNU Public License (which is a copy of the original page at http://www.gnu.org). This basically means that you may copy it, modify it, use it and give it to your friends - you don't owe us anything, you just have to keep the copyright notice on it. It also means that no warranty is implied and that Apsis GmbH cannot be held liable for anything that happens as a result of your using this program.
Should you want us to install, configure, maintain or customize BAR for you we will charge you a fee. Please feel free to contact us at the above address.
Installation
In order to install BAR you will need to perform the following steps:
- Download and unpack the BAR source code. This will create a directory on your disk called
Bar
. - Install Python on your server. We have tested BAR with
Python
1.5.2 to 2.1.1.Python
is usually bundled with yourLinux
distributions, but versions exists for allUnix
systems we know about, allWindoze
versions after 95 inclusive and theMac
(as ofMacOS
7 and up, including X). - Make sure you have Postgres installed on your server.
Postgres
is usually bundled with mostLinux
distributions, but it can also run onWindoze
servers with the excellentCygwin
toolkit and probably on theMac
under system X. - Make sure you have the '
pg
' python package installed - it allowsPython
programs to accessPostgres
. Again, this is usually bundled with yourLinux
distribution and is part ofPostgres
. - Install
Pyro
. You can download it from its home page or from here. - Install
Pmw
. You can download it from its home page or from here. - Make sure you have a postscript printer defined on your server. BAR will use it. Additionally you will need the regular Unix text processing stuff:
tbl
,troff
(with theme
macros) andgrops
. - Edit '
printer.py
' to reflect your name, address and formats. Some testing would probably be in order - the current settings reflect what one user required. Tip: search for the string YOUR in the file... NOTEThe current settings are for specific pre-printed forms used by one of the BAR users. You will probably need to adjust your margins and positioning of text and possibly add headers/footers if you want to use plain paper. - Create a
Postgres
database (and preferably user) calledcash
. Modify 'factory.py
' to reflect your user and password. - Create the tables required by BAR. Under the
db
directory you will find a smallpsql
script that does all that is required. Usage might be something like 'psql bar < db/cr.sql
‹. - Start the server: '
python -O server.py
'. This will start thePyro
nameserver, create the connection to the database and activate the GUI for the printing. Make sure the server is active at all times - you may want it to start automagically during boot. - Start the client: '
python -O bar.py
‹. - Install
Python
,Pmw
andPyro
on your client machines. Copy the BAR python files there and start the client in the same way. NOTE: we have seen problems withPyro
on Mac clients. This was due to a bug in thePython
socket code, but it was withPython 1.5.2
, so things may have changed since. If you still have problems with it we can look into it again. - Enjoy your new reservations system.
To Do
Quite a bit. High priority, in our opinion:
- User Manual. Volunteers are welcome...
- Link to some GDS. Unfortunately, we have not yet found a decent toolkit for this.
- Automatic Pricing.
Bugs
No bugs are known or open. The system has been in use since early 1999 and has proven stable and reliable.