articlib 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of articlib might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: articlib
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Small set of tools and utilities in python. Destined to be use in my personal projects.
5
5
  License: MIT
6
6
  Author: Artic42
@@ -1,4 +1,5 @@
1
1
  import os
2
+ import shutil
2
3
 
3
4
  def deleteFile(path):
4
5
  os.remove(path)
@@ -6,6 +7,9 @@ def deleteFile(path):
6
7
  def createFile(path):
7
8
  file = open (path, "r")
8
9
  file.close()
10
+
11
+ def copyFile(source, destination):
12
+ shutil.copy(source, destination)
9
13
 
10
14
  def fileExists(path):
11
15
  return os.path.isfile(path)
@@ -1,4 +1,4 @@
1
- import dateTime
1
+ import articlib.dateTime as dateTime
2
2
  import os
3
3
 
4
4
  if __name__ == "__main__":
@@ -1,6 +1,6 @@
1
1
  import sqlite3
2
- import articLogger as Logger
3
- from articLogger import log
2
+ import articlib.articLogger as Logger
3
+ from articlib.articLogger import log
4
4
 
5
5
  class sqliteEngine:
6
6
  def __init__(self, dbPath):
@@ -1,5 +1,5 @@
1
- import articLogger as logger
2
- from consoleUtils import printRed, printGreen, printYellow, printMagenta, printGreenBold, printRedBold
1
+ import articlib.articLogger as logger
2
+ from articlib.consoleUtils import printRed, printGreen, printYellow, printMagenta, printGreenBold, printRedBold
3
3
 
4
4
  class testEngine:
5
5
  def __init__(self):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "articlib"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "Small set of tools and utilities in python. Destined to be use in my personal projects."
5
5
  authors = ["Artic42 <engineer@artic42.com>"]
6
6
  license = "MIT"
File without changes
File without changes
File without changes
File without changes