Saravanan666/pypi-org huggingface dataset:
Package: littlecms
Little CMS Python Bindings==========================`SWIG <http://swig.org>`_ generated Python bindings for v2.7 of `Little CMS <http://www.littlecms.com>`_.This distribution contains the necessary C source files from littlecms in the c_sources directory.Installing==========The distributed product is best installed by users using pip:pip install littlecmsBuilding in Development Mode============================Building the product during further development is best done in the setuptoolsdevelopment mode. From the base of the repo, use this command:setup develop --install-dir=<dir>where <dir> is a location on your PYTHONPATH. This requires that you have bothsetuptools and the appropriate C build tools available for the target version ofPython [On Windows, that's Visual Studio 2015 for Python 3.5 and Visual Studio 2010for Python 3.3-3.4].Installing setuptools=====================Follow the instructions at https://pypi.python.org/pypi/setuptools. Therecommended method is to download ez_setup.py and run it using the target Pythonenvironment.NB. This step isn't required for Python 3.4+ because setuptools are pre-installedin the Python distribution.Generating the SWIG Wrapper===========================This package contains swig/littlecms_wrap.cpp and littlecms/littlecms.py, whichform a pre-generated Python3 SWIG wrapper for the littlecms library.If you need to regenerate the wrapper, the SWIG source files are also included.This is the command line used on Windows:swig -python -py3 -Ic_sources/include -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" -outdir littlecms -o swig/littlecms_wrap.cpp  swig/littlecms.iThis command requires that SWIG is installed, and that the VS2015 header files areavailable in the given location.NB. This command is for Python 3.5+ which requires VS2015 (includes Visual C v14).Python 3.3-3.4 requires VS2010, so change this command to use headers from"Microsoft Visual Studio 10.0" instead.Actually, for the purpose of this command only, it doesn't make any differencewhich headers are used for either version of Python.Currently Unsupported LittleCMS Functions=========================================It is believed that support for the LittleCMS API is nearly complete with theexception of these functions. They are unsupported because the types of thenamed params aren't yet supported; they are mostly arrays:cmsGetHeaderCreationDateTime    - struct tm *DestcmsGetSupportedIntents          - char** DescriptionscmsCreateExtendedTransform      - cmsBool BPC[]cmsIT8EnumProperties            - char ***PropertyNamescmsIT8EnumPropertyMulti         - char ***SubpropertyNamescmsIT8EnumDataFormat            - char ***SampleNamescmsPipelineUnlinkStage          - cmsStage **mpe            (Does work with None value for pointer)cmsStageAllocCLutFloat          - cmsFloat32Number *Table   (Does work with None value for pointer)cmsStageSampleCLutFloat         - cmsSAMPLERFLOAT           (The uint16 sampler is supported)
Package: littledarwin
LittleDarwinJava Mutation Analysis Framework
Copyright (C) 2014-2023 Ali ParsaiHow to Use:On your selected python platform use:pip3 install littledarwinYou can use the program by executing it as a module:python3 -m littledarwin [options]For a maven project, all you need to do is to pass the required arguments to LittleDarwin:python3 -m littledarwin -m -b \
		    -p [path to production code (usually in src/main)] \
		    -t [path to build directory (usually the one containing pom.xml)] \
		    --timeout=[in seconds, the duration of a normal test execution] \
		    -c [build command separated by commas (usually mvn,clean,test)]LicenseThis program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, seehttps://www.gnu.org/licenses/.Find me at:parsai.net
Package: littledoc
Littledoc is a small lib which allow to extract your Python documentation in an easy way.The following documentation of Littledoc had been generate executing scriptdoc.pylittledocSmall module which allow you to extract your docstring documentation in the format of your choice.parsedefparse(working_path:str,module_name:str,show_private=False)->dictParse your code and  docstring then generate a dict with it.ArgumentsNameTypeDescriptionmodule_namestrThe name of the module you want to generate dict of your documentationshow_privateIf True, parser will navigate through your private methode. At False by default.working_pathstrThe working directory to fetch your moduleReturndict: Dictionnary which contain metadata and doc.writedefwrite(module:dict)->strNow, allow to generate a single page documentation in markdown using the only on Jinja template available.
The dictionary should be generated by parser.ArgumentsNameTypeDescriptionmoduledictThe dict of your module generated by parser.Returnstr: A single page markdown representation of your documentation
Package: littlefs-tools
littlefs-toolsTools create, view and extractlittleFSfilesystem images.Though distributed as a python module, these tools are intended to be executed as a command-line tool. Consequently, the code is written into a single python file without classes. The Invocation commands are provided below.Attribution:littlefs_toolsare built on top oflittlefs-python. To use littlefs functionality within your python code, please uselittlefs-pythondirectly.Installationpipinstalllittlefs_toolsUsagelittlefs_createTool to create a littleFS filesystem binary image. This tool recursively packages the contents of a source directory into a littlefs image.usage:littlefs_create[-h][-bBLOCKSIZE][-cBLOCKCOUNT][-iIMAGE][-v]-sSOURCE

Tooltogeneratelfsimagesfromasourcefolder

optionalarguments:-h,--helpshowthishelpmessageandexit-bBLOCKSIZE,--block_sizeBLOCKSIZEblocksizeoftheLFSimage(defaultsto4096)-cBLOCKCOUNT,--block_countBLOCKCOUNTblockCountoftheLFSimage(defaultsto64)-iIMAGE,--imageIMAGEimagefilename-oOFFSET,--offsetOFFSEToffset(inbytes)fromwhichthelittlefsimagestarts(defaultsto0).Hexvaluesaresupported(e.g.0x80000)-v,--verboseVerbose

requiredarguments:-sSOURCE,--sourceSOURCEsourcepathlittlefs_listTool to list contents of a littleFS filesystem image as a tree.usage:littlefs_list[-h][-bBLOCKSIZE][-cBLOCKCOUNT][-oOFFSET][-v]-iIMAGE

Tooltolistfilesinalittlefsfileimage

optionalarguments:-h,--helpshowthishelpmessageandexit-bBLOCKSIZE,--block_sizeBLOCKSIZEblocksizeoftheLFSimage(defaultsto4096)-cBLOCKCOUNT,--block_countBLOCKCOUNTblockCountoftheLFSimage(defaultsto64)-oOFFSET,--offsetOFFSEToffset(inbytes)fromwhichthelittlefsimagestarts(defaultsto0).Hexvaluesaresupported(e.g.0x80000)-v,--verboseVerbose

requiredarguments:-iIMAGE,--imageIMAGEimagefilenamelittlefs_extractTool to extract contents of a littleFS filesystem image to a destination folder.usage:littlefs_extract[-h][-bBLOCKSIZE][-cBLOCKCOUNT][-f][-oOFFSET][-v]-iIMAGE-dDESTINATION

Tooltoextractfilesfromalittlefsfileimage

optionalarguments:-h,--helpshowthishelpmessageandexit-bBLOCKSIZE,--block_sizeBLOCKSIZEblocksizeoftheLFSimage(defaultsto4096)-cBLOCKCOUNT,--block_countBLOCKCOUNTblockCountoftheLFSimage(defaultsto64)-f,--forceForceextractevenifdestinationfolderisnotempty-oOFFSET,--offsetOFFSEToffset(inbytes)fromwhichthelittlefsimagestarts(defaultsto0).Hexvaluesaresupported(e.g.0x80000)-v,--verboseVerbose

requiredarguments:-iIMAGE,--imageIMAGEimagefilename-dDESTINATION,--destinationDESTINATIONdestinationdirectorytoextractthecontentsintoBuilding the package locallyMake sure that you havesetuptoolsandwheelinstalled:The tools package can be built locally using the following command:pythonsetup.pybdist_wheel--universalAnd then installed withpipinstalldist/littlefs_tools-1.0.0-py2.py3-none-any.whl--forceNote: The wheel package must match the version of the package. The version of the package is determined by the version of the package in thesetup.pyfile.Source distribution is created with the following command:pythonsetup.pysdistlittlefs-tools|ലിറ്റിലെഫ്എസ്-ഉപകരണങ്ങൾ
Package: littlegit
LittlegitA very little Python wrapper around Git CLI.Littlegit doesn't need any external dependency except for theGitbinary to be installed in your system.All the current, past and future commands and options of Git are fully supported.InstallationInstall Littlegit withpip:pip install littlegitUsageTo use Littlegit is very simple, it follows a very simple rule to map Git's commands to Littlegit's API:every Git command is a methodevery argument is a method's argumentevery option is a method's keywordsLets explain this with an example of initialising a local repository, adding a file and commiting:frompathlibimportPathfromlittlegitimportGitrepo=Git(Path("/my/local/repo"))repo.init()# git init /my/local/repoopen("myfile","w").close()repo.add("myfile")# git add myfilerepo.commit(message="this is my first commit")# git commit --message "this is my first commit"repo.remote("add","origin","<my_remote_repo>")# git remote add origin <my_remote_repo>repo.push("origin","master")# git push origin masterprint(repo.log(_1=True))# get only the last log messageAll the methods return the output if the Git command:output=repo.branch(remote=True)# git branch --remoteprint(output)origin/HEAD->origin/masterorigin/masterTestsTo run the unit tests install the development dependencies and then runPyTest:pip install -r requirements_dev.txt
pytest tests.py
Package: little-helpers
little_helpersSome helpful functions that keep being used in various of my repositories, install via:pip install little_helpersarray_tools.pyy_at_y: Find values in y_values that belongs to the values in x_values clostest to x.closest_index: Find the index of a value in array x_values that is clostest to x.segment_xy_values: Segment the x_values and y_values according to segment borders.math_functions.pylangmuir_isotherm: Calculate the q_e values of a simple Langmuir isotherm.langmuir_isotherm_hydrogel: Calculate the adsotpion inside a hydrogel based on a Langmuir model taking the swelling into account.langmuir_comp: Calculate the q_e values of a Langmuir isotherm taking into account competetive adsorption of two species.triangle: Calculate a triangle function.gaussian: Calculate one or a superposition of Gaussian normal distributions.boxcar: Calculate a boxcar function.boxcar_convolution: Calculate the convolution of a boxcar function with another function.piecewise_polynomial: Calculate the y values of a piecewise polynomial.flory_rehner: Calculate 1/M_c according to the Flory-Rehner equation.Herschel_Bulkley: Calculate the stress according tot he Herschel-Bulkley model.cum_dist_normal: Cumulative distribution function for the normal distribution.cum_dist_normal_with_rise: Superposition of cum_dist_normal and a linear function through the origin.num_derive.pyA simple method to calculate the derivative of discrete data.statsmodel_wrapper.pyA universal sklearn-style wrapper for statsmodels regressors.
Package: littlehorse-client
LittleHorse Python SDKFor documentation on how to use this library, please go tothe LittleHorse website.For examples go to theexamplesfolder.DependenciesInstall python.Installpoetry:brew install poetryInstall grpc tools:pip3 install grpcio-toolsInitializepoetry installProtobuf Compilation../local-dev/compile-proto.shRun testspoetry shell
python -m unittest discover -vUseful CommandsSet python version:poetry env use python3.9Types MapTask arguments type reference:VariableType.JSON_OBJ: dict[str, Any]
VariableType.JSON_ARR: list[Any]
VariableType.DOUBLE:   float
VariableType.BOOL:     bool
VariableType.STR:      str
VariableType.INT:      int
VariableType.BYTES:    bytes
Package: littlejo-cilium
Cilium Resource ProviderThe Cilium Resource Provider lets you manageciliumresources.InstallingThis package is available for several languages/platforms:Node.js (JavaScript/TypeScript)To use from JavaScript or TypeScript in Node.js, install using eithernpm:npminstall@littlejo/ciliumoryarn:yarnadd@littlejo/ciliumPythonTo use from Python, install usingpip:pipinstalllittlejo-ciliumGoTo use from Go, usego getto grab the latest version of the library:gogetgithub.com/littlejo/pulumi-cilium/sdk/go/....NETTo use from .NET, install usingdotnet add package:dotnetaddpackageLittlejo.CiliumReferenceFor detailed reference documentation, please visitthe Pulumi registry.
Package: littlemail
littlemailInstallationUsageAPILittlemail is a straight-forward command-line SMTP email sending tool
in Python, which sendsone email per command. (If you send many
emails, every sending will make a new connection with the smtp server.)Installation$pipinstalllittlemailUsageThere is no way to reduce parameters provided in command-line, since
that's the way of email. So, please refer to the inline help for options
you need. Fortunately, many options have default value.$python-mlittlemail-h# inline helpAnyway, here is a minimal example and a few lines of explanation:$python-mlittlemail-stest[-chello]\-f12345@qq.com\--to54321@qq.com\--smtpsmtp.qq.com[-pabcdefg]-cmeans the email content, which is optional. That means you can
send empty-content email. And this optional parameter enables the
capability of littlemail to get content from pipe (input
redirection), which might be easier for you to construct your message,
such as:$python-mlittlemail<...><my_email_content.txt-srepresents subject, which is mandatory and cannot be empty.-pstands for password, and it is optional. When it's missing,
littlemail tries to get password fromLITTLEMAIL_PASSWDenvironment variable.When something goes wrong, try--debug.APIThere is an API you can invoke to send email in your code:# importfromlittlemailimportsend_email# signaturesend_email(subject:str,*,text:str='',contype:str='plain',alist:list[str]=[],to:list[str],cc:list[str]=[],bcc:list[str]=[],fromaddr:str,smtp:str,port:int=587,timeout:int=3,protocol:str='tls',passwd:str|None,debug:bool=False)->Noneapi_test.pyis used as an example and testcase for you try, have fun! ^___^
Package: littlemcmc
Warning:littlemcmcis still in pre-release and under development. Most notably,
behavior is unstable in Jupyter notebooks - for best results and support, please uselittlemcmcin Python scripts. Please consultour GitHub
issues.littlemcmc     /lɪtəl ɛm si ɛm si/nounA lightweight and performant implementation of HMC and NUTS in Python, spun
out ofthe PyMC project. Not to be confused
withminimc.InstallationThe latest release of LittleMCMC can be installed from PyPI usingpip:pipinstalllittlemcmcThe current development branch of LittleMCMC can be installed directly from
GitHub, also usingpip:pipinstallgit+https://github.com/eigenfoo/littlemcmc.gitContributorsLittleMCMC is developed byGeorge Ho. For a full list
of contributors, please see theGitHub contributor
graph.LicenseLittleMCMC is modified fromthe PyMC3 and PyMC4
projects, both of which are distributed under
the Apache-2.0 license. A copy of both projects' license files are distributed
with LittleMCMC. All modifications from PyMC are distributed underan identical
Apache-2.0 license.
Package: little-pwny
Has my password been compromised? And how often?little-pwnyqueries thehave-i-been-pwned password databasefor breaches that contain a given
passphrase and returns the number of breaches found. It doesnotreveal the
plain passphrase to the HIBP server (nor to anyone/anything else, see below).little-pwnyworks with plain Python 3.x and requires no additional packages.Usage$ pwny p@ssw0rd
51763

$ pwny aiPh1eehec8AhY2y
0Use:$ pwny --helpto learn more about all options supported.Please note, that the Python package is calledlittle-pwnywhile the
executable script is calledpwny.At no time the raw password is transferred tohttps://haveibeenpwned.com(or
elsewhere). Instead we use the generously offered haveibeenpwned.com-API to
deployk-anonymity. I.e. we send
the first five chars of the SHA1 hash of any given password. This way you can
check new passwords without revealing them to the server (or any other party).InstallYou need at least some Python3 interpreter installed on your System.withpipSimply:$ pip3 install --user little-pwnyLeave out–userif you are root and want to installlittle-pwnysystem-wide.Ifpipis not installed on your system, chances are, your Python3 comes withpipincluded:$ python3 -m pip install --user little-pwny(again you can leave–userout in case you are root).If that fails as well, you might use your systems package manager to installpip3. On Ubuntu for instance this will do:$ sudo apt install python3-pip
$ sudo pip3 install little-pwnyFrom SourceClone the source:$ git clone https://codeberg.org/ulif/little-pwny
$ cd little-pwnyCreate and activate a virtualenv:$ virtualenv venv
$ source ./venv/bin/activate.shThen, from this directory, install the package:[venv] $ pip install -e .Running TestsWe usetoxandpy.testfor testing. So,:$ pip install tox
$ toxshould run all tests.Changes0.3 (2022-02-25)Officially also support Python 3.8 and 3.9Moved from github over tohttps://codeberg.org/ulif/little-pwnyIntroducedmainas default branch.0.2 (2019-12-12)Officially also support Python 3.5 and 3.7Add support for commandline option–version.Add support for commandline option–help.0.1 (2019-10-31)Initial release.
Package: little-shelf
little-shelfSynchronized dictionaries usingGreg Little'sshelfCRDT.Changes/patches can be distributed to peers through any channel. See theunderstory'sBraidimplementation as an example of real world usage.Installpip install little-shelfUse>>> import littleshelf
>>> alice = littleshelf.LittleShelf()
>>> bob = littleshelf.LittleShelf()
>>> patch = alice.set(ham="spam")
>>> patch
[{'ham': ['spam', 0]}, 0]
>>> alice
{'ham': 'spam'}
>>> alice == bob
False
>>> bob.merge(patch)
>>> alice == bob
True
>>> bob.get("ham") == bob["ham"] == "spam"
True
Package: littlesql
IntroductionThis is a vary simple database access interface for python.FeatureEasy to usesupports sqlite, mysqlDownloadGo to the homepage:http://github.com/jander/littlesql/Exampleexample table: foo (id int, name string)Connectconnect to sqlite3ctx =  SqliteContext("test.db")
db = Database(ctx)connect mysqlctx = MySqlContext(username="name", password="pwd", hostname="localhost", db="test")
db = Database(ctx)Queryquery a row dictdb.foo("name=?", "tom").get()

# raw sql
db.get("select * from foo where name=?", "tom")query many rowsdb.foo("id>?", 100).orderby("id desc").limit(0,10).query()

# raw sql
db.query("select * from foo where id>? order by id desc limit 0,100;", 100)query selected colsdb.foo.query("id, name")

# raw sql
db.query("select id, name from foo")Updatefdict = dict(name="new foo")
db.foo("id=?", 1).update(**fidct)

# raw sql
db.execute("update foo set name=? where id=?", "new foo", 1)Deletedb.foo("name like ?", "test%").delete()

# raw sql
db.execute("delete from foo where name like ?", "test%")Othersee  the test code.Referencetornado databasehttp://python.6.n6.nabble.com/CPyUG-tornado-database-py-Python-DAL-td2743761.htmlby lee Alexander.spring python
Package: littletree
LittleTree is a library that provides a tree data structure to python,
which is both fast and flexible.
It can be used to represent file systems, taxonomies and much more.FeaturesIntuitive basic creation and modification of trees.Efficient implementation of common tree operations and traversals.
Works on trees that are 10 000 layers deep.Extensible. SubclassBaseNodeorNodeMixinif you need more freedom.Can be imported / exported to many different formats (nested dict, rows, relations, graphviz, mermaid, newick, networkx).Purely written in Python.LimitationsEach node has at most one parent. (It's a tree not a graph!)Nodes cannot be their own ancestor.InstallingUsepipto install littletree:$pipinstall--upgradelittletreeUsageA tree can be used in a similar way as adict:fromlittletreeimportNodetree=Node(identifier="World")tree["Asia"]=Node()tree["Africa"]=Node()tree["America"]=Node()tree["Europe"]=Node()# Print tree to consoletree.show()# Show tree as an imagetree.to_image().show()The resulting tree is printed like this:World
├─ Asia
├─ Africa
├─ America
└─ EuropeIfPillowandgraphvizare installed,
it will also display the following image:Seetutorialfor more information.See further:Pypi|Github|Issues
Package: littleworkers
Little process-based workers to do your bidding.Deliberately minimalist, you provide the number ofworkersto use &
a list of commands (to be executed at the shell) &littleworkerswill eat
through the list as fast as it can.Why littleworkers?littleworkersshines when you just want to parallelize something without a
lot of fuss & when you care more about the data/commands to be run.Tiny sourceEasy to queue a set of actionsWorks with any runnable commandsUses processesNon-blockingSeriously, it’s not a replacement for threading or multiprocessing if your
application needs to share a ton of data with the children.UsageUsage is trivial:from littleworkers import Pool

# Define your commands.
commands = [
    'ls -al',
    'cd /tmp && mkdir foo',
    'date',
    'echo "Hello There."',
    'sleep 2 && echo "Done."'
]

# Setup a pool. Since I have two cores, I'll use two workers.
lil = Pool(workers=2)

# Run!
lil.run(commands)For more advanced uses, please see the API documentation.RequirementsPython 2.6+author:Daniel Lindsleyupdated:2011/11/10version:0.3.1license:BSD
Package: littxlecord
An easy-to-use extension forDiscord.pyandPycordwith some utility functions.Features✏️ Reduce boilerplate codeEasy cog managementEmbed templatesDatetime and file utilitiesWrapper foraiosqlite✨ Error handlingAutomatic error handling for slash commandsError webhook reportsCustom logging⚙️ ExtensionsHelp command- Automatically generate a help command for your botStatus changer- Change the bot's status in an intervalBlacklist- Block users from using your botInstallingPython 3.9 or higher is required.pip install littxlecordYou can also install the latest version from GitHub. Note that this version may be unstable
and requiresgitto be installed.pip install git+https://github.com/littxle/littxlecordIf you need the latest version in yourrequirements.txtfile, you can add this line:littxlecord @ git+https://github.com/littxle/littxlecordUseful LinksDocumentation|Getting startedPycord|Discord.pyPyPiExamplesFor more examples, see theexample repositoryor thesample code.Note:It's recommended toload the tokenfrom a.envfile instead of hardcoding it.
littxlecord can automatically load the token if aTOKENvariable is present in the.envfile.Pycordimportlittxlecordimportdiscordbot=littxlecord.Bot(intents=discord.Intents.default())if__name__=="__main__":bot.load_cogs("cogs")# Load all cogs in the "cogs" folderbot.run("TOKEN")Discord.pyimportasyncioimportdiscordimportlittxlecordclassBot(littxlecord.Bot):def__init__(self):super().__init__(intents=discord.Intents.default())asyncdefsetup_hook(self):awaitsuper().setup_hook()awaitself.tree.sync()asyncdefmain():asyncwithBot()asbot:bot.add_help_command()bot.load_cogs("cogs")# Load all cogs in the "cogs" folderawaitbot.start("TOKEN")if__name__=="__main__":asyncio.run(main())ContributingI am always happy to receive contributions. Here is how to do it:Fork this repositoryMake changesCreate a pull requestYou can alsocreate an issueif you find any bugs.