Saravanan666/pypi-org huggingface dataset:
Package: cbstats
Author: Joar Wandborghttp://github.com/jwandborgcbstatsoutputs usage statistics for your server based on
your server log.cbstatsis neither a plugin nor a mod for CraftBukkit.ExampleLive examplePlain text:# Server stats for mc.wandborg.se

Operators: raidonrai, jwandborg, rocketseed, rscott147

Online right now:

Average user session length: 0:27:26

# Toplist - Time online

15:58:41 rscott147
11:06:18 jwandborg
7:57:00 rocketseed
2:51:05 dushkin
2:29:39 neuemod
1:18:19 SmiJa
1:17:43 Dennet
0:50:24 retro_grade
0:06:05 omnidonk
0:05:26 ErrorOfRuto
0:03:01 robnowelljr
0:02:51 SerfaBoy
0:01:46 macktns
0:01:41 Dazaki

# Configuration

online-mode: true
pvp: true
spawn-monsters: false
spawn-protection: 16
max-players: 20
spawn-animals: true
white-list: false
level-name: worlds/Reddit
server-ip:
server-port: 25565
hellworld: falseInstallationpip install cbstatsorpip install cbstats--upgrade,
or, to install from this sourcepython3 setup.py installUse the pythonhelpfunction to get a description of the
package.$ python3
Python 3.1.3 (r313:86834, Nov 28 2010, 10:01:07)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from cbstats import CraftBukkitStats
>>> stats = CraftBukkitStats('/home/jwandborg/bukkit-1.3/') # craftbukkit.jar folder
>>> help(stats)
[...]Known issuesAs your server log increases in size, the time and memory needed
by cbstats will too.See `#1 <https://github.com/jwandborg/cbstats/issues/1>`_.
Package: cbt
T一个简简单单的单词释译器，不翻译哦安装使用gitclonehttps://github.com/s045pd/t.gitcdt
python3-mvenvvenvsourcevenv/bin/activate
pipinstall-rrequirements.txt
python-mt或通过 pip 安装pipinstallcbt案例用法启动选项Options:-n,--nosay# 结果发音，默认会--online/--offline# 自动补全数据源，默认使用在线模式-l,--sounds[uk|us]# 口音，默认使用🇬🇧英音TODO其他语言📝 LicenseThis project isMITlicensed.如果您觉得这个脚本对您有用，可别忘了 star 哟 🐶。
Package: cbtham-feast-az-provider
Feast Azure ProviderThis goal of this project is to create an Azure provider forFeast, which is an open source feature store. The Feast Azure provider acts like a plugin that allows Feast users to connect to:Azure SQL DB and/or Synapse SQL as theoffline storeAzure cache for Redis as theonline storeAzure blob storage for the feastregistry store📐 ArchitectureTheinteroperabledesign of feast means that many Azure services can be used toproduceand/orconsumefeatures (for example: Azure ML, Synapse, Azure Databricks, Azure functions, etc).🐱‍👤 Getting StartedIf you want to install locally:pipinstallfeast-azure-providerWe recommend thegetting started tutorialthat walks you through an end-to-end example.You can deploy the infrastructure for feast using:The only 2 required parameters during the set-up are:Admin Passwordfor the the Deidcated SQL Pool being deployed.Principal IDthis is to set the storage permissions for the feast registry store. You can find the value for this by openingCloud Shelland run the following command:azadsigned-in-usershow--queryobjectId-otsvNoteIf you would like to recompile a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, runpythonsetup.pybdist_eggto generate an installable .egg file.If you would like to install or run a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, runpythonsetup.pyinstallContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.opensource.microsoft.com.When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.TrademarksThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must followMicrosoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Package: cbthelper
cbthelper (for python)cbthelper wraps CrossBrowserTesting'sselenium apiinto an easy to use library.Installpip install cbthelperUsageSee example.py to see how you can use the library. Don't forget to set your username and authkey in that file. You can also set the environment variables CBT_USERNAME and CBT_AUTHKEY.Grab the documentation here
Package: cbtop
PrerequisitesPython 2.6pipDependenciespip install django==1.4.1pip install docutilspip install lettucepip install nosepip install blessingspip install tabulapip install django-http-proxypip install httplib2Web application setuppython webapp/manage.py syncdbpython webapp/manage.py runserver 0.0.0.0:8000Testingpython webapp/manage.py harvest -d webapplettuce whispervirtualenv tipsvirtualenv -p python2.6 –no-site-packages priority15source priority15/bin/activate…deactivateLoggingUse standard python logging component. Configuration file islogging.conf.cbtopCbtop tells you about a couchbase cluster.Simply point it to one of the servers:./cbtop 10.2.1.65DB Compaction:30.00  View Compaction:30.00  Min Items Threshold:10  Min Memory Threshold:10  Compact Running:False  Disk Format Ver:0HDD Quota:2.75T  HDD Total:2.75T  HDD Used:267.59G  HDD Used By Data:119.97G  RAM Quota:97.66G  RAM Total:125.38G  RAM Used:124.77G  RAM Used By Data:71.10GBUCKET   PROXY  RAM     RAW_RAM  #REPL  DATA_USED  DISK_USED  #ITEMS  #MEM_USED  %MEM_USED  TYPE
default  0      97.66G  24.41G   1      90.57G     119.97G    19.16M  71.09G     72.80      membaseHOST            #ITEMS  #ITEMS_TOT  #REPL_ITEMS  MCD_MEM_ALLOC  MCD_MEM_RSVD  MEM_FREE  MEM_TOT  PORT   STATUS   %CPU   SWAP_TOT  SWAP_USED
10.2.1.65:8091  4.79M   9.58M       4.79M        25678.00       25678.00      158.47M   31.35G   11210  healthy  48.38  10.57G    156.00K
10.2.1.66:8091  4.79M   9.58M       4.79M        25678.00       25678.00      156.31M   31.35G   11210  healthy  78.39  9.95G     156.00K
10.2.1.67:8091  4.79M   9.58M       4.79M        25678.00       25678.00      157.81M   31.35G   11210  healthy  91.25  9.97G     156.00K
10.2.1.68:8091  4.79M   9.58M       4.79M        25678.00       25678.00      153.09M   31.35G   11210  healthy  99.25  9.95G     156.00KHOST       #ERR_OOM  EP_OVERHEAD  TCM_MAX_TCACHE  EP_MAX_DATA  EP_LOW_WAT  EP_HIGH_WAT  EP_VAL  #ERR_TMP_OOM  TCM_UNMAPPED  EP_BYTES_TOT  TCM_CUR_TCACHE  EP_KV
10.2.1.65  0.00      51.79M       4.00M           24.41G       14.65G      18.31G       16.57G  0.00          28.95M        17.65G        2.53M           17.35G
10.2.1.66  0.00      51.62M       4.00M           24.41G       14.65G      18.31G       16.64G  0.00          33.59M        17.71G        2.17M           17.41G
10.2.1.67  0.00      51.64M       4.00M           24.41G       14.65G      18.31G       16.46G  0.00          26.48M        17.54G        2.05M           17.23G
10.2.1.68  0.00      52.12M       4.00M           24.41G       14.65G      18.31G       17.12G  0.00          21.84M        18.20G        2.71M           17.89GLast Update: 18:06:01
Package: cbttunnels
cbt_tunnelsA python module to make using tunnels easy.Note: this is pre-release software.  If you encounter any problems,
please reach out to CrossBrowserTestingpippip install cbttunnelsHow to usefrom cbttunnels.cbt_tunnels import CBTtunnel
tunnel = CBTtunnel(username="username", authkey="authkey")
tunnel.start_tunnel()
...
tunnel.kill_tunnel()FeaturesAutomatically gets the correct tunnel for your platformHandles cleanly starting and stopping the tunnel connectionHandles all features of the tunnelCreating a tunnel objectThe tunnel object is created with the following options:username("") - CBT usernameauthkey("") - CBT authkeydelete_after(False) - delete the tunnel binary after kill (note: on Windows, make sure backslashes are escaped\\)tunnel_location(".") - location to download tunnel zip/bianry toready_file("ready.check") - ready file for tunnel clientkill_file("kill.check") - kill file for tunnel clientTunnel optionsThese are all methods available on the tunnel objectbypass(bool)- enable or disable bypassset_https_proxy(string)- string should be the HTTPS proxyset_http_proxy(string)- same as above for HTTPset_tunnel_name(string)- set the name of the named tunnelset_pac_file(string)- set the client to use the PAC file at path stringset_html_path(string)- set the path to use for local HTML files to be servedset_proxy(host="string", port="string", username="string"/None, password="string/None)- set proxy settingsset_accept_all_certs(bool)- set whether to accept all certs in the tunnel client
Package: cbucho
cbuchois a package for C/API exercises. Yes, we love bucho!SetupThis module is C porting of“bucho”, one of the most famous Python modules.This module requires 2 libraries:libcurllibxml2After installing libraries above, just run setup.py:$ python setup.py build
$ python setup.py installHistory0.0.3 (2011-05-15)fixedlatest_statusbug to useinclude_rts=1in API URL and fixed memory management0.0.2 (2011-05-08)latest_status(), all_status() is implemented0.0.1 (2011-05-05)first releaseshow() is implemented
Package: cbuh
Install Xapian and cbuh. In Arch Linux, I do this.sudo pacman -S python2-xapian
sudo pip2 install cbuhSave your contacts in~/.cbuh/contactswith the following format.[thomas.levine]
name = Thomas Levine
email = _@thomaslevine.com
phone = +1 831 713 1131
place = Scarsdale; Ithaca; New York; Oakland, California; Berlin, Germany
6birthday = 19900330

[someone.else]
email = someone@dada.pink
# ...Runcbuh-hto see how to run. (Or look below.)usage: cbuh [-h] [-s] [-m] [-c path] [-d path] [-p path] [-i]
            [[search term] [[search term] ...]]

Query the contact list.

positional arguments:
  [search term]         The search terms, if you're running a search

optional arguments:
  -h, --help            show this help message and exit
  -s, --sort            Sort the contacts file by person identifier.
  -m, --mutt            Export the contact list as a mutt alias file.
  -c path, --contacts path
                        The contacts file
  -d path, --database path
                        The database directory
  -p path, --prefixes path
                        The prefixes file
  -i, --index           Index the contact list.

Search the contact list in ~/.cbuh/contacts. The search is an ordinary Xapian
query (http://xapian.org/docs/queryparser.html) with whatever prefixed terms
you like. I suggest these.

* id
* name
* email
* phone
* place

If you apply these prefixes, you search within that field only;
for example, "name:Francisco" searches for people with names like
"Francisco". Searching for simply "Francisco", on the other hand,
will also match everyone who lives in San Francisco.

Prefixes that start with digits 0 to 4 are treated as numeric values,
with the digit being the slot. For example, I use ``1want`` to
indicate how much I want to see someone, so I can search for people
I really want to see with ``want20..``.

Prefixes that start with digits 5 to 9 are treated as date values,
with the digit being the slot. For example, I use ``6born`` to indicate
when someone was born.
Package: c_builder
C-Builder Project=================Purpose-------* To easily write C files* It provides classes so you dont have to worry about maintaining indent, ending things with semi colong* Make your C code standard if autogenerating using python script* Can be used in following scenarios* Generating C code for your communication networks like CAN, LIN etc* Generation of code through other database networks* It also includes a templating engine, that can produce a skeleton of python file that can generate the C code givenas input* So for example you want to start using this script for generating C code, you can follow the following steps* Generate a skeleton of the C code with example functions* Feed this as input to the parser as given below* This will generate a python file called <c_file_name>_gen.py* When this file is run it should produce a decent copy of the input file* Use this template python file either as a function to extend and connect the code to your database info.. warning::The templating function is in beta modeInstallation------------This package can be pip installedpip install c_builder.. note::Built and tested with python 3.6Usage-----* For templatingrun_c_builder -i <input_c_file.c>* For just writing to a c file.. highlight:: pythonfrom c_builder import c_writer* Then just use the file classes provided and check the documentation in the classes* You can also check the generated template for pointers to usage* Or check out the sample installed along with the libraryFor Bugs--------Join the slack workspace at -https://join.slack.com/t/projectaja/shared_invite/enQtMjk1NTk0NzIwNDIzLWRmMTNjMzY3ZGFmYjY4MGZhOTBiNjZjZTA1YzM3MmFmYWIxOTJkY2QyOWNjM2JhZTk3NTMzMzNmZGIyZGM3NmYAnd join the c_builder channelAlso you can email me atpip[at]abhijit.bansal.comFuture------1. Add support for more C code2. Support for doing standards check on the datatypes3. More intelligent analysis4. Support for C++5. C++ style template classes for CVersion History---------------0.0.6 : Fix for package installation0.0.2 : More support and documentation0.0.1 : Initial version, tested upload to pypi
Package: cbu-tools
cbu_toolsis a Python package that provides tools for working with Clave Bancaria Uniforme (CBU) numbers, which are bank account identifiers used in Argentina.FeaturesValidate a CBU numberInstallationYou can installcbu_toolsusingpip:$pipinstallcbu_toolsUsageOnce installed, you can import theCBUclass fromcbu_toolsand use it to validate CBU numbers:fromcbu_toolsimportCBUcbu=CBU("0170099220000067797370")ifcbu.is_valid():print("Valid CBU")else:print("Invalid CBU")Please note thatis_validmerely validates the format and checksum of a CBU according to thealgorithm specified for CBU validation. It does not perform any verification or validation against external systems to determine if the CBU exists or if it is associated with a specific person or entity.Running TestsYou can run the tests usingtox:$toxLicenseThis project is licensed under the MIT License. See the LICENSE.txt file for details.
Package: cbvadmin
A drop in replacement for Django Admin using django class based views.
The interface made with semantic-ui framework.The admin uses the following existing django apps.django-crispy-formsdjango-filterdjango-simple-menudjango-tables2Installingpip install cbvadminAdd the following to django settings.pyinstalled_apps[...'cbvadmin','semantic_ui','crispy_forms','django_tables2','django_filters','menu',]
Package: cbvadmin-semantic-ui
Template pack for CBVadmin using Semantic UI css frameworkRequire following existing django packages.crispy-semantic-uidjango-filterInstalling and configuringpip installcbvadmin-semantic-uiAdd the following to django settings.py for automatic configurationfromcbvadmin_semantic_ui.settingsimportcbvadmin_semantic_ui_settings...cbvadmin_semantic_ui_settings(vars())Or do manual configINSTALLED_APPS=[...'cbvadmin_semantic_ui','semantic_ui']...CBVADMIN_TEMPLATE_PACK': 'semantic-ui',CRISPY_TEMPLATE_PACK': 'semantic-ui',CRISPY_ALLOWED_TEMPLATE_PACKS': ('semantic-ui',)
Package: cbv_utils
Extras for Django’s built-in Class-Based Views.This provides some additional behavior on top of Django’s built-in generic
class-based views.WarningThis is not a complete project yet.UsageTODO: Document this a bit betterFormMixintododocument extras hereInlineFormsetMixintododocumentProcessFormViewtododocumentProcessInlineFormsetViewtododocumentLicenseCopyright 2012 Travis SwicegoodLicensed 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: cbw-api-toolbox
[DEPRECATED]New Api ClientThis module has been deprecated. Please consider usingcyberwatch_api.Please contact Cyberwatch support if you need help to migrate your existing scripts to the new client.Cyberwatch API toolboxA simple interface for your Cyberwatch instance API composed of a python library
and a command line program.InstallationPrerequisitesInstall the latest packageInstall an older package versionTest your installationConfigurationUsageAPI DocumentationCommand line DocumentationInstallationPrerequisitesPython 3PythonPIPInstall the latest packageTo install Cyberwatch API toolbox, simply use python 3 with:$pip3installcbw-api-toolboxInstall an older package versionSome scripts from version 1.X may not work in version 2.X ofcbw-api-toolbox, to install an older version, simply do:pip3installcbw-api-toolbox==1.1.2Test your installationCreate a new file calledping.pyand copy/paste this content# ping.pyimportosfromconfigparserimportConfigParserfromcbw_api_toolbox.cbw_apiimportCBWApiCONF=ConfigParser()CONF.read(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..','api.conf'))CLIENT=CBWApi(CONF.get('cyberwatch','url'),CONF.get('cyberwatch','api_key'),CONF.get('cyberwatch','secret_key'))CLIENT.ping()Configure an api.conf file with your credentialsSee theConfigurationsectionTest your script$python3ping.pyIf everything is ok, theOKmessage will appear$python3ping.py
INFO:root:OKOtherwise, theFAILEDmessage will appear$ python3 ping.py
ERROR:root:FAILEDIn this case, please check that there are no typing errors in yourAPI_KEY,SECRET_KEYorAPI_URLand that your Cyberwatch instance is up.ConfigurationCreate anapi.conffile at the root of the project (seeexample_api.conf)api_key: your Cyberwatch user api keysecret_key: your Cyberwatch user secret keyurl: your Cyberwatch instance URLExample[cyberwatch]
api_key = PyXpxrcJ7rQ...
secret_key = +bUx37WnB0qt...
url = https://myinstance.localTo find your API credentials:Click on your profile page in your cyberwatch instance web pageClick on the button 'see my api keys'UsageLaunch a script exampleChoose a script from theexamples directoryand copy it to your computerEdit the script with your API credentials (SeeConfiguration)Launch the script$python3your_example_script_file.pyAPI DocumentationSee the full API documentationhereCommand line DocumentationSee the command line interface documentationhere
Package: cbx
A Python package for consensus-based particle dynamics, focusing onoptimizationandsampling.How to use CBXPy?Minimizing a function using CBXPy can be done as follows:fromcbx.dynamicsimportCBO# import the CBO classf=lambdax:x[0]**2+x[1]**2# define the function to minimizex=CBO(f,d=2).optimize()# run the optimizationA documentation together with more examples and usage instructions is available athttps://pdips.github.io/CBXpy.InstallationCurrentlyCBXPycan only be installed from PyPI with pip.pipinstallcbxWhat is CBX?Originally designed for optimization problems of the form$$
\min_{x \in \mathbb{R}^n} f(x),
$$the scheme was introduced as CBO (Consensus-Based Optimization). Given an ensemble of points $x = (x_1, \ldots, x_N)$, the update reads$$
x_i \gets x_i - \lambda\ dt\ (x_i - c(x)) + \sigma\ \sqrt{dt} |x_i - c(x)|\ \xi_i
$$where $\xi_i$ are i.i.d. standard normal random vectors. The core element is the consensus point$$
\begin{align*}
c(x) = \left(\sum_{i=1}^{N} x_i\ \exp(-\alpha\ f(x_i))\right)\bigg/\left(\sum_{i=1}^N \exp(-\alpha\ f(x_i))\right)
\end{align*}
$$with a parameter $\alpha>0$. The scheme can be extended to sampling problems known as CBS, clustering problems and opinion dynamics, which motivates the acronymCBX, indicating the flexibility of the scheme.FunctionalityAmong others, CBXPy currently implmentsCBO (Consensus-Based Optimization)[1],CBS (Consensus-Based Sampling)[2],CBO with memory[3],Batching schemes[4].References[1]A consensus-based model for global optimization and its mean-field limit, Pinnau, R., Totzeck, C., Tse, O. and Martin, S., Mathematical Models and Methods in Applied Sciences 2017[2]Consensus-based sampling, Carrillo, J.A., Hoffmann, F., Stuart, A.M., and Vaes, U., Studies in Applied Mathematics 2022[3]Leveraging Memory Effects and Gradient Information in Consensus-Based Optimization: On Global Convergence in Mean-Field Law, Riedl, K., 2022[4]A consensus-based global optimization method for high dimensional machine learning problems, Carrillo, J.A., Jin, S., Li, L. and Zhu, Y., ESAIM: Control, Optimisation and Calculus of Variations 2021
Package: cc1101
python-cc1101Python Library & Command Line Tool to Transmit RF Signals viaCC1101 TransceiversSetup$pip3install--user--upgradecc1101On Raspbian / Raspberry Pi OS, dependencies can optionally be installed via:$sudoapt-getinstall--no-install-recommendspython3-spidevWiring Raspberry PiConnect the following pins directly:CC1101Raspberry PiVDD3.3V (Pin 1 or 17)SIMOSI (Pin 19)SOMISO (Pin 21)CSnCE0 (Pin 24)SCLKSCLK (Pin 23)GDO2*Any GPIO pin, commonly GPIO25 (Pin 22) [1,2,3]GDO0*Any GPIO pin, GPIO24 (Pin 18) recommendedGNDGroundNo resistors required.
Connection of pins marked with * is optional.
GDO2 stays "high until power and crystal have stabilized" (seeCHIP_RDYnin docs).
GDO0 is used by.asynchronous_transmission()for data input.If some of these pins are already in use,
select a different SPI bus or chip select:https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md(permalink)Raspberry Pi GPIO docs:https://www.raspberrypi.org/documentation/usage/gpio/UsageLibrarySeeexamples.importcc1101withcc1101.CC1101()astransceiver:transceiver.set_base_frequency_hertz(433.92e6)print(transceiver)transceiver.transmit(b"\x01\xff\x00message")In case CC1101 is connected to a different SPI bus or chip select line
than/dev/spidev0.0,
useCC1101(spi_bus=?, spi_chip_select=?).Command Line$printf'\x01\x02\x03'|cc1101-transmit-f433920000-r1000Seecc1101-transmit --help.TroubleshootingIn case aPermissionErrorgets raised,
check the permissions of/dev/spidev*.
You'll probably needsudo usermod -a -G spi $USER,
followed by a re-login.Consult CC1101's offical docs for an in-depth explanation of all options:https://www.ti.com/lit/ds/symlink/cc1101.pdf