Saravanan666/pypi-org huggingface dataset:
Package: catmass
catMassPy Qt interface for calculating the proper sample loading for XAS measurements.
GUI offers ability to account for diluents as well as complex sample inputs.Free software: GNU General Public License v3Documentation:https://catmass.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-07-12)First release on PyPI.
Package: catmeow
Catmeow simple python packageThis repo serves as an instruction on how to publish packaged to PyPIStepsconfiguring envIf you want to avoid entering your username, you can configure TestPyPI in your$HOME/.pypirc:[testpypi]
username = <USER>
password = <PASS>buildpython -m pep517.build .upload to test pypitwine upload --repository testpypi dist/*download from test pypipip install --index-url https://test.pypi.org/simple/ catmeowuninstallpip uninstall catmeowReferencesInstruction @medium
Package: catminer
catminerThe catminer package is designed to data-mine from CATIA (.CAT*) files into readable formats. CATIA is a CAD design
application developed by Dassault Systèmes.Getting StartedInstall the Python package:pip install catminerTo export data, navigate to the file or directory:cd /d pathOpen CATIA then run catminer:catminer runNote 1: CATIA may not need to be open, however, the wrong version may launch.Note 2: Pressctrl + cmomentarily to end the program gracefully. Alternatively, pressctrl + breakfor a
non-graceful exit.For help on the export options:catminer run -hwhich yields the following:usage: catminer run [-h] [-u int] [-i path] [-o path] [-t {xml,json}] [-f]
                    [--no-skips] [--active-doc]

Run catminer using these commands:

optional arguments:
  -h, --help            show this help message and exit
  -u int, --user-settings int
                        run using user-defined settings from the settings.ini
                        file
  -i path, --in-dir path
                        set the run directory
  -o path, --out-dir path
                        set the output directory
  -t {xml,json}, --file-type {xml,json}
                        choose the output file type (default: xml)
  -f, --force-export    overwrite previously exported files
  --no-skips            ignore the optimized skips - the process will take
                        much longer
  --active-doc          export the entire ActiveDocument instead of the part,
                        product, etc.The supported outputs are dependent onpyvba.CustomizationThe settings above can be customized to run by default or from custom setting groups. To customize these settings:catminer editDeveloper NotesContributors are welcome! The project ishosted on GitHub. Report
any issues atthe issue tracker, but please check to see if
the issue already exists!
Package: catnado-docgen
# catnado-docgenA Python documentation utility designed to work withmkdocs.Originally built for [gae-catnado](https://tylertrussell.github.io/gae-catnado),
but could be useful for other projects, too.Install viapip install catnado-docgen.This is a work in progress!Expect bugs and unannounced changes.Real changelog to follow.## Instructions#### In conjunction withmkdocs.yamlTo document a package in a project that has amkdocs.yamlfile, simply run:` docgen build packagename mkdocs.yml--update-pages`This scanspackagenamerecursively, extracting Python docstrings and building
Markdown source files from them.The new Markdown files are written to a folder calleddocgen-apiin yourdocs_dir(as specified inmkdocs.yml).The–update-pagesoption updates themkdocs.ymlpagesentry to contain a
nested structure of packages and submodules under the headingdocgen-api.#### Withoutmkdocs.ymlIf you want to do something else with the generated markdown documents, you can
just specify an output directory like so:docgen build packagename /my/path/hereThis will write the Markdown source to the specified directory.
Package: catnames
Cat Name GeneratorGet Awesome Random cat names!BadgesScreenshotInspired bySindresorhus's cat-namesInstall$ pip install catnamesUsageimportcatnamesasnamesprint(names.gen())#=> Daisyprint(names.genarr(3))#=> ['Oliver', 'Bella', 'Gizmo']Get HelpThere are few ways to get help:Pleasepost questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.For bug reports and feature requests, open issues.For direct and quick help, you canemail me.How to contributeHave an idea? Found a bug? Seehow to contribute.Thanks!LicenseMIT
Package: catnamescli
Cat Name Generator CLIGet Awesome Random cat names in CLI!Install$ pip install catnamescliUsage$ catnameGet HelpThere are few ways to get help:Pleasepost questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.For bug reports and feature requests, open issues.For direct and quick help, you canemail me.How to contributeHave an idea? Found a bug? Seehow to contribute.Thanks!LicenseMIT
Package: cato
CATOThis module implements the necessary routines used to embed license
informations into source code project files.
The package installation also installs a command line utility along with the
license files in textual format in a hidden directory inside the user home.LICENSECato license terms can be found in the LICENSE file distributed with the
package.INSTALLATIONafter downloading the package:$ cd cato
$ python setup.py installor via pypi automatic installation:$ pip install catoDOCUMENTAIONDeveloper documentation is distributed in html format along with the package,
and can be obtained running epydoc on the source code files:Usage: cato -l gpl-3.0 -o "John Doe" -e john@doe.com -y 2012 filename.pyCato is free software for applying licenses to your source code files. You
can customize cato changing the cato.cfg file that you find in ~/.cato/ and
adding license textual files in ~/cato/licenses/.  License files can contain
<owner> and <email> textual tags which will be replaced with cato
informations.  Embedded license versions will be applied on the first empty
line of each source file scanned, if no empty line is found, no license is
applied.  In its normal behaviour cato apply the license to the files given as
arguments on the command line, while using -d option it scans the given
directory for file extensions specified as command line arguments. If -r is
provided in conjunction with -d, all the directory tree is scanned starting
from the supplied dir.Options::-h,--helpshow this help message and exit--listLists available licenses and quit-lLICENSE,--license=LICENSEThe license name, use –list to list all licenses
available-oOWNER,--owner=OWNERthe copyright owner-eEMAIL,--email=EMAILemail contact of the copyright owner-yYEAR,--year=YEARthe copyright year, defaults to current year-dDIRECTORY,--directory=DIRECTORYa target directory where to find sources and add a
LICENSE file-ronly with -d. If set recursively parses directory tree-cCOMMENT,--comment=COMMENToverrides comment syntax
Package: catopuma
AuthorsProjectBuild StatusLicenseDocsR. BiondiCATOPUMAWindows:Ubuntu:Customizable Advanced Tensorflow Objects for Preoproces, Upload, Model and AugmentCustomizable Advanced Tensorflow Objects for Preoproces, Upload, Model and AugmentOverviewInstallationInstall with pipInstall with condaInstall from sourceTestingGetting StartedLicenseContributeHow to CommitAuthorsReferencesCitationOverviewCATOPUMA is a Python package that offers customizable advanced TensorFlow objects for tasks such as preprocessing, uploading, modeling, and augmenting. It includes several classes that facilitate the loading, augmentation, and preprocessing of images for deep learning models.The main functionalities of CATOPUMA are as follows:Feeder: This module contains claasses to helps load images batch-wise from local directories and eventuallly perform data augmentation and image preprocessing on the fly.Losses: The losses module provide a series of custom losses. The overload if the arimetic operators allows to easy combine different losses.Preprocessing: CATOPUMA provides the implementation of some classes to easily perform the basic preprocessing steps on images and labelsCore: the core functionality of catopèuma are the bastract classess providing a base for each of the basic functionality (like preprocessin, loss, data augmentation, etc.), allowing an easy customization of the various objects,,Overall, CATOPUMA simplifies the process of preparing image datasets for deep learning models by providing convenient classes and functions for loading, augmenting, and preprocessing imagesInstallationCATOPUMA offers different installation way.
The installation process is the same for each Operative SystemInstall with pippip installer is not yet availableInstall with condaconda installer is no yet availabelInstall from sourceDownload the project or the latest release:git clone https://github.com/RiccardoBiondi/CatopumaNow  install the required packages:python -m pip install -r requirements.txtAnd you are ready to build the package:python setup.py develop --userTestingWe have provide a test routine intestdirectory. This routine use:pytest >= 3.0.7hypothesis >= 4.13.0Please install these packages to perform the test.
You can run the full set of test with:python -m pytestGetting StartedLicenseTheCATOPUMApackage is licensed under the MIT "Expat" License.ContributeAny contribution is more than welcome. Just fill anissueor apull requestand we will check ASAP!How to CommitAuthorsRiccardo Biondigithub,uniboReferencesIakubovskii, P. Segmentation Models. GitHub repository (2019). https://github.com/qubvel/segmentation_modelsCitationIf you have foundCATOPUMAhelpful in your project@misc{catopuma,author={Biondi, Riccardo},title={CATOPUMA - Customizable Advanced Tensorflow Objects to Preprocess, Upload, Model and Augment},year={2023},publisher={GitHub},howpublished={\url{https://github.com/RiccardoBiondi/Catopuma}},}
Package: cator
CatorGithub:https://github.com/mouday/catorPypi:https://pypi.org/project/cator简介支持 mysql和sqlite数据库, 在现有连接对象Connection 基础上进行增强返回数据统一为dict 字典安装pipinstallcator使用示例1、获取新的连接对象指定 autocommit 模式importcator# mysqldb_url="mysql://root:123456@127.0.0.1:3306/data?charset=utf8&autocommit=true"# sqlitedb_url='sqlite:///data.db?isolation_level=null'# open Databasedb=cator.connect(db_url)# closedb.close()2、扩展现有连接DatabaseProxy类接收一个Connection对象，只需要实现以下4个方法即可classConnection(ABC):defclose(self):passdefcommit(self):passdefrollback(self):passdefcursor(self):pass2-1、扩展 peewee通过DatabaseProxy类，使得peewee原生sql查询进行增强frompeeweeimportMySQLDatabasefromcatorimportDatabaseProxyconfig={'host':'localhost','port':3306,'user':'root','password':'123456','database':'data','charset':'utf8mb4',}db=MySQLDatabase(**config)# use cator database proxydb_proxy=DatabaseProxy(db)2-2、扩展 pymysqlimportpymysqlfromcatorimportDatabaseProxyconfig={'host':'127.0.0.1','user':'root','password':'123456','database':'data','port':3306}connection=pymysql.connect(**config)proxy_db=DatabaseProxy(connection)rows=proxy_db.select('select * from person where id = :id',{'id':15})print(rows)proxy_db.close()支持的占位符无论使用什么数据库驱动都支持4种占位符：paramstylesupportMeaningexampleqmarkOKQuestion mark style...WHERE name=?numeric-Numeric, positional style...WHERE name=:1namedOKNamed style...WHERE name=:nameformatOKANSI C printf format codes...WHERE name=%spyformatOKPython extended format codes...WHERE name=%(name)s接口Database类classDatabaseProxy:deftable(self,table_name):passdefselect(self,operation,params=()):passdefselect_one(self,operation,params=()):passdefupdate(self,operation,params=()):passdefdelete(self,operation,params=()):passdefinsert(self,operation,params:Union[list,dict]):passdefinsert_one(self,operation,params:Union[tuple,dict]=()):passdefbefore_execute(self,operation,params=None):passdefafter_execute(self,cursor):passdefexecute(self,operation,params=None):passdefcursor(self,*args,**kwargs):"""return cursor object"""defconnect(self):"""connect database"""defclose(self):"""close connection"""defcommit(self):passdefrollback(self):passTable 类classTable:@propertydeftotal(self):passdefinsert(self,data:Union[dict,list]):passdefinsert_one(self,data:dict):passdefdelete_by_id(self,uid):passdefupdate_by_id(self,uid,data):passdefselect_by_id(self,uid):pass注意问题使用时需注意链接超时问题cator支持了autocommit自动提交，默认关闭，如有需要可以打开，如果需要执行事务就需要关闭自动提交cator基于以下模块进行了改进myqueryaquerypuremysqlpythink
Package: catparser
catbuffer-parserThis project is the reference parser implementation for the CATS (Concise Affinitized Transfer Schema) DSL that is used by the Symbol blockchain. The parser converts a CATS file or files into an AST that can be used by a generator to produce serialization and deserialzation code for defined objects.A reference to the DSL format can be foundhere.For a sampling of real world schemas, those used by the Symbol blockchain can be foundhere.RequirementsPython >= 3.6Installationgitclonehttps://github.com/symbol/catbuffer-parser
pip3install-rrequirements.txt
pip3install-rlint_requirements.txt# optionalUsageusage: python -m catparser [-h] -s SCHEMA -i INCLUDE [-o OUTPUT]

CATS code generator

optional arguments:
  -h, --help            show this help message and exit
  -s SCHEMA, --schema SCHEMA
                        input CATS file
  -i INCLUDE, --include INCLUDE
                        schema root directory
  -o OUTPUT, --output OUTPUT
                        yaml output fileExamplescatparsercan be used on its own to parse input files, check their validity and optionally output a YAML file containing the parsed type descriptors:gitclone--depth1--branchv3.0.0https://github.com/symbol/catbuffer-schemas.git# parse but don't output anythingpython3-mcatparser--schema../catbuffer-schemas/symbol/transfer/transfer.cats--include../catbuffer-schemas/symbol# parse and output a YAML file (deprecated)python3-mcatparser--schema../catbuffer-schemas/symbol/transfer/transfer.cats--include../catbuffer-schemas/symbol--output../catbuffer-schemas/all.yaml
Package: catpictures
Cat Pictures - Quickly open a cat picture in a new tab!Quickly open a cat picture in a new tab on your browser when you are in desperate need of cats.InstallationSimply writepip install catpicturesin your command prompt. Make sure you have the latest version of python installed.To run the script, go toC:\Users\YOURUSERNAME\AppData\Local\Programs\Python\Python37\Lib\site-packages\catpicturesand run the cat.py script.You can add a shortcut to this script to run it quicker, or run it from command prompt.
Package: catpig
catpigcatpigis amemory-hardpassword-hashing function.It usesSHAKE256to create data that will occupy memory of a given size (space_mib).The data will be read in 4096-byte chunks with a pseudo-random offset and hashed by theBLAKE2bfunction.Memory access patterns during reading of the first half of a given amount of data depend only on the salt (iMHF). Memory access patterns during reading of the second half of a given amount of data also depend the results of previous steps (dMHF).The output length is always 64 bytes.InstallpipinstallcatpigUsagefromcatpig.catpigimportcatpigderived_key=catpig(password,salt,space_mib,passes)passwordandsaltmust be bytes-like objects.space_mibdefines the memory usage in mebibytes.passesdefines the amount of data that will be read and hashed by theBLAKE2bfunction. One pass corresponds to reading a data size equal tospace_mib.Test vectors>>>fromcatpig.catpigimportcatpig>>>>>>catpig(b'',b'',space_mib=1,passes=1).hex()'831e43e4a352066a8ade279225d95e7543203cce8ce77348e4f7898741f32b9f1b8793393aa69cef84016d5f391aa9a7840050c5c59b9defd6cc324cb44e3e9a'>>>>>>catpig(password=b'password',salt=b'salt',space_mib=64,passes=4).hex()'d1999b1a7749de88ac8b6f1d8659ccf3b1c2cfe7fd84426bddc75de4b9f57bc07293cca52bb22e0915945d462bb760dfab02d78a713e65620307bc08b8fb7905'>>>>>>catpig(password=b'passphrase',salt=b'NaCl',space_mib=512,passes=8).hex()'83b6181449eb405e7bb662642090c077298e445f63846a98f18b8102df5e80f8a50dcf43f951ce8e893aac5beb23d33e5282624fd288fac4d07b8647f6c9bffe'>>>>>>catpig(password=b'new_passphrase',salt=b'SodiumChloride',space_mib=5000,passes=15).hex()'b4f96ceddf5c46380f6a425ebf2a30372cccfb3e4d7d95fd1cfc7c64910142eca3b7e61c20e32db7c97c72230c3b63abf1802dc068513297b67c274267fd1dde'WarningsThe author is not an expert in cryptography.catpighas not been independently audited.RequirementsPython >= 3.6
Package: catplist
catplistcatplistis a small python utility to print apple plists
(Information Property List)
in a readable and comprehensible manner.RationaleWhileplistutilexists to convert plists from binary to xml and vice versa plists are usually still hard to
read for humans or parse from the command line with tools like grep.catplistaims to make this task easier.
It's main focus is to print ahuman-readableand parsable representation of the plist. Additionally, plists
often contain binary data, or some strange nested key value structures originating fromNSArchiverorNSKeyedArchiverserialization.catplistaims to deliver a good readable representation by unwrapping those structures.Try it on some Metadata out of your iPhone Photo library like*.albummetadata,*.memorymetadata,*.facemetadata,*.foldermetadataor just regular*.plistfiles.For editing and more accurate/original representation of plists or search for PlistBuddy, XCode, plutil.Featureswildcard supportrecurse into directories with option--recursereads binary and xml plistsNSKeyedArchiver: unpacks NSKeyedArchiver plists that just add an layer of indirectness into the key value store.Nested plists: in some plists apple stores plist as a value.catplistunwraps those nested plists.Interpretation of some of Binary Data stored within plists, usually consisting of:UUID dataxz compressed databinary plistsUsagecatplist myplist.plist> catplist --help
Usage: catplist [OPTIONS] [FILE]...

  This is catplist: print plists for human reading and easy grepping.

Options:
  -R, --raw                       print raw plist contents, will not unpack
                                  nested data & plists
  -r, --recurse                   recurse into subdirs, reads all files ignores
                                  non plist files
  -f, --format [python|json|yaml]
                                  format output in ...
  --help                          Show this message and exit.InstallInstallation via PyPi:pip install catplistKnown Bugsvalid plists with a date in year 0 will not be read since the underlying python
datetime implementation is currently not allowing year 0 dates.
See alsoPython Issue 41083
Package: catplotlib
catplotlibMatplotlib, but for cats.Free software: MIT licenseDocumentation:https://catplotlib.readthedocs.io. Just kidding. There are no docs.FeaturesJust one:import catplotlib.catplot as clt
clt.plot()Actually, there’s a second one:import catplotlib.catplot as clt
clt.plot(says='matplotlib + cats = catplotlib')Making a ReleaseBump the version incatplotlib/__init__.pyandsetup.pyUpdate the changelog, link the versions.Commit and tag with version numberBuild a source dist withpython setup.py clean && rm dist/* && python setup.py sdistTest upload to PyPI test withtwine upload--repository-urlhttps://test.pypi.org/legacy/dist/*Create a temporary environmentmktmpenvand test install withpip install--index-urlhttps://test.pypi.org/simple/catplotlibIf everything looks good, upload for real withtwine upload dist/*History1.0.2 (2022-07-14)Document the 2nd feature.1.0.1 (2022-07-14)Increase snark on README.1.0.0 (2022-07-14)First release on PyPI.
Package: catppuccin
Catppuccin forPythonInstallationInstall withpipor your preferred dependency management tool.pipinstallcatppuccinUsageGet access to the palette with thecatppuccin.PALETTEconstant:fromcatppuccinimportPALETTEPALETTE.latte.colors.mauve.hex# '#8839ef'PALETTE.mocha.colors.teal.rgb# RGB(r=148, g=226, b=213)ThePalettedata structure matchesthe palette JSON.IterationBothPaletteandFlavorColorscan be iterated to yield flavors and colors respectively:forflavorinPALETTE:print(flavor.name)# Latte# Frappé# Macchiato# MochaforcolorinPALETTE.latte.colors:print(f"{color.name}:{color.hex}")# Rosewater: #f2d5cf# Flamingo: #eebebe# Pink: #f4b8e4# ...# Base: #303446# Mantle: #292c3c# Crust: #232634dataclassesPalette,Flavor,Coloret cetera are alldataclasses,
so you can also inspect and iterate their fields using methods from the dataclass module.For example, to list all color names and their hex codes:fromdataclassesimportfieldsfromcatppuccinimportPALETTEflavor=PALETTE.frappeforfieldinfields(flavor.colors):color=getattr(flavor.colors,field.name)print(f"{field.name}:{color.hex}")# rosewater: #f2d5cf# flamingo: #eebebe# pink: #f4b8e4# ...# base: #303446# mantle: #292c3c# crust: #232634Pygments StylesThis package provides a Pygments style for each of the four Catppuccin flavors.Install Catppuccin with thepygmentsfeature to include the relevant dependencies:pipinstallcatppuccin[pygments]The styles are registered as importlib entrypoints, which allows Pygments to
find them by name:frompygments.stylesimportget_style_by_nameget_style_by_name("catppuccin-frappe")# catppuccin.extras.pygments.FrappeStyleThe following style names are available:catppuccin-lattecatppuccin-frappecatppuccin-macchiatocatppuccin-mochaThey can also be accessed by directly importing them:fromcatppuccin.extras.pygmentsimportMacchiatoStyleIPythonA minimal configuration:c.TerminalInteractiveShell.true_color=Truec.TerminalInteractiveShell.highlighting_style="catppuccin-mocha"Putting this into yourIPython configurationand ensuringcatppuccin[pygments]is installed in the same environment will
give you Catppuccin Mocha syntax highlighting in the REPL. Seeherefor an example of a more complete configuration.ContributionIf you are looking to contribute, please read through ourCONTRIBUTING.mdfirst!DevelopmentThis project is maintained withPoetry. If you
don't have Poetry yet, you can install it using theinstallation
instructions.Install the project's dependencies including extras:poetryinstall--all-extrasCodegencatppuccin/palette.pyis generated by abuild scriptbased on the contents ofpalette.json.To update after downloading a new palette JSON file:poetry run python build.pyFormatting this file is done manually as with any other file, seeCode Standardsbelow.Code StandardsBefore committing changes, it is recommended to run the following tools to
ensure consistency in the codebase.ruffformat
ruffcheck
mypy.
pytest--covcatppuccinThese tools are all installed as part of thedevdependency group with
Poetry. You can usepoetry shellto automatically put these tools in your
path.💝 Thanks tobackwardspyCopyright © 2022-presentCatppuccin Org
Package: catppuccin-jupyterlab
Catppuccin forJupyterLabPreviews🌻 Latte🪴 Frappé🌺 Macchiato🌿 MochaUsageInstall the JupyterLab extension:pip install catppuccin-jupyterlab.Start/restart JupyterLab (jupyter lab). If it is already opened, you can reload it by executing "Reset Application State" in the Command Palette (Ctrl + Shift + C).Go to theSettings > Thememenu option and choose the desired flavor.It supports both JupyterLab v3 and v4.CustomizationBrand ColorIt is possible to choose any of the Catppucin colors as your "brand" color. The default ismauve, but you can choose your favorite to make it your way!You can specify the colors by going to theSettings > Settings Editor(orCtrl + ,), going to theTheme - Catppuccinsection, then choosing your desired color in the lists of the dropdown menu.Alternatively, you can specify the json with the settings:{"brandColor":"mauve","accentColor":"green"}[!NOTE]
Besides the "brand" color it is also possible to set the "accent" color (default is green), but it rarely appears in the JupyterLab interface.💝 Thanks toGabriel MagnoCopyright © 2021-presentCatppuccin Org