omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. shaun-h

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 1
    • Topics 18
    • Posts 85
    • Best 25
    • Controversial 0
    • Groups 0

    shaun-h

    @shaun-h

    40
    Reputation
    3578
    Profile views
    85
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Website www.shaunhevey.com Location Hobart, Australia

    shaun-h Unfollow Follow

    Best posts made by shaun-h

    • PyDoc - docset browser

      I just wanted to share a project I have been working on. The project is called PyDoc and it is docset viewer.

      I started working on this project when Dash for iOS was removed from the App Store. PyDoc uses docsets provided by Dash with permission.

      It currently supports standard docsets, cheatsheets and user contributed docsets. I am currently implementing searching docsets so at the moment all you can do is view the docsets.

      PyDoc is available from my GitHub

      Please check it out and let me know if you find any issues or have any suggestions.

      posted in Pythonista
      shaun-h
      shaun-h
    • [Share Code] Snippet Manager

      So something I feel has been missing from Pythonista is a snippet manager, so I have created a basic one and it is available on GitHub from here

      One you enter a snippet you can currently create a new file from it or copy the contents to the clipboard. I also plan on adding an option to get the contents of the open file of the editor soon via the wrench menu. I have also started to add the ability to tag snippets and hopefully search on that later.

      Take a look and let me know what you think.

      posted in Pythonista
      shaun-h
      shaun-h
    • Sqlite3 Browser

      Hi All,
      I thought I would share something that I have been working on and off for a week or so now, it is a sqlite3 browser. I have been trying to teach my self python and this is currently a very much work in progress so please ignore the quality of the code etc.
      The file browser is currently only set to show files with the extension db, but that can be changed.
      I have only tested this with the 1.6 beta but I don't think I have used anything that would stop it working with 1.5
      The code is available here so please share any comments or suggestion you have.
      I did just want to mention that pythonista is a great application and I wanted to thank @omz for it.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: Pythonista 3 suggestions

      In Pythonista 3 if you add a Templates folder (I think it is case sensitive) any file you put in there appears in the new file menu. I think read it in the beta notes in TestFlight?

      posted in Pythonista
      shaun-h
      shaun-h
    • Pythonista 3

      Nice to see pythonista 3 on the App Store, just to let you all know I installed it over the beta and all my files appeared to be ok. That was my experience but I would suggest backing up though just incase :)

      posted in Pythonista
      shaun-h
      shaun-h
    • Pythonista 2 beta expiry

      Hi @omz the Pythonista beta 2 has 23 hours left just wondering if you were uploading a new version or should I backup my files and downgrade?

      posted in Pythonista
      shaun-h
      shaun-h
    • [Share Code] Istaflow

      Hi All, just wanted to share something I have been working on for a few weeks now and wanted to know if anyone would find it useful etc.

      I have called it istaflow and it is available from here
      It is a automation app that allows you create little workflow similar to the workflow application that is available for iOS.
      The idea is that you make reusable bits of code in to what I am calling elements and then these are usable across any workflow, I have named these flows.

      You can create these flows using the ui designer and picking elements out of the list.

      Now it is in a very early stage of development as I have been only working on it for a few weeks but it can run simple flow as the moment. I am sure it could run more complex ones but I haven't gotten around to creating a lot of elements yet. A few feature such as parameters for a element haven't been implemented yet but you will see that I have included in the template for a element though so they can be ignored for the moment.

      There is a possibility I will still change the structure of the elements so I am happy to accept pull requests for new elements but these might break in the future, although if I don't get lots of them I will update them with changes I make.

      This is still pre alpha stage I would say so please be nice and the code is a bit of a mess but will be cleaned up later.

      Please take a look and let me know what you think.

      Oh one last thing I have been creating this on the 1.6 beta I have tested it on 1.5 but not thoroughly at all so no doubt bit and pieces might be broken.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: Add post to Ghost blog

      I use this workflow but as it says, updates don't work properly due to tags not coming back from the api and I'm running the latest version of ghost cms and authentication has changed slightly so you will need update it a bit but I do post to ghost on my own server with it.

      posted in Editorial
      shaun-h
      shaun-h
    • RE: New Beta for Pythonista 3.3

      I can see Working Copy and access folders in it (note: I use the Working Copy test flight version), so unsure as to why but I assume you can see Working Copy in the files app.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: PyDoc - docset browser

      @zipit sorry I must of missed your reply a while ago. It is intended to be a "standalone" app. I will take a look at what it looks like in panel mode and I might make that the default. No editor theming doesn't change any UI elements that are not part of the editor, I guess this is by design from @omz

      If you or anyone else is interested, I have been updating this a bit lately and added some more features

      • Searching (both individual and across docsets)
      • I have added the ability to create themes for PyDoc currently I have only created two.
      • "In App" updating, which allows for the app to download a new version based on GitHub releases, and keep the docsets you have already downloaded.

      If anyone is finding it useful or has any suggestions please let me know.

      posted in Pythonista
      shaun-h
      shaun-h

    Latest posts made by shaun-h

    • RE: New Beta for Pythonista 3.3

      I can see Working Copy and access folders in it (note: I use the Working Copy test flight version), so unsure as to why but I assume you can see Working Copy in the files app.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: Pythonista script included in Workflow

      I did a quick search on this forum and found this (I haven't tried it) https://forum.omz-software.com/topic/1491/simple-file-rename-script
      Hopefully it points you in the right direction.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: PyDoc - docset browser

      Just wanted to share that I have added a number of features to PyDoc since I last posted about it here.

      Some of these include

      • stack overflow docsets.
      • the ability to download different version for standard and usercontributed docsets.
      • transfer docsets in via a web browser
      • display the app in panel mode, the default is full screen but can be changed in the settings screen.

      I am always looking for suggestions so please add them to the GitHub repo.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: Keychain & TouchID

      @zrzka I am very interested in this, I think the ability to lock 'secrets' behind TouchID (and I assume FaceID) will be great, so thanks for creating this.

      I haven't had a chance to have play with this but I assume that you copy keychain.py in to site-packages and it will be used instead of the built in keychain module?

      To keep the compatibility layer is a great thing but I think it would be beneficial if it either has a helper method to say set_password_with_touchid(.....) or at least optional parameters to set_password etc that allowed you to set accessible and access_control this way you don't have to interact with the GenericPassword class?

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: Std ios Search view with search icon - problem

      If you are interested in a UISearchController, I wrote a wrapper for the native controller for PyDoc it needs a little bit of work still but it might give you a starting point. You can find it here this would be something that I would find very useful if it was in the std ui module.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: syncing Pythonista / laptop

      If you haven't seen this it is Pythonista interacting with working copy in the new beta.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: syncing Pythonista / laptop

      I really don't do any Python development off my iPad or iPhone really as most of the things I work on require the UI module in Pythonista. I thought I would share how I keep sync'd up.

      I use git, if you are worried about commit history you could try developing on separate branch (which also has other benefits), and then submitting a pull request if you are using GitHub and squash all your commits when you are ready to merge it back in to your main branch (not that I do this but I am pretty sure it is possible).

      If you have Working Copy and the new Beta of Pythonista this allows for opening from external files which makes using Working Copy a lot easier now otherwise there are scripts that help interact with working copy if you don't.

      This is how I keep things sync'd up anyway, it doesn't really help with having a remote interpreter though.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: PyDoc - docset browser

      @Phuket2 thank you for the kind comments, I do understand the thought about source validation. I did even consider this a while ago but though it was too hard to implement and keep track of between versions etc, so I might revisit this in the near future.

      I have added the ability to reinstall, if you check for an update in app it should be there, I also added the ability to install any pre-release/stable version, that is available on GitHub.

      I am currently implementing stack overflow docsets (hopefully I will put a release out in the next day or so), once that is finished I will look to adding a setting to start the app in a panel or as normal view. I did try the panel setting a while ago but I was getting errors so reverted back as I was working on other features at the time.
      Thanks for all the comments and please if you have any suggestions or find any bugs I am very happy for you to put it against the repo as it will be easy to keep track of.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: PyDoc - docset browser

      @zipit sorry I must of missed your reply a while ago. It is intended to be a "standalone" app. I will take a look at what it looks like in panel mode and I might make that the default. No editor theming doesn't change any UI elements that are not part of the editor, I guess this is by design from @omz

      If you or anyone else is interested, I have been updating this a bit lately and added some more features

      • Searching (both individual and across docsets)
      • I have added the ability to create themes for PyDoc currently I have only created two.
      • "In App" updating, which allows for the app to download a new version based on GitHub releases, and keep the docsets you have already downloaded.

      If anyone is finding it useful or has any suggestions please let me know.

      posted in Pythonista
      shaun-h
      shaun-h
    • RE: Pythonista crashing on new file creation

      I am glad I am not the only one, I am using a iPad Pro and it use to be slow but now mines just crashes.

      @dgelessus no I haven’t, it appears to be sheer file numbers for me. I have been working on a docset viewer like dash on Mac for Pythonista and the amount of files the docsets I am downloading contain are causing the issue I think.

      posted in Pythonista
      shaun-h
      shaun-h