Saravanan666/pypi-org huggingface dataset:
Package: anybox.paster.odoo
Collection of paster templates that can be used to quickly create an Odoo instance or moduleContentsInstall the templatesUsageCreating an Odoo instanceCreating an Odoo moduleAuthors and contributorsChanges1.5 (2016-08-16)1.4.1 (2015-07-16)1.3 (2014-11-03)1.2 (2014-11-02)1.1 (2014-11-02)1.0 (2014-11-01)0.6 (2014-11-01)0.5 (2014-04-25)0.4 (2014-01-06)0.3 (2013-07-28)0.2 (2013-06-12)Install the templatesYou can either use:pip install anybox.paster.odooor the same in a virtualenv:virtualenv sandbox
source ./sandbox/bin/activate
pip install anybox.paster.odooor manually download the archive below, uncompress, and:python setup.py installUsageThis package depends onPasteScript, which will be
installed as a dependency and which offers a pluggable command
calledpaster.  For more information on PasteScript, consult its
documentation.You can list all the available templates with:paster create --list-templatesCreating an Odoo instanceThis template will create an empty Odoo instance with an optional local
module for client customizations. The Odoo version can be pulled from
the bazaar branches of from the latest nightly build.Run thepastercommand like this:paster create -t odoo_instanceThen answer the questions, and run the commands given at the end.You can then modify the buildout configuration file as needed. For this part,
please consult the documentation ofanybox.recipe.odooCreating an Odoo moduleOnce you have a running instance, you can create new modules in theaddonsdirectory.
Run thepastercommand like this:paster create -t odoo_moduleAuthors and contributorsJean-Sebastien SuzanneChristophe CombellesGeorges RacinetWe are open to all contributions.
The source code and bug tracker are hosted on Bitbucket:https://bitbucket.org/anybox/anybox.paster.odoo/Changes1.5 (2016-08-16)no more fabiles here by defaultadded advanced_attachments by defaultadded GeoIP as a dependencyno more bootstrap.py (runbuildout bootstrapinstead)nose script in dev buildout1.4.1 (2015-07-16)renamed addons to addons_specificcleanup and pep8updated the boostrapdepth=1 by on the odoo git cloneuse the new recipeuse the Anybox OCB branchadded an anybox fabfile bootstrapuse the requirements.txt of odoo1.3 (2014-11-03)fixed default value for ‘web’ in modules1.2 (2014-11-02)fixed default buildout for pychart1.1 (2014-11-02)fixed packaging1.0 (2014-11-01)move to 1.0 to avoid confusion with v7 branch0.6 (2014-11-01)renamed anybox.paster.openerp to anybox.paster.odooadapted for Odoo 8updated the bootstrap0.5 (2014-04-25)fixed iconsremoved hardcoded values0.4 (2014-01-06)latest bootstrapupdate lxml0.3 (2013-07-28)put back the pychart importpin werkzeug by defaultfixed default icon0.2 (2013-06-12)Initial implementation for the template openerp_moduleInitial implementation for the template openerp_instance
Package: anybox.paster.openerp
Warning: This package is only maintained for OpenERP 7. It has been renamed toanybox.paster.odoofor Odoo 8.Collection of paster templates that can be used to quickly create an OpenERP module or
instance.ContentsInstall the templatesUsageCreating an OpenERP instanceCreating an OpenERP moduleAuthors and contributorsChanges0.7 (2014-11-02)0.6 (2014-11-01)0.5 (2014-04-25)0.4 (2014-01-06)0.3 (2013-07-28)0.2 (2013-06-12)Install the templatesYou can either use:pip install anybox.paster.openerpor the same in a virtualenv:virtualenv sandbox
source ./sandbox/bin/activate
pip install anybox.paster.openerpor manually download the archive below, uncompress, and:python setup.py installUsageThis package depends onPasteScript, which will be
installed as a dependency and which offers a pluggable command
calledpaster.  For more information on PasteScript, consult its
documentation.You can list all the available templates with:paster create --list-templatesCreating an OpenERP instanceThis template will create an empty OpenERP instance with an optional local
module for client customizations. The OpenERP version can be pulled from
the bazaar branches of from the latest nightly build.Run thepastercommand like this:paster create -t openerp_instanceThen answer the questions, and run the commands given at the end.You can then modify the buildout configuration file as needed. For this part,
please consult the documentation ofanybox.recipe.openerpCreating an OpenERP moduleOnce you have a running instance, you can create new modules in theaddonsdirectory.
Run thepastercommand like this:paster create -t openerp_moduleAuthors and contributorsJean-Sebastien SuzanneChristophe CombellesGeorges RacinetWe are open to all contributions.
The source code and bug tracker are hosted on Bitbucket:https://bitbucket.org/anybox/anybox.paster.odoo/Changes0.7 (2014-11-02)fixed packaging0.6 (2014-11-01)updated the bootstrap0.5 (2014-04-25)fixed iconsremoved hardcoded values0.4 (2014-01-06)latest bootstrapupdate lxml0.3 (2013-07-28)put back the pychart importpin werkzeug by defaultfixed default icon0.2 (2013-06-12)Initial implementation for the template openerp_moduleInitial implementation for the template openerp_instance
Package: anybox.recipe.sysdeps
ContentsRecipe options:Example buildout:ContributeChanges0.5 (12-01-2014)0.4 (01-07-2012)0.3 (19-12-2011)0.2 (15-10-2011)0.1 (06-08-2011)This is a simple and stupid buildout recipe to check system requirements.
It is primarily intended to check dependencies on Linux and MacOsX but any help to make
it work on Windows will be integrated.Recipe options:deps: list all the required system package names and the corresponding command
line to check the requirement.Example buildout:[buildout]
parts = sysdeps

[sysdeps]
recipe = anybox.recipe.sysdeps
deps = PostgreSQL: which pg_dump
       Redis:      which redis-server
       php5-mysql: dpkg -l php5-mysqlIf redis-server is not available, you will get an error while running the
buildout, telling you to install Redis.
You can use any command line to check whether the package is installed or not.ContributeThe primary branch is here:Code repository:https://bitbucket.org/anybox/anybox.recipe.sysdeps/Changes0.5 (12-01-2014)small relative import fixworks on python 30.4 (01-07-2012)Dependency checking is now just a command line to run0.3 (19-12-2011)Moved to mercurial(bug) return an iterable instead of None0.2 (15-10-2011)Fixed install recipe and forgotten file0.1 (06-08-2011)Initial naive implementation using ‘which’
Package: anycache
LinksDocumentationPyPIGitHubChangelogIssuesContributorsTo cache the result of a function, use the global unlimited anycache:>>> from anycache import anycache
>>> @anycache()
... def myfunc(posarg, kwarg=3):
...     print("  Calcing %r + %r = %r" % (posarg, kwarg, posarg + kwarg))
...     return posarg + kwarg
>>> myfunc(8, 5)
  Calcing 8 + 5 = 13
13
>>> myfunc(8, 5)
13anycachecaches nearly any python object. Alsolambdastatements.
It usesDillas backend. An improved version of pythons build-inpickle.To preserve the result between multiple python runs, a persistent cache
directory needs to be set.>>> from anycache import anycache
>>> @anycache(cachedir='/tmp/anycache.my')
... def myfunc(posarg, kwarg=3):
...     return posarg + kwargTheAnyCacheobject serves additional functions for cache clearing and
size handling.InstallationTo install theanycachemodule run:pip install anycacheIf you do not have write-permissions to the python installation, try:pip install anycache --user
Package: anycluster
anycluster (POSTGIS version)https://anycluster.organycluster provides Server-Side clustering of map markers for Geodjango. It is suitable for large amounts of markers.
Depending on your server and personal feeling, it works very well with 200.000 to 500.000 markers.The postgis version is recommended. There is a mysql version with limited functionality:https://github.com/biodiv/anycluster-mysqlDocumentationhttp://anycluster.readthedocs.org/en/latest/ChangeLog[22.04.2023] anycluster 2.0 (breaking changes, see docs), npm, Django 4.x, updated docs[09.09.2019] support for Django 2.x and above (python 3), added leaflet support[08.10.2015] major code improvementsyou now need to add {% csrf_token % } somewhere in your templateFeaturesThis application offers 2 methods of clustering:grid-based clusteringclustering based on geometric density of the points (needs PSQL extension)cluster contents of any geographic area defined as Polygon/Multipolygonget all elements contained in a cluster... and has a builtin caching mechanism: if the user pans a map, only the new areas are processed.And lots of optional customization possibilities:works with OpenLayers, google maps and Leafletdefine what happens if you click on a clusteruse your own cluster graphicsdefine gridsize and other cluster parametersapply filters to your clustersuse specialized markers/pins if count is 1Performance Tipsindex your GIS database columns correctlyusage of a SSD can be 10-20 times faster compared to HDD
Package: anycmd-jupyter-magic
AnyCmdDo the provided cell magics not quite fit your needs? AnyCmd is a versatile Jupyter cell magic that allows you to run a cell with any command line utility. Simply specify the command you want to run as arguments after the magic. Access the contents of the cell as a file using the literal string "%FILE" or "%FILE.someExtension"By default, the command specified after the magic will be run from a temporary working directory. However, you may use -d/--dir  to chdir into a custom directory before running the cell command. Use "-d ." to run it in the current working directory.Use -i/--inplace if you would like to write the cell contents temp files in the specified working directory, rather than the temporary directory (has no effect without --dir). This may help with compilers that reference libraries in the same directory, for instance.Use "-p/--print" to print command output live, instead of outputting to the cell. This may improve readability, and make it easier to debug long-running commands.-l/--lines adds a newline character before the cell contents in the temporary file to offset the first line taken up by the cell magic. This may help prevent interpreter error messages that reference a line number one line before the actual error when jupyter line numbers are enabled.You may install this package via PyPi:!pip install anycmd-jupyter-magic
%load_ext anycmdExample (compiling and running c++):%%any -p -l -- clang++ -O3 %FILE.cpp -o file && ./file

#include <iostream>  
using namespace std;  
int main(int argc, const char** argv) {  
  cout << "Hello World\n";  
}Result:Hello World
Package: anyconfig-bson-backend
This is a parser backend module for python-anyconfig to load and dump BSON
files using pymongo.NOTE: bson from pymongo package may work with this package but bson
(https://pypi.python.org/pypi/bson/) does not.SEE ALSO:python-anyconfig:https://github.com/ssato/python-anyconfigpymongo:https://pypi.org/project/pymongo/BSON spec:http://bsonspec.org
Package: anyconfig-fit-backend
This is a backend module for python-anyconfig to support to load and parse
FIT (Flexible and Interoperable Data Transfer) data files.Author: Satoru SATOHLicense: MITSEE ALSO:python-anyconfig:https://pypi.python.org/pypi/anyconfigFlexible and Interoperable Data Transfer (FIT) Protocol:https://developer.garmin.com/fit/protocol/RequirementsIt utilizes a great library fitdecode[1]to load and parse FIT data files.[1]https://github.com/polyvertex/fitdecodeBuild & InstallFrom PyPI: anyconfig-fit-backend (package name)[2]Pre-built RPMs are available from my copr repo, ssato/python-anyconfig[3]If you’re Fedora or Red Hat Enterprise Linux user, try:$ python setup.py srpm && mock dist/<package>-<ver_dist>.src.rpmor:$ python setup.py rpmand install built RPMs.Otherwise, try usual ways to build and/or install python modules such like
‘python setup.py bdist’, etc.[2]https://pypi.org/project/anyconfig-fit-backend/[3]https://copr.fedorainfracloud.org/coprs/ssato/python-anyconfig/packages/
Package: anyconfig-fortios-backend
This is a backend module for python-anyconfig to support to load and parse
fortios’ “show *configuration” outputs.Author: Satoru SATOH <satoru.satoh@gmail.com>License: MITSEE ALSO:python-anyconfig:https://pypi.python.org/pypi/anyconfigFortinet:https://www.fortinet.com/Build & InstallIf you’re Fedora or Red Hat Enterprise Linux user, try:$ python setup.py srpm && mock dist/<package>-<ver_dist>.src.rpmor:$ python setup.py rpmand install built RPMs.Otherwise, try usual ways to build and/or install python modules such like
‘python setup.py bdist’, etc.
Package: anyconfig-json5-backend
This is a backend module for python-anyconfig to support to load and dump
json5’ data files.Author: Satoru SATOH <satoru.satoh@gmail.com>License: MITSEE ALSO:python-anyconfig:https://pypi.python.org/pypi/anyconfigJSON5:https://json5.orgBuild packagesTry:$ tox -e dists
Package: anyconfig-msgpack-backend
This is a backend module for python-anyconfig to support to load and dump
MessagePack data files.Author: Satoru SATOH <ssato@redhat.com>License: MITSEE ALSO:python-anyconfig:https://pypi.python.org/pypi/anyconfigMessagePack:http://msgpack.orgDownload:PyPI:https://pypi.python.org/pypi/anyconfig-msgpack-backendCopr RPM repos:https://copr.fedoraproject.org/coprs/ssato/python-anyconfig/Build & InstallIf you’re Fedora or Red Hat Enterprise Linux user, try:$ python setup.py srpm && mock dist/<package>-<ver_dist>.src.rpmor:$ python setup.py rpmand install built RPMs.Otherwise, try usual ways to build and/or install python modules such like
‘python setup.py bdist’, etc.
Package: anycrypt
anycrypt is an information encryption and decryption utility.This project is at a very early stage of development and the
source code is only released for functionality evaluation purposes.Please note that this project is currently proprietary work.
Distributing the source code or building upon it are currently
disallowed.Contributions are currently not accepted.The release of the source code under a Free license will be
considered at a later point in the development roadmap.The distribution points of the source code are:https://codetrax.org/projects/anycrypt/fileshttps://source.codetrax.org/gnotaras/anycrypthttps://pypi.org/project/anycrypt
Package: anyd
AnydAnyd is a small framework that will help you build and useanycustom Unixdaemonprocess as a server. It will suite your daemon with API accessible over sockets, so you'll be able to query it for runnig your code or transmit the data. Anyd provides you a client out-of-the-box, so you can start working with your daemon instantly.How-toAnyd provides you an app to start with:fromanydimportAppdDefine the address for your daemon, for example:address=("localhost",3000)The daemon process will use it to accept connections. Next, create a daemon app:appd=Appd(address)Or you can set it up with authentication for client:appd=Appd(address,authkey=b"swordfish")Now, define your API endpoints, using@appd.api:@appd.apidefecho(arg:str)->str:returnargAdditionally, you can use built-in logger to log something specific:fromanydimportlogging@appd.apidefecho(arg:str)->str:logging.info(f"echoing:{arg}")returnargThis function is now exposed to the client as an API endpoint, and can be executed on request.You are ready to start the deamon:appd.start()That will block the interpreter and you'll see the logging output of your daemon in the terminal:[INFO] Listening on 127.0.0.1:3000Let's test it from another shell!Start from importingClientSession:fromanydimportClientSessionUse it with address and authkey you used for your daemon:address=('localhost',3000)withClientSession(address,authkey=b"swordfish")asclient:# you can pass keyword arguments to API requestresponse=client.commit("echo",arg="hello world!")# or the positional onesbob=client.commit("echo","hello Bob")# you can query different API endpoints per-sessiontry:# Will raise NotImplementedError:# we didn't defined 'my_func' endpoint on the daemon.# The daemon will continue working.client.commit("my_func","hello")exceptNotImplementedErrorasex:print(ex)# NotImplementedError: my_funcprint(response)# hello world!print(bob)# hello BobValidatorsOn the daemon app you may want to define sort of validation logic for some of your endpoints. In this case, you can return an exception as a response to the client. It will be pickled and raised on the client side, so your daemon will stay up and running. Consider simple example with previous endpoit:defvalidate_echo(arg:Any):ifnotisinstance(arg,str):returnTypeError(f"{arg},{type(arg)}")returnarg@appd.apidefecho(arg:str)->str:returnvalidate_echo(arg)The functionvalidate_echois not an API endpoint of our daemon, but still its accessible for the daemon to execute it locally.Now, let's try to query it with wrong data:withClientSession(address)asclient:try:client.commit("echo",1)# will raise TypeErrorexceptTypeErrorasex:print(ex)# 1, <class 'int'>FeaturesGet to your server's functionality implementation instantlyDon't bother with a low-level sockets programmingThe client for your server comes out of the box and is ready to useInstallationInstall it by running:pip install anydContributeIssue Tracker:github.com/anatolio-deb/anyd/issuesSource Code:github.com/anatolio-deb/anydLicenseThe project is licensed under the BSD license.
Package: anydb
Run any databasePlease ★ this repo if you found it useful ★ ★ ★FeaturesSupports MySQLSupports MariaDBSupports PostgresSupports MongoDBInstallationpip3installanydbDependenciesPython 3DockerUsageContributeusage docsSupportSubmit anissueScreenshotsContributea screenshotContributingReview theguidelines for
contributingLicenseMIT
LicenseJam Risser© 2018ChangelogReview thechangelogCreditsJam Risser- AuthorSupport on LiberapayA ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of
building this project.Add some fuelif you’d
like to keep me going!
Package: anydi
AnyDIModern, lightweight Dependency Injection library using type annotations.[!IMPORTANT]
Library renamed toanydifrompyxdistarting from version0.19.0.Documentationhttp://anydi.readthedocs.io/AnyDIis a modern, lightweight Dependency Injection library suitable for any synchronous or asynchronous applications with Python 3.8+, based on type annotations (PEP 484).The key features are:Type-safe: Resolves dependencies using type annotations.Async Support: Compatible with both synchronous and asynchronous providers and injections.Scoping: Supports singleton, transient, and request scopes.Easy to Use: Designed for simplicity and minimal boilerplate.Named Dependencies: Supports named dependencies usingAnnotatedtype.Resource Management: Manages resources using context managers.Modular: Facilitatesa modular design with support for multiple modules.Scanning: Automatically scans for injectable functions and classes.Integrations: Provides easy integration with popular frameworks and libraries.Testing: Simplifies testing by allowing provider overrides.InstallationpipinstallanydiQuick Exampleapp.pyfromanydiimportContainer,depcontainer=Container()@container.provider(scope="singleton")defmessage()->str:return"Hello, world!"@container.injectdefsay_hello(message:str=dep())->None:print(message)if__name__=="__main__":say_hello()FastAPI Exampleapp.pyfromfastapiimportFastAPIimportanydi.ext.fastapifromanydiimportContainerfromanydi.ext.fastapiimportInjectcontainer=Container()@container.provider(scope="singleton")defmessage()->str:return"Hello, World!"app=FastAPI()@app.get("/hello")defsay_hello(message:str=Inject())->dict[str,str]:return{"message":message}# Install the container into the FastAPI appanydi.ext.fastapi.install(app,container)
Package: anydoc
anydoc🔌 Turn your GitHub Markdown documentation into a Q&A bot for Slack (more integrations to come soon!)anydocis a Python package to easily generate a Q&A bot from your GitHub Markdown
documentation. It is built on top of🤗 HuggingFace Transformersfor the embedding generation,FAISS from Meta Researchfor the indexing
and search, and🦜⛓️ LangChain(what a surprise huh?) for the
question-answering generation using the vector store as context. Additionally, it usesSlack Bolt for Pythonfor the Slack integration, andGitHub FileSystemfor
pulling the Markdown files from GitHub.
Package: anyfield
Note, this module is inexperimentalstageThis module providesSFieldclass which is ised to avaoid lambdas
there where function of one argument is required to be applied to
multiple items Examples of such cases could be functions like: -
sorted - filter - map - etcAlso this module provides shortcuts (already built SField instances),
that could be starting point of SField expressions. They are: SF, F
Both are same.For exampleimportrequestsfromanyfieldimportF,SViewdata=requests.get('https://api.github.com/repos/vmg/redcarpet/issues?state=closed')data=data.json()view=SView(F['id'],F['state'],F['user']['login'],F['title'][:40],)forrowinview(data):print(row)Will result in:[121393880, u'closed', u'fusion809', u'Rendering of markdown in HTML tags']
[120824892, u'closed', u'nitoyon', u'Fix bufprintf for Windows MinGW-w64']
[118147051, u'closed', u'clemensg', u'Fix header anchor normalization']
[115033701, u'closed', u'mitchelltd', u'Unicode headers produce invalid anchors']
[113887752, u'closed', u'Stemby', u'Definition lists']
[113740700, u'closed', u'Stemby', u'Multiline tables']
[112952970, u'closed', u'im-kulikov', u"recipe for target 'redcarpet.so' failed"]
[112494169, u'closed', u'mstahl', u'Unable to compile native extensions in O']
[111961692, u'closed', u'reiz', u'Adding dependency badge to README']
[111582314, u'closed', u'jamesaduke', u'Pre tags on code are not added when you ']
[108204636, u'closed', u'shaneog', u'Push 3.3.3 to Rubygems']
Package: anyfig
# Anyfig[![image](https://img.shields.io/pypi/v/anyfig.svg)](https://pypi.org/project/anyfig/)
[![image](https://img.shields.io/pypi/pyversions/anyfig.svg)](https://pypi.org/project/anyfig/)
[![Travis](https://img.shields.io/travis/OlofHarrysson/anyfig/master.svg?logo=travis)](https://travis-ci.org/c4urself/anyfig)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/OlofHarrysson/anyfig/master)Anyfig is a Python library for creating configurations (settings) at runtime. Anyfig utilizes Python classes which empowers the developer to put anything, from strings to custom objects in the config. Hence the name Any(con)fig.Please read more at our website [https://anyfig.now.sh/](https://anyfig.now.sh/)Free software: MIT license
Package: anyfile
anyfileWork in progress, not ready for general use.Load (almost) any structured file, then parse its data with pydanticWill supports:JSONCSVYAMLTOMLJSON linesconfig / inimsgpackExcelpickleziptar gzPerhaps one day:HTMLHDF5parquetSQLData can be loaded from the local filesystem, URLs or memory (bytes, string, io).
Package: anyflow
anyflowa simplest common middleware framework for python.HOW-TO-USEfromanyflowimportFlowflow=Flow()@flow.use()defmiddleware_1(ctx,next):ctx.state['value']=1# call the next middleware (middleware_2):returnnext()@flow.use()defmiddleware_2(ctx,next):print(ctx.state['value'])# next middleware does not exists, call nothing:returnnext()flow.run()