Saravanan666/pypi-org huggingface dataset:
Package: zettatel
ZetattelAn SDK to help send messages through the zettatel APIUsageQuick smsto use this package, you can either git clone or install using pip:pip install zettatel==0.1.3.1This will install all the required packages. Next we need to initialize the packacge as shown below:from zettatel.message import Client

message = Client(
    "username",
    "password",
    "senderId"
)To send a quick message use the following sample:message.send_quick_SMS('254712345678', "this is test from python package")To send a scheduled quick sms :message.send_quick_smartlink_sms(
    '254712345678', "this is test from python package",scheduleTime = '2023-09-16 13:24')Group SMSTo send message to a group:message.send_group_sms("group name","message")To send a scheduled group smsmessage.send_group_scheduled_sms("group name","message","scheduledTime eg 2023-09-16 13:24")Delivery StatusGet delivery status by transaction ID:message.delivery_status_by_transactionid("transactionid: int")Get message delivery report of a particular day:message.delivery_status_by_day("date")Get overal delivery report summary:message.delivery_status_by_summary()Sender IDto get your sender Id use :res = message.get_senderID()
print(res.text)GroupsTo create a group:message.create_group("groupname")To get all the groups:message.get_groups()To update a group:message.update_group("newgroupname","groupid")ContactsThis are teh contacts that will be available in the specified groups.To create conntacts:message.create_contact("contact name","mobile number","group id")To update contact:message.update_contact("contact name","mobile number","group id")To get all the contacts in a group:message.get_contact("group name")
Package: zettels
# Zettels
Zettels is a command line tool implementing Niklas Luhmann’s system of a
“Zettelkasten”.# Anouncement: ReimplementationThis implementation of Zettels is no longer actively developed. Instead, I
chose to reimplement Zettels from scratch in Rust.While doing so, I added a lot of features and separated the command line
interface from the backend, which is now a library calledlibzettels,
sporting an API that can be used to easily build other user interfaces.# Check the reimplementation out:## 1. Zettels - Command line tool[Repo](https://gitlab.com/sthesing/zettels)[crates.io](https://crates.io/crates/zettels)## 2. Libzettels - Backend[Repo](https://gitlab.com/sthesing/libzettels)[crates.io](https://crates.io/crates/libzettels)# Where is the old README?[OLD-README.md](OLD-README.md)
Package: zettwerk.clickmap
Introductionzettwerk.clickmap integrates a clickmap/heatmap tool into Plone. These tools are for visualisation of user clicks on the page. So you can see, what part of the pages might be more interesting for your visitors, and which are not. Some good known tracking tools are offering the same, but this one adds no external url, cause it handles all to collect and show the clicks.You can selective enable or disalbe the content type objects which gets logged and view the results in an overlay image.Things to knowThe concept works best, if the page uses a fixed width layout. But it also tries to work with variable width layouts. To handle this, you must setup the tool to a given “reference” width, where all clicks gets transformed to. Use the plone control panel to do so, and read the given comments.It is also important to know, that the control panel gui gives you a list of all available objects, which you can choose the ones, you want to log. But this also means, that on big sites, the generation of the list might took a while. I am looking for an alternate widget to select the pages.The storage of the clicks is handle by a BTree data structure. This might be ok for small to mid-sized pages, but there es no experiance with heavy load pages.And the last side note: clicks of users with edit permissions of an object will never be logged, cause the inline edit gui won’t suite to the generated output image/map.Plone compatibilityThe actual work is only tested in Plone 4. There is also a Plone 3 version tagged in the svn which should work, but it is not tested with the latest versions. It also contains jquery-ui javascript resources, which are now removed in trunk (and so for Plone 4). (Anyone knows a lightwight drag’n’drop lib for jquery?)InstallationAdd zettwerk.clickmap to your buildout eggs. After running buildout and starting the instance, you can install Zettwerk Clickmap via portal_quickinstaller to your plone instance. Switch to the control panel and use the configlet to adapt the settings.Changelog1.0 (2013-10-18)Fixed version numbering0.2.0 (2013-09-27)Replaced jquery accessor for Plone 4.3 compatibility0.13 (2012-03-02)Nothing changed yet.0.12 (2011-06-14)Fixed js bug in click handler0.11 (2010-09-19)Fixed wrong import0.1Initial public release with some cleanups
Package: zettwerk.mailtemplates
IntroductionCreate mail templates in plone.If you want to send emails out of plone, you need to create a custom template or method. With this extension it is possible to create mail templates and send them without the need of programming. Nevertheless there is an api to send such created templates by code. For choosing the recipients you can filter by users or groups. In addition there are also extensible user filter, queried through the zca.InstallationAdd zettwerk.mailtemplates to your buildout eggs:eggs = ..
       zettwerk.mailtemplatesAfter running buildout and starting the instance, you can install Zettwerk Mailtemplates via portal_quickinstaller to your instance.Use-CaseGo to the plone configuration and click on the Zettwerk Mailtemplates link, listed under the custom extensions. Use plone’s add menu to add a template. Enter a title (which results in the mail subject) and a mail body text. Also set the template-id.Click on “portal_mail_templates” on the breadcrumb. Now you can filter the recipients by username or group selection. Try the simulate button the get a list of the selected recipients. Hit the send button to send the mail(s).By filtering a group, you can provide an additional filter. These are registered utilities for zettwerk.mailtemplates.interfaces.IMessageTemplateUserFilter - see the configure.zcml and the utility with the name “registration_reminder” for an example. This on returns only users which have never logged in to your plone site.Recursive GroupsBy selecting a group only the toplevel group members are used. If the group contains other groups, there members are not used.Override Plone’s default templatesIt is common to customize Plone’s default templates for registration and password reset. zettwerk.mailtemplates supports this through the web - no need to add custom template overrides via code. Just add a template with id ‘registration’ or ‘password_reset’ and it is used - that’s all.TodosTests and api documentation needed.Changelog0.2.2 (2014-10-01)Filter out recursive group members0.2.1 (2014-07-14)Fixed bug in send_emailview0.2.0 (2014-07-11)Added support to override Plone’s default templates: registration and password reset.0.1.2 (2014-06-06)changed uninstall: keep the tool object, otherwise existing templates gets removed on reinstalladded default template on fresh install0.1.1 (2014-06-04)fixed packaging0.1 (2014-05-02)Inital release (prototype)Added uninstall profileContributorsJörg KubaileDownload
Package: zettwerk.mobile
zettwerk.mobileApply jquery.mobile based themes to plone.UsageAdd zettwerk.mobile to your buildout and install it via quickinstaller. It also installs zettwerk.mobiletheming for url based theme switching. Go to the plone control panel to mobile theming and set up a hostname, under which the theme should be applied.ThemesThere is support for jquery.mobile based themes. Just open the themeroller and create your theme. Then download and upload it in the zettwerk.mobile Themes Controlpanel.See it in action:https://www.youtube.com/watch?v=Q2ID86XkiQQ(with phonegap) or herehttps://www.youtube.com/watch?v=s7n0IMjltzU(with themeroller support)ContributorsJörg KubaileChangelog0.2.1 (2014-07-01)Using zettwerk.mobiletheming generic setup import profile0.2 (2014-06-17)Added support for jquery.mobile’s themerolle based themesenable zettwerk.mobile as default theme on installation in zettwerk.mobiletheming0.1 (2014-06-04)Initial commit
Package: zettwerk.mobiletheming
zettwerk.mobilethemingSwitching mobile themes based on urlsUsageInstall zettwerk.mobiletheming via quickinstaller.
A new control panel entry makes it possible to change settings.Enter the hostnames on which the mobile theme should be applied.
Choose the diazo theme to use for selected URL.There is also some settings for “redirecting urls”, it works like this:A javascript is installed in portal_javascriptThis javascript redirects urls to the url set in the control panel.Redirects works for mobile devices.You can choose if you want to redirect iPads and tablets, too.There is a settingSee this example with the zettwerk.mobile theme:https://www.youtube.com/watch?v=Q2ID86XkiQQGeneric SetupThis product also provides a GenericSetup extension for integrators to set these settings via a xml profile file. Place the file “mobiletheming.xml” in your (default) generic setup profile and change it as you need. You can also export your current settings via portal_setup -> Export. The export step is called “Mobiletheming Settings”.Example content, taken fromzettwerk.mobile:<?xml version="1.0"?>
<settings>
  <themename>zettwerk.mobile</themename>
  <hostnames>
    <element>http://localhost:8080</element>
  </hostnames>
  <ipad>False</ipad>
  <tablets>False</tablets>
</settings>ContributorsJörg KubaileEspen Moe-NilssenChangelog0.2.1 (2014-11-21)Added ‘redirect to full url’ [espenmn]0.2 (2014-07-01)Added GenericSetup import/export profiles.0.1 (2014-06-04)Initial version
Package: zettwerk.users
IntroductionAt the point of writing, zettwerk.users provides an additional view /@@userlist_view. This view can be found via the plone controlpanel “Zettwerk Users”.
It lists the users, available in your plone instance, and shows your wether the user already logged in or not. You can select all users that did not log in yet and reset their passwords. However, it is also possible to select single users by hand.You can filter the users by groups. By default, all users are shown.InstallationJust put zettwerk.users into your buildout.cfg[instance]
…
eggs += zettwerk.users
zcml += zettwerk.users
…Use the portal_quickinstaller to register the “Zettwerk Users” to the controlpanel.Changelog0.1 (2011-02-28)Initial release with view /@@userlist_view
Package: zeugma
Zeugma📝 Natural language processing (NLP) utils: word embeddings (Word2Vec, GloVe, FastText, …) and preprocessing transformers, compatible withscikit-learn Pipelines. 🛠 Check thedocumentationfor more information.InstallationInstall package withpip install zeugma.ExamplesEmbedding transformers can be either be used with downloaded embeddings (they
all come with a default embedding URL) or trained.Pretrained embeddingsAs an illustrative example the cosine similarity of the sentenceswhat is zeugmaanda figure of speechis computed using theGloVepretrained embeddings.:>>> from zeugma.embeddings import EmbeddingTransformer
>>> glove = EmbeddingTransformer('glove')
>>> embeddings = glove.transform(['what is zeugma', 'a figure of speech'])
>>> from sklearn.metrics.pairwise import cosine_similarity
>>> cosine_similarity(embeddings)[0, 1]
0.8721696Training embeddingsTo train your own Word2Vec embeddings use theGensim sklearn API.Fine-tuning embeddingsEmbeddings fine tuning (training embeddings with preloaded values) will be implemented in the future.Other examplesUsage examples are present in theexamplesfolder.Additional examples using Zeugma can be foundin some posts of my blog.ContributeFeel free to fork this repo and submit a Pull Request.DevelopmentThe development workflow for this repo is the following:create a virtual environment:python-mvenv venv && source venv/bin/activateinstall required packages:pip install-rrequirements.txtinstall the pre-commit hooks:pre-commitinstallinstall the package itself in editable mode:pip install-e.run the test suite with:pytestfrom the root folderDistribution via PyPITo upload a new version to PyPI, simply:tag your new version on git:git tag-ax.x-m"my tag message"update the download_url field in thesetup.pyfilecommit, push the code and the tag (git push origin x.x), and make a PRMake sure you have a.pypircfile structured likethisin your home folder (you can usehttps://upload.pypi.org/legacy/for the URL field)once the updated code is present in master runpython setup.py sdist && twine upload dist/*from the root of the package to distribute it.Building documentationTo build the documentation locally simply runmake htmlfrom thedocsfolder.Bonus: what’s a zeugma?It’s a figure of speech: “The act of using a word, particularly an adjective or verb, to apply to more than one noun when its sense is appropriate to only one.” (fromWiktionary).For example, “He lost his wallet and his mind.” is a zeugma.
Package: zeusai-py
ZeusAI.PyThe python package to wrap the various APIs associated with ZeusAI.Usage for Non-ContributorsSee the Readthedocs page (TODO) for usage documentation.DocumentationTo view all of the available documentation for this project, please see theDocuments IndexThis includes information on getting started, the development environment, and more.Version NumbersZeusAI.Py is updated at the same time as the ZeusAI server. The first 3 sections of the ZeusAI.Py version number will be the
associated version number for ZeusAI, with the 4th section being the ZeusAI.Py revision number, which is only updated for bugs.
(i.e. if ZeusAI is on 1.2.3, ZeusAI.Py will be on 1.2.3.x).If the first three sections of the ZeusAI.Py version number match your ZeusAI version number, they should be compatable.
Package: zeus-client
Zeus client is a command line tool to facilitate execution of advancedzeuselection administrative operations such as cryptographical mix and partial
decryption of submitted ballots.InstallHintPython 2.7 along with the pip packaging tool is required to beinstalledInstallingzeus-clienttool should be as simple as$ pip install zeus-client
$ zeus-client --helpRemote mixThemixcommand can be used for elections withremote mixingenabled during
initial election parametrization. Once election voting closes and zeus
completes the first mix of encrypted ballots, Zeus produces the election remote
mix URL to the election administrator. The URL can be shared across the
preferred set of participants as required by the election process. Each
participant takes part to the election mix as follows:- Download previously set of mixed ciphers
- Generate a new mix
- Upload the new ballot mix (will be used as input for the next mix)zeus-clientautomatically takes care of all of the above steps:$ zeus-client mix <election-mix-url> <mix-id> <rounds> <parallel>

# e.g.
$ zeus-client mix https://zeus-testing.grnet.gr/zeus/elections/election-uuid/mix/unique-id my-election 128 4election-mix-urlthe election mix URL as provided by the election
administrator.mix-idis an election identification string used as a prefix
for the generated filenames.roundsis an integer related to mixnet security
parameters. Using a low number produces fast results but could diminish mix
security. It is advised to use an integer equal or greater than128.parallelshould be set to the number of CPU cores of your system.DecryptionDownload election ciphertexts:$ zeus-client download ciphers "<trustee-login-url>" ballots-encryptedCompute partial decryptions$ zeus-client decrypt ballots-encrypted ballots-partially-decrypted “<path-to-trustee-secret-key>”Submit partial decryptions$ zeus-client upload factors ballots-partially-decrypted “<trustee-login-url>”
Package: zeus-mcmc
zeus is a Python implementation of the Ensemble Slice Sampling method.Fast & RobustBayesian Inference,EfficientMarkov Chain Monte Carlo (MCMC),Black-box inference, no hand-tuning,Excellent performance in terms of autocorrelation time and convergence rate,Scale to multiple CPUs without any extra effort,Automated Convergence diagnostics.ExampleFor instance, if you wanted to draw samples from a 10-dimensional Gaussian, you would do something like:importzeusimportnumpyasnpdeflog_prob(x,ivar):return-0.5*np.sum(ivar*x**2.0)nsteps,nwalkers,ndim=1000,100,10ivar=1.0/np.random.rand(ndim)start=np.random.randn(nwalkers,ndim)sampler=zeus.EnsembleSampler(nwalkers,ndim,log_prob,args=[ivar])sampler.run_mcmc(start,nsteps)chain=sampler.get_chain(flat=True)DocumentationRead the docs atzeus-mcmc.readthedocs.ioInstallationTo installzeususingpiprun:pipinstallzeus-mcmcTo installzeusin a[Ana]Condaenvironment use:condainstall-cconda-forgezeus-mcmcAttributionPlease cite the following papers if you found this code useful in your research:@article{karamanis2021zeus,title={zeus:APythonimplementationofEnsembleSliceSamplingforefficientBayesianparameterinference},author={Karamanis,MinasandBeutler,FlorianandPeacock,JohnA},journal={arXivpreprintarXiv:2105.03468},year={2021}}@article{karamanis2020ensemble,title={Ensembleslicesampling:Parallel,black-boxandgradient-freeinferenceforcorrelated&multimodaldistributions},author={Karamanis,MinasandBeutler,Florian},journal={arXivpreprintarXiv:2002.06212},year={2020}}LicenceCopyright 2019-2021 Minas Karamanis and contributors.zeus is free software made available under the GPL-3.0 License. For details see theLICENSEfile.
Package: zeustheinvestigator
Zeus the InvestigatorUSAGE$zeus-u<first_url>-u<second_url>-c<cooldown(insecs.default=3)>InstallationManual InstallationNote:You will need poetry for manual installation$pipinstallpoetryDownload or clone the repository.$ git clone https://github.com/777advait/Zeus-The-InvestigatorInstall the project by running the following command in the root of the directory.$poetryinstallPyPi Installation$pipinstallZeusTheInvestigator
Package: zeus-utility
Zeus's UtilityFeaturesParallel ExecuteQuick Usage:Install:pipinstallzeus-utility# orpipinstallgit+https://github.com/zeuscsc/zeus_utility.gitUsagefromzeus_utility.parallel_executorimportQueueExecutordefprint_a_plus_b(a,b):print(a+b)executor=QueueExecutor(threads_count=5)foriinrange(10):executor.add_task(print_a_plus_b,a=i,b=i)executor.execute()
Package: zevents
ZEventsEasy to use generic events system.Free software: MIT licenseDocumentation:https://zevents.readthedocs.io.FeaturesEventManager class orchestrating subscriptions, unsubscriptions and notificationsGeneric Event class usable to implement custom eventsGeneric TriggerEvent triggering the processing of queues in EventManagerStandard events collection: TickEvent, QuitEventInstall$pipinstalltchappui-zeventsExampleA simple example of how to use ZEvents can be found in theUsage sectionof the documentation.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-02-04)First release on PyPI.
Package: zevercloud-api
Zevercloud APIPython API for the Zevercloud APINote:This piece of software is not approved or endorsed by ZeverCloud. Nor do I endorse their products.InstallationYou can installzevercloud-apiusing your favorite package manager. For example:pipinstallzevercloud-apiCredentialsThree keys are needed to connect to the Zevercloud API:api_keyapp_keyapp_secretYourapi_keycan be found on the Zevercloud site, underConfiguration > Plant Configuration > 5. Api Key.
Theapp_keyandapp_secretcan be found underAccount Management > Security Settings, but are only
visible once approved by Zeversolar Support. Send an email toservice.eu@zeversolar.net, for example, and
ask them to make theapp_keyandapp_secretvisible to you. They typically do so within a day.UsageTo see the last known status of your site, as well as some yield statistics:fromzevercloudimportZeverCloudzc=ZeverCloud(API_KEY,APP_KEY,APP_SECRET)print(zc.overview)>>{"last_updated":datetime(2022,2,3,13,57,26),"online":False,"power":0,"site_id":12345,"yield":{"today":5.9,"month":218.42,"total":5800,"year":1770,},}Historical power and yieldHistorical yield and power figures can also be obtained:zc.get_output(date=date(2022,8,1))>>[...{"power":1183,"timestamp":datetime(2022,8,1,12,0)},{"power":1240,"timestamp":datetime(2022,8,1,12,20)},{"power":1815,"timestamp":datetime(2022,8,1,12,40)},...]zc.get_daily_output(month=date(2022,8,1))>>[{"date":date(2022,3,1),"yield":4.1},{"date":date(2022,8,2),"yield":5.2},{"date":date(2022,8,3),"yield":0.2},...]zc.get_monthly_output(year=2022)>>[{"date":date(2022,1,1),"yield":40.1},{"date":date(2022,2,1),"yield":52.1},{"date":date(2022,3,1),"yield":113},{"date":date(2022,4,1),"yield":8.11},...]zc.get_yearly_output()>>[{"year":2012,"yield":4069},{"year":2013,"yield":308},...]Power is always presented in W (Watt), and yield in kWh (kiloWatt-hour). Due to the
internals of the Zevercloud API, all numbers may be rounded up to two significant digits.EventsEvents (errors) can be listed:zc.get_events(start_date=date(2022,1,1),end_date=date(2022,8,1))>>[ZeverSolarEvent(event_time=datetime(2022,1,1,12,34,56),inverter_id="ZS12345678",event_code=3,event_type=101,)]TheZeverSolarEventhas a human-readableevent_description.Note: the internal Zevercloud API can only return events for 7 days at a time. Using
theget_events-method on a large date range will result in many API-calls being made,
and may hence possibly take a rather long time.Releases0.2.1Improve security by adding timestamp and nonce to requests0.2.0Addget_detailsmethod0.1.0First working versionDetailed logsMore detailed logs can be retrieved withget_details. This endpoint requires the id of the monitor
as input. This monitor can be found on the ZeverCloud website.zc.get_details(date=date(2022,1,1),psno="EAB1234C5678")>>[{'ac_frequency':50,'ac_power':30,'ac_current_p1':0,'ac_current_p2':0,'ac_current_p3':0,'ac_voltage_p1':236.8,'ac_voltage_p2':0,'ac_voltage_p3':0,'inverter_id':'ZS12345678','pv_current_1':0,'pv_current_2':0,'pv_current_3':0,'pv_voltage_1':271.4,'pv_voltage_2':0,'pv_voltage_3':0,'temperature':26.7,'timestamp':datetime.datetime(2022,8,1,6,49,37),'yield_today':0.1,'yield_total':5615.2},...]
Package: zever-local
Zeversolar localLibrary for connecting to a Zeversolar inverter over local network. Retrieves the inverter data.Only tested on a Zeversolar 2000.UsageInstall this packagepip install zever_localConnect to your inverter using its IP address (192.168.5.101, e.g.) and fetch the datafromzever_local.inverterimport(Inverter,InverterData,ZeversolarError,ZeversolarTimeout,)asyncdefasync_get_data():ip_address="192.168.5.101"my_inverter=Inverter(url)my_inverter_data=awaitmy_inverter.async_get_data()energy_today_KWh=my_inverter_data.energy_today_KWh
Package: zeversolar-api
Python API for interacting withZeversolar.This module is not official, developed, supported or endorsed by Zeversolar.InstallationThe module is available from thePython Package Index.$pip3installzeversolar_apiUsageThe fileexample.pycontains an example about how to use this module.DevelopmentFor development is recommended to use avenv.$python3.6-mvenv.$sourcebin/activate$python3setup.pydevelopLicensepython-zeversolar-apiis licensed under MIT, for more details check LICENSE.