Saravanan666/pypi-org huggingface dataset:
Package: po-case-conversion
This is a forkAll credit goes to Alejandro Frias -here is the original repo.
I only forked to gain vendorized dependencies.differences between my fork and the originalI needed to remove the 'regex' dependency because it is not pure python and
thus couldn't be vendorized.I removed python2 support. It might be trivial to add later but I don't plan
on using python2 personally so if you want to use this fork and need support
then create a github issue.Case ConversionThis is a port of theCaseConversion Sublime Plugin, byDavis Clark's, to a regular python package. I couldn't find any other python packages on PyPi at the time (Feb 2016) that could seamlessly convert from any case to any other case without having to specify from what type of case I was converting. This plugin worked really well, so I separated the (non-sublime) python parts of the plugin into this useful python package. I also added Unicode support using theregexpackage. Credit goes toDavis Clark'sand the contributors to that plugin (Scott Bessler, Curtis Gibby, Matt Morrison) for their awesome work on making such a robust and awesome case converter.FeaturesAutodetection of case (no need to specify explicitly which case you are converting from!)Unicode supported (non-ASCII characters for days!)Acronym detection (no funky splitting on every capital letter of an all caps acronym likeHTTPError!)And obviously case conversions from/to the following types of cases:camelcasepascalcasesnakecasedashcasespinalcase(alias fordashcase)kebabcase(alias fordashcase)constcasescreaming_snakecase(alias forconstcase)dotcaseseparate_wordsslashcasebackslashcaseOh! Python2 and Python3 supported!UsageNormal use is self-explanatory.>>>importcase_conversion>>>case_conversion.kebabcase("FOO_BAR_STRING")'foo-bar-string'>>>print(case_conversion.constcase(u"fóó-bar-string"))FÓÓ_BAR_STRINGTo use acronym detection setdetect_acronymstoTrueand pass in a list ofacronymsto detect as whole words.>>>importcase_conversion>>>case_conversion.snakecase("fooBarHTTPError")'foo_bar_h_t_t_p_error'# ewwww>>>case_conversion.snakecase("fooBarHTTPError",detect_acronyms=True,acronyms=['HTTP'])'foo_bar_http_error'# prettyInstallpip install case-conversionLicenceUsingMIT licencewith Davis Clark's Copyright
Package: pOCCI
pOCCI—OCCI Compliance Test SuiteIntroductionThe European Telecommunication Standards Institute (ETSI) describes a
set of tests to verify the compliance of cloud management frameworks
with OCCI or CDMI protocols. The title of the document isCLOUD; Test
Descriptions for Cloud
Interoperability.The pOCCI test suite implements a real-world subset of tests described
in the document. In essence, each test that can be carried out with
real-world resources (Compute, Storage, Network) is implemented. Tests
for abstract OCCI concepts that have no real-world counterpart (such as
an OCCI Resource) are omitted because no real-world Cloud Management
Framework can be asked to create a “Resource”.Originally conceived for use byINDIGO-DataCloudservice
developers, the test suite runs against an existing, OCCI-enabled cloud
service and produces a compliance report, detailing tests passed or
failed.The pOCCI test suite is intended for the following user groups, ordered
by importance (meaning 1 is the main audience while 3 is a group that
might be interested but not primarily targeted):Developers of OCCI-compliant services for compliance testing, ideally
to be used as a part of their continuous integration process. For
their purpose, pOCCI may be used either as a client against a remote
service but it may also be used in a local mode just to validate OCCI
messages for compliance with the standard.Administrators (integrators) of cloud service sites with OCCI
interfaces. Note that in this scenario, pOCCI is intended mainly forpreliminarytesting while the site is being set up. It may be
potentially destructive to virtual resources already created in the
cloud site.Prospective user groups that use OCCI-compliant clients and wish to
verify OCCI compliance of the server side.FeaturesBasic features:OCCI testingOCCI messages parsingpartial OCCI client library for pythonAuthentication:basic authX509keystoneCloud providers:dummy (rOCCI server)OpenNebulaAmazon EC2OpenStackInstallationFrom sources:git clone https://github.com/CESNET/pOCCI/ && cd pOCCI
python setup.py installFrom pypi:pip install pOCCIFromINDIGO Repository:yum install python2-pOCCI
# OR
apt-get install python-pocciUsageOCCI compliance tests:Set parameters in~/.pOCCI.cfg.Example config file:[main]
url = 'https://example.com:11443'
authtype = 'basic'
ignoressl = True
user = 'oneadmin'
passwd = 'good-password'
mimetype = 'text/plain'
curlverbose = False
#outputformat = 'plain'
outputformat = 'json'
connectiontimeout = 60
timeout = 120
occi.tests.entity = {'occi.core.title': 'My Machine'}Launch tests:pOCCISee manual page for all options.OCCI message parserExample:echo 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind"' | pOCCI-parse

curl -u $user:$password -H 'Accept: text/plain' https://occi.example.com:11443/-/ | pOCCI-parse
curl -u $user:$password -H 'Accept: text/plain' https://occi.example.com:11443/compute/ | pOCCI-parse -t entities -o text/occi
Package: poc-dashai-plugins-pypi
Paquete de Plugins de ejemploModelosEste conjunto de plugins está diseñado específicamente para facilitar la integración de modelos de Machine Learning en aplicaciones con enfoque en clasificación tabular. Los modelos incluidos son:Logistic Regression:Un modelo efectivo para abordar problemas de clasificación binaria en el contexto tabular, destacando por su simplicidad y rendimiento.SVC (Support Vector Classifier):Este clasificador basado en vectores de soporte se adapta bien a conjuntos de datos tabulares complejos, ofreciendo soluciones robustas tanto para clasificación como para regresión.Bayes:Un clasificador Bayesiano que se destaca en problemas de clasificación tabular, siendo especialmente útil en situaciones con datos textuales o categorías discretas.MétricasPara evaluar el rendimiento de los modelos en el contexto de clasificación tabular, se han incluido métricas clave:Accuracy:Esta métrica proporciona una medida general de la precisión del modelo en términos de la proporción de predicciones correctas sobre el total de predicciones.Precision:La precisión es crucial en clasificación tabular, midiendo la proporción de verdaderos positivos respecto al total de predicciones positivas.DataloadersLa versatilidad en la carga de datos es esencial en el ámbito de la clasificación tabular. Este paquete aborda esa necesidad proporcionando Dataloaders para diversos formatos de datos:JSON:Facilita la carga de datos estructurados en formato JSON, comúnmente utilizado para información tabular.CSV:El Dataloader para archivos CSV simplifica la integración de datos tabulares, permitiendo una fácil manipulación y procesamiento.SQL:Para situaciones en las que los datos se encuentran en bases de datos SQL, este Dataloader simplifica la conexión y carga de información directa.Con este paquete de plugins, se busca ofrecer una solución completa y especializada para la integración de herramientas de Machine Learning en aplicaciones con un enfoque específico en la clasificación tabular.
Package: pocean-core
🌐 pocean-core🐍 + 🌊A python framework for working with met-ocean dataResourcesDocumentation:https://pyoceans.github.io/pocean-core/docs/API:https://pyoceans.github.io/pocean-core/docs/api/pocean.htmlSource Code:https://github.com/pyoceans/pocean-core/Git clone URL:https://github.com/pyoceans/pocean-core.git
Package: pochas-geoutils
pochas-geoutils Python Package📦 This Python package provides spatial data handling tools 🛠️ to facilitate the input of data to machine learning algorithms🤖. All functionalities have been developed to enable user-friendly 👨‍💻 geo-data processing inPOCHAS project🌍 This package is especially useful for working with geospatial data in various applications such as environmental monitoring, transportation, and location-based services.Documentation📚 For more information on how to use this package, check out thedocumentation.InstallationGitHUB:pip install git+https://github.com/SwissTPH/pochas-geoutils.gitpip:pip install pochas-geoutilsTutorial🎓 A jupyter notebook and test data are availablehere.DockerfileThe Dockerfile 🐳 to setup thepython container🐍 is provided on theubuntu:20.04environmenthere.Contributions👷‍♂️ Contributions and feedback are always welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.License📝 This package is released under theMIT
Package: poche
pocheSimple and fast Python in-memory caching with support for TTLs.Meant to speed up using dictionaries as cache backend for simple usecases.No external dependencies, 100% code coverage and static type checked.InstallationRequires Python 3.6+.pipinstallpocheRoadmapv1:Basic TTLgetsetgetsetflushv1.1:expirepersistrenamev1.2:getorsetwith callbackExamplefromtimeimportsleepimportpoche>>>c=poche.Cache()>>>c.set("one","uno")>>>c.get("one")"uno">>>c.get("two")None>>>c.getset("two","dos")None>>>c.get("two")"dos">>>c.set("three","tres",ttl=2)>>>c.get("three")"tres">>>sleep(2)>>>c.get("three")None>>>c=poche.Cache(ttl=2)# you can also define a default TTL>>>c.set("four","cuatro")>>>c.get("four")"cuatro">>>sleep(2)>>>c.get("four")None
Package: pocket2pinboard
pocket2pinboard copies your tagged articles from pocket to bookmarks
on pinboard.in.Pinboard Authenticationpocket2pinboard uses the API token to access your pinboard account, so
it never needs your password.  Create a~/.pocket2pinboardrcfile
containing your pinboard API token (available fromhttps://pinboard.in/settings/password).[pinboard]
token = TOKEN_GOES_HEREPocket Authenticationpocket2pinboard authenticates with Pocket via their oauth broker.A
browser window is openedto ask for read-only access to your Pocket
account, and after you grant access processing continues. If you have
already granted access and are already logged in to Pocket, the window
will close automatically without any intervention.
Package: pocket-api
Pocket-API=======================[![Build Status](https://travis-ci.org/rakanalh/pocket-api.svg?branch=master)](https://travis-ci.org/rakanalh/pocket-api)This package provides a wrapper class around [GetPocket](http://getpocket.com) V3 APIs.Pocket-CLI----------You can checkout [pocket-cli](https://www.github.com/rakanalh/pocket-cli), which is an application for reading / listing /managing your pocket articles from the terminalInstallation------------pip install pocket-apiUsage--------First, you have to [Create your consumer key](https://getpocket.com/developer/apps/new) from getpocket's developer console. To get the access token, you have to authorize the app on your own account. There are tools on the web that can automate this for you such as [fxneumann's OneClickPocket](http://reader.fxneumann.de/plugins/oneclickpocket/auth.php)from pocket import Pocket, PocketExceptionp = Pocket(consumer_key='<Your Consumer Key>',access_token='<Your Access Token>')# Fetch a list of articlestry:print(p.retrieve(offset=0, count=10))except PocketException as e:print(e.message)# Add an articlep.add('https://pymotw.com/3/asyncio/')# Start a bulk operation and commitp.archive(1186408060).favorite(1188103217).tags_add(1168820736, 'Python').tags_add(1168820736, 'Web Development').commit()Methods-------* Add an articleadd(url, title, tags, tweet_id)* Retrieve articlesretrieve(state, favorite, tag, contentType,sort, detailType, search, domain,since, count, offset)Bulk Actions------------* Add an article to bulktime_of_actionbulk_add(item_id, ref_id, tags, time_of_action, title, url)* Archive articlearchive(item_id, time_of_action)* Reread an articlereadd(item_id, time_of_action)* Mark article as favoritefavorite(item_id, time_of_action)* Remove favorite mark from articleunfavorite(item_id, time_of_action)* Delete an article from listdelete(item_id, time_of_action)* Add tag to articletags_add(item_id, tags, time_of_action)* Remove tag from articletags_remove(item_id, tags, time_of_action)* Replace tags on articletags_replace(item_id, tags, time_of_action)* Clear tags from articletags_clear(item_id, time_of_action)* Rename a tagtag_rename(old_tag, new_tag, time_of_action)* Reset bulk actions (removes all previously registered actions)reset()* Send request of all bulk items to getpocketcommit()
Package: pocketbase
PocketBase Python SDKPython client SDK for thePocketBasebackend.This is in early development, and at first is just a translation ofthe javascript libusingHTTPX.InstallationInstall PocketBase using PIP:python3-mpipinstallpocketbaseUsageThe rule of thumb here is just to use it as you wouldthe javascript lib, but in a pythonic way of course!frompocketbaseimportPocketBase# Client also works the samefrompocketbase.clientimportFileUploadclient=PocketBase('http://127.0.0.1:8090')# authenticate as regular useruser_data=client.collection("users").auth_with_password("user@example.com","0123456789")# or as adminadmin_data=client.admins.auth_with_password("test@example.com","0123456789")# list and filter "example" collection recordsresult=client.collection("example").get_list(1,20,{"filter":'status = true && created > "2022-08-01 10:00:00"'})# create record and upload file to image fieldresult=client.collection("example").create({"status":"true","image":FileUpload(("image.png",open("image.png","rb"))),})# and much more...More detailed API docs and copy-paste examples could be found in theAPI documentation for each service. Just remember to 'pythonize it' 🙃.DevelopmentThese are the requirements for local development:Python 3.7+Poetry (https://python-poetry.org/)You can install locally:poetryinstallOr can build and generate a package:poetrybuildBut if you are using only PIP, use this command:python3-mpipinstall-e.TestsTo execute the tests use this command:poetry run pytestSandbox integration testingA lot of real-world integration test against a sandboxed pocketbase instance will be included in the pytest when the sandbox is running (on 127.0.0.1:8090)
to start the sandbox follow the following steps:exportTMP_EMAIL_DIR=`mktemp-d`# Export temp dir used for sendmail sandboxbash./tests/integration/pocketbase# Run the pocketbase sandbox (automatically downloads the latest pocketbase instance)pytest# Run test including sandbox API integration testsLicenseThe PocketBase Python SDK isMIT licensedcode.
Package: pocketbase-async
pocketbase-asyncAn async Python 3.11+ PocketBase SDKRepositoryReport Bug·Request FeatureTable of ContentsAboutInstallationUsageRoadmapContributingLicenseAttributionsAboutPocketBase is an amazing tool to have in your developers backpack for a quick backend for your project. I found it pleasant to work with in Python but Vaphes existing Python SDK is in sync code while most of my application development is async these days. I started with a fork of Vaphes' SDK and tried to add async support but I gave up quite quickly and just started from scratch. You see the results here.InstallationNote that this package is compatible with Python 3.11 and up. You can install this package directly from PyPi:pipinstallpocketbase-async# or if you use poetrypoetryaddpocketbase-asyncUsageThe API is mostly the same as the official JS SDK and the Vaphes Python SDK, with some exceptions. Authentication methods are namespaced under an extra.auth. More info to come.RoadmapSee theproject boardfor the list of planned work. See theopen issuesfor a full list of proposed features (and known issues).ContributingContributions are welcome and appreciated, be it typo-fix, feature or extensive rework. I recommend you to open an issue if you plan to spend significant effort on making a pull request, to avoid dual work or getting your work rejected if it really doesn't fit this project.Don't forget to give the project a star! Thanks again!Fork the projectCreate your feature branch (git checkout -b feat/some-nice-feature)Commit your changes (git commit -m 'feat: Add some AmazingFeature')Push to the pranch (git push -u origin feat/some-nice-feature)Open a pull requestLicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.AttributionsThepocketbase-asyncpackage was inspired and guided in implementation by several other projects:The official js sdk:https://github.com/pocketbase/js-sdkThe Python SDK by Vaphes:https://github.com/vaphes/pocketbaseThe official documentation:https://pocketbase.io/docs/Furthermore, a lot of the API tests were adapted from Vaphes' work (licensed MIT).:arrow_up_small: Back to top
Package: pocketbasex
PocketBase Python SDKPython client SDK for thePocketBasebackend.This is in early development, and at first is just a translation ofthe javascript libusingHTTPX.InstallationInstall PocketBase using PIP:python3-mpipinstallpocketbaseUsageThe rule of thumb here is just to use it as you wouldthe javascript lib, but in a pythonic way of course!frompocketbaseimportPocketBase# Client also works the samefrompocketbase.clientimportFileUploadclient=PocketBase('http://127.0.0.1:8090')# authenticate as regular useruser_data=client.collection("users").auth_with_password("user@example.com","0123456789")# or as adminadmin_data=client.admins.auth_with_password("test@example.com","0123456789")# list and filter "example" collection recordsresult=client.collection("example").get_list(1,20,{"filter":'status = true && created > "2022-08-01 10:00:00"'})# create record and upload file to image fieldresult=client.collection("example").create({"status":"true","image":FileUpload(("image.png",open("image.png","rb"))),})# and much more...More detailed API docs and copy-paste examples could be found in theAPI documentation for each service. Just remember to 'pythonize it' 🙃.DevelopmentThese are the requirements for local development:Python 3.7+Poetry (https://python-poetry.org/)You can install locally:poetryinstallOr can build and generate a package:poetrybuildBut if you are using only PIP, use this command:python3-mpipinstall-e.TestsTo execute the tests use this command:poetry run pytestLicenseThe PocketBase Python SDK isMIT licensedcode.
Package: pocketcasts-api
# Pocket-Casts[![Build Status](https://travis-ci.org/exofudge/Pocket-Casts.svg?branch=master)](https://travis-ci.org/exofudge/Pocket-Casts)[![Coverage Status](https://coveralls.io/repos/github/exofudge/Pocket-Casts/badge.svg?branch=master)](https://coveralls.io/github/exofudge/Pocket-Casts?branch=master)Unofficial Pocket Casts API writter in Python 3.## Installation```sh$ pip install pocketcasts-api```or clone repo and install from source```sh$ python setup.py install```## Usage```python>>> import pocketcasts>>> pocket = pocketcasts.Pocketcasts('user@email.com')# alternatively>>> pocket = pocketcasts.Pocketcasts('user@email.com', password='optional')```### Methods#### Summary- pocket. **get_top_charts()**- pocket. **get_featured()**- pocket. **get_trending()**- pocket. **get_episode(podcast, episode_uuid)**- pocket. **get_podcast(uuid)**- pocket. **get_podcast_episodes(podcast, sort)**- pocket. **get_episode_notes(episode_uuid)**- pocket. **get_subscribed_podcasts()**- pocket. **get_new_releases()**- pocket. **get_in_progress()**- pocket. **get_starred()**- pocket. **update_starred(podcast, episode, starred)**- pocket. **update_playing_status(podcast, episode, status)**- pocket. **update_played_position(podcast, episode, position)**- pocket. **subscribe_podcast(podcast)**- pocket. **unsubscribe_podcast(podcast)**- pocket. **search_podcasts(search_str)**#### get_top_charts()Returns the top charts currently on the pocketcasts website, as a list of Podcast classes```python>>> pocket = pocketcasts.Pocketcasts('user@email.com')>>> print(pocket.get_top_charts())[<class 'pocketcasts.podcast.Podcast'> ({'_media_type': 'Audio','_uuid': '3782b780-0bc5-012e-fb02-00163e1b201c','_description': '...','_episodes_sort_order': 3,'_url': 'https://www.thisamericanlife.org','_thumbnail_small': '','_thumbnail_url': '...','_author': 'This American Life','_id': '','_language': 'en','_api': <pocketcasts.api.Pocketcasts object at 0x0000016F0E6E6390>,'_title': 'This American Life','_categories': ['Society & Culture', 'Arts']}), ...]```#### get_featured()Returns the featured podcasts currently on the pocketcasts website, as a list of Podcast classes```python>>> pocket = pocketcasts.Pocketcasts('user@email.com')>>> print(pocket.get_featured())[<class 'pocketcasts.podcast.Podcast'>, ...]```#### get_trending()Returns the trending podcasts currently on the pocketcasts website, as a list of Podcast classes```python>>> pocket = pocketcasts.Pocketcasts('user@email.com')>>> print(pocket.get_trending())[<class 'pocketcasts.podcast.Podcast'>, ...]```
Package: pocketchemist-nmr
# PocketChemist - NMRThe pocketchemist NMR plugin is used to process and analyze data from
Nuclear Magnetic Resonance (NMR).## Contributing### Procedure for new processing MethodsImplement the new procedure in the NMRSpectrum abstract base classImplement metadata updates in the NMRSpectrum concrete subclasses as well
as implementation details through parameters in the called parent methodImplement the CLI for the new processAdd tests to verify that the implementation matches an existing processed
spectrum, if it existsAdd documentation for the new CLI functionality and python interface on
the new processIncrease the minor version# CreditsIcons by [Icons8](https://icons8.com/)
Package: pocket-coffea
______________________/__\_________//_____//_/____/___/__/__/_______//_//__\/___///_/_\/__///__\//_//_/_\/__`//____//_///__/,</__//_//___//_//__/__/__//_///_/\____/\___/_/|_|\___/\__/\____/\____/_//_/\___/\__,_/PocketCoffea is a slim configuration framework for CMS NanoAOD analysess based onCoffea.The goal of the framework is to define an HEP analysis in a declarative way where possible (with a well defined
configuration files), and with python code where customization is needed (by subclassing the base PocketCoffea processor).PocketCoffea defines a customizable structure to process NanoAOD events and define weights, categories, histograms. This
is done thans to aBaseProcessorclass which defines aworkflowof operations to go from Raw NanoAOD to histograms.
The user can customize the process from the confguration file or by redefining well-defined steps in the workflow.DocumentationAll the documentaton material is hosted at:https://pocketcoffea.readthedocs.ioComplete analyses example under preparation:Z->eeanalysis example page(WIP)Jointhe Q&A CMS Mattermost channel for technical questions
Package: pocket-curses
Usage::pocketPress?for help,qto quit.The interface is based on thepocket-apilibrary which requires an API key. The followingpageexplains how to create one.When you first launchpocket, a configuration file is created. An exception is raised until you put your credentials in the file. The exception message contains the path to the configuration file.InstallationThis tool requires Python>=3.6. You may install itLatest release:::pip install pocket-cursesLatest version from github:::pip install git+https://github.com/xoolive/pocket_cursesLicenseMITAll contributions welcome.
Package: pocket-dimension
Pocket Dimension provides a memory-efficient, dense, random projection of sparse vectors. This
random projection is the used to be able to take records {“id”: str, “features”: List[bytes],
“counts”: List[int]}, convert them into sparse random vectors using scikit-learn’s FeatureHasher,
and then project them down to lower dimensional dense vectors.When the very large sparse universe becomes too inhospitable, escape into a cozy pocket dimension.DocumentationDocumentation for the API and theoretical foundations of the algorithms can be
found athttps://mhendrey.github.io/pocket_dimensionInstallationPocket Dimension may be install using pip:pip install pocket_dimensionI’m working on a conda-forge version, but this uses pybloomfiltermmap3 which is currently only on PyPi.