fb_credentials
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(’https://YourRepository.com/’) fb.search(q=’53410’, cols=’ixBug’)
Installation
You can download and install using:
pip install fb_credentials
The PyPI URL for this project is: https://pypi.python.org/pypi/fb-credentials.
Tests
In order to run the tests you need to install the test dependencies indicated in setup.py.
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.
E-mail me
Release Notes
0.3.0
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.
Metadata
Release files for fb-credentials 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fb_credentials-0.3.0.tar.gz | 6.2 kB | Without provenance | Details for fb_credentials-0.3.0.tar.gz |
Release files / fb_credentials-0.3.0.tar.gz
| Download URL | fb_credentials-0.3.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
daced34a36b36601571d47c660ae8f699414c353bcc91b898b060e3cb9c8f4af
|
|
BLAKE2b-256 checksum How to use checksums |
4acf1fe8b9d54ed2b6c8c28cb47049dd14c5acaea6d5071edda22e3fd126996a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fb-credentials 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.