Saravanan666/pypi-org huggingface dataset:
Package: p01.accelerator
This package provides a browser request and publication for Zope3. File uploads
get directly stored in a persistent temporary file. This file can be used in
file storages with zero-copy processing. The temporary file is controlled by
a special transaction data manager which also takes care of removing the
temporary file if the transaction get aborted or commited.CHANGESVersion 0.5.0 (2009-05-12)Initial Release
Package: p01.cgi
This package provides a replacement for the cgi.FieldStorage parser whichprevents to load file upoad data into memory.=======CHANGES=======0.5.1 (2011-10-18)------------------- implemented temporary file factory arguments called tmpFileFactoryArguments.This allows to use 'w+b' or max_size for SpooledTemporaryFile- updated license info- fix package meta data0.5.0 (2009-05-11)------------------- initial release
Package: p01.checker
This package provides a source checking/linting tool.CHANGES0.5.9 (2021-01-21)added python3 support0.5.8 (2018-11-24)bugfix: css lint checker and JAVA_HOME dependency. We use java as fallback
command if JAVA_HOME path is not set. This will prevent a KeyError on
JAVA_HOME lookup from os.environ. JAVA_HOME or the java command must be
available for css lint checker.0.5.7 (2018-11-09)feature: support p01.checker.silence for non ascii checker0.5.6 (2013-10-02)added more entity for chameleon PT checker0.5.5 (2013-10-02)bugfix: missing line attribute for fuzzy items0.5.4 (2013-03-27)bugfix: fix unicode troubles in reported summary.feature: added skipFolderNames list option which allows to skip folders by
it’s name0.5.3 (2013-02-02)fix pyflakes checker result for SyntaxError and IndentationError0.5.2 (2012-12-25)bugfix: adjust MANIFEST.in and include missing csslint javascript and jar
filesimplemented .png file checkeradded test images with bloat data0.5.1 (2012-12-25)implemented checkers as name, checker dict data and allow to configure skip
file names per checkerimplemented css lint based CSSLintChecker as a working replacement for
CSSChecker. The CSSLIntChecker requires a working java installation and is
based on the included js.jar and csslint-rhino.js jar file.skip CSSChecker by default. This chcker produces unuseable output for
the twitter bootstrap styles sheets. Every second style is reported as
unknown.0.5.0 (2012-12-23)initial release
Package: p01.dashboard
This package provides the core libraries used for build a dashboard server like
known from dashing. See xdashboard for a sample dashboard server implementation.CHANGES0.5.2 (2017-01-24)bugfix: check existence of _scheduler before calling stop on themswitch default maintainAspectRatio to false for ChartJS widgetcleanup ISampler interfaces, remove _enqueue method from interface. It’s up
to the developer hwo to implement the enqueue conceptupdate MANIFEST.in, used check-manifest for define include pattern0.5.1 (2017-01-07)feature: added Rickshaw graph widget. You can use this widget with
data-type=”Graph”feature: added stream data to global stream collection. This will ensure,
that the widgets get initial data and doesn’t have to wait till the first
timout expires0.5.0 (2017-01-05)initial release
Package: p01.form
This package provides another z3c.form layout concept for Zope3 based
applications. This package provides the full set of z3c.form widgets and some
additional basic widget getter methods for an enhanced widgetFactory setup.CHANGES0.5.7 (2014-06-30)bugfix: PasswordConfirmationWidget: useclass view/klass0.5.6 (2014-06-30)addedMissingNoValueTokenBugfix0.5.5 (2013-09-10)bugfix: fix missing no value rendering in GroupSelectWidgetbugfix: fix missing z3c.form.util.toUnicode in CheckBoxWidget0.5.4 (2013-07-26)Nothing changed yet.0.5.3 (2013-07-26)feature: implementedExplicitRequiredMixin. You can set there any widget
to required only on the given form with the tuplerequiredWidgets0.5.2 (2013-07-18)feature: implemented enhanced buttonAndHandler method. This method allows to
use a button instance and not only a title. This should get backported to
the z3c.form implementation.bugfix: fix CHeckBoxWidget value handling, allow to set value after widget
setup. This should get backported to the z3c.form implementation.0.5.1 (2013-01-28)implemented CSSButton which allows to define a css property. This is usefull
for UI frameworks like twitter bootstrap which requires different css classes
applied to the button.0.5.0 (2012-11-16)initial release
Package: p01.fsfile
This package provides a file system file and storage wrapper for Zope3.CHANGES0.7.2 (2020-09-05)Bugfix: Fix fsID and use the correct os separator. After migrate a system
windows to linux the fsID contains windows separator and this fails for
build the correct file storage path. We check if the fsID contains windows
separator and if on a non windows system, we replace the os path separator
with forward slash.0.7.1 (2013-08-28)fixremoveGhostFiles: remove the ghostFile from_ghostFilesalso
if it does not exist. No need to keep the reference around.addedtimeLimittoremoveGhostFiles, useful for automated cleanup0.7.0 (2012-11-16)fix typos and pyflakes warningsremove storage base path from fsID. Storing the full path just causes problems.
Added IFSFile.path which has the full path then.
That causes some API changes.
And make sure you provide the right utility with the right name.
(utility name == IFSStorage.storageName)
Generation REQUIRED!renamed private methods to start with_0.6.0 (2011-01-04)changed p01.fsfile config argument fsStorage to storage since camel
case seems to be broken. Also note that the WSGI to product config chain
seems to be broken too. This means you have to apply the WSGI arguments to
the zope product config after the WSGI application factory will setup the
product config otherwise previsous applied product config get overwritten.
Even better use a real product config directive in your zope.conf file and
prevent all this problems.move transaction support from IFSStorage to IFSStorageTransationSupport
interface. This let us implement storages with a different transaction
support concept. Inherited all other storage interfaces from
IFSStorageTransationSupport for BBB.improve IConnection lokup, implement base implementation which could be used
for non peristent storages. Also implement lookup for persistent storages
classes.move persistent and contained from the base class to the core implementation.
This allows us to use the base classes for non persistent utilities.added ghost file support classes based on local utility lookup. This allows
to use a global non persistent storage setup with a local ghost file utility.0.5.0 (2009-05-12)initial release
Package: p01.fswidget
This package provides a file system file widget based on z3c.form for Zope3.CHANGES0.5.4 (2017-08-30)implement scripting injection prevention, cleanup filename and
replace < and > with &lt; and &gt;0.5.3 (2013-04-08)no need for logging, prolly found the problemadd log entry for filename modification, add testsfix MANIFEST.in file0.5.2 (2012-11-16)adjust missing importfix filename split issuesremove p01.i18n externalsadded pt.py files to ignore file listupdate license info0.5.1 (2011-01-04)bugfix: ZODBFileUploadWidget works now for zope.schema.IBytes upload as
expected0.5.0 (2009-05-12)Initial Release
Package: p01.geo
This package provides max mind geo location database lookup for Zope3.CHANGES1.1.0 (2019-01-11)updated maxminddb city database to version 201901081.0.1 (2015-11-12)bugfix: fix timezone lookup without previous getData call1.0.0 (2015-10-02)feature: switch to new geoip2 database using maxminddb as api. Some of the
attributes in GeoData are are gone because the geoip2 database doesn’t
support them anymore. Review the GeoData object and compare the available
data with your application before update to this version.feature: added a thread local called MaxItemCache cache offering a maxitems
option.feature: provide a cache option which allows to use a custom cache object
providing the IGeoCacheremoved the timezone csv file since the new geoip2 database includes timezone
data. Note, we still provide the getTimeZone method.0.6.0 (2013-11-23)update to newest databasebugfix: catch pygeoip errors on windows for unknown IP addresses0.5.0 (2012-11-18)initial Release
Package: p01.json
This package provides a json-rpc proxy using the fastest available json method
and application/json-rpc as Content-Type.Changes0.7.1 (2021-12-04)support bearer token authentication0.7.0 (2016-09-19)feature: Support jsonReader and jsonWriter arguments for JSONRPCProxy setup.
This allows to use custom json encoder and decoder and provide custom
object convertion e.g. datetime etc. The p01.publisher version 0.7.0 also
provides hooks in the request and response classed for convert custom json
data with custom encoder and decoder. See getJSONData and getJSONString in
p01.publisher for more information.feature: simplify json reader and writer implementation. Removed ujson
dependency for testingremoved z3c.json dependency. Provide the same exceptions as z3c.json provides
in p01.json.exceptions.0.6.0 (2016-04-16)feature: improved transport setup if not explicit given.feature: implemented ujson supportfeature: implemented json reader and json writer method pointer for custom
json lib usageadjust tests, test new json reader and writer implementation, remove minjson
test setup0.5.0 (2015-03-17)initial release
Package: p01.kibana
Gevent based kibana udp client and forward server. This implementation provides
a client and (proxy) server for send log messages from a python application to
an elasticsearch server. The log message format provides the elasticsearch
logstash message (v1) format which is used in kibana 4. This client/server
implemenation allows you to send log messages from your python application to elasticsearch without to use a logstash server. The server will receive log
message from the client and forward them to one or more elasticsearch servers. This is more or less the same as the new logstash-forwarder implementation
supports. The implementation offers an entry_point called proxy.CHANGES0.9.3 (2019-01-12)switch geo ip format to newest logstash mapping template format. Use
geo_point for geoip.location. Support the format
{‘geopip’: {location: {lat:’xxx’, ‘lon’: ‘xxx’}}}0.9.2 (2019-01-12)bugfix: use False for verify certs as default. This is insecure and you need
to enable cthe ertificate check explicit.0.9.1 (2019-01-11)bugfix: adjust setup options, ensure integer for timeouts etc.0.9.0 (2018-02-10)changed: start script option from –timeout to –elasticsearch-timeout because
it’s an elasticserach connection option.changed: –maxminddb argument from True to maxminddb file path.feature: Added certificate and ssl support for elasticserach client setup.0.8.1 (2017-01-11)bugfix: use float for timeout instead of integer. It seems required by http3
connection0.8.0 (2015-08-29)implemented stdout, stderr stream logging handler usable with circus. Use
loglevel option for enable logging. The elasticsearch.trace logging handler
is also supported if you use the trace option.added more commentsimproved tests0.7.0 (2015-04-19)feature: switch elasticsearch backend from udp to http protocol. Since the
udp bulk api is deprecated switch sending received log messages via http
to elasticsearch using the elasticsearch python client library.feature: allow to define more then one elasticsearch server as backend in
elasticsearch option.0.6.0 (2015-04-18)feature: changed kibana entry_point to forwarder. This allows us to setup
the new kibana 4 server as bin/kibana and the forwarder server as
bin/forwarder.0.5.0 (2014-03-24)initial release
Package: p01.locales
This package provides the translation for the p01 packages.CHANGES0.5.8 (2016-08-25)bugfix: remove n from Effacer (Remove fr) translation0.5.7 (2015-07-02)new translations0.5.6 (2013-06-20)new translationsremoved locales for p01 packages with own locales e.g. p01.vocabulary.counter
and p01.vocabulary.languageswitch to p01.recipe.setup i18n recipe since the z3c.recipe is broken0.5.5 (2012-12-03)test release process0.5.4 (2012-12-03)test release process0.5.3 (2012-11-30)test release process0.5.2 (2012-11-30)test release process0.5.1 (2012-11-23)test release process0.5.0 (2012-11-19)initial release
Package: p01.memcache
This package provides a client to a memcache deamon server for Zope3.Changes0.7.3 (2015-03-17)bugfix: add missing disconnect method in FakeMemcached0.7.2 (2014-03-24)feature: improve umemcache implementation details. Make it work with gevent
where we have multiple greenlets using the client.don’t raise exception if max pool size get reached in umemcache
implementation. This makes it usable with gevent where we have more
greenlets then threads. Get the connection with a blocking call from queue
until the next connection returns to the pool.improve robin round handling for multiple servers based on generator
and itertools cycle (lock for thread safe, but still fast)improve server blacklist handling0.7.1 (2013-11-23)bugfix: add missing is_connected method in FakeUltraMemcached0.7.0 (2013-07-18)bring back the old plain python memcached client implementation in client.py
and move all ultra memcached client components to uclient.py. The plain
python memcached client concept does not work well with pooling.0.6.0 (2013-07-03)feature: implemented memcache client connection poolfeature: implemented ultramemcache support with uclient.UltraMemcacheClient.
You must now define python-memcached or umemcache as egg dependency in your
project since we don’t know which one you need.feature: move subscriber to it’s own configure zcml and include by default
for BBB0.5.0 (2012-12-09)initial release
Package: p01.neo4jstub
This package provides a neo4j server stub setup based on a real neo4j server.ContentsREADMEsetupwindowstestingCHANGESREADMEsetupThis test is using a neo4j server. The test setUp method used for this
test is calling our startNeo4jServer method which is starting a neo4j
server. The first time this test get called a new neo4j server will get
downloaded. The test setup looks like:def test_suite():
    return unittest.TestSuite((
        doctest.DocFileSuite('README.txt',
            setUp=testing.doctestSetUp, tearDown=testing.doctestTearDown,
            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
            encoding='utf-8'),
        ))Your setup with a custom conf folder could look like:def mySetUp(test):
    # setup neo4j server
    here = os.path.dirname(__file__)
    sandbox = os.path.join(here, 'sandbox')
    confSource = os.path.join(here, 'conf')
    startNeo4jServer(sandbox, confSource=confSource)


def myTearDown(test):
    # tear down neo4j server
    here = os.path.dirname(__file__)
    sandbox = os.path.join(here, 'sandbox')
    stopNeo4jServer(sandbox)
    # do some custom teardown stuff hereAlso see our test.py for a sample setup.windowsOn windows a service with the name p01_neo4jstub_testing get installed and
removed during the test run. This is not nice but that’s how neo4j can get
stopped after starting. If soemthing fails and the service dosn’t get removed,
you can simply use the follwoingcommand for remove the service:sc delete p01_neo4jstub_testingtestingLet’s setup a python httplib connection:>>> import httplib
>>> conn = httplib.HTTPConnection('localhost', 47474)and test the cluster state:>>> conn.request('GET', '/db/data')
>>> response = conn.getresponse()
>>> response.status
302CHANGES0.5.0 (28-06-2013)initial release
Package: p01.pagelet
This package provides a base layers for Browser and JSON-RPC requests
used for Zope3 based applications which doesn’t include IBrowserRequest or
IJSONRPCRequest. The package also provides all required pagelet pages for
error handling etc.CHANGES1.0.0 (2018-10-4)feature: implemented custom traverser not hidding errors in views as
LookupErrors.feature: new layout mixin helper class offering html and body element id and
css class mixins in page and forms.0.5.0 (2012-11-18)initial release
Package: p01.publisher
This package provides a WSGI publisher concept using zope components including
transactions, application error handling, traverser, pages views and offers
jsonrpc without a ZODB. The package offers a wsgi application which kicks in
the known zope publication concept. The publication concept can get used with
gevent or similar async frameworks. It’s up to you how you store persistent
items. Probably the container, item and traversal pattern in m01.mongo is a
good choice for this.Changes0.9.1 (2021-12-04)bugfix: allow to use Basic Authentication header credentias in JSONRPC proxy.feature: Suport username and password in getJSONRPCTestProxy used for setup
Authentication Basic header.feature: Support Bearer token in getJSONRPCTestProxy used for Authentication
Bearer header.0.9.0 (2017-09-18)feature: implemented ZODB support. Now it’s possible to use p01.publisher
and use a ZODB not only a WSGI application.renamed p01.publisher.traversers to p01.publisher.traverserenable threadSiteSubscriber and clearThreadSiteSubscriber event subscriber
handler0.8.0 (2017-01-24)bugfix: transaction >= 2.0.3 uses unicode for transaction note. See comment
in transaction CHANGES.txt. The user and description fields must now be set
with text (unicode) data. Previously, if bytes were provided, they’d be
decoded as ASCII. It was decided that this would lead to bugs that were hard
to test for.0.7.0 (2016-09-19)feature: re-implemented json reader and writer concept. Use reader and writer
from p01.json.apibugfix: support PATH_INFO in JSONRPCTestTransport used by the test method
getJSONRPCTestProxy. This ensures that we traverse to the related context
for calling the json-rpc method.feature: use JSONRPCProxy from p01.json as json-rpc test proxysort response header before return, except Status and X-Powered-By0.6.0 (2015-03-17)feature: added application/json support. The new request json method returns
the json formated data given from a request with content type applicaton/json.
The raw content is stored in the request raw property if such json content
is given.added OPTIONS to allwed request methods. This allows to handle cross origin
request given from android phones during development. Note, you ned to
register a view for handle such requests. We just added the OPTIONS as a
general allowed request method.feature: use new testbrowser concept based on zope.testbrowser >= 5.0.0.
This new testbrowser concept uses a wsgi application and is based on webtest.
Currently we use p01.testbrowser which is a clone of zope.testbrowser because
there is no zope.testbrowser release yet.feature: implemented simple JSONRPCTestProxy based on wsgi app. This new
test json rpc proxy uses the wsgi application publisher for process a
request.backport zope.publisher publication factory lookup. Improve the publication
factory lookup by falling back to a more generic registration if the specific
factory chooses not to handle the request after all0.5.0 (2014-03-24)initial release
Package: p01.remote
This package provides a remote processing queue for Zope3.CHANGES0.5.5 (2017-04-11)bugfix: don’t add not active marked scheduler items to pending list and
don’t return not active items as next scheduled itemsbugfix: switch IPossibleSite import from zope.location to zope.component
(was moved)removed zope.app.testing dependency, copy some testing code setup to
p01.remote.testing0.5.4 (2012-04-06)Added the columnsstartedandcompletedto the processor page0.5.3 (2011-02-08)added maintenance jobs: RemoveCompletedJobsJob and PackZODBJobVersion 0.5.2 (2010-01-27)removed pullNextJob from scheduler (this was a left over and never used)Version 0.5.1 (2009-05-16)improve pagesVersion 0.5.0 (2009-05-11)Initial Release
Package: p01.tester
This package provides a functional test setup based on a WSGI server which is
able to start your WSGI application. And offers a headless WebKit browser
which is able to process JavaScript and all the fancy Ajax calls. This package
can get used for all kind of python WSGI applications and not only for zope
applications. The WebKit browser depends PySide and lxml but (should) get
transparently installed with this package.
Package: p01.tmp
This package provides a browser request and publication for Zope3. File uploads
get directly stored in a persistent temporary file. This file can be used in
file storages with zero-copy processing. The temporary file is controlled by
a special transaction data manager which also takes care of removing the
temporary file if the transaction get aborted or commited.CHANGESVersion 0.6.0 (2011-01-04)rename tmpStorage product config key to storagemoved p01.tmp.default.getTMPStoragePath to p01.tmp.storage.getTMPStoragePath
which allows to skip the default.py module at allVersion 0.5.0 (2009-05-11)Initial Release
Package: p1
Python PropellerHAT Code UploaderCode uploader and Python bindings for the Propeller P8X32A Multi-core Microprocessor.Uploader works as a standalone tool, run with:sudo python -m p1.loaderCreditsThanks to Remy Black for the original code, released on the Parallax
forums in 2007. I have taken pains to credit him appropriately.ohttp://forums.parallax.com/showthread.php/90707-Propeller-development-for-non-Windows-usersAlthough I have changed the code quite significantly to fix performance
issues on the Raspberry Pi, and address GPIO reset, much of his work
remains in-tact and this code should be portable.Thanks also to Jeff Martin who helped me understand the loader protocol
and whose improvements to the upload process I hope to implement soon.
1.0.1
—–Ready for Propeller HAT launch.
Package: p13r0n-rmillionaires
Contains functions necessary to run Rock MillionairesFifty FiftyPhone a FriendAsk AudienceInstallationFor Windows:pipinstallp13r0n_rmillionairesFor Mac OSX:pip3installp13r0n_rmillionairesUsageYou can use this package playingGithub-RockMillionairesfromp13r0n_rmillionaires.lifelinesimportlifeline_choice,fiftyfifty,phone_a_friend,ask_audience
Package: p1-bank
A Django application that provides Indonesian bank choices for use with forms
and a country field for models.InstallationBank ModelBank FieldBank FactoriesInstallationRunpip installp1-bankAdd'bank'toINSTALLED_APPSin settings.pyRunpython manage.py migrateto create banks modelsBank ModelA model of bank that holds all banks in Indonesia.Supports long name, short name, bank code, and branch code.>>>fromdjango.appsimportapps>>>Bank=apps.get_model('bank','Bank')>>>bank=Bank.objects.get(short_name='BANK BCA')>>>bank.long_nameu'PT. BANK CENTRAL ASIA TBK.'>>>bank.short_nameu'BANK BCA'>>>bank.bank_codeu'014'>>>bank.branch_codeu'0397'>>>bank.bi_codeu'0140397'It is possible to get a bank object from bi code:>>>Bank.objects.get_by_bi_code('0140397')<Bank:BANKBCA>or upsert (update or create) from list with header:>>>Bank.objects.get(bank_code='200')<Bank:BANKBTN>>>>bank_list=[['bank_code','short_name'],['200','BTN']]>>>Bank.objects.upsert_from_list_with_header(bank_list)>>>Bank.objects.get(bank_code='200')<Bank:BTN>Bank FieldBankFieldis based on Django’sForeignKey, a relationship
to Bank model.Consider anAccountmodel using aBankField:fromdjango.dbimportmodelsfromp1_bank.fieldsimportBankFieldclassAccount(models.Model):name=models.CharField(max_length=100)bank=BankField(related_name='accounts')AnyAccountinstance will have abankattribute that you can use to
identify account’s bank:>>>bank=Bank.objects.get(short_name='BANK BCA')>>>account=Account.objects.create(name='Kania',bank=bank)>>>account.bank'BANK BCA'>>>account.bank.code'014'Bank FactoriesYou may use bank factories to support your test (requiresfactory_boy)>>>frombank.factoriesimportBankFactory>>>BankFactory()<Bank:BankX00>>>>BankFactory()<Bank:BankX01>>>>bank301=BankFactory(bank_code='301')>>>bank301.bank_code'301'