Saravanan666/pypi-org huggingface dataset:
Package: jruntime
jruntimeis a modern Python extension that interacts with the J language.  It provides deep integration between Python and J in the following ways:Takes over J engine I/O with Python I/OMaps between J arrays and NumPy ndarrays, J boxes and Python tuplesBinds J nouns to lexical scopes using PythonwithstatementsHandles J errors using Python exceptionsEmits the complete API document inhelp(jruntime)Getting StartedInstall jruntime and NumPy from PyPI:pipinstalljruntimenumpyNow you can run J code and read data in NumPy arrays:>>>importjruntime>>>j=jruntime.Session()>>>j.runsource('v =: 3 4 $ i.12')>>>j['v']array([[0,1,2,3],[4,5,6,7],[8,9,10,11]],dtype=int64)Or put Python data in J and run code that uses it:>>>withj.let(title='Price',v=[.99,1.48,0.26]):...j.runsource('title;+/ v')+-----+----+|Price|2.73|+-----+----+
Package: jrwhypy
Python packagesThese packages were created using the poetry python package.https://github.com/sdispater/poetryTo rebuild this package, clone the repo and install poetry.The following commands at the project root will then be usefulpoetry install- grab and install all the dependencies necessary for building the package.poetry build- build the wheels and tar for the packagepoetry publish- publish the package to pypiIf you want to build your own package from scratch, the README for poetry is a good source.UsageTo use the package during a session:import jrwhypyData setsThe package has a data module for loading any data required.e.gjrwhypy.data.load("bond")
Package: jsa-auth-middleware
JSA Auth Middleware is a python package built
for integrating with JetStream across multiple
micro-services, with the aim of handling
authentication and Single-Sign-On while ensuring API security.Quick startConfigureAUTH_BASE_URLin projectsettingspointing to the Authentication serverwithout trailing slashAddjsa_auth_middleware.JSAMiddlewareto yourMIDDLEWAREconfiguration insettings.pyto validate authentication of all incoming requests. Maintain the order and hierarchy of middlewares, with Django middlewares above JSAMiddleware.MIDDLEWARE = [
    ...
    'jsa_auth_middleware.JSAMiddleware',
]Setup JSAMiddleware configuration insettings.py:JSA_AUTH_MIDDLEWARE_CONFIG = {
    'IGNORE_URLS': (
        '<<URL_TO_IGNORE>>',
    ),
    'IGNORE_STARTSWITH_URLS': (
        '<<URL_TO_IGNORE>>',
    ),
    'AUTH_BASE_URL': '', # optional if variable isn't in `settings.py`
}To interact with the API:from jsa_auth_middleware import JSAMiddleware

jsa_auth = JSAMiddleware()

# To get key
# Pass baseb4 encoded string of '<username>:<password>'
status_code, response_data = jsa_auth.get_key(token)

# Sample response data
"""
data = {
    "token": "*****"
}
status_code = 200

returns status_code, data
"""


# To authenticate
# Pass token key gotten from the get_key method

status_code, response_data = jsa_auth.get_auth_token(token)

# Sample response data
"""
data = {
    "token": "*****"
}
status_code = 200

returns status_code, data
"""Import Query Response across application to define and process API response:from jsa_auth_middleware.query_response import Response


resp = Response()
resp.failed() # on failure, using default failure status_code
resp.message = '<<Some response message>>'
resp.add_params('<<data_key>>', <<data_value>>)


resp = Response()
resp.passed() # on success, using default success status_code
resp.message = '<<Some response message>>'
resp.add_params('<<data_key>>', <<data_value>>)


# Setting response status code
resp.status_code = <<CustomStatusCode>>NOTETheIGNORE_STARTSWITH_URLSinJSA_AUTH_MIDDLEWARE_CONFIGhas the following default pre-defined endpoints patterns to be ignored:(
    "/admin/",
    "/swagger/",
    "/redoc/",
)
Package: js.ace
js.aceIntroductionThis library packagesAjax.org Cloud9 Editorforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.ace) are published to some URL.Bitbucket repository :https://bitbucket.org/fanstatic/js.aceHow to use?You can importacefromjs.aceandneedit where you want
these resources to be included on a page:>>> from js.ace import ace
>>> ace.need()CHANGES1.4.11 (2020-05-31)Update to ace v1.4.10All resources from ace-build subdir “src-min-noconflict” are copied into
this packge, but only top-level resources are defined as Resource objects.
Load the extra mode/keybindings/themes/workers in javascript using
ace.require().1.0.0 (2012-10-15)Update to ACE v1.0.0.1.6 (10-07-2011)Initial release.
Package: js.adminlte
js.adminlte***********Introduction============This library packages `AdminLTE`_ for `fanstatic`_... _`fanstatic`: http://fanstatic.org.. _`AdminLTE`: https://adminlte.ioThis requires integration between your web framework and ``fanstatic``,and making sure that the original resources (shipped in the ``resources``directory in ``js.adminlte``) are published to some URL.How to use?===========This should be setup before rendering a page. See `fanstatic`_ for moreinformation::>>> from fanstatic import init_needed>>> needed = init_needed(base_url='http://localhost')You can import ``adminlte`` from ``js.adminlte`` and ``need`` it where you wantthese resources to be included on a page::>>> from js.adminlte import adminlte_js>>> adminlte_js.need()Included plugins are ``datepicker_js``, ``timepicker_js``, ``datetimepicker_js``, ``bootstrap_wysihtml5_js``,``icheck_js``, ``pace_js``, ``slimscroll_js``.The plugins can be imported from ``js.adminlte``CHANGES*******2.4.9===============================Added datetimepicker2.4.8===============================Bug fixes2.4.7===============================Bug fixes2.4.6===============================Added plugins2.4.5===============================- Initial release.
Package: jsail
A tail for JSON logs.Free software: BSD licenseDocumentation:https://jsail.readthedocs.org.FeaturesTODOHistory0.5.1 (2017-11-17)Argument--fieldswas added. You can use it to specify which fields
should be printed to stdout. By default, all fields are printed.Fixed error with parsing entries where fields containstimekey
with non string value.0.5.0 (2017-11-14)Now jsail searches fields dict not only in key@fields, but also
infields.Fixed precendence of fields searched for item’s timestamp. Previously,
item found in@timestampcan be overwritten by value fromtime. Now these fields are searched in this order and first found
value is used:@timestamptimestamptime(@fields |fields).timestamp(@fields |fields).time0.4.0 (2017-05-18)Unbuffered stdin usage was fixed and now program
exists correctly if it encounter EOF.0.3.0 (2016-10-03)Now jsail recognizes as timestamp keystimestamp,time,@fields.timestamp,@fields.time.
And similarly, for message these keys are checked:message,msg,@fields.message,@fields.msg.Now jsail quietly skips lines which can’t be parsed
as single JSON document.0.2.1 (2016-03-13)Fixed issue with STDIN bufering. Previously,
input given from STDIN was buffered and sometimesjsaildidn’t show content until buffer fills up.
Now this behaviour is fixed.0.2.0 (2015-07-06)‘anyjson’ was added into the requrements list.Now jsail will process STDIN if filename wasn’t given as a command line argument. This makes possible to use it in unix pipelines.0.1.0 (2015-04-16)First release on PyPI.
Package: jsalve
JSON API toolkit for Python applicationsRequirementsPython 3. Python 2 isnotsupported and there isnoplan to support it.InstallUsepip:pip install jsalveDocumentationYou can read the documentation on thejsalveRead The Docs page.ContributingThe Github repository is the issue tracker. Please submit issues on the repository site.Pull requests are appreciated.Please follow the Django Community Code of Conduct (https://www.djangoproject.com/conduct/) while
contributing tojsalve.TestsUsepy.test. Make sure you have it installed. Clone thejsalverepository.
From the repository directory, run:py.test tests
Package: jsam
JSAM’s basic operations are get, put and remove, with basic support
for transactions via begin, commit and rollback.  All stored objects
are identified by an integer key.A JSAM database is opened by supplying a URL to jsam.jsurl.parse()
and calling the open() method on the returned object.  The syntax of
URL depends on the particular “access method”.The following URL types currently exist:* file:   directory plain text JSON files
* rcs:    directory plain text JSON files under RCS
* cvs:    directory plain text JSON files under CVS (not tested)
* svn:    directory plain text JSON files under SVN (not tested)
* sqlite: object trees stored in an SQLite3 database
* mysql:  object trees stored in a MySQL database (lightly tested)
* pgsql:  object trees stored in a PostgreSQL database (lightly tested)Query methods include:* Collections: a jQuery/Django-like method-chained interface
* XPath query language subset (only supported for SQL backends)
* P4J (E4X-like) query language (only supported for SQL backends)
    which allows construction of "xpath" queries in Python using
    method chaining and operator overload, bridging the lexical divide
    between code and query.pydoc jsam.<URLTYPE>_jsamgives information on the URL syntax for <URLTYPE>pydoc jsam.jsam.JSAMgives information on jsam object methodspydoc jsam.xpathgives information on XPath query syntax (SQL backends only)pydoc jsam.p4jgives information on P4J Python native query syntaxNOTE:* uses Python 2.6+ supplied "json"; requires "simplejson" on Python 2.5
* file-based storage depends on POSIX file semantics
* requires "MySQLdb" for MySQL
* requires "psycopg2" for PostgreSQLThe name “JSAM” is a joke on IBM Mainframe O/S data “Access Methods”
(BDAM, BSAM, VSAM, ISAM, QSAM, BPAM).The obvious name ‘jsonstore’ was already taken by another package
in the Python Package Index (PyPI).The URL/URI syntax was cribbed from Django, which copied SQLAlchemy.
Package: js.amcharts
js.amchartsIntroductionThis library packagesamChartsforfanstatic. It provides both theChartandStockJavascript chart libraries.This requires integration between your web framework andfanstatic, and
making sure that the original resources (shipped in theresourcesdirectory
injs.amcharts) are published to some URL.You can find the repository for this package athttps://github.com/securactive/js.amchartsHow to use?You can importamchartsoramstockfromjs.amchartsandneedit
where you want these resources to be included on a page:amchartswill provide only theChartlibrary…whileamstockwill provide both theChartandStocklibraries.>>> from js.amcharts import amstock, amcharts
>>> amcharts.need()
>>> amstock.need()amCharts needs a few images sometimes, and you need to pass the path to the
images in the Javascript code as follow:chart = new AmCharts.AmSerialChart();
chart.pathToImages = "/lib/samples/javascript/images/";Since this path depends on your server configuration and Fanstatic
configuration, you can use the convientfind_images_urlfrom this library:>>> from js.amcharts import find_images_url
>>> find_images_url() # doctest: +SKIP
"/some/path/images/"CHANGES3.3.1 (2013/11/22)Update to 3.3.1.2.6.10 (2012/04/25)Initial release.
Package: js.angular-gettext
js.angular_gettext******************Introduction============This library packages `angular-getttext`_ for `fanstatic`_... _`fanstatic`: http://fanstatic.org.. _`angular-gettext`: https://angular-gettext.rocketeer.be/This requires integration between your web framework and ``fanstatic``,and making sure that the original resources (shipped in the ``resources``directory in ``js.angular_gettext``) are published to some URL.How to use?===========You can import ``gettext`` from ``js.angular_gettext`` and ``need`` it where you wantthese resources to be included on a page::>>> from js.angular_gettext import gettext>>> gettext.need()CHANGES*******2.4.1 (2018-10-19)==================- Initial release.
Package: js.angular-imgcrop
js.angular_imgcropIntroductionThis library packagesngImgCropforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_imgcrop) are published to some URL.The upstream software is no longer maintenained.How to use?You can importimgcropfromjs.angular_imgcropandneedit where you want
these resources to be included on a page:>>> from js.angular_imgcrop import imgcrop
>>> imgcrop.need()CHANGES0.3.5 (2021-03-19)Patch issue about square cropping.0.3.4 (2019-07-03)Update tohttps://github.com/CrackerakiUA/ngImgCropFullExtended/- supports rectangle with aspect ratioFixed issue where cropping added white bars to result image.Upstream is no longer maintenained.0.3.3 (2019-04-23)Fix issue where “Take Photo” in portrait mode results in canvas without height.Upstream is no longer maintenained.0.3.2 (2015-04-15)Initial release.
Package: js.angular_infinite_scroll
js.angular_infinite_scrollIntroductionThis library packagesangular infiniteScrollforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_infinite_scroll) are published to some URL.How to use?You can importinfinite_scrollfromjs.angular_infinite_scrollandneedit where you want
these resources to be included on a page:>>> from js.angular_infinite_scroll import infinite_scroll
>>> infinite_scroll.need()CHANGES1.2.0 (2014-12-08)Initial release.
Package: js.angular_nvd3_directives
js.angular_nvd3_directivesIntroductionThis library packagesangularjs-nvd3-directivesforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_nvd3_directives) are published to some URL.How to use?You can importangular_nvd3fromjs.angular_nvd3_directivesandneedit where you want
these resources to be included on a page:>>> from js.angular_nvd3_directives import angular_nvd3
>>> angular_nvd3.need()CHANGES0.0.7 (2014-11-11)Initial release.
Package: js.angular_preventdefault
js.angular_preventdefaultIntroductionThis library packagesangular-prevent-defaultforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_preventdefault) are published to some URL.How to use?You can importangular_prevent_defaultfromjs.angular_preventdefaultandneedit where you want
these resources to be included on a page:>>> from js.angular_preventdefault import angular_prevent_default
>>> angular_prevent_default.need()CHANGES1.0.3 (unreleased)Initial release.
Package: js.angular_scroll
js.angular_scrollIntroductionThis library packagesangular-scrollforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_scroll) are published to some URL.How to use?You can importangular_scrollfromjs.angular_scrollandneedit where you want
these resources to be included on a page:>>> from js.angular_scroll import angular_scroll
>>> angular_scroll.need()CHANGES0.6.2 (2014-12-10)Initial release.
Package: js.angularstrap
js.angularstrapIntroductionThis library packagesAngularStrapforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angularstrap) are published to some URL.How to use?You can importangularstrapfromjs.angularstrapandneedit where you want
these resources to be included on a page:>>> from js.angularstrap import angularstrap
>>> angularstrap.need()CHANGES2.1.6 (2015-02-05)Initial release.
Package: js.angular_ui
js.angular_uiIntroductionThis library packagesAngularUIforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_ui) are published to some URL.How to use?You can importangular_uifromjs.angular_uiandneedit where you want
these resources to be included on a page:>>> from js.angular_ui import angular_ui
>>> angular_ui.need()orangular_ui_ieshiv>>> from js.angular_ui import angular_ui_ieshiv
>>> angular_ui_ieshiv.need()CHANGES0.4.0 - 2013-04-15Update to 0.4.0.0.2.0 - 2012-08-29Initial release.
Package: js.angular_ui_bootstrap
js.angular_ui_bootstrapIntroductionThis library packagesAngular UI Bootstrapforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_ui_bootstrap) are published to some URL.How to use?You can importangular_ui_bootstrapfromjs.angular_ui_bootstrapandneedit where you want
these resources to be included on a page:>>> from js.angular_ui_bootstrap import angular_ui_bootstrap
>>> angular_ui_bootstrap.need()CaveatAt the moment, the package only serves thetplsversion, i.e. shipped with the default templates. From the Angular UI Bootstrap doc:Then we’ve got files with the -tpls. To explain the difference let’s start by explaining that we want our directives to be highly customizable. To achieve this we are trying hard not to hard-code markup nor CSS inside JavaScript code. Instead most of the directives are coming with a dedicated template(s) so people can change them. We are providing default templates based on Twitter’s markup and CSS but you should be able to prepare your own partials to change the look&feel of widgets from this repo.Now it should be clear that files with the -tpls in their name have bootstrap-specific templates bundled with directives. For people who don’t want to take all the directives and don’t need to customize anything the solution is to grab a file named ui-bootstrap-tpls-[version].min.js.CHANGES0.6.0-2 - 2013-09-23Added changelog for 0.6.0-1 :-)0.6.0-1 - 2013-09-23Separated bootstrap theme and angular-ui JS thanks to janjaapdriessen0.6.0 - 2013-09-14Upgrade to angular-ui-bootstrap v0.6.0 thanks to janjaapdriessen0.3.0 - 2013-06-12Inital release
Package: js.angular_ui_calendar
js.angular_ui_calendarIntroductionThis library packagesangular-ui-calendarforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_ui_calendar) are published to some URL.How to use?You can importangular_ui_calendarfromjs.angular_ui_calendarandneedit where you want
these resources to be included on a page:>>> from js.angular_ui_calendar import angular_ui_calendar
>>> angular_ui_calendar.need()CHANGES0.9.0-beta.1 (2014-11-12)Initial release.
Package: js.angular_ui_scroll
js.angular_ui_scrollIntroductionThis library packagesAngular UI scrollforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_ui_scroll) are published to some URL.How to use?You can importui_scrollfromjs.angular_ui_scrollandneedit where you want
these resources to be included on a page:>>> from js.angular_ui_scroll import ui_scroll
>>> ui_scroll.need()CHANGES1.4.1 (2016-05-26)Initial release.
Package: js.angular_ui_sortable
js.angular_ui_sortableIntroductionThis library packagesAngular UI Sortableforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_ui_sortable) are published to some URL.How to use?You can importsortablefromjs.angular_ui_sortableandneedit where you want
these resources to be included on a page:>>> from js.angular_ui_sortable import sortable
>>> sortable.need()CHANGES0.13.5 (2018-06-05)Only include the sortable component of jqueryui.0.13.4 (2015-12-14)Updated to 0.13.4.0.13.0 (2014-11-12)Initial release.
Package: js.angular_xeditable
js.angular_xeditableIntroductionThis library packagesAngular-xeditableforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.angular_xeditable) are published to some URL.How to use?You can importangular_xeditablefromjs.angular_xeditableandneed`it where you want these resources to be included on a page:>>> from js.angular_xeditable import angular_xeditable
>>> angular_xeditable.need()CHANGES0.6.0.post2 (2017-03-16)Repacking.0.6.0.post1 (2017-03-15)Packaging bugfix.0.6.0 (2017-03-15)Initial release.
Package: jsaone
====== What is jsaone? ======This is a tiny wrapper around the json module in the Python standard library, allowing to read a json file incrementally.This can be useful for* parsing json streams without waiting for the end of the transmission,* parsing very big json objects without wasting RAM for the json representation itself.It is an alternative to [[https://pypi.python.org/pypi/ijson/|ijson]] (written when I did not know ijson existed, but in the end more efficient).=== Efficiency ===No extensive tests were made (if you make them, let me know), but here are theresults (in seconds) obtained in opening a local file with 384650 objects,totalling 174 MB:^ Parser                          ^  Iteration 1 ^ Iteration 2 ^| standard (non-incremental) json |    9.511     |    9.273    || cythonized jsaone               |   19.055     |   18.956    || ijson (with yajl2 backend)      |   62.250     |   64.538    || pure python jsaone              |  421.641     |  421.821    |Those results were obtained with the script "**tests/json_load_test.py**".Clearly those numbers are affected by the speed of the CPU and of the medium/stream.In particular, since the test was made on a file from a local hard disk, thebottleneck was clearly the CPU, and hence it is disadvantageous for incrementalparsers (including jsaone). If the bottleneck is given by the medium/stream,jsaone should even outperform the standard json, which will start processingonly after the entire stream is received.=== Why "jsaone" ===Because it sounds similar to "json"... but the Saône is a (large) stream.=== Dependencies ===* [[http://pypi.python.org/pypi/simplejson/|simplejson]] (Python 2.5 only)* for speedup: [[http://cython.org|cython]] (at build time)=== Installing ===- If you use Debian or a derivative (such as Ubuntu or Mint), you can simply use the packages provided above.- **jsaone** is on pypi, so you can install it with //pip install jsaone//- you can extract/clone the git repo, then move in the "jsaone" folder and give the commandpython3 setup.py build_ext --inplace(replace "**python3**" with "**python**" if you are using Python 2).=== Usage ===import jsaonewith open('/path/to/my/file.json') as f:gen = jsaone.load(f)for key, val in gen:...=== Development ===You can browse the git repo [[http://www.pietrobattiston.it/gitweb?p=jsaone.git|here]] or clone withgit clone git://pietrobattiston.it/jsaoneFor bugs and enhancements, just write me - <me@pietrobattiston.it> - ideally pointing to a git branch solving the issue/providing an enhancement.Jsaone should be able to parse any compliant json string... so if you find one on which it fails, please let me know!=== License ===Released under the GPL 3. Feel free to contact me if this is a problem for you (and GPL 2 is not).
Package: js.augment
js.augmentIntroductionThis library packagesAugment.jsforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.augment) are published to some URL.Bitbucket repository :https://bitbucket.org/harobed/js.augmentHow to use?You can importaugmentfromjs.augmentandneedit where you want
these resources to be included on a page:>>> from js.augment import augment
>>> augment.need()CHANGES0.4.2 (08-04-2012)Initial release.
Package: js.autobahn
js.autobahnIntroductionThis library packagesAutobahn|JSforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.autobahn) are published to some URL.How to use?You can importautobahnfromjs.autobahnandneedit where you want
these resources to be included on a page:>>> from js.autobahn import autobahn # XXX fix this test
>>> autobahn.need()CHANGES0.9.2-2 (2014-05-15)Initial release.