Saravanan666/pypi-org huggingface dataset:
Package: clang-tidy
clang-tidy Python distributionThis project packages theclang-tidyutility as a Python package. It allows you to installclang-tidydirectly from PyPI:python -m pip install clang-tidyThis projects intends to release a new PyPI package for each major and minor release ofclang-tidy.Use with pipxYou can usepipxto run clang-tidy, as well. For example,pipx run clang-tidy <args>will run clang-tidy without any previous install required on any machine with pipx (including all default GitHub Actions / Azure runners, avoiding requiring a pre-install step or evenactions/setup-python).Building new releasesTheclang-tidy-wheel repositoryprovides the logic to build and publish binary wheels of theclang-tidyutility.In order to add a new release, the following steps are necessary:Edit theversion fileto reflect the new version.Make a GitHub release to trigger theGitHub Actions release workflow. Alternatively, the workflow can be triggered manually.On manual triggers, the following input variables are available:use_qemu: Whether to build targets that require emulation (default:true)llvm_version: Override the LLVM version (default:"")wheel_version: Override the wheel packaging version (default"0")deploy_to_testpypi: Whether to deploy to TestPyPI instead of PyPI (default:false)The repository with the precommit hook is automatically updated using a scheduled Github Actions workflow.AcknowledgmentsThis repository extends the great work of several other projects:clang-tidyitself isprovided by the LLVM projectunder the Apache 2.0 License with LLVM exceptions.The build logic is based onscikit-buildwhich greatly reduces the amount of low level code necessary to packageclang-tidy.Thescikit-buildpackaging examples ofCMakeandNinjawere very helpful in packagingclang-tidy.The CI build process is controlled bycibuildwheelwhich makes building wheels across a number of platforms a pleasant experience (!)We are grateful for the generous provisioning with CI resources that GitHub currently offers to Open Source projects.
Package: clang-tools
Install clang-tools binaries (clang-format, clang-tidy, clang-query and clang-apply-replacements) with pip.ImportantThis package only manages binary executables (& corresponding symbolic links) that
are installed using this package’s executable script. It does not intend to change or
modify any binary executable installed from other sources (like LLVM releases).FeaturesBinaries are statically linked for improved portability.Binaries can be specified installed for increased flexibility.Binaries are checked with SHA512 checksum. This ensures:Downloads are not corrupted.Old binary builds can be updated.Installed binaries are symbolically linked for better cross-platform usage.
For example (on Windows), theclang-tidy-13.exebinary executable can
also be invoked with the symbolic link titledclang-tidy.exeNoteTo create symbolic links on Windows, you must enable developer mode
from the Windows settings under “Privacy & security” > “For developers”
category.Customizable install path.InstallTipIt is recommended to use this package in a virtual environment.# create the virtual env in the working directorypython-mvenvenv-name# to activate on Linux:sourceenv-name/bin/activate# to activate on Windows:./env-name/Scripts/activateThis will ensure thatthere are no permission problems when installing the toolthe installed path (for MacOS and Windows) is within the environment’s
variablePATH.Installclang-toolscommand with pippipinstallclang-toolsInstallclang-toolsfrom git repopipinstallgit+https://github.com/cpp-linter/clang-tools-pip.git@mainUsageFor a list of supported Command Line Interface options, seethe CLI documentationExamplesUseclang-toolscommand to install version 13 binaries.clang-tools--install13Or install to a specified directoryclang-tools--install13--directory.Or install a specified tool, such as clang-format and clang-query version 14.clang-tools--install14--toolclang-formatclang-queryIf the installed directory is in your path, you can run the installed tools.clang-format-13--versionclang-formatversion13.0.0clang-tidy-13--versionLLVM(http://llvm.org/):LLVMversion13.0.0Optimizedbuild.Defaulttarget:x86_64-unknown-linux-gnuHostCPU:skylakeSupported versionsclang-format, clang-tidy, clang-query, clang-apply-replacementsVersion1716151413121110987Linux✔️✔️✔️✔️✔️✔️✔️✔️✔️✔️✔️Windows✔️✔️✔️✔️✔️✔️✔️✔️✔️✔️✔️macOS✔️✔️✔️✔️✔️✔️✔️✔️✔️✔️✔️WarningAll clang-tidy v14+ builds for MacOS are still ~1.7 GB in size.Thanks to the projectclang-tools-static-binaries.
We now used thefork repositorythat fixed the clang-tidy v14+ Segmentation fault (core dumped). see#56for details.
Package: clank
Clank=====A library to quickly build monolithic commandline tools.Standard Example----------------This creates a tool with a `hello` command which prints "Hello, world!":from clank import Command, HelpCommand, Manager, UsageCommand```pythonclass HelloCommand(Command):"""Say hello."""name = 'hello'def run(self, args):print("Hello, world!")if __name__ == '__main__':Manager([HelloCommand, HelpCommand, UsageCommand]).run()```Argument Example----------------The `ArgumentCommand` class uses `argparse` to parse commandline arguments.This code reimplments the `HelloCommand` class to accept a name as an option:```pythonfrom clank import ArgumentCommand, HelpCommand, Manager, UsageCommandclass HelloCommand(ArgumentCommand):"""Say hello."""name = 'hello'def add_arguments(self):self.argparser.add_argument('-n', '--name', dest='name', nargs=1, default='world',help="The name to run the app in.")def run(self, args):self.parse_args(args)print("Hello, {}!".format(self.options.name))if __name__ == '__main__':Manager([HelloCommand, HelpCommand, UsageCommand]).run()```License-------Copyright (c) 2014 Ryan Bourgeois. This project and all of its contents islicensed under the BSD-derived license as found in the included [LICENSE][1]file.[1]: https://github.com/BlueDragonX/clank/blob/master/LICENSE "LICENSE"
Package: clannotation
CLAnnotator: Crossref Labs AnnotatorCLAnnotator is the module that Crossref Labs uses to decorate the experimental API.This is a prototype Crossref Labs system. It is not guaranteed to be stable and the metadata schema and behaviour may be subject to change at any time.InstallationTo install the CLAnnatator module, simply use the following pip command:pip install clannatatorNotesISSN identifiers are normalized to remove hyphens and to capitalize the final X where it occurs.LicenseCLAnnotator is released under theMIT License.© Crossref 2023
Package: clans
Clans is a command-line client for theGrinnellPlanssocial network.InstallationUsingpip:$pipinstallclansDocumentationRead the user guide athttp://clans.readthedocs.org/.Release History0.3.0 (2016-06-14)Clans now displays “Last Updated” and “Last Login” timestamps in
your local timezone (or some other one you configure).Addedtimezoneanddate_formatconfig optionsScrAPI now returns Python datetime objects for time-related data,
in the UTC time zone. A newtimezonekeyword argument specifies
which zone the server is assumed to be in when making this conversion.Fixed a bug that prevented clans from logging in after 2016-06-14Miscellaneous structural changes0.2.1 (2015-01-03)Bug fix in HTTPS handling0.2.0 (2014-09-25)Added ability to use HTTPS and verify the certificateScrAPI change: always retrieve server-side MD5 hashSupport for Python 3.40.1.0 (2014-04-01)Initial public release
Package: clap-api
# RedCLAP - Command Line Arguments Parser (Redesigned)CLAP aims at being powerful and advanced command line interface library for Python 3 language.
Having built-in support for modes, optional and obligatory options,
options with arguments (with type-checking with arbitrary types) it enables programmers to
create rich command line interfaces for Python 3 programs.## Features of CLAP:support for single-level and nested modes (with per-mode and global options),support for grouped short options (ls -lhR),support for long options with or without equal-sign-connected arguments (–log=./file.logand–log ./file.logare both correct),support for option aliases (short/long names),support for typed arguments (str,int,floatbuilt-in and other arbitrary types via callbacks),built-in type checking of option arguments,support for multiple arguments for options (e.g.–point 0 0),checking for missing arguments with options which require them,checking for conflicting options (eg.–quietmust not come with option–verbose),support for options that MUST be passed to the program,support for optionsrequired byother options (e.g.–keyrequires–value),support for optionswanted byother options (e.g.–whichwants–thisor–thator both),good set of exceptions with detailed error messages,ability to load interface from JSON descriptions,automatic generation of help screens (foryour-tool helpcommand) with per-mode, per-option, and per-operand descriptions,
usage examples, and moreCLAP is not the most easy to use command line arguments parser for Python, but I am quite confident that it is one
of the most powerful (if notthemost powerful) framework for writing command line interfaces.
With excellent support for modes, options, and operands, automatic input verification, and help screen generation you
get a big return on your investment.## ManualThere is a manual which you may be interested in located inmanual/directory.## LicenseRedCLAP is published under GNU GPL v3 or GNU LGPL v3 (or any later version of one of this licenses).
Package: clapperboard
Want to record yourself playing over a backing track but want to use your
quality soundcard input instead of your camcorder’s crappy audio? No problem,
we’ve got you covered!Clapperboard is a thin wrapper around MoviePy that lets you synchronize your
video and audio by using a clapperboard-like technique. If you don’t know what
I’m talking about, have a look at this post
->http://www.learningguitarnow.com/blog/recording/how-to-record-a-video-while-playing-over-a-backing-track/Instead of using a pricy UI based NLE, you can instead use this handy command
line script to sync your video and audio tracks.InstallationClone this repo and runpip install clapperboard.UsageSyncOnce you figure out the precise moment where you made your “clapperboard” sound
with your instrument for both tracks, you can replace your video’s audio with
your real audio track by runningclapsync.Syntax:clapsync audio_filename video_filename video_start audio_start out_filenameExample:clapsync guitar_solo.mp4 guitar_solo.wav 15.32 2.45 guitar_solo_sync.mp4CropOnce you’ve sync’d your video and audio tracks, you may want to remove the
part of the video where you signal with your “clapperboard” sound (apart from
the part of the video where you stretch yourself onto the keyboard to stop
recording). Clapperboard comes with another utility that lets you crop the video
from both sides and (optionally) add fadein/fadeout effects.Syntax:clapcrop filename out_filename start_seconds end_seconds fadein_seconds fadeout_secondsExample:clapcrop guitar_solo.mp4 guitar_solo.mp4 2 49 1 3TODOPEP8 cleanupCommand-line arguments cleanup
Package: clappform
ClappformClappformis a wrapper for a Clappform B.V. API written in Python.>>>fromclappformimportClappform>>>importclappform.dataclassesasr>>>c=Clappform("https://app.clappform.com","j.doe@clappform.com","S3cr3tP4ssw0rd!")>>>apps=c.get(r.App())>>>forappinapps:...print(app.name)'Clappform''Default'Clappform allows you to interact with the Clappform API for a given domain. For many of the resources that the Clappform API provides the simpleget,create,updateanddeletemethods can be used. Authentication is done transparently, so there is no need to manually authenticate.Developer interface is available onRead The Docs
Package: claptcha
A simple CAPTCHA image generator.This module provides a single class (Claptcha) that can create on the fly
PIL Image instances, BytesIO objects or save image files containing a simple
CAPTCHA strings. Its build on top of Pillow package.It is required that user provides a TTF file with font to be used in images
and either a string with CAPTCHA text or a callable object returning strings
to be used in images.Examples:>>> from claptcha import Claptcha
>>>
>>> # Initialize Claptcha object
>>> c = Claptcha("Text", "FreeMono.ttf")
>>>
>>> # Create a PIL Image object, return it and provided text
>>> c.image
('Text', <PIL.Image.Image image mode=RGB size=200x80 at 0xB741406C>)
>>>
>>> # Create a BytesIO object, return it and provided text
>>> c.bytes
('Text', <_io.BytesIO object at 0xb71e87dc>)
>>>
>>> # Save image in 'claptcha.png' file, return its path and provided text
>>> c.write('claptcha.png')
('Text', 'test.png')
>>>
>>> def captchaStr():
...     return "TextFromFunc"
...
>>> # Redefine c: change its size to 100x30, use bicubic resampling filter
>>> # and add white noise
>>> from PIL import Image
>>> c = Claptcha(captchaStr, "FreeMono.ttf", (100,30),
...              resampling=Image.BICUBIC, noise=0.3)
>>> c.image
('TextFromFunc', <PIL.Image.Image image mode=RGB size=100x30 at 0xB73EE66C>)
Package: claptrap
claptrapI'll stop talking when I'm dead!Generate random phrases using bigram frequencies. Counts some punctuation as objects when creating bigrams so it includes realistic punctuation.Useful if you want something maybe humorous to put into text fields other than totally random strings.CLI$claptrapdrac-l40-n5
Sighted.Here;iftryingtopullthemov
Thehorribledoubthimselfshonewithmo
Concealmentofdespairseizedsomeislan
Ofthemontheroomwithastoreylowers
Whom?HemadepetsofmyveryhappylookFree-stylewub wub$claptrapwub-l10-50-n5
WUB;WubwuBwUBwUBWub
wUb.wUBWub;WuB?
WUB:wubWuBWUbWubWUbwuBWUB:wUBWUBWuB
wUBWuBwUB,wUbWUB.
WUbWUBwUBwuBWUBWuBLibraryimportclaptrapphrasegen=claptrap.GraphPhraseGenerator.from_resource('dracula')for_inrange(10):print(phrasegen.phrase([60,80])Should tear or to the world! Jack, a little bargaining he remembered
Me what steps, as poor Harker's hand. Shall, and fed the left
Out two, and thicker and go to notice any particular part of
His wife dead! And feed! Oh, as much. I knew that churchyard
He said solemnly as we should have, but flew to cheer each of
His where to the snow, but we destroyed them both hands all my
Eyes closed behind us so thankful to two atmospheres, with the
Driver with dust had better not. The hand; instantly formed round
Her. He ask me. I told me not move forward hesitatingly; and
A few people are well, we have to home with the tide, for you
Package: clara-ai
CLARA: Code Language Assistant & Repository Analyzer 📜🔍🤖Clara is a tool to help developers understand and work with a code repository.Note that creation of the vector database from the code is done only the first time you open the chat in the code repository. Subsequent chats will use the preloaded database, ensuring faster response times."https://user-images.githubusercontent.com/538203/232823179-586ef7be-370c-4e65-8cf7-913d066ad2c3.mp4This project is currently in its early stages of development and is considered a work in progress. You may encounter some issues, or incomplete features. We appreciate your understanding and patience as we continue to refine and enhance the project. Your feedback will help us improve and shape this project.OverviewClara is an AI-driven solution created to help developers effortlessly explore new or unfamiliar code repositories. It proves especially beneficial during the onboarding phase for new projects or when decoding legacy code.Moving forward, Clara aims to offer assistance in various tasks, including documentation, auditing, and feature development, among others.FeaturesIntelligent code and documentation analysis.Integrated DatabaseUtilizes local storage throughChromaDB.Maintains data persistence for individual code repositories.Offers optional in-memory storage without persistence.Context-aware short-term memory: Gathers information from ongoing conversations.InstallWith:pipx install clara-aiOr:pip3 install clara-aiUsageFirstly, set an environment variable with your OpenAI API key:export OPENAI_API_KEY="XXXXXX"Then, use the command:$ clara chat [PATH]If the path is omitted then '.' will be used.To exit useCTRL-D, or commands/quitor/exit.All commands:ask
       Ask a question about the code from the command-line.

     chat
       Chat about the code.

     clean
       Delete vector DB for a given path.

     config
       Show config for a given path.Chat commandsDuring chat you can also use this commands:/context -- show the context for the last answer

/edit    -- open editor to edit the message

/quit
/exit    -- exit (you can use also CTRL-C or CTRL-D)

/help    -- show this messageConfigurationRunclara configto know from where the program is going to read the configuration. Usually this path is going to be/.config/clara/clara.yaml.For now, there is only a couple of parameters. This is a sample configuration with the default values:llm:
  model: gpt-3.5-turbo
index:
  # similarity or mmr
  search: similarity
  k: 5Change the model forgpt-4if you have access to it.CacheVector DB and chat history are stored in a cache directory, per code analyzed. Useclara configto know the path to this directory.You can remove manually this directory, if you want to refresh the data stored, or simply use the commandclara clean.If you want to chat with the code without reading/storing the vector DB (using the DB in memory), use the commandclara [PATH] --memory-storage.RoadmapShort-term historyConfigurable LLMAgentAccess to filesystemFeaturesWork with remote Git repositoriesDocument code with docstringsTest creationAudit codeRefactoring
Package: clarabel
Interior Point Conic Optimization for Rust and PythonFeatures•Installation•License•DocumentationClarabel.rsis a Rust implementation of an interior point numerical solver for convex optimization problems using a novel homogeneous embedding.  Clarabel.rs solves the following problem:$$
\begin{array}{r}
\text{minimize} & \frac{1}{2}x^T P x + q^T x\\[2ex]
\text{subject to} & Ax + s = b \\[1ex]
& s \in \mathcal{K}
\end{array}
$$with decision variables
$x \in \mathbb{R}^n$,
$s \in \mathbb{R}^m$
and data matrices
$P=P^\top \succeq 0$,
$q \in \mathbb{R}^n$,
$A \in \mathbb{R}^{m \times n}$, and
$b \in \mathbb{R}^m$.
The convex set $\mathcal{K}$ is a composition of convex cones.For more information see the Clarabel Documentation (stable|dev).Clarabel is also available in a Julia implementation.  Seehere.FeaturesVersatile: Clarabel.rs solves linear programs (LPs), quadratic programs (QPs), second-order cone programs (SOCPs) and semidefinite programs (SDPs). It also solves problems with exponential, power cone and generalized power cone constraints.Quadratic objectives: Unlike interior point solvers based on the standard homogeneous self-dual embedding (HSDE), Clarabel.rs handles quadratic objectives without requiring any epigraphical reformulation of the objective.   It can therefore be significantly faster than other HSDE-based solvers for problems with quadratic objective functions.Infeasibility detection: Infeasible problems are detected using a homogeneous embedding technique.Open Source: Our code is available onGitHuband distributed under the Apache 2.0 LicenseInstallationClarabel can be imported to Cargo based Rust projects by adding[dependencies]clarabel="0"to the project'sCargo.tomlfile.   To install from source, see theRust Installation Documentation.To use the Python interface to the solver:pip install clarabelTo install the Python interface from source, see thePython Installation Documentation.License 🔍This project is licensed under the Apache License 2.0 - see theLICENSE.mdfile for details.
Package: claranet4
ClAranet4Ultra-minimal (i.e. incomplete) Python & CLI client for collecting current readings from Aranet4 Bluetooth sensors. This client usesBleakand should work across platforms, and has been tested on Intel and ARM64 Macs. An xbar plugin for displaying measurements in the MacOS menu bar is included.Install# Python >= 3.10, setuptools >= 64pipinstallclaranet4# Developmentgitclonehttps://github.com/bede/claranet4.git
pipinstall--editable./claranet4
pipinstallpytestbuildblackpre-commitAlternatively, use the static binary built from thelatest releaseCLI usage% claranet4 --help
usage: claranet4 [-h] [--version] {scan,discover,read} ...

positional arguments:
  {scan,discover,read}
    scan                Show nearby Bluetooth devices
    discover            Discover nearby Aranet4 devices
    read                Request latest measurements from a nearby Aranet4 device

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exitEnumerate nearby Aranet4 devices%claranet4discover
INFO:Found9device(s)INFO:Found1Aranet4device(s)[{"address":"390F544C-F0FF-F8BE-3A3A-BB1219AA2145","name":"Aranet4 1D6BA","rssi":-71}]Request measurements from an Aranet4 by address. If the device is unpaired, a prompt should appear for the pairing code.%claranet4read390F544C-F0FF-F8BE-3A3A-BB1219AA2145
INFO:SelectedAranet41D6BA(-74dBm){"name":"Aranet4 1D6BA","address":"390F544C-F0FF-F8BE-3A3A-BB1219AA2145","rssi":-74,"co2":946,"temperature":17.6,"pressure":1002.1,"humidity":73.4}Executingclaranet4 readwithout specifying an address will request measurements from the Aranet4 with the highest received signal strength (RSSI)%claranet4readINFO:Found9device(s)INFO:Found1Aranet4device(s)INFO:SelectedAranet41D6BA(-74dBm){"name":"Aranet4 1D6BA","address":"390F544C-F0FF-F8BE-3A3A-BB1219AA2145","rssi":-74,"co2":946,"temperature":17.6,"pressure":1002.1,"humidity":73.4}API usage>>>fromclaranet4.libimportdiscover_ara4s,read>>>discover_ara4s()INFO:Found28device(s)INFO:Found1Aranet4device(s)[Device(address='390F544C-F0FF-F8BE-3A3A-BB1219AA2145',name='Aranet4 1D6BA',rssi=-70)]>>>read("390F544C-F0FF-F8BE-3A3A-BB1219AA2145").__dict__INFO:SelectedAranet41D6BA(-74dBm){'name':'Aranet4 1D6BA','address':'390F544C-F0FF-F8BE-3A3A-BB1219AA2145','rssi':-74,'co2':715,'temperature':20.4,'pressure':991.4,'humidity':63.4}MacOS menu bar usageInstall xbar (https://github.com/matryer/xbar).Download the MacOS executable for the latest release of Claranet4https://github.com/bede/claranet4/releases).Download the xbar pluginclaranet4.2m.shfrom the xbar directory of this repository. Change the path at the bottom of this file to point to wherever your executable is stored.Open xbar, and open your plugins folder. Putclaranet4.2m.shinside it.Open System Preferences -> Security and Privacy and grant xbar permissions for Bluetooth, Automation and Developer Tools.