Saravanan666/pypi-org huggingface dataset:
Package: dagwood
DagwoodDagwood is a Swiss Army knife for Python, a collection of small utilities that I find myself using over and over again. It's named afterDagwood Bumstead, the sandwich-loving husband ofBlondiein the eponymous comic strip.Why "Dagwood"? Because a.) I like sandwiches, and b.) the name was available on PyPI.To install Dagwood, run:pip install dagwoodAvailable UtilitiesLoggingTo quickly set up a logger:importdagwoodlogger=dagwood.assemble()This will create a logger with default settings: log level set toINFOand log messages formatted as'%(asctime)s - %(levelname)s - %(message)s'. Logs will be written to a folder namedlogs.You can customize the log folder, log file name, log level, and log format by passing optional parameters toassemble.folder_name: The name of the folder to store log files (default:'logs')file_name: The name of the log file (default:None, which generates a log file with a timestamp)level: The log level (default:logging.INFO)format: The log format (default:'%(asctime)s - %(levelname)s - %(message)s')logger=dagwood.assemble(folder_name='my_logs',file_name='app.log',level=logging.DEBUG,format='%(levelname)s-%(message)s')HTTP CodesAn easy way to check the meaning of an HTTP status code:fromdagwoodimporthttp_codes# Example of interpreting an HTTP codeCODE=500response=http_codes.interpret(CODE)print(response.message)# 'Internal Server Error'print(response.explanation)# 'The server has encountered a situation it does not know how to handle.'# Checking the type of the responsetypes=http_codes.get_enums()ifresponse.type==types.SERVER_ERROR:# Handle server errorpassYou can also retrieve the different types of HTTP responses:types=http_codes.get_enums()print(types)# ['Informational', 'Success', 'Redirection', 'Client Error', 'Server Error']ContributingFeel free to open an issue or submit a pull request.To publish a new version to PyPI:pipinstalltwine# if you don't have it alreadypythonsetup.pysdistbdist_wheel# build the packagetwineuploaddist/*# upload to PyPIDevelopmentRunning TestsThe test suite can be run using Python's built-inunittestframework.Navigate to thetestsdirectory and run:python -m unittest test_dagwood.pyOr, if you're in the root directory:python -m unittest tests/test_dagwood.py
Package: dahlia
DahliaDahlia is a simple text formatting package, inspired by text formatting in the game Minecraft.Text is formatted in a similar way to in the game. With Dahlia, it is formatted by typing a special character&followed by a format code and finally the text to be formatted.InstallationDahlia is available on PyPI and can be installed with pip, or any other Python package manager:$ pip install dahlia(Some systems may require you to usepip3,python -m pip, orpy -m pipinstead)DocumentationDahlia documentation is available athttps://dahlia.readthedocs.io.LicenseDahlia is licensed under the MIT License.Examples
Package: dahu
Software chunks initially developped forID02 upgrade programin 2012-2014.Dahu is a lightweight plugin based framework…… technically a JSON-RPC server over Tango:plugins can be class or can be generated from any state-less function written in Pythona plugin is executed within a job, each job lives in its own thread.plugins have empty constructors plus 4 methods (or more)setupallows to set the input parameters. Sanitization is performed here.processdoes the work.teardownsets the output, the logging and cleans up (if needed).abortcan be used to stop the processing if a plugin is a daemon.the job is responsible for serializing on disk of the plugin’s input and outputjobs can be launched using the tango interface (or other …)plugins have a single input and output, they are simple JSON-serializable dictionaries.
Package: dahu12
DAHU.py (En cours de développement)Package scientifique pythonAuteurs :LOUVAT SEGURA AnthonyCHEMINOT VirgileRemerciementsNous souhaitons dans un premier temps remercier tous particulièrement notre professeur de mathématiques : Bernard Parisse, sans qui le projet ne serait pas là où il en est actuellement (faites un tour sur sa page personnel de l'université joseph fourrier).
Il a nous permis d'utiliser sa création : le CAS Giac, sur laquelle est basé toute la gestion d'expression algébrique du package.DAHU est une librairie python destiné aux étudiants et scientifiques, qui contient beaucoup de fonction leurs étant utile.Installation provisoire :https://pypi.org/project/DAHU12/
Package: daidaideya
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!Installationcdyour_project# Download the setup.py file:#  download with wgetwgethttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py-Osetup.py#  download with curlcurl-Ohttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.pyTo DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: daiego43-rasptank
My RasptankHello there! I created this version of the rasptank code to be more modular
and start developing a ROS code. With this implementation you can instantiate
the objectRasptank, (only one can be created).To install:pipinstalldaiego43_rasptankRasptan ControlTo control the rasptank you can use the following methods:fromdaiego43_rasptank.rasptankimportRasptankrasptank=Rasptank()A rasptank object is composed of the following sensors and actuators:classRasptank:def__init__(self):# Brazo del robotself.link_4=Servo(15,"end_effector",min_angle=0,max_angle=90,home_angle=90)self.link_3=Servo(14,"wrist",min_angle=0,max_angle=180,home_angle=80)self.link_2=Servo(13,"elbow",min_angle=0,max_angle=135,home_angle=110)self.link_1=Servo(12,"base",min_angle=0,max_angle=180,home_angle=120)self.link_0=Servo(11,"camera",min_angle=70,max_angle=120,home_angle=110)# Camara del robotself.video=Camera()# Ruedas del robotself.left_wheel=LeftWheel()self.right_wheel=RightWheel()# Sensor distancesensorself.ultrasonic_sensor=DistanceSensor()# Sensor de lineaself.line_follower=MyLineSensor()5 servos, 2 wheels, 1 camera, 1 ultrasonic sensor and 1 line sensor. The LEDs are not implemented.
Also all these classes are my own implementation and might have some errors.
But we can essentially get and set every sensor in the robot with some .
Package: daigle-dist
Distribution AnalyzerThis package allows a user to perform some simple analysis of basic elements of Gaussian and Binomial Distributions.This package is primarily meant as a test case/POC for loading packages to PyPi, but may also be useful for some other people.To use this package:pip install daigle-distrun Pythonenterfrom distributions import Gaussian, Binomial3a.Gaussian(mean, stdev)3b.Binomial(mean,stdev)Attributes include:read_data_file(): assigns the distribution object some data from a .txt filemean: returns the distribution object's meanstdev: returns the distribution object's standard deviationcalculate_mean(): assigns and returns a distribution object's meancalculate_stdev(): assigns and returns a distribution object's standard deviationreplace_stats_with_data(): update attributes of p and n of binomial distribution objectplot_bar: bar chart plot of the outcomes and frequencies of a distribution objectpdf(): calculates the probability density function for a distribution objectplot_bar_pdf: bar chart plot of the probability density function of a distribution objectMagic Methods include:__add__: allows two distribution objects to be added to each other as well as calculate the mean and standard deviation of each other__repr__: outputs the characteristics of a distribution object
Package: daikinapi
Daikin Airconditioner/Air source heat pump data/control through Wi-Fi APICompatibilityTested with Daikin BRP069B41 Wi-Fi Interface and Daikin Emura FTXG-LS indoor unitShould be compatible with (https://www.daikin.eu/en_us/product-group/control-systems/daikin-online-controller/connectable-units.html):BRP069A41/BRP069B41FTXM-MCTXM-MATXM-MFTXTM-MBRP069A45FTXG-LSFTXG-LWFTXJ-MW (built-in)FTXJ-MS (built-in)BRP069A42/BRP069B42FTXZ-NFTXS35-42-50KFTXS60-71GFTX50-60-71GVFTXLS-K3FTXLS-K3FVXS-FFLXS-BFLXS-B9ATXS35-50KFVXM-FBRP069A43/BRP069B43CTXS15-35KFTXS20-25KFTX20-25-35J3FTXL-JVATXS20-25KATX-J3ATXL-JVBased on exisiting reverse-engineering work:https://github.com/ael-code/daikin-controlhttps://github.com/ael-code/daikin-aricon-pylib/https://github.com/ael-code/daikin-control/wiki/API-SystemNot compatible withFVXM-AUsagesee example.py for runnable examplefromdaikinapiimportDaikinAPI=Daikin("192.168.1.3")print(API)print(API.target_temperature)produces:Daikin(host=192.168.1.3,name=mydevice,mac=D0C5D304A0B1)
21.0
Package: daikin-cloud
python-daikin_cloudPython Module to interact with Daikin Cloud NA (AirZone)Currently working withDaikin Cloud NA (https://dknna.com/)AZAI6WSPDKC WiFi ControllerFDMQ24RVJU Air hHndler4MXL36TVJU Multizone Heat Pump CondenserWant to add support forFTXS12LVJU Wall Mount Air Handler (Mini Split)
Package: daikin-cloud-crossan007
python-daikin_cloudPython Module to interact with Daikin Cloud NA (AirZone)Currently working withDaikin Cloud NA (https://dknna.com/)AZAI6WSPDKC WiFi ControllerFDMQ24RVJU Air hHndler4MXL36TVJU Multizone Heat Pump CondenserWant to add support forFTXS12LVJU Wall Mount Air Handler (Mini Split)
Package: daikinitm
daikinitmDaikin ITM is a python library for controlling the Daikin Air-Conditioner.Usage# You must know the ITM address for each Air-Con unit.importdaikinitm
importtimeHost="192.168.217.60"Port=5000Authorization="aXRtoMl0bTEyMzQNjc40TAxMg=="# Authorization is the Basic Authentication Header Generator.# Authorization=b64encode(f"{User}:{Password}".encode('utf-8')).decode("ascii")# or# Authorization : https://datafetcher.com/basic-authentication-header-generator# {User} and {Password} were set in ITM Controller#initialFactory1=daikinitm.itm(Host,Port,Authorization)# SET FAN# Fun  "P" (Power) :  0:Off 1:OnAddress=183Fun="P"Val=0print("Before:",Factory1.Status(Address))print(Factory1.Set(Address,Fun,Val))time.sleep(5)print("After:",Factory1.Status(Address))# SET AIR# Fun  "P" (Power)              :  0:Off  1:On# Fun  "T" (Temperature)        :  18,19,20,....,32# Fun  "M" (Mode)               :  0:Fan 4:Cool 16:Dependent Dry:64# Fun  "F" (Fan)                :  0:Low 4:Medium 2:High  100:Auto# Fun  "S" (Air Flow Direction) :  0,1,2,3,4,  7(Swing)Address=101Fun="T"Val=25print("Before:",Factory1.Status(Address))print(Factory1.Set(Address,Fun,Val))time.sleep(5)print("After:",Factory1.Status(Address))# Status# Fan = IP,Port,Address,Products,Power# Air = IP,Port,Address,Products,Power,Mode,Temp,Room Temp,Fan,Air Flow Direction
Package: dailei-testPypi
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!To DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.✨🍰✨
Package: daily
Welcome to Daily 👋Simple CLI tool to write on the #daily slack channel and its corresponding timesheet.FeaturesWrite on Slack channel and Google Sheets simultaneously.Multiples projects support.Auto generated suggestions based on commits.Installpip3install--userdailyUsageInitializingdailyinitThis is the first step. It will ask for Google Drive and Google Sheets permissions and
your name on StriveLabs timesheet (if it's suitable).Creating a projectWe can add a new project just by executing the following:dailycreate-project<projectname>It will ask for a Slack API token. To get it, you need to create and Slack app and
add it to your workspace. For more information checkthis.WritingTo upload your working hours and the description just run the following:dailywrite<projectname>It will opens your default editor with a template and some suggestions for your #daily-scrum channel.
After saving and closing the editor, a message will be send to Slack and the working hours will be written
on the corresponding timesheet. If you belongs to StriveLabs, that timesheet will be updated too.Author👤Antonio Molner DomenechGithub:@antoniomdk🤝 ContributingContributions, issues and feature requests are welcome!Feel free to checkissues page.Show your supportGive a ⭐️ if this project helped you!📝 LicenseCopyright © 2019Antonio Molner Domenech.This project isMITlicensed.
Package: dailycheckin
DailyCheckIn基于「Docker」/「青龙面板」/「群晖」/「本地」的每日签到脚本✨ 特性📦 支持 Pypi 包安装💻 支持多个平台部署⚙️ 支持多个平台签到📢 支持多个平台通知♾️ 支持多个账号签到🕙 支持定时任务设置🆙 支持项目自动更新🦄 教程https://sitoi.github.io/dailycheckin/🧾 列表🟢: 正常运行 🔴: 脚本暂不可用 🔵: 可以执行(需更新) 🟡: 待测试 🟤: 看脸状态任务名称名称网站检查日期备注🟢️KGQQ全民 K 歌24.02.20每日签到获取鲜花 每日大约 120 鲜花左右🟢️YOUDAO有道云笔记24.02.20每日签到获取存储空间🟢️TIEBA百度贴吧24.02.20贴吧每日签到🟢️BILIBILIBiliBili24.02.20直播签到，漫画签到，每日经验任务，自动投币，银瓜子换硬币等功能🟢️V2EXV2EX24.02.20铜币奖励🟢️ACFUNAcFun24.02.20每日签到香蕉🟢️IQIYI爱奇艺24.02.20① 满签得 7 天会员；② 日常任务 4 成长值；③ 爱奇艺刷时长任务，10 成长值；④ 每日签到随机成长值；⑤ 抽白金会员 5 次；⑥ 摇一摇抽奖 3 次；⑦ 抽奖 3 次🟢️SMZDM什么值得买24.02.20签到和抽奖🟢️ALIYUN阿里云盘24.02.20签到获取免费会员和空间🟢️ENSHAN恩山无线论坛24.02.20签到获取硬币和积分🟢️AOLAXING奥拉星24.02.20签到获取积分🟢️IMAOTAIi 茅台24.02.20申购生肖茅台🟤MIMOTION小米运动24.02.20每日小米运动刷步数🟢️BAIDU百度站点24.02.20提交网站页面供百度收录💬 通知列表dingtalk（钉钉）企业微信群机器人（企业微信）企业微信应用消息（企业微信）telegram（TG）Bark（iOS）server 酱（微信）server 酱 TURBO（微信）pushplus（微信）Cool Push（QQ,微信,邮箱）qmsg 酱（QQ）飞书（飞书）🤝 参与贡献我们非常欢迎各种形式的贡献。如果你对贡献代码感兴趣，可以查看我们的 GitHubIssues，大展身手，向我们展示你的奇思妙想。💗 感谢我们的贡献者✨ Star 数📝 LicenseThis project isMITlicensed.
Package: daily-cli
Hello and welcome to daily, a program for command-line journaling. Each
journal entry is stored in a file named after the date in YYYY-mm-dd format
in either MD or RST format.Building and installationAvailable via PyPi.pip3 installdaily-cli--userAlternatively, clone this repo and run these commands.make
pip3 install --user .The man pages will be installed at$HOME/.local/usr/share/manand the bash completion script will be installed at$HOME/.local/etc/bash_completion.d/daily_completion.sh. Update your bashrc.UsageUsage is detailed in the man pages under./doc/man. Start withdaily.1,
but a general quick start cookbook…daily  # Perform first-time setup
daily add  # Edit today's entry.
daily show  # Show previous 2 weeks of entries
daily add -d yesterday  # Add or edit an entry on a specific date.
daily add --before today  # Batch edit any entries before today
daily show workout todo  # Show only specific headings for entries
daily add workout  # Edit specific headings for an entry.

daily todo  # Print next 2 weeks of todosEntries have a title named after the date, a desription, headings, and
metadata all built in to the text. Here is a simple example in markdown.# 2022-10-10, Mon
I went to my daughter's play.

## Workout
And did like a gazillion pushups.


<!--- attributes --->
    ---
    id: some-internal-id
    tags: []And an example in RST.=================
 2022-10-10, Mon
=================
This semester in college is really starting to grind.

Todo
====
- 8am Calculus class.
- 9am Workout


.. code-block:: yaml

    ---
    id: some-internal-id
    tags: []Usage with VimwikiModify daily.ini (installed in~/.config/dailyafter a first run) to change
the journal’s directory to your vimwiki diary, and be sure the format is “md”.Also install thegenerate-vimwiki-diary-templatefile to your ~/.vim/bin
directory. This will make it so vim auto-generates daily’s entry text for new
markdown files in the vimwiki diary directory. This must be done manually.Maintenance and versioningUpdate the CHANGELOG when cutting a new release, then update the version
in setup.py. Then commit and tag it named after the release. Then…Runmaketo build the package.make releaseto upload to PyPi.
Package: dailycovid
dailycovid - Easily get covid updatesPypi installationpip3 install dailycovidUsageSimplestdailycovid --plot -s statecodeSpecific Counties in a State or Whole StatesYou can now use an arbitrary number of arguments with-sor-sc.dailycovid -sc ny-albany ca-orange "California-Los Angeles"dailycovid -s DELAWARE MAHere are three ways to do the same thing.dailycovid -sc "California-Los Angeles"dailycovid -s CA -c "Los Angeles"dailycovid --state CA --county "Los Angeles"Making PlotsUse--plotor-pto make the plots.Updating DataOn the first run it will download a csv file containing the most recent data.Usedailycovid -gto update the cache.Examples of plots''
Package: dailydotdev-bookmark-cli
Daily Dot Dev Bookmark's CLIView your daily.dev bookmarks from the CLI with PythonA simplePython PackageInstallationIn a Python EnvironmentTo install the python package, install with pip or any other python package management tool of your choice.pip install dailydotdev-bookmark-cliAfter installing the python package simply enter the commandbookmarks,bookmarksThis will prompt you to enter your daily.dev's bookmark RSS Feed URL, simply copy and paste as it is and finally the list of all your bookmarks will be displayed.NOTE: You do not have to enter the bookmark URL link again and again, it will be stored in a file. If you want to change it, you can modify or delete the file containing the id as explained later.https://user-images.githubusercontent.com/40317114/158827491-974249eb-1e04-469b-b907-87a8b3a75b0f.mp4With DockerUsing theDockerfile, you can simply execute the following commands:FROMpython:3RUNpipinstalldailydotdev-bookmark-cliCopy the Dockerfile in the your current working directory, build the image and run the image with interactive mode in bash.docker build . -t bookmarkclidocker run -it bookmarkcli bashhttps://user-images.githubusercontent.com/40317114/158831643-01a10a27-6e78-4a0a-a791-62f2ccee50e1.mp4Edit a Existing RSS Feed URL link(id)To change/edit an existing RSS Feed URL, you can enter the following command, and it will ask for the new URL, simply input that and you should be good to go.bookmakrs --chDelete the RSS Feed URL link(id)To delete an existing RSS Feed URL, you can enter the following command, this will delete the file that holds your ID(URL for Bookmarks)bookmakrs --rmTerminal User Interface (using Textual and Rich)If you want a TUI for your bookmarks, you have a option to display it using the--tuioption in the package.NOTE: It will only support the terminal systems with support the functionality of displaying rich content.bookmarks --tuiDependenciesFeedparserRichTextual
Package: daily-event-logger
daily-event-loggerThis is a little utility I use for logging my daily activities and events. It is written in Python.Installpython3-mpipinstalldaily-event-loggerUsageTo change the directory where elogs are stored, set a shell environment variable ELOG_DIR. To make this change permament, set the following in your shell configuration:exportELOG_DIR="/path/to/elog/dir"Otherwise, the default elog directory will be~/elogs.To get started, add your first elog entry! This will create a JSON file under your elog directory for the day and ensure the elog directory exists. E.g.:elogadd-m"Started new elog. Yay!"usage:elog[-h][-v]{add,edit,rm,ls,lsfiles,search}...

positionalarguments:{add,edit,rm,ls,lsfiles,search}options:-h,--helpshowthishelpmessageandexit-v,--versionPrintversioninformationExample list output
Package: daily-hn
DescriptionA command line tool for displaying and opening links to the current best stories fromnews.ycombinator.com(Hacker News).You can find the best stories page this program parseshere!DependenciesPythonv3.9+Beautiful Soup 4RequestsIf you are on Windows:windows-curses(Python)InstallationPypiInstall or update to latest versionpython3-mpipinstalldaily-hn--upgradeIf you are on Windows, also installwindows-cursespipinstallwindows-cursesdaily-hn--upgradeManual InstallationMake sure you havepython3andgitinstalledInstall Python requirementspython3-mpipinstallrequestsbeautifulsoup4Installgitclonehttps://github.com/Rolv-Apneseth/daily_hn.gitcddaily_hn
sudomakeinstallUninstallsudomakeuninstallUsageAfter installation, the program can be launched from your terminal by runningdaily_hn(on Windows, usepython -m daily_hnunless you added thesite-packagesfolder to yourPath).With thecursesUI (default), you can open up stories (uses the default browser) by pressing the shortcut key to the left of that story. Navigate up and down using eitherjandkfor fine movements or{and}for bigger jumps. To quit, pressq.To simply print out a list of stories (links being clickable depends on your terminal emulator), provide the-pflag i.e.daily_hn -p.LicenseMIT
Package: daily-leet
daily-leetUsage:$daily-leet[OPTIONS]COMMAND[ARGS]...Options:--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.Commands:daily: Fetch today's daily challenge and create...new: Fetch data from a problem's description...daily-leet dailyFetch today's daily challenge and create files for it, then open the problem page in browser and open the main file in editorUsage:$daily-leetdaily[OPTIONS]LANGUAGE:{python|python3|py|cpp|c++|go|golang|rust}Arguments:LANGUAGE:{python|python3|py|cpp|c++|go|golang|rust}: The language you want to use  [required]Options:--help: Show this message and exit.daily-leet newFetch data from a problem's description page and create files for it, then open the problem page in browser and open the main file in editorUsage:$daily-leetnew[OPTIONS]LANGUAGE:{python|python3|py|cpp|c++|go|golang|rust}Arguments:LANGUAGE:{python|python3|py|cpp|c++|go|golang|rust}: The language you want to use  [required]Options:-u, --url TEXT: The url to fetch data from, usually a problem's description page. e.g.https://leetcode.com/problems/two-sum/. You need to provide either url or problem title.-t, --title TEXT: The title of the problem, separated by '-' or ' '. e.g. two-sum. You need to provide either url or problem title.--help: Show this message and exit.