smart-translate 0.1.1__tar.gz → 0.1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smart-translate
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Rule-based and selective smart translation library
5
5
  Author-email: Onkar Nanavare <onkarnanavare007@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "smart-translate"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Rule-based and selective smart translation library"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1,8 +1,6 @@
1
- from .rules_loader import load_custom_rules
2
-
3
- # Load rules ONCE at import time
4
- CUSTOM_REPLACEMENTS = load_custom_rules()
1
+ # smart_translate/rules.py
5
2
 
3
+ CUSTOM_REPLACEMENTS = {}
6
4
 
7
5
  def apply_custom_rules(text, rules=None):
8
6
  if rules is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smart-translate
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Rule-based and selective smart translation library
5
5
  Author-email: Onkar Nanavare <onkarnanavare007@gmail.com>
6
6
  License: MIT