Saravanan666/pypi-org huggingface dataset:
Package: habitmove
habitmoveTakes habit in one habit-tracking application and transforms them ready to use for another.Currently can take an export of nomie habits in json format and convert it to be importable in Loop Habit Tracker.
Plans for reverse migration are on the roadmap, and ultimately this tool ideally understands more and more habit formats to prevent app lock-in.Confirmed working for nomie version 5.6.4 and Loop Habit Tracker version 2.0.2 and 2.0.3.
Presumably works for other nomie 5.x versions and other Loop 2.x versions as well,
but that is untested.InstallationInstallation can be accomplished throughpip:pipinstallhabitmoveRequirements:habitmoverequires at least Python 3.7.
It has only been tested on GNU/Linux (amd64) though it should work on other platforms.UsageRun as a cli utilityhabitmovecurrently takes a single argument: the nomie database.jsonfile to import habits from.Invoked like:habitmove nomie-export.json.The output as a Loop Habit Tracker database will be written tooutput.dbin the present working directory.Can also take an existing Loop Habit database (exported from the application),
and add the nomie exported habits and checkmarks to it.
Simply put the exported Loop database in the same directory and call itoutput.db,
it will not (should not™️) overwrite anything.
If there are any duplicated habits however,
it will add duplications of the existing repetitions into the database.DevelopmentTo enable easy development on the app,
installpoetryand let it do all dependency management for you by doing:poetryinstall
poetryrunhabitmove<nomie-json>To see a set up more closely resembling the final cli environment,
with its libraries loaded as environmental dependencies enter the poetry shell:poetryshellThe package can eventually also be used as a library to load nomie data to work with in Python,
or to move data into Loop Habit Tracker.
Take a look at theParserandTransformerinterfaces respectively.To run tests for the app, simply invokepytestthroughpoetry run pytestor from within thepoetry shell.
To run larger scale test automation, make sure you habe nox installed and runpoetry runor again through the shell.You can exclude integration tests that take longer and inspect the complete database output of the program through the parameters-m "not e2e"for bothpytestandnox(which also does it automatically).
Package: habito
HabitoSimple commandline habits tracker.Installationpip install habitoArchlinux users may installhabitofromAUR.UsageHere’s how a command line session looks like:$ # add a habit
$ habito add writing 750.0 --units words
You have commited to 750.0 words of writing every day!

$ # check in an update
$ habito checkin writ -q 128.0
Added 128.0 words to habit writing for Sun Feb 18 2018.

$ # list status of habits
$ habito listScreenshotHabito screenshotContributeWe invite you to try outhabitoand file any issues at github issues page. Patches are
most welcome!
Package: habits
A lightweight habit tracker with a simple REST API.FeaturesSupport for SQLite, MySQL, and Postgres databasesSimple web interfaceREST-ful APIInstallation and Usagepip install habits # install via pip
habits # start the web server, browse to localhost:5000APIBase URL: http://<your-habits-instance-hostname>/api/

Endpoints:
GET /habits - Get all habits
GET /habits/names - Get a mapping of habit slugs to names
GET /habits/<habit_slug> - Get the slug and name for a habit
POST /habits/<habit_slug> - Make a new habit
GET /entries/export - Get all entries
GET /entries/<YYYY-MM-DD date string> - Get entry for a day
POST /entries/<YYYY-MM-DD date string> - Set entry for a day
POST /entries/<YYYY-MM-DD>/<habit_slug> - Set the value for a habit on a dayInstall from Sourcegit clone https://github.com/csu/habits.git
cd habits
# make a Python virtual environment, if you want
pip install -r requirements.txt
bower install
python habits/server.py
Package: habit-tracking-app
habit-tracking-appDescriptionHabit tracking app is a Python lightweight, desktop application that compromises between minimalism and user-friendly features.FeaturesCreate, modify and delete habitsTwo periods to choose: daily and weeklyAnalytics moduleTwo different appearance modes: dark and lightTwo different color themes: blue and greenGetting startedProject File Structurehabit_tracking_app:.
│   LICENSE                 # License file
│   MANIFEST.in             # Distribution manifest file
│   README.md               # Read-me file
│   setup.py                # Distribution setup file
├───habit_tracking_app      # Includes app files
│   ├───database            # Includes sql scripts (also database and config file after first initialization)
│   ├───frames              # Includes app sub frames
│   │   └───functions       # Includes functions used by app
│   ├───icons               # Includes icons images
│   └───tests               # Includes tests
└───readme_images           # Includes images used in readmePrerequisitesPython : >=3.10InstallationYou can install this project usingPyPI:$ pip install habit-tracking-appThen to run it, execute the following in the terminal:$ habit-tracking-appUsing the ApplicationUpon opening the application, you will be greeted by home page:Via navigation menu on the left, you can change pages of the application. Currently opened page is highlighted.On the habits page, you can see your currently tracked habits and access habits relevant options:To add habit, select option "Add" and then enter title of new habit, select period, starting date and press "Submit":To edit habit, select option "Edit" and then select habit which you want to edit. Enter new title, period, starting date and confirm by pressing "Submit":To delete habit, select option "Delete" and then select habit which you want to delete. Confirm by pressing "Remove":To mark habit as completed, select option "Mark as completed", and then select habit which you want to mark as completed. Confirm by pressing "Submit":On the Analytics page, you can select between multiple general and habit specific functions to analyze your habits:On the settings page, you can select between two appearance modes and two color themes:On the settings page, you can also reset all data. After pressing button, you will be required to confirm it:Pressing on "X" or selecting exit page will bring you to the screen asking to confirm if you want to exit:TestingTests are located in habit_tracking_app/tests/ and are run using unittest:$ habit-tracking-app-testsLicenseSee theLICENSEfile for license rights and limitations (The Unlicense).AuthorI'mKrzysztof Szczypkowski. Email:krzysztof.szczypkowski@o2.pl
Package: habitual
habitualis a simple application to send reminders for things which
are on a fixed, repeated schedule.You can tellhabitualwhich application to use using--exec. The
default isnotify-send. The application should take one argument –
the name of the reminder. If you need to pass more, create a wrapper
script and call that. The default isnotify-send, but you may want
to send to other services likePushbulletorPushover, for
example.ConfigurationReminders are is typically stored at~/.config/habitual/habitual,
and are automatically reloaded when the file is changed. The format is
like so:cron|nameFor example, here’s how someone’s reminders might look:0 0 10-20 ? * * *|Drink water
0 0 1 ? * * *|Start winding down
Package: habluetooth
habluetoothDocumentation:https://habluetooth.readthedocs.ioSource Code:https://github.com/bluetooth-devices/habluetoothHigh availability BluetoothInstallationInstall this via pip (or your favourite package manager):pip install habluetoothContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCopierand thebrowniebroke/pypackage-templateproject template.
Package: habot
habotA Python package to run highly available Telegram botsUsageInstall habot with pip:pip install -i https://test.pypi.org/simple/ habot(Habot will move to proper pypi at some later date)Then import and you have two interesting functions available for you code:import habot
habot.bot.run_primary_backup_model(updater, instances)
habot.bot.run_bot_only(updater)Of these the latter will onlystart_polling()andidle()for anUpdaterof a Telegram bot made usingpython-telegram-botpackage.run_primary_backup_modelwill in addition to the bot run a primary-backup system between theinstances. The instance is a list of IPs or host/domain names. The workings of the primary-backup model are described in the section below.How the primary-backup model worksIn the primary-backup model, bot code can be started for multiple instances. Primary is the instance that hasbecome primarywith the lowest timestamp.First every instance starts looking for a primary. In case ans instance can find no primary:The instance becomes primary with its current timestampThe instance starts broadcasting that timestamp for other instances by spawning a HTTP server threadAnother thread of the instance keeps looking for potential alternative primary with a lower timestampA watcher thread checks that the other two threads remain alive.Bot code is started in the main thread.In case the instance does find a primary, it just keeps periodically looking for a primary in the main thread.If the primary instance A finds another instance B that has become primary with lower timestamp:A stops all its threads.And restarts the cycle by looking for a primary instance.SecurityThe instances communicate between themselves over HTTP
Package: habra-favorites
Статистика избранных статей с сайтаХабрв виде HTML-страницы или данных в различных форматах.Установка$pipinstallhabra-favoritesПриложение основано на фреймворкеScrapy.
При возникновении ошибок при установке обратитесь кинструкции по установке Scrapy.Использование$habra_favorites[-h][--version][-fFORMAT][-oNAME]usernameОдин обязательный параметр –username. Логин пользователя, чьи избранные статьи будут собраны.
Это может быть как Ваш логин, так и логин любого другого пользователя.Опции:FORMAT – формат результата:html(по умолчанию),json,csv,xml;NAME – имя файла для сохранения: по умолчаниюfavorites.html.РезультатПри нажатии на заголовки колонок созданной HTML-страницы посты отсортируются в соответствующем порядке.
Повторное нажатие на активный заголовок пересортирует посты в обратном порядке.
Package: habrahabr-api
Имплементация API сайта Habrahabr.ru используя Python.Быстрый старт>>> import habrahabr
>>> auth = habrahabr.Auth(client="000000.00000000", token="0000000000")
>>> api = habrahabr.Api(auth)
>>> print(api.user.me())Поддержкаpython >= 2.7python >= 3.2УстановкаИз Pypi$ pip install habrahabr-apiИз исходников$ git clone https://github.com/dotzero/habrahabr-api-python
$ cd habrahabr-api-python
$ python setup.py installИспользованиеПолучение экземпляра класса habrahabr.Api для доступа ко всем ресурсам:>>> import habrahabr
>>> auth = habrahabr.Auth(client="000000.00000000", token="0000000000")
>>> api = habrahabr.Api(auth)Описание API ресурсов:api.comments- Ресурс работы с комментариямиapi.company- Ресурс работы с компаниямиapi.feed- Ресурс работы с “основной” лентой постовapi.flow- Ресурс работы с потокамиapi.hub- Ресурс работы с хабамиapi.poll- Ресурс работы с постамиapi.post- Ресурс работы с опросамиapi.search- Ресурс работы с поискомapi.settings- Ресурс работы с настройками профиляapi.tracker- Ресурс работы с трекеромapi.user- Ресурс работы с пользователямиЛицензияБиблиотека доступна на условиях лицензии MIT:http://www.opensource.org/licenses/mit-license.php
Package: habu-python-api
habu-apiThis is python package for Habu API. This follows the patterns defined at:https://packaging.python.org/tutorials/packaging-projects/Step 1python3 -m pip install --upgrade buildStep 2python3 -m buildStep 3python3 -m pip install --upgrade twineStep 4python3 -m twine upload --repository pypi dist/*For loading to testpypi, use this:
python3 -m twine upload --repository testpypi dist/*Step 5Relax and Enjoy!
Package: habu-snowflake-cli
redbeardSnowflake Clean Room Pattern Implementation%redbeard--help
Usage:redbeard[OPTIONS]COMMAND[ARGS]...

Options:--helpShowthismessageandexit.

Commands:initInit commands%redbeardinit--help
Usage:redbeardinit[OPTIONS]COMMAND[ARGS]...

Options:--helpShowthismessageandexit.

Commands:habu-frameworkInitializeHabuSnowflakeframework.habu-shares

%redbeardinithabu-framework--help
Usage:redbeardinithabu-framework[OPTIONS]InitializeHabuSnowflakeframework.ThiswillcreatealltheobjectsrequiredtoruntheHabuAgentinthespecifiedSnowflakeaccount.Thisincludes:*Databases:*HABU_CLEAN_ROOM_COMMON*HABU_DATA_CONNECTIONS

Options:-o,--organization_idTEXTHabuOrganizationID[required]-c,--config-fileTEXTSnowflakeaccountconfigurationfile--helpShowthismessageandexit.
Package: hac
hacisextensibleandconfigurablecommand-line tool for algorithm
competitions. It:prepares directory structures and source files,prepares runner files (scripts used to test solutions),downloads test-cases.InstallRecommended to install as non-root:$pipinstall--upgrade--userhacUsageExample 1A)For problems “A”, “B” and “C” fromCodeforces contest #527prepare:source file fromcpphighest priority template (has lowestXamongcpp.Xlanguage templates),runner fromsh.5template (interpolated forcpplanguage template),test-cases downloaded fromCodeforces.$hac-lcpp-rsh.5codeforces/527abcWith default configuration all of the next lines do same as the one above:$hac-lcpp.5-rsh.5prephttp://codeforces.com/527/ABC$hacprepcodeforces.com/527B1c$hac-d2CODEFORCES/527123$hacforc/527abcB)Write solution for problem “B” and test it on test-cases:$cd527/B$# ... modify B.cpp$./B.cpp.sh-e# test solution on test-cases$./B.cpp.sh-c# clean generated outputsC)Debug solution for problem “B” on 2nd test-case:$./B.cpp.sh-d2Example 2Display general information abouthac:$hac--help$hac--versionDisplay information abouthacand selected site/problems:$hac-vshowcodeforces/527# verbose$hac-Vshowcodeforces/527# terseSupportSites:Site \ Fetching problems fromContestArchiveCodeforces.comYESNORosalindYESSphere online judgePARTIALCodechefNONORunner/language combinations:CC++PythonJavaPascalPOSIX shellsh.5/c.5sh.5/cpp.5sh.5/py.5sh.5/java.5sh.5/pas.5ConfigurationUser specific configuration should be placed in~/.config/hacdirectory by
default (to change configuration directory you need to setHAC_CONFIG_DIRenvironment variable).In order to configurehacaccording to your preferences:copy default configuration files in a temporary directory,$HAC_CONFIG_DIR=~/temp_confighac--copy-configcustomize interesting files in~/temp_config,moveonly customizedfiles to~/.config/hac, e.g.$mkdir-p~/.config/hac$cp~/temp_config/hacrc~/.config/hacrcremove temporary directory.$rm-r~/temp_configThis approach is desirable because only configuration files that differ from
the default ones should be present in configuration directory, thereby
effectively overshadowing the default configuration.AdditionalFor more information abouthacplease seeUser manualFor information aboutcontributionsplease checkContributingchapter
fromUser manual.Change LogPlease seeCHANGELOG.LicencePlease seeLICENSE.
Package: hacapi
HAC APIIntroductionThis is a simple API to access the Home Access Center (HAC) of theFrisco Independent School District. This API is not affiliated with the school district in any way.Documentationreturn_current_assignments_df(  ) →list(pandas.DataFrame)return_current_assignments_html(  )  →list(str)return_current_grades(  )  →tuple(list(str))get_username(  )  →strreset(  )  →voidreturn_to_current(  )  →voidreturn_weighted_gpa(  )  →floatreturn_college_gpa(   )  →floatOut of Orderreturn_quarter_grade(quarter)  →return_quarter_assignments_df(quarter)  →return_quarter_assignments_html(quarter)  →
Package: haccrypto
haccryptohaccrypto is the Nintendo Switch XTSN crypto for Python, originally from ninfs and now standalone.UsageYou can importXTSNclass andparse_biskeydumpmethod fromhaccrypto.crypto.XTSNrequires the crypt key and tweak when declaring an instance of it, it will provide you with theencryptanddecryptmethods.parse_biskeydumpwill provide you with crypt keys and tweaks from a bis key dump.Example usage# import the crypto modulefromhaccrypto.cryptoimportparse_biskeydump,XTSN# getting your bis keys# returns a list of 4 lists, each list containing crypt and tweak, for bis keys 0 to 3withopen("switch-keys.txt","r")aso:bis_keys=parse_biskeydump(o.read())# lets use bis key 0's crypt and tweakbis0xtsn=XTSN(bis_keys[0][0],bis_keys[0][1])# lets see it in action# lets encrypt a 0 filled buffer of bytes# and let's say its from sector offset 0, for example sake# default sector size = 0x200zeros=b'\0'*32enc_zeros=bis0xtsn.encrypt(zeros,0)# now lets decrypt, got to tell the same sector offset# internal key and tweak are still the samedec_zeros=bis0xtsn.decrypt(enc_zeros,0)# this should be always true# otherwise there's something wrong# that can happen if the openssl dll provided is not proper, or something arbitrary happenedifzeros==dec_zeros:print("XTSN ran correctly!")else:print("XTSN has made a bad crypto operation.")Licenseshaccryptois under the MIT license.hac/aes.cppandhac/aes.hppare from @openluopworld'saes_128commitb5b7f55, and uses the MIT License.hac/_crypto.cppAES-XTS part by me(@luigoalma), based on @plutooo'scrypto module.hac/crypto.pywritten by @ihaveamac, falls under MIT license as well.
Package: hacheck
[![Build Status](https://travis-ci.org/uber/hacheck.png)](https://travis-ci.org/uber/hacheck)**hacheck** is a healthcheck-proxying service. It listens on port 3333, speaks HTTP, and has the following API:GET /<protocol>/<service_name>/<port>/<query>This will check the following locations for service state:* `/var/spool/hacheck/all`* `/var/spool/hacheck/<service_name>`* Depending on the value of `<protocol>`:* if `http`: `http://localhost:<port>/<query>`* if `tcp`: will attempt to connect to port `<port>` on localhost. `<query>` is currently ignored* if `spool`: will only check the spool state* if `mysql` and the `mysql_username` and `mysql_password` are set, will do a login and quit on the requested mysql port; `<query>` is ignored and no logical database is selected.When it does query the actual service check endpoint, **hacheck** MAY cache the value of that query for some amount of time**hacheck** also comes with the command-line utilities `haup`, `hadown`, and `hastatus`. These take a service name and manipulate the spool files, allowing you to pre-emptively mark a service as "up" or "down".### Dependencies**hacheck** is written in Python and makes extensive use of the [tornado](http://www.tornadoweb.org/en/stable/) asynchronous web framework (specifically, it uses the coroutine stuff in Tornado 3). Unit tests use nose and mock.It runs on Python 2.6 and above, as well as Python 3.2 and above.### Use casesImagine you want to take down the server `web01` for maintenance. Just SSH to it, then (as root) run `hadown all` and wait however long your HAproxy healthchecking interval is. Do your maintenance, then run `haup all` to put it back in service. So easy!### Configuration`hacheck` accepts a `-c` flag which should point to a YAML-formatted configuration file. Some notable properties of this file:* `cache_time`: The duration for which check results may be cached* `service_name_header`: If set, the name of a header which will be populated with the service name on HTTP checks* `log_path`: Either the string `"stdout"`, the string `"stderr"`, or a fully-qualified path to a file to write logs to. Uses a [WatchedFileHandler](http://docs.python.org/2/library/logging.handlers.html#watchedfilehandler) and ought to play nicely with logrotate* `mysql_username`: username to use when logging into mysql for checks* `mysql_password`: password to use when logging into mysql for checks* `rlimit_nofile`: set the NOFILE rlimit. If the string "max", will set the rlimit to the hard rlimit; otherwise, will be interpreted as an integer and set to that value.### Monitoring`hacheck` exports some useful monitoring stuff at the `/status` endpoint.If the [mutornadomon](https://github.com/uber/mutornadomon) package is available, `hacheck` will import and use it, exposing standard stats about tornado to localhost at `/mutornadomon`### LicenseThis work is licensed under the [MIT License](http://opensource.org/licenses/MIT), the contents of which can be found at [LICENSE.txt](LICENSE.txt).
Package: hachi
Hachi: XBee APIHachi is anApache2 LicensedPython library to interact with XBees.Documentation, hosted on readthedocs.orgHistory0.5.1release date:2014-04-10Add a close method to XBeeSerial0.5release date:2013-08-08Add supply_voltage property to ZBIoSampleResponseAdd a requirements fileAdd extras in setupImprove coverage0.4release date:2013-07-18Remove frame id attribute in ZBRxResponse0.3release date:2013-07-16Python 2.7.3 fixes0.2release date:2013-07-16Python 3 fixes0.1release date:2013-07-16First release
Package: hachibee-sphinx-theme
=========================================================Sphinx hachibee theme=========================================================Sample Page of HEAD revision=============================================http://hachibeedi.github.io/Sphinx-hachibee-theme/index.htmlCharacteristic=================================================================- Simple and clean color combinations.- Japanese friendly font declaration.- Responsive stylings.ScreenShot------------------------------------------------------------.. image :: https://raw.github.com/hachibeeDI/Sphinx-hachibee-theme/master/example/screenshot.pngInstallation=================================================================.. code-block:: bashpip install hachibee-sphinx-themeHow to use=============================================change `conf.py` in your sphinx source directory.. code-block:: python# conf.pyextensions = [# ... ...'hachibee_sphinx_theme',]html_theme = 'hachibee'# Add any paths that contain custom themes here, relative to this directory.import hachibee_sphinx_themehtml_theme_path = [hachibee_sphinx_theme.get_html_themes_path()]How to tweak the style=============================================If you don't like some styles(eg: font-size, font-family), You can add your own stylesheets.First, you should add function `setup` is in your local `conf.py`... code-block:: python# conf.pydef setup(app):app.add_stylesheet('custom.css')Second, create your stylesheet in `_static`.Directory named `_static` is created on the root directory in your sources.This is sample to remove button to back top is as below... code-block:: bashecho "#raise-top {display: none; }" > source/_static/custom.cssLastly, you apply the alteration to your project... code-block:: bashmake clean && make htmlLICENCE=================================================================MIT
Package: hachi-nio
Hachi NIO protocol lib for PythonHachi Protocol is a lightwight network I/O socket communication format to transfer data between applications based on my old projectirineu/eight-protocolinitialy designed for NodeJS only.forObjectiveWhen you test a simple socket communication, in the more of times everything works fine, but when your project grow up, after publish and test with remote and bad connections, you will get some problems with truncated messages or messages with extra data (part of the next message). It is normal. You'll need create a protocol to handle this situation, maybe implement a header or a terminator (bad ideia), maybe you are already frustated with that notice.The Hachi Protocol is an implementation plug-and-play of a transparent protocol for handle those situations for you, and the most important: it does not change your code too much. The protocol itself is encapsulated in this library and you can do your business stuff without take care about the bits (like the HTTP protocol).The message transfered is distributed in two sections:HeaderA Key/Value object to identify the message (parameter: transaction, id, token, type, etc...), you can set any object.BodyBinary Data, you can pass anything hereQuick Startpip install hachi-nioTODO