CCR Documentation

CCR Documentation

CCR Documentation

CCR Documentation

CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
CCR Documentation
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables
Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions
ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management
class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication
class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions
exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables

Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions

ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management

class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication

class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions

exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables

Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions

ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management

class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication

class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions

exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables

Description

ccr is a Python library for interacting with the Chakra Community Repository, or CCR.

Functions

ccr.search(keywords)[source]

search for some keywords - returns results as a list

ccr.info(package)[source]

get information for a specific package - returns results as a list

ccr.msearch(maintainer)[source]

search for packages owned by ‘maintainer’ - returns results as a list

ccr.list_orphans()[source]

search for orphaned packages - returns results as a list

Session Management

class ccr.Session(username=None, password=None, rememberme=False)[source]

class for all CCR actions

adopt(package)[source]

adopt an orphaned CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning if the package is already maintained or if it fails

authenticate(username, password, rememberme=False)[source]

authenticate on CCR raises a ConnectionError if a network error occur raises a ValueError if login fails

check_vote(package, return_id=False)[source]

check to see if you have already voted for a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur

close()[source]

end the session

delete(package)[source]

delete a package from CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _DeleteWarning on failure

disown(package)[source]

disown a CCR package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _OwnershipWarning on failure

flag(package)[source]

flag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

notify(package)[source]

set the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

setcategory(package, category)[source]

change/set the category of a package already in the CCR raises a PackageNotFound exception if the package doesn’t exist raises a requests.ConnectionError if a network error occur raises _CategoryWarning for an invalid category or if it fails.

submit(f, category)[source]

submit a package to CCR raises KeyError on bad category raises IOError [Errno 2] if ‘f’ does not exist raises a ConnectionError if a network error occur

unflag(package)[source]

unflag a CCR package as out of date raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _FlagWarning on failure

unnotify(package)[source]

unset the notify flag on a package raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _NotifyWarning on failure

unvote(package)[source]

unvote a package on CCR raises a PackageNotFound exception if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already unvoted or if it couldn’t unvote

vote(package)[source]

vote for a package on CCR raises a PackageNotFound if the package doesn’t exist raises a ConnectionError if a network error occur raises a _VoteWarning if it is already voted or if it couldn’t vote

Authentication

class ccrauth.AuthFile[source]

A class to manage authentication information in a file (ccrauth.txt)

store_auth_info(username, password)[source]

store authentication information in the file raises IOError if the disk is full

class ccrauth.AuthDB[source]

A class to manage authentication information in a database (ccr.db)

store_auth_info(username, password)[source]

store/update authentication information in the database

Custom Exceptions

exception ccr.PackageNotFound[source]

Package does not exit

exception ccr.InvalidPackage[source]

Invalid package or wrong file type

exception ccr.CCRWarning[source]

Base class for all other warnings

Indices and tables