Saravanan666/pypi-org huggingface dataset:
Package: crams-resource-usage
Crams Resource Usage PackageCrams Resource Usage is a Django app package for CRAMS api open source. Detailed documentation is in the "docs" directory.
Souce code is available athttps://github.com/CRAMS-Dashboard/crams-apiQuick startAdd "crams_resource_usage" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
...
'crams_resource_usage',
]Include the crams_resource_usage URLconf in your project urls.py like this::path('', include('crams_resource_usage.urls')),
Package: crams-review
Crams Review PackageCrams Review is a Django app package for CRAMS api open source. Detailed documentation is in the "docs" directory.
Souce code is available athttps://github.com/CRAMS-Dashboard/crams-apiQuick startAdd "crams_review" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
...
'crams_review',
]Include the crams_review URLconf in your project urls.py like this::path('', include('crams_review.urls')),
Package: crams-software
Crams Software PackageCrams Software is a Django app package for CRAMS api open source. Detailed documentation is in the "docs" directory.
Souce code is available athttps://github.com/CRAMS-Dashboard/crams-apiQuick startAdd "crams_software" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
...
'crams_software',
]Include the crams_software URLconf in your project urls.py like this::path('', include('crams_software.urls')),
Package: crams-storage
Crams Storage PackageCrams Storage is a Django app package for CRAMS api open source. Detailed documentation is in the "docs" directory.
Souce code is available athttps://github.com/CRAMS-Dashboard/crams-apiQuick startAdd "crams_storage" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [
...
'crams_storage',
]Include the crams_storage URLconf in your project urls.py like this::path('', include('crams_storage.urls')),
Package: cranc
Cranc is command line interface tool to interact with Pagurehomepage:https://pagure.io/crancWhat Cranc doesAt the moment cranc lists pull requests and issues of a project. With
this commands:cranc get prs[author]optional[status]optional[assignee]optionalcranc get issues[author]optional[status]optional[assignee]optionalcranc merge pr [request_id]cranc create pr [title] [repo] [brach_from] [branch_to][initial_comment]is optionalAbout its nameSince Pagure is a hermit crab, cranc is crab in catalan.RunCreate the virtual environment:virtualenv3~/venvs/cranc-envsource~/venvs/cranc-env/bin/activateRetrieve the sources:git clonehttps://pagure.io/cranc.gitcd crancInstall dependencies:pip install-rrequirements.txtRun the setup file. This creates a link in the venv directory pointing
to the cranc directory:python setup.py installRun the app:crancUsage: cranc [OPTIONS] COMMAND [ARGS]...

Options:
  -a, --api-key API-KEY    your API key for Pagure.io
  -r, --repo-url TEXT      Repo url
  -i, --instance-url TEXT  Pagure instance url
  -c, --config-file PATH
  --help                   Show this message and exit.

Commands:
  config
  create
  get
  mergecrancOr run the command:cranc get prscranc merge pr--request_id[request_id]When API TOKEN is needed, cranc will prompt you to insert it. It will ve
stored in a.configfile. Cranc will also try to guess the repo url
and instance url, and prompt you to confirm/change.TestTo run tests type:pytestOr to run only 1 test type:pytesttests/[name_of_the_test]
Package: crandr
This is a unifying wrapper aroundxrandrandswaymsgto control your monitors/outputs,
mainly intended for setups where only one or two monitors are enabled at the same time.xrandr's syntaxis too verbose for direct usage and too explicit to use it in ani3/swayconfig file.
This script tries to make things easier.Examplescrandrcycles through all connected monitors.crandr toggletoggles between the internal monitor and an external monitor.crandr extend leftturns on another monitor and positions it left of the currently enabled monitor.crandr mirrorturns on another monitor and mirrors the displayed content.
If the monitors have different resolutions the internal monitor is scaled to match the resolution of the external monitor.
If you want another monitor to be scaled you can specify the monitor which should not be scaled with--original.
(Sway does not support mirroring yet, seethis issue.)crandr scale .8if everything is displayed too small and you want to make things bigger.crandr rotate leftrotates the content of the currently enabled monitor so that the top of the content is at the left edge of the monitor.crandr reset externalenables the external monitor with default rotation and scaling and turns off all other monitors (the internal monitor).crandr listto list all connected monitors.HelpFor more information seecrandr --helpcrandr cycle --helpcrandr toggle --helpcrandr extend --helpcrandr mirror --helpcrandr scale --helpcrandr rotate --helpcrandr reset --helpcrandr list --helpInstallation$pipxinstallcrandrDependenciesPython >= 3.8xrandr and RandR >= version 1.3 or swaymsgDependencies for running the tests:mypypytestAlternativesarandr(forX) andwdisplays(forwayland) are graphical user interfaces to control monitors.autorandr(for X) andkanshi(for wayland) are programs which automatically enable output profiles when connecting and disconnecting monitors.
Package: crane
What is Crane?Crane is a small read-only web application that provides enough of the docker
registry API to support “docker pull”. Crane does not serve the actual image
files, but instead serves 302 redirects to some other location where files are
being served. A base file location URL can be specified per-repository.Crane loads its data from json files stored on disk. It does not have a
database or use any other services. The json files can be generated with pulp
by publishing a docker repository.Crane is a flask app written in Python. It is very easy to deploy and has a
small footprint, so it is a great way to provide a read-only “docker pull” API
that redirects to a static file service.Advanced users can configure a search appliance to support “docker search” and
can setup repository protection using SSL certificates.See thecurrent development documentationfor more information.
Package: cranecloud
Cranecloud CLI ClientCranecloud CLI client is a command line tool for interacting with Cranecloud.Basic CommandsAuthentication and Account ManagementLogin:Authenticate the user with their credentials.cranecloudauthloginLogout:Log out the user, clearing the stored credentials.cranecloudauthlogoutUser Information:Retrieve information about the logged-in user.cranecloudauthuserProject ManagementList Projects:Show a list of projects available in the user's account.cranecloudprojectslistCreate Project:Create a new project.cranecloudprojectscreate...Delete Project:Delete a project by ID or name.cranecloudprojectsdelete--id<project_id>Project Details:View detailed information about a project.cranecloudprojectsinfo--id<project_id>Configuration ManagementList Config:Show a list of config available for the app.cranecloudconfigget-configSet current project to use:This is projects apps commands will default to.cranecloudprojectsuse-project<project_id>Set current cluster to use:This is cluster projects commands will default to.cranecloudprojectsuse-project<cluster_id>App CommandsDeploy App:Initiate a app .cranecloudappsdeployList Apps:Show apps within a project.cranecloudappslistUpdate App:Update app information.cranecloudappsupdate<app_id>App Details:View detailed information about a specific app.cranecloudappsinfo<app_id>Delete App:Delete a app by ID or name.cranecloudprojectsdelete--id<project_id>Other Useful CommandsHelp Information:Show manual.cranecloudhelpSupport:Contact support or report issues.cranecloudsupport
Package: cranecloud-test
Cranecloud CLI CleintCranecloud CLI clientSetupCreateand activate a virtual environmentpython3-mvenvvenvInstall:Run the Cranecloud CLI client setup.pipinstall--editable.AddAPI_BASE_URLthat points to cc backend to your.envfileexportAPI_BASE_URL=""Run Cranecloud commandscranecloud--helpBasic CommandsAuthentication and Account ManagementLogin:Authenticate the user with their credentials.cranecloudloginLogout:Log out the user, clearing the stored credentials.cranecloudlogoutUser Information:Retrieve information about the logged-in user.craneclouduserinfoProject ManagementList Projects:Show a list of projects available in the user's account.cranecloudprojectslistCreate Project:Create a new project.cranecloudprojectscreate--name"ProjectName"Delete Project:Delete a project by ID or name.cranecloudprojectsdelete--id<project_id>Project Details:View detailed information about a project.cranecloudprojectsinfo--id<project_id>App CommandsDeploy App:Initiate a app to a specific environment.cranecloudapps--project-id<project_id>--environment<env_name>List Apps:Show apps within a project.cranecloudappslist--project-id<project_id>Rollback App:Roll back to a previous app version.cranecloudappsrollback--project-id<project_id>--app-id<app_id>App Details:View detailed information about a specific app.cranecloudappsinfo--project-id<project_id>--app-id<app_id>Delete App:Delete a app by ID or name.cranecloudprojectsdelete--id<project_id>Other Useful CommandsHelp Information:Show manual.cranecloudhelpSupport:Contact support or report issues.cranecloudsupport
Package: cranet
CraNetCraNet is a python library for Deep Learning.InstallationThere are two ways to install CraNetFrom pippip install cranetFrom sourceFor now, This way is only available for linux.Git clone repositorygit clone https://github.com/shizuku/cranet.gitBuild locallycd cranet
./scripts/build_local_install.shBasic InformationModuleDescriptioncranet.autogradtensor computation library based onnumpy，集成了自动梯度的功能，支持张量的微分操作，所有需要微分的地方都用到了该库(包括梯度下降)cranet.nn基于tensor神经网络库，支持灵活地自定义神经网络结构(自定义层数，神经元个数，计算方式)cranet.optim优化器库，支持梯度下降神经网络参数cranet.data数据集库，以不同的方式处理各式各样的数据，以统一的方式将这些数据交接给神经网络，进行训练cranet.utils杂项，支持神经网络的储存与读入，辅助地显示一些计算过程ReleaseCreditspytorch/pytorchjoelgrus/autogradLicense
Package: crank
Generalized Object based Dispatch mechanism for use across frameworks.LicenseCrank is licensed under an MIT-style license (see LICENSE.txt).
Other incorporated projects may be licensed under different licenses.
All licenses allow for non-commercial and commercial use.ChangeLog0.8.1Improved support for decorated functions that provide__wrapped__.0.8.0New DispatchState api ( Seehttp://turbogears.readthedocs.io/en/tg2.3.8/reference/classes.html#crank.dispatchstate.DispatchState)Support for flattening function arguments throughcrank.utils.flatten_argumentscrank.utils.remove_argspec_params_from_paramsdeprecated0.7.3Add initial support for Python 3.50.7.2Fix issue with parameters withNonevalue when preparing positional arguments for dispatch.0.7.1Fix issue that in some cased caused_lookupto not be called forRestDispatcherSpeedup permission checks, in some conditions they were performed twicePython 3.4 is now officially supported
Package: crank4py-connector
crank4y-connectorA python library that allows you to register python web service to one or moreAPI GATEWAYcranker routersit is the client endpoint of aAPI GATEWAYDependencies:python >= 3.6numpy(optional, for better performance)requestsyarlwebsocket-client == 0.57.0 (pls use this version, do not try higher version, trust me, there are bugs in higher versions)UsageThere are mainly 4 steps:pip install crank4py-connectorcreate a web service that hosts al requests on some path prefix, e.g./service-a/...start a web service on a random portconstruct aConfigobject and start a connectorexamplefromflaskimportFlaskfromcrank4py_connectorimportConfigfromcrank4py_connectorimportcreate_and_start_connectorrouter_uris=["wss://localhost:9070","wss://localhost:9070"]my_service_uri="http://localhost:5000"config=Config(my_service_uri,"service-a",router_uris,component_name="service-a-component")connector=create_and_start_connector(config)app=Flask(__name__,static_url_path="")@app.route("/service-a/hello")defhello():return"hello"app.run(host="localhost",port=5000)# or you can refer to crank4py_connector# and then you can query your api gateway to access your server-a. e.g. if your router listens on https://localhost:9000, then you can access  https://localhost:9000/service-a/hello,
Package: crankcase
This is a package that has useful machine vision for use with CarsCHANGE LOGRELEASE 10.0.0.1  (7/27/2021)First Release\RELEASE 20.0.0.2 –> 7/27/2021Just wanted to test some things outreally didn’t don anything\-RELEASE 3
-0.0.0.3–> 7/27/2021
-Just wanted to test some things out
-really didn’t don anything
Package: crankshaft
CrankshaftFlow control library for the Bolt scripting language.fromcrankshaft:apiimportevent@eventdefload():tellraw@a"Hello, World!"@eventdefplayer_join():tellraw@s{"text":"A diamond for you!","color":"aqua"}give@sdiamondDocumentationAvailable over atCrankshaft DocumentationContributingContributions are welcome. Make sure to first open an issue discussing a problem or a new feature before creating a pull request. This project usespoetry.poetryinstallYou can run the tests withpoetry run pytest -v.poetryrunpytest-vLicense -MIT
Package: cranky
Cranky (CrankDB Python Driver)Cranky is the database driver for CrankDB for python applications.Pre requisitesSetupCrankDBand get it started.DocumentationfromcrankyimportCranky# setup a new connectionconn=Cranky(host="localhost",port="9876")# default values# Cranky follows almost similar API methods as Crank CLI.# You can set any type of JSON seriable value at any key.conn.set(key,value)# Get a keyconn.get(key)# Returns a DataPacket object with `dataType` attribute and corresponding value field `jsonVal`, `stringVal`, etc.# Find multiple JSON documents using Findconn.find({key:value})#Applies a search and returns every key having JSON obj with key=value.# Returns a list of DataPackets with dataType and jsonVal attributes.conn.find({})# returns all JSON (dict) type key values.
Package: crapgpt
CrapGPTIntroductionCrapGPT is a tool for bidirectional prediction between humangut microbiomeprofiles and corresponding dietary patterns.Installation and Basic UsageCrapGPT will be available through PyPI. Once available, we recommend installing CrapGPT into an environment (for instance, acondaenvironment using a python version of x.Run the following commands to install crapgpt:pip install crapgptTry running the commandcrapgpt --helpto ensure that CrapGPT has been installed properly.Available commandsCrapGPT provides three commands:crapgpt train --input_data,crapgpt evaluateandcrapgpt statsInput FilesCrapGPT takes the following filetypes as input:
Package: crappy
Command and Real-time Acquisition in Parallelized PYthon (CRAPPY)CRAPPY aims to provide a free and open-source software canvas for driving
experimental setups in a versatile and accessible way.PresentationSetups in experimental research tend to get increasingly complex, and require
to drive a variety of actuators, sensors, and cameras from various suppliers.
However, as researchers are one step ahead of industrials, the commercially
available testing solutions are not always well-suited to their objectives.
Developing a custom software interface is also not always an option, as the
synchronization of the devices and the optimization of the computer resources
can prove challenging even to experienced developers.The purpose of CRAPPY is to provide a framework for driving experimental
setups, in which even the most complex designs can be controlled in usually
less than a hundred lines of code. CRAPPY is:A free and open source Python moduleWritten in pure Python, to make it easily understandable and editable by a
large audienceHighly modular and versatile, and can adapt to almost any setupDistributed with a wide collection of ready-to-runexamplesHeavily optimized, to make the most of your computer's resourcesDistributed with a collection of powerful tools for performing real-time data
and image processingCrappy is developed at theLaMCube, a
mechanical research laboratory based in Lille, France, where it is used mainly
for materials testing.RequirementsCRAPPY can run with Python 3.7 to 3.10, and has been tested on Windows, Linux,
Raspberry Pi and macOS. It can probably run on other operating systems
supporting the required Python versions.CRAPPY has only one requirement:Numpy(1.21 or higher).
In addition, other modules can be necessary depending on which features you
want to use. The main ones areMatplotlib,openCV,pyserialandPillow.InstallationCRAPPY is distributed on PyPI, and can be installed on the supported operating
systems simply by running the following command in a terminal:python -m pip install crappyYou'll find more details in the dedicatedinstallation sectionof the documentation, as well as alternative installation methods.Citing CrappyIf Crappy has been of help in your research, please reference it in your
academic publications by citing one or both of the following articles:Couty V., Witz J-F., Martel C. et al.,Command and Real-Time Acquisition in
Parallelized Python, a Python module for experimental setups, SoftwareX 16,
2021, DOI: 10.1016/j.softx.2021.100848.
(link to Couty et al.)Weisrock A., Couty V., Witz J-F. et al.,CRAPPY goes embedded: Including
low-cost hardware in experimental setups, SoftwareX 22, 2023, DOI:
10.1016/j.softx.2023.101348.
(link to Weisrock et al.)DocumentationThe latest versions of the documentation can be accessed on ourReadTheDocspage. It contains a description
of Crappy's features, tutorials, and other useful information.LicenseGNU GPLv2© 2015, Laboratoire Mécanique de Lille & contributors
Package: craps-dice-combos-names
Craps NicknamesCraps Nicknames is a tiny Python package that returns a randomized dice roll with it's associated craps nickname. The nicknames are based on the following chart byVital Vegas:InstallationUse the package managerpipto install craps-pkg.pipinstallcraps-dice-combos-namesUsageimportcraps_pkgcraps_pkg.craps_roll()# returns {# "dice_pair": [1,2],# "nickname": "Australian yo"# }craps_pkg.get_combo_name([2,2])# returns "Ballerina"craps_pkg.get_dice_combos()# returns {#   'Snake Eyes': [1, 1],#   'Australian yo': [1, 2],#   ...#   'Six five no jive': [6, 5],#   'Midnight': [6, 6]# }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.LicenseMIT
Package: craps-pkg-sharnajh
Craps NicknamesCraps Nicknames is a tiny Python package that returns a randomized dice roll with it's associated craps nickname. The nicknames are based on the following chart byVital Vegas:InstallationUse the package managerpipto install craps-pkg.pipinstallcraps-pkg-sharnajhUsageimportcraps_pkgcraps_pkg.craps_roll()# returns {# "dice_pair": [1,2],# "nickname": "Australian yo"# }craps_pkg.get_combo_name([2,2])# returns "Ballerina"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.LicenseMIT
Package: crapssim
:game_die::chart_with_upwards_trend: crapssimA python package to run all of the necessary elements of a Craps table.  The package follows some natural logic:aCrapsTablehasPlayer(s) andDiceon itthePlayer(s) haveBet(s) on theCrapsTableas prescribed by their strategies.With these building blocks, crapssim supportsrunning1 sessionwith1 player/strategyto test a realistic day at the craps table,runningmany sessionswith1 player/strategyto understand how a strategy performs in the long term, orrunningmany sessionswithmany players/strategiesto simulate how they compare to each otherThese powerful options can lead to some unique analysis of the game of craps, such as the following figure comparing 4 strategies with a budget of $200:ResultsI will post results from this simulator on my site:http://pages.stat.wisc.edu/~kent/blog.Current blog posts include:5 Systems to Try at the Craps TableCraps: Best Strategies on a BudgetAll Bets Are Off: Re-learning the Pass Line Bet in CrapsInstallationYou can install crapssim withpipinstallcrapssimThis requires Python >=3.6 and pip to be installed on your computer.Getting StartedTo see how a single session might play out for you using a pass line bet with double odds, over 20 rolls, one might run:importcrapssimascrapstable=craps.Table()your_strat=craps.strategy.passline_odds2you=craps.Player(bankroll=200,bet_strategy=your_strat)table.add_player(you)table.run(max_rolls=20)To evaluate a couple of strategies across many table sessions, you can run:importcrapssimascrapsn_sim=20bankroll=300strategies={"place68":craps.strategy.place68,"ironcross":craps.strategy.ironcross}foriinrange(n_sim):table=craps.Table()forsinstrategies:table.add_player(craps.Player(bankroll,strategies[s],s))table.run(max_rolls=float("inf"),max_shooter=10,verbose=False)forsinstrategies:print(f"{i},{s},{table._get_player(s).bankroll},{bankroll},{table.dice.n_rolls}")For more advanced strategies, you need to write a custom function that can perform the strategy.  Some building blocks and examples can be found instrategy.pyContributingIf you discover something interesting using this simulator, please let me know so that I can highlight those results here.  You can find me atskent259@gmail.com.Those looking to contribute to this project are welcome to do so.  Currently, the top priority is to improveSupported bets (seebet.py)Supported strategies (seestrategy.py)Documentation
Package: crash
The CrateDB Shell (akaCrash) is an interactivecommand-line interface(CLI) tool for interacting with CrateDB.ScreenshotDocumentationThe official documentation is available atCrateDB shell documentation.InstallationPython PackageCrash is available as apippackage.To install, run:pip install crashNow, run it:crashTo update, run:pip install -U crashStandaloneCrash is also available as a standalone executable that includes all the
necessary dependencies.First, download the executable file:curl -o crash https://cdn.crate.io/downloads/releases/crash_standalone_latestThen, set the executable bit:chmod +x crashNow, run it:./crashIf you would like to runcrashfrom any directory, and without the leading./, the file has to be in a directory that is on yourPATH.TroubleshootingThe documentation section abouttroubleshooting connection errorsprovides
support and guidelines how to debug and resolve problems when connecting toCrateDBorCrateDB Cloud.ContributingThis project is primarily maintained byCrate.io, but we welcome community
contributions!See thedeveloper docsand thecontribution docsfor more information.HelpLooking for more help? Check out oursupport channels.
Package: crash_hound
crash_houndCrash Hound lets you script monitoring and lets you receive notifications directly on your mobile phone.It works via Tropo and ahttp://tropo.comacocunt is required.For more information check out:http://amix.dk/blog/post/19637#Monitor-anything-and-get-SMS-notificationshttp://amix.dk/blog/post/19625#International-SMS-messaging-The-cheap-wayTo install it do following:sudo easy_install crash_houndExamplesRegisters:from crash_hound import CrashHound, ReportCrash, CommonChecks, SenderTropo

def check_fn():
    if 42:
        raise ReportCrash('42 is true!')
    else:
        pass #Ignore

crash_sender = SenderTropo('YOUR TROPO.COM API KEY',
                           '+56 ... YOUR MOBILE NUMBER ...')

crash_checker = CrashHound(crash_sender)

crash_checker.register_check('42 Checker',
                             check_fn,
                             notify_every=60)

crash_checker.register_check('Google.com Blah test',
                             lambda: CommonChecks.website_check('http://google.com/blah'),
                             notify_every=60)

crash_checker.run_checks(check_interval=10)Copyright: 2011 by amix
License: BSD.