Saravanan666/pypi-org huggingface dataset:
Package: js.chart
js.chartIntroductionThis library packageschartjsforfanstatic. It is aware of different modes (normal, minified).This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.chart) are published to some URL.ContactAndrew Mleczko <andrew.mleczko at redturtle.net>RedTurtle Technology,http://www.redturtle.net/How to use?This should be setup before rendering a page. Seefanstaticfor more
information:>>> from fanstatic import init_needed
>>> needed = init_needed(base_url='http://localhost')You can import chart fromjs.chartand.needit
where you want these resources to be included on a page:>>> from js.chart import chart_js
>>> chart_js.need()Render the inclusion:>>> print needed.render()
<script type="text/javascript" src="http://localhost/fanstatic/chart/Chart.js"></script>CHANGES0.2.0 (2014-02-04)Nothing changed yet.
Package: jschema2py
JSchema2pyJSchema2py is able to generate python classes starting from JSONSchema and provides the automatic support for types
and constraints checking.InstallationThe package can be installed through pip:$ pip install jschema2pyor downloaded fromGitHub.ExamplesFor example, given the following schema:{"title":"UserInfo","type":"object","properties":{"name":{"type":"string","pattern":"^[^a-z0-9]"},"userName":{"type":"string"},"age":{"type":"integer","minimum":0,"maximum":100}}}jschema2py can easily convert it into python class in this way (Assume here that the schema is stored into variable
called schema):fromjschema2pyimportbuild_classUserInfo=build_class(schema)user=UserInfo()user.name="Jacopo"user.userName="JDL"user.age=24print(user)validation will be performed on the object manipulation:user.name="jacopo"# raise ConstraintError (pattern: ^[^a-z0-9])user.age="24"# raise TypeErrorThe object can be serialized into a JSON document:jsdoc=str(user)Accessing generated classesIf one of the property of the schema refers to another object, you can access the class that represents the referred
object by using method get_class:{"title":"Nested","type":"object","properties":{"inner":{"title":"Inner","type":"object","properties":{"string":{"type":"string","default":"I'm inner!"}}}}}fromjschema2pyimportbuild_classNested=build_class(schema)nested=Nested()nested.inner=nested.get_class("inner")()# Gets the class associated with the property "inner"print(nested.inner.string)
Package: jschema-to-python
jschema-to-pythonGenerate Python classes from a JSON schema.Usagepython -m jschema_to_python [-h] -s SCHEMA_PATH -o OUTPUT_DIRECTORY [-m MODULE_NAME] -r ROOT_CLASS_NAME [-g HINTS_FILE_PATH] [-f] [-v]

Generate source code for a set of Python classes from a JSON schema.

optional arguments:
  -h, --help            show this help message and exit
  -s SCHEMA_PATH, --schema-path SCHEMA_PATH
                        path to the JSON schema file
  -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
                        directory in which the generated classes will be
                        created
  -m MODULE_NAME, --module-name MODULE_NAME
                        name of the module containing the object model classes
  -r ROOT_CLASS_NAME, --root-class-name ROOT_CLASS_NAME
                        the name of the class at the root of the object model
                        represented by the schema
  -g HINTS_FILE_PATH, --hints-file-path HINTS_FILE_PATH
                        path to a file containing hints that control code
                        generation
  -f, --force           overwrite the output directory if it exists
  -v, --verbose         increase output verbosity (may be specified up to two
                        times)ContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.
Package: jschon
A JSON toolkit for Python developers.FeaturesJSON Schema validator implementation
(drafts 2019-09, 2020-12)Schema compilation and indexing$ref loading from local and remote sourcesSupport for custom keywords, vocabularies and meta-schemasSupport for format validationJSON class implementing the JSON data modelJSON Pointer (RFC 6901)JSON Patch (RFC 6902)Relative JSON Pointer (draft)Installationpip install jschonFor remote $ref support, the requests library is required. It may be installed with:pip install jschon[requests]Basic usageCreate a JSON schema:fromjschonimportcreate_catalog,JSON,JSONSchemacreate_catalog('2020-12')demo_schema=JSONSchema({"$id":"https://example.com/demo","$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"anyOf":[{"type":"string","description":"Cool! We got a string here!"},{"type":"integer","description":"Hey! We got an integer here!"}]}})Validate JSON data:result=demo_schema.evaluate(JSON([12,"Monkeys"]))Generate JSON Schema-conformant output:>>> result.output('basic')
{
    "valid": True,
    "annotations": [
        {
            "instanceLocation": "",
            "keywordLocation": "/items",
            "absoluteKeywordLocation": "https://example.com/demo#/items",
            "annotation": True
        },
        {
            "instanceLocation": "/0",
            "keywordLocation": "/items/anyOf/1/description",
            "absoluteKeywordLocation": "https://example.com/demo#/items/anyOf/1/description",
            "annotation": "Hey! We got an integer here!"
        },
        {
            "instanceLocation": "/1",
            "keywordLocation": "/items/anyOf/0/description",
            "absoluteKeywordLocation": "https://example.com/demo#/items/anyOf/0/description",
            "annotation": "Cool! We got a string here!"
        }
    ]
}LinksDocumentationPackage infoSource code
Package: jschon-sort
Provides JSON tools:jschon-sortsorts a JSON or YAML document according to its JSON Schema:
object properties are ordered to match the order in which JSON Schema properties (that match them) are declared.jschon-remove-additional-propsremoves properties not defined in the JSON Schema.The "jschon" name relates to it being based on thejschonlibrary
for JSON Schema handling.MotivationPer the JSON RFC, an object is an unordered collection. In practice, within serialized JSON or YAML files,
a particular order of properties can benefit readability: for example,{"start": 10, "end": 20}read more naturally than naive lexicographic order of{"end": 20, "start": 10}(that would result fromjson.dumps(..., sort_keys=True)).
While there areseveralattemptsto introduce property ordering into JSON Schema, here we're taking a different approach.
By leveraging the fact that the JSON Schema itself is written with human maintainers in mind,
we can extrapolate the intuitive order from the JSON Schema definitions' ordering and apply it on the document itself.UsageShell:jschon-sort--schema../schema.jsonfile.yamlAPI:importjschonimportjschon_toolsjschon.create_catalog('2020-12')...sorted_doc_data=jschon_tools.process_json_doc(schema_data=schema_data,doc_data=doc_data,sort=True,)ExampleGivenschema:{"type":"object","properties":{"range":{"type":"object","properties":{"start":{"type":"number"},"end":{"type":"number"}}}}}the followingdocument:{"range":{"end":20,"start":10}}would be reordered as:{"range":{"start":20,"end":10}}
Package: js.chosen
js.chosenIntroductionThis library packagesChosenforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.chosen) are published to some URL.How to use?You can importchosen_jqueryfromjs.chosenandneedit where you
want these resources to be included on a page:>>> from js.chosen import chosen_jquery
>>> chosen_jquery.need()CHANGES1.8.7 (2018-10-18)Update resources to version 1.8.7.1.8.2 (2017-10-05)Update resources to version 1.8.2.0.9.14 (2013-05-30)Update resources to version 0.9.14.0.9.11 (2012-12-15)Update resources to version 0.9.11. Thanks to Thomas Massmann.0.9.1 (2011-09-08)Initial release.
Package: js.ckeditor
js.ckeditorIntroductionThis library packagesCKEditorforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.ckeditor) are published to some URL.How to use?You can importckeditorfromjs.ckeditorandneedit where you want
these resources to be included on a page:>>> from js.ckeditor import ckeditor
>>> ckeditor.need()CHANGES3.6.4 (2013-02-15)Update to CKEditor 3.6.6.3.6.3 (2012-05-02)Update to CKEditor 3.6.3.3.6.1 (2011-06-16)Initial release.
Package: js.classy
js.classyIntroductionThis library packagesClassyforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.classy) are published to some URL.Bitbucket repository :https://bitbucket.org/fanstatic/js.classyHow to use?You can importclassyfromjs.classyandneedit where you want
these resources to be included on a page:>>> from js.classy import classy
>>> classy.need()CHANGES1.4 (28-04-2011)Initial release.
Package: jsconventionfixer
Lab2 JS code conventions analyzer and fixerAfter successful installation project can be used command:jsconventionfixer (-v|-fx) -(p|d|f) <path>Command line optionsOptions:
  -v, --verify                    Verify files without editing.

  -fx, --fix                      Rewrite files

  -d, --directory TEXT            Absolute or relative path to directory with 
                                  files to be fixed.

  -p, --project TEXT              Absolute or relative path to project with 
                                  files to be fixed.

  -f, --file TEXT                 Absolute or relative path to file to be fixed.

  -h, --help                      Show this message and exit.`Note: any other input is equivalent to--help
Package: js.cookieconsent
js.cookieconsentIntroductionThis library packagesinsites/cookieconsentforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs/cookieconsent) are published to some URL.How to use?You can import cookieconsent fromjs.cookieconsentandneedit where
you want these resources to be included on a page:>>> from js.cookieconsent import cookieconsent
>>> cookieconsent.need()CHANGES3.1.0 (2018-07-18)Integrate version 3.1.0 ofcookieconsent.
Package: jscript
what this isThis is a javascript package to turn python into javascriptimporthow to import: import jscriptpackages requiredpip install ossample codeimportjscriptasjsjs.console.log("hi")js.console.warn("daw")js.console.error("daw")js.console.count(6)prompt("dawdawd")#this one has bugs#thats all for nowchange logadded new functionsjs functionsconsole.log()
console.error()
console.warn()
console.clear
alert()
prompt()
Package: js.cropper
js.cropperIntroductionThis library packagesCropperforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.cropper) are published to some URL.How to use?You can importcropperfromjs.cropperandneedit where you want
these resources to be included on a page:>>> from js.cropper import cropper
>>> cropper.need()CHANGES0.10.0-1 (2015-06-25)Add dependency to jQuery, sojs.cropperis added afterjs.jquery.0.10.0 (2015-06-25)Initial release.
Package: js.crossroads
js.crossroadsIntroductionThis library packagesCrossroads.jsforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.crossroads) are published to some URL.How to use?You can importcrossroadsfromjs.crossroadsandneedit where you want
these resources to be included on a page:>>> from js.crossroads import crossroads
>>> crossroads.need()CHANGES0.10.0 (unreleased)Initial release.
Package: js.css3mediaqueries
js.css3mediaqueriesIntroductionThis library packagescss3-mediaqueries.jsforfanstatic. It will
render with a conditional comment to address Internet Explorer 8 and
below.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.css3mediaqueries) are published to some URL.How to use?You can import css3-mediaqueries.js fromjs.css3mediaqueriesandneedit
where you want these resources to be included on a page:>>> from js.css3mediaqueries import css3mediaqueries
>>> css3mediaqueries.need()CHANGES0.9 (2013-07-23)Initial release.
Package: js.d3
This library packagesD3.jsforFanstatic.This requires integration between your web framework andFanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.d3) are published to some URL. This
library also packages up a minified version ofD3.js.UsageYou can importd3fromjs.d3andneedit where you want these
resources to be included on a page:>>> from js.d3 import d3
>>> d3.need()Updating this packageIn order to obtain a newer version of this library, do the following,
editing the version name (eg3.4.13) accordingly:pushd js/d3/resources
VERSION="v3.5.5"
wget https://github.com/mbostock/d3/raw/$VERSION/d3.js -O d3.js
wget https://github.com/mbostock/d3/raw/$VERSION/d3.min.js -O d3.min.js
popd
#Edit setup.py for versions
git commit -a -m "Updated for release $VERSION"
git push
Package: js.d3_cloud
js.d3_cloudIntroductionThis library packages theD3 Word Cloud Layoutforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.d3_cloud) are published to some URL.  As a bonus, this
library also packages up a minified version of the original JavaScript.PackagingThe packaging is stored on GitHub athttps://github.com/davidjb/js.d3_cloud. If you happen to come across a bug
that corresponds topackaging, then please report it here. Pull requests are
more than welcome if you’re fixing something yourself – the more help the
better!Any other bugs that relate to the library itself should be directed to the
original developers.Updating this packageThis process requires installation of the package for development - the
suggested method to do this is via theBuildoutwithin this package:cd js.d3_cloud
python boostrap.py
./bin/buildoutFor minification of resources to succeed, you require a Java installation as
this process uses the YUI Compressor library (via theminifyand``yuicompressor`` Python packages).In order to obtain a newer version of this library, do the following:pushd js/d3_cloud/resources
wget https://github.com/iLanguage/d3-cloud/raw/master/src/d3.layout.cloud.js -O d3.layout.cloud.js
wget https://github.com/iLanguage/d3-cloud/raw/master/LICENSE -O LICENSE
popd
#Edit changelog, setup.py for versions, etc
python setup.py minify_d3_cloud
git commit -a -m "Updated for release 1.0.1"
git pushIf you’re doing this out in your own fork of the GitHub repository, then
send through a pull request so everyone can benefit.UsageYou can importd3_cloudfromjs.d3_cloudandneedit where you want
these resources to be included on a page:>>> from js.d3_cloud import d3_cloud
>>> d3_cloud.need()CHANGES1.1.2 (2015-07-13)Change to using iLanguage’s fork of d3-cloud because it’s now being
maintained. This adds numerous features and fixes.  Seehttps://github.com/iLanguage/d3-cloud.
[davidjb]1.0.1 (2012-12-21)Initial release.
Package: js.d3_tip
js.d3_tipIntroductionThis library packagesd3-tipforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.d3_tip) are published to some URL.How to use?You can importd3_tipfromjs.d3_tipandneedit where you want
these resources to be included on a page:>>> from js.d3_tip import d3_tip
>>> d3_tip.need()CHANGES0.6.7 (2015-08-18)Initial release.
Package: js.deform_bootstrap
js.deform_bootstrapIntroductionThis library packagesdeform_bootstrapforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.deform_bootstrap) are published to some URL.Included resourcesjs.deform_bootstrapis different from mostjs.packages in that it
doesn’t include any resources itself.  It references the resources fromdeform_bootstrapinstead.Usage in PyramidTo use this package inPyramidyou have to include the following
packages:deform_bootstrap
js.deform
js.deform_bootstrapCaution!js.deform_bootstrapmust be includedafterjs.deformas it
overrides some parts of its configuration.How to use?You can importdeform_bootstrap_jsfromjs.deform_bootstrapandneedit where you want these resources to be included on a page:>>> from js.deform_bootstrap import deform_bootstrap_js
>>> deform_bootstrap_js.need()CHANGES0.2.6 - 2013-04-22Add jQueryUI bootstrap theme CSS to resource mapping0.2.4-2Using deform_bootstrap’s resources in resource_mapping. This fixes the
select widget which needs the JS code from deform_bootstrap.0.2.4-1Fix docs.0.2.4Add fanstatic resources to js.deform’s resource_mapping.0.2.2Initial release.
Package: jsdhgsdysdhggds
Jsdhgsdysdhggds=================This API SDK was automatically generated by [APIMATIC Code Generator](https://apimatic.io/).This SDK uses the Requests library and will work for Python ```2 >=2.7.9``` and Python ```3 >=3.4```.How to configure:=================The generated code might need to be configured with your API credentials.To do that, open the file "Configuration.py" and edit its contents.How to resolve dependencies:===========================The generated code uses Python packages named requests, jsonpickle and dateutil.You can resolve these dependencies using pip ( https://pip.pypa.io/en/stable/ ).1. From terminal/cmd navigate to the root directory of the SDK.2. Invoke ```pip install -r requirements.txt```Note: You will need internet access for this step.How  to test:=============You can test the generated SDK and the server with automatically generated testcases. unittest is used as the testing framework and nose is used as the testrunner. You can run the tests as follows:1. From terminal/cmd navigate to the root directory of the SDK.2. Invoke ```pip install -r test-requirements.txt```3. Invoke ```nosetests```How to use:===========After having resolved the dependencies, you can easily use the SDK following these steps.1. Create a "jsdhgsdysdhggds_test.py" file in the root directory.2. Use any controller as follows:```pythonfrom __future__ import print_functionfrom jsdhgsdysdhggds.jsdhgsdysdhggds_client import JsdhgsdysdhggdsClientapi_client = JsdhgsdysdhggdsClient()controller = api_client.clientresponse = controller.get_basic_auth_test(<required parameters if any>)print(response)```
Package: jsdict-py
jsdictJavascript-style Dictionaries for PythonUsagefromjsdictimportJsDictd=JsDict({"key1":2,"key2":3})print(d.key1)# 2print(d)# {'key1': 2, 'key2': 3}d.key3={"key4":5}print(d)# {'key1': 2, 'key2': 3, 'key3': {'key4': 5}}d.key3.key5=6print(d)# {'key1': 2, 'key2': 3, 'key3': {'key4': 5, 'key5': 6}}
Package: js-django-bootstrap31
Polls is a simple Django app to conduct Web-based polls. For each
question, visitors can choose between a fixed number of answers.Detailed documentation is in the “docs” directory.Quick startAdd “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'js_django_bootstrap31',
)Include the polls URLconf in your project urls.py like this:url(r'^bootstrap/', include('js_django_bootstrap31.urls')),Runpython manage.py migrateto create the polls models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a poll (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/bootstrap/to participate in the bootstrap.Examples are predefined and well tested:http://127.0.0.1:8000/bootstrap/- the Hello World Examplehttp://127.0.0.1:8000/bootstrap/basis/- the hole basic style Exampleshttp://127.0.0.1:8000/bootstrap/login/- the standard login Pagehttp://127.0.0.1:8000/bootstrap/navbar/- the standard navbar
Package: jsd-job-bot
jsd_job_botShows which jobs are in my JSD queueInstallation:pip install jsd-job-botYou need ajsd_job_bot.iniconfig file:[DEFAULT]
JSD_API_KEY=<your api key>
JSD_HOSTNAME=<your instance>.atlassian.net
JSD_USERNAME=<your email address>You can also setSHOW_ALL_JOBSwhich will show everything regardless of status.The config file needs to be in one of these places:The current working directory.~/.config~/etc/Run it, it'll show you what you've got assigned to you.
Package: js-dl
js-dlA trivial python script to download javascript libraries fromhttps://cdnjs.com.Usage$ js-dl

    _                  _  _
   (_) ___          __| || |
   | |/ __| _____  / _` || |
   | |\__ \|_____|| (_| || |
 _/ ||___/        \__,_||_|
|__/



Downloading libraries list....

Library: d3
d3

Version: 6.6.1
6.6.1

File: d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3/6.6.1/d3.min.js
Package: js.dynatree
js.dynatreeIntroductionThis library packagesjquery.dynatree.jsforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original resources (shipped in theresourcesdirectory injs.dynatree) are published to some URL.How to use?You can importdynatreefromjs.dynatreeandneedit where you want
these resources to be included on a page:>>> from js.dynatree import dynatree
>>> dynatree.need()You can also import the default skin:>>> from js.dynatree import dynatree_skin
>>> dynatree_skin.need()…or the vista skin:>>> from js.dynatree import dynatree_skin_vista
>>> dynatree_skin_vista.need()CHANGES1.2.2-1Fix wrong jqueryui dependency.1.2.2Initial release.
Package: js.ehynds_multiselect
js.ehynds_multiselect*********************Introduction============This library packages `ehynds/jquery-ui-multiselect-widget`_ for `fanstatic`_... _`fanstatic`: http://fanstatic.org/.. _`vanderlee/colorpicker`: http://www.erichynds.com/blog/jquery-ui-multiselect-widgetThis requires integration between your web framework and ``fanstatic``,and making sure that the original resources (shipped in the ``resources``directory in ``js.ehynds_multiselect``) are published to some URL.How to use?===========You can import ``multiselect`` from ``js.ehynds_multiselect`` and``need`` it where you want these resources to be included on a page::>>> from js.ehynds_multiselect import multiselect>>> multiselect.need()CHANGES*******1.13 (2014-06-19)=================- Initial release.
Package: js.ember
js.emberIntroductionThis library packagesember.jsforfanstatic.This requires integration between your web framework andfanstatic,
and making sure that the original ember.js is published to some URL.WarningEmber data is still a beta release!ContributorsMatt Good (1.0.0)How to use?You can import ember.js fromjs.emberandneedit where you want
these resources to be included on a page:>>> from js.ember import ember
>>> ember.need()CHANGES1.0.0 (2013-09-02)Updated to ember to the 1.0.0 release and ember data to 1.0-beta-1.1.0.0-pre.8.1 (2013-08-30)Made ember data an independent resource, so that requiering ember does not
load emberdata automatically. To get emberdata, usejs.ember.ember_data.need().1.0.0-pre.8 (2013-08-30)Updated ember to 1.0.0-pre.8 and handlebars to 1.0.0.Added ember data 0.13b.Added minified js for all resources.1.0.0-pre.2 (2012-11-18)1.0.0-pre.20.9.8.1-1 (2012-07-12)correct a typo in setup.py0.9.8.1 (2012-07-12)first release