Skip to main content

populse_db

Project description

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
  • python-dateutil
  • sphinx
  • psycopg2

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

populse_db-2.6.0.tar.gz (47.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

populse_db-2.6.0-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file populse_db-2.6.0.tar.gz.

File metadata

  • Download URL: populse_db-2.6.0.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for populse_db-2.6.0.tar.gz
Algorithm Hash digest
SHA256 1827c8da1240ba6d3a4bbe1b40ab51e92c1ebe2d7912bdd0beb5254a01422d2e
MD5 07ce55019133abf38725737d15096365
BLAKE2b-256 aef19b10749be94ed74df93837b1ce29d65564bfb6f6ae0b496ffba9c8a13a2f

See more details on using hashes here.

File details

Details for the file populse_db-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: populse_db-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for populse_db-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca47234c5ba4c9533add05217bd4b68fb23eacdd048c9fca8c38816504954823
MD5 95a2f339a68eff65b139e79007cd92ea
BLAKE2b-256 3e65b37b2903997ce2859a0b24f83799c3b45b821bf79e67faf2084af5c469b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page