{
"info": {
"author": "BlueDynamics Alliance",
"author_email": "dev@bluedynamics.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Framework :: Zope :: 2",
"Framework :: Zope :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development"
],
"description": "Query a daterange on objects with a daterange.\n\nExample: You want all events within a date range of next two weeks, neither if \nthe event has started one week ago nor ends one week later - or both.\n\nConsider objects with a daterange start and end. \nUse this addon to query all objects inside a query-start and query-end range, \nwhere either or both of objects start and end match the query range.\n\nThis index is possibly the fastest way to solve the problem, it solves it as an \nzope index and works direct with the catalogs fast IISets (or IFSets). Its much \nfaster than formerly used classical catalog-query post-processing.\n\nThere are two types of indexes available: \n\n- ``Products.ZCatalog`` (Zope 2) compatible\n\n- ``zope.catalog`` (Zope (3) framework) compatible\n\nThe index acts as an proxy for a more complex query on two indexes (DateIndex \non ZCatalog or FieldIndex on zope.catalog). It utilize the other indexes and \ndoes not store any index-data itself.\n\nTo illustrate this a query example on ZCatalog)::\n\n >>> result = zcatalog.search({'myindex': {'start':'2000-10-01 00:00',\n ... 'end':'2010-10-31 23:59'} })\n\nor a query example on zope.catalog::\n\n >>> query = catalog.apply({'myindex': (datetime(2000, 10, 01, 00, 00'), \n ... datetime(2010, 10, 31, 23, 59'))})\n\nThis will find objects (consider start is always before end date): \n\n1) where start date is before 2000-10-01 and end date is after 2010-10-31.\n2) where start date is between 2000-10-01 and 2010-10-31.\n3) where end date is between 2000-10-01 and 2010-10-31.\n4) where both are between 2000-10-01 and 2010-10-31.\n\nASCII-Art of the above (q=query, e=event)::\n\n Q) q_start|--------------------|q_end\n\n 1) e_start|---------------------------|e_end\n\n 2) e_start|---------------|e_end\n\n 3) e_start|-----------------|e_end\n\n 4) e_start|-----|e_end\n\nIt's also possible to configure this indexer through XML. Add a\n``catalog.xml`` to your profile with the following settings::\n\n\t\n\t\n\nThe ``startindex`` and ``endindex`` nodes define the indexes for the\nstart and end fields of this DateRangeInRangeIndex.\n\nSource Code\n===========\n\nThe sources are in a GIT DVCS with its main branches at \n`github `_.\n\nWe'd be happy to see many commits, forks and pull-requests to make \nDateRangeInRangeIndex even better.\n\nContributors\n============\n\n- Jens W. Klein \n- Zal\u00e1n Somogyv\u00e1ry [SyZn]\n\nHistory\n=======\n\n2.0.1 (2019-03-21)\n------------------\n\n- Fix exportimport.py (GenericSetup) for Python 3 and add Python 3.7 to test matrix\n [MrTango]\n\n\n2.0 (2018-07-12)\n----------------\n\n- Add support for ``Products.ZCatalog >= 4`` while dropping support for older\n versions. [icemac, 2018-07-11]\n\n- Add support for Python 3.5 and Python 3.6 on Zope 4. While dropping support\n for older Zope versions. [icemac, 2018-07-11]\n\n- Remove dependency from `Globals` for Zope 4 compat. [sallner, 2017-08-21]\n\n- some code cleanup [jensens, 2016-06-14]\n\n1.3\n---\n\n- added support for generic setup [SyZn, 2014-01-16]\n\n1.2\n---\n\n- added zope.catalog compatible index. [jensens, 2012-04-12]\n\n1.1\n---\n\n- eggification and release at pypi [jensens, 2011-03-08]\n\n1.0\n---\n\n- final release as Zope Product [jensens, 2007-08-29]\n\n\nLicense\n=======\n\nCopyright (c) 2007-2016, BlueDynamics Alliance, Austria\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice, this\n list of conditions and the following disclaimer in the documentation and/or\n other materials provided with the distribution.\n* Neither the name of the BlueDynamics Alliance nor the names of its\n contributors may be used to endorse or promote products derived from this\n software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY BlueDynamics Alliance ``AS IS`` AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BlueDynamics Alliance BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/collective/Products.DateRangeInRangeIndex",
"keywords": "date start end range query zope index catalog overlap",
"license": "Simplified BSD",
"maintainer": "",
"maintainer_email": "",
"name": "Products.DateRangeInRangeIndex",
"package_url": "https://pypi.org/project/Products.DateRangeInRangeIndex/",
"platform": "",
"project_url": "https://pypi.org/project/Products.DateRangeInRangeIndex/",
"project_urls": {
"Homepage": "https://github.com/collective/Products.DateRangeInRangeIndex"
},
"release_url": "https://pypi.org/project/Products.DateRangeInRangeIndex/2.0.1/",
"requires_dist": [
"AccessControl",
"Products.ZCatalog (>=4.0a2)",
"Zope",
"setuptools",
"zope.catalog",
"Products.GenericSetup; extra == 'gs'",
"interlude; extra == 'test'"
],
"requires_python": "",
"summary": "Zope index to query a daterange on objects with a daterange",
"version": "2.0.1"
},
"last_serial": 4966873,
"releases": {
"1.1": [
{
"comment_text": "",
"digests": {
"md5": "2ba7b4a5201549a2c620bf20a48c307b",
"sha256": "48f174a85709e32abe4942c34af774a7ecd146bcd56f651d44ebcff001f52864"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-1.1.tar.gz",
"has_sig": false,
"md5_digest": "2ba7b4a5201549a2c620bf20a48c307b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9911,
"upload_time": "2011-03-08T15:38:45",
"url": "https://files.pythonhosted.org/packages/5a/b2/3c38918e5bce1cc1cb1d9d75509b173d3e583e69c2a8beba9f02cb5595b4/Products.DateRangeInRangeIndex-1.1.tar.gz"
}
],
"1.2": [
{
"comment_text": "",
"digests": {
"md5": "5f19d337e679e856d5732e3153999c4e",
"sha256": "f077800f8569638689873eeaa934f540fcb80081bf5825fb475e1d72bd9b91bd"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-1.2.tar.gz",
"has_sig": false,
"md5_digest": "5f19d337e679e856d5732e3153999c4e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11687,
"upload_time": "2012-09-01T13:28:44",
"url": "https://files.pythonhosted.org/packages/06/b5/57af75a7c00185ba8b9d2a8460146fa42be8c5814e1c94bd03f36be0a467/Products.DateRangeInRangeIndex-1.2.tar.gz"
}
],
"1.3": [
{
"comment_text": "",
"digests": {
"md5": "5d0f61625664bd9984be7251122aa344",
"sha256": "1ff6d6792173fa9d96c271de7c39c17c50b5dcb9c3bc29a4c20662fed2da24b2"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-1.3.tar.gz",
"has_sig": false,
"md5_digest": "5d0f61625664bd9984be7251122aa344",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11311,
"upload_time": "2014-01-16T14:03:49",
"url": "https://files.pythonhosted.org/packages/bc/f6/60a3325946198ae5e6606b1f51fe3d7983fe130bb5ace4eae8146dad9fa4/Products.DateRangeInRangeIndex-1.3.tar.gz"
}
],
"1.4": [
{
"comment_text": "",
"digests": {
"md5": "c4259d8f092b8000abf1c39d0670706f",
"sha256": "19b3998dc7ec7870a783384439aec7a4f3c58531350636f2ee5dcddfd126d0e4"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-1.4.tar.gz",
"has_sig": false,
"md5_digest": "c4259d8f092b8000abf1c39d0670706f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13650,
"upload_time": "2017-09-08T12:41:09",
"url": "https://files.pythonhosted.org/packages/01/c2/f64ebd805790ffdacb36132ccac29038ff01bdc9e4660938156b92442613/Products.DateRangeInRangeIndex-1.4.tar.gz"
}
],
"2.0": [
{
"comment_text": "",
"digests": {
"md5": "aa46c386b29239f3ae6241033201ffe1",
"sha256": "6255a2772059c9b4e70f1059d2d6ad77824b621a643ffc5855556ae05cda4f74"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-2.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "aa46c386b29239f3ae6241033201ffe1",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 18860,
"upload_time": "2018-07-12T07:29:20",
"url": "https://files.pythonhosted.org/packages/ed/ef/e9566d1d0c3c8ad53a75524589ea43dceb35cc86ab393200010ea66613d1/Products.DateRangeInRangeIndex-2.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "8e69f6ef8c0865b7491f65a9a8e8d4ee",
"sha256": "f53abde31af90e7802f2b4907294c67ae42f2b16e11edf5ab22df22c8673be33"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-2.0.tar.gz",
"has_sig": false,
"md5_digest": "8e69f6ef8c0865b7491f65a9a8e8d4ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14011,
"upload_time": "2018-07-12T07:29:22",
"url": "https://files.pythonhosted.org/packages/68/91/80147b50fe706ac74f753d24123743b3570beeee49c5b5828a168912214f/Products.DateRangeInRangeIndex-2.0.tar.gz"
}
],
"2.0.1": [
{
"comment_text": "",
"digests": {
"md5": "a5fedb186a9e4082296c43015185b415",
"sha256": "047f757f4a21646fa4c332e2c9ca466ced3cab9766354aa9b8ac42e0a96525af"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-2.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5fedb186a9e4082296c43015185b415",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 19049,
"upload_time": "2019-03-21T07:19:28",
"url": "https://files.pythonhosted.org/packages/08/9e/9904a852b0affb0da120f1ead82d1e7274307fc24619dd3b36c581efbb5f/Products.DateRangeInRangeIndex-2.0.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "d7e07f2bf7458f1792b2c11aee5a151a",
"sha256": "5097aa5ebf86cb54b61e2484f8620c911e62a1d3b5f723113dcf856a0bd832d8"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d7e07f2bf7458f1792b2c11aee5a151a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14245,
"upload_time": "2019-03-21T07:19:30",
"url": "https://files.pythonhosted.org/packages/85/c3/417d2e541e28032f24d502cbdfcdb3e62d48c5e7ce6a8ae2fccf1c4ab16c/Products.DateRangeInRangeIndex-2.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "a5fedb186a9e4082296c43015185b415",
"sha256": "047f757f4a21646fa4c332e2c9ca466ced3cab9766354aa9b8ac42e0a96525af"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-2.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5fedb186a9e4082296c43015185b415",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 19049,
"upload_time": "2019-03-21T07:19:28",
"url": "https://files.pythonhosted.org/packages/08/9e/9904a852b0affb0da120f1ead82d1e7274307fc24619dd3b36c581efbb5f/Products.DateRangeInRangeIndex-2.0.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "d7e07f2bf7458f1792b2c11aee5a151a",
"sha256": "5097aa5ebf86cb54b61e2484f8620c911e62a1d3b5f723113dcf856a0bd832d8"
},
"downloads": -1,
"filename": "Products.DateRangeInRangeIndex-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d7e07f2bf7458f1792b2c11aee5a151a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14245,
"upload_time": "2019-03-21T07:19:30",
"url": "https://files.pythonhosted.org/packages/85/c3/417d2e541e28032f24d502cbdfcdb3e62d48c5e7ce6a8ae2fccf1c4ab16c/Products.DateRangeInRangeIndex-2.0.1.tar.gz"
}
]
}