Saravanan666/pypi-org huggingface dataset:
Package: guess-number-atalay
# Guess NumberGuess the number game(python package) for given range### PrerequisitesPython => 3.6### InstallingInstall package by using pip` pip installguess_number-atalay`## UsageCall Guess_Number object to start the game.## Sourcehttps://pypi.org/project/guess-number-atalay/## AuthorsAtalay Denknalbant-Guess Number## LicenseThis project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE](LICENSE.txt) file for details
Package: guesstheword
Guess the WordThe package targets to help user in playing the game wordleHow it words$ wordle-helperType initial word, if all characters are unknown type ***** 
else type character for known position and * for unknowns position
>> *o**d
Characters to include with position unknown
>> 
Type other character than 'tpe' that has to be exluded
>> 


Selected word ismonadDo you want to continue search y/n >> y
Type initial word, if all characters are unknown type ***** 
else type character for known position and * for unknowns position
>> *o**d
Characters to include with position unknown
>> n
Type other character than 'tpe' that has to be exluded
>> ma


Selected word isfoundIt would be seen on wordle as
Package: guesstime
guesstime尝试处理各种 时间字符串、datetieme、int、中文、24节气等等 返回给你 标准unix时间戳 int类型 或者 datetime类型 或者 arrow类型使用了4个python纯离线时间处理库， 如有更多格式，请联系我加上处理更多详细使用可见 example.py 文件pipinstallguesstimefromguesstimeimportGuessTimeimportdatetimeimporttimeprint(datetime.timedelta(seconds=time.time()).__str__())print(GuessTime("Wed Mar 16 01:33:53 +0000 2016").offset(seconds=-60).to_datetime())print((GuessTime(" 01:33:53").offset(seconds=-60,hours=6)-6-'2022-1-1'))print(GuessTime("Wed Mar 16 01:33:53 +0000 2016").to_datetime())print(GuessTime("Wed Mar 16 01:33:53 +0000 2016").to_datetime_with_change_timezone())print(GuessTime("Wed Mar 16 01:33:53 +0000 2016").to_date_str_with_change_timezone())print(GuessTime("Wed Mar 16 01:33:53 +0000 2016").to_date_str())print(GuessTime("2021一月一hao").to_datetime())print(GuessTime("2021一月2hao十八點").to_datetime())print(GuessTime("2021.10 12 5:08pm CNT").to_datetime())print(GuessTime("2021。10 12 5:08pm CNT").to_datetime())print(GuessTime("2021/March.2 5:08pm CNT").to_datetime())print(GuessTime("2021/10/12 5:08pm CNT").to_datetime())print(GuessTime("(10/12 5:08pm CNT").to_datetime())print(GuessTime("2021-10/12 5:08pm CNT").to_datetime())print(GuessTime("2021-03-10T 17:08:00 +00:00").to_datetime())print(GuessTime("March 10, 2021 5:08pm EST").to_arrow())print(GuessTime(time.time()).to_datetime())print(GuessTime(datetime.datetime.now()).to_timestamp())print(GuessTime(datetime.date.today()).to_timestamp())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").to_datetime())print(GuessTime("2022-03-11 18:14:27.913229-08:00").to_timestamp())print(GuessTime(datetime.datetime.now()).to_timestamp_int())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").parse('这个月的第三个星期天').to_datetime())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").parse('今年的大寒').to_datetime())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").parse('今天中午十二点').to_datetime())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").parse('今天晚上8点').to_datetime())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").parse('今天晚上8点').to_arrow().weekday())print(GuessTime("2022-03-11 18:14:27.913229 -08:00").parse('今天晚上8点').to_datetime().hour)print(GuessTime("Wed 000 2016",raise_err=False).to_datetime(datetime.datetime.now()))print(GuessTime("Wed 000 2016",raise_err=False).to_guess_filter_string())19284 days, 15:26:27.809527
2016-03-16 01:32:53+00:00
291 days, 7:32:47
2016-03-16 01:33:53+00:00
2016-03-16 09:33:53+08:00
2016-03-16 09:33:53 CST
2016-03-16 09:33:53
2021-01-01 00:00:00+00:00
2021-01-02 18:00:00+00:00
2021-10-12 17:08:00+00:00
2021-10-12 17:08:00+00:00
2021-03-02 17:08:00+00:00
2021-10-12 17:08:00+00:00
2022-10-12 17:08:00+00:00
2021-10-12 17:08:00+00:00
2021-03-10 17:08:00+00:00
2021-03-10T17:08:00+00:00
2022-10-19 15:26:27.855769+00:00
1666221987.857278
1666137600.0
2022-03-12 02:14:27.913229+00:00
1647051267.913229
1666221987
2022-03-27 02:14:27+00:00
2023-01-20 02:14:27+00:00
2022-03-12 12:14:27+00:00
2022-03-12 20:14:27+00:00
5
20
2022-10-19 23:26:27.889916
Wed 000 2016
Package: guess-xsd-type
Guess XSD data typeThe purpose of this 'package' is to guestimate a primitive XSD datatype as defined in section 3.3 here:https://www.w3.org/TR/xmlschema11-2/Currently covers: string, decimal (and integer), date, anyURI...If you have Python (3.x) installed you can run it from command line. There are currently three functions. One requires a value inputted by a user:python guess_xsd_user_input.pyAnother function allows for a csv to be passed on. Currently the flavour of guessing is 'one-shot', which means that just for the first value of a column the XSD datatype is guessed. To use (function,filename,delimiter):python guess_one_shot.py ./example_stolpersteine.csv ';'A repeated one-shot function, checks for all values in a variable and provides a guestimate if for all values the same datatype was found, or suggest 'string' as datatype. In that case a warning is given and the number and type of datatypes found is reported.python repeated_one_shot.py ./example_stolpersteine.csv ';'
Package: guestbook-pro
# GuestBook Pro### Requirements- python- pip### How to Use```sh$ pip install guestbook-pro$ guestbook-pro```### Options```sh$ guestbook-pro --helpUsage: guestbook-pro [OPTIONS]Options:-i, --interface [lo|eth0|eth1]  listen on this interface [lo]-p, --port INTEGER RANGE        listen on this TCP port [8000]-d, --debug                     run server in debug mode--help                          Show this message and exit.```### Version1.0.0
Package: guest_list
IntroductionSimple python package for a company to generate a guest list from a data file containing json encoded customer coordinates, based on their distance to the companies office.Example data file is given in ‘customers.json’The default distance is 100km and the default office location is:{"latitude": 53.3381985, 'longitude': -6.2592576}Requirementspython3pipInstallpip install guest_listUsageimportguest_list# 'customers.json' must be stored in the same directory as your python scriptguests=guest_list.create("customers.json")forguestinguests:print("{}:{}".format(guest['user_id'],guest['name']))The office location and maximum distance can be passed as argumentsimportguest_listoffice_coordinates={'latitude':53.378356,'longitude':-6.588503}max_distance_km=60.0guests=guest_list.create("customers.json",office_coordinates=office_coordinates,max_distance_km=max_distance_km)forguestinguests:print("{}:{}".format(guest['user_id'],guest['name']))TestsTo run the tests:git clone https://github.com/kujosHeist/guest_list.git
cd guest_list

python setup.py test
Package: guet
guetenable contribution tracking when pair programming with guetPair programming is integral part of many software development lifecycles. When pairing, you may want to track each committer's contributions. Usingguetenables that functionality without changing the normal git workflow.Installationguetcan be installed frompypi:pip3 install guetUsageinitInitialize repository for guet tracking.$ guet initFlagDescription--location [path to foler]Specify directory to create hooks in--alongside / -aAppend -guet to hook file names--overwrite / -oOverwrite existing hooksaddAdd a committer for commit tracking$ guet add p1 "Person 1" person@example.comFlagDescription--localAdd users locally to this repository (and create local configuration filessetSet committers for current repository$ guet set p1 p2
Committers set to:
p1 - Person 1 <person1@example.com>
p2 - Person 2 <person2@example.com>getGet committers.$ guet get all
All committers
p1 - Person 1 <person1@example.com>
p2 - Person 2 <person2@example.com>
p3 - Person 2 <person2@example.com>

$ guet get current
Current committers
p1 - Person 1 <person1@example.com>
p3 - Person 2 <person2@example.com>removeRemove committer$ guet remove p1yeetRemove guet configurations.$ guet yeetFlagDescription--global / -gRemove guet configuration from home directoryQuestionsThere is afrequently asked questionssection with some commonly asked questions.ContributionGuidelines for contributions can be foundhere. Feel free toopen an issueif there are problems withguetor you want to submit a
feature request.
Package: guetwifi
guetwifiThis is a simple script to connect to the GUET-WIFI and keep it alive!!!!!!.UsageInstallationpipinstallguetwifihelpguetwifi--helpUsage:guetwifi[OPTIONS]COMMAND[ARGS]...GuetWifiisacommandlinetoolforGUET-WIFIlogin

Options:--debug/--no-debug--helpShowthismessageandexit.

Commands:configConfigyourGUET-WIFIaccountandpasswordlogShowguetwifilogrestartRestartguetwifistartStartguetwifistatusCheckguetwifistatusstopStopguetwifiversionShowguetwifiversionconfigguetwificonfig--helpguetwificonfig-a<account>-p<password>you can set the isp tocmccortelecomandunicomusing-ioption.guetwificonfig-a<account>-p<password>-i<isp>startguetwifistartstopguetwifistopstatusguetwifistatuslogguetwifilog
Package: guezguez-test
M1-2022-gitIntroductionThis repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.Getting startedYou should be working fromyour own repositorythat is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.Clone this projectmove into the project foldercdM1-2022-git-workflowSet up a virtual environmentCreate the virtual environmentpython-mvenvmyvenvActivate venv.venv/bin/activateInstall pytestpipinstall-UpytestExecute main scriptpythonmain.pyInstructionsMerge feature branch into devNow that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Selectbaseandcompare. Remember : we want to mergedecimal-binary-converterintodev.
Then,Create the pull request. Add some description of the work you have done and publish the Pull Request.Note: We could have just mergedecimal-binary-converterintodevfrom the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.Publish your workWe now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.First, you have to create an account onPypi.orgThen, in your repository, you will find a.github directoryInside this directory, you will find .yml files that defines workflows (using GitHub actions)Open the yml files and take time to understand them. Do not hesitate to ask the teacher about themHands on !We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPIIn GitHub, click on theActionstab, then click onnew workflowChoose among the suggestions the template that best suits your use-case and clickConfigureYou may find some useful informations in thePython documentationWhen creating a release on GitHub, do not forget to create a tag corresponding to that releasePull requestOnce the workflow is setup and tested (you have published your package using it) you can open a pull request to theoriginal repository
Package: gufe
[![Logo](https://img.shields.io/badge/OSMF-OpenFreeEnergy-%23002f4a)](https://openfree.energy/)
[![build](https://github.com/OpenFreeEnergy/gufe/actions/workflows/ci.yaml/badge.svg)](https://github.com/OpenFreeEnergy/gufe/actions/workflows/ci.yaml)
[![coverage](https://codecov.io/gh/OpenFreeEnergy/gufe/branch/main/graph/badge.svg)](https://codecov.io/gh/OpenFreeEnergy/gufe)# gufe - Grand Unified Free EnergyGUFE is a toolkit for developers of software related to alchemical free energy calculations,
containing data models and abstract base classes.Looking to run a free energy calculation? You’re probably looking for [openfe](https://github.com/OpenFreeEnergy/openfe)## LicenseThis library is made available under the [MIT](LICENSE) open source license.## Important noteThis is pre-alpha work, it should not be considered ready for production and API changes are expected at any time without prior warning.## InstallationTo install, run`conda install-cconda-forgegufe`## AuthorsThe Open Free Energy development team.## Acknowledgements[Open Free Energy](http://openfree.energy) is an [Open Molecular Software Foundation](https://omsf.io/) hosted project.
Package: gufo-acme
Gufo ACMEGufo ACME is a Python asyncio client for the ACME protocol.Documentation:https://docs.gufolabs.com/gufo_acme/Source Code:https://github.com/gufolabs/gufo_acme/The Automatic Certificate Management Environment (ACME) protocol defines a method
for automated certificate signing, now widely used by services
such as Let's Encrypt. Gufo ACME is a Python asyncio ACME client library that
simplifies the protocol complexity with a straightforward and robust API.Gufo ACME contains various clients which can be applied to your tasks:AcmeClient - base client to implement any fulfillment functionality
by creating subclasses.DavAcmeClient - http-01 fulfillment using WebDAV methods.PowerDnsAcmeClient - dns-01 PowerDNS fulfillment.WebAcmeClient - http-01 static file fulfillment.Supported Certificate AuthoritiesLetsencryptZeroSSLGoogle Public CAAnyRFC-8555compatible CA.ExamplesAccount CreationCreate an account and store state to the file.client_key=AcmeClient.get_key()asyncwithAcmeClient(DIRECTORY,key=client_key)asclient:awaitclient.new_account(email)state=client.get_state()withopen(client_state_path,"wb")asfp:fp.write(state)Private Key GenerationTo generate a private key in PEM format.private_key=AcmeClient.get_domain_private_key()Generate CSRTo generate a certificate signing request.csr=AcmeClient.get_domain_csr(domain,private_key)Sign CertificateSign the certificate usinghttp-01challenge:CHALLENGE_DIR="/www/acme/"classSignAcmeClient(AcmeClient):asyncdeffulfill_http_01(self,domain:str,challenge:AcmeChallenge)->bool:v=self.get_key_authorization(challenge)withopen(os.path.join(CHALLENGE_DIR,challenge.token),"wb")asfp:fp.write(v)returnTrueasyncdefclear_http_01(self:AcmeClient,domain:str,challenge:AcmeChallenge)->None:os.unlink(os.path.join(CHALLENGE_DIR,challenge.token))...asyncwithSignAcmeClient.from_state(state)asclient:cert=awaitclient.sign(domain,csr)VirtuesPure-Python implementation.Asynchronous.Fully typed.Clean API.Robust well-tested code.Batteries included.99%+ test coverage.On Gufo StackThis product is a part ofGufo Stack- the collaborative effort
led byGufo Labs. Our goal is to create a robust and flexible
set of tools to create network management software and automate
routine administration tasks.To do this, we extract the key technologies that have proven themselves
in theNOCand bring them as separate packages. Then we work on API,
performance tuning, documentation, and testing. TheNOCuses the final result
as the external dependencies.Gufo Stackmakes theNOCbetter, and this is our primary task. But other products
can benefit fromGufo Stacktoo. So we believe that our effort will make
the other network management products better.
Package: gufo-err
Gufo ErrGufo Err is the flexible and robust python error handling framework..Documentation:https://docs.gufolabs.com/gufo_err/Source Code:https://github.com/gufolabs/gufo_err/Python Error HandlingErrors are in human nature - so any modern software may face errors.
Software may contain errors itself, may be affected
by third-party libraries' mistakes, or may weirdly use
third-party libraries. Computers, operation systems, and networks also may fail.
So proper error handling is the key component to building reliable and robust software.Proper error handling consists of the stages:Collecting- we must catch the error for further processing.Reporting- we must log the error.Mitigation- we must restart software if an error is unrecoverable  (fail-fast behavior) or try to fix it on-fly.Reporting- we must report the error to the developers to allow them to fix it.Fixing- developers should fix the error.Gufo Err is the final solution for Python exception handling and introduces the middleware-based approach. Middleware uses clean API for stack frame analysis and source code extraction.VirtuesClean API to extract execution frames.Global Python exception hook.Endless recursion detection  (to be done).Local error reporting.Configurable fail-fast behavior.Configurable error-reporting formats.Error fingerprinting.Traceback serialization.CLI tool for tracebacks analysis.SeamlessSentryintegration.On Gufo StackThis product is a part ofGufo Stack- the collaborative effort
led byGufo Labs. Our goal is to create a robust and flexible
set of tools to create network management software and automate
routine administration tasks.To do this, we extract the key technologies that have proven themselves
in theNOCand bring them as separate packages. Then we work on API,
performance tuning, documentation, and testing. TheNOCuses the final result
as the external dependencies.Gufo Stackmakes theNOCbetter, and this is our primary task. But other products
can benefit fromGufo Stacktoo. So we believe that our effort will make
the other network management products better.
Package: gufo-liftbridge
Gufo LiftbridgeAn asynchronousPythonLiftbridgeclientDocumentation:https://docs.gufolabs.com/gufo_liftbridge/Source Code:https://github.com/gufolabs/gufo_liftbridge/Gufo Liftbridgeis the Python asyncio Liftbridge client library. It hides complex cluster
topology management handling tasks and the internals of the gRPC as well. Client offers
following features:Publishing.Subscribing.Bulk publishing.Cursors manipulation.Cluster metadata fetching.Stream creating and destroying.Transparent data compression (own extension, may be not compatible with other clients).Installingpip install gufo_liftbridgePublishingfromgufo.liftbridge.clientimportLiftbridgeClientasyncdefpublish():asyncwithLiftbridgeClient(["127.0.0.1:9292"])asclient:awaitclient.publish(b"mybinarydata",stream="test",partition=0)Subscribingfromgufo.liftbridge.clientimportLiftbridgeClientasyncdefsubscribe():asyncwithLiftbridgeClient(["127.0.0.1:9292"])asclient:asyncformsginclient.subscribe("test",partition=0):print(f"{msg.offset}:{msg.value}")VirtuesClean async API.High-performance.Full Python typing support.Editor completion.Well-tested, battle-proven code.
Package: gufo-loader
Gufo LoaderGeneric Python class loader for robust plugin infrastructure.Documentation:https://docs.gufolabs.com/gufo_loader/Source Code:https://github.com/gufolabs/gufo_loader/Loader delivers plugins from one or many plugin packages.LoaderLoader is thedict-like singleton providing the following services:plugin initialization and fetching.plugins enumeration.Plugins are not dependent on the loader and do not need any registration
process. The loaders are lazy by nature, meaning the plugin will be imported
and initialized just in time when the user code requests the plugin.PluginsPlugins are named entities dedicated to the given task. Each plugin
is defined in its python module. Depending on the loader settings
plugins can be:Instances: Singleton instances having the class as the ancestor.Subclasses: Classes having the common ancestor.Protocols: Classes following the set of methods.Plugin PackagesPlugin packages are plain Python packages: the directory containing
python files with plugins and the empty__init__.pyfile.Plugin name must match the module name. For example, modulemy_plugin.pywill define the pluginmy_plugin.Examples:Plugins as the subclasses:

    loader = Loader[Type[BasePlugin]](base="myproject.plugins")

Plugins as the singletones:

    loader = Loader[BasePlugin](base="myproject.plugins")

Plugins as the protocols:

    loader = Loader[MyProtocol](base="myproject.plugins")VirtuesClean dict-like API.Full abstraction from the plugin internals.Custom plugins.Full Python typing support.Editor completion.Well-tested, battle-proven code.On Gufo StackThis product is a part ofGufo Stack- the collaborative effort
led byGufo Labs. Our goal is to create a robust and flexible
set of tools to create network management software and automate
routine administration tasks.To do this, we extract the key technologies that have proven themselves
in theNOCand bring them as separate packages. Then we work on API,
performance tuning, documentation, and testing. TheNOCuses the final result
as the external dependencies.Gufo Stackmakes theNOCbetter, and this is our primary task. But other products
can benefit fromGufo Stacktoo. So we believe that our effort will make
the other network management products better.
Package: gufo-ping
Gufo PingGufo Ping is the accelerated Python asyncio IPv4/IPv6 ping implementation.Documentation:https://docs.gufolabs.com/gufo_ping/Source Code:https://github.com/gufolabs/gufo_ping/Gufo Ping is the Python asyncio library for IPv4/IPv6 ping probing. It consists of a clean Python API for high-efficient raw sockets manipulation, implemented in theRustlanguage withPyO3wrapper.Pinging host is the simple task:ping=Ping()rtt=awaitping.ping("127.0.0.1")Sending the series of probes is simple too:ping=Ping()asyncforrttinping.iter_rtt("127.0.0.1",count=5):print(rtt)Gufo Ping is really fast, allowing to probe 100 000+ hosts at once.VirtuesClean async API.IPv4/IPv6 support.High-performance.Full Python typing support.Editor completion.Well-tested, battle-proven code.On Gufo StackThis product is a part ofGufo Stack- the collaborative effort
led byGufo Labs. Our goal is to create a robust and flexible
set of tools to create network management software and automate
routine administration tasks.To do this, we extract the key technologies that have proven themselves
in theNOCand bring them as separate packages. Then we work on API,
performance tuning, documentation, and testing. TheNOCuses the final result
as the external dependencies.Gufo Stackmakes theNOCbetter, and this is our primary task. But other products
can benefit fromGufo Stacktoo. So we believe that our effort will make
the other network management products better.