Skip to content

Commit

Permalink
Prepare release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rpodola committed Jul 19, 2020
1 parent bbfe6bf commit f369928
Show file tree
Hide file tree
Showing 22 changed files with 14 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
interpret = python3.6
interpret = python3
trg = cevast/ tests/test_*
max_line_len = 127

Expand Down
2 changes: 1 addition & 1 deletion cevast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
.. include:: ../README.md
"""

__version__ = '0.1'
__version__ = '1.0'
__author__ = 'Radim Podola'
2 changes: 1 addition & 1 deletion cevast/analysis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""This package contains analytical functions and tools for quantitative analysis of certificate datasets."""

__version__ = '0.1'
__version__ = '1.0'
__author__ = 'Radim Podola'
__all__ = (
'CertAnalyser',
Expand Down
2 changes: 1 addition & 1 deletion cevast/certdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'CompositeCertDB',
'CompositeCertDBReadOnly',
)
__version__ = '0.1'
__version__ = '1.0'
__author__ = 'Radim Podola'

from .cert_db import CertNotAvailableError, CertInvalidError, CertDB, CertDBReadOnly
Expand Down
2 changes: 1 addition & 1 deletion cevast/dataset/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'DatasetManager',
'DatasetManagerTask',
]
__version__ = '0.1'
__version__ = '1.0'
__author__ = 'Radim Podola'

from .dataset import (
Expand Down
2 changes: 1 addition & 1 deletion cevast/dataset/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __agregate(file):

with open(file) as f:
header = f.readline().split(',')

cntrs = [Counter() for _ in range(len(header) - 2)] # methods only
for line in f.readlines():
els = [res.strip() for res in line.split(',')]
Expand Down
1 change: 0 additions & 1 deletion cevast/dataset/collectors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""This package provides tools for collecting certificate datasets."""

__all__ = ['RapidCollector']
__version__ = '0.1'
__author__ = 'Radim Podola'

from .rapid import RapidCollector
1 change: 0 additions & 1 deletion cevast/dataset/filters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""This package provides tools for certificate datasets filtering."""

__all__ = []
__version__ = '0.1'
__author__ = 'Radim Podola'
1 change: 0 additions & 1 deletion cevast/dataset/managers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"""

__all__ = ['DatasetManager', 'DatasetManagerTask', 'RapidDatasetManager']
__version__ = '0.1'
__author__ = 'Radim Podola'

from .manager import DatasetManager, DatasetManagerTask
Expand Down
1 change: 0 additions & 1 deletion cevast/dataset/unifiers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""This package provides tools for unification of certificate datasets."""

__all__ = ['RapidUnifier']
__version__ = '0.1'
__author__ = 'Radim Podola'

from .rapid import RapidUnifier
2 changes: 1 addition & 1 deletion cevast/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'remove_empty_folders',
'directory_with_prefix',
)
__version__ = '0.1'
__version__ = '1.0'
__author__ = 'Radim Podola'

from .cert_utils import validate_PEM, BASE64_to_PEM, make_PEM_filename
Expand Down
2 changes: 1 addition & 1 deletion docs/analysis/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="title">Module <code>cevast.analysis</code></h1>
</summary>
<pre><code class="python">&#34;&#34;&#34;This package contains analytical functions and tools for quantitative analysis of certificate datasets.&#34;&#34;&#34;

__version__ = &#39;0.1&#39;
__version__ = &#39;1.0&#39;
__author__ = &#39;Radim Podola&#39;
__all__ = (
&#39;CertAnalyser&#39;,
Expand Down
2 changes: 1 addition & 1 deletion docs/certdb/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1 class="title">Module <code>cevast.certdb</code></h1>
&#39;CompositeCertDB&#39;,
&#39;CompositeCertDBReadOnly&#39;,
)
__version__ = &#39;0.1&#39;
__version__ = &#39;1.0&#39;
__author__ = &#39;Radim Podola&#39;

from .cert_db import CertNotAvailableError, CertInvalidError, CertDB, CertDBReadOnly
Expand Down
2 changes: 1 addition & 1 deletion docs/dataset/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1 class="title">Module <code>cevast.dataset.cli</code></h1>

with open(file) as f:
header = f.readline().split(&#39;,&#39;)

cntrs = [Counter() for _ in range(len(header) - 2)] # methods only
for line in f.readlines():
els = [res.strip() for res in line.split(&#39;,&#39;)]
Expand Down
1 change: 0 additions & 1 deletion docs/dataset/collectors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ <h1 class="title">Module <code>cevast.dataset.collectors</code></h1>
<pre><code class="python">&#34;&#34;&#34;This package provides tools for collecting certificate datasets.&#34;&#34;&#34;

__all__ = [&#39;RapidCollector&#39;]
__version__ = &#39;0.1&#39;
__author__ = &#39;Radim Podola&#39;

from .rapid import RapidCollector</code></pre>
Expand Down
1 change: 0 additions & 1 deletion docs/dataset/filters/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ <h1 class="title">Module <code>cevast.dataset.filters</code></h1>
<pre><code class="python">&#34;&#34;&#34;This package provides tools for certificate datasets filtering.&#34;&#34;&#34;

__all__ = []
__version__ = &#39;0.1&#39;
__author__ = &#39;Radim Podola&#39;</code></pre>
</details>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/dataset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1 class="title">Module <code>cevast.dataset</code></h1>
&#39;DatasetManager&#39;,
&#39;DatasetManagerTask&#39;,
]
__version__ = &#39;0.1&#39;
__version__ = &#39;1.0&#39;
__author__ = &#39;Radim Podola&#39;

from .dataset import (
Expand Down
1 change: 0 additions & 1 deletion docs/dataset/managers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ <h1 class="title">Module <code>cevast.dataset.managers</code></h1>
&#34;&#34;&#34;

__all__ = [&#39;DatasetManager&#39;, &#39;DatasetManagerTask&#39;, &#39;RapidDatasetManager&#39;]
__version__ = &#39;0.1&#39;
__author__ = &#39;Radim Podola&#39;

from .manager import DatasetManager, DatasetManagerTask
Expand Down
1 change: 0 additions & 1 deletion docs/dataset/unifiers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ <h1 class="title">Module <code>cevast.dataset.unifiers</code></h1>
<pre><code class="python">&#34;&#34;&#34;This package provides tools for unification of certificate datasets.&#34;&#34;&#34;

__all__ = [&#39;RapidUnifier&#39;]
__version__ = &#39;0.1&#39;
__author__ = &#39;Radim Podola&#39;

from .rapid import RapidUnifier</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2 id="authors">Authors</h2>
.. include:: ../README.md
&#34;&#34;&#34;

__version__ = &#39;0.1&#39;
__version__ = &#39;1.0&#39;
__author__ = &#39;Radim Podola&#39;</code></pre>
</details>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/utils/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1 class="title">Module <code>cevast.utils</code></h1>
&#39;remove_empty_folders&#39;,
&#39;directory_with_prefix&#39;,
)
__version__ = &#39;0.1&#39;
__version__ = &#39;1.0&#39;
__author__ = &#39;Radim Podola&#39;

from .cert_utils import validate_PEM, BASE64_to_PEM, make_PEM_filename
Expand Down
2 changes: 1 addition & 1 deletion tests/test_certdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_setup(self):
new_loc = os.path.join(self.TEST_STORAGE, 'new')
os.makedirs(new_loc)
shutil.move(
os.path.join(self.TEST_STORAGE, CertFileDBReadOnly.CONF_FILENAME),
os.path.join(self.TEST_STORAGE, CertFileDBReadOnly.CONF_FILENAME),
os.path.join(new_loc, CertFileDBReadOnly.CONF_FILENAME)
)
assert os.path.exists(os.path.join(new_loc, CertFileDBReadOnly.CONF_FILENAME))
Expand Down

0 comments on commit f369928

Please sign in to comment.