{ "info": { "author": "Oded Rimon", "author_email": "oded.rimon@mail.huji.ac.il", "bugtrack_url": null, "classifiers": [], "description": "# kfits\nKinetics Fitting Software\n\nThis software package was written by Oded Rimon, at Dr. Dana Reichmann's Lab, HUJI, Israel.\n\nThe Lab is Located at: \nDept. of Biological Chemistry, room 1-626 \nThe Alexander Silberman Institute of Life Science \nThe Hebrew University of Jerusalem \nGivat Ram Campus, Jerusalem, 91904, Israel \nTel: (+972) 2-658-5703\n\nEmail us at: \nOded: oded.rimon AT mail.huji.ac.il \nDana: danare AT mail.huji.ac.il\n\n---\n\n# Usage\n\nOnce you have *Kfits* installed on your system, simply type `kfits` in a command line / terminal window (on Windows: Command Prompt or the Windows Run command). \nTo act as a server for other computers on the local network, use `kfits_server` instead. First, edit the file <Kfits Directory>/afgui/afgui/settings.py and add your IP address(es) to ALLOWED_HOSTS. Then run `kfits_server` and type in the IP interface you would like to serve on (0.0.0.0 for all interfaces) and the port to serve on (8000 is usually fine) as prompted. \nIf you use `kfits` (or `kfits_server` with port 8000), *Kfits* will be accessible *via* the URL `http://127.0.0.1:8000/fitter/`. In either case, a browser window should open at the correct address, and the graphical user interface will guide you through the workflow of *Kfits*. The 'Instructions' button on the top of the screen will lead you to a detailed description of the workflow, as well as instructions on how to extend the capabilities of the software.\n\n---\n\n# Installation Instructions\n\n***Executive Summary*** First of all try: `pip install kfits` \nIf that failed, follow the instructions below.\n\n## 1 Get Python 2.7\n\nIf you already have Python 2 (2.6 or later, **but not 3.x**) installed, skip to step 2. If you have both Python 2 and Python 3 installed, that's fine too. If you're working on a linux system, chances are you already have Python 2.7 installed. \nOtherwise, follow the instructions on [this official download page](https://www.python.org/downloads/) to download and install Python 2.7. Note that Python 3 will not work for this software, so don't be tempted ;) \nFor Windows and MacOS, you may choose to work with [ActiveState ActivePython](https://www.activestate.com/activepython/downloads) or another distribution. As long as it's python 2.7, it's fine.\n\n## 2 Install pip - the python package installer\nIf you are certain you have pip installed, you may skip to step 3.\nOtherwise, follow the instructions on the [pip installation page](https://pip.pypa.io/en/stable/installing/). \nShortly, depending on your system, it should be as easy as running (on Fedora <22):\n```\nsudo yum upgrade python-setuptools\nsudo yum install python-pip python-wheel\n```\nOr (on Fedora >=22):\n```\nsudo dnf upgrade python-setuptools\nsudo dnf install python-pip python-wheel\n````\nOr (on Debian / Ubuntu):\n```\nsudo apt-get install python-pip\n```\nOr (on Windows or any other system):\nDownload [get_pip.py](https://bootstrap.pypa.io/get-pip.py) and run `python get_pip.py` in the folder you downloaded it to.\n\n## 3 Get the numerical (NumPy) and scientific (SciPy) python packages\nDepending on your specific system, environment and sheer luck, this step may be smooth and easy or long and tedious. We sincerely apologise if the latter applies to you - unfortunately it is out of our hands (we even tried to rewrite the code without any use of scipy, but it is just so darn useful..!). \nFirst, check if you already have scipy. Open a python terminal (either IDLE or by simply typing `python` in a command line window) and try: `import scipy`. If no error message was presented - you're in luck! Skip to step 4! \nNo luck..?\n\n### 3.1 Install NumPy\nWell, this is where things start to get a bit complicated. \nThere are many ways to install NumPy, and frankly I haven't seen one that works on all systems. If you're working on a **linux or linux-based system**, the best way IMHO is using `pip install numpy`. However, you will first need to install `python-dev`, `liblapack-dev` and `gfortran`, and if you don't have a suitable C/C++ compiler installed, you would need one of those as well. For me, on an **Ubuntu** system, the following two commands were sufficient:\n```\nsudo apt-get install python-dev liblapack-dev gfortran\nsudo pip install numpy\n```\nHowever, your results may vary (and if you're using another linux distribution, remember to replace `apt-get install` with the appropriate installation command, e.g. `yum install`). \nOn a **Windows** system, you may prefer to download pre-compiled NumPy from [this University of California page](http://www.lfd.uci.edu/~gohlke/pythonlibs/) and follow the instructions there; or you may choose to install [Visual C++ for Python 2.7](http://www.microsoft.com/en-us/download/details.aspx?id=44266) and use `pip install numpy` as you would on linux-based systems. \nOnce you chose your method and you think you have NumPy installed, open a python terminal and type `import numpy`. If no error message appears - you're finally done with this step, and almost ready to install _Kfits_ :)\n\n### 3.2 Install SciPy\nOnce you successfuly installed numpy, installing scipy should be a piece of cake. Whatever was your last step for installing numpy (e.g. `pip install numpy` or downloading from [the unofficial binaries page](http://www.lfd.uci.edu/~gohlke/pythonlibs/)) - do exactly the same for scipy. On linux-based systems, `sudo apt-get install python-scipy` may be your best bet. \nOnce you have scipy successfully installed, you should be able to type in `import scipy` in a python terminal and receive no error messages when you press ENTER.\n\n## 4 Download and Install *Kfits*\nFinally, everything is prepared and you can download and install *Kfits*. \nThere is more than one way to do this, and you may choose whichever you prefer. We think the first is the simplest and most straight-forward method, but really, feel free to use others. We won't be offended. Really.\n\n### *Via* pip\n```\npip install kfits\n```\nSeriously. That's it.\n\n### From source\nYou can download the source code of *Kfits* from [github](https://github.com/odedrim/kfits). Either clone it with git (go to a directory of your choice, type in `git clone https://github.com/odedrim/kfits`, and you'll have a subdirectory named `kfits` containing the source code) or download as ZIP and unzip it to a directory of your choice. \nOnce you have a directory which contains the source code of kfits, change dir (`cd`) to that directory and type `python setup.py install` or `sudo python setup.py install` (to install with root privileges on a linux-based system)... And you're done.\n\n### Precompiled Packages (binary distributions)\nWe will do our best to precompile binary packages for as many operating systems and environments as we can - but eventually we are just Biochemists in the academy, we don't really have access to that many different systems. \nThe binary distributions will be made available at [github](https://github.com/odedrim/kfits), in the [install directory](https://github.com/odedrim/kfits/tree/master/install). To install them, simply download the one best suited to your setup, and double click / run it to install.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/odedrim/kfits", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "kfits", "package_url": "https://pypi.org/project/kfits/", "platform": "", "project_url": "https://pypi.org/project/kfits/", "project_urls": { "Homepage": "https://github.com/odedrim/kfits" }, "release_url": "https://pypi.org/project/kfits/1.2.4/", "requires_dist": null, "requires_python": "", "summary": "Kinetics Fitting Software", "version": "1.2.4" }, "last_serial": 4336865, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "7c51aec39329006475e4277e5631d14d", "sha256": "ea9b81139db199aa36a44693d0bfce7ec3383d278b195a03c3b14d0ed21636a3" }, "downloads": -1, "filename": "kfits-1.0.tar.gz", "has_sig": false, "md5_digest": "7c51aec39329006475e4277e5631d14d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1628031, "upload_time": "2017-05-07T15:46:58", "url": "https://files.pythonhosted.org/packages/54/92/5fd4750eb2ba4873632da8f737b58dd56dbe965b465e47021fecabbab25d/kfits-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "c8c22d7af6d3a1b902ae0ed785a8b219", "sha256": "099f4b3bb942bac2377abe5bd429c843b77a4538af26c6fbf09fc3d24c2fa349" }, "downloads": -1, "filename": "kfits-1.1.tar.gz", "has_sig": false, "md5_digest": "c8c22d7af6d3a1b902ae0ed785a8b219", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1697830, "upload_time": "2017-08-08T15:23:59", "url": "https://files.pythonhosted.org/packages/33/dd/f40b1ec010e2a07a7019bb745d0986d10afd12aa1c268df7451694a39b83/kfits-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "ce40899d03323ac90e5750145fae02c7", "sha256": "c66b1431df362164739c30dae5aa9688948df7ae0a53d5f52e05fdb1b1527853" }, "downloads": -1, "filename": "kfits-1.2.tar.gz", "has_sig": false, "md5_digest": "ce40899d03323ac90e5750145fae02c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1698274, "upload_time": "2017-08-13T09:35:46", "url": "https://files.pythonhosted.org/packages/a6/fd/4c166b5c7c22a817fa2fa0e7c5b6784824ef3bd8de878cf36774977340ed/kfits-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "3f8ef7ec06ae37d1718f7bbcc93d67c0", "sha256": "02f2af9a25f99d29066ab161cef83f8250485b7e1d6b66d98807fd091957fdeb" }, "downloads": -1, "filename": "kfits-1.2.1.tar.gz", "has_sig": false, "md5_digest": "3f8ef7ec06ae37d1718f7bbcc93d67c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1698961, "upload_time": "2017-09-19T12:17:42", "url": "https://files.pythonhosted.org/packages/1f/c1/d11f38c897a4075581d8a3e2e3ca197d1ee4d84a8d89872b0946af3ddebb/kfits-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "6d8b2eb4658d8921f5e4a7e69ede24f6", "sha256": "2b659c19a64c9bdecbdc80fc6ca44ad760c0dd450a651c4b7c9b30ec0a04c95f" }, "downloads": -1, "filename": "kfits-1.2.2.tar.gz", "has_sig": false, "md5_digest": "6d8b2eb4658d8921f5e4a7e69ede24f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1698505, "upload_time": "2018-09-12T12:14:42", "url": "https://files.pythonhosted.org/packages/12/a2/0327dbe189150483f1dc493eb0fe02e4cc24d464073d4068c1f037a6ac8a/kfits-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "b7835d4fd6027ef71e19223bb420bbd1", "sha256": "e38fe3010a2b2a9e95dfcc3f76692b20af33b73c7a3eed72e9cc255104985488" }, "downloads": -1, "filename": "kfits-1.2.3.tar.gz", "has_sig": false, "md5_digest": "b7835d4fd6027ef71e19223bb420bbd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12781256, "upload_time": "2018-10-02T17:38:37", "url": "https://files.pythonhosted.org/packages/21/8a/54ddbf38b9cd30d23d2e4e14c41d51e38176aa8f0dc524b3524b627c0de7/kfits-1.2.3.tar.gz" } ], "1.2.4": [ { "comment_text": "", "digests": { "md5": "565e15fcaabce2cb7bb333a7afcc634d", "sha256": "febc997be10c602bb6a22cf92a4587933ae1c82c61e2ef2d50c4a42ab7217d9a" }, "downloads": -1, "filename": "kfits-1.2.4.tar.gz", "has_sig": false, "md5_digest": "565e15fcaabce2cb7bb333a7afcc634d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1700175, "upload_time": "2018-10-03T15:05:36", "url": "https://files.pythonhosted.org/packages/2b/43/6d16347cc8a60f9474e6667ca7ff09045e1d98200f0539042115d73d0b4a/kfits-1.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "565e15fcaabce2cb7bb333a7afcc634d", "sha256": "febc997be10c602bb6a22cf92a4587933ae1c82c61e2ef2d50c4a42ab7217d9a" }, "downloads": -1, "filename": "kfits-1.2.4.tar.gz", "has_sig": false, "md5_digest": "565e15fcaabce2cb7bb333a7afcc634d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1700175, "upload_time": "2018-10-03T15:05:36", "url": "https://files.pythonhosted.org/packages/2b/43/6d16347cc8a60f9474e6667ca7ff09045e1d98200f0539042115d73d0b4a/kfits-1.2.4.tar.gz" } ] }