Saravanan666/pypi-org huggingface dataset:
Package: jakteristics
Documentation:https://jakteristics.readthedocs.ioGithub:https://github.com/jakarto3d/jakteristicsJakteristics is a python package to compute point cloud geometric features.Ageometric featureis a description of the geometric shape around a point based on its
neighborhood. For example, a point located on a wall will have a highplanarity.The features used in this package are described in the paperContour detection in unstructured 3D point clouds.
They are computed based on the eigenvalues and eigenvectors:Eigenvalue sumOmnivarianceEigenentropyAnisotropyPlanarityLinearityPCA1PCA2Surface VariationSphericityVerticalityNx, Ny, Nz (The normal vector)It’s inspired from a similar tool inCloudCompare.It’s implemented in cython using the BLAS and LAPACK scipy wrappers. It can use multiple cpus,
and the performance is quite good (at least twice as fast as CloudCompare).Installationpython-mpipinstalljakteristicsUsageRefer to thedocumentationfor more details.From pythonfromjakteristicsimportcompute_featuresfeatures=compute_features(xyz,search_radius=0.15,feature_names=['planarity','linearity'])CLIOnce the package is installed, you can use thejakteristicscommand:jakteristicsinput/las/file.lasoutput/file.las--search-radius0.15--num-threads4Run testspython-mpipinstall-rrequirements-dev.txtpythonsetup.pypytestHistoryUnreleased0.6.0 (2023-04-20)add: number_of_neighbors featureadd: eigenvalues and eigenvectors features0.5.1 (2023-04-11)fix: computing features when kdtree is not built from the same points for which we want to compute the featuresdrop python 3.6, add wheels for python 3.7-3.11 on linux and windows0.5.0 (2022-01-26)fix: compatibility with latest laspy version (>= 2.1.1, (2.1.0 has a bug))0.4.3 (2020-09-24)the default value when features can’t be computed should be NaN0.4.2 (2020-04-20)fix extension import statement0.4.1 (2020-04-17)fix: create parent directories for output filefix: rename –num_threads to –num-threadsfix: require laspy 1.7 for upper case names in extra dimensions0.4.0 (2020-04-16)first pypi releaseadd github actions0.3.0 (2020-04-14)add feature-names parameter to compute specific features0.2.0 (2020-04-10)fix windows compilation with openmpadd example cloudcompare scriptadd num_threads cli parameter and help documentationwrite extra dimensions in the correct order0.1.2 (2020-04-10)Fix tests0.1.1 (2020-04-10)Fix bug where single precision was used for intermediate variables0.1.0 (2020-04-10)First release
Package: jal
JALJust Another Ledger is a project for personal finance tracking.It was designed to keep records of personal incomes/spendings and investments with up-to-date information about account's balances and portfolio value.Main featuresmultiple accounts with different currencies (base currency is russian rouble but might be changed in future versions)5 types of transactions:Generic income/spending operations that may be split into several categoriesAsset and money transfers between accounts (with currency conversion if required)Buy/Sell operation for securities (jal supports stocks, ETFs, options, partial support of bonds and futures)Dividend for stocks and Interest payments for bondsCorporate actions for stocks (Split, Symbol change, Merger, Spin-Off, Stock dividend)Term deposits.basic reports:Daily history of account balance.Portfolio asset allocation for a given date.Monthly income/expenditure by category.Investment profit/loss and history of payments for an assets.Closed deals summary.stock/ETF quotes updates for US (Yahoo), EU (Euronext), CA (TSX) and RU (MOEX) exchanges traded stocksBroker statement import:Russian: Uralsib broker (zipped xls), KIT Finance (xlsx), PSB broker (xls), Open broker (xml).International: Interactive Brokers Flex statement (xml), Just2Trade (xls).Investments report for tax declaration preparation for Russia and Portugal.Russian tax estimation for open positions.experimentalDownload russian electronic slips from russian tax authority (FNS). This function requires authorization andpyzbarpackage installation for QR recognition.You may authorize via SMS, FNS personal account or ESIA/Gosuslugi. QR code may be scanned from camera, clipboard image or image file on disk.Full description is available at Github -English,РусскийSupport:jal@gmx.ruorTelegram
Package: jalali-django-admin-rangefilter
jalali-django-admin-rangefilterThis is a multilingual date range filter for django admin and it is inspired by django-admin-rangefilter.To see the jalali calendar, make sure that request's LANGUAGE_CODE contains 'fa' ('fa' for Farsi).RequirementsPython 3.5+Django 3.0+InstallationUse your favorite Python package manager to install the app from PyPI, e.g.Example:pip install jalali-django-admin-rangefilterAddrangefilter2toINSTALLED_APPS:Example:INSTALLED_APPS=(...'rangefilter2',...)Example usage in adminfromdjango.contribimportadminfromrangefilter2.filterimportDateRangeFilterfrom.modelsimportPost@admin.register(Post)classPostAdmin(admin.ModelAdmin):list_filter=(('created_at',DateRangeFilter),)[Unreleased][0.1.0] - 2020-03-05AddedInitial commit[0.1.2] - 2020-03-23FixedMultiple filters in a page previously didn't work
Package: jalali-pandas
Jalali Pandas ExtentsionA pandas extension that solves all problems of Jalai/Iraninan/Shamsi datesFeaturesSeries ExtenstionConvertstringtoJalalidate1388/03/25-->jdatetime(1388,3,25,0,0)Convertgregoriandate toJalalidatedatetime(2019,11,17,0,0)-->jdatetime(1398,8,26,0,0)ConvertJalalidate togregoriandatejdatetime(1398,10,18,0,0)-->datetim(2020,1,8,6,19)DataFrame extenstionSupport grouping byJalalidateGroup by year, month, days, ...Shortcuts for groups:ymdfor['year','month','day']and moreResampling: Convenience method for frequency conversion and resampling of time series but inJalalidateformat. (comming soon)Installationpip install -U jalali-pandasUsageJust import jalali-pandas and use pandas just use.jalalias a method for series and dataframes. Nothin outside pandas.jalali-pandasis an extentsion for pandas, that add a mehtod for series/columns and dataframes.Seriesimportpandasaspdimportjalali_pandas# create dataframedf=pd.DataFrame({"date":pd.date_range("2019-01-01",periods=10,freq="D")})# convert to jalalidf["jdate"]=df["date"].jalali.to_jalali()# convert to gregoriandf["gdate"]=df["jdate"].jalali.to_gregorian()# parse string to jalalidf1=pd.DataFrame({"date":["1399/08/02","1399/08/03","1399/08/04"]})df1["jdate"]=df1["date"].jalali.parse_jalali("%Y/%m/%d")# get access to jalali year,quarter ,month, day and weekdaydf['year']=df["jdate"].jalali.yeardf['month']=df["jdate"].jalali.monthdf['quarter']=df["jdate"].jalali.quarterdf['day']=df["jdate"].jalali.daydf['weekday']=df["jdate"].jalali.weekdayDataFrameimportpandasaspdimportjalali_pandasdf=pd.DataFrame({"date":pd.date_range("2019-01-01",periods=10,freq="M"),"value":range(10),})# make sure to create a column with jalali datetime format. (you can use any name)df["jdate"]=df["date"].jalali.to_jalali()# group by jalali yeargp=df.jalali.groupby("year")gp.sum()#group by monthmean=df.jalali.groupby('mean')#groupby year and month and daymean=df.jalali.groupby('ymd')# ormean=df.jalali.groupby(['year','month','day'])#groupby year and quartermean=df.jalali.groupby('yq')# ormean=df.jalali.groupby(['year','quarter'])راهنمای فارسیبرای مطالعه راهنمای فارسی استفاده از کتابخانه به این آدرس مراجعه کنید.معرفی بسته pandas-jalali | آموزش کار با تاریخ شمسی در pandasمعرفی بسته pandas-jalali | آموزش کار با تاریخ شمسی در pandasراهنمای ویدیوییToDos:add gregorian to Jalali Conversionadd Jalali to gregorian Conversionadd support for samplingadd date parser from other columnsadd date parser from string
Package: ja-law-parser
Japanese Law Parser法令標準 XML スキーマに準拠する XML ファイルを解析し、pydanticのモデルに変換するライブラリです。e-Gov法令検索で公開されている、日本国の法令 XML（憲法・法律・政令・勅令・府令・省令・規則）をパースし、解析結果を Python から利用することができます。内部的にpydantic-xmlを利用して XML をパースしています。Installationpippipinstallja-law-parserpoetrypoetryaddja-law-parserUsagefromja_law_parser.modelimportArticle,Chapter,Law,Paragraphfromja_law_parser.parserimportLawParserparser=LawParser()law:Law=parser.parse(path="321CONSTITUTION_19470503_000000000000000.xml")print(law.law_body.law_title.text)# => 日本国憲法chapter3:Chapter=law.law_body.main_provision.chapters[2]print(chapter3.chapter_title.text)# => 三章　国民の権利及び義務article11:Article=chapter3.articles[1]print(article11.article_title.text)# => 第十一条paragraph11:Paragraph=article11.paragraphs[0]print(paragraph11.paragraph_sentence.sentences[0].text)# => 国民は、すべての基本的人権の享有を妨げられない。print(paragraph11.paragraph_sentence.sentences[1].text)# => この憲法が国民に保障する基本的人権は、侵すことのできない永久の権利として、現在及び将来の国民に与へられる。詳細はAPI ドキュメントを参照してください。Referencee-Gov法令検索 | デジタル庁e-Gov法令検索 ヘルプ | デジタル庁e-Gov法令検索 XML一括ダウンロード | デジタル庁法令標準XMLスキーマについて | Web知財法法律等を読み解くうえで必要な基礎知識 (PDF) | 株式会社みらいpydanticpydantic-xml
Package: jalon.content
ContentsChange history1.0 (xxxx-xx-xx)Detailed DocumentationContributorsDownloadCode repository:http://svn.somewhere.com/…Questions and comments to somemailing_listReport bugs athttp://bug.somewhere.com/..Change historyChangelog1.0 (xxxx-xx-xx)Created recipe with ZopeSkel
[“”]Detailed DocumentationIntroductionThis is a full-blown functional test. The emphasis here is on testing what
the user may input and see, and the system is largely tested as a black box.
We use PloneTestCase to set up this test as well, so we have a full Plone site
to play with. Wecaninspect the state of the portal, e.g. using
self.portal and self.folder, but it is often frowned upon since you are not
treating the system as a black box. Also, if you, for example, log in or set
roles using calls like self.setRoles(), these are not reflected in the test
browser, which runs as a separate session.Being a doctest, we can tell a story here.First, we must perform some setup. We use the testbrowser that is shipped
with Five, as this provides proper Zope 2 integration. Most of the
documentation, though, is in the underlying zope.testbrower package.>>> from Products.Five.testbrowser import Browser
>>> browser = Browser()
>>> portal_url = self.portal.absolute_url()The following is useful when writing and debugging testbrowser tests. It lets
us see all error messages in the error_log.>>> self.portal.error_log._ignored_exceptions = ()With that in place, we can go to the portal front page and log in. We will
do this using the default user from PloneTestCase:>>> from Products.PloneTestCase.setup import portal_owner, default_passwordBecause add-on themes or products may remove or hide the login portlet, this test will use the login form that comes with plone.>>> browser.open(portal_url + '/login_form')
>>> browser.getControl(name='__ac_name').value = portal_owner
>>> browser.getControl(name='__ac_password').value = default_password
>>> browser.getControl(name='submit').click()Here, we set the value of the fields on the login form and then simulate a
submit click.  We then ensure that we get the friendly logged-in message:>>> "You are now logged in" in browser.contents
TrueFinally, let’s return to the front page of our site before continuing>>> browser.open(portal_url)-- extra stuff goes here --Contributors“”, AuthorDownload
Package: jalon.pas.bdd
ContentsChange historyDetailed Documentationtest setupPlugin setupContributorsDownloadCode repository:http://svn.somewhere.com/…Questions and comments to somemailing_listReport bugs athttp://bug.somewhere.com/..Change history1.0 (xxxx-xx-xx)Created recipe with ZopeSkel
[“”].Detailed DocumentationTests for jalon.pas.bddtest setup>>> from Testing.ZopeTestCase import user_password
>>> from Products.Five.testbrowser import Browser
>>> browser = Browser()Plugin setup>>> acl_users_url = "%s/acl_users" % self.portal.absolute_url()
>>> browser.addHeader('Authorization', 'Basic %s:%s' % ('portal_owner', user_password))
>>> browser.open("%s/manage_main" % acl_users_url)
>>> browser.url
'http://nohost/plone/acl_users/manage_main'
>>> form = browser.getForm(index=0)
>>> select = form.getControl(name=':action')jalon.pas.bdd should be in the list of installable plugins:>>> 'Bdd Helper' in select.displayOptions
Trueand we can select it:>>> select.getControl('Bdd Helper').click()
>>> select.displayValue
['Bdd Helper']
>>> select.value
['manage_addProduct/jalon.pas.bdd/manage_add_bdd_helper_form']we add ‘Bdd Helper’ to acl_users:>>> from jalon.pas.bdd.plugin import BddHelper
>>> myhelper = BddHelper('myplugin', 'Bdd Helper')
>>> self.portal.acl_users['myplugin'] = myhelperand so on. Continue your tests here>>> 'ALL OK'
'ALL OK'Contributors“”, AuthorDownload
Package: jalon.pas.sygefor
ContentsChange historyDetailed Documentationtest setupPlugin setupContributorsDownloadCode repository:http://svn.somewhere.com/…Questions and comments to somemailing_listReport bugs athttp://bug.somewhere.com/..Change history1.0 (xxxx-xx-xx)Created recipe with ZopeSkel
[“”].Detailed DocumentationTests for jalon.pas.sygefortest setup>>> from Testing.ZopeTestCase import user_password
>>> from Products.Five.testbrowser import Browser
>>> browser = Browser()Plugin setup>>> acl_users_url = "%s/acl_users" % self.portal.absolute_url()
>>> browser.addHeader('Authorization', 'Basic %s:%s' % ('portal_owner', user_password))
>>> browser.open("%s/manage_main" % acl_users_url)
>>> browser.url
'http://nohost/plone/acl_users/manage_main'
>>> form = browser.getForm(index=0)
>>> select = form.getControl(name=':action')jalon.pas.sygefor should be in the list of installable plugins:>>> 'Sygefor Helper' in select.displayOptions
Trueand we can select it:>>> select.getControl('Sygefor Helper').click()
>>> select.displayValue
['Sygefor Helper']
>>> select.value
['manage_addProduct/jalon.pas.sygefor/manage_add_sygefor_helper_form']we add ‘Sygefor Helper’ to acl_users:>>> from jalon.pas.sygefor.plugin import SygeforHelper
>>> myhelper = SygeforHelper('myplugin', 'Sygefor Helper')
>>> self.portal.acl_users['myplugin'] = myhelperand so on. Continue your tests here>>> 'ALL OK'
'ALL OK'Contributors“”, AuthorDownload
Package: jam65st-distributions
# distributionsThis package was made in the fulfillment of the requirements of the Udacity program: AWS Machine Learning Foundations. It is exposed in section: Introduction to Object-Oriented Programing (part 28)The package covers the usage of a Gaussian and a Binomial Class, through a general distribution common to both classes. These classes are used to define Probabilities.The code here is my implementation according to my developer experience.Enjoy it.## Files### distribution#### General Distribution
#### Binomial Distribution
#### Gaussian Distribution
#### __init__### test## Installation
It is simple such as:pip install jam65st_distributions
Package: jamaddr
Jamaddr Python PackageThis package Created by Jamison Emilio and packaged by Todd AlbistonInstallation Python3.6 and abovepip3 install jamaddrfor python 2.7.12 and above see jamaddr27https://github.com/talbiston/jamaddr27Description:Python Package adds functions to convert IP address or subnet masks to bits and bits back to IP address.fromjamaddrimportJamAddripbits=JamAddr.ip_to_bits("192.168.0.23")ipbitsreturns='11000000101010000000000000010111'fromjamaddrimportJamAddrbitsip=JamAddr.bits_to_ip("11000000101010000000000000010111")bitsipreturns='192.168.0.23'Of course you could also enter a subnet mask to convert to bits then do the same with its corresponding IP, then
work out what the network ID or Broadcast IPs would be or use your imagination on what other use cases could be.fromjamaddrimportJamAddrdefnetwork_id(ip_cidr):ip,cidr=ip_cidr.split('/')ip_bits=JamAddr.ip_to_bits(ip)[:int(cidr)]+'0'*(32-int(cidr))return'{}/{}'.format(JamAddr.bits_to_ip(ip_bits),cidr)networkID=network_id("192.168.0.23/28")print(networkID)returns=192.168.0.16/28This example above is already included as a function in this package so you could just do the following, but you get the point.fromjamaddrimportJamAddrnetworkID=JamAddr.network_id("192.168.0.23/28")print(networkID)returns=192.168.0.16/28
Package: jamaddr27
Jamaddr27 Python PackageThis package Created by Jamison Emilio and packaged by Todd AlbistonInstallation Python2.7.12 and abovepip install jamaddr27for python3.6 see jamaddrhttps://github.com/talbiston/jamaddrDescription:Python Package adds functions to convert IP address or subnet masks to bits and bits back to IP address.fromjamaddr27importJamAddripbits=JamAddr.ip_to_bits("192.168.0.23")ipbitsreturns='11000000101010000000000000010111'fromjamaddr27importJamAddrbitsip=JamAddr.bits_to_ip("11000000101010000000000000010111")bitsipreturns='192.168.0.23'Of course you could also enter a subnet mask to convert to bits then do the same with its corresponding IP, then
work out what the network ID or Broadcast IPs would be or use your imagination on what other use cases could be.fromjamaddr27importJamAddrdefnetwork_id(ip_cidr):ip,cidr=ip_cidr.split('/')ip_bits=JamAddr.ip_to_bits(ip)[:int(cidr)]+'0'*(32-int(cidr))return'{}/{}'.format(JamAddr.bits_to_ip(ip_bits),cidr)networkID=network_id("192.168.0.23/28")print(networkID)returns=192.168.0.16/28This example above is already included as a function in this package so you could just do the following, but you get the point.fromjamaddr27importJamAddrnetworkID=JamAddr.network_id("192.168.0.23/28")print(networkID)returns=192.168.0.16/28
Package: jam-ai
Jam.AIJam is an experimental collaboration tool to use multiple AI personnel together equipped with instructed function calls.Create Jam session with AIView ChangelogQuick StartfromjamimportJamfromjam.personnelimportBasicPersonnel,AutoPersonnelfromjam.instrumentimportPromptPainterjam_room=Jam(members=[BasicPersonnel.from_json(filepath='example/personnel/claude-monet.json'),# Using custom JSONBasicPersonnel.from_preset(name='pablo-picasso'),# Using example presets from GitAutoPersonnel.from_prompt(uid='wkandinsky',prompt='Wassily Kandinsky')# Using GPT to build prompt],instruments=[PromptPainter()])prompt=jam_room.compose(message='who are you!',multi=True)print(prompt)# List of Prompts from CharactersDon't forget to use your credentials. Primarily for OpenAI, the core engine of this project.https://platform.openai.com/account/api-keysexportOPENAI_KEY=YOUR_KEYInstallationpipinstalljam-ai--upgradeYou need to use Pip to install jam. Conda package is currently unavailable.RequirementsPython >= 3.8OpenAIRequestsPillowExtra Requirements for Function CallsPsycopg2PyMySQLStability SDKExtensionOptional dependencies to fit any requirement needed.pipinstalljam-ai[database]# Using Postgres, MySQL, Redis ...pipinstalljam-ai[function]# Using Extended Function Calls requiring SDKs / PackagesFor the use of other libraries, please consider to always feed in your API Keys respectively. See below for example.exportSTABILITY_KEY=YOUR_STABILITY_AI_KEY# If you are using Stability SDKexportWRITESONIC_KEY=YOUR_WRITE_SONIC_KEY# If you are using WriteSonic APIexportCUSTOM_KEY=YOUR_CUSTOM_KEY# If there are any other added functionalitiesAuthorAbhishta Gatya (Email) - Software and Machine Learning Engineer
Package: jambase-api
jambase_apiPython API wrapper for theJambase Concert APIInstallationUse the package managerpipto install jambase_api.pipinstalljambase_apiAPI KeysTo get an API key, go toJambaseand click Access API Docs in the upper right corner. As of this writing, their typical rate limit is a generous 3600 API calls per hour, which can be extended for an additional cost.Usageimportjambase_api.jambaseimportJambase# initialize jambase object with your api keyjambase=Jambase(apikey='YOUR_API_KEY_HERE')# returns list of statesstates=jambase.get_states()# search artistsartists=jambase.search_by_artist_by_name('goose')# search events by venueevents=jambase.search_events_by_artist_name('taylor swift')Development setupClone this repo and install packages listed in requirements.txtpip3install-rrequirements.txtContributingPull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.Please add or update tests as appropriate.LicenseMIT
Package: jambel
Interface to jambit’s project traffic lights.A simple example:import jambel
light = jambel.Jambel('ampel3.dev.jambit.com')
light.green.on()
light.yellow.blink()
light.red.flash()It is also possible to query the jambel’s status:status = light.status()
if stats[jambel.GREEN] == jambel.BLINK:
    print('green light is blinking!')Interested in the hardware? Contact us atinfo@jambit.com
Package: jambi
jambia peewee database migration manager (in development)AboutThepeewee ORMhas limited migration support through its extension, playhouse. ASchemaMigratoris supplied that can run schema-altering statements, but there is no concept of versioning the database. By giving your database a version number, jambi can help you keep your database schema revisions organized, and allows you to incrementally upgrade if desired.Getting Startedinstall with pippip install jambicreate a jambi config file in your favorite directorycd myproj/db && touch jambi.confsee the section entitled ‘Configuration’ to learn about what must be in jambi.confrun jambi!jambi--helpSupported Operationsinit– create the jambi table and set the version to 0inspect– return the database’s current versionlatest– retuns the latest migration versionupgrade <version>– upgrade your database to the supplied versionmakemigration– generate a new migration version from templateConfigurationJambi needs to know how to connect to your database, and where your migrations are stored, which can be conveyed though the jambi.conf configuration file.Currently jambi only supports PostgreSQL, but support for others wouldn’t be hard to implement – feel free to make a pull request!) Jambi will look for your configuration file in your current working directory.Here is an example jambi.conf, set up to connect to a vanilla postgres database:[database]database=testschema=publichost=localhostuser=postgrespassword=[migrate]location=./migrations/ContributingPull requests are welcome, and please open issues for any bugs, enhancements, or feature requests.DisclaimerI claim no responsibility for bugs or other misuse of this tool resulting in loss of data or any other unintended side-effect. This is still an alpha release, so don’t expect too much. (see: Contributing).
Package: jambottle
Jam Bottleby Natalie FearnleyA bot that announces new itch.io jam entries to a discord channelRequirementspython >= 3.8Installationpip install jambottleConfigurationConfiguration file location:"C:\Users\[username]\AppData\Local\Natalie Fearnley\jambottle\conf.json"on Windows/home/[username]/.local/share/jambottle/conf.jsonon LinuxOpen the file and add ajamurlandwebhookurl.Optionally you can set adelayto the number of minutes you want jambottle to wait between checking for new entries.An exampleconf.jsonis available in the examples directory.RunningTo run the bot just typejambottlein the command line.The bot will check for new entries (by default, every 5 minutes) and then post any new entries in the webhook channel you have provided.When the bot first runs, it will skip any previous entries, and start posting entries as they are added.If you stop and restart the bot, it will keep track of where it last left off and continue posting entries from there.If you'd like to repost all entries from the beginning, just runjambottle --catchupto reset the entry tracking.
Package: jamdict-data
Jamdict databaseA precompiled database that contains Jim Breen's JMdict, KanjiDic2, KRADFILE and JMnedict.This package is intended for using withjamdictpackage.
For more information, please visit:Jamdict documentation:https://jamdict.readthedocs.io/Jamdict on PyPI:https://pypi.org/project/jamdict/Jamdict source code:https://github.com/neocl/jamdict/Dictionary source files are available on:https://www.edrdg.org/wiki/Compiled date: 17 Apr 2021Installationjamdict-datais available on PyPI and can be installed with:pipinstalljamdict-dataThe database is also available on Google Drive:https://drive.google.com/drive/u/1/folders/1z4zF9ImZlNeTZZplflvvnpZfJp3WVLPkDevelopmentCompile Jamdict database filejamdict.dbusing jamdict libraryCompress the database using xzCopyjamdict.db.xzintojamdict_datapackage folder and run sdist commandpython3setup.pysdistDictionaries licenseAll dictionaries in this package are licensed under CC BY-SA 3.0.Read more here:https://www.edrdg.org/edrdg/licence.html