Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datmo/datmo
/ functions
Functions
1,250 in github.com/datmo/datmo
⨍
Functions
1,250
◇
Types & classes
187
↳
Endpoints
27
↓ 201 callers
Method
parse
(self, args)
datmo/cli/command/base.py:18
↓ 192 callers
Method
get
(self, name)
datmo/core/util/json_store.py:70
↓ 177 callers
Method
execute
Calls the method if it exists on this object, otherwise call a default method name (module name) Raises ------
datmo/cli/command/base.py:49
↓ 117 callers
Method
get_by_id
(self, entity_id)
datmo/core/storage/local/dal.py:204
↓ 115 callers
Method
create
(self, datmo_entity)
datmo/core/storage/local/dal.py:213
↓ 99 callers
Method
echo
(value)
datmo/cli/driver/helper.py:37
↓ 77 callers
Method
create
Create a Code object Parameters ---------- commit_id : str, optional if commit_id is already present, will not ma
datmo/core/controller/code/code.py:45
↓ 65 callers
Method
query
(self, query_params, sort_key=None, sort_order=None)
datmo/core/storage/local/dal.py:255
↓ 63 callers
Method
query
find entities in collection matching params Parameters ---------- collection : str name of the collectio
datmo/core/storage/driver/__init__.py:83
↓ 54 callers
Method
init
(self)
datmo/core/controller/code/driver/git.py:120
↓ 54 callers
Method
set
create entity object in collection Parameters ---------- collection : str name of the collection
datmo/core/storage/driver/__init__.py:45
↓ 47 callers
Method
create
Create a file or directory Parameters ---------- relative_path : str path relative to the filepath dir :
datmo/core/controller/file/driver/__init__.py:51
↓ 45 callers
Function
to_bytes
(val)
datmo/core/controller/tests/test_snapshot.py:14
↓ 37 callers
Method
create_ref
Add remaining files, make a commit and add it to a datmo code ref Parameters ---------- commit_id : str, optional
datmo/core/controller/code/driver/git.py:154
↓ 37 callers
Method
get
Get task object and return Parameters ---------- task_id : str id for the task you would like to get Ret
datmo/core/controller/task.py:484
↓ 37 callers
Function
r
(a,b)
datmo/dashboard/static/js/jquery.min.js:2
↓ 37 callers
Function
to_bytes
(val)
datmo/core/controller/environment/tests/test_environment.py:17
↓ 36 callers
Method
create
Create datmo environment definition Parameters ---------- path : str, optional absolute input definition file pat
datmo/core/controller/environment/driver/__init__.py:135
↓ 36 callers
Method
remove
Remove built environment from driver memory Parameters ---------- name : str name of the built environment
datmo/core/controller/environment/driver/__init__.py:258
↓ 35 callers
Method
set_home
(self, home_path)
datmo/config.py:80
↓ 34 callers
Method
get
get entity object from collection Parameters ---------- collection : str name of the collection
datmo/core/storage/driver/__init__.py:26
↓ 32 callers
Method
remove
(self, name)
datmo/core/util/json_store.py:89
↓ 30 callers
Method
get
Retrieve file as python file object Parameters ---------- relative_path : str path relative to the filepath
datmo/core/controller/file/driver/__init__.py:87
↓ 29 callers
Function
to_bytes
(val)
datmo/core/controller/tests/test_task.py:15
↓ 28 callers
Method
init
Initialize the datmo file structure Returns ------- bool True if success Raises ------ F
datmo/core/controller/file/driver/__init__.py:36
↓ 26 callers
Method
copy
(self, src, dst, symlinks=False, ignore=None)
datmo/core/util/misc_functions.py:533
↓ 24 callers
Function
to_bytes
(val)
datmo/core/controller/code/driver/tests/test_git.py:17
↓ 23 callers
Method
__setup
(self)
datmo/core/controller/tests/test_snapshot.py:56
↓ 23 callers
Method
add
(self, filepath, option=None)
datmo/core/controller/code/driver/git.py:370
↓ 23 callers
Method
exists
checks if entity exists in collection Parameters ---------- collection : str name of the collection
datmo/core/storage/driver/__init__.py:64
↓ 20 callers
Method
build
Build an environment from a definition path Parameters ---------- name : str name to give to the environment buil
datmo/core/controller/environment/driver/__init__.py:163
↓ 19 callers
Function
get_datmo_temp_path
(filepath)
datmo/core/util/misc_functions.py:292
↓ 19 callers
Method
init
Initialize the environment driver Returns ------- bool returns True if success else False Raises
datmo/core/controller/environment/driver/__init__.py:38
↓ 18 callers
Method
list
(self)
datmo/core/controller/code/code.py:89
↓ 17 callers
Method
__set_variables
(self)
datmo/cli/command/tests/test_snapshot.py:60
↓ 17 callers
Method
__set_variables
(self)
datmo/cli/command/tests/test_run.py:78
↓ 17 callers
Method
build_image
Builds docker image Parameters ---------- tag : str name to tag image with definition_path : str
datmo/core/controller/environment/driver/dockerenv.py:393
↓ 17 callers
Function
create
Create a snapshot within a project The project must be created before this is implemented. You can do that by using the following command::
datmo/snapshot.py:134
↓ 17 callers
Function
prettify_datetime
(datetime_obj, tz=None)
datmo/core/util/misc_functions.py:264
↓ 17 callers
Method
run
Run and log an instance of the environment with the options given Parameters ---------- environment_id : str options
datmo/core/controller/environment/environment.py:332
↓ 17 callers
Method
update
Update the environment metadata
datmo/core/controller/environment/environment.py:378
↓ 16 callers
Function
b
(c,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 16 callers
Function
g
(b,c,d,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 16 callers
Function
la
(a,b)
datmo/dashboard/static/js/jquery.min.js:2
↓ 15 callers
Method
exists
(self, relative_path, directory=False)
datmo/core/controller/file/driver/local.py:166
↓ 15 callers
Method
run_container
Run Docker container with parameters given as defined below Parameters ---------- image_name : str Docker image na
datmo/core/controller/environment/driver/dockerenv.py:553
↓ 15 callers
Function
to_bytes
(val)
datmo/core/controller/environment/driver/dockerenv.py:16
↓ 15 callers
Function
to_bytes
(val)
datmo/tests/test_snapshot.py:14
↓ 14 callers
Method
__default_create
(self)
datmo/core/controller/tests/test_snapshot.py:602
↓ 14 callers
Method
get_logger
Returns a python logger with logging level set Parameters ---------- name : string Name of the logger. eg datmo.
datmo/core/util/logger.py:113
↓ 14 callers
Method
latest_commit
(self)
datmo/core/controller/code/driver/git.py:630
↓ 14 callers
Function
to_bytes
(val)
datmo/core/controller/environment/driver/tests/test_dockerenv.py:25
↓ 14 callers
Method
update
Update the task metadata
datmo/core/controller/task.py:554
↓ 13 callers
Method
__setup
(self)
datmo/core/controller/tests/test_task.py:54
↓ 13 callers
Method
_get_tracked_files
Return list of tracked files relative to the root directory This will look through all of the files and will exclude any datmo directories
datmo/core/controller/code/driver/file.py:54
↓ 13 callers
Method
create_collection
Takes a list of user given paths and aggregates into collection Parameters ---------- paths : list, optional list
datmo/core/controller/file/driver/__init__.py:175
↓ 13 callers
Function
mutually_exclusive
Goes through args to check for to see if they exist in the input_dictionary and adds them to output_dictionary. The output_dictionary is
datmo/core/util/misc_functions.py:147
↓ 13 callers
Method
prompt_available_options
Prompt user to choose an available environment. Returns the environment name
datmo/cli/driver/helper.py:157
↓ 13 callers
Method
run
Run and log an instance of the environment with the options given Parameters ---------- name : str name of the bu
datmo/core/controller/environment/driver/__init__.py:204
↓ 13 callers
Function
to_bytes
(val)
datmo/cli/command/tests/test_run.py:26
↓ 12 callers
Method
commit
Git commit wrapper Parameters ---------- options: list List of strings for the command (e.g. ["-m", "hello"])
datmo/core/controller/code/driver/git.py:395
↓ 12 callers
Method
exists
Returns a boolean if the environment exists Parameters ---------- environment_id : str environment id to check fo
datmo/core/controller/environment/environment.py:473
↓ 12 callers
Method
stop
Stop the trace of running environment Parameters ---------- run_id : str, optional stop environment with specific
datmo/core/controller/environment/environment.py:424
↓ 12 callers
Function
to_bytes
(val)
datmo/cli/command/tests/test_snapshot.py:25
↓ 11 callers
Method
__setup
(self)
datmo/core/controller/code/driver/tests/test_file.py:83
↓ 11 callers
Function
e
(a,b)
datmo/dashboard/static/js/jquery.min.js:4
↓ 11 callers
Method
exists
Returns a boolean if the code exists Parameters ---------- code_id : str code id to check for code_commit
datmo/core/controller/code/code.py:122
↓ 11 callers
Method
print_items
(self, header_list, item_dict_list, print_format="
datmo/cli/driver/helper.py:67
↓ 10 callers
Method
__setup
(self)
datmo/core/controller/environment/tests/test_environment.py:59
↓ 10 callers
Method
checkout_ref
(self, commit_id)
datmo/core/controller/code/driver/git.py:267
↓ 10 callers
Method
copytree
(src_dirpath, dst_dirpath, symlinks=False, ignore=None)
datmo/core/controller/file/driver/local.py:72
↓ 10 callers
Function
ga
(a,b,d,e)
datmo/dashboard/static/js/jquery.min.js:2
↓ 10 callers
Function
ia
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 10 callers
Function
ja
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 10 callers
Method
stop
Stop and remove a run that is currently running Parameters ---------- run_id : str run id returned by the run com
datmo/core/controller/environment/driver/__init__.py:240
↓ 10 callers
Method
stop_remove_containers_by_term
Stops and removes containers by term
datmo/core/controller/environment/driver/dockerenv.py:825
↓ 10 callers
Function
to_bytes
(val)
datmo/core/controller/code/driver/git.py:12
↓ 10 callers
Function
to_bytes
(val)
datmo/core/controller/code/driver/tests/test_file.py:17
↓ 10 callers
Function
to_bytes
(val)
datmo/cli/command/tests/test_workspace.py:13
↓ 10 callers
Method
to_dictionary
(self)
datmo/core/entity/task.py:199
↓ 10 callers
Function
validate
(schema_name, values)
datmo/core/util/validation/__init__.py:13
↓ 9 callers
Method
__setup
(self)
datmo/core/controller/file/tests/test_file_collection.py:47
↓ 9 callers
Method
_calculate_project_environment_hash
Return the environment hash from contents in project environment directory. If environment_directory not present then will assume it is empty
datmo/core/controller/environment/environment.py:641
↓ 9 callers
Method
_file_setup
Checks for user inputs and uses the file collection controller to obtain the file collection id and create the necessary collection
datmo/core/controller/snapshot.py:514
↓ 9 callers
Method
calculate_hash_paths
Takes a list of user given paths, copies to directory, and returns hash Parameters ---------- paths : list list o
datmo/core/controller/file/driver/__init__.py:192
↓ 9 callers
Function
d
(a)
datmo/dashboard/static/js/jquery.min.js:3
↓ 9 callers
Method
error
(self, message)
datmo/cli/driver/parser.py:37
↓ 9 callers
Function
h
(a)
datmo/dashboard/static/js/jquery.min.js:2
↓ 9 callers
Method
prompt
(self, msg, default=None)
datmo/cli/driver/helper.py:57
↓ 8 callers
Function
S
(a,b,c,d,e,f,g)
datmo/dashboard/static/js/jquery.min.js:2
↓ 8 callers
Function
c
(a)
datmo/dashboard/static/js/jquery.min.js:4
↓ 8 callers
Method
create
Create Task object Returns ------- Task object entity for Task (datmo.core.entity.task.Task)
datmo/core/controller/task.py:55
↓ 8 callers
Method
current_hash
(self)
datmo/core/controller/code/driver/git.py:150
↓ 8 callers
Function
list_all_filepaths
Returns all filepaths within dir relative to dir root
datmo/core/util/misc_functions.py:284
↓ 8 callers
Function
parse_path
Parse user given path Parameters ---------- path : str user given path Returns ------- src_path : str user g
datmo/core/util/misc_functions.py:299
↓ 8 callers
Function
parse_paths
Parse user given paths. Checks only source paths and destination are valid Parameters ---------- default_src_prefix : str default
datmo/core/util/misc_functions.py:335
↓ 8 callers
Method
setup
Create the supported environment definition file in given path Parameters ---------- options : dict can include t
datmo/core/controller/environment/driver/__init__.py:108
↓ 8 callers
Function
to_bytes
(val)
datmo/core/controller/file/driver/tests/test_local.py:12
↓ 8 callers
Function
to_bytes
(val)
datmo/core/controller/code/tests/test_code.py:14
↓ 8 callers
Function
to_bytes
(val)
datmo/cli/command/tests/test_environment.py:20
next →
1–100 of 1,250, ranked by callers