Saravanan666/pypi-org huggingface dataset:
Package: babbler
A Twitter bot that polls an RSS feed and posts its entries as tweets,
with auto-generated hashtags. For extra mischief, replies to the bot
are responded to using a basic Eliza implementation.After installing, the ‘babbler’ command will be available which you
can use to run the bot. Data will be stored in the current directory.Options--versionshow program’s version number and exit-h,--helpshow this help message and exitRequired:-uurl,--feed-url=urlRSS Feed URLOptional:-istrings,--ignore=stringsComma separated strings for ignoring feed entries if
they contain any of the strings-pseconds,--pause=secondsSeconds between RSS feed requests (default:600)-qdecimal,--queue-slice=decimalDecimal fraction of unposted tweets to send during
each iteration between feed requests (default:0.3)-llevel,--log-level=levelLevel of information printed (ERROR|INFO|DEBUG)
(default:INFO)-mlen,--hashtag-min-length=lenMinimum length of a hashtag (default:3)Switches:-a,--appendSwitch certain options into append mode where their
values provided are appended to their persisted
values, namely –ignore, –hashtag-min-length,
–pause, –queue-slice-s,--subtractOpposite of –append-e,--edit-dataLoad a Python shell for editing the data file-f,--dry-runFake run that doesn’t save data or post tweets-d,--daemonizeRun as a daemon-k,--killKill a previously started daemon-D,--DESTROYDeletes all saved data and tweets from TwitterTwitter authentication (all required):-wkey,--consumer-key=keyTwitter Consumer Key-xsecret,--consumer-secret=secretTwitter Consumer Secret-ykey,--access-token-key=keyTwitter Access Token Key-zsecret,--access-token-secret=secretTwitter Access Token SecretOptions need only be provided once via command line as options specified are
then persisted in the data file, and reused on subsequent runs. Required
options can also be omitted as they will each then be prompted for
individually.
Package: babble.server
Introductionbabble.server is a messaging service for Zope2 based systems.It’s the chat server for babble.client, an instant messaging
client for Plone, but it doesn’t have any dependencies on Plone or babble.client
and is designed to be usable as a backend, independent of any frontend.Features:User accounts: users must be registered for the chat serviceSecurity: most messaging actions requires the user to authenticateWeb service: all public API methods return JSON strings.100% test coverage. (Non-beta releases only).Additional info:For additional info, please read the documentation athttp://babblechat.org/babble.server/index.htmlImportant notice:If you are upgrading from babble.server 0.x to 1.x, youmustrun the upgrade
step.This requires that you add the external method in Extensions/upgrade_to_1.0.py
in the same Zope instance where you have added the ChatService, and then run it
by clicking on the “test” tab.Make sure to backup your Data.fs before running the upgrade!You can use the following values when adding the External Method:Id:             upgrade_to_1.0
Title:          Babble Server Upgrade 1.0
Module Name:    babble.server.upgrade_to_1_0
Function Name:  runContributors:JC Brandbrand@syslab.comAlex Pilzpilz@syslab.comRoche CompaanChangelog1.1 (2012-04-11)Update MANIFEST.in to make sure all files are included. [jcbrand]1.0 (2012-04-10)Fail gracefully when deleted chatroom is not found. [jcbrand]1.0b5 (2012-03-23)Various changes to minize write conflicts. [jcbrand]1.0b4 (2011-11-20)New feature: ChatRoom objects, for multi-person conversations. [jcbrand]More cleanup and refactoring of the API. [jcbrand]1.0b3 (2011-10-18)Allow non-ascii usernames. [jcbrand]Added stress tests and some speed improvements based on these tests.
Most notable is that messages are now stored in shared messageboxes inside
conversation objects. [jcbrand]User status support has been removed, since it’s not being used by
babble.client. If someone is still relying on it, please let me know. [jcbrand]1.0b2 (2011-10-06)Require a ‘since’ parameter in getUnclearedMessages. [jcbrand]1.0b1 (2011-10-05)Major change, backwards incompatible to 0.x. Retrieve messages relative to
timestamps, instead of marking them as read. [jcbrand]0.3.1 (2011-01-18)Test for usernames of None in confirmAsOnline [jcbrand]0.3 (2010-12-16)Added simple caching for the User Access Dict to lessen writes [jcbrand]Added the z3c.autoinclude plugin [jcbrand]0.2 (2010-10-18)Converted message dates to UTC [pilz]0.1 (2010-05-05)Added default title and id values for the Chat Service [jcbrand]0.1a1 (2010-04-08)Initial release (jcbrand)
Package: babe8901
created by Shubham Yadav
on 09/02/2020
Home-page: UNKNOWN
Author: Shubham Yadav
Author-email:luckyshubham16@gmail.comLicense: MIT
Description: UNKNOWN
Keywords: add,sub,mul,div
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education Purpose for Students
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3
Package: babel-edtf
A Python module for localization of Extended Date Time Format (EDTF) level 0
strings.EDTF is a syntax for specifying imprecise dates. Seehttp://www.loc.gov/standards/datetime/. This modules relies onpython-edtffor
EDTF parsing.InstallBabel-EDTF is on PyPI so all you need is:$pipinstallbabel-edtfQuickstartLet’s format some EDTF strings:>>> from babel_edtf import format_edtf
>>> format_edtf('2020-01', locale='en')
'Jan 2020'>>> format_edtf('2020-01/2020-09', locale='da')
'jan.–sep. 2020'>>> format_edtf('2020-01/2020-09', format='long', locale='en')
'January – September 2020'The following formats are supported:shortmediumlongfullChangesVersion 1.0.0 (released 2020-11-06)Initial public release.
Package: babelfish
BabelFishBabelFish is a Python library to work with countries and languages.UsageBabelFish provides scripts, countries and languages from their respective ISO
standards and a handy way to manipulate them with converters.ScriptScript representation from 4-letter code (ISO-15924):>>>importbabelfish>>>script=babelfish.Script('Hira')>>>script<Script[Hira]>CountryCountry representation from 2-letter code (ISO-3166):>>>country=babelfish.Country('GB')>>>country<Country[GB]>Built-in country converters (name):>>>country=babelfish.Country('GB')>>>country<Country[GB]>LanguageLanguage representation from 3-letter code (ISO-639-3):>>>language=babelfish.Language("eng")>>>language<Language[en]>Country-specific language:>>>language=babelfish.Language('por','BR')>>>language<Language[pt-BR]>Language with specific script:>>>language=babelfish.Language.fromalpha2('sr')>>>language.script=babelfish.Script('Cyrl')>>>language<Language[sr-Cyrl]>Built-in language converters (alpha2, alpha3b, alpha3t, name, scope, type and opensubtitles):>>>language=babelfish.Language('por','BR')>>>language.alpha2'pt'>>>language.scope'individual'>>>language.type'living'>>>language.opensubtitles'pob'>>>babelfish.Language.fromalpha3b('fre')<Language[fr]>LicenseBabelFish is licensed under the3-clause BSD licenseCopyright (c) 2013, the BabelFish authors and contributors.
Package: babelfont
Babelfont: Load, examine and save fonts in a variety of formatsThis describes Babelfont >3.0, which is a complete rewrite from the previous version.Babelfont is a utility for loading fonts and examining fonts in a variety
of formats. It can also be used towritefonts in some of these formats,
making it possible to convert between font formats.Here are the formats which are currently supported:FormatReadWriteGlyphs 2**Glyphs 3**.glyphspackage*UFO*Designspace*Fontlab VFJpartialTTFpartial*OTFpartialBabelfont**Babelfont converts all of the above font formats into a intermediary
set of objects, whose object hierarchy can be seenhere. The allows
the developer to examine any font (single master or variable), without
needing to worry about the details of each font format.For example:frombabelfontimportloadfont=load("Myfont.glyphs")# Or .designspace, or whateverdefault_a=font.default_master.get_glyph_layer("A")top_anchor=default_a.anchors_dict["top"].xprint("Top anchor = (%i,%i)"%(top_anchor.x,top_anchor.y))print("LSB, RSB = (%i,%i)"%(default_a.lsb,default_a.rsb))font.save("Myfont.ttf")
Package: babel-heureka-code
Babel-heureka-codeNutzenDieses Projekt zielt darauf ab, eine einfache Möglichkeit für mehrsprachige Pythonprogramme zu bieten.Das KonzeptDer Gedanke hinter dem Projekt ist, dass an verschiedenen Stellen im Programm spezielle Objekte mit bestimmten IDs erstellt werden.
Diese können an einen Verwalter gebunden werden.
Der Verwalter kann daraufhin auf verschiedene Sprachen gesetzt werden.
Wird eine Übersetzung abgefragt z.B. durch die__str__Methode des Referenzobjekts wird der Verwalter die aktuell gesetzte Sprache nutzen, um die richtige Übersetzung zu ermitteln.InstallationpipinstallBabel-heureka-codeDokumentationDie Dokumentation ist aufhttps://heureka-code.github.io/Babel-heureka-code/einsehbar.
Package: babel-lingua-chameleon
babel-lingua-chameleonBabel extractor for Chameleon templatesJust provideslingua’sChameleonmessage extractor functionality throughBabelinterface.UsageTheextraction methodname islingua-chameleon.So in your mapping/configuration files:[lingua-chameleon: **/templates/**.pt]And/or in your setup.py:'message_extractors': {
    'MYPACKAGE': [
        ('**.pt', 'lingua-chameleon', None),
    ]
},Development environmentTo setup development environment:python setup.py virtualenv
makeChanges0.1.0 (2018-09-08)Initial release.
Package: babel-obviel
babel-obvielBabel Obviel integratesObvielwith theBabeli18n tools. You can
then use the Babel extraction system to extract message ids from
Obviel Template (.obvt) files. Babel Obviel knows about Obviel
Template’s rules for message id generation so should generate message
ids that work with Obviel Template’s i18n system.You can configure Babel for.jsand.obvtfiles with a mapping
config file as follows:[javascript: **.js]
extract_messages = _

[obvt: **.obvt]If you named this config filemapping.cfg, you can run babel with
this config file like this:$ bin/pybabel extract -F mapping.cfg <some_directory>You can also extract from a HTML file. The templates should be
embedded in script tags of typetext/templatelike this:<html>
<body>
  <script type="text/template" id="my_template">
     <p data-trans="">Hello world!</p>
  </script>
</body>
</html>To enable this for all HTML files in your project, add this to your
configuration file:[obvt_html: **.html]CHANGES0.7.1 (2012-06-27)Normalize internal whitespace too for HTML. But for attributes,
don’t normalize any whitespace.0.7 (2012-06-27)If a message has surrounding whitespace, this whitespace should be removed.0.6 (2012-06-06)Support extracting translation markers from a script tag
in HTML, using thehtml_obvtextractor.0.5.2 (2012-06-06)Now the release should beREALLYinstallable; add MANIFEST.in.0.5.1 (2012-06-06)Actually make it installable (missing doc/README.txt).0.5 (2012-05-31)Initial public release.
Package: babelon
Babelon - A simple standard for managing ontology translations and language profilesEditors:@matentzn@LLTommy@mellybelly@drsebAnyone that wants to be on here.Provisional documentation here.Babelon is simple standard for managing ontology translations and language profiles. Profiles are managed a simple TSV files, for example:sourcesource_versionsource_languagetranslation_languagesubject_idpredicate_idsource_valuetranslation_valuetranslatortranslation_datetranslation_confidencetranslation_precisiontranslation_typehttp://purl.obolibrary.org/obo/hp.owlhttp://purl.obolibrary.org/obo/hp/releases/2021-04-13/hp.owlendeHP:0001945rdfs:labelFeverFieberhttps://orcid.org/0000-0002-1373-XXXX2021-05-210.95exactHumanCuratedhttp://purl.obolibrary.org/obo/hp.owlhttp://purl.obolibrary.org/obo/hp/releases/2021-04-13/hp.owlendeHP:0002615oio:exactSynonymLow blood pressureNiedriger Blutdruckhttps://orcid.org/0000-0002-1373-XXXX2021-05-210.9exactHumanCuratedThe goal of Babelon is to capture the minimum data required to enable the following use cases:Translate a profile into RDF to enable seamless integration of alternative language alongside the primary ones.Support all properties for translation, including labels, synonyms and definitions.Capture important metadata such as confidence and precision of translation.Enable cross-language editing. For example:Notify language profile maintainers of new terms or changed labelsNotify the core ontology teams of changes to translations, with a potential to suggest updating ones own annotations or adding new synonyms.As a first use case for the format, we see to capture the French language translations of the Human Phenotype Ontology by the Orphanet team and use them to provide versioned language profiles of HPO.Editors# in new environment
pip install poetry
poetry install
make translationsAcknowledgementsThiscookiecutterproject was developed from themonarch-project-templatetemplate and will be kept up-to-date usingcruft.
Package: babelplot
InstallationThis project is published on thePython Package Index (PyPI)at:https://pypi.org/project/babelplot. It should be installable from Python distribution platforms or Integrated Development Environments (IDEs). Otherwise, it can be installed from a command-line console:For all users, after acquiring administrative rights:First installation:pip install babelplotInstallation update:pip install--upgradebabelplotFor the current user (no administrative rights required):First installation:pip install--userbabelplotInstallation update:pip install--user--upgradebabelplotPrior to usingBabelPlot, a (backend) plotting library must be installed. If in doubt,Matplotlibshould be installed.NoteTheBabelPlotproject is currently in alpha stage: API and runtime stabilities are both unreliable.DocumentationThe documentation is proposed in the form of aWiki site.AcknowledgmentsThe project is developed withPyCharm Community.The development relies on several open-source packages (seeinstall_requiresinsetup.py).The code is formatted byBlack,The Uncompromising Code Formatter.The imports are ordered byisort…your imports, so you don’t have to.
Package: babelscan
BabelScanBabelScan is a format independent data structure for holding different types of data from a scan file.Various file formats are supported, including Nexus and HDF formats, as well as older ASCII file formats.
BabelScan is implicitly Lazy Loading and only loads data when requested, making it fast and lightweight.Data fields are stored in a format independent way, with the abiliity to find close matches to a
requested field.3D datasets such as images from detectors are specially handelled and contain several special functions.If packages lmfit and matplotlib are available, fitting and plotting options are included in the BabelScan object.A FolderMonitor class allows loading of specific files in numeric orderAn Instrument class holds specific configuration for generation of bespoke BabelScan objects.You can read the documentationhere!By Dan Porter, Diamond Light Source Ltd. 2021Usage# Python scriptimportbabelscanscan1=babelscan.file_loader('12345.nxs')scan2=babelscan.file_loader('i16_1234.dat')exp=babelscan.FolderMonitor('/path/to/files')scan3=exp.scan(0)# returns latest scan in directoryscans=scan1+scan2+scan3# creates MultiScan object that combines the 3 datasets# Folder monitor:mon=babelscan.FolderMonitor('/some/folder',**options)scan=mon.scan(0)# creates scan from latest file in folder# intrument configuration filei16=babelscan.instrument_from_config('config_files/i16.config')experiment=i16.experiment('/data/folder')scan=experiment.scan(12345)print(scan)# displays I16 metadata by defaultInstallationrequirements:numpy, h5py, imageio, [optional:matplotlib, lmfit]available from:https://github.com/DanPorter/babelscanLatest version from github:pip install git+https://github.com/DanPorter/babelscan.gitStable version fromPyPI:pip install babelscanExamplesimportbabelscanscan=babelscan.file_loader('12345.nxs')print(scan)# prints scan informationen=scan('energy')# finds data field named 'energy', returns dataval=scan('sum/Transmission')# Finds 'sum' and 'Transmission' fields, evaluates resultx=scan('axes')# finds default xaxis in Nexus filesy=scan('signal')# finds default yaxis in Nexus filestitle=scan.title()# generates a plot titleim=scan.image(0)# returns first detector image if scan contains 3D data# Automatically generate x, y, error data and labels for plotting# Here we also show off the automatic "region of interest" specification,# as well as the automatic normalisation and error generationx,y,dy,xlab,ylab=scan.get_plot_data('axes','nroi_peak[31,31]','/count_time/Transmission','np.sqrt(x+0.1)')# If matplotlib is installed, plotting behaviour is enabled:scan.plot()# creates a figure and plots the default axesscan.plot.plotline('axes','signal','b-')# command similar to plt.plotscan.plot.plot_image(index)# creates figure and plots detector image# If lmfit is installed, fitting behaviour is enabled:scan.fit()# fits a gaussian peak to the default axesscan.fit.fit('axes','signal')# Fits a gaussian peak to choosen axes# The resulting parameters are stored in the namespace:scan('area')See the included example_*.py files for more examples.
Package: babel-vue-extractor
Babel messages extractor for vue.js templates.vue.js— Reactive Components for Modern Web Interfaces. Site:http://vuejs.org/.Babel— Internationalization library for Python. Site:http://babel.pocoo.org/.Installpip install babel-vue-extractorUsageAdd to your babel config[babelvueextractor.extract.extract_vue: **.vue]Usage in .vhtml files<h1>{{ gettext('Hello') }}</h1>
<p> {{ ngettext('Foo', 'Foos', 1) }} </p>
<p> {{ gettext('Processed by filter')|somefilter }} </p>
<div v-text="gettext('Sometext')"></div>
<div :text="gettext('Sometext')"></div>Issue TrackingGitHub:https://github.com/nonamenix/babel-vue-extractor/issues
Package: babelwidget
InstallationThis project is published
on thePython Package Index (PyPI)at:https://pypi.org/project/babelwidget/.
It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
Otherwise, it can be installed from a command console usingpip:For all users (after acquiring administrative rights)For the current user (no administrative rights required)Installationpip installbabelwidgetpip install--userbabelwidgetUpdatepip install--upgradebabelwidgetpip install--user--upgradebabelwidgetDocumentationThe documentation is available athttps://src.koda.cnrs.fr/eric.debreuve/babelwidget/-/wikis/home.AcknowledgmentsThe project is developed withPyCharm Community.The development relies on several open-source packages
(seeinstall_requiresinsetup.py, if present; otherwiseimportstatements should be searched for).The code is formatted byBlack,The Uncompromising Code Formatter.The imports are ordered byisort…your imports, so you don’t have to.
Package: babern
Babern EngineNext Geneneration Engine 🚀Contribute·DocumentationStructureBranchesdev -> pr this branch for everythingmaster -> don't touch, this is what's running in prodContributionsBabern is open to contributions, but I recommend creating an issue or replying in a comment to let me know what you are working on first that way we don't overwrite each other.Please readCONTRIBUTING.mdfor details on this project.Code of ConductPlease readCODE_OF_CONDUCT.mdfor details on our code of conduct.How to run locallyCheckhereon how to run locally
Package: babi
babia text editor, eventually...installationpipinstallbabibabi works best in a virtualenvwhy is it called babi?I used to use the text editornano, frequently I typo this.  on a qwerty
keyboard, when the right hand is shifted left by one,nanobecomesbabi.babi vs. nanohere is a youtube video where I discuss the motivation for creating and usingbabiinstead ofnano:quitting babicurrently you can quitbabiby using^X(or viaesc+:q).key combinationsthese are all of the current key bindings in babi^S: save^O: save as^X: quit^P: open filearrow keys: movement^A/home: move to beginning of line^E/end: move to end of line^Y/pageup: move up one page^V/pagedown: move down one page^-left/^-right: jump by word^-home/^-end: jump to beginning / end of fileM-Up/M-Down: jump to previous / next paragraph^_: jump to line numberselection:shift+ ...: extend the current selectionarrow keyshome/endpageup/pagedown^-left/^-right^-end/^-hometab/shift-tab: indent or dedent current line (or
selection)^K/^U: cut and uncut the current line (or selection)M-u/M-UorM-e: undo / redo^W: search^\: search and replace^C: show the current position in the file^-up/^-down: scroll screen by a single lineM-left/M-right: go to previous / next file^Z: background^T: run linterby default, runspre-commit run --files <filename>outside of a git repo will runflake8 <filename>for python files^-S-Up,^-S-Down: navigate to previous / next errorM-tfocus the linting panel^C,^X: clear and close the linting panelEsc,M-t: unfocus the linting panelarrow keys: movement inside the linting panelesc: open the command mode:q: quit:w: write the file:wq: write the file and quit:qall: quit every open file:comment: comment out the current line / selection:reload: reload the file contents:sort: sort the file (or selection):tabsize X: set the tabsizein prompts (search, search replace, command):^C: cancel^K: cut to end^R: reverse searchsetting up syntax highlightingsyntax highlighting should work out of the box!if you want a custom theme find a visual studio code theme, convert it to
json (if it is not already  json) and put it at~/.config/babi/theme.json.
a helper script is provided to make this easier:./bin/download-theme NAME URLkeyboard shortcuts on macosto get the most out of babi's built in keyboard shortcuts, a few settings must
be changed on macos with Terminal.app:inSystem Preferences:Keyboard>Shortcuts>Mission Control: disable or rebind "Move left a space" and
"Move right a space" (the defaults⌃ →and⌃ ←conflict)inTerminal.app:Terminal>Preferences>Profiles>Keyboard:checkUse Option as Meta keyensure the following keys are enabled:⌃ →:\033[1;5C⌃ ←:\033[1;5D⇧ ↑:\033[1;2A⇧ ↓:\033[1;2B⇧ →:\033[1;2C⇧ ←:\033[1;2Ddemosmost things work!  here's a few screenshotsfile viewthis opens the file, displays it, and can be edited and can save! unknown keys
are displayed as errors in the status bar.  babi will scroll if the cursor
goes off screen either from resize events or from movement.  babi can edit
multiple files.  babi has a command mode (so you can quit it like vim:q!).  babi also supports syntax highlighting
Package: babichjacob-bounded-channel
🪢 Bounded ChannelThis library uses documentation copied and pasted fromTokio'ssync::mpsclibrary, which they have generously published under the MIT license. 🙏This is a Python implementation oftheir bounded channel.💻 InstallationThis package ispublished to PyPI asbabichjacob-bounded-channel.🛠 Usagefromasyncioimportcreate_task,gather,run,sleepfromitertoolsimportcountfrombounded_channelimportbounded_channel,Receiver,Senderasyncdefproducer(sender:Sender[int]):"Produces integer values as long as there is a receiver to receive them"forvalueincount():awaitsleep(0.02)res=awaitsender.send(value)# No receivers are listening anymoreifres.is_err():breakasyncdefconsumer(receiver:Receiver[int]):asyncforvalueinreceiver:awaitsleep(0.03)print("received",value)ifvalue>=100:# Signal to please stop producing valuesreceiver.close()# From then on, the remaining buffered values will be received# until they run out for good (to a maximum of 165 or so)# (it's dependent on the difference of speed between the producer and consumer)# Alternatively, the loop could be broken out of# and any extra buffered values would be ignoredasyncdefmain():sender,receiver=channel(64)producer_task=create_task(producer(sender))consumer_task=create_task(consumer(receiver))# Drop extra references to the sender and receiverdelsenderdelreceiver# so their RAII semantics behave properlyawaitgather(producer_task,consumer_task)run(main())😵 Help! I have a questionCreate an issue and I'll try to help.😡 Fix! There is something that needs improvementCreate an issue or pull request and I'll try to fix.📄 LicenseMIT🙏 AttributionThis README was generated with ❤️ byreadme-md-generator