Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!


This is a library to access Citadel servers from Python using the Citadel Protocol.

          Python :
         Citadel :
Citadel Protocol :

 - defines a fairly generic TCP client in the Client class.
 - implements the Citadel Protocol on top of tcp.Client.
 - is the high level Citadel interface.
 - contains templates needed by the Citadel client.

 You shouldn't have to worry about, api.Protocol is the class where you would implement missing parts of the low level Citadel Protocol and should be the only module you need to import and adapt to your needs.

 When you instenciate the Citadel class, you may pass it a config object (typically a module).
 The config object may have the following attributes:
  . server_adr  : the Citadel server adr
  . server_prt  : the Citadel server port
  . admin_login : admin login           
  . admin_psw   : admin password       
  . log         : log file            
If server_adr is omitted localhost will be used, server_prt defaults to 504.
If admin login or password are not specified, you will be asked for them as needed.
If log is not specified (or evaluate to False) nothing will be logged.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.