Saravanan666/pypi-org huggingface dataset:
Package: casq
______      _____ ____
  / ____/___ _/ ___// __ \
 / /   / __ `/\__ \/ / / /
/ /___/ /_/ /___/ / /_/ /
\____/\__,_//____/\___\_\CaSQconvertsCellDesignermodels to Boolean models encoded inSBML-Qualwith a rather strict semantics defined in apublished article.InstallCaSQ is provided as a Python3 package, you can install it from thePython package indexwithpip,condaor your Python package manager of choice:$python3-mpipinstallcasqCommand-line usageJust follow the instructions:$ casq --help
usage: casq [-h] [-v] [-D] [-c] [-s] [-r S] [-u [UPSTREAM ...]]
            [-d [DOWNSTREAM ...]] [-b] [-g GRANULARITY] [-i INPUT] [-C]
            [infile] [outfile]

Convert CellDesigner models to SBML-qual with a rather strict semantics.
Copyright (C) 2019, Sylvain.Soliman@inria.fr GPLv3

positional arguments:
  infile                CellDesigner File
  outfile               SBML-Qual/BMA json File

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -D, --debug           Display a lot of debug information
  -c, --csv             Store the species information in a separate CSV file
  -s, --sif             Store the influence information in a separate SIF file
  -r S, --remove S      Delete connected components in the resulting model if
                        their size is smaller than S. A negative S leads to
                        keep only the biggest(s) connected component(s)
  -u [UPSTREAM ...], --upstream [UPSTREAM ...]
                        Only species upstream of this/these species will be
                        kept
  -d [DOWNSTREAM ...], --downstream [DOWNSTREAM ...]
                        Only species downstream of this/these species will be
                        kept
  -b, --bma             Output to BMA json format
  -g GRANULARITY, --granularity GRANULARITY
                        When exporting to BMA, use this granularity
  -i INPUT, --input INPUT
                        When exporting to BMA, nodes with no input should be
                        set to this value
  -C, --colourConstant  When exporting to BMA, colour all variables pink
                        (defaults to colour by compartment)
Package: casregnum
casregnumPython class to manage, check and sort CAS Registry Numbers® (CAS RN®).Table of ContentDescriptionHow to install and uninstall?How to use?ExamplesDescriptioncasregnumis a Python class to manage, check, and sort CAS Registry Numbers® (CAS RN®) by theChemical Abstracts Service. Check their officialFAQ websitefor more information on CAS numbers.How to install and uninstall?casregnumcan be installed from thePython Package Index (PyPI)repository by callingpip install casregnumIn order to uninstallcasregnumfrom your local environment usepip uninstall casregnumHow to use?casregnumprovides theCASclass for creating a CAS Registry Number® instance:fromcasregnumimportCASsubstance=CAS(cas_rn)Note thatcas_rncan either be an integer or a string. If you provide an integer, theCASclass will take care of formatting the CAS RN® for you. If you provide a string, it needs to comply with the CAS number formatting rules, i. e.2-7 digitsdashtwo digitsdashsingle check digit(_____00-00-0).TheCASclass offers the following three properties:.cas_string# CAS number formatted as a string.cas_integer# CAS number as an integer.check_digit# check digit of the CAS numberExamples:fromcasregnumimportCAScaffeine=CAS(58_08_2)theine=CAS("58-08-2")l_lacticacid=CAS(79_33_4)d_lacticacid=CAS(10326_41_7)octanes=[CAS(111_65_9),CAS(592_27_8),CAS(589_81_1),CAS(589_53_7),CAS(590_73_8),CAS(584_94_1),CAS(589_43_5),CAS(592_13_2),CAS(563_16_6),CAS(583_48_2),CAS(619_99_8),CAS(564_02_3),CAS(540_84_1),CAS(560_21_4),CAS(565_75_3),CAS(609_26_7),CAS(1067_08_9),CAS(594_82_1),]print(f"str:{caffeine}")print(f"int:{theine.cas_integer}")print(f"check digit:{caffeine.check_digit}")print(f"{caffeine}=={theine}:{caffeine==theine}")print(f"{caffeine}>{theine}:{caffeine>theine}")print(f"{l_lacticacid}>{d_lacticacid}:{l_lacticacid>d_lacticacid}")print(f"{l_lacticacid}<{d_lacticacid}:{l_lacticacid<d_lacticacid}")fori,isomerinenumerate(sorted(octanes),start=1):print(f"{isomer:>9}",end=", ")ifi%6==0:print()will generate the following output:str: 58-08-2
int: 58082
check digit: 2
58-08-2 == 58-08-2: True
58-08-2 > 58-08-2: False
79-33-4 > 10326-41-7: False
79-33-4 < 10326-41-7: True
 111-65-9,  540-84-1,  560-21-4,  563-16-6,  564-02-3,  565-75-3,
 583-48-2,  584-94-1,  589-43-5,  589-53-7,  589-81-1,  590-73-8,
 592-13-2,  592-27-8,  594-82-1,  609-26-7,  619-99-8, 1067-08-9,
Package: cassa
Classification with Automated Semi-Supervised Algorithms (CASSA) packageOverviewCASSAis a Python package to perform unsupervised and semi-supervised machine learning (ML) classification algorithms on generic tensors of pre-processed data, such as time series, altitude profiles, images, DDMs and spectra. Mainly tested on Earth Observation (EO) satellites data, such as GNSS-RO sTEC profiles and GNSS-R DDMs. It produces a database of labeled clusters that can be used to classify new unlabeled data.
The documentation is available athttps://cassa.readthedocs.io/en/latest/.It includes the following blocks:Parallelized distance matrix computation using earth mover's distance (EMD, aka Wasserstein metric)Spetral clustering using precomputed distance matrixSelf-tuned spectral clustering using precomputed distance matrixHDBSCAN clustering using precomputed distance matrixClassification of new data based on database of labeled clustersInstallationpip install cassaAuthorsGiorgio Savastano (giorgiosavastano@gmail.com)Karl Nordstrom (karl.am.nordstrom@gmail.com)ReferencesSavastano, G., K. Nordström, and M. J. Angling (2022), Semi-supervised Classification of Lower-Ionospheric Perturbations using GNSS Radio Occultation Observations from Spire’s Cubesat Constellation. Submitt. to JSWSC.
Package: cassandra-dataset-manager
# Cassandra Data ManagerTool for installing cassandra datasets.  This is not a bulk loader.  It is intended to be used as a tool for learning and educational purposes.This repository contains the cdm tool only, and has references to repositories which are independently maintained.## Installationpip install cassandra-dataset-managerThe project is still under heavy development, a lot is changing very quickly.## QuickstartLet’s install the movielens-small dataset.  It’s a quick download at just a few MB and gives you a database you can play with.cdm update
cdm install movielens-smallOpen the Cassandra shell:cqlsh -k movielens_small
desc tables;
select * from movies limit 10;Options are all available atcdm helpI encourage you to read through the [documentation](http://cdm.readthedocs.org/en/latest/).
Package: cassandra-driver
A modern,feature-richand highly-tunable Python client library for Apache Cassandra (2.1+) and
DataStax Enterprise (4.7+) using exclusively Cassandra’s binary protocol and Cassandra Query Language v3.The driver supports Python 3.8 through 3.12.Note:DataStax products do not support big-endian systems.FeaturesSynchronousandAsynchronousAPIsSimple, Prepared, and Batch statementsAsynchronous IO, parallel execution, request pipeliningConnection poolingAutomatic node discoveryAutomatic reconnectionConfigurableload balancingandretry policiesConcurrent execution utilitiesObject mapperConnecting to DataStax Astra database (cloud)DSE Graph execution APIDSE Geometric type serializationDSE PlainText and GSSAPI authenticationInstallationInstallation through pip is recommended:$ pip install cassandra-driverFor more complete installation instructions, see theinstallation guide.DocumentationThe documentation can be found onlinehere.A couple of links for getting up to speed:InstallationGetting started guideAPI docsPerformance tipsObject Mappercqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from the
community) is now maintained as an integral part of this package. Refer todocumentation here.ContributingSeeCONTRIBUTING.md.Error HandlingWhile originally written for the Java driver, users may reference theCassandra error handling done right blogfor resolving error handling scenarios with Apache Cassandra.Reporting ProblemsPlease report any bugs and make any feature requests on theJIRAissue tracker.If you would like to contribute, please feel free to open a pull request.Getting HelpYour best options for getting help with the driver are themailing listand theDataStax Community.LicenseCopyright DataStax, Inc.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 athttp://www.apache.org/licenses/LICENSE-2.0Unless 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: cassandra-driver-dse
This package builds on the core DataStax Python Cassandra driver, adding functionality
for interacting with certain DSE-specific features.This driver is solely for use with DataStax Enterprise. See the License section below.FeaturesDSE Graph execution APIDSE Geometric type serializationDSE PlainText and GSSAPI authenticationInstallationInstallation through pip is recommended:$ pip install cassandra-driver-dseDocumentationThe documentation can be found onlinehere.A couple of links for getting up to speed:InstallationGetting started guideReporting ProblemsPlease report any bugs and make any feature requests on theJIRAissue tracker.Getting HelpYour two best options for getting help with this extension are themailing listand the IRC channel.For IRC, use the #datastax-drivers channel on irc.freenode.net.  If you don’t have an IRC client,
you can usefreenode’s web-based client.LicenseCopyright 2016 DataStaxLicensed under the DataStax DSE Driver License;
you may not use this software except in compliance with the License.
You may obtain a copy of the License athttp://www.datastax.com/terms/datastax-dse-driver-license-termsUnless 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: cassandra-driver-fork
A modern,feature-richand highly-tunable Python client library for Apache Cassandra (2.1+) and
DataStax Enterprise (4.7+) using exclusively Cassandra’s binary protocol and Cassandra Query Language v3.The driver supports Python 3.7 and 3.8.Note:DataStax products do not support big-endian systems.FeaturesSynchronousandAsynchronousAPIsSimple, Prepared, and Batch statementsAsynchronous IO, parallel execution, request pipeliningConnection poolingAutomatic node discoveryAutomatic reconnectionConfigurableload balancingandretry policiesConcurrent execution utilitiesObject mapperConnecting to DataStax Astra database (cloud)DSE Graph execution APIDSE Geometric type serializationDSE PlainText and GSSAPI authenticationInstallationInstallation through pip is recommended:$ pip install cassandra-driverFor more complete installation instructions, see theinstallation guide.DocumentationThe documentation can be found onlinehere.A couple of links for getting up to speed:InstallationGetting started guideAPI docsPerformance tipsObject Mappercqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from the
community) is now maintained as an integral part of this package. Refer todocumentation here.ContributingSeeCONTRIBUTING.md.Error HandlingWhile originally written for the Java driver, users may reference theCassandra error handling done right blogfor resolving error handling scenarios with Apache Cassandra.Reporting ProblemsPlease report any bugs and make any feature requests on theJIRAissue tracker.If you would like to contribute, please feel free to open a pull request.Getting HelpYour best options for getting help with the driver are themailing listand theDataStax Community.LicenseCopyright DataStax, Inc.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 athttp://www.apache.org/licenses/LICENSE-2.0Unless 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: cassandra-medusa
Medusa for Apache Cassandra™Medusa is an Apache Cassandra backup system.FeaturesMedusa is a command line tool that offers the following features:Single node backupSingle node restoreCluster wide in place restore (restoring on the same cluster that was used for the backup)Cluster wide remote restore (restoring on a different cluster than the one used for the backup)Backup purgeSupport for local storage, Google Cloud Storage (GCS), Azure Blob Storage and AWS S3 (and its compatibles)Support for clusters using single tokens or vnodesFull or differential backupsMedusa currently does not support (but we would gladly accept help with changing that):Cassandra deployments with multiple data folder directories.DocumentationInstallationConfigurationUsageFor user questions and general/dev discussions, please join the #cassandra-medusa channel on the ASF slack athttp://s.apache.org/slack-invite.Docker imagesYou can find the Docker images for Cassandra Medusa athttps://hub.docker.com/r/k8ssandra/medusa.DependenciesFor information on the packaged dependencies of Medusa for Apache Cassandra® and their licenses, check out ouropen source report.
Package: cassandra-mmm
CassandraCassandra's library for Marketing Mix ModelingTo best perform an mmm, you will need to perform these processes in order:Data ProcessingData AnalysisTrasformationsModelsModel Evaluation##Deploy and install Cassandra
###Deploy
The first thing to do to deploy your library is to create the zip file to deploy in the dist folder,
run this command and delete the previous version of the zippython setup.py sdistYou can now release your new version. While executing the command, you will be asked for the username and password of your pypi accountpython -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*###Install
If you haven't installed cassandra yet, run the following commandpip install cassandra-mmmotherwise, update the librarypip install cassandra-mmm --upgrade
Package: cassandra_opentracing
[![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov]# opentracing-python-cassandraInstrumentation tools to enable tracing for [cassandra-driver](https://github.com/datastax/python-driver).` pip install cassandra_opentracing `## Usage`python # set up your tracer cluster = Cluster() session =cluster.connect('my_keyspace')QueryTracing(self.session) `This will automatically trace all your queries (except forBatchStatement, see Known Issues). The default span operation name isexecutefor all queries. Operation name are meant to be low cardinality and there’s a standard tag for the query statement:db.statement.### Using fixed span name`python QueryTracing(self.session,span_name='execute')`All the spans will be sent to the tracer with the nameexecute. Note the query string will still be sent in the tagdb.statement.### Using a prefix`python QueryTracing(self.session,prefix='Custom')`All the spans will contain a prefix and it will looke like: “Custom: SELECT * FROM…”### Using query string as span name`python # set up your tracer cluster = Cluster() session =cluster.connect('my_keyspace')QueryTracing(self.session, use_querystring_as_name=True) `If you query contains parameters, the query will include the%sor?. The span will be the query string, e.g:SELECT * FROM test_table WHERE name = %s.When passinguse_querystring_as_name, you can still useprefixbut any value passed inspan_namewill be ignored.### Adding more span tagsAll you have to is:`python cluster = Cluster() session =cluster.connect('my_keyspace')QueryTracing(self.session,span_tags={'custom_tag':'value'})`All queries will contain the custom tags.### Using a custom tracerYou may pass atracerargument to QueryTracing. If you don’t, the defaultopentracing.tracerwill be used.## TagsAll traces will contain the following tags:### OpenTracing standard tags:db.type: cassandracomponent:cassandra-driverdb.instance: The execution keyspace except when the keyspace is overriden on the query string (see Known Issues).db.statement: The query string itself.consistency_level: If the query specified a consistency level, this tag will be present.error: In case of error, this will be set to True and a log will be issued with the error message.### Tags added by this librarycommand: This indicates the CQL operation, e.g:SELECT,UPDATE,CREATE KEYSPACE, etc.paginated: If the query is pagined, this will be set to True.reported_duration: The time taken to execute the query. Note that this time takes into account the network roundtrip as well.## Known IssuesBatchStatement are yet unsupported as there is no simple way to get the executed query strings.Queries that override the keyspace (SELECT * FROM keyspace.table) won’t have the overriden keyspace sent to the tracer.[ci-img]:https://travis-ci.org/opentracing-contrib/python-cassandra.svg?branch=master[ci]:https://travis-ci.org/opentracing-contrib/python-cassandra[cov-img]:https://codecov.io/gh/nicholasamorim/opentracing-python-cassandra/branch/master/graph/badge.svg[cov]:https://codecov.io/gh/nicholasamorim/opentracing-python-cassandra
Package: cassandra-orm
Cassondra ORM ( CORM )Cassandra ORM which uses Python annotations similar to the typing.NamedTuple APIInstall$ pip install -U cormUsageimport corm

from corm.models import CORMBase

from datetime import datetime

class TestModel(CORMBase):
    __keyspace__ = 'mykeyspace'
    column_one: str
    column_two: int
    column_three: datetime


corm.register_table(TestModel)
corm.sync_schema()

first_test = TestModel('one', 'two', datetime.utcnow())
second_test = TestModel('first', 'second', datetime.utcnow())
corm.insert([first_test, second_test])
Package: cassandra-quickstart
Cassandra Quickstart====================This tool downloads Cassandra, Java, ccm, and drivers into your homedirectory (~/.cassandra-quickstart) and starts a single node Cassandracluster. This is meant to be useful for prototyping and developmenttasks, not for production.The idea is to have a one-liner to install everything you need to useCassandra on Linux, Mac OSX, or Windows. The only requirement is thatyou have Python installed (2.7 tested) which every Linux and Macsystem should have pre-installed. In the future I plan to distributean .exe for Windows that bundles all the requirements.Ubuntu / Debian:---------------- sudo apt-get install python-setuptools- sudo easy_install cassandra-quickstart- cassandra-quickstart installMac OSX-------- sudo python -m easy_install -U setuptools- sudo python -m easy_install cassandra-quickstart- cassandra-quickstart installWindows-------Windows compatibility is broken in this 0.1 release.Commands--------.. code::usage: cassandra-quickstart [-h] [--config CONFIG_DIRECTORY] [--name CLUSTER_NAME]{install,destroy,start,stop,cqlsh,nodetool,status,help} ...Cassandra Quickstartpositional arguments:{install,destroy,start,stop,cqlsh,nodetool,status,help}install             Install Cassandradestroy             Remove Cassandrastart               Start Cassandrastop                Stop Cassandracqlsh               Cassandra Shellnodetool            Cassandra node management tool (ex: nodetool ring)status              Print status of clusteroptional arguments:-h, --help            show this help message and exit--config CONFIG_DIRECTORYConfiguration directory (default is ~/.cassandra-quickstart)--name CLUSTER_NAME   Name of the cluster to operate on (default is'cassandra')
Package: cassandra-s3-incremental-backup-watcher
Continuously send Cassandra incremental backups to Amazon S3License (MIT)Copyright (C) 2017 Cobli

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: cassandra-step
Cassandra StepCassandra is a Monte Carlo molecular simulation package.Free software: BSD licenseDocumentation:https://cassandra-step.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-04-01)First release on PyPI.
Package: cassarrow
CassarrowArrow based Cassandra python driver.TLDR;Speed up the cassandra python driver using C++ to parse cassandra queries data asApache Arrowtables.Key features:20x speed up in the parsing of results14x less memorySupport for most native types, UDT, List and SetGetting StartedInstallationpipinstallcassarrowUsageimportcassarrowimportpyarrowaspa# ...withcassarrow.install_cassarrow(session)ascassarrow_session:table:pa.Table=cassarrow.result_set_to_table(cassarrow_session.execute("SELECT * FROM my_table"))Type MappingNative TypesCassandrapyarrowNoteasciipa.string()bigintpa.int64()blobpa.binary()booleanpa.bool_()counterTODOdatepa.date32()decimalIncompatibledoublepa.float64()durationpa.duration("ns")floatpa.float32()inetTODOintpa.int32()smallintpa.int16()textpa.string()timepa.time64("ns")timestamppa.timestamp("ms")timeuuidpa.binary(16)tinyintpa.int8()uuidpa.binary(16)varcharpa.string()varintIncompatibleCollections / UDTCassandrapyarrowNotelistpa.list_mappa.map_setpa.list_udtpa.struct
Package: cassava-classifier
Cassava leaf disease classificationThe idea of this project is to build an image classifier to find out healthy and diseased cassava leaves.There are 4 different classes of leaf diseases namely -Cassava Bacterial Blight (CBB),Cassava Brown Streak Disease (CBSD),Cassava Green Mottle (CGM) and Cassava Mosaic Disease (CMD).Training data can be found on theKaggle competition pageStreamlit app code can be foundhere.Github discussion forumInstallationpip install cassava-classifierInference exampleimportPILimportImagefromcassava.pretrainedimportget_modelimage=Image.open("<insert your image path here>")# Use cassava.list_models() to list of available trained modelsmodel=get_model(name:str)model.predict_as_json(image:np.array)>>{"class_name":str,"confidence":np.float}Try out the inference code on either google colab or kaggle.Training pipeline1.Model Architecture - Efficeientnet-B4 , Noisy Weights
2.Image Size         - 512
3.Optimizer          - Adam
4.Scheduler          - GradualWarumUpScheduler
5.Loss               - Focal Cosine Loss
6.Augmentations      - Hard Augmentations
7.Epochs             - 10
8.Early Stopping     - No
9.Mixed Precision    - YesBlog[Medium link]AcknowledgementsWe would like to thank Kaggle community as a whole for providing an avenue to learn and discuss latest data science/machine learning advancements but a hat tip to whose code was used / who inspired us.TeranusNakama