Saravanan666/pypi-org huggingface dataset:
Package: jetson-stats
jetson-statsjetson-statsis a package formonitoringandcontrolyourNVIDIA Jetson[Orin, Xavier, Nano, TX] series.jetson-stats is a powerful tool to analyze your board, you can use with a stand alone application withjtopor import in your python script, the main features are:Decode hardware, architecture, L4T and NVIDIA JetpackMonitoring, CPU, GPU, Memory, Engines, fanControl NVP model, fan speed, jetson_clocksImportable in a python scriptDockerizable in a containerDo not need super userTested on many different hardware configurationsWorks with all NVIDIA JetpackInstalljetson-stats can be installed withpip, but needsuperuser:sudo pip3 install -U jetson-statsDon't forget tologout/loginorrebootyour board🚀 That's it! 🚀RunStart jtop it's pretty simple just writejtop!jtopA simple interface will appear on your terminal, more capabilities are documented atjtoppage.LibraryYou can use jtop such a python library to integrate in your softwarefromjtopimportjtopwithjtop()asjetson:# jetson.ok() will provide the proper update frequencywhilejetson.ok():# Read tegra statsprint(jetson.stats)You can also use jtop with yourvirualenv!More information available atadvanced usagepage.DockerYou can run directly in Docker jtop, you need only to:Install jetson-stats on yourhostInstall jetson-stats on your container as wellPass to your container/run/jtop.sock:/run/jtop.sockYou can try running this commanddocker run --rm -it -v /run/jtop.sock:/run/jtop.sock rbonghi/jetson_stats:latestMore information available atdockerdocumentation page.SponsorshipIf your company benefits from this library, please consider💖 sponsoring its development.Documentationjetson-stats has usage and reference documentation athttps://rnext.it/jetson_stats, there is also a🆘 troubleshootingpage.Communityjetson-stats has acommunity Discord channelfor asking questions and collaborating with other contributors. Drop by and say hello 👋
Package: jetson-tello
jetson-telloUtility code for using the NVIDIAJetsonandtello-asyncioto interact with theTello EDUdrone.The primary function so far is to pipe video frame data from the drone through to neural networks running on the Jetson, typically for object or face detection.Created for my autonomous drone hobby project,drone-braain, which is very much in its infancy.Packagejetson-telloon PyPi.Full documentation onRead the Docs.PrerequisitesThere are two prerequisites that require manual installation:NVIDIA'sjetson-inferenceproject, following theseinstructionsto build from source and install.My fork ofh264decoder. This is identical to theoriginal repoapart from building with the slightly old version of CMake (3.10) available on the Jetson.Example codeTheflying_drone_face_and_object_detection.pyexample demonstrates feeding video frames to object and face detection neural nets#!/usr/bin/env python3importasyncioimportjetson.inferencefromjetson_telloimportrun_jetson_tello_appface_detector=jetson.inference.detectNet("facenet",threshold=0.5)object_detector=jetson.inference.detectNet("ssd-mobilenet-v2",threshold=0.5)defdetect_faces_and_objects(drone,frame,cuda):face_detections=face_detector.Detect(cuda)object_detections=object_detector.Detect(cuda)print('faces:')fordinface_detections:print(d)print('objects:')fordinobject_detections:print(d)asyncdeffly(drone):awaitdrone.takeoff()foriinrange(4):awaitdrone.turn_clockwise(90)awaitasyncio.sleep(3)awaitdrone.land()run_jetson_tello_app(fly,process_frame=detect_faces_and_objects)Which typically outputs a stream of results like this (along with a fair amount of spam from the h.264 decoder):faces:
    <detectNet.Detection object>
       -- ClassID: 0
       -- Confidence: 0.809878
       -- Left:    434.667
       -- Top:     0
       -- Right:   702.267
       -- Bottom:  302.5
       -- Width:   267.6
       -- Height:  302.5
       -- Area:    80949
       -- Center:  (568.467, 151.25)
    objects:
    <detectNet.Detection object>
       -- ClassID: 7
       -- Confidence: 0.500977
       -- Left:    0
       -- Top:     7.30054
       -- Right:   959
       -- Bottom:  719.04
       -- Width:   959
       -- Height:  711.74
       -- Area:    682559
       -- Center:  (479.5, 363.171)Version history1.0.0Decode h.264 video frame data from the drone and load into NumPy arrays and CUDA memoryFace and object detection neural net examplesCommon Objects in Context(COCO) classes1.1.0Fly drone and process CUDA frames app utility functionDecoded frame data object
Package: jetty-core
Jetty: Full-Stack Data Access ControlInstallationInstall Jetty by runningpip install jetty-coreFirst UseOnce Jetty is installed, create a Jetty project by runningjetty new.
The application will walk you through the steps you need to connect Jetty to your data infrastructure.For instructions how how to use Jetty, seethe complete documentation.Reaching OutWe would love to know what you think! Feel free to reach out to us atsupport@get-jetty.com
Package: jewcal
JewCalConvert Gregorian to Jewish dates and get Shabbos / Yom Tov details for Diaspora and Israel.InstallationpipinstalljewcalUsageDiaspora>>>fromdatetimeimportdate>>>fromjewcalimportJewCal>>>jewcal=JewCal(date(2022,4,17))>>>print(jewcal)16Nisan5782>>>print(repr(jewcal))JewCal(year=5782,month=1,day=16,gregorian_date=datetime.date(2022,4,17),shabbos=None,yomtov='Pesach 2',category='Havdalah',diaspora=True)Israel>>>fromdatetimeimportdate>>>fromjewcalimportJewCal>>>jewcal=JewCal(date(2022,4,17),diaspora=False)>>>print(jewcal)16Nisan5782>>>print(repr(jewcal))JewCal(year=5782,month=1,day=16,gregorian_date=datetime.date(2022,4,17),shabbos=None,yomtov='Chol HaMoed 1 (Pesach 2)',category=None,diaspora=False)Possible valuesShabbosjewcal.shabbosjewcal.categoryNoneNoneErev ShabbosCandlesShabbosHavdalahYom TovDiasporajewcal.yomtovjewcal.categoryNoneNoneErev Rosh HashanaCandlesRosh Hashana 1CandlesRosh Hashana 2HavdalahErev Yom KippurCandlesYom KippurHavdalahErev SukkosCandlesSukkos 1CandlesSukkos 2HavdalahChol HaMoed 1 (Sukkos 3)NoneChol HaMoed 2 (Sukkos 4)NoneChol HaMoed 3 (Sukkos 5)NoneChol HaMoed 4 (Sukkos 6)NoneHoshana Rabba (Sukkos 7)CandlesShmini Atzeres (Sukkos 8)CandlesSimchas ToraHavdalahErev PesachCandlesPesach 1CandlesPesach 2HavdalahChol HaMoed 1 (Pesach 3)NoneChol HaMoed 2 (Pesach 4)NoneChol HaMoed 3 (Pesach 5)NoneChol HaMoed 4 (Pesach 6)CandlesPesach 7CandlesPesach 8HavdalahErev ShavuosCandlesShavuos 1CandlesShavuos 2HavdalahIsraeljewcal.yomtovjewcal.categoryNoneNoneErev Rosh HashanaCandlesRosh Hashana 1CandlesRosh Hashana 2HavdalahErev Yom KippurCandlesYom KippurHavdalahErev SukkotCandlesSukkot 1HavdalahChol HaMoed 1 (Sukkot 2)NoneChol HaMoed 2 (Sukkot 3)NoneChol HaMoed 3 (Sukkot 4)NoneChol HaMoed 4 (Sukkot 5)NoneChol HaMoed 5 (Sukkot 6)NoneHoshana Rabba (Sukkot 7)CandlesShmini Atzeret / Simchat ToraHavdalahErev PesachCandlesPesach 1HavdalahChol HaMoed 1 (Pesach 2)NoneChol HaMoed 2 (Pesach 3)NoneChol HaMoed 3 (Pesach 4)NoneChol HaMoed 4 (Pesach 5)NoneChol HaMoed 5 (Pesach 6)CandlesPesach 7HavdalahErev ShavuotCandlesShavuotHavdalah
Package: je-web-runner
WebrunnerDocumentationWebRunner Doc Click Here!Project Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1\WEB Automation.Multi WEB Automation instance at same time.Generate JSON/HTML/XML report.Multi browser support like chrome, edge, safari.Auto webdriver download.Web screenshot.Web window automation.Web input automation.Web element locate.Execute any web script.Cookie support.WebRunner script.OS Independent.Remote automation support.Project & Template support.installpip install je_web_runnerRequirespython 3.8 or laterTest onWindows 10 ~ 11osx 10.5 ~ 11 big surubuntu 20.0.4raspberry pi 3B+| All test in test dir
Package: je-web-runner-dev
WebrunnerDocumentationWebRunner Doc Click Here!Project Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1\WEB Automation.Multi WEB Automation instance at same time.Generate JSON/HTML/XML report.Multi browser support like chrome, edge, safari.Auto webdriver download.Web screenshot.Web window automation.Web input automation.Web element locate.Execute any web script.Cookie support.WebRunner script.OS Independent.Remote automation support.Project & Template support.installpip install je_web_runnerRequirespython 3.8 or laterTest onWindows 10 ~ 11osx 10.5 ~ 11 big surubuntu 20.0.4raspberry pi 3B+| All test in test dir
Package: jewels
JewelsA simple utility for encrypting/decrypting text files. It can be used for securely using applicative credentials.Jewels provides:a Command Line tool for user-driven key generation and data encryptiona Jewels Class for application-driven file decryptionEncryption is performed using AES256 in EAX Mode.Installation> pip install jewelsUsageGenerate a key file to safely store on server:> jewels-cli keygen /etc/mykeyEncrypt a text file:> jewels-cli encrypt plaintext [--dest dest-dir] /etc/mykeyEncrypt recursively all text files into a folder:> jewels-cli encrypt -r src-dir [--dest dest-dir] /etc/mykeyInside your code, access data from an encrypted file:from jewels import Jewels

jewel = Jewels('/etc/mykey')

data = jewel.decrypt('filename')
Package: jexia-cli
This is the official Jexia CLI for interacting with Jexia platform.CompatibilityJexia-CLI requires Python 2.7.15+.InstallationYou can install jexia-cli with pip:$pipinstalljexia-clior with easy_install:$easy_installjexia-cliQuick start$jexialogin$jexiahelpContributorsJexia-CLI is brought to you by @velp.Of course, everyone is welcome to contribute and we will be happy to review your
PR’s or answer to your issues.DocumentationThe documentation is hostedon Read the DocsContributionWant to contribute! That’s awesome! Check outCONTRIBUTING.rst!ChangelogRelease 1.0.0Initial release
Package: jexia-sdk
This is the official Python SDK for interacting with Jexia projects.CompatibilityJexia-SDK requires Python 2.7.15+.InstallationYou can install jexia-sdk with pip:$pipinstalljexia-sdkor with easy_install:$easy_installjexia-sdkQuick startTODOContributorsJexia-SDK is brought to you by @velp.Of course, everyone is welcome to contribute and we will be happy to review your
PR’s or answer to your issues.DocumentationThe documentation is hostedon Read the DocsContributionWant to contribute! That’s awesome! Check outCONTRIBUTING.rst!ChangelogCurrent
Package: jexifs
Image-selection based on their exifdata.Latest VersionThe latest version of this project can be found at :http://github.com/thomst/jexifs.InstallationYou need pyexiv2. To install it on Ubuntu/Debian usesudo apt-get install python-pyexiv2Option 1 : Install via pippip install jexifsOption 2 : If you have downloaded the sourcepython setup.py installDocumentationjexifs –helpusage:
  jexifs -h
  jexifs [PATH:EXT] [OPTIONS]

description:
  Image-selection based on their exifdata.


positional argument:
  PATH:EXT                  Use all files anywhere under PATH that ends on EXT.


optional arguments:
  -h, --help                Print this help message and exit.
  -v, --version             Print the program's version and exit.
  -f, --format [FORMAT]     Specify the format of the output.
  -F, --Format [FORMAT]     Jexifs checks the first line of an index-file for
                            informations that helps to interprete the lines'
                            fields. If there is no headline use --Format to
                            specify its format.
  -i, --index [FILE]        Use FILE as index instead of checking jpegs.
  -H, --headline            Print the output's format as first line.
  -s, --sort TAG            Sort all images after TAG.
                            The default order is alphanumerical in regard of the
                            filenames (using the relative path including PATH).
                            Mind that sorting is memory-expensive, because the
                            data of all jpegs (resp. of the index-file) will be
                            loaded into memory. Only use it if needed.

TAG could be path, name, date, time, datetime, exposure_time or model.
FORMAT is an arbitrary sequence of these words (e.g. -f "path - date - time")


arguments for image-selection:

  data:
  -d, --dates DATE [DATE..] Select all images captured at DATE.
  -t, --times TIME [TIME..] Select all images captured at TIME.
  -D, --datetime DATE TIME  Select all images captured at DATE TIME.
                            Use this option multiple times to specify mor than
                            one datetime.
  -e, --exposure-time SEC [SEC2]
                            Select all images whose exposure-time is SEC or
                            between SEC and SEC2.
  -m, --model [MODEL]       Select all images whose been made with MODEL.


  durations:
  -p, --plus [HOURS] [MINUTES] [SECONDS]
                            Defines a duration that starts with a specified time.
                            To be used with --times or --datetime.
  -a, --first-after         Select the first matched image for after each
                            specified time. Use --plus to specify a timespan the
                            image should be in.
                            Mind that this only gives useful results if the
                            the images are sorted by datetime.ContributionEvery kind of feedback is very welcome.Reporting BugsPlease report bugs at github issue tracker:https://github.com/thomst/jexifs/issuesAuthorthomst <thomaslfuss@gmx.de>
Thomas Leichtfußhttp://github.com/thomst
Package: jexp
jexpsynopsis:A silly little JS expression builder to let you use native Python to build Javascript expression strings.This package only allows the creation of simple (that is, non-assignment) Javascript expressions using an intuitive Python DSL.Logical Expressions>>> from jexp import J>>> e = J('var_1') & J('var_2')>>> str(e)‘(var_1&&var_2)’>>> str(e | 'abc')‘((var_1&&var_2)||”abc”)’The argument to the J class will be output as a str in the resulting JS- soJ('my_var')is a good way to refer to a var, andJ(5)to the number literal 5. If you need an actual string, you can either add the quotes yourself in the J call -J('"mystring"')- or otherwise combine the J object with a str, as shown above.Mathematical Expressions>>> str(J(5) + 28)‘(5+28)’>>> str(J('my_var') + 28)‘(my_var+28)’Division hasn’t been implemented, but other things you expect are there.Comparisons>>> e = J(5) <= 6>>> str(e)‘(5<=6)’>>> str(e == "test_string")‘((5<=6)==”test_string”)’Attribute Access>>> e = J('my_var').attribute>>> str(e)‘my_var.attribute’This should work for any attribute that doesn’t start with an underscore (and some that do).Function Calling>>> e = J('func')('a','b')>>> str(e)‘func(“a”,”b”)’You can also try this with other J objects.>>> str(J('func')(J('arg1'),J('arg2')))‘func(arg1,arg2)’
Package: jf
JFJF, aka “jndex fingers” or more commonly “json filter pipeline”, is a
jq-clone written in python. It supports evaluation of python one-liners,
making it especially appealing for data scientists who are used to
working with python.Installingpip install jfBasic usageFilter selected fields$ cat samples.jsonl | jf '{id: x.id, subject: x.fields.subject}'
{"id": "87086895", "subject": "Swedish children stories"}
{"id": "87114792", "subject": "New Finnish storybooks"}
...Featuressupported formats:json (uncompressed, gzip, bz2)jsonl (uncompressed, gzip, bz2)yaml (uncompressed, gzip, bz2)csv and xlsx support if pandas and openpyxl is installedmarkdown table output supportxlsx (excel)parquettransformations:import and use python modules with –importimport additional json for merging and joining using –import
name=filename.jsoninitialize transformations with –initaccess json dict as classes with dot-notation for attributesdatetime and timedelta comparisonage() for timedelta between datetime and current timefirst(N), last(N), islice(start, stop, step)head and tail alias for last and firstfirstnlast(N) (or headntail(N))import your own modules for more complex filtering and
transformationsSupport stateful classes for complex interactions between itemssklearn toolbox for machine learningrunning restful service for the transformation pipeline
Package: jfaleiro.pqueue
pqueueA simple priority queue for use cases in computational finance.Priority queues are one of the most commonly used structures in computational finance. One example are Central Limit Orders Books, orCLOBS, in which the priority of the execution of orders is given by an orders' price. This specific implementation uses aheap structurewhere the priority is prepended to the search key. For CLOB orders the priority is the price of an order.The original implementation of this library was done over an afternoon far back in 2016 to support agent simulations in mydoctorate thesis.SeeLICENSEfor important licensing information.Instalationpipinstalljfaleiro.pqueueOr as a dependency inpoetry:poetryaddjfaleiro.pqueue
poetryupdateUseSay for example you have any structure, like this one, to represent an order:classNewOrder(NamedTuple):""" based on https://www.fixglobal.com/home/trader-fix-tags-reading/ """side:OrderSideEnumsymbol:strquantity:intprice:Decimalid:str=Noneinstruction:OrderExecutionInstruction=OrderExecutionInstruction.ALL_OR_NONEtime_in_force:OrderTimeInForceEnum=OrderTimeInForceEnum.GOOD_TIL_CANCELtype:OrderTypeEnum=OrderTypeEnum.LIMITAnd a book with orders falling on either bid (buy orders) or asks (sell orders) side:bids=Heap()asks=Heap(reverse=True)As you probably know, thereverse=Trueis used because orders in an "asks" side are reversed, i.e. lower prices cross before higher prices.You can add new orders in either side by using apush. You need do specify anidand apriority. For example, to book a new buy order theitemis of course the order, thepriorityis the price, and theidis the order's id:bids.push(id=order.id,priority=order.price,item=order)Adding a sell order is exactly the same. Thereverse=Truetakes care of the reverse priority:asks.push(id=order.id,priority=order.price,item=order)If you have anidof a previously booked order, you can cancel orders as easily with aremove:bids.remove(id=action.id)You can verify crosses with apeek, for example, if want to verify if a cross occurred:ifasks.peek().price<=bids.peek().price:print('a cross happened!!')After which you might want to cross (execute) orders on the top of each side:ask_order=asks.pop()...bid_order=bids.pop()And that does it. It is so simple and short that you can see it as just another proof that finding the adequate patterns is 99% of any solution in engineering. Computational finance is of course no exception.You can check thisimplementation of an order bookfor a full example of use ofpqueue.
Package: jfaleiro.reactives
ReactivesA small, simple, and fast framework for reactive programmingBefore anything else make sure you read and agree with thelicense.InstallationAvailable throughpip:pipinstalljfaleiro.reactivesorpoetry:poetryaddjfaleiro.reactivesUseReactives allow for three types of bindings:pre,post, andnotify.prebindings - a chain of calls executed synchronously and in sequence before an update on state is performed. ForRreactives, the value of the last execution on pre-binding chain is kept. Special shortcuts:guard- used to establish boolean conditions for a change in state to fail.postbindings - a chain of calls executed synchronously and in sequence after an update on state is performed. For synchronous notification purposes. Exceptions and updates are ignored.notifybindings - a chain of calls executed asynchronously and after the lastpostcall is performed. For asynchronous notification purposes. Exceptions and updates are ignoredwithContext()asx:a=x.new(R,1)b=x.new(R,2)c=a+basserta.value==1assertb.value==2assertc.value==3a.pre(guard(lambdax:x>0))c.pre(guard(lambdax:x>=3))a.value=4asserta.value==4assertb.value==2assertc.value==6To Know MoreLook for plenty of examples of use under./testsas well as Jupyter notebooks on./samplesfor interactive use.Enjoy.
Package: jfaleiro.setup-scmversion
setup_scmversionBuilds a semantic version number based on information available on your scm (tag, branch, and number of commits).SeeLICENSEfor important licensing information.Instalationpipinstalljfaleiro.setup-scmversionOr as adevdependency inpoetry:poetryaddjfaleiro.setup-scmversion--dev
poetryupdateCurrently onlygitis supported.UseA semantic version number is created from standard data available in yourscm, i.e. tag, branch name, and number of commits from a tag or master. It supports a simple workflow:Versions follow a simplifiedsemantic versioningscheme.Non-production releases are produced from release branches namedrelease/<version>.Non-production releases are produced from feature-releases namedfeature/<version>.Production releases and releases candidates are generated from ataginmasterafter a release branch is merged to master. The version will match the tag.Simplest UseShould apply to most projects. Tag the current version before build or deploy using a command line:$scmversionversion0.1.1V=`scmversionversion`echo0.1.1or the type of version:$scmversionversion-type
RELEASE_BRANCHThe type of version can be one ofRELEASE,RELEASE_BRANCH,FEATURE_BRANCH, orOTHER.or even replacing version variables in files. Take for example a this filepyproject.template.toml:...[tool.poetry]name="jfaleiro.setup-scmversion"version="${POETRY_VERSION}"description='Semantic version number based on scm tags and branches'...scmversiontag-file--versionPOETRY_VERSION--pre-commitpyproject.template.tomlpyproject.tomlwill have a resulting file:...[tool.poetry]name="jfaleiro.setup-scmversion"version="0.1.1"description='Semantic version number based on scm tags and branches'...And many more. Refer to the command line help for details.$scmversion--help
usage:scmversion[-h]{version,version-type,parsers,tag-version,generate-setup,tag-file,show,check}...

Versionparserfromscm

positionalarguments:{version,version-type,parsers,tag-version,generate-setup,tag-file,show,check}versiondisplaystheversionversion-typedisplaystheversiontype(oneof['RELEASE','RELEASE_BRANCH','FEATURE_BRANCH','OTHER'])parserslistsallparsersavailabletag-versiontagsapythonpackagewithaversionfilegenerate-setupgeneratesasetuptoolscompatiblesetup.pyfiletag-filetagsafilewithversionandtypeshowshowwhatiscurrentlytaggedcheckassertsversionsonversionfileandscmarethesame

optionalarguments:Pre-commitFor use as apre-commithookadd this to your.pre-commit-config.yamlfor example:-repo:https://gitlab.com/jfaleiro.open/setup_scmversionrev:0.1.1hooks:-id:tag-version-id:tag-pyproject-id:tag-readmeVersioning SchemaRelease branchesrelease/<version>withnnndifferences from master will produce aRELEASE_BRANCHwith a version<version>-dev<nnn>Feature branchesfeature/<version>withnnndifferences from master will produce aFEATURE_BRANCHwith a version<version>-feature<nnn>A well-formed tagged version<tag>on master will produce aRELEASEversion<tag>.Everything else will produce0.0.0+master...for master or0.0.0+other...for any other branch.