Skip to content

Commit c41dc17

Browse files
Merge pull request #6 from codeperfectplus/features/dev
Features/dev
2 parents 6f1d17f + 2aae414 commit c41dc17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1294
-1706
lines changed

.github/workflows/run-pytest.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.readthedocs.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,16 @@ build:
99
os: ubuntu-22.04
1010
tools:
1111
python: "3.12"
12-
# You can also specify other tool versions:
13-
# nodejs: "20"
14-
# rust: "1.70"
15-
# golang: "1.20"
1612

1713
# Build documentation in the "docs/" directory with Sphinx
1814
sphinx:
1915
configuration: docs/conf.py
20-
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
21-
# builder: "dirhtml"
22-
# Fail on all warnings to avoid broken references
23-
# fail_on_warning: true
2416

2517
# Optionally build your docs in additional formats such as PDF and ePub
2618
formats:
2719
- pdf
2820
- epub
2921

30-
# Optional but recommended, declare the Python requirements required
31-
# to build your documentation
32-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
3322
python:
3423
install:
3524
- requirements: docs/requirements.txt

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5-
## First Release
5+
## First Release Version 1.0.0 - 31-May-2024
66

7-
- initial features release with encoding and decoding
7+
- Initial release of the project.
8+
9+
## Second Release Version 1.1.0
10+
11+
- added new functionality
12+
- Function added to check if a given EAN-13 barcode is valid or not
13+
- Array validation multiple functions added
14+
15+
- documentation added
16+
- code refactored and code quality improved
17+
- test cases and test coverage added
18+
- bug fixes

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Validator.py
1+
# Contributing to Sanatio
22

33
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
44

@@ -21,7 +21,7 @@ We love your input! We want to make contributing to this project as easy and tra
2121
- Add a upstream link to main branch in your cloned repo
2222

2323
```sh
24-
git remote add upstream https://github.com/Py-Contributors/validator.py/
24+
git remote add upstream https://github.com/codeperfectplus/Sanatio/
2525
```
2626

2727
- Keep your cloned repo upto date by pulling from upstream (this will also avoid any merge conflicts while committing new changes)

ROADMAP.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Validator.py is simple python tool to validate Document/String/Number/Date/Email/Username/Password.
1+
Sanatio is simple python tool to validate Document/String/Number/Date/Email/Username/Password.
22

33
Currently it supports following Document validation: Few countries added in initial release. More countries will be added in future release.
44

create_table.py

Lines changed: 0 additions & 80 deletions
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
project = 'Sanatio'
44
author = 'Deeapk Raj'
5-
release = '1.0.0'
5+
release = '1.1.0'
66

77
extensions = [
88
'sphinx.ext.autodoc',

docs/date/date.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ The following functions are used to validate dates. They return a boolean value
55

66
.. code:: python
77
8-
from sanatio import Validator
8+
from sanatio import Sanatio
99
10-
val = Validator()
10+
val = Sanatio()
1111
1212
:code:`IsDate()` Returns true if the value is a valid date.
1313
args: value

docs/document/aadhar_card.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ aadhar card is 12 digit number.
77

88
.. code:: python
99
10-
from sanatio import Validator
10+
from sanatio import Sanatio
1111
12-
val = Validator()
12+
val = Sanatio()
1313
1414
:code:`isAadharCard(value)` - check if the value is a valid aadhar card number.
1515
>>> val.isAadharCard('9284 9436 2499')

docs/document/card.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ boolean value.
77

88
.. code:: python
99
10-
from sanatio import Validator
10+
from sanatio import Sanatio
1111
12-
val = Validator()
12+
val = Sanatio()
1313
1414
:code:`isCreditCard(value)` - Checks if the value is a valid credit card number.
1515

0 commit comments

Comments
 (0)