Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Functionality for getting credentials from .fogbugzrc or prompting the user for FogBugz and related interfaces

Project Description


An extension to logging functionality for FogBugz module and for extensions to it like fborm.

Function fb_credentials.FogBugz is a layer on top of the constructor fogbugz.Fogbugz or similar constructors (for example fborm.FogBugzORM) that provides a convenient parsing of credentials (token, username or password) in a configuration file (by default ~/.fogbugzrc), or prompts the user for valid credentials.

Sample usage

import fb_credentials fb = fb_credentials.FogBugz(‘’)‘53410’, cols=’ixBug’)


You can download and install using:

pip install fb_credentials

The PyPI URL for this project is:


In order to run the tests you need to install the test dependencies indicated in

Tests are stored in folder test and run with nosetests. Travis is used for Continous Integration and is connected to the github repository; every new push to the repository triggers the set of tests in Travis. At the top of this README there is a link to Travis that indicates the status of the tests.

Tests need to pass for the different versions of python supported. This is setup in the .travis.yml configuration file. You can do the same locally using tox and the tox.ini file in this repository.

Release Notes


New features

  • Added support for searching for token in configuration file.

API changes

  • FogBugz_cm() has option logoff (default False) to turn on log-off when exiting the context manager.

Behavior changes

  • Simplified the sequence of credential validation steps (provided token, provided username, get token, get username).
  • Default configuration file changed from ~/.hgrc to ~/.fogbugzrc.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.2 kB) Copy SHA256 Hash SHA256
Source Aug 18, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting