{ "info": { "author": "Mayur Dave", "author_email": "mdave3927@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Education", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "# charc_math\n\nThis started out as a private collection of maths functions, many will be quite simple. Over time I've got quite a few, and I thought it should be shared. Nothing is too complicated - I hope.\n\n__tl;dr__ Maths functions.\n\n## Code Example\n\n```Python\nimport charc_math as c\n\nprint c.primes(10):\n#Output [2, 3, 5, 7] \n```\n\nEach function comes with a suffiecient docstring, including what arguments it takes and what it returns.\n\n## Motivation\n\nEach function here has at some point been written and used by me to solve various maths problems, from ProjectEuler, to PythonChallenge, to my own recreational maths work.\n\n## Installation\n\n```Bash\nsudo pip install charc_math\n```\n\n```Python\nimport charc_math\n# as you normally would...\n```\n\n## Tests\n\nEach one has gone through a decent amount of testing before finally being put into this proper collection. If you find any bugs contact me at the email provided and I'll look into it.\n\n```Python\ndef test_primes():\n\tassert_equal(primes(100),[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97])\n\tassert_equal(primes(2),[2])\n\tassert_equal(primes(-10),[])\n\tassert_equal(primes(1),[])\n```\n\n## Contributors\n\nSo far just me. I'd like to thank any of my friends who will have without a doubt readover at least one of these files just to make sure it has no typos or anything else stupid.\n\n## License\n\nMIT.\n__Basically__ I don't care what you do with the code so long as you:\n\n- [ ] don't ~~try to pass it off as your own~~ _(lol, I know just how basic it is.)_\n- [x] give me credit\n\n##TODO\n\n- [ ] Finish porting all of this from everywhere into one place\n- [ ] Work on more common maths functions\n- [ ] Speed - _not the drug or the film_\n- [x] Sort out the README page\n- [ ] ???\n\nContact me if you want to add more things to that list.\n\n#### Known Bugs\nEach bug I find is with the function, but still a general list for those unwilling to read (including me)\n- isAP is ~~not very numerically accurate~~ better now.\n- isGP is not at all numerically accurate, this needs lots of work and fixing", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Charc248/charc_math", "keywords": "math,charc,simple", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "charc_math", "package_url": "https://pypi.org/project/charc_math/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/charc_math/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Charc248/charc_math" }, "release_url": "https://pypi.org/project/charc_math/1.1/", "requires_dist": null, "requires_python": null, "summary": "Private collection of math functions", "version": "1.1" }, "last_serial": 2213147, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "52cc7a7f85388cd101d39e5f4ef16515", "sha256": "cdb4b42fc8f96ddb1333be7290249e2b7ff1b9c71b9d8deb764da98f61244978" }, "downloads": -1, "filename": "charc_math-1.1.tar.gz", "has_sig": false, "md5_digest": "52cc7a7f85388cd101d39e5f4ef16515", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5516, "upload_time": "2016-07-10T21:39:06", "url": "https://files.pythonhosted.org/packages/1c/43/b2a0df30de04844013dff06f5d97426df5d532f275391ff6e2e8ffd79091/charc_math-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52cc7a7f85388cd101d39e5f4ef16515", "sha256": "cdb4b42fc8f96ddb1333be7290249e2b7ff1b9c71b9d8deb764da98f61244978" }, "downloads": -1, "filename": "charc_math-1.1.tar.gz", "has_sig": false, "md5_digest": "52cc7a7f85388cd101d39e5f4ef16515", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5516, "upload_time": "2016-07-10T21:39:06", "url": "https://files.pythonhosted.org/packages/1c/43/b2a0df30de04844013dff06f5d97426df5d532f275391ff6e2e8ffd79091/charc_math-1.1.tar.gz" } ] }