Saravanan666/pypi-org huggingface dataset:
Package: jlmodelcards
jlmcGenerate documentation cards for code in JupyterLab.RequirementsJupyterLab >= 3.0InstallationpipinstalljlmodelcardsDevelopment InstallationThere are two versions of this extension, each supporting v2 and v3 of JupyterLab.Create acondaenvironment if you do not have an environment already.condacreate-n[environment-name]--override-channels--strict-channel-priority-cconda-forge-canacondajupyterlabcookiecutternodejsgitActivate the environment.condaactivate[environment-name]Since there is only one python dependeny, there is noenvironment.ymlfile. You can install thejupyterlabpackage.# for JupyterLab 3.xcondainstall-cconda-forgejupyterlabIf you want to install the previou version of Jupyterlab.# for JupyterLab 2.xcondainstall-cconda-forgejupyterlab=2Once you installjupyterlab, you can accessjlpmwhich is JupyterLab's pinned version ofyarn.# Install dependenciesjlpminstallYou can install the extension without building as well.jupyterlabextensioninstall.--no-buildYou can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.# Watch the source directory in another terminal tabjlpmwatch# Run jupyterlab in watch mode in one terminal tabjupyterlab--watchOnce you make any changes to the code, you can rebuild the extension.jlpmrunbuild
Package: jlog
# jlog
## Source:
This package is a python API for jlog from omniti-labshttps://github.com/omniti-labs/jlogAlthough you can found python API code in the source repo, Many problems occurred when we want to build it into a package which can be installed as a dependency of a whole project or system.## Modules/Libs:
* Jlog: we refer to it as the python extension for jlog lib(it also has java, perl, php version), which provide API to call service in libjlog.
* libjlog: provide the core service of logging## References:
*http://stackoverflow.com/questions/16993927/using-cython-to-link-python-to-a-shared-library*http://stackoverflow.com/questions/7847305/how-to-set-ld-library-path-individually-for-django-web-sites-with-apache-and-mod?lq=1*http://stackoverflow.com/questions/856116/changing-ld-library-path-at-runtime-for-ctypes*http://docs.cython.org/src/reference/compilation.html
Package: jlogr
jlogrA simple python logger written in Rust.Logs in one format only:
{timestamp} :: {log level} :: {message}Example:importinfofromjlogrinfo("hello")If you use the Logger class, you can save to a file.importLoggerfromjlogrlogger=Logger("my_file.log")logger.info("this will go to the file")You might be taking a large amount of logs that you'd like to buffer.importLoggerfromjlogrlogger=Logger("my_file.log")foriinrange(1000):logger.push(f"this is log of index{i}","info")logger.dump()
Package: jlp
# jlp  --- pip like Julia Package ManagerA package management system used to install and manage software packages for Julia.<p><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/69/Julia_prog_language.svg/1280px-Julia_prog_language.svg.png" width="300"/></p>## Requirement- Julia 0.4+- Python 2.7+ or Python 3.5+- pip or pip3## Installation```shpip install jlp```## Usage```Usage:jlp <command> [options]Commands:install                     Install packages.uninstall                   Uninstall packages.update                      Update installed packages.remove                      Alias remove.freeze                      Output installed packages in requirements format.list                        Alias freeze.```## Examples### Show installed packages and version```shjlp list > REQUIREjlp freeze > REQUIREjlp freeze --format json > packages.jsonjlp freeze -f yaml > requirements.yml```### Install packages```shjlp install Pandasjlp install Pandas IJulia==1.6.2 Requestsjlp install -r REQUIREjlp install -r packages.jsonjlp install -r requirements.yml```### Uninstall packages```shjlp uninstall Pandasjlp uninstall Pandas PyCalljlp remove Pandas PyCall```### Update installed packages```shjlp update```
Package: jlpipe
jlpipeIntroductionProject owner: Jay Youngdev@yjmade.netInstallationpipinstalljlpipeUsagefull commands list:dynamojson: convert json from dynamodb format to normaljsonkey: return json keys of each linejsonallkeys: show statistics of keys of json linesjsonselect: select fields from jsonjson2csv: convert json to csvjson2pgtext: convert json to postgres plain text then can use pgcopy to import to databaseparquet2json: convert parquet file to json formatjsondecompress: decompress gzip compressed fieldarrayunpack: similiar to postgres unnest, unnest a array to linespgcopy: similiar to pgfutter, but it use plain text to copyparallel_split: similiar toparallel --pipe, start multiple worker ahead, and cycle each line of input and route to each worker, then forword workers output to its stdout, not garentee order.$cat*.json|parallel_splitdynamojson|jsonselectdata=.patent_iddescription=patent_description|jsondecompressdescription|json2pgtext-a|pgcopgall_patent

$cat*.json|jsonallkeys-l10000-r>/dev/null
$ls*.parquet|parquet2json|json2pgtext|pgcopgall_patentMore usage reference to the command help textcommand--help
Package: jlsteenwyk-biokit
Docs·Report Bug·Request FeatureBioKIT is a UNIX shell toolkit for processing molecular sequence data.If you found biokit useful, please cite the following:BioKIT: a versatile toolkit for processing and analyzing diverse types of sequence data. Genetics. doi:10.1101/2021.10.02.462868.This documentation covers downloading and installing BioKIT. Details about each function as well as tutorials for using BioKIT are available in theonline documentation.InstallationIf you are having trouble installing BioKIT, please contact the lead developer, Jacob L. Steenwyk, viaemailortwitterto get help.To install usingpip, we strongly recommend building a virtual environment to avoid software dependency issues. To do so, execute the following commands:# create virtual environmentpython-mvenv.venv# activate virtual environmentsource.venv/bin/activate# install biokitpipinstalljlsteenwyk-biokitNote, the virtual environment must be activated to use biokit.After using biokit, you may wish to deactivate your virtual environment and can do so using the following command:# deactivate virtual environmentdeactivateSimilarly, to install from source, we strongly recommend using a virtual environment. To do so, use the following commands:# downloadgitclonehttps://github.com/JLSteenwyk/BioKIT.gitcdbiokit/# create virtual environmentpython-mvenv.venv# activate virtual environmentsource.venv/bin/activate# installmakeinstallTo deactivate your virtual environment, use the following command:# deactivate virtual environmentdeactivateNote, the virtual environment must be activated to use biokit.To install via anaconda, execute the following command:condainstall-cjlsteenwykjlsteenwyk-biokitVisit here for more information:https://anaconda.org/JLSteenwyk/jlsteenwyk-biokitTo test biokit installation, launch the help messagebiokit-h
Package: jltheme
Change Matplotlib rcParams to match the current JupyterLab theme.Adjusts Matplotlib axis labels, edge, face, and tick colors based upon which JupyterLab theme is in use.Installationpip install jlthemeUsageThe module provides one function,jltheme, which opens the
JSON configuration file for JupyterLab, checks which theme is in use,
and changes Matplotlib rcParams to match the current theme:from jltheme import jltheme
jltheme()Version history0.1.2 Changes to README.rst (Current)0.1.1 Changes for PyPI0.1.0 Initial version
Package: jlv
jlv (journal)Missionjlvis anextremelystraightforward command line app for keeping a journal on your local machineAudienceUsers who enjoy using the terminal and keeping personal information on their local machineUsagejlvStarts up vim with an untitled entryjlv Birthday!Starts up vim with an entry titledBirthday!jlv "I had an amazing birthday!!"Starts up vim with an entry titledI had an amazing birthday!!FeaturesOpportunity to provide journal entry title before and after writingThe journal entry title appears on the first line of every entry.The journal entry filename becomes "<title>.txt"If no title is given, the title becomes "untitled" and the filename
becomes "untitled_YYYY-MM-DD_HH:MM:SS"Each journal entry receives a "created YYYY-MM-DD_HH:MM:SS" subheaderjlv -popens the previous journal entry with the cursor already on the last line
Package: jlvandenhout-automaton
AutomatonThis package provides a simple automaton implementation for Python.1. Installation1.1. Using pip1.2. From source2. Basic usage3. Support4. Contributing5. License6. Changelog1. Installation1.1. Using pipSimply run the usual installation command for pip:pip install jlvandenhout-automaton1.2. From sourceTo install from the latest source code, clone this repository and install from the repository:git clone https://gitlab.com/jlvandenhout/automaton.git
cd automaton
pip install .2. Basic usagefromrandomimportchoicesfromjlvandenhout.automatonimportAutomatonfromjlvandenhout.graphimportGraphgraph=Graph()graph.edges.set("ice","water","heat")graph.edges.set("water","vapor","heat")graph.edges.set("vapor","vapor","heat")graph.edges.set("vapor","water","cool")graph.edges.set("water","ice","cool")graph.edges.set("ice","ice","cool")deffollow(edge,symbol=None):returnsymbol==edge.get()automaton=Automaton(graph,choices(list(graph.nodes)),graph.nodes,follow)print("We start with",automaton.nodes.pop())forsymbolinchoices(list(automaton.symbols),k=10):automaton.update(symbol)print(f"After{symbol}ing we have",automaton.nodes.pop())3. SupportIf you have any questions, suggestions or found a bug, please open an issue inthe issue tracker.4. ContributingRefer toCONTRIBUTING.5. LicenseRefer toGNU General Public License v3 (GPLv3).6. ChangelogRefer toCHANGELOG.
Package: jlvandenhout-graph
GraphThis package provides a simple graph implementation for Python.1. Installation1.1. Using pip1.2. From source2. Basic usage3. Support4. Contributing5. License6. Changelog1. Installation1.1. Using pipSimply run the usual installation command for pip:pip install jlvandenhout-graph1.2. From sourceTo install from the latest source code, clone this repository and install from the repository:git clone https://gitlab.com/jlvandenhout/graph.git
cd graph
pip install .2. Basic usagefromjlvandenhout.graphimportGraphgraph=Graph()names=graph.nodestransactions=graph.edgesnames.add("Alice")transactions.set("Bob","Alice",42)transactions.set("Alice","Charlie",20)print("\nListing transactions...")fortransactionintransactions:sender,receiver=transactionprint(f"{sender}paid{transaction.get()}to{receiver}.")print("\nChecking balances...")fornameinnames:balance=0fortransactionintransactions.before(name):balance+=transaction.get()fortransactionintransactions.after(name):balance-=transaction.get()print(f"{name}has{balance}.")print("\nRemoving Charlie from history...")names.remove("Charlie")print("\nListing transactions again...")fortransactionintransactions:sender,receiver=transactionprint(f"{sender}paid{transaction.get()}to{receiver}.")3. SupportIf you have any questions, suggestions or found a bug, please open an issue inthe issue tracker.4. ContributingRefer toCONTRIBUTING.5. LicenseRefer toGNU General Public License v3 (GPLv3).6. ChangelogRefer toCHANGELOG.
Package: jma
jma: Data downloader from JMA (Japan Meteorological Agency)===========================================================* Author: Kiwamu Ishikura* Version: 2.0.1* Licence: GPLv3What's this?------------This is the program to get 1-hour meteorological data from JMA web site. You can retrieve data and save as csv.Requirement-----------Python (>= 3.3)*Beware that Python 2 can NOT work*Usage-----Download jma_stat, you can type the followings on your console::```$ python3 jma.py```Program will ask you the beginning/final date of data you want, locations, and file name. Please follow the explanations.If you put jmalib.py in your PYTHONLIB and put jma.py in your PATH, you can use these program anywhere.
Package: jma-client
JMA Irradiation Data ClientAboutThe Japanese Meteorological Association provides free access to various weather measurements from weather stations across the country through an online portal. However, they do not provide an API.This client can be used to programmatically download Global Irradiation data from their website.Installation$ pip install jma-clientExample UsageDownload daily irradiation datafromdatetimeimportdatefromjmaimportJmaClient,JmaStations=date(2020,12,31)e=date(2021,1,2)stations=(JmaStation.Fukuoka,JmaStation.Kagoshima)withJmaClient()asc:response=c.get_daily_irradiation(s,e,stations)print('\t'.join(response.headers))forrowinresponse.csv:print('\t'.join([str(row[hdr])forhdrinresponse.headers]))Result:Date	Fukuoka	Kagoshima
2020-12-31	7.55	11.16
2021-01-01	2.53	9.27
2021-01-02	1.07	9.24Download hourly irradiation datafromdatetimeimportdatefromjmaimportJmaClient,JmaStationtarget_date=date(2021,2,23)stations=[JmaStation.Nagano]withJmaClient()asc:response=c.get_hourly_irradiation(target_date,target_date,stations)print('\t'.join(response.headers))forrowinresponse.csv:print('\t'.join([str(row[hdr])forhdrinresponse.headers]))Result:Date	Nagano
2021-02-23 00:00	None
2021-02-23 01:00	None
2021-02-23 02:00	None
2021-02-23 03:00	None
2021-02-23 04:00	None
2021-02-23 05:00	0.0
2021-02-23 06:00	0.03
2021-02-23 07:00	0.43
2021-02-23 08:00	1.14
2021-02-23 09:00	2.03
...(contd.)Download daily irradiation data alongside average long-term valuesfromdatetimeimportdatefromjmaimportJmaClient,JmaStations=date(2021,2,1)e=date(2021,2,14)stations=[JmaStation.Aomori,JmaStation.Morioka]withJmaClient()asc:response=c.get_daily_irradiation(s,e,stations,lta=True)print('\t'.join(response.headers))forrowinresponse.csv:print('\t'.join([str(row[hdr])forhdrinresponse.headers]))Response:Date	Aomori	Aomori_LT	Morioka	Morioka_LT
2021-02-01	9.43	6.3	10.88	8.5
2021-02-02	3.81	6.4	6.73	8.7
2021-02-03	4.4	6.5	8.95	8.8
2021-02-04	3.17	6.6	4.96	8.9
2021-02-05	5.11	6.7	10.63	9.0
2021-02-06	4.11	6.8	5.03	9.1
2021-02-07	4.77	6.9	4.88	9.2
2021-02-08	5.41	6.9	12.47	9.3
2021-02-09	4.82	7.0	12.16	9.4
2021-02-10	4.6	7.1	8.67	9.4
2021-02-11	7.35	7.2	10.9	9.5
2021-02-12	13.98	7.3	14.45	9.6
2021-02-13	14.4	7.5	12.58	9.7
2021-02-14	11.59	7.6	13.75	9.8How do I find ID numbers for other JMA stations?I've only gone through a small subset of all the available stations and included them in the JmaStation enumeration. If you wish to use stations that are not listed here, you will need to add them manually. This can be done by inspecting the request parameters when downloading CSV data fromJMAusing your browser's Developer Tools.
Package: jmapc
jmapc: AJMAPclient library for PythonCurrently implemented:Basic modelsRequest methods:Core/echoEmail/changesEmail/copyEmail/getEmail/queryEmail/queryChangesEmail/setEmailSubmission/*(get,changes,query,queryChanges,set)Identity/*(get,changes,set)Mailbox/*(get,changes,query,queryChanges,set)SearchSnippet/*(get)Thread/*(get,changes)Arbitrary methods via theCustomMethodclassFastmail-specific methods:MaskedEmail/*(get,set)Combined requests with support for result referencesBasic JMAP method response error handlingEventSource event handlingUnit tests for basic functionality and methodsInstallationjmapc is available on PyPI:pip install jmapcExamplesAny of the included examples can be invoked withpoetry run:JMAP_HOST=jmap.example.com \JMAP_API_TOKEN=ness__pk_fire \poetry run examples/identity_get.pyIf successful,examples/identity_get.pyshould output something like:Identity 12345 is for Ness at ness@onett.example.com
Identity 67890 is for Ness at ness-alternate@onett.example.comDevelopmentPoetryinstallationViapipx:pip install pipxpipx install poetrypipx inject poetry poetry-dynamic-versioning poetry-pre-commit-pluginViapip:pip install poetrypoetry self add poetry-dynamic-versioning poetry-pre-commit-pluginDevelopment tasksSetup:poetry installRun static checks:poetry run poe lintorpoetry run pre-commit run --all-filesRun static checks and tests:poetry run poe testCreated fromsmkent/cookie-pythonusingcookiecutter
Package: jmapd
jmapdA Pure-python server implementation for JMAP (https://jmap.io).https://github.com/arskom/jmapdTo get started:$ virtualenv venv
$ source venv/bin/activate
$ python setup.py developTo run the daemon:$ source venv/bin/activate
$ jmapdYou can usejmapd --autoreloadto have code changes reflect instantly.The server listens on TCP4:localhost:8100 by default. You may need to start it
twice to let it generate a config file first.Once the server is up and running, run:$ curl localhost:8100/jmap | python3 -m json.toolto get the capabilities object.
Package: jmatch
jMatchjMatch is atestsuiteforJSON/YAMLfiles. It allows you to check these
files against a specification based on defined patterns. This is useful if you
need to check lots of JSON files or if you want to check your JSON files in a
continuous integration pipeline.Table of ContentsInstallationUsageSupportInstallationInstall via PIPMake sure, you havepython3withpipinstalled. Usepipto install jMatch
in your shell as follows:pipinstalljmatchUsageAs soon as jMatch is installed, it is used to checkJSON/YAMLdocuments
against a predefined specification. jMatch usesJSON/YAMLto define
specification options as a search pattern.Example Specification PatternExample usecase:Imagine, a bunch of JSON-formated config files, all of those
config files should specify the same text-encoding (UTF-8) to make sure that
all systems interoperate correctly.Solution:To implement a solution for the given usecase, another
JSON-document needs to be specified, which contains at least the following data
concerning the given problem.type:infoorerrormessage:A message to print if the pattern matchespattern:An info or error case pattern that is searched in the document to check.[{"_type":"error","_message":"The encoding should be UTF-8, but it is not.","_pattern":{"encoding":{"_not":"UTF-8"}}}]We want to mark the problem as critical, we use the error type. If used in a
CI-pipeline, the typeerrorforces the Pipeline to fail, if the pattern
matches. For the pattern we want to search for a encoding, with a value
different fromUTF-8.Check if the pattern exists in a JSON documentIf we want to check aconfigfile.jsonfile if it matches ourcheck-encoding-utf8.json. We can perform the following operation, assuming
that both files are in our current working directory:jmatch--targetconfigfile.jsoncheck-encoding-utf8.jsonIf the configfile contains the pattern specified incheck-encoding-utf8.json, the_messagespecified is displayed.Check for multiple patterns at oncejMatch allows to check many patterns at once, therefore all pattern files must
be provided when running jMatch.jmatch--targetconfigfile.jsonpattern1.jsonpattern2.json[...]To provide multiple pattern files for jMatch, wildcard expressions can be used,
to specify many pattern files easily:jmatch--targethello.jsonpattern*.jsonFlagsThere are many different flags which change jMatchs default behavior. You can
use the--helpflag to show all available options.SupportPleaseopen an issuefor support.
Package: jmath
jmathjmath is a hobby project developing a set of mathematical tools in the Python Language.InstallationOpen a terminal/command prompt and usepip install jmath.DocumentationDocumentation can be found athttps://jmath.jordanhay.com/TestingOpen a terminal in the root director and runpytest tests/, this requires pytest. Tests are automatically run in Github by a Github Action.Github WorkflowsGithub workflows help automate testing, updating the requirements, and publishing this repo.
Package: jmatt-sqre-codekit
[![Build Status](https://travis-ci.org/lsst-sqre/sqre-codekit.svg?branch=master)](https://travis-ci.org/lsst-sqre/sqre-codekit)# sqre-codekitLSST DM SQuaRE misc. code management tools## Installationsqre-codekit runs on Python 2.7 or 3.5. You can install it with`bash pip installsqre-codekit`This will also install dependencies:github3,urllib3,requests,progressandgitpython.## Example usageTo generate a personal user token (you will be prompted for your password):`bashgithub-auth-u{{username}} `Or to generate a token with delete privileges:`bashgithub-auth-u{{username}}--delete-role`To clone all github.com/lsst repos into an GitHub organization called{{username}}-shadow:`bashgithub-fork-repos-u{{username}}--org{{username}}-shadow`You’ll need to create this shadow organization in advance. Working in a shadow organization is useful for testing.If you want to take a recent fork, you will need to delete the existing shadow repos first:`bashgithub-delete-shadow-u{{username}} `That requires a token with delete privileges.To get more debugging information, set yourDM_SQUARE_DEBUGvariable before running any command, or use the-ddebug flag on the command line.## Available commandsgithub-auth: create a GitHub authentication token.github-fork-repos: fork repositories into a shadow GitHub organization.github-list-repos: list repositories in a GitHub organization, showing teams.github-mv-repos-to-team: move repositories from one team to another.github-tag-version: tag all repositories in a GitHub org using a team-based scheme.lsst-bp: upgrade LSST DM code to [RFC-45](https://jira.lsstcorp.org/browse/RFC-45)-style.Use the–helpflag with any command to learn more.## DevelopmentTo develop codekit, create a Python virtual environment, and`bash git clonehttps://github.com/lsst-sqre/sqre-codekit.gitcdsqre-codekitvirtualenv venv . venv/bin/activate pip install-rrequirements.txt python setup.py develop `Note that all scripts (incodekit/cli) are installed using setuptoolsentry_points. Seesetup.py.Tests can be run with [pytest](http://pytest.org/latest/):`bash py.test tests `
Package: jmb.filters
jmb.filter is a fork ofdjango-filterwhose main goal is to make
life easy integrating django_filter in the django admin interface
creating advanced search forms based on a description similar to
search_list definition.jmb.filter is a reusable Django application for allowing users to filter
querysets dynamically.Documentation onthunder-site.Original documentation onread the docsRequirementsPython 2.7+Django 1.4+InstallationInstall using pip:pip install jmb.filterOr clone the repo and add to your PYTHONPATH:hg clone https://hg@bitbucket.org/jumboteam/jmb.filtersUsagejmb.filter can be used for generating interfaces similar to the Django
admin’slist_filterinterface.  It has an API very similar to Django’sModelForms.  For example, if you had a Product model you could have a
filterset for it with the code:import jmb.filters

class ProductFilter(jmb.filters.FilterSet):
    class Meta:
        model = Product
        fields = ['name', 'price', 'manufacturer']And then in your view you could do:def product_list(request):
    filter = ProductFilter(request.GET, queryset=Product.objects.all())
    return render_to_response('my_app/template.html', {'filter': filter})Support
Package: jmb.jadmin
.. jmb.jadmin documentation master file, created bysphinx-quickstart on Wed Apr 15 10:48:23 2015.You can adapt this file completely to your liking, but it should at leastcontain the root `toctree` directive... _index:Welcome to jmb.jadmin's documentation!===========================================Contents:.. toctree:::maxdepth: 2jadmin/contentIndices and tables==================* :ref:`genindex`* :ref:`modindex`* :ref:`search`