Saravanan666/pypi-org huggingface dataset:
Package: ozan-arslan
OzanArslanThis code implements a OzanArslan class that displays a scrolling text on the console screen. The text moves continuously to the right, and when it reaches the end of the screen, it wraps back to the beginning.RequirementsPython 3.xUsageTo use the OzanArslan class, simply create an instance of the class and call its run() method:fromozan.ozanimportOzanArslanozan=OzanArslan()ozan.run()
Package: ozcore
OzCore is my core.OzCore is automating my boring stuff. A time saver gadget for me.InstallationI. Pip simplePublished latest stable versionpipinstallozcoreII. Latest from GitHub with PipLatest dev version from GitHubpipinstallgit+https://github.com/ozgurkalan/OzCore--force-reinstall--no-depsIII. GitHub clonegitclonehttps://github.com/ozgurkalan/OzCore.gitJupyter KernelFor your Jupyter Notebook to run in your dedicated environment, use the following script:# add kernell to Jupyter
python -m ipykernel install --user --name=<your_env_name>Fresh installs may have problems with enabling extentions. You shall run the commands below to activate.jupyternbextensionenable--py--sys-prefixwidgetsnbextensionJupyter ExtensionsThis step copies thenbextensionsjavascript and css files into the jupyter server’s search directory, and edits some jupyter config files.jupytercontribnbextensioninstall--system
Package: oz-defender
oz-defenderPackage for interacting with Open Zeppelin's Defender APIInstallationUsingpip$pipinstalloz-defenderUsingpoetry$poetryaddoz-defenderUsageThis package is intended to mirror as closely as possible thedefender-clientJavaScript package to provide a unified API across languages.RelaySeedefender-relay-clientfor this module's inspiration.For theRelay API, used for administrating your team's relayers:fromoz_defender.relayimportRelayClientrelay=RelayClient(api_key='defender-team-api-key',api_secret='defender-team-api-secret')relay.list_relayers()For theRelayer API, used for transaction related operations with a specific relayerfromoz_defender.relayimportRelayerClientrelayer=RelayerClient(api_key='relayer-api-key',api_secret='relayer-api-secret')relayer.list_transactions()Contributingoz-defenderis under active development so we welcome any and all contributions to improve the package!IssuesTo make it as simple as possible for us to help you, please include the following whencreating an issue:OSpython versionoz-defenderversionNOTE: Unless the change you're making is minor, please open an issue in GitHub to discuss a change before opening a PRDevelopmentThis package is developed usingpoetry. Make sure its installed on your machine and peep the documentation to familiarize yourself with its commands.Clone this repository$gitclonehttps://github.com/franklin-systems/oz-defenderInstallpre-commitand its hooks$pipinstallpre-commitor if you're using macOS$brewinstallpre-committhen$pre-commitinstallCheck out a new branch$gitcheckoutmy-new-feature-branchCommit and create your PR with a detailed description and tag the GitHub issue that your work addressesTestingoz_defenderlocallyInstall (if it's your first time) or update deps$poetryinstallor$poetryupdateInitialize a shell inpoetryvirtual env$poetryshellEnter a python REPL(oz-defender-py3.10)$python3Importoz_defenderand off you go>>>fromoz_defenderimport*>>>relayer=RelayerClient(api_key='relayer-api-key',api_secret='relayer-api-secret')Quit the python REPL and re-initialize to pick up code changes as you develop
Package: oze-dataset
Oze datasetDescriptionDownloads datasets files fromhttps://challengedata.ens.fr/participants/challenges/28/and create npz file from them.Installationpip install oze-datasetUsagefromoze_datasetimportnpz_checkif__name__=="__main__":credentials={'user_name':'your_user_name','user_password':'your_user_password'}npz_check(credentials=credentials)Oze dataset history
Package: ozekilibsrest
How to use the ozekilibsrest libraryHow to install the ozekilibsrest libraryIn order to install theozekilibsrest libraryyou have to use the following command:pipinstallozekilibsrestAfter you have installed the library, you can import its contents into your project by using the following lines of code:fromozekilibsrestimportConfiguration,Message,MessageApiCreating a ConfigurationTo send your SMS message to the built in API of theOzeki SMS Gateway, your client application needs to know the details of yourGatewayand thehttp_user.
We can define aConfigurationinstance with these lines of codes in Python.configuration=Configuration(username="http_user",password="qwe123",api_url="http://127.0.0.1:9509/api")Creating a MessageAfter you have initialized your configuration object you can continue by creating a Message object.
A message object holds all the needed data for message what you would like to send.
In Python we create aMessageinstance with the following lines of codes:msg=Message(to_address="+36201111111",text="Hello world!")Creating a MessageApiYou can use theMessageApiclass of theozekilibsrest libraryto create aMessageApiobject which has the methods to send, delete, mark and receive SMS messages from the Ozeki SMS Gateway.
To create aMessageApi, you will need these lines of codes and aConfigurationinstance.api=MessageApi(configuration)After everything is ready you can begin with sending the previously createdMessageobject:result=api.send(msg)print(result)After you have done all the steps, you check the Ozeki SMS Gateway and you will see the message in theSentfolder of thehttp_user.
Package: ozg
🥔 Onlinezugangsgesetz Tools 🥔Currently this package includes a parser and converter to jsonschema-forms for thexDatenfelderformat.Installationpip install ozgfromozg.xdatenfelder.parserimportFIMParserimportjsonfim_url="https://fimportal.de/detail?tx_fimportalcatalog_fimsearch%5Baction%5D=download&tx_fimportalcatalog_fimsearch%5Bcontroller%5D=CatalogEntry&tx_fimportalcatalog_fimsearch%5BdocumentIndex%5D=1&tx_fimportalcatalog_fimsearch%5Bid%5D=DS00000123&cHash=0760c920aa906ab17ecef77281781f09"# parses your XDatenfelder file/url/stringparser=FIMParser(fim_url)# dumps your spec as a json-schema-formprint(json.dumps(parser.to_json))FeaturesBasic parsing of XDatenfelderv1v2Implementation of select fields by using external xdatenfelder resources from xrepository(basic) XDatenfelder transformation tojsonschema-formconversions from json to xöv xml documentsimplementation of xzufi standard
Package: ozholiday
# OZ HolidayA simple function to check a given date a public holiday or not in Australia, really easy to use.- Use the data from [data.gov.au](https://data.gov.au/dataset/australian-holidays-machine-readable-dataset)- Only use Python standard libraries- Only one function - keep it simple## Installation```bashpip install ozholiday```Or```bashgit clone https://github.com/zhongdai/ozholiday.gitcd ozholidaypython setup.py install```## Usage```pythonIn [1]: from ozholiday import isholidayIn [2]: isholiday('20170101')Out[2]: TrueIn [3]: isholiday('20170101',detail=True)Out[3]:{'Applicable To': 'NAT','Date': '20170101','Holiday Name': "New Year's Day",'Information': "New Year's Day is the first day of the calendar year and is celebrated each January 1st",'More Information': '','_id': 1}In [5]: isholiday('20170103')Out[5]: FalseIn [9]: isholiday('20190102')ValueError: The date 20190102 is not in current list published by data.gov.au,Check here https://data.gov.au/dataset/australian-holidays-machine-readable-dataset```=======History=======0.1.0 (2018-03-02)------------------* First release on PyPI.
Package: oZip
oZip - Simple compression solution in Python============================================Installation------------To install oZip, simply use pip:::$ pip install ozipIf for some reason pip is unavailable (Or you’re on Windows), you caninstall by running the following commands:::$ git clone https://github.com/OzTamir/oZip$ cd oZip$ python setup.py installIf you have any problem with the setup process, you are welcomed to opena Issue in the project’s repository.CLI Usage-----To compress a file run the following command:::$ ozip -i <Path to file>This will create a file.ext.ozip in the same path.To decompress a file, run the following command:::$ ozip -i <oZip File> -dThis will decompress the file in the same path.GUI Usage-----To run the GUI version of oZip, simply run the following command:::$ ozip-guiThis will invoke the GUI version of oZip and it's easy to use from this pointRoadmap-------Going forward there are still many things I’m planning to improve, bothin the format design and in my implementation. Just a few of the plannedimprovements:-  Adding a testing suite and make sure oZip plays nice on differentplatforms-  Optimize both speed and compression ratio-  Adding one of the LZ flavours to improve compression ratioLicense-------This project is licensed under the GNU GPL v2.0 License. Please read theLICENSE.txt file to learn more about the allowed usage of this project.
Package: ozpy
Python (2.7+ including 3.X) library for accessing Zimbra SOAP (https://wiki.zimbra.com/wiki/SOAP_API_Reference_Material_Beginning_with_ZCS_8) by using builtin Python library (no dependency required).
Currently this library split into 2 parts: Zmprov and Mailbox.not all zmprov command(s) has been implemented, because i add them only based on customer/project needsbut you can add your own by extendingOZSoapwhich is base ofZmprovandMailboxfor example creating new COS (Class Of Service)fromozpy.baseimportOZSoapclassNewClass(OZSoap):defcreate_cos(self,name):body={"name":[{"_content":name}]}returnself.send("CreateCos",body)or directly call the soap method (by omitting Request suffix)# zmsoap_obj is an instance from class OZSoapzmsoap_obj.CreateCos(name=[{"_content":"barudong"}])you can usezmsoapto get the parameters in soap body by using–verboseand–jsonzmsoap-zCreateCosRequest/name=new_cos--json--verboseExamplesfetch all accountfromozpy.zmprovimportZmprovzmprov=Zmprov(username="admin@mail.com",password="superpassword",soapurl="https://192.168.113.75:7071/service/admin/soap")printzmprov.gaa()Sending emailfromozpy.mailboximportMailboxmbx=Mailbox(username="user1@mail.com",password="superpassword",soapurl="https://192.168.113.75/service/soap")mbx.sendMail('admin@mail.com','This is subject','Email content')
Package: ozymandias
OzymandiasI met a traveller from an antique land
Who said: "Two vast and trunkless legs of stone
Stand in the desert. Near them, on the sand,
Half sunk, a shattered visage lies, whose frown,
And wrinkled lip, and sneer of cold command,
Tell that its sculptor well those passions read
Which yet survive, stamped on these lifeless things,
The hand that mocked them and the heart that fed:
And on the pedestal these words appear:
*'My name is Ozymandias, king of kings:
Look on my works, ye Mighty, and despair!'*
Nothing beside remains. Round the decay
Of that colossal wreck, boundless and bare
The lone and level sands stretch far away."