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

Restructure Python v3 (Part 2) - Update Project Settings #172

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

dvonthenen
Copy link
Contributor

This builds on this PR #156 to restructure the project. The goal is to do this in smaller chunks so the work is not finished in this PR. The PR merges to main so the PR is going to look messy until the dependent PR is merged.

Here is a clean diff in the meantime: sr/restructure-files...dvonthenen:deepgram-python-sdk:restructure-project-part2

This PR addresses the following issue(s): #158
Verified that examples/prerecorded (and all demos in examples) still works.

Notable changes:

  • restructure deepgram/__init__.py so that it conforms to the usual python layout. __init__.py is now just the landing point for importing all things
  • moved __version__ (thereby deleting _version.py) into __init__.py using newer features in setuptools package
  • removed mimetypes in prerecorded API calls
  • Removed TranscriptionOptions in transcription_options.py which just looks like dead code
  • Explicitly made use of the input PrerecordedOptions and LiveOptions. This is mainly for user understanding.

.env Outdated Show resolved Hide resolved
SandraRodgers
SandraRodgers previously approved these changes Nov 12, 2023
Copy link
Contributor

@SandraRodgers SandraRodgers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some pycache files that were pushed to the branch. I don't think we want those in github, do we?

@SandraRodgers SandraRodgers dismissed their stale review November 14, 2023 15:27

The merge-base changed after approval.

@dvonthenen dvonthenen merged commit 6d60fbd into deepgram:main Nov 14, 2023
1 check passed
@dvonthenen dvonthenen deleted the restructure-project-part2 branch November 22, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants