Saravanan666/pypi-org huggingface dataset:
Package: notepad
简介 Introduction:A open-source text editor written in Python.It supports editing text files,binary files with various encodingswhich can be automatically detected.When you edit a binary file, the contents of the file are displayed as escape sequences.You can find and replace words.You’re also able to choose themes you prefer.In addition, code highlighting is supported when editing Python code files,like IDLE.What’s more, dragging and dropping files into the editor window is now supported.一款使用tkinter编写的开源文本编辑器, 支持编辑文本文件、二进制文件、自由选择主题。支持ansi、gbk、utf-8等编码, 以及调用chardet库自动检测编码。编辑二进制文件时, 文件内容以转义序列形式显示。支持查找、替换; 且支持撤销、重做; 支持将文件拖放入窗口。可自由选择主题和字体, 改变字体大小。编辑python代码文件时, 支持代码高亮显示, 类似IDLE。作者: qfcy (七分诚意) 作者CSDN主页:https://blog.csdn.net/qfcy_/版本:1.3.4 (改进: 新增了显示/隐藏菜单栏功能, 在二进制模式下可提高速度。
修复了保存配置的bug。)源代码:https://github.com/qfcy/Python/blob/main/pynotepad.pyw程序原文链接:https://blog.csdn.net/qfcy_/article/details/118399185效果图:
Package: notepads
notepads - PyPinotepads: V5.8.0Installing# Linux/macOSpython3pipinstall-Unotepads# Windowspy-3-mpipinstall-UnotepadsSupports TypeHintsCreate runtime only directory
[1] -> Make folders
[2] -> Make files
[3] -> Make notes for code========================================# View Directory:notepads.directorynotepads.dirnotepads.sourcenotepads.srcDirectory Example Layout:Directory["/notepads/"]🗀examples↳🗎example.py🗎main.py========================================Usage100ms | (Average)importnotepadsnotepads.note\(name="introduction",content="""Create runtime only directory[1] -> Make folders[2] -> Make files[3] -> Make notes for code""",author="'notepads.py' Team")print(notepads.get_note('introduction').content)"""Lets create a file `nps.txt` and a folder `examples` in the directory."""notepads.folder\(name="examples",description="Examples of using notepads.",version="0.1.0",author="'notepads.py' Team",some_random_kwarg='hi there!')#   folder.some_random_kwarg#   >>> hi there!"""Any other kwarg you pass in will be saved as a variable for you to access later."""notepads.file\(name="nps.txt",description="This is a file.",version="0.1.0",author="'notepads.py' Team")print(notepads.directory)# notepads.dir | notepads.source | notepads.src"""Output:Directory["/notepads/"]🗀  examples🗎  nps.txt""""""Lets add a file `test.py` to the `examples` folder."""notepads.file\(name="test.py",parent='examples')print(notepads.directory)# notepads.dir | notepads.source | notepads.src"""Output:Directory["/notepads/"]🗀  examples↳ 🗎  test.py🗎  nps.txt""""""Now lets write to some files!"""nps_file=notepads.get('nps.txt')test_file=notepads.get('examples').get('test.py')nps_file.write("Hello, World!")test_file.write("print('Hello, World!')")print(nps_file.read())print(test_file.read())"""nps.txt:Hello, World!test.py:print('Hello, World!')"""nps_file.wipe()print(nps_file.read())"""Output:"""
Package: notepads-dev
notepads - PyPinotepads: V2023.12.10.10Installing# Linux/macOSpython3pipinstall-Unotepads# Windowspy-3-mpipinstall-UnotepadsCreate runtime only directory
[1] -> Make folders
[2] -> Make files
[3] -> Make notes for code========================================Directory Example Layout:Directory["/notepads/"]🗀examples↳🗎example.py🗎main.py========================================Create note:notepads.note(name='notename',content='notecontent',author='OPTIONAL_noteauthor')Find notenotepads.get_note(name='notename')# ornotepads.notes()[<index>]========================================Create folder:notepads.folder(name='foldername',version='OPTIONAL_0.0.0',description='OPTIONAL_a test folder',author='OPTIONAL_test author'))# name, *, version=None, description=None, author=NoneFind folder:notepads.get(name='foldername')Update folder:folder.update(name='newfoldername',version='0.0.1',description='a new test folder',author='test author')Delete folder:folder.delete()========================================Create file:notepads.file(name='filename',description='OPTIONAL_a test file',author='OPTIONAL_test author',parent='OPTIONAL_folder name')# name, *, version=None, description=None, author=None, parent: NotepadsFolder=NoneFind file:notepads.get(name='filename')Update file:file.update(name='newfilename',description='a new test file',author='test author)Load file:file.load()Write file:file.write(content='newfilecontent')Delete file:file.delete()
Package: noteql-jinjasql
Generate SQL Queries using a Jinja Template, without worrying about SQL InjectionJinjaSQL automatically binds parameters that are inserted into the template.
After JinjaSQL evaluates the template, you get 1) Query with placeholders
for parameters, and 2) List of values that need to be bound to the query.JinjaSQL doesn’t actually execute the query - it only prepares the
query and the bind parameters. You can execute the query using any
database engine / driver you are working with.
Package: noterator
Adding notification to your iteration.>>>fromnoteratorimportnoterate,EMAIL,TWILIO>>>forobjinnoterate(my_objects,EMAIL|TWILIO):...do_something_slow(obj)...>>>When the loop completes, The Noterator will notify you by all the methods you passed in.
In this case it’ll email you and send an SMS to your configured number with Twilio.
Other supported notification methods are HipChat (send a notification to a room) and desktop.You can find more usage information in theusage docs.ConfigurationBefore The Noterator can do anything, you’ll need aconfig.inifile (seeconfig.example.inior the example below to get started).It’s possible to use The Noterator without a configuration file, but it’s a little less concise.
See theconfiguration docsfor more detail.By default, we check for$HOME/.config/noterator/config.ini, so it’s probably best to keep your config there, but you can pass theconfig_fileparameter tonoteratewith the path to an alternative location.You only need to define settings for the methods you wish to use.[desktop]sound=true[email]from_mail=The Noterator <noterator@example.org>recipient=you@example.orghost=smtp.example.orgport=25username=postmaster@example.orgpassword=password123[hipchat]token=abc123room_id=123456from_name=The Noteratormessage_colour=green[twilio]account_sid=abc123token=abc123from_number=+123456to_number=+456789TODONew notification plugins: Slack, Mattermost, logging, …Notication during iteration, a latqdm.writeLicenseMIT.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.4.3 (2016-10-31)Fix a packaging issue relating to moved requirements0.4.2 (2016-10-20)Prevent test failure due to timing errorsMinor testing & packaging fixes0.4.1 (2016-10-13)Minor cleanups & fixes0.4.0 (2016-09-30)Desktop notification (Mac & Linux)Improvements to testingTest coverage reporting to codecov.io0.3.0 (2016-09-28)Allow the construction of re-usable Noterators with theNoteratorclassConfiguration is now possible without a config file (instance.configure_plugin)Plugin validation is now triggred when iteration begins, not when the Noterator is builtChanged email plugin configuration keys to be consistent with, e.g. DjangoAdded tests for configuration file validation & all pluginsTravis CI + coverage / Coveralls integration0.2.2 (2016-09-26)Fixed a packaging error0.2.1 (2016-09-25)More appropriate exception usage in config loading / checking0.2.0 (2016-09-25)More safety checks in configurationAdded theevery_nparameter tonoterate0.1.0 (2016-09-24)First release on PyPI.
Package: noterpy
Python client aroundThe simplest way to keep notes.(a.k.a.Simple Note):https://simplenote.com/It’s built on top ofsimplenote.py:https://github.com/mrtazz/simplenote.pyNOTE:This library and its author are not endorsed by or affiliated withSimpleNote.com.InstallationUsingpip:pip install newsapiDependenciessimplenoteAPILet’s you do stuffs likenoter.add_note("Hi")which returnsNoteInfoinstance and has
all the attributes such asversion,modified_date, etc, and some methods likeupdate("updated"),trash(),delete()and aget()which returnsNoteinstance
and hascontentand all the above attributes in NoteInfo, so basically it controlskeyattribute
present in each note request so you can work on writing and reading notes instead of managing
stupid hashed key, and has bunch of other methods for which I’ll write documentation later.
Just being a lazy-ass, because of working in a new project (duh).
Package: noterr
noterrA command line application to store all of your notes in a neat and clean mannerInstallationYou can install noterr through pip with the following command:pipinstallnoterrAlso, you can also install noterr through curl/bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Japroz-Saini/noterr/master/install.sh)"UsageNoterr is used to keep track of all your notes
We suggest you begin by typing the following:noterrYou would see no output. That is because you have not created any folders. Try creating one with the following command:noterrcreate-foldercodesNext if yout type the command:noterrfoldercodesYou would see no output again.This because you have not added any notes to the codes folder. Try adding one with the following command:noterrfoldercodesadd'This is a note'Now if you typenoterrfoldercodesYou would see the notes in that folder. Currently, that note is uncomplete. If you have completed the note you can type the commandnoterrfoldercodesdone'This is a note'Now you would see that the note has changes its color. This is for you to be able to distinguish between done and undone done.DeletingYou can delete a folder with the following command:noterrdelete-foldercodesWhich will delete the folder codesYou can also delete an item from a folder with the following command:noterrfoldercodesdel'This is a note'HiddenNoterr has various hidden commands which do various things in the teriminal.
One of them isnoterr tictacwhich starts a multiplayer tic-tac-toe game. Discover commands and create the issue with the command and what it does to be featured on the documentation!
Package: notes
A simple application to allow you to attach notes to models.InstallationNotes uses generic relations to handle attaching themselves to models. So installation is basically just like adding a generic relation item to your model.Add ‘notes’ to your INSTALLED_APPS variableImport the Note model:from notes.models import NoteAdd the note inline to your model’s admin def in your admin.py file:from notes.admin import NoteInlineclass YourModelAdmin(admin.ModelAdmin):inlines = [ NoteInline, ]To enable easy management you can add a hook to your model:notes=generic.GenericRelation(Note)UsageFollow the steps above (including 4) and you should have access to all the notes at instance_of_yourmodel.notes_set.all():>>> object = YourModel.objects.get(pk=1)
>>> notes_for_object = object.notes_set.all()Simple.
Package: notes50
Notes50A CS50 Notes And PSets Reader.Video Demo:https://www.youtube.com/watch?v=wtuPx1vHtjoArguments-x : CS50X
-p : CS50 Python
-w : CS50 Web
-g : CS50 Games
-a : CS50 AiSyntax-Argument Week: Week For Which Notes To Read 
-Argument Week/PSets: Week For Which PSets To ReadExamplesTo Get CS50X Week 0 Notes
- python notes50.py -x 0

To Get CS50X Week 0 Pset Scratch
- python notes50.py -x 0/scratchProgrammingNotes50 Is Written In Python
With A Mix Of Multiple Pip Libraries Which You Can Find In Requirements.Txt

Some Of The Important Libraries Are:
    - Argparse: 
        I Used Argparse To Add Arguments Of Courses And Help Function 
    - Urllib:
        I Used Urllib Function Request To Get The Html File From The CS50 Website
        At First I Used Requests Library But It Had A Weird Problem When Encountered
        With Smart Quotes Causing It To Display Weird Symbol Thats Why I Then Changed It To Urllib
    - Beautifulsoup: 
        After Urllib Gets The Website Source Code I Used Beautifulsoup To Parse It 
        It Turns The Html Tags To Be Programmable And Understandable To Other Libraries 
        Like Markdownify And I Used Lxml To Parse The Html.
    - Markdownify:
        Rich Has A Markdown Library That Parses Markdown The Way It Was Intended And Prints It To The Terminal 
        That'S Why I Needed A Html To Markdown Library So I Searched A Little And Used Markdownify.
    - Rich: 
        Rich Has A Markdown Function That Prints Markdwon To The Terminal 
        And Some Syntax Highliting That'S Why I Used It To Print MarkdownFunctionsThese Are The Functions That I Have
    - Parse_Args:
        Parse_Args Is A Function That Uses Argparse And Adds Arguments 
        Such As The Course Flags And The Help Flags And Parses It 
        And Then Returns It To The Main Function.
    - Help:
        Help Function Makes A Examples Text And Returns It To Argparse To Use It.
    - Note: 
        A Kind Of A Url Parser That Turns And Add The Given Input To CS50 Courses Notes Url 
        And Then Passes It To The Get Function. 
    - PSet: 
        Just Like Note Function Pset Also Parses The Given Input 
        And Adds It To PSets Url Of CS50 Courses And Then Passes It To The Get Function.
    - Get: 
        Get Function Gets The Given Arguments Url Source Code Using Urllib Library 
        Then That Source Code Is Passed To Beautifulsoup And It Parses Using Lxml To Pretty Html And
        Then Gets Its Main Tag Text Which Is Passed To Markdownify Function 
        That Turns It To Markdown Which Again Is Passed To Rich Function 
        That Turns The Markdown To Actual Markdown And Then Return That To The Calling Function 
        And It Is Printed To The Terminal By The Main Function.CachingI Used Joblib To Cache The Results As Getting The Html Causes Some Delay
So By Using Caching It Can Return Previously Used Results Without Any Wasted Time
It Uses Appdirs To Get The User Cache Directory
The First Time Maybe Slow But From The Second Time 
It Will Be Fast As It Will Cache The First Results.
Package: notes-compiler
notes-compilerUsagenotes<input_path><output_path>For example:notes./src./publicInstallationRelease versionInstall using pip (or your choice of PyPI package manager):pipinstallnotes-compilerInstalling latest master from sourceWhile on the root of this repository:poetryinstall
poetrybuildcddist
pipinstallnotes_compiler-<VERSION>-py3-none-any.whl--force-reinstalreplacing<VERSION>with the actual version number.
Package: note-shell
Table of ContentsPhilosophyAbout the ProjectBuilt WithGetting StartedPrerequisitesInstallationUsageLicenseContactPhilosophyDo you inconvenience yourself keeping track ofthoughts, referencesandTODOswhile working? Me too! So I decided to do something for us - note-shell.We need an interactive console client to take quick notes and manage them for us, whether it be a random thought that we come across or a link that we want to revisit later.This project is built on the grounds of making noting down something (anything) super easy, as well as detailed if needed.*NOTE: It is currently intended mainly for developers, who do not like to part with their termials, and anyone with a basic idea of usingpython/pipshould be able to enjoy their experience.Browser based GUIcoming soon!AboutNote-shellrecords and manages your notes for you. It is a completelyterminal basedapp, which interactively helps you maintain your daily notes.*NOTE: some features may not work as intended in a Windows environment. Feel free to raise issues if you face them😃Built WithPythonSQLitePrerequisitespythonpipnotify-send(this is required for reminder notifications, please install as per OS)InstallationInstall the module$pipinstallnote-shellThats it, start using it!UsageThis tool is highly interactive, hence it can be figured out on the fly. But lets see the modes it can be used ininteractive moreOpen your command prompt and type note to begin$notecli optionsType -h suffix to get help, it has all the features of interactive mode.$note-hLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactNirabhra Tapaswi -nirabhratapaswi@gmail.comGITHUBPYPI
Package: notes-py
notes-py is adumbstatic site generator.  I use it to compile notes (duh) that I take about setting up packages or servers or w/e, to HTML so that I can serve them with apache and view them from any machine with internet access.Fundamentally it useshttps://github.com/rtfd/CommonMark-pyto compile html from markdown files (like basically every other static site generator).InstallationSince notes-py is self contained (within notes-py/notes.py), you can just download and install this file somewhere in your path to use it.  It is also available on PyPI, so you should be able to install it withpip installnotes-pyas well.If installed with pip, it will also install an entry point at compile_notes, which behaves effectively as a link to notes_py.notes.Usagenotes-py offers both a command line and programmatic interface.Command lineTo keep the command line options simple, the only thing you need to specify is the location of a configuration file:usage: compile_notes [-c path_to_config] [options]

Options:
    -h, --help    : Print this help text
    -c, --config  : Specipy the path to a configuration file
    -V, --version : Print version and licence infoProgrammaticThe full functionalitly (it isn’t much) is available through the function atnotes_py.notes.compile(content_path, compile_path, stylesheet, html_template).  If you are using notes-py programmatically then you should just read through the function to understand whatit does.ContactYou can reach me atmax@friedersdorff.com
Package: notes-to-keep
Notes to KeepExport all yourApple iCloud Noteson macOS toGoogle Keep.Installationpip install notes_to_keepUsageUsage:
    notes_to_keep <email> <password> [options]
    notes_to_keep --help
    notes_to_keep --version

Arguments:
    <email>           Your Google account
    <password>        The password of your Google account

Options:
    --num=<num>       The number of notes to be exported to Google
                      Keep (default: all notes will be exported)
    --prefix=<pfx>    Append a prefix before the title of all notes.
                      A pair of [] will be put around it
                      automatically. (Default: empty)
    --meta-header     Add a header message to the beginning of each
                      note to include the original creation time
                      of the note and the import time.
    --no-label        Do not create a label for all imported notes.
                      By default, we will create a new label for
                      all imported notes.
    --folders         Create labels that correspond to the folders
                      in your Notes db.LicenseCopyright 2018 Adam Yii@adamyi.comMIT LicenseKnown IssuesThis is still Alpha-quality, and is likely to have bugs. Use at your own risks. Below are some currently known issues waiting to be fixed:It doesn't upload any photos, attachments, etc. to Google Keep. It uploads text, and only text.It doesn't shorten the title, so in some extreme cases Google back-end might throw a 500 (also 500 for some other situations like certain special characters that Google doesn't support). But for most of your notes (almost all), it's gonna be just fine (2 in my 2000+ notes went wrong).ContributeAll submissions, including submissions by project members, require review. We use Github pull requests for this purpose.DisclaimerThis is not an official Google product. It is neither endorsed nor supported by either Google LLC or Apple Inc.
Package: notesviewer
notesviewerA commandline notes viewer written in pythoninstallationpip install notesviewerusagenotesviewer --help
notesviewer version 
notesviewer list
notesviewer display <note> 
notesviewer create_ROOT
notesviewer add <note>
notesviewer insert <note> <title>
nosteviewer edit   <index> <note>
notesviewer delete <note>
notesviewer remove <index> <note>
notesviewer move <index> <fromnote> <tonote>
notesviewer addtags <note> <tag>
notesviewer add_profile <profile>
notesviewer delete_profile <profile>
notesviewer show_profiles
notesviewer switch_profile
notesviewer profile
notesviewer tags <note>
notesviewer removetags <note> <tag(s)>
notesviewer editlinks <note>
notesviewer links <note>
notesviewer editlinks <note>
notesviewer showconfig
notesviewer setdefaultconfig
notesviewer setconfig <key> <value>
notesviewer search <regex> note(s)
notesviewer check
notesviewer interactive    #Not implemented yetchangelog0.9.3
- Changed parser argument for add,insert, delete, remove from name to note for consistency 
- Added help context to commands when using notesviewer --help

0.9.4
- Added links and editlinks commands for managing notes bookmarks(links)
- Added setconfig command to easily changing config settings
- Added root note verification
- Updated the check command to include the new root note verification
- Fixed --help to display notesviewer name correctly

0.9.5
- Changed the default editor to vi
- Added cyan, magenta and grey color options
- Changed some of the default colors
- Added note naming convention with approved characters
- Fixed display command bug when inserting with : character
- Notes root path and config are in the same location now
- Added profile, add_profile, show_profies, switch_profile commands for profile managment

0.9.5.1
- A default profile is created upon initalization
- Will Create a the profile path from config if missing

0.9.5.2
- Added a create_ROOT command to create a ROOT path on the current directory. This is need if doing development work
- Added Instructions on how to update bash prompt for notesviewer profiles
- Added a delete_profile command 
- Added a Makefile for building and uploading to pypi repository(only available on git source)ContributingPull requests are welcome.LicenseGPL2
Package: notetaking
QuickstartSubheadingInstallmupdf(sudo apt install mupdfon ubuntu)Install notetakingfrom PyPI:pip3 install notetakingor from source:git clone https://github.com/calumsbaird/notetaking.git && cd notetaking && python3 setup.py installPut some markdown in a text fileecho "# Title" > test.mdMake the pdfnotetaking test.md -bEdittest.mdin your favourite text editor and watch the
pdf update when you save itTesthello worlddeffenced_code():foriinrange(10):print("hello world")some pseudo codehows this?italicboldbothnotetaking with pythonwrite a file in markdown/htmlrunningnotetaking <file>will convert it to a pdf and open a pdfviewer (mupdf?)notetaking will continue to run in the background, every time the file is saved the pdf should updateif the document is closed stop notetaking and close the pdfthis might not be possible because different editors will
edit the file in different waysif the pdf is closed stop notetakingif there are any errors we need to notify the user via the OS, hoopefully this is universalTODOinclude easy css supportalso call notetaking from vimlog errors in markdown syntaxconfig file, maybe use envionment variables?better logging messagesLimitationsThere is currently no way to track errors (syntax or otherwise)
in the markdown, html or css you write.I havent found any lightweight math rendering yethttps://github.com/mbarkhau/markdown-katexhas worked but
is very slowCan't update in realtime.  Relies on linux signals when a file is saved.  Could use.file.swpbutUseful resourcesinotify to track changes to the filehttps://unix.stackexchange.com/questions/88399/how-to-generate-signal-interrupt-on-a-file-descriptor-in-linuxmight even be able to track changes to the vim .swp file too[python-markdown]:https://python-markdown.github.io/for converted markdown and html with nested markdown into markdownPackagingpython3setup.pysdistbdist_wheel
python3-mtwineuploaddist/*addlet @t=':read! screenshot %^M'to your vimrc