simplenote.py
Introduction
simplenote.py is a python library for the simplenote.com web service.
Installation
Install via pip:
pip install simplenote
Or if you must:
easy_install simplenote
Usage
simplenote.py can be imported into any python module:
from simplenote import Simplenote simplenote = Simplenote(user, password)
The object then provides the following API methods:
simplenote.get_noteList() simplenote.get_note(note_id) simplenote.add_note(note) simplenote.update_note(note) simplenote.trash_note(note_id) simplenote.delete_note(note_id)
A note object is a dictionary with at least a content property, containing the note text. The update_note method needs a note object which also has a key property.
Meta
Contribute
If you want to contribute:
Fork the project.
Make your feature addition or bug fix based on develop.
Add tests for it. This is important so I don’t break it in a future version unintentionally.
Commit, do not mess with version
Send me a pull request. Bonus points for topic branches.
History
0.2.0 (2012-06-02)
Add optional argument for quantity to get_note_list()
catch HTTPError when fetching notes
immediately return if note could not be fetched
trash_note has to succeed for deleting
add json import fallbacks
0.1.3 (2011-07-17)
fix display of ‘+’ signs
0.1.2 (2011-07-02)
improved documentation
add sphinx docs
0.1.1 (2011-06-25)
minor changes for pypi
0.1.0 (2011-06-25)
basic API methods
get note list
get single note
add note
update note
trash note
delete note
Metadata
Release files for simplenote 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplenote-0.2.0.tar.gz | 4.5 kB | Without provenance | Details for simplenote-0.2.0.tar.gz |
Release files / simplenote-0.2.0.tar.gz
| Download URL | simplenote-0.2.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d0b39824d662c88d295c9bc3dc46a66beb92649d35aa83b621353a4154290ad
|
|
BLAKE2b-256 checksum How to use checksums |
fa2746ef237fa9ee52c2d768003031ded444120defd78ab597eff4d5b9d11e62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for simplenote 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.