Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve #334

Open
wants to merge 70 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
a21d159
comment
jaiwiwjwjwisn May 2, 2024
77e61df
comment
jaiwiwjwjwisn May 2, 2024
33bd8a4
comment
jaiwiwjwjwisn May 2, 2024
02544b2
comment
jaiwiwjwjwisn May 2, 2024
c25de91
comment
jaiwiwjwjwisn May 2, 2024
99b223e
comment
jaiwiwjwjwisn May 2, 2024
55f5083
comment
jaiwiwjwjwisn May 2, 2024
48e8133
comment
jaiwiwjwjwisn May 2, 2024
200b448
improve
jaiwiwjwjwisn May 2, 2024
7cc9028
comment
jaiwiwjwjwisn May 2, 2024
824623c
comment
jaiwiwjwjwisn May 2, 2024
15ff6d8
comment
jaiwiwjwjwisn May 2, 2024
d1b87ab
comment
jaiwiwjwjwisn May 2, 2024
860c5cd
comment
jaiwiwjwjwisn May 2, 2024
4b6be5b
comment
jaiwiwjwjwisn May 2, 2024
1310f65
comment
jaiwiwjwjwisn May 2, 2024
945ddb3
comment
jaiwiwjwjwisn May 2, 2024
9e8dd1a
comment
jaiwiwjwjwisn May 2, 2024
1e8e8ca
improve
jaiwiwjwjwisn May 2, 2024
1f49828
comment
jaiwiwjwjwisn May 2, 2024
a009ff2
improve
jaiwiwjwjwisn May 2, 2024
bb8a528
comment
jaiwiwjwjwisn May 2, 2024
fde4da5
improve
jaiwiwjwjwisn May 2, 2024
95e32f3
improve
jaiwiwjwjwisn May 2, 2024
00abf9d
improve
jaiwiwjwjwisn May 2, 2024
c7292dc
comment
jaiwiwjwjwisn May 2, 2024
fad7211
improve
jaiwiwjwjwisn May 2, 2024
05d35e9
improve
jaiwiwjwjwisn May 2, 2024
71be8ea
improve
jaiwiwjwjwisn May 2, 2024
e1088ac
comment
jaiwiwjwjwisn May 2, 2024
42a1bf5
comment
jaiwiwjwjwisn May 2, 2024
cb78e47
comment
jaiwiwjwjwisn May 2, 2024
6661793
comment
jaiwiwjwjwisn May 2, 2024
f91fc52
comment
jaiwiwjwjwisn May 2, 2024
d17c1c2
improve
jaiwiwjwjwisn May 2, 2024
35289af
improve
jaiwiwjwjwisn May 2, 2024
16d1600
improve
jaiwiwjwjwisn May 2, 2024
8fb232e
improve
jaiwiwjwjwisn May 2, 2024
facb3c9
improve
jaiwiwjwjwisn May 2, 2024
3b621df
comment
jaiwiwjwjwisn May 2, 2024
2b3f594
comment
jaiwiwjwjwisn May 2, 2024
1072a5d
improve
jaiwiwjwjwisn May 2, 2024
f5a0882
improve
jaiwiwjwjwisn May 2, 2024
b0f7315
improve
jaiwiwjwjwisn May 2, 2024
cccca16
comment
jaiwiwjwjwisn May 2, 2024
19060fa
comment
jaiwiwjwjwisn May 2, 2024
b395e43
comment
jaiwiwjwjwisn May 2, 2024
e687e02
comment
jaiwiwjwjwisn May 2, 2024
77c247e
improve
jaiwiwjwjwisn May 2, 2024
1e48663
improve
jaiwiwjwjwisn May 2, 2024
63d0414
comment
jaiwiwjwjwisn May 2, 2024
7765b50
comment
jaiwiwjwjwisn May 2, 2024
bd63f27
improve
jaiwiwjwjwisn May 2, 2024
b142755
improve
jaiwiwjwjwisn May 2, 2024
5dfa65b
improve
jaiwiwjwjwisn May 2, 2024
84f48ee
comment
jaiwiwjwjwisn May 2, 2024
c5eb8eb
improve
jaiwiwjwjwisn May 2, 2024
7070489
improve
jaiwiwjwjwisn May 2, 2024
36cc24e
improve
jaiwiwjwjwisn May 2, 2024
2abdb18
improve
jaiwiwjwjwisn May 2, 2024
c67672c
improve
jaiwiwjwjwisn May 2, 2024
77c26a9
improve
jaiwiwjwjwisn May 2, 2024
1b65606
improve
jaiwiwjwjwisn May 2, 2024
f71d237
improve
jaiwiwjwjwisn May 2, 2024
38099d8
improve
jaiwiwjwjwisn May 2, 2024
d9f8fbe
improve
jaiwiwjwjwisn May 2, 2024
bc49153
improve
jaiwiwjwjwisn May 2, 2024
dd3daa5
improve
jaiwiwjwjwisn May 2, 2024
a12e6f1
improve
jaiwiwjwjwisn May 2, 2024
19e3b22
improve
jaiwiwjwjwisn May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .dvc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/config.local
/tmp
/cache
# config.local file path
config_local_path = '/config.local'

# Temporary files directory
tmp_path = '/tmp'

# Cache directory
cache_path = '/cache'
25 changes: 22 additions & 3 deletions .dvcignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Add patterns of files dvc should ignore, which could improve
# the performance. Learn more at
# https://dvc.org/doc/user-guide/dvcignore
# This code snippet adds patterns of files that DVC should ignore,
# which can help improve the performance of DVC operations.
#
# By ignoring certain files or directories, DVC can avoid unnecessary
# data transfers, file checks, and other operations that can slow down
# the overall performance of DVC.
#
# The specific pattern used in this code is a URL pointing to the
# DVC ignore documentation, which provides more information on how
# to create and use ignore patterns with DVC.
#
# To use this code, simply replace the URL with the desired ignore
# pattern or patterns, separated by newline characters.
#
# For example, to ignore all files with the extension '.txt' and
# the 'temp' directory, the code would look like this:
#
# .txt
# temp/
#
# By adding these ignore patterns, DVC will skip any files or
# directories that match these patterns during its operations.
90 changes: 18 additions & 72 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,33 @@
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/workspace.xml
.idea/tasks.xml
.idea/usage.statistics.xml
.idea/dictionaries
.idea/shelf

# Generated files
.idea/**/contentModel.xml
.idea/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
.idea/gradle.xml
.idea/libraries

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml
.idea/mongoSettings.xml

# File-based project format
*.iws
Expand Down Expand Up @@ -79,54 +66,31 @@ fabric.properties
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Expand All @@ -149,7 +113,6 @@ develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
Expand All @@ -164,8 +127,6 @@ share/python-wheels/
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

Expand Down Expand Up @@ -220,11 +181,7 @@ profile_default/
ipython_config.py

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
Expand Down Expand Up @@ -274,7 +231,7 @@ dmypy.json
### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
!*.svg
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
Expand Down Expand Up @@ -305,29 +262,18 @@ tags
.ionide

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Xcode ###
Expand Down
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Include all text and markdown files, as well as the LICENSE and VERSION files
include *.txt
include *.md
include LICENSE
include VERSION

# Exclude specific files and directories
exclude .gitignore
exclude .releaserc.json
exclude .dvcignore
exclude .dvc
exclude .dvc/
20 changes: 9 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
PYTHON = python3
PIP = pip3

.PHONY: help lint test package clean install

help: # The following lines will print the available commands when entering just 'make'
ifeq ($(UNAME), Linux)
# The help target displays a list of available commands when the user enters 'make'
help: # Print available commands
@grep -P '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
else
@awk -F ':.*###' '$$0 ~ FS {printf "%15s%s\n", $$1 ":", $$2}' \
$(MAKEFILE_LIST) | grep -v '@awk' | sort
endif

# The lint target checks the project for linting errors
lint: ### Validates project with linting rules
$(PIP) install pylint
$(PYTHON) -m pylint src/

# The test target runs all the project tests
test: ### Runs all the project tests
"Run tests"
$(PIP) install pytest
$(PYTHON) -m pytest tests/

# The package target creates a source distribution and wheel distribution of the project
package: clean ### Runs the project setup
echo "$(version)" > VERSION
$(PYTHON) setup.py sdist bdist_wheel

# The clean target removes any build binaries
clean: ### Removes build binaries
rm -rf build dist

# The install target installs the project from the source distribution
install: ### Installs required dependencies
$(PIP) install dist/ydata-synthetic-$(version).tar.gz

# The publish-docs target publishes the project documentation
publish-docs: ### Publishes the documentation
echo "$(version)" > VERSION
$(PIP) install .
mike deploy --push --update-aliases $(version) latest

10 changes: 9 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
/* Sets the style for annotation index numbers, displaying their corresponding data-md-annotation-id attribute */
.md-typeset .md-annotation__index > ::before {
content: attr(data-md-annotation-id);
}

/* Removes any transformations applied to the annotation index numbers when the element is focused */
.md-typeset :focus-within > .md-annotation__index > ::before {
transform: none;
}

/* Sets the primary color for the content area */
.md-content {
--md-typeset-a-color: #002b9e;
}

/* Applies specific styles when the .md-button--ydata class is used */
@media {
.md-button--ydata {
--md-primary-fg-color: #E32212;
--md-primary-bg-color: #E32212;
}
}

/* Sets the default color shades for the primary and accent colors, as well as code blocks, footer, and YouTube elements */
:root {
/* Primary color shades */
--md-primary-fg-color: #040404;
Expand All @@ -32,19 +38,21 @@
--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7);
}

/* Applies specific styles for code blocks */
:root > * {
/* Code block color shades */
--md-code-bg-color: hsla(0, 0%, 96%, 1);
--md-code-fg-color: hsla(200, 18%, 26%, 1);

/* Footer */
/* Footer styles */
--md-footer-bg-color: #040404;
--md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32);
--md-footer-fg-color: hsla(0, 0%, 100%, 1);
--md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);
--md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.3);
}

/* Sets the color for YouTube elements */
.youtube {
color: #EE0F0F;
}
Expand Down
Loading