Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wwbridge

A Servie to connect to Active911 and export alert messages to a predefined directory

⚠️ Deprecation Notice

This project is deprecated. While there is no direct replacement, similar functionality can be implemented using A911Client, which provides a modern, async-first Python client library for interacting with Active911's API and XMPP interface.

Prerequisites

This module is designed to work with Python 3.4+ on a Windows system. Python 2 may work, your milage may very. The requirements.txt file contains the required libraries except for a911client and optionally sleekmonkey.

python 3.4+
$ pip install -r requirements.txt
$ mkdir a911-build
$ cd a911-build
$ git clone https://github.com/porcej/a911client
$ cd a911client
$ python setup.py install

# The following is optional, to install sleekmonkey
$ cd ..
$ git clonge https://github.com/porcej/sleekmonkey
$ cd sleekmonkey
$ python setup.py install

# The following is optional to remove a911client's build directory
$ cd ..\..
$ cd rm -rf a911-build

Building wwbridge

We will use pyinstaller to build an executable. This will export the executable to the dist folder within the project directory


pyinstaller -F --hidden-import=win32timezone ww_bridge.py
pyinstaller -F --hidden-import=win32timezone config.py

Usage

Use config to generate json config file

Usage: 'ww_bridge.exe [options] install|update|remove|start [...]|stop|restart [...]|debug [...]'
Options for 'install' and 'update' commands only:
 --username domain\username : The Username the service is to run under
 --password password : The password for the username
 --startup [manual|auto|disabled|delayed] : How the service starts, default = manual
 --interactive : Allow the service to interact with the desktop.
 --perfmonini file: .ini file to use for registering performance monitor data
 --perfmondll file: .dll file to use when querying the service for
   performance data, default = perfmondata.dll
Options for 'start' and 'stop' commands only:
 --wait seconds: Wait for the service to actually start or stop.
                 If you specify --wait with the 'stop' option, the service
                 and all dependent services will be stopped, each waiting
                 the specified period.

Install

$dist\ww_bridge.exe install
Installing service TestService
Service installed

Start

$dist\ww_bridge.exe start
Starting service TestService

Clean

$dist\ww_bridge.exe stop
$dist\ww_bridge.exe remove

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Joseph Porcelli - Initial work - porcej

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

[DEPRECATED] Woodrow Wilson Bridge

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages