{ "info": { "author": "imacat", "author_email": "imacat@mail.imacat.idv.tw", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Office/Business :: Office Suites", "Topic :: Text Editors :: Integrated Development Environments (IDE)", "Topic :: Utilities" ], "description": "``obasync`` - Office Basic Macro Source Synchronizer\n====================================================\n\nDESCRIPTION\n-----------\n\n``obasync`` is an OpenOffice/LibreOffice Basic macro source\nsynchronizer. It synchronizes your Basic macros with your local\nproject files.\n\n\nGiven the following source files:\n\n* Directory: ``MyApp``\n* Files: ``MyMacros.vb`` ``Utils.vb`` ``Registry.vb`` ``Data.vb``\n\nRunning ``obasync`` will synchronize them with the following Basic\nmacros:\n\n* Library: ``MyApp``\n* Modules: ``MyMacros`` ``Utils`` ``Registry`` ``Data``\n\nIf the Basic library ``MyApp`` does not exist, it will be created.\nMissing modules will be added, and excess modules will be removed.\n\nOn the other hand, given the following Basic macros:\n\n* Library: ``MyApp``\n* Modules: ``MyMacros`` ``Utils`` ``Registry`` ``Data``\n\nRunning ``obasync --get`` will synchronize them with the following\nsource files:\n\n* Directory: ``MyApp``\n* Files: ``MyMacros.vb`` ``Utils.vb`` ``Registry.vb`` ``Data.vb``\n\nMissing source files will be added, and excess source files will be\ndeleted.\n\n\nINSTALL\n-------\n\nYou can either:\n\n1. Install ``obasync`` with ``pip`` (recommended), or\n\n2. Download the ``obasync`` script manually, and run it with the\n Python that come with your OpenOffice/LibreOffice installation.\n\nWe will explain them in detail.\n\n\nOpenOffice/LibreOffice That Comes with Your Linux\n#################################################\n\nInstall with ``pip`` (Recommended)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYour system may already have ``pip`` installed. If not, install the\n``python-pip`` package from the system package manager. Then, run::\n\n pip install obasync\n\nDownload and Install Manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n python obasync\n\nOr, you can edit the script and change the first line (shebang) to::\n\n #! /usr/bin/python\n\nand save this script somewhere in your path, say, ``/usr/local/bin``.\nThen you can run ``obasync``.\n\n\nOpenOffice 4 on Linux\n#####################\n\nInstall with ``pip`` (Recommended)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nInstall ``pip`` for your OpenOffice installation, and then install\n``obasync`` with this ``pip``::\n\n wget https://bootstrap.pypa.io/get-pip.py\n sudo /opt/openoffice4/program/python get-pip.py\n /opt/openoffice4/program/python-core-2.7.6/bin/pip install obasync\n\nDownload and Install Manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n /opt/openoffice4/program/python obasync\n\nOr, you can edit the script and change the first line (shebang) to::\n\n #! /opt/openoffice4/program/python\n\nand save this script somewhere in your path, say, ``/usr/local/bin``.\nThen you can run ``obasync``.\n\n\nLibreOffice on Linux\n####################\n\nPython from LibreOffice on Linux does not install ``pip`` properly.\nHowever, you can still download and install ``obasync`` manually.\n\nInstall with ``pip`` (Recommended)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n /opt/libreoffice5.2/program/python obasync\n\nOr, you can edit the script and change the first line (shebang) to::\n\n #! /opt/libreoffice5.2/program/python\n\nand save this script somewhere in your path, say, ``/usr/local/bin``.\nThen you can run ``obasync``.\n\n\nOpenOffice on MS-Windows\n########################\n\nYou can install ``obasync`` with ``pip``, but the result is messy.\nThe recommended way is to download and install ``obasync`` manually.\n\nDownload and Install Manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n \"C:\\Program Files (x86)\\OpenOffice 4\\program\\python.exe\" obasync\n\n\nLibreOffice on MS-Windows\n#########################\n\nYou can install ``obasync`` with ``pip``, but the result is messy.\nThe recommended way is to download and install ``obasync`` manually.\n\nDownload and Install Manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n \"C:\\Program Files\\LibreOffice 5\\program\\python.exe\" obasync\n\n\nOpenOffice on Mac OS X\n######################\n\nInstall with ``pip`` (Recommended)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nInstall ``pip`` first, and then install ``obasync`` with ``pip``::\n\n wget https://bootstrap.pypa.io/get-pip.py\n sudo python get-pip.py\n sudo pip install obasync\n\nDownload and Install Manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n python obasync\n\nOr, you can edit the script and change the first line (shebang) to::\n\n #! /usr/bin/python\n\nand save this script somewhere in your path, say, ``/usr/local/bin``.\nThen you can run ``obasync``.\n\n\n\nLibreOffice on Mac OS X\n#######################\n\nPython from LibreOffice on Mac OS X does not install ``pip`` properly.\nHowever, you can still download and install ``obasync`` manually.\n\nDownload and Install Manually\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload ``obasync`` from either `PyPI\n`_ or `GitHub\n`_. Then, run ``obasync`` as::\n\n /Applications/LibreOffice.app/Contents/Resources/python obasync\n\nOr, you can edit the script and change the first line (shebang) to::\n\n #! /Applications/LibreOffice.app/Contents/Resources/python\n\nand save this script somewhere in your path, say, ``/usr/local/bin``.\nThen you can run ``obasync``.\n\n\nOPTIONS\n-------\n\n::\n\n obasync [options] [DIRECTORY [LIBRARY]]\n\nDIRECTORY The project source directory. Default to the current\n working directory.\n\nLIBRARY The name of the Basic library. Default to the same\n name as the project source directory.\n\n--get Download (check out) the macros from the\n OpenOffice/LibreOffice Basic storage to the source\n files, instead of upload (check in). By default it\n uploads the source files onto the\n OpenOffice/LibreOffice Basic storage.\n\n--set-passwd Sets the password of the library after upload. Supply\n nothing when prompting the new password to remove the\n password protection. This does not work with --get.\n\n-p, --port N The TCP port to communicate with\n OpenOffice/LibreOffice. The default is 2002. You can\n change it if port 2002 is already in use.\n\n-x, --ext .EXT The file name extension of the source files. The \n default is ``.vb``. This may be used for your\n convenience of editor syntax highlighting.\n\n-e, --encoding CS\n The encoding of the source files. The default is\n system-dependent. For example, on Traditional Chinese\n MS-Windows, this will be CP950 (Big5). You can change\n this to UTF-8 for convenience if you\n obtain/synchronize your source code from other\n sources.\n\n-r, --run MODULE.MACRO\n Run he specific macro after synchronization, for\n convenience.\n\n--user Store the macros in the user macro storage. (default)\n\n--doc Store the macros in the document macro storage.\n\n--target TARGET The target storage document if there are more than one\n opened documents. You may specify a partial path, or\n as \"Untitied 1\" (in your language) if it is a new\n file.\n\n-h, --help Show the help message and exit\n\n-v, --version Show program\u2019s version number and exit\n\n\nCOPYRIGHT\n---------\n\n Copyright (c) 2016-2017 imacat.\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\nSUPPORT\n-------\n\n Contact imacat if you have any question.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/obasync", "keywords": "OpenOffice,LibreOffice,uno,Basic,macro", "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "obasync", "package_url": "https://pypi.org/project/obasync/", "platform": "Linux,MS-Windows,MacOS X", "project_url": "https://pypi.org/project/obasync/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://pypi.python.org/pypi/obasync" }, "release_url": "https://pypi.org/project/obasync/0.10/", "requires_dist": null, "requires_python": null, "summary": "Office Basic macro source synchronizer", "version": "0.10" }, "last_serial": 2874682, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6cdb4279f4156d87a1f2e2459a491e1e", "sha256": "15decf769879151fc0f90dafd5e5a7fbe134e36b341b9744cd260fc82928b976" }, "downloads": -1, "filename": "obasync-0.1.tar.gz", "has_sig": false, "md5_digest": "6cdb4279f4156d87a1f2e2459a491e1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3664, "upload_time": "2016-12-20T13:24:31", "url": "https://files.pythonhosted.org/packages/34/59/685b5272a1dcd852bd877a945cb563214879da44d4ba4e57fddff42ee71f/obasync-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "b0899b9b12c7a11eb939892668e7fc9f", "sha256": "cbd55ae64c783260c1e6044bea8c65680ab259561b5dd120f13399849c083eaa" }, "downloads": -1, "filename": "obasync-0.10.tar.gz", "has_sig": false, "md5_digest": "b0899b9b12c7a11eb939892668e7fc9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9508, "upload_time": "2017-05-15T06:56:36", "url": "https://files.pythonhosted.org/packages/5b/bd/a8601244b27b0eec965b23e77712befff0da1bc30aece61c510f0f38fdb8/obasync-0.10.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "51652d1c4dffed9f72aa1d50ebb02de5", "sha256": "c81fdc8f911c9f87a817f36eaa50ca21499caddebefd13863506dfca7bfa91e6" }, "downloads": -1, "filename": "obasync-0.2.tar.gz", "has_sig": false, "md5_digest": "51652d1c4dffed9f72aa1d50ebb02de5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4950, "upload_time": "2016-12-24T00:10:12", "url": "https://files.pythonhosted.org/packages/26/1a/9b866ba84a9f38c289396134d8d4ed2763feb614f82b4db32fc7f018844f/obasync-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "7a95eb9b9a5f668407f847fb7a13d853", "sha256": "3b4227f5d001ae04e6fe540c9520861ce4be0f7e88de1cf6189a982258009be6" }, "downloads": -1, "filename": "obasync-0.3.tar.gz", "has_sig": false, "md5_digest": "7a95eb9b9a5f668407f847fb7a13d853", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7220, "upload_time": "2017-01-05T08:27:22", "url": "https://files.pythonhosted.org/packages/06/fd/b23674bc8a04468ffd01a4ea2d21a82e5aa481a8e5aeabc3337a5a0c395e/obasync-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "7e3bc485d8833c45196681833740f34f", "sha256": "c6de767527c4282cc375443221cb665fc16e43cea2041e0b480e86e48953f961" }, "downloads": -1, "filename": "obasync-0.4.tar.gz", "has_sig": false, "md5_digest": "7e3bc485d8833c45196681833740f34f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7610, "upload_time": "2017-01-24T08:20:38", "url": "https://files.pythonhosted.org/packages/6a/ab/a3c88a05bb2ddd2071b19602384875e326441acdcad0922aee2f3c490772/obasync-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "40408acac95ae4eee7cf266887768902", "sha256": "ad2f0d5b540f23290f22c09ee162798e48a51ed7e64495a255603e2ed071153a" }, "downloads": -1, "filename": "obasync-0.5.tar.gz", "has_sig": false, "md5_digest": "40408acac95ae4eee7cf266887768902", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9291, "upload_time": "2017-04-28T11:31:16", "url": "https://files.pythonhosted.org/packages/90/d2/c385dfba6e6579d237fcd8f19eca38259cf3d746df44036ea90e5949e6af/obasync-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "ea703e66eb0d91850b5599c89afef162", "sha256": "f5c8534b10b55bb685df6c5e9f6c0c2264155bb1c42fdef1f13d021a00f9a9c8" }, "downloads": -1, "filename": "obasync-0.6.tar.gz", "has_sig": false, "md5_digest": "ea703e66eb0d91850b5599c89afef162", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9350, "upload_time": "2017-04-28T14:02:57", "url": "https://files.pythonhosted.org/packages/0e/7d/2ed033dae6a13de44bf13955c72b1e4880ab2fe1f33016340670efe4c592/obasync-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "ff9f7113c81fe2894db92365e8f7888e", "sha256": "fc35fe3556a6dff33ae12c1de03e7c8d60d9315208ea92f3896c25b9e4b06f54" }, "downloads": -1, "filename": "obasync-0.7.tar.gz", "has_sig": false, "md5_digest": "ff9f7113c81fe2894db92365e8f7888e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9014, "upload_time": "2017-05-03T02:47:04", "url": "https://files.pythonhosted.org/packages/9c/65/5bc7ba321935ea44b88ee21ced816175fe81b5a199ecea52535575e98f2d/obasync-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "21b040f6981c1db1457eb67477d35a5b", "sha256": "f2f9c63561981514d0bc2f865b8ab5a232abe79d9071b32b049ab55239ae94c7" }, "downloads": -1, "filename": "obasync-0.8.tar.gz", "has_sig": false, "md5_digest": "21b040f6981c1db1457eb67477d35a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9160, "upload_time": "2017-05-15T03:40:01", "url": "https://files.pythonhosted.org/packages/73/cd/6f540805df99bb212a37a760981cd03aaa8c83d1e54d5a9ce48ac3606747/obasync-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "be8bba2a5a8515abe1e8e67ebeaa95fb", "sha256": "ab2bc97fa294a4efe36a8f7f1f00c747d3f66335d9145d5c48fb7af343e02e5f" }, "downloads": -1, "filename": "obasync-0.9.tar.gz", "has_sig": false, "md5_digest": "be8bba2a5a8515abe1e8e67ebeaa95fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9521, "upload_time": "2017-05-15T06:50:01", "url": "https://files.pythonhosted.org/packages/1a/ca/e5b6b1cae593ac0b27379eebe728f945f273ee6ed2d172719adf79d11416/obasync-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b0899b9b12c7a11eb939892668e7fc9f", "sha256": "cbd55ae64c783260c1e6044bea8c65680ab259561b5dd120f13399849c083eaa" }, "downloads": -1, "filename": "obasync-0.10.tar.gz", "has_sig": false, "md5_digest": "b0899b9b12c7a11eb939892668e7fc9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9508, "upload_time": "2017-05-15T06:56:36", "url": "https://files.pythonhosted.org/packages/5b/bd/a8601244b27b0eec965b23e77712befff0da1bc30aece61c510f0f38fdb8/obasync-0.10.tar.gz" } ] }