Saravanan666/pypi-org huggingface dataset:
Package: python-sms-hub-org
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: python-smshub-org
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: python-snap7
AboutThis is a ctypes based python wrapper for snap7. Snap7 is an open source,
32/64 bit, multi-platform Ethernet communication suite for interfacing natively
with Siemens S7 PLCs.Python-snap7 is tested with Python 3.7+, on Windows, Linux and OS X.The full documentation is available onRead The Docs.InstallationIf you are running Windows 10, Mac OS X or GNU/Linux on an Intel x64 compatible platform you can use the binary wheel installation:$ pip install python-snap7Ofterwise, please read theonline installation documentation.CreditsGijs Molenaar (gijs at pythonic dot nl)Stephan Preeker (stephan at preeker dot net)Both authors are available for contracting to improve python-snap7. Please contact us at the email address above for inquiries.Special thanks toDavide Nardella for creating snap7Thomas Hergenhahn for his libnodave.Thomas W for his S7comm wireshark pluginFabian BeitlerandNikteliyfor their contributions towards the 1.0 releaseLautaro Nahuel Dapinofor his contributions.
Package: python-snarks
python-snarksThis is a Python implementation of zkSNARK schemes. This library is based onsnarkjs, and uses the output fromcircom.For now, it is for research purpose, not implemented for product.Install$ pip install python-snarksUsageimportosfrompython_snarksimportGroth,Calculator,gen_proof,is_validdeftest_groth():## 1. setup zkpprint("1. setting up...")gr=Groth(os.path.dirname(os.path.realpath(__file__))+"/circuit/circuit.r1cs")gr.setup_zk()## 2. provingprint("2. proving...")wasm_path=os.path.dirname(os.path.realpath(__file__))+"/circuit/circuit.wasm"c=Calculator(wasm_path)witness=c.calculate({"a":33,"b":34})proof,publicSignals=gen_proof(gr.setup["vk_proof"],witness)print("#"*80)print(proof)print("#"*80)print(publicSignals)print("#"*80)## 3. verifyingprint("3. verifying...")result=is_valid(gr.setup["vk_verifier"],proof,publicSignals)print(result)assertresult==Trueexport solidity verifierGroth class's export_solidity_verifier function creates solidity file. You can deploy it on ethereum network and use it as a verifier.importosfrompython_snarksimportGroth,Calculator,gen_proof,is_validdeftest_groth():## 1. setup zkpprint("1. setting up...")gr=Groth(os.path.dirname(os.path.realpath(__file__))+"/circuit/circuit.r1cs")gr.setup_zk()gr.export_solidity_verifier("verifier.sol")verifying on contractresult=contract_instance.functions.verifyProof(...proofandpublicsignals...).call()Test$ pytest tests/test_groth16.pySupported platformsThe supported platforms currently support are set to the requirements of thewasmer-python.TODOCompatibility with the latest snarkjs, circomPerformance optimizing
Package: python-snippet
Python Snippet ToolA tool to get Python and data science snippets atData Science Simplifiedon the command line. You can readmy articleto learn how I created this tool.Installationpython3-mpipinstall--userpython-snippetNote:The--useris important. It ensures you install it in your directory and not in the global system.python3 -mensures that you install python_snippet using Python 3.Make sure your Python version is >= 3.6.2.python3--versionUsageSearch for posts based on categoryYou can search for posts based on category by typing:python-snippetsearch-categoryOnce you select a post, you will receive an output like below:Search for posts based on a string patternYou can also search for posts using a string pattern such aspandaspython-snippetsearch-postspandasTo view all commands python-snippet provides, type:python-snippet--help
Package: python-social-auth
Python Social Auth is an easy-to-setup social authentication/registration
mechanism with support for several frameworks and auth providers.Crafted using base code from django-social-auth, it implements a common interface
to define new authentication providers from third parties, and to bring support
for more frameworks and ORMs.Deprecation notice - 2016-12-03As for Dec 03 2016, this library is now deprecated, the codebase was
split and migrated into thepython-social-auth organization,
where a more organized development process is expected to take place.Details about moving towards the new setup is documented in themigrating to socialdocument.
Package: python-social-auth-waveapps
python-social-auth-waveapps===========================Pluggable authentication backend for python-social-auth, that allows authentication via WaveApps.*Currently only supports the Django strategy.*## Installation instructionsFrom pypi$ pip install python-social-auth-waveappsor clone from Github$ git clone git@github.com:ashchristopher/python-social-auth-waveapps.git$ cd python-social-auth-waveapps && sudo python setup.py install## Pre-requisites`python-social-auth` must be installed and configured first. Please visit the[python-social-auth documentation](http://psa.matiasaguirre.net/docs/) for instructions.## Configuration instructions1. Add Waveapps backend to AUTHENTICATION_BACKENDS:AUTHENTICATION_BACKENDS = ('social_auth_waveapps.backends.WaveAppsOauth2',...'django.contrib.auth.backends.ModelBackend',)2. Add your Waveapps settings to your django `settings.py` file.SOCIAL_AUTH_WAVEAPPS_KEY = "..."SOCIAL_AUTH_WAVEAPPS_SECRET = "..."SOCIAL_AUTH_WAVEAPPS_DEFAULT_SCOPE = ['user.read', ]## Changelog### 0.2.0* Adds the ability to refresh the access_token using the `refresh_token` method on the backend.### 0.1.0* Fixes install problem.### 0.0.3* Adds the `refresh_token`, `expires_in`, and `token_type` to the `extra_data` the **UserSocialAuth** instance.### 0.0.1* Initial release
Package: python-socialtext
This is a client for Socialtext’s REST API. The goal of this project is to provide an extensible library that helps you focus on building applications that leverage the power of Socialtext instead of worrying about HTTP methods and status codes.You can read the documentation at:http://python-socialtext.readthedocs.org/Contents:RequirementsInstallationPython APIContributingBranchesRequirementsrequests-0.3.0InstallationYou can install python-socialtext using pip or easy_install:pip install python-socialtext

# or

easy_install python-socialtextThe tests usenoseand can be run using:python setup.py test

# or

nosetestsYou can useSphinxto build the documentation locally:cd docs
make html # windows: use make.bat

# open the _build/index.html document in your browserPython APIQuick start:from socialtext import Socialtext

st = Socialtext(url=ST_URL, username=USERNAME, password=PASSWORD)

st.signals.create("This is a signal from the API!")
<Signal: 1234>

signal.delete()

st.pages.list("ws-name")
<Page: test_page>, <Page: test_page_2>, <Page: test_page_3>

ws = st.workspaces.get("ws-name")
st.pages.list(ws)
<Page: test_page>, <Page: test_page_2>, <Page: test_page_3>ContributingDevelopment takes place onGithub. You can file bug reports and pull requests there.BranchesThis project follows thegit-flowbranch methodology. So, there will always be two branches in the repository:masterThe stable, production branch.developActive development work towards the next release. All pull requests will be merged into this branch.
Package: python-socketio
python-socketioPython implementation of theSocket.IOrealtime client and server.SponsorsThe following organizations are funding this project:Socket.IOAdd your company here!Many individual sponsors also support this project through small ongoing contributions. Why notjoin them?Version compatibilityThe Socket.IO protocol has been through a number of revisions, and some of these
introduced backward incompatible changes, which means that the client and the
server must use compatible versions for everything to work.If you are using the Python client and server, the easiest way to ensure compatibility
is to use the same version of this package for the client and the server. If you are
using this package with a different client or server, then you must ensure the
versions are compatible.The version compatibility chart below maps versions of this package to versions
of the JavaScript reference implementation and the versions of the Socket.IO and
Engine.IO protocols.JavaScript Socket.IO versionSocket.IO protocol revisionEngine.IO protocol revisionpython-socketio version0.9.x1, 21, 2Not supported1.x and 2.x3, 434.x3.x and 4.x545.xResourcesDocumentationPyPIChange LogQuestions? See thequestionsothers have asked on Stack Overflow, oraskyour own question.
Package: python-socketio-client
Python implementation of the socket.io client.Design & goalsThis implementation is inspired by the JavaScriptsocket.io-clientimplementation.It is directly usingpython-engineio-clientas underlying engine.io layer.Protocol parser is copied in parts and at least largely inspired from the
packagepython-socketiowritten byMiguel Grinberg.This socket.io client is usinggeventfor now. This is not a strict design
choice but a simplification for this first implementaion. Other asynchronous
frameworks are welcome for future versions.Examplefromsocketio_client.managerimportManagerimportgeventfromgeventimportmonkey;monkey.patch_socket()io=Manager('localhost',8000)chat=io.socket('/chat')@chat.on_connect()defchat_connect():chat.emit("Hello")@chat.on('welcome')defchat_welcome():chat.emit("Thanks!")io.connect()gevent.wait()LinksAnother engine.io/socket.io client:socketIO_client
Package: python-socketio-fork
python-socketioPython implementation of theSocket.IO_ realtime client and server.SponsorsThe following organizations are funding this project:Socket.IOAdd your company here!Many individual sponsors also support this project through small ongoing contributions. Why notjoin them?Version compatibilityThe Socket.IO protocol has been through a number of revisions, and some of these
introduced backward incompatible changes, which means that the client and the
server must use compatible versions for everything to work.If you are using the Python client and server, the easiest way to ensure compatibility
is to use the same version of this package for the client and the server. If you are
using this package with a different client or server, then you must ensure the
versions are compatible.The version compatibility chart below maps versions of this package to versions
of the JavaScript reference implementation and the versions of the Socket.IO and
Engine.IO protocols.JavaScript Socket.IO versionSocket.IO protocol revisionEngine.IO protocol revisionpython-socketio version0.9.x1, 21, 2Not supported1.x and 2.x3, 434.x3.x and 4.x545.xResourcesDocumentationPyPIChange LogQuestions? See thequestionsothers have asked on Stack Overflow, oraskyour own question.
Package: python-socketio-yas-exchange
python-socketioPython implementation of theSocket.IO_ realtime client and server.SponsorsThe following organizations are funding this project:Socket.IOAdd your company here!Many individual sponsors also support this project through small ongoing contributions. Why notjoin them?Version compatibilityThe Socket.IO protocol has been through a number of revisions, and some of these
introduced backward incompatible changes, which means that the client and the
server must use compatible versions for everything to work.If you are using the Python client and server, the easiest way to ensure compatibility
is to use the same version of this package for the client and the server. If you are
using this package with a different client or server, then you must ensure the
versions are compatible.The version compatibility chart below maps versions of this package to versions
of the JavaScript reference implementation and the versions of the Socket.IO and
Engine.IO protocols.JavaScript Socket.IO versionSocket.IO protocol revisionEngine.IO protocol revisionpython-socketio version0.9.x1, 21, 2Not supported1.x and 2.x3, 434.x3.x and 4.x545.xResourcesDocumentationPyPIChange LogQuestions? See thequestionsothers have asked on Stack Overflow, oraskyour own question.
Package: python-sofa
A Python API for reading, writing and creating SOFA files as defined by the SOFA conventions (version 1.0) found athttps://www.sofaconventions.org/.Documentation:https://python-sofa.readthedocs.io/Source code and issue tracker:https://github.com/spatialaudio/python-sofa/License:MIT – see the fileLICENSEfor details.Quick start:Install Python 3python3-mpip installpython-sofa--userCheck out the examples in the documentation
Package: python-software-project-estimator
Software Project EstimatorInstallingInstall using pip:pip install python-software-project-estimatorUsageHere's an extremely trivial example.from datetime import date

from software_project_estimator import Project, Task
from software_project_estimator.simulation.monte_carlo import MonteCarlo


task = Task(name="This is the only task", optimistic=10, pessimistic=22, likely=15)
project = Project(name="My Project", start_date=date(2023, 1, 1), weeks_off_per_year=0)
project.tasks = [task]

monte = MonteCarlo(project, 100_000)
results = monte.run()

for day, result in results.items():
   print(f"{day}: {result}")This will print something like this.2023-01-17: total=8 probability=8e-05
2023-01-18: total=80 probability=0.00088
2023-01-19: total=352 probability=0.0044
2023-01-20: total=1104 probability=0.01544
2023-01-23: total=3392 probability=0.04936
2023-01-24: total=7744 probability=0.1268
2023-01-25: total=12528 probability=0.25208
2023-01-26: total=18184 probability=0.43392
2023-01-27: total=19776 probability=0.63168
2023-01-30: total=16656 probability=0.79824
2023-01-31: total=11280 probability=0.91104
2023-02-01: total=5672 probability=0.96776
2023-02-02: total=2312 probability=0.99088
2023-02-03: total=712 probability=0.998
2023-02-06: total=184 probability=0.99984
2023-02-07: total=16 probability=1.0As you can see, the 50% probability mark is somewhere between the 26th or the
27th of January. This is because the end date is actually the first date on
which the project is actually finished -- not the last date on which work was
performed. Let's take a closer look.task.averagetells us that our weighted average outcome should be15.33person days. Since we only have one person working on this task and we're
working 5 day weeks, you could look at this and say, "This will take a little
over three weeks."Looking at the calendar, out project started on 1/1/2023, which was a Sunday.
Also, New Year's day was observed in the US on 1/2. The first day we can
actually work is 1/3. MLK Day was observed on 1/16, so that's also a day we
don't work in the US. The 15.33 days we're actually working are 1/3, 1/4, 1/5,
1/6, 1/9, 1/10, 1/11, 1/12, 1/13, 1/17, 1/18, 1/19, 1/20, 1/23, 1/24, and 1/25.
That means that, at around the 50% probability, the first day we don't work on
this project is 1/26.This is all well and good but, really, do you want to commit to finishing
at the 50% mark? You may as well flip a coin to see if you can finish on time.
What's important here is theshapeof the outcomes. There's close to a 2/3
probability that this project can be completed before 1/27 based on our
three--point estimate. This is probably a decent estimate of how long it will
take in the real world. What you choose to communicate to the boss is up to
you.
Package: python-solarfrontier
Solar Frontier Inverter APIPython Library to retrieve data from "Solar Frontier" inverters on LAN. Able to get measurements, yield data, system info.InstallationAvailable on PyPipipinstallpython-solarfrontierCompatibilityConfirmed to work with:SF-WR-5503xExampleInitiate the API instance with host. Authentication not supported.import asyncio

from python_solarfrontier.api import SolarFrontierAPI
from python_solarfrontier.utils import UnitConverter

async def main():
    host = '192.168.0.101' # IP address of the inverter
    api = SolarFrontierAPI(host)

    # Test if we can connect with the host
    test = await api.test_connection()
    print(f"Test connection: {test}")

    # Get system information
    system_info = await api.get_system_info()
    print(f"System information: {system_info}")

    # Get measurement data
    measurements = await api.get_measurements()
    print(f"Measurement data: {measurements}")

    # Get the yield of the current day
    yield_day = await api.get_yield_day()
    print(f"Yield of the current day: {yield_day}")

    # Get the yield of the current month
    yield_month = await api.get_yield_month()
    print(f"Yield of the current month: {yield_month}")

    # Get the yield of the current year
    yield_year = await api.get_yield_year()
    print(f"Yield of the current year: {yield_year}")

    #Get total yield
    yield_total = await api.get_yield_total()
    print(f"Total yield: {yield_total}")

    # Close the session
    await api.close()


    # Get measurement values and units
    unit_converter = UnitConverter()
    total_yield_value, total_yield_unit = unit_converter.parse_measurement(yield_total)
    print(f"Total yield value: {total_yield_value}, unit: {total_yield_unit}")

# Run the async main function
asyncio.run(main())ContributionFeel free to contribute with PR todevbrach.
Package: python-solumclient
Python bindings to the Solum APIThis is a client library for Solum built on the Solum API.Free software: Apache licenseDocumentation:https://wiki.openstack.org/wiki/SolumInstallationAt the command line:$ pip install python-solumclientOr, if you have virtualenvwrapper installed:$ mkvirtualenv python-solumclient
$ pip install python-solumclientUsageTo use python-solumclient in a project:import solumclient
Package: python-solvespace
python-solvespacePython library from the solver of SolveSpace, an open source CAD software.Python APIC APIThe example extracted from unit test:frompython_solvespaceimportSolverSystem,ResultFlagsys=SolverSystem()wp=sys.create_2d_base()# Workplane (Entity)p0=sys.add_point_2d(0,0,wp)# Entitysys.dragged(p0,wp)# Make a constraint with the entity...line0=sys.add_line_2d(p0,p1,wp)# Create entity with others...line1=sys.add_line_2d(p0,p3,wp)sys.angle(line0,line1,45,wp)# Constrain two entitiesline1=sys.entity(-1)# Entity handle can be re-generated and negatively indexed...ifsys.solve()==ResultFlag.OKAY:# Get the result (unpack from the entity or parameters)# x and y are actually float typedof=sys.dof()x,y=sys.params(p2.params)...else:# Error!# Get the list of all constraintsfailures=sys.failures()...Solver can also be serialized and copied, but can not modify or undo last step.importpickleprint(pickle.dumps(sys))sys_new=sys.copy()The entity and parameter handles should have the same lifetime to the solver.Installpipinstallpython-solvespaceBuild and Test (Repository)First build and install the module from the repo:gitsubmoduleupdate--initextlib/mimallocextlib/eigencdcython
pipinstall-e.Rebuild the module:pipinstall-e.--no-depsRun the unit tests:python-munittestUninstall the module:pipuninstallpython-solvespace
Package: python-sonarqube-api
Python Client library for interacting with Community, Developer, and Enterprise Editions SonarQube’s REST APIs and SonarCloud’s REST APIs.python-sonarqube-api provides a simple interface for clients to interact with SonarQube via the REST API.EditionsThere are two editions of python-sonarqube-api:Community Edition (CE) is available freely under the GNU Affero General Public License v3.0.Professional Edition (PE) includesextra featuresthat are more useful for developers with more than 280 interface functions. To use PE and get timely Email support and continuous updates,
please become a Purchaser(https://shijl0925.gumroad.com/l/nlokc) and become a subscriber(https://shijl0925.gumroad.com/subscribe).Notice: Professional Edition’s extra features have been remarked by usingOnly available on the professional editionin API Document.DifferencesCommunity EditionProfessional EditionLicenseGNU AGPLv3 LicenseMIT LicenseCommercial UseNoYesSupported APIs
(SonarQube Web APIs)40more than 280Compatibility
(SonarQube Versions)7.9.x - 8.9.x7.9.x - 10.xPayment only needs to be made once, and library updates will be provided for free.Change LogCommunity EditionSee theCHANGELOG-CE.mdfile for Community Edition.Professional EditionSee theCHANGELOG-PE.mdfile for Professional Edition.InstallationCommunity EditionThe easiest way to install the latest version is by using pip to pull it from PyPI:pip install  --upgrade python-sonarqube-apiProfessional EditionUse command pip to install the Python wheel or source package, Use –force-reinstall to force an installation If necessary:pip install python_sonarqube_pro_api-x.y.z-py3-none-any.whlDocumentationThe full documentation for API is available onreadthedocs.CompatibilityThis package is compatible Python versions 2.7, 3.3+.Tested with SonarQube Community Edition 8.9.x LTS and SonarCloud Server.Donatedonations are not mandatory but very welcomed
If you like my work and want to support development or buy me a coffeePayPal DonateUsageThe Client is easy to use, you just need to initialize it with the
connection parameters (default sonarqube url ishttp://localhost:9000).Example:from sonarqube import SonarQubeClient

sonar = SonarQubeClient(sonarqube_url="http://localhost:9000", username='admin', password='admin')Sonar authentication tokens can also be used in place of username and password:sonar = SonarQubeClient(sonarqube_url="http://localhost:9000", token='*****************')API exampleThe example documentation for SonarQubeClient APIs is available onAPI examples.LicensingSee theLICENSEfile for licensing information as it pertains to files in this repository.