Skip to main content

Small set of tools and utilities in python. Destined to be use in my personal projects.

Project description

pythonLib

This is my personal general case python modules and apps to be used in other projects

testEngine

Test engine is a simple module with the propose of running automated test, this allows to create test for the rest of the library easily. Test are separated in scenario, once a test in a scenario fail the rest of the scenario is skipped. It also outputs using colored test with errors in red and pass test in green. It has the following methods:

  • testIfEqual
  • testIfFalse
  • testIfEqual
  • testIfNotEqual
  • ...

dateTime

Library to manage dates for other proposes.

Public methods for setting dates

  • setToNow
  • setTo (year, month, day, hour, minute, second)
  • setToString (string)
  • setMode (mode)
    • mode1: YYYYMMDD
    • mode2: DDMMYYYY
    • mode3: MMDDYYYY

Public methods to get values from the object

  • getDate
  • getTime
  • getDateTime
  • getYear
  • getMonth
  • getDay
  • getHour
  • getMinute
  • getSecond
  • getMode
  • getDateTimePathFomat (It prints the date and time in a format usable in paths, for files)

Log

A simple log system, it creates a log iwth 7 mask levels and a maximun size of file. If you log more lines than max it creates a new log file. Available masks

  • INFO_MASK
  • WARN_MASK
  • ERROR_MASK
  • COMMS_SEND_MASK
  • COMMS_RECV_MASK
  • HERMES_MASK000
  • COMMS_MASK
  • DEBUG_MASK

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

articlib-0.2.6.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

articlib-0.2.6-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file articlib-0.2.6.tar.gz.

File metadata

  • Download URL: articlib-0.2.6.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.9 Linux/6.17.11-200.fc42.x86_64

File hashes

Hashes for articlib-0.2.6.tar.gz
Algorithm Hash digest
SHA256 5a799c89b0600d7714a9ce8e7f7ac32410c8a2109768e780fb032550130c5438
MD5 4046f6c7fcd791171fa0b7f3274ec4f4
BLAKE2b-256 fec5acdcbeba5063058d6fdbb31235a3834ebdea2dd68f7f7a3acbaa38bc02b9

See more details on using hashes here.

File details

Details for the file articlib-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: articlib-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.9 Linux/6.17.11-200.fc42.x86_64

File hashes

Hashes for articlib-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 63ad7e412fa0e5bcc5d20ee0bbe4ca1c5b5cebf15c9121326644e8eed0a66c91
MD5 c715f026f4714ccca43dbae241b49ea9
BLAKE2b-256 a8e9256ad2eed8a752dac4e86d7e1fa965845210e9163b6290dfd085da3de20b

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