Browsing French translation

16741683 of 2684 results
1674.
The core purpose of the CheckerFactory is to translate an <code class="python">argstring</code>, which is passed on the command line, into a suitable set of initialization parameters for a Checker class. In most cases this should be little more than constructing a dictionary or a tuple of arguments, then passing them along to a new checker instance.
type: Content of: <html><body><p>
(no translation yet)
Located in howto/cred.xhtml:389
1675.
from zope.interface import implements

from twisted import plugin
from twisted.cred import checkers
from myapp.cred import SpecialChecker

class SpecialCheckerFactory(object):
"""
A checker factory for a specialized (fictional) API.
"""
# The class needs to implement both of these interfaces
# for the plugin system to find our factory.
implements(checkers.ICheckerFactory, plugin.IPlugin)

# This tells AuthOptionsMixin how to find this factory.
authType = "special"

# This is a one-line explanation of what arguments, if any,
# your particular cred plugin requires at the command-line.
argStringFormat = "A colon-separated key=value list."

# This help text can be multiple lines. It will be displayed
# when someone uses the "--help-auth-type special" command.
authHelp = """Some help text goes here ..."""

# This will be called once per command-line.
def generateChecker(self, argstring=""):
argdict = dict((x.split('=') for x in argstring.split(':')))
return SpecialChecker(**dict)

# We need to instantiate our class for the plugin to work.
theSpecialCheckerFactory = SpecialCheckerFactory()
type: Content of: <html><body><pre>
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in howto/cred.xhtml:398
1676.
For more information on how your plugin can be used in your application (and by other application developers), please see the <a href="tap.xhtml">Writing a twistd plugin</a> document.
type: Content of: <html><body><p>
(no translation yet)
Located in howto/cred.xhtml:432
1677.
After reading through this tutorial, you should be able to
type: Content of: <html><body><p>
(no translation yet)
Located in howto/cred.xhtml:438
1678.
Understand how the cred architecture applies to your application
type: Content of: <html><body><ul><li>
(no translation yet)
Located in howto/cred.xhtml:441
1679.
Integrate your application with cred's object model
type: Content of: <html><body><ul><li>
(no translation yet)
Located in howto/cred.xhtml:442
1680.
Deploy an application that uses cred for authentication
type: Content of: <html><body><ul><li>
(no translation yet)
Located in howto/cred.xhtml:443
1681.
Allow your users to use command-line authentication plugins
type: Content of: <html><body><ul><li>
(no translation yet)
Located in howto/cred.xhtml:444
1682.
Overview of Twisted Internet
type: Content of: <html><body><h1>
(no translation yet)
Located in howto/internet-overview.xhtml:7 howto/internet-overview.xhtml:10
1683.
Twisted Internet is a collection of compatible event-loops for Python. It contains the code to dispatch events to interested observers and a portable API so that observers need not care about which event loop is running. Thus, it is possible to use the same code for different loops, from Twisted's basic, yet portable, <code>select</code>-based loop to the loops of various GUI toolkits like GTK+ or Tk.
type: Content of: <html><body><p>
(no translation yet)
Located in howto/internet-overview.xhtml:12
16741683 of 2684 results

This translation is managed by translation group twisted.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Anthony Granger, Jean-François Brouillette, Maijin, Patrick Fiquet, Thomas LAROCHE, Thomas LAROCHE, alienworkshop, caribou.