Saravanan666/pypi-org huggingface dataset:
Package: sen-api
sen-apiA command-line tool to interact withServizioElettricoNazionale web services.FeaturesCurrently implemented:Billsinformations and download inPDFformatSomeclient informationsConsumption readingsOptionalJSONoutputImplementing in the future:Moreclient informationsOther stuff (*see below)*Interacting withSENweb services is a real pain since it's such badly designed so I don't really know if I will
keep adding more features.Getting startedObtaining an accountYou can obtain an account to accessSENweb serviceshere.
Of course, you should have an active electricity supply contract with Servizio Elettrico Nazionale.InstallingFrom source:python setup.py install --userOr in editable mode:pip install -e ./From pip:pip install sen-apiUsageUsage: sen-api [OPTIONS] COMMAND [ARGS]...

Options:
  --version      Show the version and exit.
  -v, --verbose  Enable verbose logs.
  -j, --json     Print in JSON format when possible.
  --help         Show this message and exit.

Commands:
  authenticate
  bills
  client-info
  readingsAuthenticationUsage: sen-api authenticate [OPTIONS]

Options:
  -u, --username TEXT
  -p, --password TEXT
  -f, --force          Force authentication using saved credentials.
  --help               Show this message and exit.BillsReadings
Package: senapy
senapyA python client forsenat.frwebsite.Main goalRetrieve painlessly JSON data fromsenat.fr.RequirementsPython 3Install:from pip:pip3 install senapylocally:pip3 install -e .Dossiers LegislatifsParse one:senapy-cli parse URL_or_filepathexample:senapy-cli parse pjl16-537(instead of the URL, you can just give the ID)warning: for now the file must be in UTF-8Get all the urls:senapy-cli doslegs_urlsParse many:cat urls | senapy-cli parse_many output_dirSearch servicesQuestionSearchServiceto search for questionsTests:pip3 install pytestpytestIf you modify the output, there's an utility to make the tests reflect that:python tests/tools/regen_regressions_output.py
Package: senasopt
senasoptThis package is meant to give you simple energy asset optimisation (in shortsenasopt) toolkit for basic test. This package is meant to be used with Python 3.CapabilitiesNone for nowInstallationLatest stable versionIf you want to get the latest stable version, you can get it via pip, as it isregistered on PyPi:pip install senasoptDevelopment versionsIf you want to use the development version, then just keep on using the one in therepository on Gitlabby checking out the right branches:To get the latest stable version, pull the master branch from Gitlab:pip install git+https://gitlab.com/Pierre_VF/senasopt.git@masterTo get the latest developments (can be unstable), pull the Development branch from Gitlab:pip install git+https://gitlab.com/Pierre_VF/senasopt.git@DevelopmentExamples and documentationYou can find a documentation and code samples in Jupyter notebooks in theexamplesfolder.The installation process for the API keys is provided in these notebooks where relevant.Note to users and developersThis repository is currently developed as a hobby project. But if you're interested in contributing, this is very welcome.At the moment, the documentation is very unevenly advanced, help there is also appreciated.The style format used for development isBlack, if you contribute, it would be nice if you remember to apply it to your code before committing.
Package: senator-fec-data
senator_fec_dataPython package to obtain the FEC data of current US senators.Installation$pipinstall-ihttps://test.pypi.org/simple/senator_fec_dataFeaturesThis package returns data on U.S. Senators from the FEC API (https://api.open.fec.gov/developers/). Users can obtain a dataset of the current senators and receive the FEC candidate ID associated with those senators. Users are able to search facts about senator FEC filings, visualize their FEC results, and even produce a full report on their senators.Dependenciesbs4osrequestsjsonpandas as pdmatplotlib.pyplotxml.etree.ElementTreeUsageFind more information about this package and its use at./senator_fec_data/Extended_Tutorial.DocumentationThe official documentation is hosted on Read the Docs:https://senator_fec_data.readthedocs.io/en/latest/ContributorsWe welcome and recognize all contributions. You can see a list of current contributors in thecontributors tab.CreditsThis package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from thepyOpenSci/cookiecutter-pyopensciproject template and theaudreyr/cookiecutter-pypackage.
Package: sen-chatbot
sen-chatbotPython Package for ChatbotHow to importfrom sen_chatbot.ChatBot import ChatBotHow to usecb = ChatBot()ChatBot Initialized in cbreply(user_query_string) functioncb.reply('hi')gives reply based on the given string and data which is set'Hi there'quickReply(user_query_string) functioncb.quickReply('hi')same as reply(argument) but returns faster. Recommended in case of huge data.'Hello'In case of reply(argument) when any of the input strings is found to be a subset of the given argument then it will consider it and show anyone of the matching results randomly. In case of quickReply(argument) it will only show the result which is fully matching with the given argument and it returns a response immediately once it finds a match.Adding Datainput_list = ['new user','do not have account']output_list = ['register','create one!']running addData(input_list,output_list) using input_list and output_listcb.addData(input_list,output_list)Two lists must be passed as inputs and respective outputs.cb.reply('new user')output'register'If any of the inputs matches with the argument of reply(argument) function then it returns a response among the outputs randomly.Set or Reset Datadata = {'1':{'input':['hi','hello'],'output':['hello']},'2':{'input':['bye'],'output':['goodbye','tata']}}running setData(data) using data as argumentcb.setData(data)The data should be in given dictionary format.cb.showData()output{'1': {'input': ['hi', 'hello'], 'output': ['hello']}, '2': {'input': ['bye'], 'output': ['goodbye', 'tata']}}cb.quickReply('bye')output'tata'In case of adding or setting data try to keep the proper format. Previously some data is set for basic use but we can customize it according to our needs.Showing datacb.showData()output{'1': {'input': ['hi', 'hello'], 'output': ['hello', 'hi there']}, '2': {'input': ['bye'], 'output': ['goodbye', 'tata']}}In case of setData(dict_data) you need to pass a dictionary in the above format.wikipedia featurecb.reply('Sourav Ganguly')output'Sourav Chandidas Ganguly ( (listen); born 8 July 1972), affectionately known as Dada (meaning "elder brother" in Bengali), is an Indian former cricketer, commentator and administrator who played as a left-handed opening batsman and was captain of the Indian national team. He is the 39th and current president of the Board of Control for Cricket in India and President of the Editorial Board with Wisden India...Wikipedia summery will be shown as a resultIt shows wikipedia results as a default output and by default wikipedia feature is enabled. If you want to disable it you can do it this way.cb.enableWikipedia(False)If you pass True as an argument then it will be enabled again.cb.reply('Sourav Ganguly')output'Try something else...'Showing default resultscb.quickReply('Sourav Ganguly')default output"I am sorry! I did't understand you"Developer infocb.authorName()'Sourav Sen'cb.authorEmail()'bubai666sen@gmail.com'
Package: sencore
InstallationInstall from pip3pip3 install --verbose sencoreInstall spacy libpython -m spacy download en_core_web_trf
python -m spacy download es_dep_news_trfUsagePlease refer toapi docs.Executable usageParse sentence into vocabsparse2vocab --lang en --sentence "It is a great day."Parse sentence into phrasesparse2phrase --lang en --sentence "It is a great day."Package usageParse sentence into vocabsfrom sencore import VocabParser 

def vocab(lang, sentence):
  sentences = {
      "en": "Apple is looking at buying U.K. startup for $1 billion.",
      "es": "En 1941, fue llamado a filas para incorporarse a la Armada.",
      "de": "Für Joachim Löw ist ein Nationalmannschafts-Comeback von Thomas Müller und Mats Hummels nicht mehr kategorisch ausgeschlossen.",
      "fr": "Nos jolis canards vont-ils détrôner les poules, coqueluches des jardiniers ?",
  }

  sen = sentence or sentences[lang]
  print(sen)
  vp = VocabParser(lang)
  vocabs = vp.digest(sen)
  print(vocabs)Parse sentence into phrasesfrom sencore import PhraseParser

def phrase(lang, sentence):
  sentences = {
      "en": "Apple is looking at buying U.K. startup for $1 billion.",
      "es": "En 1941, fue llamado a filas para incorporarse a la Armada.",
      "de": "Für Joachim Löw ist ein Nationalmannschafts-Comeback von Thomas Müller und Mats Hummels nicht mehr kategorisch ausgeschlossen.",
      "fr": "Nos jolis canards vont-ils détrôner les poules, coqueluches des jardiniers ?",
  }

  sen = sentence or sentences[lang]
  print(sen)
  pp = PhraseParser(lang)
  phrases = pp.digest(sen)
  print(phrases)DevelopmentClone projectgit clone https://github.com/qishe-nlp/sencore.gitInstallpoetryInstall dependenciespoetry update
python -m spacy download en_core_web_trf
python -m spacy download es_dep_news_trfTestpoetry run pytest -rPwhich run tests undertests/*Executepoetry run parse_to_vocab --helpCreate sphinx docspoetry shell
cd apidocs
sphinx-apidoc -f -o source ../sencore
make html
python -m http.server -d build/htmlHost docs on github pagescp -rf apidocs/build/html/* docs/BuildChangeversioninpyproject.tomlandsencore/__init__.pyBuild python package bypoetry buildGit commit and pushPublish from local dev envSet pypi test environment variables in poetry, refer topoetry docPublish to pypi test bypoetry publish -r testPublish through CIGithub action build and publish package totest pypi repogit tag [x.x.x]
git push origin masterManually publish topypi repothroughgithub action
Package: sencyber-tools
sencyber-package自定义工具包, 便于新功能开发gitee链接sencyberApps
>>> .io
    ==> connection
        --> CassandraLoader     :class
        --> Oss2Connector       :class
        --> MysqlConnector      :class          : v0.1.9 Update
        --> KeyGen              :class          : v0.1.9 Update
        --> jsonLoader          :function
    ==> geo
        --> GeoPoint            :class
        --> radians             :function
        --> heading             :function
        --> distance            :function
        --> distance_value      :function       : v0.2.0 Update
==> demo
    --> running                 :function
    
==> geometry
    --> Circle                  :class          : v0.2.0 Update
    --> EnclosingCircle         :class          : v0.2.0 Update
    --> get_circle_by_2points   :function       : v0.2.0 Update
    --> get_circle_by_triangle  :function       : v0.2.0 Update

==> quanternion

==> tools
    --> PositionAHRS            :class
    --> ConcurrentHandler       :class
    --> AutoQueue               :class
    --> SencyberLogger          :class          : v0.1.6 Update
    --> SencyberLoggerReceiver  :class          : v0.1.6 Update
    --> a_to_hex                :function
    --> hex_to_str              :function
    --> angle_changing          :function1. >>>: package
2. ==>: module
3. -->: functions & classes# For ExamplefromsencyberApps.io.connectionimportCassandraLoaderfromsencyberApps.io.geoimportGeoPointfromsencyberApps.toolsimportConcurrentHandlerusage:pipinstallsencyber-tools
Package: send-3-test
send_3_testA JupyterLab extension.RequirementsJupyterLab >= 4.0.0InstallTo install the extension, execute:pipinstallsend_3_testUninstallTo remove the extension, execute:pipuninstallsend_3_testContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the send_3_test directory# Install package in development modepipinstall-e"."# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstallsend_3_testIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedsend-3-testwithin that folder.Testing the extensionFrontend testsThis extension is usingJestfor JavaScript code testing.To execute them, execute:jlpm
jlpmtestIntegration testsThis extension usesPlaywrightfor the integration tests (aka user level tests).
More precisely, the JupyterLab helperGalatais used to handle testing the extension in JupyterLab.More information are provided within theui-testsREADME.Packaging the extensionSeeRELEASE
Package: sendblue
Sendblue APIOverviewThis package is a Python wrapper for the Sendblue API. It provides a simple interface for sending and receiving messages.PrerequisitesYou will need to get API keys by signing up for a Sendblue account. You can do sohere.Installationpip install sendblue-pythonUsageInitializingfromsendblueimportSendblue# Load your key from an environment variable or secret management service# (do not include your key directly in your code)SENDBLUE_API_KEY=os.environ.get("SENDBLUE_API_KEY")SENDBLUE_API_SECRET=os.environ.get("SENDBLUE_API_SECRET")sendblue=Sendblue(SENDBLUE_API_KEY,SENDBLUE_API_SECRET)Send Message API Callresponse=sendblue.send_message('+19998887777',{'content':'Hello from Sendblue!','send_style':'invisible','media_url':'https://source.unsplash.com/random.png','status_callback':'https://example.com/callback'})Send Group Message API callresponse=sendblue.send_group_message(['+19998887777','+19998887778'],{'content':'Hello from Sendblue!','send_style':'invisible','media_url':'https://source.unsplash.com/random.png','status_callback':'https://example.com/callback'})HintYou can get free api keys for testing & hobby purposes by emailing the team
Package: sendbox-sdk
SDK for Mail.ru Sendbox rest apiUsagefromsendbox_sdk.apiimportSendBoxApisendbox_api=SendBoxApi("sendbox_account_id","sendbox_account_secret")sendbox_api.send_templated_email(context={'template_parameter1':'test','template_parameter2':'test',},from_email='test@example.come',from_name="Example",to_email='user@example.com',to_name="Username",subject="Subject")InstallationRequirementsrequestsCompatibilityLicenceMITAuthorssendbox_sdkwas written byYasha Mikhoparkin.
Package: sendchamp-py
**Github Repo**:  [https://github.com/keosariel/sendchamp-py](https://github.com/keosariel/sendchamp-py)
**Documentation**: [https://github.com/keosariel/sendchamp-py/blob/master/README.md](https://github.com/keosariel/sendchamp-py/blob/master/README.md)
Package: sendcloud-python
SendCloudUnofficial Python LibraryThis is a Python library that provides a simple way to communicate with the Sendcloud API.Installationpipinstallsendcloud-pythonExampleimportsendcloudfromsendcloud.classesimportParcelssendcloud.API_KEY="TEST_KEY"sendcloud.API_SECRET="TEST_SECRET"parcels=Parcels().get_parcels()new_parcel_data={"parcel":{"name":"John Doe","company_name":"Sendcloud","address":"Insulindelaan 115","house_number":"115","city":"Eindhoven","postal_code":"5642CV","telephone":"+31612345678","request_label":True,"email":"john@doe.com","data":[],"country":"NL","shipment":{"id":8,},"weight":"10.000","order_number":"1234567890","insured_value":2000,}}parcel=Parcels().create_parcel(new_parcel_data)Develop ModeFor Testing you need to install project in develop modepip install -e .[develop]and start this commandpython setup.py test
Package: send_clowder
Simple command-line tool for sending messages to clowder.io.Free software: BSD licenseDocumentation:https://send_clowder.readthedocs.org.InstallationSimply install the application from PyPI.pipinstallsend_clowderUsageTo send an ok status update simply pipe your values as follows:echo-e"25"|xargssend_clowderAPIKEYokmy_service-vTo send a failure status simply change ok to fail:echo-e"25"|xargssend_clowderAPIKEYfailmy_service-vYou can also send along frequencies as ISO8601 durations, for example:send_clowderAPIKEYokmy_server-fP1DThis would cause Clowder to send an error email if the gap between service
results was more than 1 day.History0.1.0 (2015-01-11)First release on PyPI.
Package: send_email_message
Usage:sudo pip install send_email_message
from send_email_message import send_email_message

email_config = dict(
    host='smtp.gmail.com',
    port=587,
    tls=True, // Or ssl=True with another port.
    user='admin@example.com',
    password='password',
    from_name='Example Site',
    # Default: encoding='utf-8'
)

send_email_message(
    to='denisr@denisr.com',
    subject='Example News',
    text='Please see http://example.com/',
    html='<html><body>Please see <a href="http://example.com/">example.com</a></body></html>',
    **email_config
)Rare usage:login_plain=True, # Some servers are OK with TLS, but require "LOGIN PLAIN" auth inside encrypted session.
debug=True, # Enables debug output.
Package: send-email-python
send-email-pythonDescriptionThe project send-email-python is a python package that is on pypi and will make it easier to send emails with pythonInstallationpipinstallsend-email-pythonUsageFor setup instructions:sendmail.setup(<emailproviderofsender>)Send simple email with a message:sendmail.mail(<sendersemail>,<sendersemailpassword>,<recieversemail>,<subject>,<message>)Supported email providers:
Gmail
Hotmail
YahooContributingLicence
Package: sendenv
What is this?A CLI tool to share select environment variables with someone else, easily and securely.This tool is built on top ofmagic-wormhole, which allows for secure, accountless P2P transfer of data.When you usesendenvto send a collection (calledvault) of variables to someone, a one time code will be generated and shown to you. Share that code with the receiver (through Slack, Teams, orally, whatever). Receiver will enter that code in their shell and have all the variables loaded into their environment.Example use casesA new member has joined your team and needs to set up a ton of environment variables to run your company's code locally. You can usesendenvto set up a vault of all your necessary variables once, and share with as many people, as many times as you need to.If you run your code on a separate environment in addition to your local environment, and want to get all your environment variables from your local to the separate environment, you can usesendenvto replicate environment variable on the separate environment easily.How do I use this?Installsendenvfor both the sender and receiver.pipinstallsendenvTo send environment variables# create vault (a collection of variables that you want to send)sendenvcreate-vaultyour_vault_name## Add environment variables that you want to share to the vault.sendenvadd-varyour_vault_name## You will be prompted to add variable names.## Send the vault to someonesendenvsend-vaultyour_vault_name## You will see something like the following:## Code: 1-aardvark-pillow## Give this code to the receiver.At receiver's endsendenvreceive-vault## This will prompt you for the code you received from the sender. Enter it here.## Now the variables are loaded into your system (exported in your shell RC file).Other commandsAccess all commands and understand their use by typingsendenv -hor justsendenv.
Package: senderbase
SenderbaseA python-based screen scraper for the senderbase.org websiteInstallationPip install:sudo pip install senderbaseSource install:git clone https://github.com/meatheadmike/senderbase
cd senderbase
python setup.py test
sudo python setup.py installUsageIn your code:from senderbase import SenderBase

sb = SenderBase(timeout=30)
my_result = sb.lookup('8.8.8.8')NotesThis module has only been tested with python 2.7.Make sure you limit your queries to 1000 per day or less. Be a good netizen!I do not work for or with senderbase. This module will likely break in the future if/when senderbase updates their page!
Package: sendero
senderoData Filtering for Humanswhy sendero?"sendero" means footpath in Spanishinstallpipinstallsenderousagefromsenderoimportlist_paths# list of cars with their previous ownerscars=[{"make":"Nissan","model":"Altima","year":2022,"owners":[{"id":1,"name":"Juan"},{"id":2,"name":"Mark"}]},{"make":"Nissan","model":"Kicks","year":2021,"owners":[{"id":3,"name":"Zach"}]},{"make":"Toyota","model":"Camry","year":1995,"owners":[{"id":4,"name":"Tom"}]}]paths=list_paths(cars)["make","model","owners.id","owners.name","year"]