RDG-Networks 0.0.1__tar.gz → 0.1.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.1
2
+ Name: RDG-Networks
3
+ Version: 0.1.1
4
+ Summary: Most of the code from the RDG Networks project
5
+ Home-page: https://github.com/NiekMooij/RDG_networks
6
+ Author: Niek Mooij
7
+ Author-email: mooij.niek@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ License-File: LICENSE.txt
12
+ Requires-Dist: networkx
13
+ Requires-Dist: numpy
14
+ Requires-Dist: scipy
15
+ Requires-Dist: shapely
16
+ Requires-Dist: typing
17
+
18
+ ## Overview
19
+
20
+ This Python package provides code regarding the RDG networks project.
21
+
22
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
23
+ [![Python Version](https://img.shields.io/badge/python-3.6%2B-blue.svg)](https://www.python.org/downloads/)
24
+
25
+ ## Table of Contents
26
+
27
+ - [Features](#features)
28
+ - [Installation](#installation)
29
+ - [Usage](#usage)
30
+ - [Configuration](#configuration)
31
+ - [License](#license)
32
+ - [Contact](#contact)
33
+
34
+ ## Features
35
+
36
+ - **generate_line_segments:** Function that determines the linesegments of a RDG network.
37
+ - **generate_line_network:** Function that makes the underlying network of the linesegments.
38
+ - **get_intersection_segments:** Function that determines the intersection segments of a RDG network.
39
+ - **draw_segments:** Function that draws the segments.
40
+
41
+
42
+ ## Installation
43
+ You can install the package using pip:
44
+
45
+ ```bash
46
+ pip install RDG-networks
47
+ ```
48
+
49
+ ## Usage
50
+ To use the package, import the relevant script from the functions folder based on the algorithm you'd like to apply.
51
+
52
+ ## Configuration
53
+ No specific configuration is required.
54
+
55
+ ## License
56
+ This package is distributed under the MIT license.
57
+
58
+ ## Contact
59
+ You can contact me at mooij.niek@gmail.com for any questions or suggestions.
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.1
2
+ Name: RDG-Networks
3
+ Version: 0.1.1
4
+ Summary: Most of the code from the RDG Networks project
5
+ Home-page: https://github.com/NiekMooij/RDG_networks
6
+ Author: Niek Mooij
7
+ Author-email: mooij.niek@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ License-File: LICENSE.txt
12
+ Requires-Dist: networkx
13
+ Requires-Dist: numpy
14
+ Requires-Dist: scipy
15
+ Requires-Dist: shapely
16
+ Requires-Dist: typing
17
+
18
+ ## Overview
19
+
20
+ This Python package provides code regarding the RDG networks project.
21
+
22
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
23
+ [![Python Version](https://img.shields.io/badge/python-3.6%2B-blue.svg)](https://www.python.org/downloads/)
24
+
25
+ ## Table of Contents
26
+
27
+ - [Features](#features)
28
+ - [Installation](#installation)
29
+ - [Usage](#usage)
30
+ - [Configuration](#configuration)
31
+ - [License](#license)
32
+ - [Contact](#contact)
33
+
34
+ ## Features
35
+
36
+ - **generate_line_segments:** Function that determines the linesegments of a RDG network.
37
+ - **generate_line_network:** Function that makes the underlying network of the linesegments.
38
+ - **get_intersection_segments:** Function that determines the intersection segments of a RDG network.
39
+ - **draw_segments:** Function that draws the segments.
40
+
41
+
42
+ ## Installation
43
+ You can install the package using pip:
44
+
45
+ ```bash
46
+ pip install RDG-networks
47
+ ```
48
+
49
+ ## Usage
50
+ To use the package, import the relevant script from the functions folder based on the algorithm you'd like to apply.
51
+
52
+ ## Configuration
53
+ No specific configuration is required.
54
+
55
+ ## License
56
+ This package is distributed under the MIT license.
57
+
58
+ ## Contact
59
+ You can contact me at mooij.niek@gmail.com for any questions or suggestions.
@@ -1,7 +1,7 @@
1
1
  import matplotlib.pyplot as plt
2
2
  from typing import List, Optional
3
3
 
4
- from Classes import LineSegment
4
+ from .Classes import LineSegment
5
5
 
6
6
  def draw_segments(segments: List[LineSegment], fig: Optional[plt.Figure] = None, ax: Optional[plt.Axes] = None) -> None:
7
7
  """
@@ -2,7 +2,7 @@ import networkx as nx
2
2
  import numpy as np
3
3
  from typing import List
4
4
 
5
- from Classes import LineSegment
5
+ from .Classes import LineSegment
6
6
 
7
7
  def generate_line_network(line_segments: List[LineSegment]) -> List[List[int]]:
8
8
  """
@@ -4,8 +4,8 @@ import numpy as np
4
4
  import random
5
5
  from typing import List, Tuple, Union
6
6
 
7
- from Classes import Line, LineSegment, Polygon
8
- from sample_in_polygon import sample_in_polygon
7
+ from .Classes import Line, LineSegment, Polygon
8
+ from .sample_in_polygon import sample_in_polygon
9
9
 
10
10
  def doLinesIntersect(line1: Line, line2: Line) -> Tuple[bool, Union[Tuple[float, float], None]]:
11
11
  """
@@ -1,7 +1,7 @@
1
1
  import numpy as np
2
2
  from typing import List, Tuple
3
3
 
4
- from Classes import LineSegment
4
+ from .Classes import LineSegment
5
5
 
6
6
  def order_points(points: List[Tuple[float, float]], segment_start: Tuple[float, float]) -> List[Tuple[float, float]]:
7
7
  """
@@ -2,10 +2,11 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='RDG-Networks',
5
- version='0.0.1',
5
+ version='0.1.1',
6
6
  author='Niek Mooij',
7
7
  author_email='mooij.niek@gmail.com',
8
8
  description='Most of the code from the RDG Networks project',
9
+ long_description=open('README.md').read(),
9
10
  url='https://github.com/NiekMooij/RDG_networks',
10
11
  classifiers=[
11
12
  'Programming Language :: Python :: 3',
@@ -1,16 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: RDG-Networks
3
- Version: 0.0.1
4
- Summary: Most of the code from the RDG Networks project
5
- Home-page: https://github.com/NiekMooij/RDG_networks
6
- Author: Niek Mooij
7
- Author-email: mooij.niek@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Operating System :: OS Independent
11
- License-File: LICENSE.txt
12
- Requires-Dist: networkx
13
- Requires-Dist: numpy
14
- Requires-Dist: scipy
15
- Requires-Dist: shapely
16
- Requires-Dist: typing
@@ -1,16 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: RDG-Networks
3
- Version: 0.0.1
4
- Summary: Most of the code from the RDG Networks project
5
- Home-page: https://github.com/NiekMooij/RDG_networks
6
- Author: Niek Mooij
7
- Author-email: mooij.niek@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Operating System :: OS Independent
11
- License-File: LICENSE.txt
12
- Requires-Dist: networkx
13
- Requires-Dist: numpy
14
- Requires-Dist: scipy
15
- Requires-Dist: shapely
16
- Requires-Dist: typing
File without changes
File without changes
File without changes