Saravanan666/pypi-org huggingface dataset:
Package: critiqypy
CritiqypyCritiqypy is a simple File Categorizer Tool. It allows you to quickly view all files in a folder, and categorize them into categories you have defined. A straightforward example is looking through photos quickly, selecting some for printing, while discarding others.I created this simple application, because I need to sort a lot of images and videos manually; I have a large amount of microscopy data, and it is easy to see whether further analysis is worth it by eye. Therefore, simply looking at all images and/or movies and manually separating them one-by-one became annoying, and I wrote this super-simple script to just go through all files.UsageOn the command line, simply runcritiqypy <path to folder with files to categorize> <path where to put the result>.
More advanced options are given in the help menu (also shown below). A typical, more complicated example is:critiqypy-cp/path/to/images//path/to/output/folder-cBadMehGood"Absolutely fantastic"which will show you the images in/path/to/images/one by one, allowing you to sort them into one of the categories (Bad, Meh, Good, and Absolutely fantastic). When you sort an image into 'meh', a copy of the image is placed in/path/to/output/folder/meh.usage: Critiqypy [-h] [-c CATEGORY [CATEGORY ...]] [-j | -cp | -mv] folder_path destination

positional arguments:
  folder_path           Path to the folder containing files to categorize
  destination           Path to the folder to store categorized pictures, or to the location to save the json with results

options:
  -h, --help            show this help message and exit
  -c CATEGORY [CATEGORY ...], --category CATEGORY [CATEGORY ...]
                        The categories to split the files into. Defaults to Yes & No, because that is probably what you want anyway. Can be any number you like.
  -j, --json            Write the categorization to the destination as a json file. Leave the original files alone.
  -cp, --copy           In the destination path, create subfolders with each category and place a //copy// of files in their respective categories
  -mv, --move           In the destination path, create subfolders with each category and //move// files to their respective categoriesLimitationsCurrently, this script can only handle video and image files. Extending things shouldn't be too difficult (?), but I personally don't need it. I checked that the script runs on a Linux machine, the codeshouldwork on Windows and Mac as well, but your mileage may vary.Internally, I use VLC to display movies, so any video that VLC can show should work. Images are handled by Pillow.InstallationBefore installing this package, note that we useVLC media playerto display videos. If VLC is not installed, this script will not work. If VLC installed, simply install this package using your favourite python package installer, probably:pip install critiqypy
Package: crix
CRIX.io official clientThis official client of CRIX.io crypto exchange. Supports both synchronous and asynchronous approachEnvironment requirements:python 3.6+requests 2.*For several operations like create/cancel orders you should
also be registered in the exchange and got BOT API token and secret.To access historical data you should get explicit permission by exchange support.Installationover pip:pip install crixmanually (dev):pip install git+https://github.com/blockwise/crix-client-py.git#egg=crixSample usageUnauthorized (public) accessimportcrixclient=crix.Client(env='prod')# get all symbolsforsymbolinclient.fetch_markets():print(symbol)# get some order bookdepth=client.fetch_order_book('BTC_BCH')print(depth)Authorized (clients-only) accessBOT API token and secret are requiredimportcrixfromcrix.modelsimportNewOrderclient=crix.AuthorizedClient(env='prod',token='xxyyzz',secret='aabbcc')# replace token and secret value for your personal API credentials# list all open ordersfororderinclient.fetch_open_orders('BTC_BCH'):print(order)# prepare ordernew_order=NewOrder.market('BTC_BCH',is_buy=True,quantity=0.1)# or use NewOrder constructor# place orderorder=client.create_order(new_order)print(order)
Package: crk-orthography
Plains Cree OrthographyNAME CHANGED:cree-sro-syllabics.Python 3 library to convert between Western Creestandard Roman
Orthography(SRO) tosyllabicsand back again!Can be used for:nêhiyawêwin/ᓀᐦᐃᔭᐍᐏᐣ/Cree Y-dialectnīhithawīwin/ᓃᐦᐃᖬᐑᐏᐣ/Cree Th-dialectnēhinawēwin/ᓀᐦᐃᓇᐍᐏᐣ/Cree N-dialectInstallUsingpip:pip install crk-orthographyOr, you can copy-paste or downloadcrk_othography.pyinto
your own Python 3 project!UsageVisit the full documentation here! Wondering about
words like "syllabics", "transliterator", or "orthography"? Visitthe glossary!As a Python moduleConvert SRO to syllabics:>>> from crk_orthography import sro2syllabics
>>> sro2syllabics('nêhiyawêwin')
'ᓀᐦᔭᐍᐏᐣ'
>>> sro2syllabics('write nêhiyawêwin')
'write ᓀᐦᐃᔭᐍᐏᐣ'Convert syllabics to SRO:>>> from crk_orthography import syllabics2sro
>>> syllabics2sro('ᐊᒋᒧᓯᐢ')
'acimosis'
>>> syllabics2sro(' → ᒪᐢᑫᑯᓯᕽ  ᑎᕒᐁᕀᓬ ')
' → maskêkosihk  tireyl 'See alsonêhiyawêwin syllabicsLicenseCopyright (C) 2018 Eddie Antonio SantosThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program.  If not, seehttp://www.gnu.org/licenses/.
Package: crl-checker
:warning: Library deprecated, please migrate topki-tools:warning:crl-checkerThis small python library checks if a specific certificate is revoked using the
CRL defined in the x509 CRL distribution points
extension (https://datatracker.ietf.org/doc/html/rfc5280.html#section-4.2.1.13)Installationpip install crl-checkerUsageChecking revocation using PEM encoded certificatefromcrl_checkerimportcheck_revoked,Revoked,Errorcert_pem="""-----BEGIN CERTIFICATE-----<CERTIFICATE_PEM_BYTES>-----END CERTIFICATE-----"""crl_issuer_pem="""-----BEGIN CERTIFICATE-----<CERTIFICATE_PEM_BYTES>-----END CERTIFICATE-----"""try:check_revoked(cert_pem,crl_issuer_pem)exceptRevokedase:print(f"Certificate revoked:{e}")exceptErrorase:print(f"Revocation check failed. Error:{e}")raiseChecking revocation using an already loaded cryptographyx509.Certificate:fromcryptographyimportx509fromcrl_checkerimportcheck_revoked_crypto_cert,Revoked,Errorcert:x509.Certificate=...chain:x509.Certificate=...try:check_revoked_crypto_cert(cert,chain)exceptRevokedase:print(f"Certificate revoked:{e}")exceptErrorase:print(f"Revocation check failed. Error:{e}")raise
Package: crl.doc
crl.docis a library for generating documentationDocumentationFull documentation forcrl.doccan be found fromRead the Docs.InstallationInstall with Python 3 pip:# pip install crl.docContributingPlease seecontributingfor development and contribution practises.
Thecodeand theissuesare hosted on GitHub.
The project is licensed underBSD-3-Clause.
Package: crl.examplelib
Example for Common Robot LibraryThis library is an example or template for Common Robot Library libraries
library. In testing it usespytestbut this can be replaced by any test tool
likenosetests.Moreover, there is now availablerobottestsenvironment for
demonstrating acceptance test capability.DocumentationDocumentation for crl.examplelib can be found fromRead The DocsDevelopment practicesThe development and the testing follows the Common Robot Libraries development
practices defined inhttps://github.com/nokia/crl-devutils.
Package: crlfihunter
p align="center">CRLF Bug scanner for WebPentesters and Bugbounty HuntersPrerequisitesNodeJsInstallation and ExampleInstall NodeJSInstructions Here(If you can't figure this out, you shouldn't really be using this)Linux, Mac, Windowspip install crlfihunterGithubclickHEREfor downloadsOpen terminal now typecrlfiExampleinputcrlfihunter -i urls.txtoutputcrlfihunter -i urls.txt -o out.txtUsages 📚 :👋 Hey karthithehacker.------------------------------.
|   Tool   : crlfi 👾          |
|   Author : @karthithehacker🎖️ |
|      %0D%0Acrlfi:crlfi       |
'------------------------------'
^      (_/)
'----- (O.o)
(> <)Crlfi  v1.0
CRLF Bug scanner for WebPentesters and Bugbounty Hunters$ crlfi [option]Usage: crlfi [options]Options:
-u, --url     URL to scan                                crlfi -uhttps://target.com-i, --input    Read input from txt             crlfi -i target.txt-i, --output   Write output in txt file        crlfi -i target.txt -o output.txt-c, --chatid  Creating Telegram Notification             crlfi --chatid yourid-h, --help    Help Menu
Package: crlibm
Python bindings forCRlibm, an efficient and proven
correctly-rounded mathematical library.CRlibm is a free mathematical library (libm) which provides:implementations of the double-precision C99 standard elementary
functions,correctly rounded in the four IEEE-754 rounding modes,with a comprehensive proof of both the algorithms used and their
implementation,sufficiently efficient in average time, worst-case time, and
memory consumption to replace existing libms transparently.InstallationAt the command line:$ pip install crlibmOn Microsoft Windowspipwill try first to download a binary
archive inwheelformat, and if no such awheelcan be found for
your Python version,pipwill try to compile the library.  In
order to do so, it is strongly recommended to haveMinGW-w64installed underMSYS2, for instance by following the
instructions inhttp://stackoverflow.com/a/30071634.UsageIn Python:>>> import crlibm
>>> crlibm.exp_ru(1)
2.7182818284590455

>>> crlibm.exp_rd(1)
2.718281828459045FeaturesThis project provides the bindings for the functions in the following table:f(x)Round to nearestRound up (to +∞)Round down (to -∞)Round to 0Exponentials and logarithmsexp(x)exp_rnexp_ruexp_rdexp_rzexp(x)-1expm1_rnexpm1_ruexpm1_rdexpm1_rzlog(x)log_rnlog_rulog_rdlog_rzlog(1+x)log1p_rnlog1p_rulog1p_rdlog1p_rzlog(x)/log(2)log2_rnlog2_rulog2_rdlog2_rzlog(x)/log(10)log10_rnlog10_rulog10_rdlog10_rzsinh(x)sinh_rnsinh_rusinh_rdsinh_rzcosh(x)cosh_rncosh_rucosh_rdcosh_rzTrigonometrysin(x)sin_rnsin_rusin_rdsin_rzcos(x)cos_rncos_rucos_rdcos_rztan(x)tan_rntan_rutan_rdtan_rzasin(x)asin_rnasin_ruasin_rdasin_rzacos(x)acos_rnacos_ruacos_rdacos_rzatan(x)atan_rnatan_ruatan_rdatan_rzTrigonometry in multiples of πsin(π * x)sinpi_rnsinpi_rusinpi_rdsinpi_rzcos(π * x)cospi_rncospi_rucospi_rdcospi_rztan(π * x)tanpi_rntanpi_rutanpi_rdtanpi_rzasin(x)/πasinpi_rnasinpi_ruasinpi_rdasinpi_rzacos(x)/πacospi_rnacospi_ruacospi_rdacospi_rzatan(x)/πatanpi_rnatanpi_ruatanpi_rdatanpi_rzThe functionpowin CRlibm is not exported.LicenseBoth the CRlibm library and the Python bindings are distributed under
the GNU Lesser General Public License as published by the Free
Software Foundation; either version2.1of the
License, or (at your option) any later version.AuthorsDavid Defour, Catherine Daramy, Florent de Dinechin,
Matthieu Gallet, Nicolas Gast, Christoph Lauter, Jean-Michel Muller.Python bindings by Stefano Taschini.LinksProject home page:https://github.com/taschini/pycrlibm.Documentation:https://pycrlibm.readthedocs.io.Entry in the Python Package Index:https://pypi.python.org/pypi/crlibm.CRlibm home page:http://lipforge.ens-lyon.fr/www/crlibm.LGPL v2.1:http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.History1.0.3 (2016-06-09)Fixed the compilation with Python 3.5 on Windows.1.0.2 (2016-06-06)Added support for Python 3.1.0.1 (2015-11-15)Improvements to the build process on MS Windows;Automatic upload of release files to PyPI using Appveyor.1.0.0 (2015-10-27)Spun off these binding fromPyInterval, a project for interval
arithmetic in Python.First release on PyPI.
Package: crlint
Project copyright linterA small utility to maintain the copyright status of a project in the correct state.Copyright formatPython copyright format:# Copyright (c) 20XX Celadon Development LLC, All rights reserved.# Author Name Surname <name.surname@celadon.ae>JavaScript copyright format:// Copyright (c) 20XX Celadon Development LLC, All rights reserved.// Author Name Surname <name.surname@celadon.ae>Installationinstall package via pip toolkit:pip install crtoolconfigure utility use one oftwo available methodsrun the project copyright linting:crtoolConfigurationConfiguration settings are applied in two ways: bysetup.cfgfile or.crlintrcfile.
Thesetup.cfgfile has more high priority.
To set an exclusion pattern to ignore some file formats, use a unix pattern written in one of the files you selected.configuration utility in thesetup.cfgfile must have such format:[crlint]
patterns=*.json, *.txtconfiguration utility in the.crlintrcfile must have such format:[ignore]
patterns=*.json, *.txtIntegration with Bitbucket CI:Add such step in yourbitbucket-pipelines.ymlfile to run checking a project copyright:pipelines:
  default:
    - step:
        name: Linting copyright
        image: python:3.7.2
        script:
          - pip install crtool
          - crlintUpdate pip packageLogin to the PiPy repositoryIncrease version in the setup fileCreate a python package distUpdate package on the PyPi repository# Create a package dist.pythonsetup.pysdistbdist_wheel# Upload package to repository.pipinstalltwine
twineupload-u$CT_PYPI_USERNAME-p$CT_PYPI_PASSWORDdist/*DevelopmentSetup git hook to linting the project before commit.chmoda+xpre-commit&&cppre-commit.git/hooksTo run the test and verify the code, follow the commands below:# To run the project linting.flake8crlinttests# To run the project testing.python-mcoveragerun-munittestdiscovertests/
python-mcoveragereport-m
Package: crl.interactivesessions
READMEcrl.interactivesessionis a library for interactive shell commands viapexpect. It also provides plug-in interface for tailoring shells.DocumentationDocumentation forcrl.interactivesessionscan be found fromRead The Docs.InstallationThe package can be installed with pip:# pip install crl.interactivesessionsContributingPlease seecontributingfor development and contribution practices.Thecodeand theissuesare hosted on GitHub.The project is licensed underBSD-3-Clause.
Package: crl.remotescript
READMEcrl.remotescriptis a library for executing shell commands and scripts over SSH
and Telnet and transferring files over SFTP, SCP and FTP protocols.Main interface iscrl.remotescript.RemoteScript, while multi-node specific
extensions are implemented incrl.remotescript.FP.DocumentationDocumentation forcrl.remotescriptcan be found fromRead The Docs.Installationcrl.remotescriptlibrary can be installed with pip:pip install crl.remotescriptContributingPlease seecontributingfor development and contribution practices.Thecodeand theissuesare hosted on GitHub.The project is licensed underBSD-3-Clause.
Package: crl.remotesession
READMEcrl.remotesessionis a library for executing shell commands and
scripts over SSH and Telnet and transferring files over SFTP, SCP and FTP
protocols.DocumentationDocumentation forcrl.remotesessioncan be found fromRead The Docs.Installationcrl.remotesessionlibrary can be installed with pip:pip install crl.remotesessionContributingPlease seecontributingfor development and contribution practices.Thecodeand theissuesare hosted on GitHub.The project is licensed underBSD-3-Clause.
Package: crl.rfcli
Robot Framework Frontend LibraryAboutRobot Framework frontend script.DocumentationDocumentation forcrl.rfclican be found fromRead The Docs.InstallationThe package can be installed with pip:# pip install crl.rfcliTest ExecutionTest cases are executed with “rfcli” command. It adds./librariesand./resourcesto PYTHONPATH so that you can easily import libraries and resources
in test cases.
Additionally, it will recursively search the./testcasesdirectory for
any subdirectories namedlibrariesorresourcesand add those to PYTHONPATH.Rfclireads the target information for targets specified with-t optionfrom
config files. The target config files can be either in INI or YAML format.
It exports the variables to the test execution environment as RFCLI_TARGET_1.IP etc.
Use the -t and –rfcli-show options together to see how it works.Test case output is directed to$HOME/public_html/rfcliif the directory
exists.Examplesrfcli -t foundcloud1 --suite framework.use_targets testcasesThe target parameter can be specified in the following ways:The name of the target system can be specified without any extension.
The corresponding file with the .ini or .yaml extension must exist in the targets directory.:rfcli -t targetnameA target file can be specified with an absolute or a relative path including one of the supported extensions.
The extension can be .ini or .yaml:rfcli -t /home/fedora/gitlab/crl/targetname.ini
rfcli -t ../../gitlab/crl/targetname.ini

rfcli -t /home/fedora/gitlab/crl/targetname.yaml
rfcli -t ../../gitlab/crl/targetname.yamlMore than one target system can be specified.The name of each target will be exported to an enumerated Robot variable.  The
name of the first target will be exported to RFCLI_TARGET_1, the second one to
RFCLI_TARGET_2 and so on.The target properties are read from the INI file and later available as Robot
variables RFCLI_TARGET_1.IP, RFCLI_TARGET_2.USER, etc…The target properties in the YAML file can be in a nested structure.  The
properties are read from the file.  Each property name is prefixed by the names
of each level of nesting leading to it and separated by “.”.  The properties
are available as Robot variables
RFCLI_TARGET_1.ENV.PARAMETERS.EXTERNAL_NETWORKS.EXT0,
RFCLI_TARGET_1.ENV_PARAMETERS.NTP_SERVERS, etc…ContributingPlease seecontributingfor development and contribution practices.Thecodeand theissuesare hosted on GitHub.The project is licensed underBSD-3-Clause.
Package: crl.threadverify
Threadverify - verifying clean thread managementThe Robot Framework test librarycrl.threadverifyis for verifying that the
threads are used in the correct ways. For example it checks that no threads
are not left hanging after the test case execution. The library will help in
debugging the problems by showing the thread creation stack and traces from the
creation time of the new threads.DocumentationDocumentation forcrl.threadverifycan be found fromRead The Docs.Installationcrl.threadverifylibrary can be installed with pip:pip install crl.threadverifyContributingPlease seecontributingfor development and contribution practices.Thecodeand theissuesare hosted on GitHub.The project is licensed underBSD-3-Clause.
Package: crma-api-client
crma-api-clientCRM Analytics REST API ClientFeatures:Execute SAQL queriesList dataset versionsTable of Contents:InstallationGuideDevelopmentInstallationcrma-api-client requires Python 3.9 or above.pipinstallcrma-api-client# orpoetryaddcrma-api-clientGuideFirst, you need to create a new client instance. To do that, you either need to have credentials for an OAuth app or an existing access token handy:fromcrma_api_client.clientimportConnectionInfo,CRMAAPIClient# Generate connection info if you don't already have an access tokenconn=awaitConnectionInfo.generate(client_id="abc123",client_secret="***",username="me@salesforce.com",password="***")# If you already have an instance URL and access token, you can instantiate directlyconn=ConnectionInfo(instance_url="https://company.my.salesforce.com",access_token="XYZ123")# Create the client, passing in the connection objectclient=CRMAAPIClient(conn)Next, you can use methods on the client to make requests:response=awaitclient.list_dataset_versions("Sample_Superstore_xls_Orders")version=response.versions[0]query="\n".join([f"""q = load "{version.dataset.id}/{version.id}";""","""q = group q by 'Category';""","""q = foreach q generate q.'Category' as 'Category', sum(q.'Sales') as 'Sales';""","""q = order q by 'Category' asc;""",])response=awaitclient.query(query)assertresponse.results.records==[{"Category":"Furniture","Sales":741999.7953},{"Category":"Office Supplies","Sales":719047.032},{"Category":"Technology","Sales":836154.033},]DevelopmentTo develop crma-api-client, install dependencies and enable the pre-commit hook:pipinstallpre-commitpoetry
poetryinstall
pre-commitinstall-tpre-commit-tpre-pushTo run tests:poetryrunpytest
Package: crmodel
crmodelcrmodelis a python package that produces the crossroadsdesriber model from an OpenStreetMap intersection. Seethis publicationfor further informations.This tool was developed and tested under Ubuntu 20.04.DependenciesThis tool mainly depends oncrsegfor the intersection segmentation. All necessary Python libraries can be installed with pip:pip3install-rrequirements.txtHow to useYou can obtain the model of an intersection this way :./main-cxy-ooutput.formatWithxandythe coordinates of the targeted intersection. The output will depend on the format precised. Two formats are supported :jsonwill give a "raw" output of the model with all classes and attributes.geojsonwill give the intersection as segmented bycrsegas a geojson file, complemented with computed elements from crmodel as attributes (ordered branches, islands, sidewalks, crossings, etc.).
Package: crm-rfm-modeling
CRM-RFM Modeling v1.0.3pip install crm-rfm-modelingThis package should be used with the intent of a CRM analysis in order to score their CRM dataset with
the well known method of RFM. Methodology derived from the following paper:https://link.springer.com/article/10.1057/palgrave.jdm.3240019fromcrm_rfm_modelingimportrfmfromcrm_rfm_modeling.rfmimportRFMmodel=RFM()#ormodel=rfm.RFM()RFM (Recency - Frequency - Monetary):RFM Package used to model and score CRM data with the following scoring methods: Quintile Scoring, Mean Scoring, and Median Scoring.
The package allows custom scoring on each variable related to Recency, Frequency, and Monetary. It is important to format the data
when fitting the model depending on the dataset type listed below:Customer/User Level CRM Dataset:The dataset should contain the Customer IDs to score against as an index. The Recency, Frequency, and Monetary columns should be
labeled as so in order to score the variables and customers correctly.Transactional CRM Dataset:The dataset should have a list of Cutomer IDs associated with each transaction as well as a date that can be interpreted by Pythons
datetime package and a column associated the value of the transaction. The columns should be in order as so. There is no need to set
the Customer IDs as the index as it will be set automatically during the scoring.