Saravanan666/pypi-org huggingface dataset:
Package: themachinethatgoesping
Hi therethemachinethatgoesping(tmtgp or p!ng) is about to become a set Python libraries for enabling advanced processing strategies for multibeam and singlebeam echosounder data.Our approach is to implement core components of this library in C++ and create python interfaces using pybind11.The functionality of the c++ core components will thus also be accessibly both, from C++ and Python.However, many libraries, tools and applications will be implemented in Python directly, making use of the fast prototyping features of this language.Most of the libraries will be released using the Mozilla Public License 2.0 (MPL 2.0) which implements a non-infecting copyleft on file basis. It should thus be compatible with proprietary applications, with GPL >2.0 but also MIT and BSD projects (if the license of the files is not changes). More detailed information will follow soon.We just started with he development, so don't expect to many useful features yet.
If you are interested, contactpeter.urban@ugent.be
Package: theMadSquid
About PyPlanet Studio is a python module/library that can be used to make calculations for planets. This tool is primarily for worldbuilders who do not want to do the math on their own and want a program to do it for them. --- In PyPlanet Studio there are two kinds of things that you can do. There are functions, which will do calculations for you and return the answer. There are also components. In PyPlanet Studio components are just preset python classes. They can be used to get more information about your planet once the component is created by using things such as:myGravity.gravityormyEscape.unit. --- The full PyPlanet Studio documentation can be found at tinyurl.com/pyplanetstudiodocs, giving information about how to use functions and components and what each one does. Hope you enjoy using this python module/library, and hope you create something that you like.
Package: the-magic-lib
The Magic Library !- The library that gives you all the functions and class you need !Why ?I decided to create this project during a night at 2am after remembering the videos "Why you suck at coding" of Ben Awad, about the algorithms asked during job interviews. He showed how to resolves this algorithm problem in very stupid ways but I was thinking :Can we even do worse ?Of course you can ! It also remembers me some coding exams during college when sometimes you even have to write C or even worse Java code on paper. I also remember a friend when sometimes we discussed about how to do something and when he didn't know exactly how we could it, it just said "... then we called the magic function ..." and here it is ! The library that (will) contain all famous algorithms that you need for job interviews, college exams, or just some common algorithm you need all the time. But to keep the idea of "calling magic function", the functions be named "reverseBinaryTree" or "magicSquare" but just "magicFunction1", "magicFunction2", etc. So that if during a job interview or an exam they ask you how to reverse a binary tree in python then you can write :frommagicLibimportmagicfunction1263905reversedTree=magicfunction1263905(theTree)TodoEverything of courseFor now, I'm just writingmagicFunction1,magicFunction2etc. but I think having a code to classify the algorithm would be nice, like "the function starting by '420' are sorting algorithm"Create the ultimate functionmagicfunctionthat does whatever you want. It should be used like this :reversedTree=magicfunction("reverseBinaryTree",tree)index=magicfunction("fibonacciSearch",arr,60)...The function will just call the right function with the given parametersFunctions implementedReverse StringmagicFunction1(str)# orMagicClass.magicFunction("reverseString",str)Fibonacci SearchmagicFunction2(arr,x)# orMagicClass.magicFunction("fibonacciSearch",arr,x)FizzBuzzmagicFunction3()# orMagicClass.magicFunction("fizzBuzz")
Package: the-mask
A package to hide/mask PII information in the JSON object.Installation and usageInstallationThe-mask requires Python 3.6+ and can be easily installed using the most common Python packaging tools.We recommend installing the latest stable release from PyPI with pip:$pipinstallthe-maskUsage and documentationthe-mask is used to mask the PII or sensitive data in the JSON object
with more flexible way.frommaskimportmaskpayload={"name":"Jennifer","email""Jenn@abc.corp","salary":"250000"}data_to_mask={"name":"str",# It can also be `string`"email":"email","salary":"znumber"}result=mask(payload,data_to_mask)# Option: 1print(result)# Result:# {#     "name": "J******r",#     "email" "J**n@a**.corp",#     "salary": "0"# }# Alternative Way: If the user wanted to modify the Payload itself# Pass the inplace option as Truemask(payload,data_to_mask,inplace=True)# Option: 2print(payload)# Result:# {#     "name": "J******r",#     "email" "J**n@a**.corp",#     "salary": "0"# }How the Data to Mask param works?Type of DataExample Dict KeyValueDescriptionPlain Text values i.e., Name, Address etc.,namestrstringorstrcan be passed to determine the value is a stringEmail IDemailAddressemailemailis to mask the email id i.e.,K***n@a**.corpNumerical Valuessalaryznumberznumberis used to convert the numerical value into 0  i.e., 250000 -> 0, 10000.90 -> 0.0, "1,135,000" -> "0"Identity based Numerical Valuesidnumbernumberconverts the value into random number with equivalent length.LicenseMITCode of ConductEveryone participating inthe-maskproject, and in particular in the issue tracker,
and pull requests is expected to treat other people with respect.Give a ⭐️ if this project helped you!
Package: thematos
ThematOS: A HyFI-based library for Topic ModelingA Python Library for Topic ModelingDocumentation:https://thematos.entelecheia.aiGitHub:https://github.com/entelecheia/thematosPyPI:https://pypi.org/project/thematosThematOS is a Python library specifically designed for topic modeling, a critical method in natural language processing (NLP) and machine learning (ML) that uncovers hidden patterns and themes within extensive text data collections. The name stems from the Greek word θέματος, symbolizing the library's core focus on revealing the intrinsic structure of textual information. Built upon theHydra Fast Interface (HyFI)framework, ThematOS is a HyFI-based library, enabling seamless integration into existing HyFI-based projects or utilization as a standalone library.Citation@software{lee_2023_8248129,
  author       ={Young Joon Lee},
  title        ={ThematOS: A HyFI-based library for Topic Modeling},
  month        = aug,
  year         = 2023,
  publisher    ={Zenodo},
  version      ={v0.14.1},
  doi          ={10.5281/zenodo.8248128},
  url          ={https://doi.org/10.5281/zenodo.8248128}}@software{lee_2023_hyfi,
  author       ={Young Joon Lee},
  title        ={Lexikanon: A HyFI-based library for Tokenizers},
  year         = 2023,
  publisher    ={GitHub},
  url          ={https://github.com/entelecheia/lexikanon}}ChangelogSee theCHANGELOGfor more information.ContributingContributions are welcome! Please see thecontributing guidelinesfor more information.LicenseThis project is released under theMIT License.
Package: theme-darcula
@telamonian/theme-darculaDarcula theme for Jupyterlab. Modelled after the classic Intellij theme. Now with support for all JupyterLab 2.x, 3.x, and 4.x versions!PrerequisitesJupyterLabInstallationWithpip:pipinstalltheme-darculaWithmamba:mambainstall-cconda-forgetheme-darculaWithconda:condainstall-cconda-forgetheme-darculaFor Jupyterlab < 3jupyterlabextensioninstall@telamonian/theme-darculaDark scrollbarsEnable dark scrollbars by clicking onSettings->JupyterLab Theme->Theme Scrollbarsin the JupyterLab menus.DevelopmentFor a development install (requires JupyterLab 2.0.0 or later), do the following in the repository directory:jlpmbuild:devTo rebuild the package and the JupyterLab app:jlpmbuild
jupyterlabbuildHistoryThis was the first JupyterLab theme that included dark scrollbars. As of JupyterLab 1.0, the dark scrollbars feature from this theme was incorporated into JupyterLab core, as part of@jupyterlab/application/style/scrollbar.css.JupyterLab itself now supports dark scrollbars for dark themes in Chrome, Firefox, and Safari. Seehereandherefor more info on how this is done.
Package: theme-gallery-utils
Theme Gallery Utils are a collection of helper utilities for maintaining the theme gallery repository.ConfigurationDefine resolutions for themes in a configuration file. All settings are optional except default system and resolution. The specified paths are defaults.Example config ~/.gallery_utils:defaults:resolution:16x9system:atari2600ignored_themes:-ComicBook_4-3_SE-Wheelart-ComicBook_SE-Wheelart-primo_light-crisp_lightpaths:bin:~/binemulationstation:~/.emulationstationgallery:~/projects/es-theme-gallerylog_output:~/.cache/gallery_utilsoutput:~/.local/share/gallery_utilsthemes:~/.emulationstation/themesresolutions:16x9:height:1080width:19204x3:height:1080width:1440small:height:480width:640vertical:height:1920width:1080theme_resolutions:art-book-4-3:4x3ComicBook_4-3:4x3art-book-pocket:smalltft:smallfreeplay:smallgbz35:smallgbz35-dark:smallminilumi:smallpixel-tft:smallsimpler-turtlemini:smallvertical_arcade:verticaltheme_systems:neogeo_only:neogeovertical_arcade:atarimetro:c64Usageinstall- install and configure emulationstationopml- create an opml of all theme github repositoriespull- pull or clone all themescapture- automatically take screenshots of themescompress- compress all captured screenshotscompare- generate a report of differences between screenshots and gallery, create histograms of differences between screenshotstable- arrange the themes in a markdown table suitable for the wikiimages- write a new images.list file
Package: theme.habas34
Tell me what your product doesFeaturesCan be bullet pointsExamplesThis add-on can be seen in action at the following sites:
- Is there a page on the internet where everybody can see the features?DocumentationFull documentation for end users can be found in the “docs” folder, and is also available online athttp://docs.plone.org/foo/barTranslationsThis product has been translated intoKlingon (thanks, K’Plai)InstallationInstall theme.habas34 by adding it to your buildout:[buildout]

...

eggs =
    theme.habas34and then runningbin/buildoutContributeIssue Tracker:https://github.com/collective/theme.habas34/issuesSource Code:https://github.com/collective/theme.habas34Documentation:https://docs.plone.org/foo/barSupportIf you are having issues, please let us know.
We have a mailing list located at:project@example.comLicenseThe project is licensed under the GPLv2.ContributorsBenoit Suttor,benoit@suttor.beChangelog1.0a1 (2019-01-27)Initial release.
[bsuttor]
Package: theme-label
themeSimple CLI labeling tool for text classificationIt allows to rapidly acquire manually labeled texts without the need to setup any large-scale labeling solution.With the least requirements possible one can get an initial dataset to train text classification model.Installationpipinstalltheme-labelUsageTo usethemeyou will need:.csv table with at leasttwocolumns: the one with texts and their id'sThe following scriptfromthemeimportTheme# This is the dict that maps# what user enters to what goes# to the tableid2label={'0':'ham','1':'spam'}# Here markup session is initialized# data is loaded and everything preparedt=Theme(id2label=id2label,text_col='text',# Name of the column with textsshow_cols=['title'],# Additional fields to show during labelingunmarked_table='data.csv',# Our input tablemarked_table='markup.csv',# Output table will have same columns with additional one for labellabel_col='label',# The name of additional columnid_col='id',# The name of id column)# Here labeling session is runt.run()Labeling processThe info on number of already marked, unmarked and skipped presented to the user first. Then the available options are printed - which input stands for which class.Finally there are some additional user-defined fields and the text to label. The user is prompted to choose the label.If entered label isspace, then the text is marked as skipped and will not appear in this session.If entered label isb, then previous marked text is prompted instead of current one.If entered label isemptythe user is provided with another portion of the same text.
If the label is not in theid2labelthe user is prompted to enter the label again.Commands can be reassigned using parameters, see docstring.Advanced usageSeetheme/theme.pyfor documentation.
Package: themelog
Introthemelog is a module which sets the colour of Python terminal logging messages according to severity, using a choice of 8- and 256-colour themes. By default a colour set using 256-colour codes is used based on the base16 theme.ExampleA piece of code using the library:importloggingfromthemelogimportinit_loglogger=logging.getLogger()init_log()logger.info('Imported themelog library')logger.info('Created logger')logger.info('Initialised logging system')logger.debug('This is a debug message')logger.info('This is a info message')logger.warning('This is a warning message')logger.error('This is a error message')logger.critical('This is a critical message')UsageCallinit_log()function to enable themelog with the following optional parameters:theme(str) Name of the theme to load.light(bool) Attempt to load a version of the theme suitable for terminals with a light background colour.level(str) Set to ‘DEBUG’, ‘INFO’, ‘WARN’, ‘ERROR’ or ‘CRITICAL’ to specify minumim message level that will be logged.logfile(str) Write output to a single log file instead of console.rotating_logfile(str) Write output to daily rotating log files.rotating_logfile_count(int) Specify number of days to retain daily log files (default: 90).stdout(bool) Write terminal log to stdout instead of stderr.tz(str) Force the timezone to use for messages. Set to False for UTC.datefmt(str) Date format.debug_log(bool) Print trace messages showing how the logging is initialised.show_themes(bool) Print a list of available themes.ThemesThemes can be selected either via a parameter to theinit_logcall or by setting the environment variable THEMELOG_THEME.To see a list of available themes either look in thethemesdirectory, or set “list_themes” to True when callinginit_log(), or set the environment variable THEMELOG_THEMES before running the application.Piped outputColours are disabled if standard output is not a terminal.Environment variablesYou can set the following environment variables before startup to configure the process:THEMELOG_THEMESelect the name of the theme to use.THEMELOG_DEBUGShow additional debug messages on startup. Debug messages are written to standard output using normal print statements because they are generated before the logging system is initialised.THEMELOG_SHOW_THEMESList all available themes.Requirementsthemelog uses thefabulouslibrary to generate escape codes.CompatibilityThis code has been tested under Linux and using Python 2.7 only.ThanksThe base16 theme was designed by Chris Kempsonhttps://github.com/chriskempson/base16.Legalthemelog is copyright 2013 Mike ElsonLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this software except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: theme-material-darcula
@adhadse/theme-material-darculaA Jupyterlab theme inspired by JetBrains IDE's Darcula scheme and Material Design. Now with support for all JupyterLab 2.x, 3.x, and 4.x versions!PrerequisitesJupyterLabInstallationWithpip:pipinstalltheme-material-darculaWithconda:condainstall-cconda-forgetheme-material-darculaWithmamba:mambainstall-cconda-forgetheme-material-darculaFor Jupyterlab < 3jupyterlabextensioninstall@adhadse/theme-material-darculaDevelopmentFor a development install (requires JupyterLab 2.0.0 or later), do the following in the repository directory:jlpminstall
jlpmbuild:devTo rebuild the package and the JupyterLab app (if using Anaconda, run from specific environment, will probably require administrator priviledges):jlpminstall
jlpmbuild:prod
jlpminstall:extension
jupyterlabbuildWant to contribute?If you find any visual inconsistency that's eye soring or anything that bugs you up. Just open a new issue and let's discuss.To use the same environment as the binder demo (recommended):conda env update -n theme-material-darcula --file binder/environment.yml # create a conda env
conda activate theme-material-darcula                                    # activate itHistoryA fork oftelamonian/theme-darcula. The original theme is still available. Somewhere during the development the theme diverged from the original one in look and feel so much that I planned to ship this as a completely different package.Want to support this project? 🤔Just give the repo a star to keep the motivation going🎉!
Package: themes
themesthemes: style once, plot everywhereUniversal theme styling across the different python visualization libraries. The package also contains out-of-the-box themes (e.g., a financial news theme) for instant use.Quickstartimportthemesfromthemesimportdatasetsthemes.register()markets=datasets.load_markets()withalt.themes.enable('capon'):chart=alt.Chart(markets).mark_line().encode(x=alt.X('timestamp',title=None,axis=alt.Axis(format="%b %y")),y=alt.Y('relative_price',title="Relative Price",axis=alt.Axis(format='+%')),color='symbol',tooltip=['timestamp','symbol',alt.Tooltip('relative_price',format='+.2%')],).properties(title={"text":f"Market Indexes Change","subtitle":f"Relative to{markets['timestamp'].dt.date.min()}",},withplt.style.context('capon'):markets.pivot_table(index='timestamp',columns='symbol',values='relative_price').plot()The full example in a live notebook is providedbelow.InstallingInstall latest release version viapip$pipinstallthemesInstall latest development version viapippipinstallgit+https://github.com/gialdetti/themes.gitInstall latest development version in development modegitclonegit@github.com:gialdetti/themes.gitcdthemes
pipinstall-e.Help and SupportExamplesAll examples are located inexamplesfolder.ThemeMyBinderColabMarketsTestingAfter installation, you can launch the test suite:$pytest
Package: themesaver
What Is A Linux Rice ?A R.I.C.E (Race Inspired Cosmetic Enhancements) according to the urban dictionary is"Parts put on cars to make them look fast"In linux terms 'rice' is used to describe a person's unix desktop where someone has customized their desktop such as the icons, panels, or system interface. A great place to find different linux rice is ther/unixpornsubreddit.Why This Apps Exists ?Setting up a rice takes a lot of work. You need to install, copy the themes to their specific folders and if you find a rice you like it could be hard copying the file to the specific place if you're a noob in ricing. Wouldnt it be simple if you could just download one file which you can install on your system with one click without wasting your time copy pasting the several dotfiles and setting up the rice. For more information take a look at thewikiInstallationIf the app has intrigued you you can install it by running this command in a terminal to install themesaver.Note:Only the following Desktop environments and Windows Managers are supported:xfcexfwm4plasmakdekwinqtilegnomegnome shellawesomei3wget -qO- https://raw.githubusercontent.com/techcoder20/ThemeSaver/main/install.py | python3To Install ManuallyTo manually install ThemeSaver:sudo git clone https://github.com/techcoer20/themesaver /opt/themesaver
python3 /opt/themesaver/install.pyUninstallationIf you dont like themesaver for some reason you can uninstall by running this command in a terminal.python3 /opt/themesaver/uninstall.pyCreditsI got the icons for the app from flaticon.com so here are the attributes for them :)Icons made byFreepikfromwww.flaticon.comIcons made bybqlqnfromwww.flaticon.comIcons made byChanutfromwww.flaticon.comIcons made byKiranshastryfromwww.flaticon.comIcons made byPixel perfectfromwww.flaticon.comThis app was inspired by:https://github.com/paju1986/PlasmaConfSaver
Package: themez
# themeZhttp://themez.readthedocs.io/en/latest/ThemeZ is target to be a multi purpose theme for forhttps://wagtail.iobased on Bootstrap 4. It’s designed to use withhttps://bootswatch.comfor fast developing a site.It will integrated:Blog:https://github.com/APSL/puputeCommerce:https://github.com/django-oscar/django-oscarSome default pages like StandartPage & ContactPageRight now, it’s just a really early version and should not be used in production.
Package: themis-imager-readfile
THEMIS All-Sky Imager Raw PGM Data ReadfilePython library for reading THEMIS All-Sky Imager (ASI) stream0 raw PGM-file data. The data can be found athttps://data.phys.ucalgary.caorhttp://themis.igpp.ucla.edu/index.shtml.Supported DatasetsTHEMIS ASI raw:stream0PGM filesInstallationThe themis-imager-readfile library is available on PyPI:$python3-mpipinstallthemis-imager-readfileSupported Python Versionsthemis-imager-readfile officially supports Python 3.8+.ExamplesExample Python notebooks can be found in the "examples" directory. Further, some examples can be found in the "Usage" section below.UsageImport the library usingimport themis_imager_readfileRead a single file>>>importthemis_imager_readfile>>>filename="path/to/data/2020/01/01/atha_themis02/ut06/20200101_0600_atha_themis02_full.pgm.gz">>>img,meta,problematic_files=themis_imager_readfile.read(filename)Read multiple files>>>importthemis_imager_readfile,glob>>>file_list=glob.glob("path/to/files/2020/01/01/atha_themis02/ut06/*full.pgm*")>>>img,meta,problematic_files=themis_imager_readfile.read(file_list)Read using multiple worker processes>>>importthemis_imager_readfile,glob>>>file_list=glob.glob("path/to/files/2020/01/01/atha_themis02/ut06/*full.pgm*")>>>img,meta,problematic_files=themis_imager_readfile.read(file_list,workers=4)Read with no output>>>importthemis_imager_readfile,glob>>>file_list=glob.glob("path/to/files/2020/01/01/atha_themis02/ut06/*full.pgm*")>>>img,meta,problematic_files=themis_imager_readfile.read(file_list,workers=4,quiet=True)Read only the first frame of each file>>>importthemis_imager_readfile,glob>>>file_list=glob.glob("path/to/files/2020/01/01/atha_themis02/ut06/*full.pgm*")>>>img,meta,problematic_files=themis_imager_readfile.read(file_list,first_frame=True)Exclude reading the metadata>>>importthemis_imager_readfile,glob>>>file_list=glob.glob("path/to/files/2020/01/01/atha_themis02/ut06/*full.pgm*")>>>img,meta,problematic_files=themis_imager_readfile.read(file_list,no_metadata=True)Multiprocessing NotesIf you receive error messages about multiprocessing, be sure that your code is wrapped in amain()method. This usually resolves the issue. One example implementation is:importthemis_imager_readfiledefmain():filename="path/to/data/2020/01/01/atha_themis02/ut06/20200101_0600_atha_themis02_full.pgm.gz"img,meta,problematic_files=themis_imager_readfile.read(filename)if(__name__=="__main__"):main()DevelopmentClone the repository and install dependencies using Poetry.$gitclonehttps://github.com/ucalgary-aurora/themis-imager-readfile.git$cdthemis-imager-readfile/python$makeinstallTesting$maketest[ or do each test separately ]$maketest-flake8$maketest-pylint$maketest-pytest
Package: themispy
themispySerpente da JustiçaSeja bem-vindo(a) ao componente themispy! Este componente foi construído durante o desenvolvimento do projeto Themis para auxiliar na componentização de estruturas do projeto relacionadas ao frameworkScrapye sua extensão para utilização em conjunto com aAzure.O componente foi projetado para ser o mais simples possível e sua estrutura foi desenvolvida seguindo os padrões do próprio framework, a fim de se manter um padrão de uso e documentação, facilitando dessa maneira o desenvolvimento.Você pode acessar a documentaçãoaqui.