Saravanan666/pypi-org huggingface dataset:
Package: jamz
JamzJamz is a small command-line utility for renaming music files based on their tags.For example, if you run:jamz ~/Music/Nirvana/Nevermind/ '{jamz_padded_tracknumber} - {title}.flac'Your Nevermind songs will now be named:01 - Smells Like Teen Spirit.flac
02 - In Bloom.flac
03 - Come as You Are.flac
...
12 - Something in the Way / Endless, Nameless.flacInstallationpip install jamzUsageJamz takes two positional arguments, the directory to rename files in, and the template with which to rename them.
For the template, Jamz passes all the tags from each file as formatting arguments, so you can use any tag in your template that the filetype supports.
For example, when working with files that use the Vorbis comment format (FLAC, Ogg, etc.), you can use TITLE, ALBUM, DATE, etc. in your template.jamz /mymusic/ '{ARTIST} - {TITLE} - {TRACKNUMBER}.ogg'(Note: for this format specifically, jamz also supports using the lowercase version of each tag, e.g. "title")Special TagsJamz also adds a few special tags of its own. Every Jamz special tag starts withjamz.jamz_padded_tracknumber: The tracknumber (if found) padded to two digits (e.g.2->02)jamz_original_suffix: The original suffix of the file, e.g..flacif the file is namedsong.flac.Flags-r, --recursive      Recursively descend the file tree
-d, --dry-run        Print the new names of the files, but don't actually rename them
-i, --ignore-errors  Skip over files that lead to errors
-v, --verbose        Enable verbose loggingTechnical DetailsJamz usesMutagento read tags.
All non-special tags available for use in templates come from the Mutagen tags object.
Because Mutagen supports multiple tags per key, Jamz assumes the first value is canonical, and passes only that one to the template.
Package: janaf
py-janaf: Python wrapper for NIST-JANAF Thermochemical TablesFeaturesSearch compoundsParse a table aspolars.DataFrameFix some dataFix missing signNOTE: Assuming the sign is consistent with the sign immediately followingFix missing tabNOTE: Based onPDF filesIgnore comment-like linesUsagepip install janaf>>>importpolarsaspl>>>importjanaf>>>table=janaf.search(formula="CO2$")>>>table.name'Carbon Dioxide (CO2)'>>>table.formula'C1O2(g)'>>>table.dfshape:(62,9)┌────────┬────────┬─────────┬──────────────┬───┬───────────┬───────────┬─────────┬──────┐│T(K)┆Cp┆S┆-[G-H(Tr)]/T┆…┆delta-fH┆delta-fG┆logKf┆Note││---┆---┆---┆---┆┆---┆---┆---┆---││f64┆f64┆f64┆f64┆┆f64┆f64┆f64┆str│╞════════╪════════╪═════════╪══════════════╪═══╪═══════════╪═══════════╪═════════╪══════╡│0.0┆0.0┆0.0┆inf┆…┆-393.151┆-393.151┆inf┆null││100.0┆29.208┆179.009┆243.568┆…┆-393.208┆-393.683┆205.639┆null││200.0┆32.359┆199.975┆217.046┆…┆-393.404┆-394.085┆102.924┆null││298.15┆37.129┆213.795┆213.795┆…┆-393.522┆-394.389┆69.095┆null││…┆…┆…┆…┆…┆…┆…┆…┆…││5700.0┆64.68┆374.853┆317.953┆…┆-417.658┆-385.89┆3.536┆null││5800.0┆64.772┆375.979┆318.944┆…┆-418.541┆-385.324┆3.47┆null││5900.0┆64.865┆377.087┆319.92┆…┆-419.445┆-384.745┆3.406┆null││6000.0┆64.957┆378.178┆320.882┆…┆-420.372┆-384.148┆3.344┆null│└────────┴────────┴─────────┴──────────────┴───┴───────────┴───────────┴─────────┴──────┘>>>table.df.filter(pl.col("T(K)")==298.15).item(0,"delta-f H")# kJ/mol-393.522CreditFollowing files are distributed inNIST-JANAF Tables:py-janaf/janaf/janaf.jsonpy-janaf/janaf/data/NIST-JANAF Tables - CreditsNIST Standard Reference Database 13NIST JANAF THERMOCHEMICAL TABLES 1985
Version 1.0Data compiled and evaluated by
M.W. Chase, Jr., C.A. Davies, J.R. Downey, Jr.
D.J. Frurip, R.A. McDonald, and A.N. SyverudDistributed by
Standard Reference Data Program
National Institute of Standards and Technology
Gaithersburg, MD 20899Copyright 1986 by
the U.S. Department of Commerce
on behalf of the United States. All rights reserved.DISCLAIMER: NIST uses its best efforts to deliver a high quality copy of
the Database and to verify that the data contained therein have been
selected on the basis of sound scientific judgement. However, NIST makes
no warranties to that effect, and NIST shall not be liable for any damage
that may result from errors or omissions in the Database.
Package: janch
About JanchJanch is a utility that can be customized for checking anything.
It reads what it needs to check from a YAML file.FeaturesI just started the tool so the features are limited.Run a linux command and inspect its outputRun a grep command and inspect its outputGather content of a web address (http/https) and inspect the responseInstallationInstall from PyPi.. code-block:: bashpip install janchRun Help.. code-block:: bashjanch --helpRun a sample file.. code-block:: bashjanch run tests/samples/0.sample.ymlQuick StartCreate a YAML such as the following.. code-block:: bashtouch sample.yml
vim sample.yml.. code-block:: yamlcommand-example:
  gather:
    type: command
    command_str: python --version
  inspect:
    result: ^Python 3\.(.*)$

grep-example:
  gather:
    type: grep
    filepath: test.env
    search: '='
  inspect:
    result: (.*)=(.*)
    line_count: 1

webservice-example:
  gather:
    type: http
    url: http://www.example.com
  inspect:
    status: 200Create a sample file for checking.. code-block:: bashtouch test.env
vim test.env.. code-block::# File Content
Hello=worldRun Janch.. code-block:: bashjanch run sample.ymlYou should get an output that looks as follows.. code-block:: textitem                            type    field           expected                        actual                          match error
grep-example                    grep    result          (.*)=(.*)                       Hello=world                     True  False
grep-example                    grep    line_count      1                               1                               True  False
grep-example                    grep    error           NOERROR                         NOERROR                         True  False
command-example                 command result          ^Python 3\.(.*)$                Python 3.8.2                    True  False
command-example                 command error           NOERROR                         NOERROR                         True  False
webservice-example              http    status          200                             200                             True  False
webservice-example              http    error           NOERROR                         NOERROR                         True  FalseThe match column shows which of the items from the yaml behaved as expected
Package: jancode
JANcodeWhat is thisLibrary to generate barcode called JANcode.FeaturesCompatible with standard JANcode and short JANcodeCalculate checkdigitDisplay numbers below the bar JANcodeExampleimportjancodejancode.generate(4933032010579,"./img")The first argument is the JANcode, and the second argument is the directory where it will be stored.The directory to be saved can be omitted.
Package: jandd.sphinxext.ip
This is an IP address extension forSphinx. The extension provides a domainipthat allows marking IPv4 and IPv6 addresses in documentation and contains
directives to collect information regarding IP addresses in IP ranges.ContributorsJan DittbernerChanges0.6.3 - 2023-09-23re-upload with updated changelog0.6.2 - 2023-09-23remove broken Sphinx type annotation0.6.1 - 2023-01-29reupload to include namespace package0.6.0 - 2023-01-29add development documentation in development.rstuse tox as test runneradd type annotationsfix Sphinx 6 deprecation warnings0.5.1 - 2021-09-04fix anchors in links0.5.0 - 2021-09-04fix Docutils erroradapt to Sphinx 40.4.0 - 2021-01-02fix Docutils deprecation warningfix test deprecation warning from Sphinxuse pytest for testingswitch to PEP-517 build API and metadata0.3.0 - 2019-07-13update to Sphinx 2.1 API0.2.4 - 2016-05-07fix index generation issue0.2.3 - 2016-05-05fix regression in HTML builder that has been introduced in 0.2.20.2.2 - 2016-05-05fix index entries that broke the latex builder0.2.1 - 2016-05-05fix handling of invalid IP address/range valuesimplement a proper clear_doc method for the ip domain0.2.0 - 2016-05-04display IP address lists as tablessort IP address lists numericaly
Package: janehag
JanehagThis project is a part of the Datadriven Production & Distribution DepartmentProject Intro/ObjectiveThe purpose of this project is to gather all janehag specific code in one repo and share it easily across the organisation.Modulesaws.s3. Module for S3 related functions such as import, export.aws.rds. Module used to connect, import and export data from PostgreSQL databases on RDS or local docker environment.plot. Common plotting library based on plotly.InstallationA step by step series of examples that tell you how to get a development env runningSay what the step will bepip install janehagTo update janehag package please usepip install --upgrade janehagAutomated release processThis project utilized gitlab ci for automated release process. For more information see the following linkhttps://towardsdatascience.com/setup-version-increment-and-automated-release-process-591d87ea1221Contributing MembersLeads :Kasper JanehagMembers:NameRole[Kasper Janehag]Data Scientist
Package: janet
JanetJanet is a powerful python project manager that allows python developers
to focus more on scripting and less on piping packages and managing a project. janet will auto-install
pip packages when a .py file is saved and will generate a requirements.txt file
automatically, it will also monitor all your scripts for new packages and install them in the background.janet currently supportspython 3How do I use it?To get started with janet, you need to install the package:pipinstalljanetonce installed, cd to your project directory and run the following:python-mjanet-p<PROJECT_PATH,default="current directory">-s<SCRIPT>the-sflag specifies which script to run when theruncommand is issued,
this is useful if your project is a webserver. You can change the script that is run, this is discussed below in the "commands" section.you will then be greeted with a menu of commands, that's it!you can now start working on your project, create new files, delete files, do whatever it is you want, janet will silently track your project and download dependecies silently once a file is saved.NOTEwe recommand that you create your projects in a virtualenv and install janet on your virtualenv, it simplifies the scope of janet's tracking. future releases will hopefully not require this.What can janet do?janet has the following commands:- 'run' to run the script you defined using the -s flag
- 'install <PACKAGE_1> <PACKAGE_2>' to manually install packages (yuck)
- 'change-entrypoint' to change the script 'run' will run
- 'kill' to kill run if things go run
- 'menu' to see all the commands you can run
- 'exit' to stop janet (she will still love you though)oh, did we mention janet can autocomplete commands??I am seeing this weirdjrecord.json, WTH is that ?When you initialize janet in your project directory, it creates ajrecord.jsonfile that stores the last time a file was modified, when a file is saved the last modified date will also change which will notify janet to check for new packages in the saved file. a janetrecord is meant to be a simple record janet could refer to when initialized, if it is not present then janet will create a new record automatically.Oh, and it will add it to your .gitignore automatically, janet's got you!Wow, janet is truly perfect!not reaaaaaalllly, janet is still work in progress and more features will be added soon, I welcome any contributions to this repo!Janet still has some issues resolving some packages were the name of the imported module does not match the package name. Future versions will address this
Package: janggi
PyJanggiPyJanggi is a Python library for a Korean chess calledJanggi.
It provides functionalities to simulate a game, maintain a game board, list all possible moves, make a move, and validate a move.DocumentationCheck out theGitHub Pagefor package documentation.Getting StartedUsing PyJanggi in Your PackageInstall package via pip:pip install janggiImport in your Python module:import janggiYou can also import inner modules:from janggi import JanggiGame, generate_random_gameCall methods to theJanggiGameclass instance to play the game.3 public methods are:make_action(self, origin: Location, dest: Location) -> Tuple[float, bool]get_all_actions(self) -> List[Tuple[Location, Location]]get_all_destinations(self, origin: Location) -> List[Location]Check out theDocumentationsection for more detailsYou can also check out thegym-janggirepository to learn how PyJanggi package can be utilized.Testing FunctionalityPyJanggi is originally designed to be imported by other packages and provide Janggi game logic and classes, but if you want to check if the PyJanggi package is working, you can follow these steps:Clone the repository:git clone https://github.com/sungho-cho/pyjanggi.gitInstall dependencies:pip install -r requirements.txtRunmain.py:python janggi/main.pyIf you see the UI window and can navigate with left and right arrow keys, your PyJanggi package is working!ReleasesCheck out thePyPi Packagefor releases.LicenseThis package is licensed under theMIT License.
Package: jangli
JangliScopeData DefinitionData mappingConvert json to python objectConvert json or dict to model object.Supportsdictjsonjson dumpsfrom jangli.json_to_object import json_to_obj

data = '{"password": "123456", "id": 1, "name": "john"}'



class Student:
    def __init__(self):
        self.id = None
        self.name = None
        self.password = None


s = json_to_obj(data, Student)
print(s.name)Convert json to python object with static variableConvert json or dict to model object. Class containing static variablesSupportsdictjsonjson dumpsfrom jangli.json_to_object import json_to_obj

data_2 = '{"password": "123456", "id": 1, "name": "john", "school" : "SOHS"}'


class Student:
    school = None

    def __init__(self):
        self.id = None
        self.name = None
        self.password = None


s2 = json_to_obj(data_2, Student)
print(s2.school)Custom object listCreate list of similar object. Pass a model which you want create a list.
It only allows model objects which model passed whle creating list of objects.from jangli.list_of_object import ListObject


class A:
    def __init__(self, b):
        self.b = b


lt = ListObject(A)
lt.append(A(7))
lt.insert(1, A(8))

print(lt)

Output : [<__main__.A object at 0x00CA3730>, <__main__.A object at 0x00CC6E10>]Case Change to CamelCaseConverter snack case to camel case.from jangli.case_type import CamelCase


@CamelCase
class NewClass:

    def __init__(self):
        self.a = 7
        self.b = "hi"
        self.c = True
        self._from = None


new = NewClass()

print(new.__dict__)String of None to NoneChange string of None to None,EX :String of None is : x = 'None'After change : x = Nonefrom jangli.checker.none_checker import NoneChecker

@NoneChecker
class A:

    def __init__(self):
        self.b = 8
        self.c = "None"
        self.d = True


print(A().__dict__)
>>> {'b': 8, 'c': None, 'd': True}Re-Try FunctionIf a function failed one or many times, you can retry N no. of times just by passing retry_value = ?.If retry_value = 1A function will execute ones, mean while any error any occurring function will through exception.@Retry(retry_value=1)
def x_fun():
    print("Function is executing ones")If retry_value = 2A function will execute twice if first execution fails else only ones.@Retry(retry_value=2)
def x_fun():
    print("raise exception")
    raise Exception("Try twice")If  retry_value = 0A function is disabled and could not execute the function.@Retry(retry_value=0)
def x_fun():
    print("Function is disabled")MIT License : Copyright (c) 2019 Abhimanyu Haralukallu
Package: janis-pipelines.bioinformatics
Janis - Bioinformatics ToolboxThis repository is the bioinformatics toolbox forJanis.
It contains tools and data types directly related to the bioinformatics field.You can see a full list of tools in thedocumentation.Data typesThe data types are a way of encapsulating information about the file (including secondary files), and it allows clarity
when connecting inputs and steps together. Sometimes bioinformatics data types have associated files (like an indexed bam, or a fasta with various indexes); when you use these types, Janis will bundle your files together to be transported around.Indexed BamFurther information:Secondary / Accessory filesJanis is opinionated about the.baiindex for a Bam. Specifically we use the pattern:mysample.bammysample.bam.baiIf your tool expects, or creates a file in the other common format (.bamand.bai), you can use thesecondaries_present_asattribute on a:ToolInputto localise the index using a specific format (see: )ToolOutputto prepare your input for .DocumentationDocumentation is generated onJanis.
To generate new documentation you will need to:Commit your changes here,Update the submodule pointer on Janis,Checkout Janis (recursively),Run the regenerate scriptjanis/docs/regeneratedocumentation.py,Commit these changes and the documentation will autobuild on ReadTheDocs.
Package: janis-pipelines.core
Janis - CoreJanis is a framework creating specialised, simple workflow definitions that are then transpiled toCommon Workflow Language or Workflow Definition Language.The main repository can be found here:https://github.com/PMCC-BioinformaticsCore/janisDocumentation is hosted here:https://janis.readthedocs.io/This repository declares the core workflow classes for Janis.
Package: janis-pipelines.pipelines
Janis - Example PipelinesThis repository contains workflows written usingJanis.These workflows are installed by default, but are available on PIP with:pip3installjanis-pipelines.pipelinesDocumentationThese pipelines are documented with run instructions here:https://janis.readthedocs.io/en/latest/pipelines/index.htmlMore informationThese pipelines are made available through the entrypoint:janis.extension=pipelines.They can be imported in Python with the following:fromjanis_pipelinesimportWGSGermlineGATKWGSGermlineGATK().translate("wdl")PipelinesWhole genome sequencing (WGS) pipelines:GermlineGermline (GATK only)SomaticSomatic (GATK only)Other:AlignmentReference files:Tested withhg38fromGCS: Broad InstituteWGS Germline pipelineSee the -germlinefolder for more information, the workflow and CWL / WDL translations.The WGS germline pipeline takes a FASTQ pair, aligns, sorts, marks duplicates and calls variants
across GATK4, Strelka and VarDict. These variants are combined and sorted at the end.These variants were validated against theGenome in a Bottledata sets to achieve:Recall: 99.25%Precision: 92.02%These results were identical across 3 research institutes (combination of Slurm / PBS / Torque)
and Google Cloud platform. The pipeline took approximately 27-30 hours to run at a 30x coverage,
depending on the resource constraint.WGS Somatic pipeline for tumor-normal variant discoverySee thesomaticfolder for more information, the workflow and CWL / WDL translations.The WGS somatic pipeline takes normal and tumor FASTQ pairs, aligns, sorts and marks duplicates separately, and
then performs tumor-normal variant discovery across GATK4, Strelka and VarDict (in somatic modes). These variants are combined and sorted at the end.This pipeline was run successfully across a similar set of research institutes (as germline) and the cloud,
however these variants have not been validated yet.
Package: janis-pipelines.unix
Janis - UnixThis repository contains common unix tools and data types forJanis.Refer to thedocumentation.Data typesThe data types are a way of encapsulating information about a particular input or output.
Some common unix data types areCSV,TSVorTarFile. Visit the documentation for a full list.DocumentationDocumentation is generated onJanis.
To generate new documentation you will need to:Commit your changes here,Update the submodule pointer on Janis,Checkout Janis (recursively),Run the regenerate scriptjanis/docs/regeneratedocumentation.py,Commit these changes and the documentation will autobuild on ReadTheDocs.
Package: janit
JanitJanit is a Multiplexer and a “command-line environment”.
It gives you:Access to a menu for running desktop applicationsAs many terminals as you wantSimple Python methods that yield bash commandsWant it?From sourcegit clonehttps://hackersgame@bitbucket.org/hackersgame/janit.gitcd janitsudo python3 setup.py installBy handgit clonehttps://hackersgame@bitbucket.org/hackersgame/janit.gitInstall pyte, readchar, cursespip install pyte # Or install my patched version (better support for w3m) git clonehttps://github.com/ruapotato/pyteLink to binsudo ln -s /path/to/janit.py /usr/bin/janitlicenseGPL3
By David HamnerJanit Man:manual commandrun 'manual' for additional helpNavigation:ctrl + left/right to open/change terminal window (That’s the multiplexing part)ctrl + up/down with switch between terminal window and menu systemThe  from the menu without a command will switch to the Terminal tooMenu system:Run an application by entering:  nameTODO: To see the menu of installed programs hit  without textsub-menus can be seen by entering the sub-menu name(the sub-menu names will be ignore when the command is run)Target system:From the menu you can enter a path to a file (~ and ./ will be turned into an absolute path)at this point will show the applications that can run the file typeRunning a command will now pass the target into the program as an argumentRun “done” to unset the targetRun “next” to try to toggle to the next alike file.Example: a target of: “/home/Data/my Favorite Show/S01/e01.mp4” would become ../e02.mp4Run “back” to try to toggle to the previous alike file[Removed] Splitting terminals [Removed]:You can split any open terminal in janitis shown in top left most cornerseparated by spaces, will split horizontallyExample: 0 1separated by slash, will split verticallyExample: 0/1Example:Open 4 windows with Ctrl + RightRun: 1 2/3 4You should see the terminal split 4 waysRun: 1You should only see one terminal againTodo:History clear/loading when switching terminalredo  menukey up and down (in menu and as history)show apps run more often first (for auto comp).desktop with multiple entrys will not load right
Package: jank
Jank EnginePython game engine using Pyglet and Pymunk.InstallationInstall with pip:python -m pip install -U jankInstall development version:python -m pip install -U git+https://github.com/LennyPhoenix/Jank-Engine.gitTrello RoadmapJank on TrelloBasic Exampleimportjank# Import the engineclassApplication(jank.Application):PHYSICS_STEPS=5# Turn this up to increase simulation accuracy.PLAYER_SPEED=200PLAYER_JUMP=500def__init__(self):# Initialise the applicationsuper().__init__(debug_mode=True,show_fps=True)# Set the space's gravityself.physics_space.gravity=(0,-1000)# Create controls dictionaryself.controls={"left":False,"right":False}# Create the floorself.floor=jank.Entity(position=(0,-325),body_type=jank.Entity.STATIC,collider=jank.colliders.Rect(width=950,height=50))self.floor.space=self.physics_space# Create the player object. Note that the Entity class can be subclassed.self.player=jank.Entity(position=(0,0),collider=jank.colliders.Rect(width=100,height=100))self.player.space=self.physics_space# Called every 1/120 of a second. (Note this can occasionally be inaccurate.)defon_fixed_update(self,dt:float):# Step the physics simulation forwards.for_inrange(self.PHYSICS_STEPS):self.physics_space.step(dt/self.PHYSICS_STEPS)# Set the player's X velocity.vx=0ifself.controls["left"]:vx-=self.PLAYER_SPEEDifself.controls["right"]:vx+=self.PLAYER_SPEEDself.player.velocity=(vx,self.player.velocity.y)# Jump when the W key is pressed and the player is grounded.defon_key_press(self,button,modifiers):ifbutton==jank.key.Wandself.player.grounded:self.player.body.apply_impulse_at_local_point((0,self.PLAYER_JUMP))# Called as frequently as possible.defon_update(self,dt:float):# Update controls dictself.controls={"left":self.key_handler[jank.key.A],"right":self.key_handler[jank.key.D]}# Instantiate and run the application.if__name__=="__main__":application=Application()application.run()