Saravanan666/pypi-org huggingface dataset:
Package: compiler
Copyright (c) 2017 罗小杰Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: # auto compiler根据文件名自动编译运行程序Keywords: Automatically compile code based on file type
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3
Package: compiler-calc
A simple calculatorThis is a simple calculator when I try to recall my compiler courses.InstallationUse the package managerpipto install compiler-calc.pipinstallcompiler-calcUsagefromcompiler_calc.simple_calcimportLexAnalysis,SyntaxAnalysis# To highlight lexcial and syntax analysislex_analyser=LexAnalysis()syntax_analyser=SyntaxAnalysis()# You can define your own helper functionsdefcalculate(expr,lex=lex_analyser,syn=syntax_analyser):expr_list=lex(expr)returnsyn(expr_list)calculate('5+4*3^2')# 41calculate('1/0')# ValueErrorContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: compiler-identification
compiler-identificationhttps://pypi.org/project/compiler-identification/A useful tool in identifying the version of C/C++ compilers, mainly various versions of GCC and
Clang present in various Linux districtions and versions of macOS.Usage (an ipython session shown):In [1]: from compiler_identification import identify_compiler

In [2]: identification = identify_compiler('clang')

In [3]: identification
Out[3]: <compiler_identification.CompilerIdentification family='clang' version_str='12.0.5' full_version_output_str='Apple clang version 12.0.5 (clang-1205.0.22.9)\nTarget: x86_64-apple-darwin20.3.0\nThread model: posix\nInstalledDir: /Library/Developer/CommandLineTools/usr/bin' parsed_version=<Version('12.0.5')> compiler_path='/usr/bin/clang' at 0x7f904a95e970>

In [4]: identification.parsed_version
Out[4]: <Version('12.0.5')>Theparsed_version, which is aVersioninstance from thepackagingmodule, allows to do proper version comparisons. Seehttps://packaging.pypa.io/en/latest/version.htmlfor more details.
Package: compiler-magics
compiler_magicCompiler magics for use with Jupyter notebooks.InstallationEnter the directory you downloaded this file inrun python setup.py installAppend the contents of hpcmagic/custom.js to ~/.jupyter/custom/custom.jsCopy hpcmagic/hpcmagic.ini to ~/.local/hpcmagic/hpcmagic.iniAppend the contents of hpcmagic/ipython_config.py to ~/.ipython/profile_default/ipython_config.pyUseEdit the contents of ~/.local/hpcmagic/hpcmagic.ini to suit your Linux/Unix development environment. Or define environment variables with the same name as the defaults in ~/.local/hpcmagic/hpcmagic.ini.There are three cell magics available%%CPP%%C%%FORTRAN
Package: compilertk
compiler-toolkitCollection of programs useful for syntax analysis.$pipinstallcompilertk
$compilertkFILEFeatures:Elimination of Null ProductionsElimination of Unit ProductionsElimination of Left RecursionCalculates First SetsCalculates Follow SetsPrints Parsing TableGenerates a log fileNotationUsing this example of a grammar:S -> S a A | B
A -> a A | eps
B -> d E'
E' -> int a | epsEvery symbol on the left side is a non-terminalNon-terminals and its productions are separated by "->"Individual symbols are separated with aspace.Null productions are specified witheps|is used to specify alternative productionsTestsMake sure everything runs fine by running the test cases./run_tests.shTODOsAdd docstrings to functionsAdd test cases for parsing tableAdd more tests casesUseful Linkshttps://mikedevice.github.io/first-follow/http://hackingoff.com/compilershttp://hackingoff.com/compilers/predict-first-follow-set(unreliable)
Package: compiletools
compiletoolsC/C++ build tools that requires almost no configuration.Author:drgeoffathome@gmail.comDate:2016-08-09Copyright:Copyright (C) 2011-2016 Zomojo Pty LtdVersion:4.1.93Manual section:1Manual group:developersSYNOPSISct-* [compilation args] [filename.cpp] [–variant=<VARIANT>]DESCRIPTIONThe various ct-* tools exist to build C/C++ executables with almost no
configuration. For example, to build a C or C++ program, typect-cake --autowhich will try to determine the correct source files to generate executables
from and also determine the tests to build and run.A variant is a configuration file that specifies various configurable settings
like the compiler and compiler flags. Common variants are “debug” and “release”.Options are parsed using python-configargparse.  This means they can be passed
in on the command line, as environment variables or in config files.
Command-line values override environment variables which override config file
values which override defaults. Note that the environment variables are
captilized. That is, a command line option of –magic=cpp is the equivalent of
an environment variable MAGIC=cpp.If the option itself starts with a hypen then configargparse can fail to parse
it as you intended. For example, on many platforms,--append-CXXFLAGS=-march=skylakewill fail. To work around this, compiletools postprocesses the options to
understand quotes. For example,--append-CXXFLAGS="-march=skylake"will work on all platforms.  Note however that many shells (e.g., bash) will strip
quotes so you need to escape the quotes or single quote stop the shell preprocessing.
For example,--append-CXXFLAGS=\\"-march=skylake\\"
or
--append-CXXFLAGS='"-march=skylake"'Other notable tools are* ct-headertree: provides information about structure of the include files
* ct-filelist:   provides the list of files needed to be included in a tarball (e.g. for packaging)SEE ALSOct-buildct-build-dynamic-libraryct-build-static-libraryct-cachect-cache-cleanct-cakect-cmakelistsct-commandlinect-configct-cppdepsct-create-cmakelistsct-create-makefilect-filelistct-findtargetsct-gitrootct-headertreect-jobsct-list-variantsct-magicflags
Package: compilio-cli
# Compilio-cli
CLI tool to interact with Compilio API[![Build Status](https://travis-ci.org/compilio/compilio-cli.svg?branch=master)](https://travis-ci.org/compilio/compilio-cli)## Installation & usage### Using pipInstallcompilio-clion your system using pip:` pip installcompilio-cli`You can then run:` compilio `### From sourceClone the repository and run the following command:` pip install-rrequirements.txt `You can then run:` python compilio.py--command `You can also build the application locally (for example in a virtual environment)
using the command:` python setup.py install `You can then run:` compilio `![demoPdfLatex gif](/resources/demo_pdflatex.gif)
Package: compimg
compimgBranches:master:develop:IntroductionFor full documentation visitdocumentation site.Image similarity metrics are often used in image quality assessment for performance
evaluation of image restoration and reconstruction algorithms. They require two images:test image (image of interest)reference image (image we compare against)Such metrics produce numerical values and are widely called full/reduced-reference methods for
assessing image quality.compimgpackage is all about calculating similarity between images.
It provides image similarity metrics (PSNR, SSIM etc.) that are widely used
to asses image quality.importnumpyasnpfromcompimg.similarityimportSSIMsome_grayscale_image=np.ones((20,20),dtype=np.uint8)identical_image=np.ones((20,20),dtype=np.uint8)result=SSIM().compare(some_grayscale_image,identical_image)assertresult==1.0# SSIM returns 1.0 when images are identicalFeaturescommon metrics for calculating similarity of one image to anotherimages are treated asnumpyarrays which makescompimgcompatible
with most image processing packagesonlyscipy(and inherentlynumpy) as a dependencyInstallationcompimgis available onPyPI. You can install it using pip:pip install compimgNoteKeep in mind that metrics are not aware of what kind of image you are passing.
If metric relies on intensity values and you have YCbCr image you should probably
pass only the first channel to the computing subroutine.HelpIf you have any problems or questions please post an issue.
Package: compipe
COMPIPE  (WIP)Compipe is a lightweight command manager specifically designed to automate tasks.Example of initializing runtime environment and credential keyscredentials_cfg_path=os.path.join(os.path.dirname(__file__),'credential/keys.json')runtime_cfg_path=os.path.join(os.path.dirname(__file__),'tars_server_runtime_env.json')# config DEBUG environmentinitialize_runtime_environment(params={ARG_DEBUG:False},runtime_cfg_path=runtime_cfg_path,credential_cfg_path=credentials_cfg_path)How to run unittestAdd "entry_points" to setup.pysetup(
      # ... other setup parameters ...
      entry_points={
          'console_scripts': [
              'unittest = compipe.unittest.cmd_test:main',
          ],
      }
  )Install Your Package in Editable Mode:pip install -e .Add PYPI API token to system environmentset PYPI_API_TOKEN=<Your-API-Token>Runupload.batto upload package wheel
Package: compito
CompitoThis project is a command executor that allows scheduling and execution of commands. It is written in Python and uses thecroniterlibrary for scheduling.InstallationTo install the project, you need to have Python 3.12 or higher. You can install the dependencies with the following command:pipinstallcompitoUsage/ExamplesThe project provides a command-line interface for scheduling and executing commands. Here is an example of how to use it:python-mcompito<command>[options][args]You can find more examples inexamplesdirectory.CommandsEach command can be scheduled to run at specific intervals using theSchedulerclass.TestingTo run the automated tests for this system, use the following command:python-munittestdiscovertestsContributingContributions are always welcome! Please feel free to submit a pull request.
Package: complain
ComplainTHIS PROJECT IS STILL IN A BETA PHASE.Official repository for the complain package.This project usesScott Pakin's automatic complaint-letter generatorand allows you to pull complaints through it.DISCLAIMERBy installing and using this package you automatically agree to these terms.Scott Pakin's Automatic Complaint-Letter Generator is a program that automatically generates humorously bombastic complaint letters by randomly stitching together words and phrases into meaningless but negative-sounding grandiloquence. By clicking Agree below, you agree to the following terms:You understand that any comments, views, or opinions you read on this site cannot be considered to be those of Scott Pakin.You agree to hold Scott Pakin blameless for any liability related to any material appearing on this site.
Package: complaince
# ComplainceA python function parameter and return type-checking decoratorBoth the parameters types and return type(optional to check for return type)can be done using a single decorator.Each parameter can have multiple possible types , mentioned in a tupleInstallation============```bashpip install complaince```Examples========When plainly checking parameter types```python@param_check((int,float),(int,float))def myfunc(a, b):```This indicates the parameters a,b can be either int or float```python@param_check((int,),(int,))def myfunc(a, b):```In this case both a and b have to be int only (tuple definition is a must )There is are two optional parameters:1. level - Key-Value pair indicates warning message to stderr or throw an exception (0 - warning , 1 - exception error) Defaultis warning i.e 02. ret - Key-Value pair indicating possible return types, in this case toovalue is a tuple```python@param_check((int,float),(int,float), level = 1, ret = (int,float))def myfunc(a, b)```In the above example we will throw an exception if the parameters, return value do not matchrequired types. Return value can be either an in or floatCompatability=============Requires python 2.6 or higherWorks with python 3.0 and higher
Package: complaintClassify
This is a Machine Learning Pipeline for "Consumer Complain" classifier that takes complaint as input and then classifies it
as one of the available classification categories.Change Log0.0.1 (04/02/2022)First Release0.0.2 (04/02/2022)Bug fixes0.0.3 (04/02/2022)Bug fixes0.0.4 (04/02/2022)Bug fixes0.0.5 (07/02/2022)Bug fixes0.0.6 (07/02/2022)Bug fixes0.0.7 (09/02/2022)Bug fixes0.0.8 (09/02/2022)Requirements bug fix0.0.9 (09/02/2022)Tensorflow version change1.0.0 (11/02/2022)Tflite implementatiion for reducing size1.0.1 (11/02/2022)Requirement bug fix1.0.2 (11/02/2022)NLTK stopwords "English" to "english"1.0.3 (15/02/2022)Include data
Package: complate-cpp-for-python
complate-cpp-for-python- Rendering of JSX based views in Pythoncomplateadapter that can be used in Python projects to render JSX based HTML views. It's a
C++ binding and usescomplate-cppunder the hood.Getting startedUsageFor a detailed description how to use this library checkout out theUser Guide.InstallationThis library is published on PyPI, so you can install it with pip.pipinstallcomplate-cpp-for-pythonDependenciescomplate-cpp, Apache 2.0pybind11, BSD-style
license (Link)Licensecomplate-cpp-for-python is Open Source software released under theApache 2.0 license.
Package: comp-lead
Comp-LeadThis is my first PyPI package, so this is very simple. This package displays a handful of tech leaders and companies (five to be exact).
The reason why I decided to create this package was to just understand the way packages are built and how they are published.Usage:Installation:pipinstallcomp-leadImport:fromcomp_leadimportsampleRun:sample.obj.displayLead()sample.com.displayComp()
Package: completable-html-xblock
HTML XBlockA subclass of the new HTML XBlock that disables marking the block as completed and adds custom completion endpoint.IntroductionThis XBlock provides a newer alternative to the existing HTML XModule in edX platform as it presents a number of
problems when trying to embed it in another site (in particular, it often hosts content that depends on JS globals like
jQuery being present, and it allows users to include arbitrary JavaScript).InstallationYou may install XBlock-html-completable using its setup.py, or if you prefer to use pip, run:pipinstallhttps://github.com/open-craft/xblock-html-completableYou may specify the-eflag if you intend to develop on the repo.Note that as of version 1.0.0, Python 2.7 is no longer supported. The current minimum Python version is 3.8.To enable this block type, addcompletable_html5to course's advanced module list.DevelopmentIf you're willing to develop on this repo, you need to be familiar with different technologies and the repos'
dependencies. However, to make things easier to setup and to manage, there're bunch of make commands that you can use
to do things faster.UsageTo trigger the completion event, add the following code to your block:<script>// Wait for the page to fully load.window.addEventListener('load',function(){document.getElementById('complete').click();});</script>Setting the requirements upHitting the following command will install in your python environment all the requirements you need for this project:$makerequirementsRunning testsTests are essential for this project to keep all its features working as expected. To check your changes you can use:$maketestOr if you want to check the code quality only, hit:$makequality
Package: complete
CompleteComplete is a Python library to autocomplete questions using search enginesInstallationUse the package managerpipto install complete.pipinstallcompleteUsagefromcompleteimportAutoCompleteasACresults=AC.google_complete("how to")#returns ['how to lose weight', 'how to increase height',..]For asynchronous usagefromcompleteimportAioAutoCompleteasACasyncdefmain():results=awaitAC.google_complete("how to")#returns ['how to lose weight', 'how to increase height',..]Supported EnginesThe library currently supports:Google [google_complete]YouTube [youtube_complete]DuckDuckGo [duckduckgo_complete]Bing [bing_complete]LicenseMIT
Package: completely
completelyHigh-qualitydata is extremely important nowadays. But before you start cleaning/processing it,
you might want to check howcompletethe dataset really is:fromcompletelyimportmeasuredata=[{'name':'Bob','age':42},{'name':'Alice','age':None},{'name':'','age':100}]print(measure(data))# Output: 0.667completelycurrently works with:Lists of strings / ints / floatsLists of dictsNested lists of one of the above
Package: completeme
completemeTL;DRLinux:$ sudo pip install completeme$ echo “source `which setup_completeme_key_binding.sh`” >> ~/.bashrc$ source ~/.bashrcOS X:$ brew install bash # see note below about OS X and bash 4$ sudo pip install completeme # no need for ‘sudo’ if you installed python with brew, as well!$ echo “source `which setup_completeme_key_binding.sh`” >> ~/.profile$ source ~/.profileWindows:http://bit.ly/1bdcxmtDescriptioncompleteme is a python script to auto-complete filenames in a given directory, much like Github’s ‘t’ keyboard shortcut or Command-T in TextMate or SublimeText.  When you’ve settled on the file you’d like to edit, press “Enter” to open it with whatever’s in your $EDITOR variable or press “Tab” to drop that filename at the end of your current command!To change your search directory, simply prefix your query.  That is, start your string with “../” to search your current working directory’s parent or “/tmp/” to search “/tmp/”.  Note that the trailing slash is what triggers the directory change. If your current search directory is a git repository, this will respect your .gitignore.Make sure to add “source `which setup_completeme_key_binding.sh`” to your .bashrc to enable Ctrl+t support!Configurationcompleteme comes with (wherever-pip-installs-the-completeme-python-package)/completeme.json, which you can use to, well, configure your completeme experience.include_directories(default=true) indicates whether we should also display directories (not just files).find_hidden_directories(default=false) indicates whether we should search inside dot directories (assuming we didn’t find a git repository).  These are things like .config/, .vim/, etc.find_hidden_files(default=false) indicates whether we should find files that start with a dot (assuming we didn’t find a git repository).  These are things like .emacs, .xinitrc, .DS_Store, etc.Known IssuesMac OS X ships with bash 3.2, which doesn’t use the READLINE_LINE or READLINE_POINT variables.  Unless you upgrade, you won’t be able to use the tab-functionality to drop the filename back into the prompt!  To upgrade:brew install bashAdd/usr/local/bin/bashto/etc/shellschsh -s /usr/local/bin/bashLicenseThis software is licensed under the WtHYWv2 (Whatever the Hell You Want, v2).  Please throw some credit around if it’s deserved.ThanksThank you to all who have contributed ideas and feedback.  Special thanks to those listed below!Mark Steve Samson (@marksteve)Harold Cooper (@hrldcpr)Andrew Gwozdziewycz (@apgwoz)Benjamin Gleitzman (@gleitz)
Package: complete-shuffle
complete_shuffleComplete shuffling of lists with true random or pseudo random sequences.Multiple external true random sources can be accessed to shuffle the list.In addition to the shuffle function, there are also random cyclic permutation functions, and the derangement function.InstallationInstallation can be done through pip. You must have python version >= 3.8pip install complete-shuffleUsageThe statement to import the package:from complete_shuffle_package import *Example:>>> from gmpy2 import bit_mask as gmpy2_bit_mask
>>> prng_period = calculate_number_of_shuffles_required(12, 'prng_period')
>>> seed = 170141183460469231731687303715884105727 & gmpy2_bit_mask((prng_period - 1).bit_length())
#The entropy of the seed must not be less than the number of permutations in the list.(Calculate with "calculate_number_of_shuffles_required" function)

>>> sequence_list = list(range(12))
>>> pr_complete_shuffle(sequence_list, seed)
>>> sequence_list
[6, 0, 9, 11, 2, 1, 7, 5, 3, 10, 4, 8]

>>> sequence_list = list(range(12))
>>> pr_complete_cyclic_permutation(sequence_list, seed)
>>> sequence_list
[6, 11, 0, 9, 2, 1, 7, 5, 3, 10, 4, 8]

>>> sequence_list = list(range(12))
>>> pr_complete_derangement(sequence_list, seed)
>>> sequence_list
[6, 0, 9, 11, 2, 1, 7, 5, 3, 10, 4, 8]
Package: completethat
CompleteThat (v0.1dev)====================CompleteThat is a python package that solves the low rank matrix completionproblem. Given a low rank matrix with partial entries the package solves anoptimization problem to estimate the missing entries.Mathematically, the package solves a relaxation (using the nuclear norm or theFrobenius norm of the objective matrix) of the following problem:minimize_{X} ||X||st. X(i,j) = M(i,j) \forall (i,j)\in \Omega,where, M represents the data matrix and \Omega represents the set of pobserved entries of MUsage------->>> from completethat import MatrixCompletion>>> problem = MatrixCompletion(M)>>> problem.complete_it(algo_name)>>> X = problem.get_matrix()>>> out_info = problem.get_out()>>> from completethat import MatrixCompletionBD>>> problem = MatrixCompletionBD('input_data.txt')>>> problem.train_sgd(dimension=6,init_step_size=.01,min_step=.000001, reltol=.001,rand_init_scale=10,   maxiter=1000,batch_size_sgd=50000,shuffle=True)>>> problem.validate_sgd('test_data.txt')>>> problem.save_model()Authors-------This package was written by Joshua Edgerton and Esteban FajardoAcknowledgments-------This package is the result of the final project for the class EEOR E4650: ConvexOptimization at Columbia University, Fall 2014. We would like to thank theauthors of the different algorithms used in the package to solve the problem.