Skip to main content

Angola

Angola

API

  • db
  • xql_to_aql
  • parse_dict_mutations
  • gen_xid
  • Collection
  • CollectionItem
  • CollectionActiveRecordMixin

Connection

import angola

#--- connect
db = angola.db(hosts="http://host:8529", username="root", password:str)

#--- select collection
coll = db.select_collection('test')

#--- insert item
coll.insert({k:v, ...})

#--- insert item with custom _key
coll.insert({k:v,...}, _key='awesome')


Query

  {
    "_modified_at:$datetime": "+2hh"
  }

Format:

YYYY: Year
MM: Month
DD: Date
HH: Hour
mm: Min
ss: seconds

ISODATE: YYYY-MM-DDTHH:mm:ss

$AND and $OR

filters = {

  "$or": [
    { // query between dates
      "_created_at:$lt": "@@CURRDATE() -2days",
      "_created_at:$gt": "@@CURRDATE() +2days"
    }
  ]
}

Insert

Update

Delete

Collection

SubCollection

Operators

Custom Operators

Metadata

Release files for angola 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for angola 0.17.0
File Size Uploaded
angola-0.17.0.tar.gz 39.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for angola 0.17.0
File Interpreter ABI Platform
angola-0.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.3 kB

Release files / angola-0.17.0.tar.gz

Download URL angola-0.17.0.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
41b525999588e75d01e6501c169ade16d119c8100000bd0f76cd0595c74e585d
BLAKE2b-256 checksum
How to use checksums
e147cd159646587ff8fc681742edb9c43a7ee5131c2f73cc6df23aee683aa1e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / angola-0.17.0-py3-none-any.whl

Download URL angola-0.17.0-py3-none-any.whl
Size 40.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
578e2e0ee3707029ec3f99183e59705874f1479e9251ed6b64b071b8ff8c2814
BLAKE2b-256 checksum
How to use checksums
d6f9373965ca04975efbeae6b282cddcc7dc8d3b447a6f593b27479c35ffcdda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.17.0 This release

2 release files

0.14.4

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.5

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.9

2 release files

0.10.8

2 release files

0.10.7

2 release files

0.10.6

2 release files

0.10.5

2 release files

0.10.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page