Saravanan666/pypi-org huggingface dataset:
Package: jmlopez-m
minstallpip install jmlopez-mTo install from a branch runpip install git+https://github.com/jmlopez-rod/m.git@[branch-name]The cli supportsargcomplete. To set it up follow the following depending on
your shell# for fish shellregister-python-argcomplete--shellfishm>/tmp/foo
sudomv/tmp/foo/usr/share/fish/vendor_functions.d/m.fish# for bash shellregister-python-argcomplete--shellbashm>/tmp/foo
sudomv/tmp/foo/usr/share/bash-completion/completions/m# for zshregister-python-argcomplete--shellzshm>/tmp/foo
sudomv/tmp/foo/usr/share/zsh/site-functions/_mdevelopmentIf you are working on a non-intel machine (M1/M2 Macs) you can runmake buildPy311DevContainerand updatedevcontainer.jsonto use them-devcontainerimage.Open the devcontainer in VSCode. Once there open a terminal and runpoetry installandpnpm installto install the dependencies.There are several make targets to run. The most important one ismake ci-checks. Run that since it is the closest to what the CI will run.Note that part of the documentation relies heavely on the docstrings provided to
the functions, classes and modules in the library. Please runmake devDocsto
make sure that the documentation is up to date. The documentation site will be
build and deployed to thegh-pagesbranch whenever a new commit is pushed to
themasterbranch.
Package: jmon
# jmon is Machine's Cpu, Memory, Cuda Information Monitoring and Save with InfluxDB### CPU, MEMORY, GPU 의 사용량 온도를 확인하여 InfluxDB 에 저장해주는 모듈입니다.- ip 를 지정하지 않으면 Console 에 JSON 으로 수집된 정보를 출력만 합니다.- ip 를 지정하면 해당 ip 에 설치된 InfluxDB 에 수집된 정보를 입력 합니다.#####[설치 방법]```pip install -U jmon```#####[사용 방법]```[] 파라미터는 옵션, [] 없는 파라미터는 필수 값임python -m jmon.machine  [-h][--ip IP][--port PORT : Default 8086][--id ID][--password PASSWORD][--database DATABASE : Default machine_information][--interval INTERVAL : Default 5][--log true|false : Default true]파라미터 설명 :-h, --help           파라미터 설명 보여주기(show this help message and exit)--ip IP              InfluxDB 가 설치된 장비의 InfluxDB IP(ip address of InfluxDB http API)--port PORT          InfluxDB 가 설치된 장비의 InfluxDB PORT, Default 8086(port of InfluxDB http API : Default 8086)--id ID              InfluxDB 사용자 ID(InfluxDB user id)--password PASSWORD  InfluxDB 사용자 PASSWORD(InfluxDB user password)--database DATABASE  정보를 저장할 InfluxDB의 Database, Default machine_information(InfluxDB Database Name : Default machine_information)--interval INTERVAL  CPU, MEMORY, GPU 정보를 가져올 주기, Default 5(monitoring interval second : Default 5)--log true|false     CPU, MEMORY, GPU 정보를 json 으로 console 로 출력하는지 설정, Default true(display machine status : Default true)```
Package: jMonochrome
#Monochrome
Make your photos black and white withMonochrome!_full-featured, easy-to-use, fast and lightweight python library based on Python Image Library(PIL).__available for both python 2.x and 3.x !_
supports various image formats like : JPEG, PNG, …Covered Algorithms |
—————— |
average |
luma |
desaturation |
decomposing |
single channel |
gray shades |#Installationvia git :git clone git://abc.xyz/monochrome
cd monochrome
python setup.py installvia pip :pip install monochromevia easy_install :easy_install monochrome##make your first photo monochromeIt’s just a few lines of codes :`python from monochrome import Monochrome image = Monochrome(ImagePath) image.average(outputImagePath) `that’s all !
Package: jmopenorders
jmopenordersFeaturesjmopenorders is a generator to generate infos for the affected persons.
Generate from a excel-output for each service person a separated excel file. You must the excel-file save as csv-file.jmopenorders is written inPython.
python does run on almosts known platforms.RequirementsTODOInstallationYou can installjmopenordersviapipfromPyPI:$pipinstalljmopenordersThe master branch represents the latest pre-release code.Releases.Milestones.UsageTODOContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theEUPL-1.2license,jmopenordersis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.
Package: jmpy3
jmpy简介将python代码一键加密为so或pyd。支持单个文件加密，整个项目加密。Git仓库地址:https://github.com/Boris-code/jmpy.git安装pip install jmpy3使用方法jmpy -i "xxx project dir" [-o output dir]加密后的文件默认存储在 dist/project_name/ 下
Package: jmr
jmrjmris mappable JSON object.InstallationUsing pip$ pip install git+https://github.com/hinatades/jmr.gitor using pip with PyPI:https://pypi.python.org/pypi/jmr$ pip install jmrUsageimportjmrjson_data={}jmr=JSONMapper(json_data)Examplemap json keys with CSVnew_input_data=jmr.map_keys_with_csv('MAPPING_CSV_PATH','MAPPING_PKL_PATH',[1,0])Author@hinatades (hnttisk@gmail.com)
Package: jmspack
jmspackPython package of functions that James finds usefulThe documentation for the package can be foundhere.The package can be installed viacondausing the following code:conda install -c james.twose jmspackThe package can be installed viapipusing the following code:pip install jmspackInstallation from githubClone the repositorygit clone git@github.com:jameshtwose/jmspack.gitCreate a virtual environmentpython3 -m venv venvActivate the virtual environmentsource venv/bin/activateInstall the requirementspip install -r requirements.txt
Package: jmstorage
jmstorageThread safe key:value storage with multiple back-end options.InstallpipinstalljmstorageStorage Optionsdisk(local file system)Currently, this is the only supported option.This is thread safe as the library acquires a thread lock during write operations.RedisIn Development, will update as it becomes available.SqliteIn Development, will update as it becomes available.MySQLIn Development, will update as it becomes available.PostgreSQLIn Development, will update as it becomes available.How to UsefromjmstorageimportCachec=Cache(namespace="namespace-value",path="./path_to_local_disk_file/")# Set Valuec.set("my_key","my_value")# Read Valuemy_val=c.get("my_key")# > "my_value"# Pop Valuemy_val=c.pop("my_key")# > "my_value"c.get("my_key")# > None# Delete Valuec.delete("my_key")c.get("my_key")# > None# Truncate Storagec.truncate()c.get("my_key")# > None
Package: jmu-openconnect
JMU OpenConnectThis is a wrapper script around openconnect to help with authentication for the JMU VPN on Linux. Openconnect used to work fine until Ivanti purchased Pulse Secure, and then that broke something. This script opens up a web browser to allow the user to authenticate with Duo, and then grabs the DSID cookie to use for openconnect authentication.InstallationThis script can easily be installed with pip orpipxwith the following commands:$pipxinstalljmu-openconnect$# OR$pip3installjmu-openconnectUsageOnce the script is installed, you can run the following command in your terminal:$jmu-openconnectYou can also specify a username and password to be automatically typed in, however you will still have to do 2FA manually. You can specify one or the other or both, and if both are specified, the "Log in" button will automatically be clicked.$jmu-openconnect-u<EID>-p<PASSWORD>You can alternatively specify the--prompt-password(or-P) option instead of using-p, which will prompt the user for a password without echoing, much like sudo. This is more secure as your password won't be saved in your command line history.JMU OpenConnect defaults to using firefox, but you can easily change which browser you're using by specifying--browser, which acceptsfirefox,chrome, oredge.The first time that you launch JMU OpenConnect, it may take a little longer than normal, as selenium has to download and cache your webdriver.$jmu-openconnect--browserchromeTo see all of the available options, runjmu-openconnect --help.DependenciesThis script just requires openconnect andselenium. If you are having problems, check theSelenium Python Documentation.DSID Cookie was not foundIf you get the error that the DSID cookie was not found, then you may be logged on in multiple places at once. Navigate tohttps://vpn.jmu.eduand after signing in, you should see a screen like this:If this is the case, just select the box to remove that sign in and press "Close Selected Sessions and Log in". After this, you will need to press the log out button in the upper right corner of the VPN website, and then you can retry the script. If this is not the problem, try running the script withjmu-openconnect --debug-auth-errorto see the error for a longer period of time.
Package: jmv
jmvjupyter multiple viewerInstallationYou can install usingpip:pipinstalljmvIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:jupyternbextensionenable--py[--sys-prefix|--user|--system]jmvDevelopment InstallationCreate a dev environment:condacreate-njmv-dev-cconda-forgepythonjupyterlab
condaactivatejmv-devInstall the python. This will also build the TS package.pipinstall-e".[test, examples]"When developing your extensions, you need to manually enable your extensions with the
notebook / lab frontend. For lab, this is done by the command:jupyter labextension develop --overwrite .
pnpm run buildFor classic notebook, you need to run:jupyter nbextension install --sys-prefix --symlink --overwrite --py jmv
jupyter nbextension enable --sys-prefix --py jmvNote that the--symlinkflag doesn't work on Windows, so you will here have to run
theinstallcommand every time that you rebuild your extension. For certain installations
you might also need another flag instead of--sys-prefix, but we won't cover the meaning
of those flags here.How to see your changesTypescript:If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different
terminals to watch for changes in the extension's source and automatically rebuild the widget.# Watch the source directory in one terminal, automatically rebuilding when neededpnpmrunwatch# Run JupyterLab in another terminaljupyterlabAfter a change wait for the build to finish and then refresh your browser and the changes should take effect.Python:If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.Updating the versionTo update the version, install tbump and use it to bump the version.
By default it will also create a tag.pipinstalltbump
tbump<new-version>
Package: jmx4py
Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors.It is an agent based approach with support for many platforms. In addition
to basic JMX operations it enhances JMX remoting with unique features like
bulk requests or fine grained security policies.jmx4py offers a client API similar to the existing Jolokia clients for Perl
(jmx4perl), Java and Javascript. Additionally, it’ll build upon the basic
API and offer further features related to monitoring and controlling JVMs
via JMX using Python.
Package: jmxquery
JMXQuery Python ModuleProvides a Python module to easily run queries and collect metrics from a Java Virtual Machine via JMX.In order to use this module, provide a list of queries, and the module will return all of the values it
finds matching the query. Please note that the interfact to the JMX uses a small jar file contained in
this module, so you will need to have java installed on the machine you're running this module on.UsageThis example query for a Kafka server will get all cluster partition metrics:jmxConnection = JMXConnection("service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi")
jmxQuery = [JMXQuery("kafka.cluster:type=*,name=*,topic=*,partition=*",
                         metric_name="kafka_cluster_{type}_{name}",
                         metric_labels={"topic" : "{topic}", "partition" : "{partition}"})]
metrics = jmxConnection.query(jmxQuery)
for metric in metrics:
    print(f"{metric.metric_name}<{metric.metric_labels}> == {metric.value}")This will return the following:kafka_cluster_Partition_UnderReplicated<{'partition': '0', 'topic': 'test'}> == 0
kafka_cluster_Partition_UnderMinIsr<{'partition': '0', 'topic': 'test'}> == 0
kafka_cluster_Partition_InSyncReplicasCount<{'partition': '0', 'topic': 'test'}> == 1
kafka_cluster_Partition_ReplicasCount<{'partition': '0', 'topic': 'test'}> == 1
kafka_cluster_Partition_LastStableOffsetLag<{'partition': '0', 'topic': 'test'}> == 0As you will notice you can optionally send a metric_name and metric_labels with {} tokens in them. These
tokens are replaced at runtime by the jar so you can easily build metric names with associated labels using
the MBean properties of the values your query pulls back.You can also use the module to pull back a list of all the MBean values available in the JVM too:jmxConnection = JMXConnection("service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi")
jmxQuery = [JMXQuery("*:*")]
metrics = jmxConnection.query(jmxQuery)
for metric in metrics:
    print(f"{metric.to_query_string()} ({metric.value_type}) = {metric.value}")InstallationJust use pip to install the module in your Python environment:pip install jmxquery
Package: jmxquery-jcruz
# JMXQuery Python ModuleProvides a Python module to easily run queries and collect metrics from a Java Virtual Machine via JMX.In order to use this module, provide a list of queries, and the module will return all of the values itfinds matching the query. Please note that the interfact to the JMX uses a small jar file contained inthis module, so you will need to have java installed on the machine you're running this module on.## UsageThis example query for a Kafka server will get all cluster partition metrics:```jmxConnection = JMXConnection("service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi")jmxQuery = [JMXQuery("kafka.cluster:type=*,name=*,topic=*,partition=*",metric_name="kafka_cluster_{type}_{name}",metric_labels={"topic" : "{topic}", "partition" : "{partition}"})]metrics = jmxConnection.query(jmxQuery)for metric in metrics:print(f"{metric.metric_name}<{metric.metric_labels}> == {metric.value}")```This will return the following:```kafka_cluster_Partition_UnderReplicated<{'partition': '0', 'topic': 'test'}> == 0kafka_cluster_Partition_UnderMinIsr<{'partition': '0', 'topic': 'test'}> == 0kafka_cluster_Partition_InSyncReplicasCount<{'partition': '0', 'topic': 'test'}> == 1kafka_cluster_Partition_ReplicasCount<{'partition': '0', 'topic': 'test'}> == 1kafka_cluster_Partition_LastStableOffsetLag<{'partition': '0', 'topic': 'test'}> == 0```As you will notice you can optionally send a metric_name and metric_labels with {} tokens in them. Thesetokens are replaced at runtime by the jar so you can easily build metric names with associated labels usingthe MBean properties of the values your query pulls back.You can also use the module to pull back a list of all the MBean values available in the JVM too:```jmxConnection = JMXConnection("service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi")jmxQuery = [JMXQuery("*:*")]metrics = jmxConnection.query(jmxQuery)for metric in metrics:print(f"{metric.to_query_string()} ({metric.value_type}) = {metric.value}")```## InstallationJust use pip to install the module in your Python environment:```pip install jmxquery```
Package: jnb
jnbPowerful Jupyter Notebook Managementjnb is a Python package that empowers you to effortlesslycreate,manage, andorganizeyour Jupyter Notebooks.Easily generate new notebooks, explore existing ones, and seamlessly keep your workflow organized.Installing and Uninstalling jnb 🛠️Prerequisites:Python 3.8or later Python versions are supportedInstalling jnbpy -m pip install --upgrade jnbUninstalling jnbpy -m pip uninstall jnb 
py cache purgejnb package usage 🛈Command for creating new notebooksCreate a new notebookpy -m jnb -c file1.ipynbCreate a new notebook at specified locationpy -m jnb -c C:/users/username/.../file1.ipynbCreate multiple notebookspy -m jnb -c file1.ipynb C:/users/username/documents/file2.ipynb "C:/users/username/desktop/file_n.ipynb"Display help and usage for jnb 💡py -m jnb -hHow to contribute ❤️First of all, thank you for taking the time to contribute to this project.
We've tried to make a stable project and try to fix bugs and add new features continuously. You can help us do more.Contributing to a project on GitHub is pretty straight forward. If this is you're first time, these are the steps you should take.Fork this repo.And that's it! Read the code available and change the part you don't like! You're change should not break the existing code and should pass thetests✅.If you're adding a new functionality, start from the branchmaster. It would be a better practice to create a newbranchand work in there.When you're done, submit apull requestand for one of the maintainers to check it out. We would let you know if there is any problem or any changes that should be considered.Tests ✅We've written tests ♾️ and you can run them to assure the stability of the code, just try command. If you're adding a new functionality please write a test for it.Documentation 📜Every chunk of code that may be hard to understand has some comments above it. If you write some new code or change some part of the existing code in a way that it would not be functional without changing it's usages, it needs to be documented.Contact 📧If you have any questions, feel free to reach out to us atdevparzival404@gmail.com.License ©️jnbis licensed under the terms of theMIT license. For more details, see theLICENSE file.
Package: jnb2py
jnb2pyjnb2pyis a Python library for converting Notebooks(.ipynb) into Python (.py) files.Quickstartjnb2py requires an installation of Python 3.10 or greater, as well as pip.Installationjnb2py requires an installation of Python 3.10 or greater, as well as pip. (Pip is typically bundled with Python installations.)To install from PyPI with pip:pipinstalljnb2pyUsing nb2py in a Python ScriptTo convert a notebook, you'll need to do this.>>>fromjnb2pyimportConverter>>>file_path="/path/to/the/notebook.ipynb">>>converter=Converter(file_path)>>>output_file_name="extract_code.py">>>output_path="/path/to/the/output/destination">>>converter.convert_to_py(output_file_name,output_path)
Package: jni
jniPython bridge for the Java Native Interface.Overviewjniis a complete bridge between Python and Java JNI.It is an effort to allow python programs full access to Java JNI API.PyPI record.Documentation.jniis a lightweight Python package, based on thectypes, orcffilibrary,
or Cython wrapper (currently under development).It is done by implementing whole JNI API functionality in a clean Python instead of C/C++.jnialso contains a JNI wrapper in pure C based on Python C-API (currently under
development) - mainly for performance reasons.What is jni:jniis an effort to allow python programs full access to Java JNI API.This is achieved not through re-implementing Python, as Jython has done,
but rather through interfacing at the native level in both virtual machines.Known Bugs/Limitations :Because of lack of JVM support, you cannot shutdown the JVM and then restart it.InstallationPrerequisites:Python 3.8 or higherhttps://www.python.org/Java 11 is a primary test environment.pip and setuptoolshttps://pypi.org/project/pip/https://pypi.org/project/setuptools/To install run:python -m pip install --upgrade jniDevelopmentPrerequisites:Development is strictly based ontox. To install it run:python -m pip install --upgrade toxVisitDevelopment page.Installation from sources:clone the sources:git clonehttps://github.com/karpierz/jni.gitjniand run:python -m pip install ./jnior on development mode:python -m pip install --editable ./jniLicenseCopyright (c) 2004-2024 Adam KarpierzLicensed under CC BY-NC-ND 4.0Licensed under proprietary LicensePlease refer to the accompanying LICENSE file.AuthorsAdam Karpierz <adam@karpierz.net>Changelog1.0.0b22 (2024-01-26)Tox configuration has been moved to pyproject.tomlSetup update (now based on tox >= 4.0).Add support for Python 3.10, 3.11 and 3.12Drop support for Python 3.7Add support for PyPy 3.9 and 3.10Copyright year update.1.0.0b20 (2022-01-29)Drop support for Python 3.6Setup update.1.0.0b18 (2021-10-13)dll_path argument of load() can also be type os.PathLike.Copyright year update.Setup update.1.0.0b17 (2020-11-10)Add support for Python 3.9General update, improvements and cleanup.Setup update and improvements.Fixed docs setup.1.0.0b7 (2020-03-08)Drop support for Python2Update of license info.Setup update.1.0.0b4 (2019-07-10)Last release for Python21.0.0b3 (2018-05-22)Update of the required setuptools version.1.0.0b2 (2018-02-26)Improvement and simplification of setup and packaging.1.0.0b1 (2017-11-18)First ‘official’ version.0.1.1 (2005-10-05)Initial version.
Package: jnorm
jnormJnorm is a Python library that normalizes deeply nested JSON files into a bunch of flat files in theJSON Linesformat, generating primary keys based on the position of items. These normalized files can be easily loaded into a relational database and queried with SQL. While the queries are complex, they are at least possible.Installationvia pip:pip install jnormvia Docker:docker pull forrestbajbek2/jnorm:1.0.0How it worksConsider the following JSON:[{"name":"Bob","gender":"male","favorite_foods":["tacos","burritos"],"address":{"address_1":"1234 Main Road","address_2":"Apt A","city":"Fort Lauderdale","state":"FL","zipcode":12345}},{"name":"Alice","gender":"female","favorite_foods":["sushi","takoyami"],"address":{"address_1":"5678 Secondary Road","address_2":"Apt B","city":"San Francisco","state":"CA","zipcode":67890}}]Runningjnorm example/people.jsonyields the followingjsonlfiles:example/output/people.jsonl:{"people_id":1,"name":"Bob","gender":"male"}{"people_id":2,"name":"Alice","gender":"female"}example/output/people_address.jsonl:{"people_address_id":1,"people_id":1,"address_1":"1234 Main Road","address_2":"Apt A","city":"Fort Lauderdale","state":"FL","zipcode":12345}{"people_address_id":2,"people_id":2,"address_1":"5678 Secondary Road","address_2":"Apt B","city":"San Francisco","state":"CA","zipcode":67890}example/output/people_favorite_foods.jsonl:{"people_favorite_foods_id":1,"people_id":1,"value":"tacos"}{"people_favorite_foods_id":2,"people_id":1,"value":"burritos"}{"people_favorite_foods_id":3,"people_id":2,"value":"sushi"}{"people_favorite_foods_id":4,"people_id":2,"value":"takoyami"}Once loaded into a database, it can be queried with SQL:-- Show all favorite foodsSELECTp.idASpeople_id,p.name,p.gender,pff.valueasfavorite_foodFROMpeople_favorite_foodspffJOINpeoplepONp.people_id=pff.people_id;-- Show all addressesSELECTp.idaspeople_id,p.name,p.gender,pa.address_1,pa.address_2,pa.city,pa.state,pa.zipcodeFROMpeoplepJOINpeople_addresspaONp.people_id=pa.people_id;Running from DockerExample:dockerrun-it--rm-v/path/to/folder:/dataforrestbajbek2/jnorm:1.0.0myfile.json
Package: jnrbase
jnrbaseis a collection of common utility libraries that are used in the
Python projects that I (JNRowe) work on.  Feel free to use it — and perhaps
improve it — in your projects!jnrbaseis released under theGPL v3license.Requirementsjnrbase’s dependencies outside of the standard library are dependent on the
functionality you require, ranging from none to the following:Extra tagDependenciescolourclick≥ 7.0iso_8601ciso8601≥ 2.0.1templatehtml2text,Jinja2≥ 2.9,PygmentsIt should work with any version ofPython3.6 or newer.  Ifjnrbasedoesn’t work with the version of Python you have installed, file anissueand
I’ll endeavour to fix it.The module has been tested on Linux, and occasionally on OSX, but it should
work fine on other systems too.To run the tests you’ll needpytest.  Once you havepytestinstalled you can
run the tests with the following commands:$pytesttestsContributorsI’d like to thank the following people who have contributed tojnrbase.PatchesNathan McGregorBug reportsDelphine BeaucheminBrandon CadyIdeasRyan SuttonIf I’ve forgotten to include your name I wholeheartedly apologise.  Just drop
me amailor open anissue, and I’ll update the list!BugsIf you find any problems, bugs or just have a question about this package
either file anissueor drop me amail.If you’ve found a bug please attempt to include a minimal testcase so I can
reproduce the problem, or even better a fix!