Saravanan666/pypi-org huggingface dataset:
Package: cmis_storage
=============================cmis_storage=============================.. image:: https://badge.fury.io/py/cmis_storage.png:target: https://badge.fury.io/py/cmis_storage**cmis_storage** is a storage engine for Django to integrate CMIS-compatible services, like Alfresco.It's currently compatible with Django 1.7+ and Python 2.7, and uses Apache cmislib. Python 3.x is notcurrently supported because cmislib does not support it yet.Documentation-------------The full documentation can be found at https://cmis_storage.readthedocs.org.Installation------------First, install **cmis_storage** from pip using::pip install cmis_storageNext, add ``cmis_storage`` to ``INSTALLED_APPS`` in your ``settings.py`` file:::INSTALLED_APPS = (...'cmis_storage',)You also need to add the configuration for your CMIS-compatible server in your ``settings.py`` file,like this, for example:::CMIS_STORAGE_OPTIONS = {'repositoryUrl': 'http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom','username': 'admin','password': 'admin','baseFolder': '/'}The config parameters are self-explanatory.Usage------------**cmis_storage** offers the class ``CMISStorage``, which is a storage enginethat you can use in any ``FileField`` field within your models, for example:::from django.db import modelsfrom cmis_storage.storage import CMISStorageclass TestModel(models.Model):document = models.FileField(storage=CMISStorage())From that point on, all the file handling involving ``TestModel.document`` will happen on the CMIS-compatibleserver. You shouldn't need to directly interact with the `CMISStorage`, only in case youneed to manually delete a file. You can do it like this:::storage = CMISStorage()storage.delete(instance.document.path)Optional views^^^^^^^^^^^^^^The module offers an optional view so you can directly serve files of your content management systemfrom a certain URL. To use it, simply add a corresponding url to the view in your ``urls.py`` file:::urlpatterns = [...url(r'^get/(?P<path>.+)$', cmis_storage.views.get_file,  name='cmis_storage_get_file'),]Beware though, the view **should not be used as-is**, because it does not make any kind of authenticationor authorization check.Credits---------This module was built by José Tomás Tocino and other authors that may be referenced in the AUTHORS file,during the development of several internal projects at the University of Cádiz, Spain.History-------0.1.0 (2016-03-24)++++++++++++++++++* Project opened
Package: cmixf
cmixfA library to parseCMIXF-12.For users:To install from PyPi.$ pip install cmixfThis will install a command line interface calledcmixf.$ cmixf --help
Usage: cmixf [OPTIONS] [TEXT]...

Options:
  -d, --debug  Turn on token debugging
  --help       Show this message and exit.At present this assumes that a number is provided before any unit. To better
understand which characters are erroneous you can turn on the debug flag.Without debugging on:$ cmixf
cmixf (Ctrl+d to quit) > 1mV
1mV
cmixf (Ctrl+d to quit) > 1oC
1oC
cmixf (Ctrl+d to quit) > 1mM
FAILED:  Line 1: Bad character 'M'
cmixf (Ctrl+d to quit) >With debugging turned on:$ cmixf --debug
cmixf (Ctrl+d to quit) > 1mM
type='REAL', value='1'
type='UNITC', value='m'
FAILED:  Line 1: Bad character 'M'
cmixf (Ctrl+d to quit) >For developers:After cloning the repo do:pip install -e .[dev]pre-commit install
Package: cmku-client
cmku-clientSmall library to access data fromwww.cmku.czin your Python codeNote: all actions are only half year to the future
#Featuresget latest dog actions from sourceget breeds listget actions typescache already loaded resultsExamples###Enable cache
Enable caching to load all results only onesfromcmku_client.clientimportCMKUClientclient=CMKUClient(cache=True)Getting future actionsGet a list of nearest actionsfromcmku_client.clientimportCMKUClientclient=CMKUClient()actions=client.load_actions()print(actions)Getting breedsGet a list of all breedsfromcmku_client.clientimportCMKUClientclient=CMKUClient()breeds=client.load_breeds()print(breeds)Getting actions in date intervalGet a list of actions that are in a date intervalfromdatetimeimportdatetimefromcmku_client.clientimportCMKUClientclient=CMKUClient()actions=client.load_by_date(date_from=datetime(2020,1,1),date_to=datetime(2020,5,1))print(actions)Getting action detailGet a action detailfromcmku_client.clientimportCMKUClientclient=CMKUClient()action=client.load_action_detail(action_id=666)print(action)Getting actions with nameGet a list of actions which name contains string or substrfromcmku_client.clientimportCMKUClientclient=CMKUClient()action=client.load_by_name(name="oblastní")print(action)
Package: cmlib
CmLib (color map library) is a collection of color maps, which originate from
different sources and that have been converted to a uniform format.CmLib comes with PyQt widgets to view the collection and select a color map.
However, you don’t need Python to use the color maps because the data is
stored in comma separated files, which can be read in any programming language.For more info, see:https://github.com/titusjan/cmlibHistory1.1.3 (2022-07-27)Fixed error reading colormaps in numpy 1.23.
(Seehttps://github.com/titusjan/argos/issues/25)1.1.2 (2022-02-26)Fixed errors when running with Python 3.10.1.1.1 (2021-04-27)Fix setup.py install by adding HISTORY.rst in source distribution1.1.0 (2021-02-07)Catalog and Category are are selected by combo-boxes (was checkboxes)Possible to change the button text of the selection widget.MatPlotLib Hsv has the ‘rainbow’ tag.1.0.0 (2019-08-04)First release on PyPI.
Package: cmlibs.argon
The core data structures for GUI applications using Zinccmlibs.org.LicenseCopyright 2021 University of Auckland

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: cmlibs.exporter
CMLibs exporter classes.  This software can be found on PyPi and installed with the following command:pip install cmlibs.exporterWhen using the thumbnail exporter there are additional requirements for hardware or software rendering.
To install the thumbnail exporter with support for hardware rendering installcmlibs.exporterwith:pip install 'cmlibs.exporter[thumbnail_hardware]'To install the thumbnail exporter with support for software rendering installcmlibs.exporterwith:pip install 'cmlibs.exporter[thumbnail_software]'To force the use of the software renderer even when hardware rendering is available, set an environment variable like so:OC_EXPORTER_RENDERER=osmesaeither in the environment the exporter is run in or before calling the export thumbnail method.DistributionThis software uses regex to extract the version number information from the package. The version number for this package is stored in ‘src/cmlibs/exporter/__init__.py’LicenseCopyright 2021 University of Auckland

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: cmlibs.importer
CMLibs importer is a library for importing data into Zinc.  This software can be found on PyPi and installed with the following command:pip install cmlibs.importerTo support import of common mesh types: stl, obj, ply, and dxf install additional requirements with:pip install cmlibs.importer['common']To support import of svg files install additional requirements with:pip install cmlibs.importer['svg']To support import of MBF XML files install additional requirements with:pip install cmlibs.importer['mbfxml']To support import of all supported formats install with:pip install cmlibs.importer['all']LicenseCopyright 2021 University of Auckland

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: cmlibs.merger
CMLibs merger:  This software can be found on PyPi and installed with the following command:pip install cmlibs.mergerDistributionThis software uses regex to extract the version number information from the package. The version number for this package is stored in ‘src/cmlibs/merger/__init__.py’LicenseCopyright 2021 University of Auckland

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: cmlibs.zinc
Zinc provides Python bindings to the visualisation library.
There are some examples available athttps://cmlibs.org/documentation/tutorials/index.html.
A typical usage often starts with creating a Context like this:from cmlibs.zinc import context
c = context.Context.create("my-context")There are some very cool things you can visualize with this library, like DICOM images, Hermite meshes and so on.First StepsThe examples are the best place for getting started with Zinc Python bindings.ContributorsAlan WuHugh SorbyRichard Christie
Package: cmm
Coherence Mixture Modelor for now k-Means Clustering with coherence as distance metricUnsupervised clustering algoirthm which clusters timeseries based on coherence.Coherence between two signals is defined as:\mathcal{C}(\mathbf{\hat{x}}(\omega), \mathbf{\hat{\mu}}(\omega)) = \frac{|S_{x,\mu}(\omega)|^2}{S_{xx}(\omega)\cdot S_{\mu, \mu}(\omega)}xnt: data
k: number of clusters
fs: sampling frequency
nperseg: number of timepoints in each trial (to compute FFT over and average)
itemax: max number of iterations to optimizefrom cmm import CMM

cm = CMM(
    xnt,
    k=k,
    fs=fs,
    nperseg=nperseg,
)

cm.optimize(itemax=itemax)
print(cm.labels)
Package: cmml
Flask is a lightweightWSGIweb application framework. It is designed
to make getting started quick and easy, with the ability to scale up to
complex applications. It began as a simple wrapper aroundWerkzeugandJinjaand has become one of the most popular Python web
application frameworks.Flask offers suggestions, but doesn’t enforce any dependencies or
project layout. It is up to the developer to choose the tools and
libraries they want to use. There are many extensions provided by the
community that make adding new functionality easy.InstallingInstall and update usingpip:pip install -U FlaskA Simple ExamplefromflaskimportFlaskapp=Flask(__name__)@app.route('/')defhello():return'Hello, World!'$ env FLASK_APP=hello.py flask run
 * Serving Flask app "hello"
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)ContributingFor guidance on setting up a development environment and how to make a
contribution to Flask, see thecontributing guidelines.DonateThe Pallets organization develops and supports Flask and the libraries
it uses. In order to grow the community of contributors and users, and
allow the maintainers to devote more time to the projects,please
donate today.LinksWebsite:https://www.palletsprojects.com/p/flask/Documentation:http://flask.pocoo.org/docs/License:BSDReleases:https://pypi.org/project/Flask/Code:https://github.com/pallets/flaskIssue tracker:https://github.com/pallets/flask/issuesTest status:Linux, Mac:https://travis-ci.org/pallets/flaskWindows:https://ci.appveyor.com/project/pallets/flaskTest coverage:https://codecov.io/gh/pallets/flask
Package: cmn
ChangeMediaNameTool that changes media files to its creation date.Installationpip install cmnUsagecmn -i <input-files> [options]OptionsOption 1Option 2DescriptionhhelpShow this help message and exitiinput-filesRequired. File(s) or folder(s) to scanvverboseDefault:False. Verbose moderrecursiveDefault:False. Scan folders recursivelyniignored-pathsDefault:None. Files or folders to be ignorednrnot-ignore-subfoldersDefault:True. Choose to not ignore subfolders of the ignored pathstfile-typesDefault:None. List of file types to considerntnot-file-typesDefault:None. List of file types to ignoreofonly-imagesDefault:False. Consider only imagesovonly-videosDefault:False. Consider only videoscfcreate-new-foldersDefault:False. Create new folders according to the new image namesfnname-formatDefault:%Y%m%d_%H%M%S. Format of the new namesffname-folder-formatDefault:%Y - %m - %d. Format of the new folder namesSupported file typesTypeExtensionNameImageHEICHigh Efficiency Image File FormatImageJPEGJoint Photographic Experts Group File FormatImageJPGJoint Photographic Group File FormatImagePNGPortable Network Graphics File FormatImageWEBPWebP Image File FormatVideoAVIAudio Video InterleaveVideoAVIAudio Video InterleaveVideoMP4MPEG-4 Part 14RequirementsInstallexiftoolcommand fromhttps://exiftool.org/. Credits to Phil Harvey.
Package: cmn-ai
Welcome tocmn_aiIntroductionI am a big believer inBoyd's Law, which states thatspeed of iteration beats quality of iteration. Following this principle, I createdcmn_aito incorporate the most common tasks we encounter in ML/AI from data exploration to model development and training. Additionally, I baked into it some of the best practices I learned in my career so I don't have to repeat myself on every project I work on.It is worth noting that the majority of the DL code such asLearnerand callbacks assume thatpytorchis used as the underlying DL library. Also, tabular data preprocessors/models are compatible withsklearnso they can be used easily with itsPipelineorColumnTransformer.Given the nature of the progress in ML/AI, I will always keep adding more functionalities as time passes.Contributingcmn_aiis not open now for contribution because there are some infrastructure work I need to finish to make it ready for more contributors.Licensecmn_aihas Apache License, as found in theLICENCEfile.
Package: cmndseven-cli
ccliA placeholder project for to be opinionated Camunda Platform 7 CLI.RequirementsUse ofcclito render BPMN diagrams require NodeJS (node) and Chrome
(chrome) or Chromium (chromium) browser on the current system path.UsageUsage: ccli [OPTIONS] COMMAND [ARGS]...

  Opinionated Camunda Platform 7 CLI

Options:
  --url TEXT            Set Camunda REST API base URL (env: CAMUNDA_URL).
  --authorization TEXT  Set Authorization header (env: CAMUNDA_AUTHORIZATION).
  --help                Show this message and exit.

Commands:
  render instance INSTANCE_ID [OUTPUT_PATH]For example, Basic authorization with userdemoand passworddemocould be set with:export CAMUNDA_AUTHORIZATION="Basic ZGVtbzpkZW1v"
Package: cmne
Contextual Minimum-Norm Estimates (CMNE): A Deep Learning Method for Source Estimation in Neuronal NetworksFor more information on CMNE, please read the following papers:Dinh C, Samuelsson JGW*, Hunold A, HÃ¤mÃ¤lÃ¤inen MS, Khan S. Contextual MEG and EEG Source Estimates Using Spatiotemporal LSTM Networks. Front. Neurosci 2021;15:119-134; doi:https://doi.org/10.3389/fnins.2021.552666Dinh C, Samuelsson JGW*, Hunold A, HÃ¤mÃ¤lÃ¤inen MS, Khan S. Contextual Minimum-Norm Estimates (CMNE): A Deep Learning Method for Source Estimation in Neuronal Networks. arXiv:1909.02636; doi: https://doi.org/10.48550/arXiv.1909.02636InstallationTo install the latest stable version of CMNE, you can usepipin a terminal:pipinstall-UcmneUsage of the Docker ContainerBuild the docker image withdockerbuild-tbrain-link/cmne:v0.01.and run it withdockerrun-ti-v<YOURDATADIR>:/workspace/data-v<YOURCMNERESULTSDIR>:/workspace/results-v<YOURCMNEGITDIR>:/workspace/cmne--nameCMNEbrain-link/cmne:v0.01It is convinient to install CMNE for development directly from the local repository. Change the directory to ‘/workspace/cmne’ in the CLI of the Docker Container and runpipinstall-e.LicensingCMNE isMIT-licensed:Copyright (c) 2017-2022, authors of CMNE.
All rights reserved.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.
Package: cmnemoi-learn
cmnemoi-learn - Machine Learning from scratch by Charles-Meldhine Madi MnemoiRepository in which I will implement some of the machine learning models described in Elements Of Statistical Learning by Hastie, Tibshirani and Friedman from scratch (using onlynumpy) in form of a Python package.The implementations will be unit tested against popular implementation (Scikit-learn, PyTorch) withpytest.The quality of the code will be checked usingblack,pylintandmypyat each commit through a GitHub Action CI pipeline.The package will be published on PyPI at each push to themainbranch through a GitHub Action CD pipeline.Install the packagepyenv and poetrypyenvinstall3.11
pyenvlocal3.11
poetryinstallAnaconda or Minicondacondacreate-ncmnemoi-learnpython=3.11-y
condaactivatecmnemoi-learn
pipinstallcmnemoi-learnContributingClone the repo :gitclonehttps://github.com/cmnemoi/cmnemoi-learn.gitcdcmnemoi-learnThen install dependencies.If you run Poetry and pyenv:pyenvinstall3.11
pyenvlocal3.11
poetryinstall--with=dev,testIf you run Miniconda or Anaconda:condacreate-ncmnemoi-learn-devpython=3.11-y
condaactivatecmnemoi-learn-dev
pipinstall-rrequirements-dev.txtLicenseMIT License
Package: cmocean
cmoceanDocumentation available:http://matplotlib.org/cmocean/.We have a paper with guidelines to colormap selection for your application and a description of thecmoceancolormaps:
Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M., & DiMarco, S. F. (2016). True colors of oceanography. Oceanography, 29(3), 10.
link:http://tos.org/oceanography/assets/docs/29-3_thyng.pdfBesides Python, the cmocean colormaps are also available:ForMATLABbyChad GreeneForR cmocean, which includesggplot2compatible functions. Also included inOce: an oceanographic analysis package byDan KelleyandClark Richards.For Julia, included inPlots.jlandMakie.jlForOcean Data ViewerFor Generic Mapping Tools (GMT)  atcpt-cityand ongithubForParaviewinspired byPhillip WolframInPlotlyChad Greene'sAntarctic Mapping Toolsin Matlab usescmoceanForTableauas a preferences file ongithubForImageJasLUTsForncviewviancmaps.ForSeaDAS, and should work with BEAM/SNAP as well.To install:pip install cmoceanTo install with Anaconda:conda install -c conda-forge cmoceanIf you want to be able to use theplotssubmodule, you can instead install with:pip install "cmocean[plots]"which will also installviscmandcolorspacious.
Package: cmo-databaseutils
Cmotions DatabaseUtilscmo_databaseutils is a Python library created byThe Analytics Lab, which is powered byCmotions. This library combines our most used functionality when it comes to connecting to databases from Python. Nothing fancy, but very useful for our consultants. Mostly since this package is used in other packages, which makes our workflow simpler and more efficient.Since we love to share what we do, why not also do that with our packages, that is why we've decided to make (almost) all of our packages open source, this way we hope to give back to the community that brings us so much. Enjoy!InstallationInstall cmo_databaseutils using pippipinstallcmo-databaseutilsIf you want to be able to use the tutorial notebook or the code below, you also need to install pydataset and dotenv using pippipinstallpython-dotenv
pipinstallpydatasetUsageimportosfrompydatasetimportdatafromdotenvimportload_dotenvfromcmo_databaseutilsimportdb_utilsload_dotenv()df=data("iris")# create a database connection to SQL Server using the credentials provided in a .env filedb_conn=db_utils(server=os.getenv("DB1_SERVER"),db=os.getenv("DB1_DATABASE"),server_name=os.getenv("DB1_SERVER_NAME"),usr=os.getenv("DB1_USERNAME"),pwd=os.getenv("DB1_PASSWORD"),driver=os.getenv("DB1_DRIVER"),port=os.getenv("DB1_PORT"))# create a database connection to SQL Server using Windows credentialsdb_conn=db_utils(server="localhost",db="localtemp")# get an overview of all active schemas in the databasedb_conn.list_all_active_schemas()# get an overview of all tables in the database within the specified schemasdb_conn.list_all_tables(schema=['dbo'])# load the data from an entire tablecars=db_conn.retrieve_table_from_sql(table="cars",schema="dbo")# write a table to the SQL database, when possible the package will use BCP to optimize the efficiency of the processdb_conn.write_dataframe_to_sql(data=df,table="mynewtable",schema="dbo",replace_if_exists=False,index=False,dtype=None)ContributingPull 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.LicenseGNU General Public License v3.0ContributorsJeanine SchoonemannContact us