Skip to main content

populse_db

Build status codecov

Database API for Populse

Documentation

The documentation is available on populse_db's website

Installation

From PyPI:

# A compatible version of Python and Pip must be installed

To install pip:
sudo apt-get install python-pip # Python2
sudo apt-get install python3-pip # Python3

# To install the module:
sudo pip install populse-db # Beware that it is the Pip version corresponding to the good Python version
sudo pipx.x install populse-db # With a precise Pip version
sudo pythonx.x -m pip install populse-db # With a precise Python version

From source:

# A compatible version of Python must be installed
sudo apt-get install git
git clone https://github.com/populse/populse_db.git /tmp/populse_db
cd /tmp/populse_db
sudo python setup.py install # Beware that it is the good Python version (use pythonx.x to be sure)
cd /tmp
sudo rm -r /tmp/populse_db

Usage

import populse_db
from populse_db.database import Database
import populse_db.database

Tests

Unit tests written thanks to the python module unittest

Continuous integration made with Travis (Linux, OSX), and AppVeyor (Windows)

Code coverage calculated by the python module codecov

The module is ensured to work with Python 2.7 and Python >= 3.4

The module is ensured to work on the platforms Linux, OSX and Windows

The script of tests is python/populse_db/test.py, so the following command launches the tests:

python test.py (if python/populse_db/ directory has been added to $PATH, or if $PWD in the terminal)

python python/populse_db/test.py (from populse_db root folder)

python -m populse_db.test

Requirements

  • lark-parser
  • python-dateutil
  • sphinx
  • psycopg2
  • SQLite version > 3.38.0

Other packages used

  • ast
  • copy
  • datetime
  • hashlib
  • operator
  • os
  • re
  • six
  • tempfile
  • types
  • unittest

License

The whole populse project is open source

Populse_db is precisely released under the CeCILL-B software license

You can find all the details on the license here, or refer to the license file here

Metadata

Release files for populse-db 3.0.19

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

Source distribution (sdist)

Source distribution for populse-db 3.0.19
File Size Uploaded
populse_db-3.0.19.tar.gz 52.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for populse-db 3.0.19
File Interpreter ABI Platform
populse_db-3.0.19-py3-none-any.whl Python 3 none any Details

Total release size: 110.0 kB

Release files / populse_db-3.0.19.tar.gz

Download URL populse_db-3.0.19.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33bcc1cce34f70df662c07103fd471fc186c5a6f562accf1733e9c368be3c106
BLAKE2b-256 checksum
How to use checksums
d5109b299c2003106b0a2e6c843c1f87cde316601d6012537be7749ffae3cec8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / populse_db-3.0.19-py3-none-any.whl

Download URL populse_db-3.0.19-py3-none-any.whl
Size 57.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
777697fdace2de36d08bf38653bb91650802d1cb77b751f38b87bd325d52a8f1
BLAKE2b-256 checksum
How to use checksums
947e417ab832651d6bab01dba9292f3b3604f936aadb2443d6624228c5ee6ea0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

3.0.19 This release

2 release files

3.0.7

2 release files

3.0.6

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

2.6.0

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

1.5.0

2 release files

1.1.3

1 release file

1.1.2

2 release files

1.1.1

2 release files

1.0.1

2 release files

1.0.0

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